/* ============================================================
   Rodriguez Agrimensor — styles.css  DARK THEME
   Paleta: fondo oscuro #1a1a1a + crema #F0EBE0 + naranja solo en texto
   Fuente: Avenir LT Pro (local) + Cormorant Garamond (Google)
   Logo: logo-transparent.png (PNG recortado, filtro blanco)
   v=20260525e
   ============================================================ */

/* === @FONT-FACE — Avenir LT Pro ======================= */
@font-face {
  font-family: "Avenir LT Pro";
  src: url("fonts/AvenirLTProLight.otf") format("opentype");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Avenir LT Pro";
  src: url("fonts/AvenirLTProBook.otf") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Avenir LT Pro";
  src: url("fonts/AvenirLTProRoman.otf") format("opentype");
  font-weight: 450; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Avenir LT Pro";
  src: url("fonts/AvenirLTProMedium.otf") format("opentype");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Avenir LT Pro";
  src: url("fonts/AvenirLTProHeavy.otf") format("opentype");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Avenir LT Pro";
  src: url("fonts/AvenirLTProBlack.otf") format("opentype");
  font-weight: 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Avenir LT Pro";
  src: url("fonts/AvenirLTProOblique.otf") format("opentype");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Avenir LT Pro";
  src: url("fonts/AvenirLTProMediumOblique.otf") format("opentype");
  font-weight: 600; font-style: italic; font-display: swap;
}

/* === RESET ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* === CUSTOM PROPERTIES ================================ */
:root {
  /* Dark background palette — #1a1a1a del .ai */
  --bg:          #1a1a1a;
  --bg-2:        #202020;
  --bg-3:        #272727;
  --bg-4:        #303030;

  /* Typography */
  --ink:         #F0EBE0;   /* texto principal — crema cálida */
  --ink-soft:    rgba(240,235,224,0.72);
  --ink-mute:    rgba(240,235,224,0.42);

  /* Brand colors — naranja solo para texto puntual */
  --orange:      #F47920;
  --orange-2:    #D9680F;
  --orange-light: #F8A55C;
  --orange-glow: rgba(244,121,32,0.18);
  --orange-faint: rgba(244,121,32,0.06);

  --copper:      #C8855A;
  --copper-light: #E0A87A;
  --green:       #1B3A2D;
  --green-2:     #254D3A;

  /* Lines */
  --line:        rgba(240,235,224,0.08);
  --line-cream:  rgba(240,235,224,0.18);

  /* System */
  --nav-h:    72px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:  cubic-bezier(0.4, 0, 1, 1);
}

/* === BASE ============================================== */
html {
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Avenir LT Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* === CUSTOM CROSSHAIR CURSOR ========================== */
* { cursor: none !important; }
.cursor {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
  will-change: transform;
}
.cursor.is-ready { opacity: 1; }
.cursor-h, .cursor-v {
  position: absolute;
  background: var(--ink-soft);
  transition: width 0.18s var(--ease-out), height 0.18s var(--ease-out), background 0.2s;
}
.cursor-h { width: 22px; height: 1.5px; top: -0.75px; left: -11px; }
.cursor-v { height: 22px; width: 1.5px; top: -11px;  left: -0.75px; }
.cursor-dot {
  position: absolute; width: 4px; height: 4px;
  background: var(--ink); border-radius: 50%;
  top: -2px; left: -2px;
  box-shadow: 0 0 6px rgba(240,235,224,0.5);
}
.cursor.is-link .cursor-h { width: 14px; background: var(--ink); }
.cursor.is-link .cursor-v { height: 14px; background: var(--ink); }
.cursor.is-link .cursor-dot { background: var(--ink); box-shadow: 0 0 8px rgba(240,235,224,0.6); }

@media (hover: none), (max-width: 768px) {
  * { cursor: auto !important; }
  .cursor { display: none; }
}

/* === CONTAINER ======================================== */
.container {
  width: 100%; max-width: 1200px;
  margin-inline: auto; padding-inline: 2rem;
}
@media (max-width: 768px) { .container { padding-inline: 1.25rem; } }

/* === TYPOGRAPHY ======================================= */
h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.12; color: var(--ink);
}
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 700; }
p  { color: var(--ink-soft); line-height: 1.8; }
em { font-style: italic; color: var(--orange-light); }
a  { color: inherit; }

