/* ============================================================
   SÁNCHEZ REYES — Bienes Raíces · Guadalajara
   Archetype 02: Editorial Dark Warm
   ============================================================ */

/* ── Custom properties ── */
:root {
  --bg:        #1C1C1A;
  --bg-2:      #232320;
  --bg-card:   #282825;
  --cream:     #F2EDE4;
  --cream-2:   #D6CFC4;
  --cream-3:   #8A8577;
  --gold:      #C9A96E;
  --gold-dark: #A8834A;
  --stone:     #8A8577;
  --line:      rgba(242,237,228,0.10);
  --line-gold: rgba(201,169,110,0.30);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --nav-h: 72px;
  --max-w: 1280px;
}

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

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Reveal base ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal[data-split] { opacity: 1; transform: none; }

/* ── Splash ── */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  transition: opacity 0.6s var(--ease-out), clip-path 0.6s var(--ease-out);
  animation: splashSafety 0.01s 4.5s forwards;
}
@keyframes splashSafety {
  to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); }
}
.splash.is-out {
  opacity: 0;
  pointer-events: none;
  clip-path: inset(0 0 100% 0);
}
.splash-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: splashFadeIn 0.8s var(--ease-out) 0.2s both;
}
@keyframes splashFadeIn {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: none; }
}
.splash-logo {
  width: 220px;
  height: auto;
  border-radius: 4px;
}

/* ── Custom cursor ── */
.cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}
.cursor.is-ready { opacity: 1; }
.cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid rgba(242,237,228,0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.12s var(--ease-out), width 0.3s, height 0.3s, border-color 0.3s;
  will-change: transform;
}
.cursor-dot {
  position: fixed;
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}
body:has(a:hover) .cursor-ring,
body:has(button:hover) .cursor-ring {
  width: 52px; height: 52px;
  border-color: var(--gold);
}
@media (pointer: coarse) { .cursor { display: none; } }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 clamp(24px, 4vw, 64px);
  gap: 40px;
  transition: background 0.4s var(--ease-out), backdrop-filter 0.4s, box-shadow 0.4s;
}
.nav.is-scrolled {
  background: rgba(28,28,26,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo-img {
  width: 36px !important;
  height: 36px !important;
  max-width: 36px;
  max-height: 36px;
  object-fit: contain;
  border-radius: 2px;
  flex-shrink: 0;
  display: block;
}
.nav-brand {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
}
.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.nav-link {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-3);
  transition: color 0.25s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 100%;
  height: 1px;
  background: var(--gold);
  transition: right 0.3s var(--ease-out);
}
.nav-link:hover { color: var(--cream); }
.nav-link:hover::after { right: 0; }
.nav-cta {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 20px;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 2px;
  transition: background 0.25s, color 0.25s;
}
.nav-cta:hover { background: var(--gold); color: var(--bg); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 1px;
  background: var(--cream);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Nav mobile */
.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}
.nav-mobile.is-open { opacity: 1; pointer-events: all; }
.nav-mobile-link {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 300;
  color: var(--cream);
  transition: color 0.2s;
}
.nav-mobile-link:hover { color: var(--gold); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 2px;
  transition: all 0.25s var(--ease-out);
  cursor: pointer;
}
.btn-gold {
  background: var(--gold);
  color: var(--bg);
  border: 1px solid var(--gold);
}
.btn-gold:hover {
  background: transparent;
  color: var(--gold);
}
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(242,237,228,0.25);
}
.btn-ghost:hover {
  border-color: var(--cream);
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 14px 28px;
  border-radius: 2px;
  border: none;
  transition: background 0.25s, transform 0.2s;
  margin-top: 8px;
}
.btn-whatsapp:hover { background: #1da851; transform: translateY(-1px); }

/* ── Section commons ── */
.section-kicker {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-header {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-header h2 { margin-top: 12px; }
h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--cream);
}
h2 em { color: var(--gold); font-style: italic; }
h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.2;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  will-change: transform;
}
.hero-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(28,28,26,0.78) 0%,
    rgba(28,28,26,0.55) 50%,
    rgba(28,28,26,0.82) 100%
  );
}
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 40px) clamp(24px, 6vw, 80px) 80px;
  width: 100%;
}
.hero-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.5vw, 5.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 24px;
  max-width: 16ch;
  text-wrap: balance;
}
.hero-title em {
  color: var(--gold);
  font-style: italic;
}
.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 300;
  color: var(--cream-2);
  max-width: 48ch;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.15); }
}

/* ── STATS ── */
.stats {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 56px clamp(24px, 4vw, 64px);
}
.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 8px 24px;
  transition: opacity 0.5s, transform 0.5s;
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-3);
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--line);
  flex-shrink: 0;
}

/* ── SERVICIOS ── */
.servicios {
  padding: clamp(80px, 10vw, 140px) clamp(24px, 4vw, 64px);
  max-width: var(--max-w);
  margin: 0 auto;
}
.servicios-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.servicio-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.35s, box-shadow 0.35s, transform 0.25s;
  cursor: default;
}
.servicio-card:hover {
  border-color: var(--line-gold);
  box-shadow: 0 12px 60px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(201,169,110,0.12);
}
.servicio-img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.servicio-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out), filter 0.4s;
}
.servicio-card:hover .servicio-img {
  transform: scale(1.05);
  filter: saturate(1.15);
}
.servicio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,28,26,0.85) 0%, transparent 60%);
}
.servicio-body {
  padding: 32px 28px 28px;
}
.servicio-num {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 400;
}
.servicio-title {
  margin-bottom: 14px;
}
.servicio-desc {
  font-size: 0.95rem;
  color: var(--cream-2);
  margin-bottom: 20px;
  line-height: 1.7;
}
.servicio-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.servicio-list li {
  font-size: 0.85rem;
  color: var(--cream-3);
  padding-left: 16px;
  position: relative;
}
.servicio-list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  font-size: 0.45rem;
  color: var(--gold);
  top: 5px;
}
.servicio-cta {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  transition: letter-spacing 0.25s;
}
.servicio-cta:hover { letter-spacing: 0.16em; }

