/* Ramcanny — impermeabilización Reynosa */

:root {
  --bg: #FAF6F0;
  --bg-alt: #F3ECE2;
  --card-bg: #FFFFFF;
  --card-border: #EADFD2;
  --ink: #2A2118;
  --muted: #6E5D4B;
  --faint: #8A7660;
  --orange: #C2571B;
  --orange-hover: #A3470F;
  --link: #B85C1E;
  --link-hover: #8F4413;
  --tint: #FBEADB;
  --tint-hover: #F7DFC8;
  --accent-light: #F4A96A;
  --dark: #2A2118;
  --hero-base: #221A12;
  --on-dark: #FFF9F2;
  --on-dark-muted: #D9C8B6;
  --on-dark-soft: #EBDFD2;
  --green: #1FAF54;
  --green-hover: #178C43;
  --stars: #E8A20C;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
}

body {
  font-family: 'Barlow', sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); }
img { display: block; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 240, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--card-border);
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo {
  height: 38px;
  width: auto;
  mix-blend-mode: multiply;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-lang {
  border: 1.5px solid var(--orange);
  background: transparent;
  color: var(--link);
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 13px;
  padding: 7px 12px;
  border-radius: 999px;
  cursor: pointer;
  min-height: 34px;
}
.btn-lang:hover {
  color: var(--link-hover);
  border-color: var(--orange-hover);
}

.btn-wa-header {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 9px 15px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(31, 175, 84, 0.35);
  min-height: 44px;
}
.btn-wa-header:hover { background: var(--green-hover); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--hero-base);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,14,8,0.55) 0%, rgba(20,14,8,0.25) 45%, rgba(20,14,8,0.78) 100%);
}

.hero-content {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding: 72px 20px 64px;
  animation: fadeUp 0.7s ease both;
}

.kicker {
  margin: 0 0 10px;
  color: var(--accent-light);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
}

.hero h1 {
  margin: 0 0 14px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--on-dark);
  font-size: clamp(38px, 8vw, 64px);
  line-height: 1.02;
  letter-spacing: 0.01em;
  max-width: 16ch;
  text-wrap: pretty;
}

.hero-sub {
  margin: 0 0 26px;
  color: var(--on-dark-soft);
  font-size: clamp(16px, 2.5vw, 19px);
  line-height: 1.55;
  max-width: 52ch;
  text-wrap: pretty;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-green {
  display: inline-flex;
  align-items: center;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(31, 175, 84, 0.4);
  min-height: 48px;
}
.btn-green:hover { background: var(--green-hover); color: #fff; }

.btn-green-lg {
  gap: 9px;
  font-size: 17px;
  padding: 14px 24px;
  border-radius: 12px;
}

.btn-green-xl {
  gap: 10px;
  font-size: 18px;
  padding: 15px 28px;
  border-radius: 12px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: var(--on-dark);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 22px;
  border-radius: 12px;
  min-height: 48px;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.22); color: #fff; }

.hero-area {
  margin: 26px 0 0;
  color: var(--on-dark-muted);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}

/* ---------- Sections ---------- */
.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 20px 8px;
}

.section-last { padding-bottom: 64px; }

.section-title {
  margin: 0 0 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(28px, 5vw, 40px);
  color: var(--ink);
}

.section-title-solo { margin-bottom: 24px; }

.section-sub {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 16px;
  max-width: 60ch;
}

/* ---------- Servicios ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 1px 4px rgba(60, 40, 20, 0.05);
}

.card-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
}

.card-badge span {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 20px;
}

.card h3 {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  text-transform: uppercase;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

/* ---------- Antes y después ---------- */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.ba-item {
  margin: 0;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(60, 40, 20, 0.12);
}

.ba-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.ba-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}

.ba-badge-before { background: var(--dark); color: #FFF3E6; }
.ba-badge-after  { background: var(--orange); color: #fff; }

.drone-wrap {
  margin-top: 14px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(60, 40, 20, 0.12);
}

.drone-wrap img {
  width: 100%;
  height: clamp(240px, 45vw, 420px);
  object-fit: cover;
}

.drone-caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  margin: 0;
  background: rgba(20, 14, 8, 0.75);
  color: #FFF3E6;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 10px;
  max-width: 85%;
}

/* ---------- Galería ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
}

/* ---------- Zona de servicio ---------- */
.area-panel {
  background: var(--dark);
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.area-text {
  padding: 34px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.area-text .kicker { margin: 0; }

.area-text h2 {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(26px, 4.5vw, 36px);
  color: var(--on-dark);
}

.area-desc {
  margin: 0;
  color: var(--on-dark-muted);
  font-size: 16px;
  line-height: 1.6;
}

.area-panel > img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.btn-orange {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 20px;
  border-radius: 10px;
  min-height: 44px;
}
.btn-orange:hover { background: var(--orange-hover); color: #fff; }

/* ---------- Opiniones ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}

.review-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stars {
  color: var(--stars);
  font-size: 17px;
  letter-spacing: 2px;
}

.review-text {
  margin: 0;
  color: #4A3D2F;
  font-size: 15px;
  line-height: 1.6;
  font-style: italic;
}

.review-name {
  margin: 0;
  color: var(--faint);
  font-size: 14px;
  font-weight: 600;
}

.google-card {
  border: 1.5px dashed var(--orange);
  border-radius: 16px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  background: var(--tint);
}
.google-card:hover { background: var(--tint-hover); }

.google-card-title {
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}

.google-card-sub {
  font-size: 14px;
  color: var(--faint);
}

/* ---------- Contáctanos ---------- */
.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 36px 24px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(60, 40, 20, 0.07);
}

.contact-card .section-title { margin-bottom: 8px; }

.contact-sub {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 16px;
}

.contact-phone {
  margin: 14px 0 26px;
  color: var(--faint);
  font-size: 14px;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--card-border);
  background: var(--bg);
  color: #4A3D2F;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 999px;
  min-height: 44px;
}
.social-pill:hover {
  border-color: var(--orange);
  color: var(--link);
  background: var(--tint);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--card-border);
  background: var(--bg-alt);
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 22px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.footer-inner p {
  margin: 0;
  color: var(--faint);
  font-size: 14px;
}

.footer-inner a {
  font-size: 14px;
  font-weight: 600;
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}
.wa-float:hover { background: var(--green-hover); }