/* Kicker — naranja: es texto puntual chico, identifica secciones */
.kicker {
  font-family: "Avenir LT Pro", sans-serif;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--orange);
}

/* === SCROLL REVEAL ===================================== */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.10s; }
.reveal[data-delay="2"] { transition-delay: 0.20s; }
.reveal[data-delay="3"] { transition-delay: 0.30s; }
.reveal[data-delay="4"] { transition-delay: 0.40s; }
.reveal[data-delay="5"] { transition-delay: 0.50s; }
.reveal[data-split] { opacity: 1; transform: none; }

/* ── HERO intro animation classes (set by JS) ─────────── */
.hero-intro-hidden { opacity: 0; transform: translateY(20px); }

/* === BUTTONS =========================================== */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.9rem 2rem;
  font-family: "Avenir LT Pro", sans-serif;
  font-size: 0.875rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  border: none; border-radius: 8px;
  text-decoration: none; line-height: 1;
  position: relative; overflow: hidden;
  transition:
    background 0.25s,
    box-shadow  0.25s,
    transform   0.2s var(--ease-out),
    border-color 0.25s;
}
/* Shimmer overlay */
.btn::after {
  content: '';
  position: absolute; top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.14), transparent);
  transform: skewX(-15deg);
  transition: left 0s;
}
.btn:hover::after { left: 150%; transition: left 0.5s ease; }
.btn:active { transform: scale(0.97) translateY(0) !important; }

/* WhatsApp */
.btn-whatsapp {
  background: #25D366; color: #fff;
  box-shadow: 0 4px 18px rgba(37,211,102,0.28), 0 1px 4px rgba(0,0,0,0.35);
}
.btn-whatsapp:hover {
  background: #1EBF5A;
  box-shadow: 0 8px 36px rgba(37,211,102,0.42), 0 2px 8px rgba(0,0,0,0.3);
  transform: translateY(-2px);
}

/* Crema — botón primario */
.btn-orange {
  background: var(--ink); color: var(--bg);
  box-shadow:
    0 4px 20px rgba(240,235,224,0.18),
    0 1px 4px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-orange:hover {
  background: #e8e3d8;
  box-shadow:
    0 8px 40px rgba(240,235,224,0.28),
    0 2px 8px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

/* Glass ghost — crema */
.btn-glass {
  background: rgba(240,235,224,0.07);
  color: var(--ink);
  border: 1px solid rgba(240,235,224,0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 2px 10px rgba(0,0,0,0.3);
}
.btn-glass:hover {
  background: rgba(240,235,224,0.14);
  border-color: rgba(240,235,224,0.50);
  box-shadow:
    0 6px 28px rgba(240,235,224,0.10),
    inset 0 1px 0 rgba(255,255,255,0.07),
    0 0 0 1px rgba(240,235,224,0.14);
  transform: translateY(-2px);
}

/* Outline dark (unused pero mantenido) */
.btn-outline-dark {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-outline-dark:hover { background: var(--ink); color: var(--bg); }

/* === SECTION =========================================== */
.section { padding-block: 6rem; }
.section-header { margin-bottom: 3.5rem; }
.section-header .kicker { margin-bottom: 0.6rem; }

/* === TOPOGRAPHIC ANIMATION ============================ */
@keyframes topoPulse {
  0%, 100% { opacity: var(--op, 0.12); }
  50%       { opacity: calc(var(--op, 0.12) * 1.8); }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0;
  z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  padding-inline: 2rem;
  transition: background 0.4s var(--ease-out), box-shadow 0.4s;
}
.nav.is-solid {
  background: rgba(26,26,26,0.92);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  box-shadow: 0 1px 0 var(--line), 0 4px 30px rgba(0,0,0,0.35);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 1200px; margin-inline: auto;
}
.nav-logo {
  display: flex; align-items: center;
  text-decoration: none; flex-shrink: 0;
  transition: opacity 0.3s;
}
.nav-logo img {
  height: 36px; width: auto; display: block;
}
.nav-logo:hover { opacity: 0.75; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-family: "Avenir LT Pro", sans-serif;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft); text-decoration: none;
  position: relative; transition: color 0.25s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1px; background: var(--ink-soft);
  transition: width 0.3s var(--ease-out);
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  font-family: "Avenir LT Pro", sans-serif;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--ink); color: var(--bg);
  padding: 0.6rem 1.4rem; border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(240,235,224,0.12);
  transition: background 0.25s, box-shadow 0.25s, transform 0.2s;
  position: relative; overflow: hidden;
}
.nav-cta::after {
  content: '';
  position: absolute; top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.14), transparent);
  transform: skewX(-15deg);
}
.nav-cta:hover {
  background: #e8e3d8;
  box-shadow: 0 6px 24px rgba(240,235,224,0.20);
  transform: translateY(-1px);
}
.nav-cta:hover::after { left: 150%; transition: left 0.5s ease; }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 6px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--ink-soft);
  transition: background 0.3s, transform 0.3s, opacity 0.3s;
}
.nav-hamburger.is-open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); background: var(--ink); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); background: var(--ink); }
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
}