/* ── NOSOTROS ── */
.nosotros {
  background: var(--bg-2);
  padding: clamp(80px, 10vw, 140px) clamp(24px, 4vw, 64px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  max-width: 100%;
}
.nosotros .section-kicker,
.nosotros h2,
.nosotros-text,
.valores-list { max-width: var(--max-w); }
.nosotros-img-col {
  position: relative;
}
.nosotros-img-col img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top center;
  border-radius: 2px;
  filter: saturate(0.9);
}
.nosotros-img-accent {
  position: absolute;
  bottom: -16px; right: -16px;
  width: 120px; height: 120px;
  border: 1px solid var(--line-gold);
  border-radius: 2px;
  z-index: -1;
}
.nosotros-content { padding-right: 40px; }
.nosotros h2 { margin-bottom: 20px; }
.nosotros-text {
  font-size: 1rem;
  color: var(--cream-2);
  margin-bottom: 36px;
  line-height: 1.75;
}
.valores-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.valor-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.valor-icon {
  color: var(--gold);
  font-size: 0.55rem;
  margin-top: 6px;
  flex-shrink: 0;
}
.valor-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 4px;
}
.valor-item p {
  font-size: 0.9rem;
  color: var(--cream-3);
  line-height: 1.6;
}

/* ── PROCESO ── */
.proceso {
  padding: clamp(80px, 10vw, 140px) clamp(24px, 4vw, 64px);
  max-width: var(--max-w);
  margin: 0 auto;
}
.proceso-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.proceso-card {
  background: var(--bg-card);
  padding: 36px 28px;
  position: relative;
  transition: background 0.3s;
}
.proceso-card:hover { background: var(--bg-2); }
.proceso-num {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 400;
}
.proceso-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.proceso-card p {
  font-size: 0.9rem;
  color: var(--cream-3);
  line-height: 1.65;
}

/* ── TESTIMONIOS ── */
.testimonios {
  background: var(--bg-2);
  padding: clamp(80px, 10vw, 140px) clamp(24px, 4vw, 64px);
}
.testimonios .section-header { max-width: var(--max-w); margin-left: auto; margin-right: auto; }
.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 32px 28px;
  transition: border-color 0.35s, transform 0.25s;
}
.testi-card:hover { border-color: var(--line-gold); }
.testi-quote {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--cream-2);
  line-height: 1.65;
  margin-bottom: 28px;
}
.testi-footer {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testi-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--line-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.testi-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--cream);
  font-style: normal;
}
.testi-role {
  display: block;
  font-size: 0.78rem;
  color: var(--stone);
  letter-spacing: 0.05em;
}

/* ── CONTACTO ── */
.contacto {
  padding: clamp(80px, 10vw, 140px) clamp(24px, 4vw, 64px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
  max-width: var(--max-w);
  margin: 0 auto;
}
.contacto h2 { margin-bottom: 12px; }
.contacto-sub {
  font-size: 1rem;
  color: var(--cream-2);
  margin-bottom: 36px;
  line-height: 1.7;
}
.contacto-datos {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
}
.contacto-datos li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.dato-icon {
  color: var(--gold);
  font-size: 0.5rem;
  margin-top: 6px;
  flex-shrink: 0;
}
.contacto-datos strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-3);
  margin-bottom: 2px;
}
.contacto-datos a, .contacto-datos span {
  font-size: 0.95rem;
  color: var(--cream-2);
  transition: color 0.2s;
}
.contacto-datos a:hover { color: var(--gold); }

/* FORM */
.contacto-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(28px, 3vw, 44px);
}
.contacto-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-3);
}
.form-group label .optional { color: var(--stone); text-transform: lowercase; letter-spacing: 0; font-size: 0.78rem; }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.25s;
  width: 100%;
  -webkit-appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238A8577' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.form-group select option { background: var(--bg-card); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--stone); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit {
  width: 100%;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.submit-sending,
.submit-check { display: none; }
.contacto-form.is-sending .submit-text { display: none; }
.contacto-form.is-sending .submit-sending { display: inline; }
.submit-check { width: 18px; height: 18px; }

/* ── FOOTER ── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: clamp(48px, 6vw, 80px) clamp(24px, 4vw, 64px);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.footer-logo { display: flex; flex-direction: column; align-items: center; }
.footer-logo-img {
  width: 180px;
  height: auto;
  border-radius: 4px;
  opacity: 0.92;
}
.footer-nav {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-3);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--gold); }
.footer-copy {
  font-size: 0.75rem;
  color: var(--stone);
  letter-spacing: 0.06em;
}

/* ── Tilt 3D ── */
.tilt-active { transform-style: preserve-3d; will-change: transform; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .stats-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .stat-divider { display: none; }
  .proceso-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .hero-title { font-size: clamp(2.4rem, 8vw, 3.4rem); }

  .stats-inner { grid-template-columns: 1fr 1fr; }
  .servicios-grid { grid-template-columns: 1fr; }

  .nosotros {
    grid-template-columns: 1fr;
    padding-bottom: 60px;
  }
  .nosotros-img-col { order: 2; }
  .nosotros-content { order: 1; padding-right: 0; }

  .testimonios-grid { grid-template-columns: 1fr; }

  .proceso-grid { grid-template-columns: 1fr; }

  .contacto {
    grid-template-columns: 1fr;
  }

  .footer-nav { gap: 20px; }
}

@media (max-width: 480px) {
  .stats-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}