/* Mobile menu */
.nav-mobile {
  position: fixed; inset: 0; background: var(--bg-2);
  z-index: 99; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2rem;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
}
.nav-mobile.is-open { transform: none; }
.nav-mobile::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(240,235,224,0.03) 0%, transparent 60%);
  pointer-events: none;
}
.nav-mobile a {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 8vw, 2.8rem); font-weight: 600;
  color: var(--ink); text-decoration: none; letter-spacing: 0.02em;
  transition: color 0.2s;
  position: relative; z-index: 1;
}
.nav-mobile a:hover { color: var(--ink-soft); }
.nav-mobile-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: none; border: none;
  color: var(--ink-mute); font-size: 2.2rem; line-height: 1;
  transition: color 0.2s;
}
.nav-mobile-close:hover { color: var(--ink); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end; padding-bottom: 5rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: -12% 0 -12% 0; z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 38%;
  display: block; will-change: transform;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    160deg,
    rgba(26,26,26,0.45) 0%,
    rgba(20,20,20,0.62) 30%,
    rgba(12,12,12,0.80) 60%,
    rgba(6,6,6,0.93) 100%
  );
}
/* Topographic lines overlay — animated drift */
.hero-topo {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  animation: heroDrift 24s ease-in-out infinite;
  will-change: transform;
}
.hero-topo svg { width: 100%; height: 100%; overflow: visible; }

@keyframes heroDrift {
  0%, 100% { transform: translate(0,    0)    scale(1.00); }
  28%       { transform: translate(1.8%, -1.2%) scale(1.03); }
  58%       { transform: translate(-1.2%, 1.8%) scale(0.97); }
  82%       { transform: translate(0.8%, 0.5%) scale(1.01); }
}
/* Film grain */
.hero-grain {
  position: absolute; inset: 0; z-index: 3;
  opacity: 0.05; pointer-events: none; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 300px;
}
/* Vignette bottom */
.hero-vignette {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(ellipse at 30% 80%, rgba(240,235,224,0.02) 0%, transparent 50%),
    linear-gradient(to top, rgba(26,26,26,0.5) 0%, transparent 40%);
}
.hero-content {
  position: relative; z-index: 4;
  width: 100%; max-width: 1200px;
  margin-inline: auto; padding-inline: 2rem;
  color: var(--ink);
}
.hero-kicker {
  font-family: "Avenir LT Pro", sans-serif;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--orange-light); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.8rem;
}
.hero-kicker::before {
  content: ''; display: block; width: 28px; height: 1px;
  background: var(--orange); flex-shrink: 0;
}
.hero-brand {
  display: block; margin-bottom: 0.75rem;
}
.hero-brand img {
  display: block;
  max-width: min(680px, 82vw); width: 100%; height: auto;
}
.hero-tagline {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.1rem, 2.2vw, 1.55rem); font-style: italic;
  color: rgba(240,235,224,0.75); font-weight: 400;
  margin-bottom: 2.5rem; max-width: 480px; line-height: 1.55;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Vertical location label */
.hero-location {
  position: absolute; top: calc(var(--nav-h) + 2.5rem); right: 2.5rem;
  z-index: 4;
  font-family: "Avenir LT Pro", sans-serif;
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(240,235,224,0.30); writing-mode: vertical-lr; transform: rotate(180deg);
}
/* Scroll indicator */
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 2.5rem; z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
}
.hero-scroll-line {
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, rgba(240,235,224,0.55), transparent);
  animation: scrollDrop 2.4s ease-in-out infinite;
}
@keyframes scrollDrop {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  15%  { opacity: 1; }
  100% { transform: scaleY(1); transform-origin: top; opacity: 0; }
}
.hero-scroll span {
  font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(240,235,224,0.30); writing-mode: vertical-lr;
}

/* ============================================================
   SECTION TRANSITIONS — gradientes suaves entre secciones
   ============================================================ */

/* Sobre mí — fondo bg-2, fundido desde hero (bg) y hacia servicios (bg) */
#sobre-mi {
  position: relative;
  background: linear-gradient(
    to bottom,
    var(--bg)   0px,
    var(--bg-2) 120px,
    var(--bg-2) calc(100% - 100px),
    var(--bg)   100%
  );
}

/* Servicios — fondo bg, fundido desde sobre-mi (bg) y hacia cobertura (bg-2) */
.services {
  background: linear-gradient(
    to bottom,
    var(--bg) 0%,
    var(--bg) calc(100% - 100px),
    var(--bg-2) 100%
  );
}

/* Cobertura — fondo bg-2, sin green */
.coverage {
  background: linear-gradient(
    to bottom,
    var(--bg-2) 0%,
    var(--bg-2) 92%,
    var(--bg-3) 100%
  );
  position: relative; overflow: hidden; padding-block: 6rem;
}

/* Por qué — fondo bg-2 con entrada suave desde cobertura */
.why {
  background: linear-gradient(
    to bottom,
    var(--bg-2) 0%,
    var(--bg-2) calc(100% - 100px),
    var(--bg-3) 100%
  );
}

/* Manifesto — bg-3 fundido con por qué y salida hacia contacto */
.manifesto {
  background: linear-gradient(
    to bottom,
    var(--bg-3) 0%,
    var(--bg-3) calc(100% - 100px),
    var(--bg)   100%
  );
  padding-block: 5rem;
  overflow: hidden; position: relative;
}
.manifesto::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(240,235,224,0.025) 0%, transparent 55%);
  pointer-events: none;
}

/* Contacto — bg fundido desde manifesto hacia footer (bg-2) */
.contact {
  background: linear-gradient(
    to bottom,
    var(--bg) 0%,
    var(--bg) calc(100% - 80px),
    var(--bg-2) 100%
  );
  position: relative; overflow: hidden;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid; grid-template-columns: 5fr 6fr;
  gap: 5rem; align-items: center;
}
/* overflow:hidden recorta el topo-mark para que no salga del borde */
.about-img-wrap { position: relative; overflow: hidden; }
.about-img-wrap img {
  position: relative; z-index: 1; width: 100%;
  aspect-ratio: 4/5; object-fit: cover; object-position: center top; display: block;
  filter: saturate(0.9) brightness(0.95);
}
/* Sin marco de borde (eliminado) */
.about-topo-mark {
  position: absolute; bottom: 0; left: 0;
  width: 130px; height: 130px; z-index: 2; pointer-events: none;
  opacity: 0.12;
}
.about-text .kicker { margin-bottom: 0.65rem; }
.about-text h2 { margin-bottom: 1.5rem; }
.about-text p { font-size: 1rem; margin-bottom: 1.2rem; }
.matricula-badge {
  display: inline-flex; align-items: center; gap: 0.8rem;
  padding: 0.75rem 1.3rem; margin-bottom: 1.5rem;
  border: 1px solid rgba(240,235,224,0.12);
  background: rgba(240,235,224,0.04);
  box-shadow: inset 0 1px 0 rgba(240,235,224,0.05);
  flex-wrap: wrap;
}
.matricula-badge span {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(240,235,224,0.55);
}
.matricula-badge strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem; font-weight: 700; color: var(--ink);
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-topo-mark { display: none; }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.service-card {
  background: var(--bg-3);
  padding: 2.2rem 1.8rem;
  border: 1px solid var(--line);
  position: relative; overflow: hidden;
  transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s var(--ease-out);
  box-shadow: inset 0 1px 0 rgba(240,235,224,0.025);
}
/* Línea crema en hover */
.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--ink-mute), var(--ink));
  transition: width 0.45s var(--ease-out);
}
/* Brillo sutil arriba */
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240,235,224,0.08), transparent);
}
@media (hover: hover) {
  .service-card:hover {
    border-color: rgba(240,235,224,0.18);
    box-shadow:
      0 8px 40px rgba(0,0,0,0.20),
      inset 0 1px 0 rgba(240,235,224,0.04),
      0 0 0 1px rgba(240,235,224,0.08);
    transform: translateY(-5px);
  }
  .service-card:hover::after { width: 100%; }
}
/* Número de servicio — naranja: texto de 2 char, muy puntual */
.service-num {
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.20em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 1.2rem;
  font-family: "Avenir LT Pro", sans-serif;
}
.service-card h3 { color: var(--ink); margin-bottom: 0.7rem; font-size: 1.12rem; }
.service-card p { font-size: 0.88rem; color: var(--ink-mute); line-height: 1.75; }
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px)  { .services-grid { grid-template-columns: 1fr; } }

/* ============================================================
   PROCESS — "Cómo trabajo"
   ============================================================ */
.process {
  background: linear-gradient(
    to bottom,
    var(--bg-2) 0%,
    var(--bg-2) calc(100% - 100px),
    var(--bg-2) 100%
  );
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
  margin-top: 1rem;
}

/* Connector line between steps */
.process-connector {
  width: 100%;
  height: 1.5px;
  background: linear-gradient(90deg, rgba(240,235,224,0.10), rgba(240,235,224,0.22), rgba(240,235,224,0.10));
  margin-top: 2.2rem; /* align with top of number */
  min-width: 24px;
  flex-shrink: 0;
}

.process-step {
  padding: 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.process-step-num {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 600;
  color: var(--orange);
  line-height: 1;
  opacity: 0.72;
}

.process-step-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.55rem;
  font-family: "Avenir LT Pro", sans-serif;
  letter-spacing: 0.01em;
}

.process-step-body p {
  font-size: 0.855rem;
  color: var(--ink-mute);
  line-height: 1.78;
}

@media (max-width: 900px) {
  .process-steps {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .process-connector {
    width: 1.5px;
    height: 36px;
    min-width: unset;
    background: linear-gradient(180deg, rgba(240,235,224,0.10), rgba(240,235,224,0.22), rgba(240,235,224,0.10));
    margin-top: 0;
    margin-left: 1.25rem;
  }
  .process-step { padding: 0; }
}

/* ============================================================
   COVERAGE
   ============================================================ */
.coverage-topo { position: absolute; inset: 0; pointer-events: none; }
.coverage-topo svg { width: 100%; height: 100%; }
.coverage-halo {
  position: absolute; inset: -40% -10%;
  background: radial-gradient(ellipse at 70% 50%, rgba(240,235,224,0.025) 0%, transparent 55%);
  pointer-events: none;
}
.coverage-inner {
  position: relative; z-index: 1; max-width: 1200px;
  margin-inline: auto; padding-inline: 2rem;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.coverage-text .kicker { color: var(--orange); margin-bottom: 0.65rem; }
.coverage-text h2 { color: var(--ink); margin-bottom: 1.5rem; }
.coverage-text p { color: var(--ink-soft); font-size: 1rem; line-height: 1.82; margin-bottom: 1.2rem; }
.coverage-img { position: relative; }
.coverage-img img {
  width: 100%; aspect-ratio: 4/5;
  object-fit: cover; object-position: center 15%; display: block;
  filter: saturate(0.85) brightness(0.92);
}
/* Sin marco (eliminado) */

/* ============================================================
   MAPA COBERTURA — bsas-map.png (fondo transparente, 1080×1920, 9:16)
   La imagen ocupa el 100% del contenedor (object-fit:fill).
   Punto radar centrado al 50%/50% del div.
   ============================================================ */

.coverage-map {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Contenedor — aspect-ratio 9:16 coincide con el PNG */
.bsas-wrap {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin-inline: auto;
  aspect-ratio: 9 / 16;
  overflow: hidden;
}

/* Imagen transparente — llena el contenedor al 100% */
.bsas-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  pointer-events: none;
}

/* ── Glow naranja — centrado en el div ───────────────────── */
.bsas-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse at center,
    rgba(244,121,32,0.48) 0%,
    rgba(244,121,32,0.18) 28%,
    rgba(244,121,32,0.06) 55%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 4;
  border-radius: 50%;
}

/* ── Marcador: radar ping ─────────────────────────────────── */
@keyframes bsasPing {
  0%   { transform: scale(0.35); opacity: 0.80; }
  100% { transform: scale(4.2);  opacity: 0; }
}

.bsas-marker {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0; height: 0;
  pointer-events: none;
  z-index: 5;
}

.bsas-ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 20px; height: 20px;
  margin: -10px 0 0 -10px;
  border-radius: 50%;
  border: 1.5px solid rgba(244,121,32,0.75);
  animation: bsasPing 2.8s ease-out infinite;
  animation-delay: var(--d, 0s);
}

.bsas-dot {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #F47920;
  box-shadow:
    0 0 0  3px rgba(244,121,32,0.22),
    0 0 14px rgba(244,121,32,0.80),
    0 0 32px rgba(244,121,32,0.28);
}

/* ── Etiqueta ─────────────────────────────────────────────── */
.bsas-label {
  position: absolute;
  top: 50%;
  left: calc(50% + 16px);
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1px;
  pointer-events: none;
  z-index: 6;
}

.bsas-label-base {
  font-family: "Avenir LT Pro", sans-serif;
  font-size: 0.80rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #F47920;
  line-height: 1;
}

.bsas-label-city {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}

.bsas-label-prov {
  font-family: "Avenir LT Pro", sans-serif;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 1px;
}

@media (max-width: 480px) {
  .bsas-wrap { max-width: 260px; }
  .bsas-label { left: calc(50% + 12px); }
  .bsas-label-city { font-size: 0.9rem; }
}
@media (max-width: 900px) {
  .coverage-inner { grid-template-columns: 1fr; gap: 3rem; }
  .coverage-img { order: -1; }
}

/* ============================================================
   WHY
   ============================================================ */
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2.5rem; }
.why-item {
  padding-top: 1.5rem;
  border-top: 1.5px solid var(--line);
  transition: border-color 0.3s;
}
@media (hover: hover) { .why-item:hover { border-color: rgba(240,235,224,0.32); } }
.why-icon {
  width: 34px; height: 34px; color: var(--ink-soft);
  margin-bottom: 1.2rem; stroke-width: 1.4;
  filter: drop-shadow(0 0 6px rgba(240,235,224,0.15));
}
.why-item h3 { font-size: 0.95rem; margin-bottom: 0.6rem; font-weight: 700; color: var(--ink); }
.why-item p { font-size: 0.85rem; color: var(--ink-mute); line-height: 1.75; }
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px)  { .why-grid { grid-template-columns: 1fr; } }

/* ============================================================
   MANIFESTO / QUOTE
   ============================================================ */
.manifesto-inner {
  max-width: 1200px; margin-inline: auto; padding-inline: 2rem;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center; position: relative; z-index: 1;
}
.manifesto-quote {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 400;
  font-style: italic; line-height: 1.35; color: var(--ink);
}
.manifesto-quote strong { font-weight: 700; font-style: normal; color: var(--ink); }
.manifesto-quote::before {
  content: '\201C';
  font-size: 5rem; line-height: 0; vertical-align: -0.5em;
  color: var(--ink); opacity: 0.18; margin-right: 0.15em;
  font-family: Georgia, serif;
}
.manifesto-img img {
  width: 100%; aspect-ratio: 3/2;
  object-fit: cover; object-position: center; display: block;
  filter: saturate(0.8) brightness(0.85);
}
@media (max-width: 768px) {
  .manifesto-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .manifesto-img { order: -1; }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-topo-bg {
  position: absolute; top: -80px; right: -80px;
  width: 480px; height: 480px;
  opacity: 0.07; pointer-events: none;
}
.contact-grid {
  display: grid; grid-template-columns: 6fr 5fr;
  gap: 5rem; align-items: start;
}
.contact-left .kicker { margin-bottom: 0.65rem; }
.contact-left h2 { margin-bottom: 1.25rem; }
.contact-left > p { font-size: 1rem; margin-bottom: 1.8rem; line-height: 1.82; }
.contact-big-btn { margin-bottom: 1.5rem; }
.contact-channels { display: flex; flex-direction: column; gap: 0.75rem; }
.contact-ch {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line);
  background: var(--bg-3);
  text-decoration: none; color: var(--ink);
  transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease-out), box-shadow 0.25s;
}
@media (hover: hover) {
  .contact-ch:hover {
    border-color: rgba(240,235,224,0.18);
    background: rgba(240,235,224,0.04);
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  }
}
.contact-ch-icon { width: 32px; height: 32px; flex-shrink: 0; color: var(--ink-soft); display: flex; align-items: center; justify-content: center; }
.contact-ch-label { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 0.15rem; font-family: "Avenir LT Pro", sans-serif; }
.contact-ch-value { font-size: 0.9rem; font-weight: 600; color: var(--ink); }

.contact-card {
  background: var(--bg-3);
  padding: 2.5rem;
  border: 1px solid var(--line);
  border-left: 2px solid rgba(240,235,224,0.22);
  box-shadow: -4px 0 30px rgba(240,235,224,0.03);
}
.contact-card h3 { font-size: 1.1rem; margin-bottom: 1.2rem; font-weight: 700; color: var(--ink); }
.contact-card p { font-size: 0.875rem; color: var(--ink-mute); line-height: 1.82; margin-bottom: 0.4rem; }
.contact-card p strong { color: var(--ink-soft); font-weight: 600; }
.contact-card .divider { border: none; border-top: 1px solid var(--line); margin-block: 1.5rem; }
.contact-card blockquote {
  font-family: "Cormorant Garamond", serif;
  font-size: 1rem; font-style: italic;
  color: var(--ink-mute); line-height: 1.7;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 3rem; } }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg-2); padding-block: 3rem; border-top: 1px solid var(--line); }
.footer-inner {
  max-width: 1200px; margin-inline: auto; padding-inline: 2rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem;
}
.footer-brand {
  display: flex; align-items: center;
  text-decoration: none;
  transition: opacity 0.3s;
}
.footer-brand img {
  height: 44px; width: auto; display: block;
  opacity: 0.82;
}
.footer-brand:hover { opacity: 0.7; }
.footer-meta { text-align: center; }
.footer-meta strong {
  display: block;
  font-family: "Avenir LT Pro", sans-serif;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 0.3rem;
}
.footer-meta p { font-size: 0.70rem; color: var(--ink-mute); letter-spacing: 0.06em; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
  font-size: 0.70rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute); text-decoration: none; transition: color 0.25s;
  font-family: "Avenir LT Pro", sans-serif;
}
.footer-links a:hover { color: var(--ink); }
@media (max-width: 640px) {
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }
}

/* ============================================================
   FLOATING TOPO ELEMENT (decorativo, animado por JS)
   ============================================================ */
.topo-float {
  position: absolute; pointer-events: none; z-index: 0;
  animation: topoFloat 12s ease-in-out infinite;
  will-change: transform;
}
@keyframes topoFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33%       { transform: translateY(-12px) rotate(1.5deg); }
  66%       { transform: translateY(8px) rotate(-1deg); }
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form {
  margin-bottom: 2rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.contact-form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
@media (max-width: 600px) { .contact-form-row { grid-template-columns: 1fr; } }

.contact-form-field {
  display: flex; flex-direction: column; gap: 0.45rem;
}
.contact-form-field label {
  font-family: "Avenir LT Pro", sans-serif;
  font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-mute);
}
.contact-form-field input,
.contact-form-field select,
.contact-form-field textarea {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-family: "Avenir LT Pro", sans-serif;
  font-size: 0.9rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.contact-form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.contact-form-field select option { background: var(--bg-3); color: var(--ink); }
.contact-form-field textarea { resize: vertical; min-height: 110px; }
.contact-form-field input::placeholder,
.contact-form-field textarea::placeholder { color: var(--ink-mute); }
.contact-form-field input:focus,
.contact-form-field select:focus,
.contact-form-field textarea:focus {
  border-color: rgba(240,235,224,0.35);
  box-shadow: 0 0 0 3px rgba(240,235,224,0.06);
}
.contact-form-field input:invalid:not(:placeholder-shown),
.contact-form-field textarea:invalid:not(:placeholder-shown) {
  border-color: rgba(244,80,80,0.45);
}

.contact-form-actions {
  display: flex; flex-wrap: wrap;
  align-items: center; gap: 1rem;
}
.contact-form-success {
  font-size: 0.85rem; color: #4caf8a;
  min-height: 1.4em;
  font-family: "Avenir LT Pro", sans-serif;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
