/* ============================================
   ZONACONTAWEB — Estilos Principales
   Diseño: Editorial · Verde Bosque / Crema
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ── Variables ── */
:root {
  --forest:     #1A3323;
  --forest-mid: #254D35;
  --forest-lt:  #2E6142;
  --sage:       #5A8A6A;
  --sage-lt:    #8DB89A;
  --cream:      #F5F0E8;
  --cream-dk:   #EDE7D9;
  --warm-white: #FAF8F4;
  --amber:      #C8873A;
  --amber-lt:   #E4A85A;
  --charcoal:   #1C1C1C;
  --gray-mid:   #6B6560;
  --gray-lt:    #B0AAA2;
  --white:      #FFFFFF;

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

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-xl: 48px;

  --shadow-sm:  0 2px 12px rgba(26,51,35,0.08);
  --shadow-md:  0 8px 32px rgba(26,51,35,0.14);
  --shadow-lg:  0 20px 64px rgba(26,51,35,0.18);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t: 0.35s;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--warm-white);
  color: var(--charcoal);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── Typography ── */
h1 { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 600; line-height: 1.15; }
h3 { font-family: var(--font-display); font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 500; line-height: 1.25; }
h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; }
p { color: var(--gray-mid); }

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section { padding: 120px 0; }

/* ══════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(26,51,35,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(93,140,106,0.2);
  transition: background var(--t) var(--ease);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; height: 76px;
}
.nav-logo {
  display: flex; align-items: center; gap: 14px;
}
.logo-mark {
  width: 44px; height: 44px;
  background: var(--amber);
  border-radius: var(--radius-xs);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 700;
  position: relative; overflow: hidden;
}
.logo-mark::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
}
.logo-text { font-family: var(--font-display); font-size: 1.4rem; color: var(--cream); font-weight: 600; letter-spacing: 0.01em; }
.logo-text span { color: var(--amber-lt); }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { color: rgba(245,240,232,0.7); font-size: 0.88rem; font-weight: 500; letter-spacing: 0.04em; transition: color var(--t); }
.nav-links a:hover { color: var(--amber-lt); }
.nav-btn {
  background: var(--amber); color: var(--forest) !important;
  padding: 10px 22px; border-radius: var(--radius-xs);
  font-weight: 700 !important; font-size: 0.85rem !important;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: background var(--t) var(--ease), transform var(--t) var(--spring) !important;
}
.nav-btn:hover { background: var(--amber-lt) !important; transform: translateY(-1px) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 26px; height: 2px; background: var(--cream); border-radius: 2px; transition: var(--t); }

/* ══════════════════════════════════════════
   HERO — Diseño editorial asimétrico
══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: var(--forest);
  padding-top: 76px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
/* Panel izquierdo */
.hero-left {
  padding: 80px 56px 80px 64px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; z-index: 2;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 32px;
}
.eyebrow-line { width: 40px; height: 1px; background: var(--amber); }
.eyebrow-text {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--amber-lt);
}
.hero-title { color: var(--cream); margin-bottom: 8px; }
.hero-title em { font-style: italic; color: var(--amber-lt); display: block; }
.hero-subtitle {
  font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--sage-lt); font-style: italic; margin-bottom: 28px;
}
.hero-disclaimer {
  background: rgba(200,135,58,0.12);
  border: 1px solid rgba(200,135,58,0.3);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 40px;
}
.hero-disclaimer p { color: rgba(245,240,232,0.75); font-size: 0.85rem; line-height: 1.6; }
.hero-disclaimer strong { color: var(--amber-lt); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-cta {
  background: var(--amber); color: var(--forest);
  padding: 15px 30px; border-radius: var(--radius-xs);
  font-weight: 700; font-size: 0.9rem; letter-spacing: 0.04em;
  display: inline-flex; align-items: center; gap: 10px;
  transition: background var(--t), transform var(--t) var(--spring), box-shadow var(--t);
  border: none; cursor: pointer;
}
.btn-cta:hover { background: var(--amber-lt); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(200,135,58,0.35); }
.btn-ghost {
  background: transparent; color: var(--cream);
  padding: 15px 30px; border-radius: var(--radius-xs);
  font-weight: 500; font-size: 0.9rem;
  display: inline-flex; align-items: center; gap: 10px;
  border: 1.5px solid rgba(245,240,232,0.25);
  transition: border-color var(--t), color var(--t);
}
.btn-ghost:hover { border-color: var(--amber); color: var(--amber-lt); }
.hero-metrics {
  display: flex; gap: 0;
  margin-top: 64px; padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.metric-item { flex: 1; padding-right: 24px; }
.metric-item + .metric-item { padding-left: 24px; border-left: 1px solid rgba(255,255,255,0.08); }
.metric-num {
  font-family: var(--font-display); font-size: 2.4rem;
  color: var(--amber-lt); font-weight: 600; line-height: 1;
  margin-bottom: 4px;
}
.metric-label { font-size: 0.78rem; color: rgba(245,240,232,0.45); text-transform: uppercase; letter-spacing: 0.07em; }

/* Panel derecho — visual editorial */
.hero-right {
  position: relative;
  background: var(--forest-mid);
  overflow: hidden;
}
.hero-right-inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 48px;
}
.hero-bg-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 30% 50%, rgba(93,140,106,0.15) 0%, transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(200,135,58,0.1) 0%, transparent 50%);
}
.hero-big-number {
  position: absolute; top: 40px; right: 40px;
  font-family: var(--font-display); font-size: 12rem; font-weight: 700;
  color: rgba(255,255,255,0.03); line-height: 1; user-select: none;
  letter-spacing: -0.05em;
}
.service-stack { display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }
.stack-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  display: flex; align-items: center; gap: 16px;
  transition: background var(--t), border-color var(--t);
  cursor: default;
}
.stack-card:hover { background: rgba(200,135,58,0.08); border-color: rgba(200,135,58,0.25); }
.stack-icon { font-size: 1.4rem; flex-shrink: 0; }
.stack-info { flex: 1; }
.stack-name { font-size: 0.92rem; font-weight: 600; color: var(--cream); margin-bottom: 3px; }
.stack-desc { font-size: 0.78rem; color: rgba(245,240,232,0.45); }
.stack-arrow { color: var(--amber); font-size: 0.9rem; opacity: 0; transition: opacity var(--t); }
.stack-card:hover .stack-arrow { opacity: 1; }
.hero-badge-bottom {
  position: absolute; top: 48px; left: 48px;
  background: var(--amber);
  border-radius: var(--radius-xs);
  padding: 12px 18px;
  z-index: 1;
}
.badge-label { font-size: 0.7rem; font-weight: 700; color: var(--forest); text-transform: uppercase; letter-spacing: 0.1em; }
.badge-value { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--forest); line-height: 1; }

/* ══════════════════════════════════════════
   AVISO BANNER
══════════════════════════════════════════ */
.aviso-banner {
  background: var(--cream-dk);
  border-bottom: 1px solid rgba(26,51,35,0.1);
  padding: 16px 0;
}
.aviso-banner .container {
  display: flex; align-items: center; justify-content: center; gap: 12px;
}
.aviso-banner p { color: var(--forest); font-size: 0.85rem; font-weight: 500; }
.aviso-banner strong { color: var(--amber); }

/* ══════════════════════════════════════════
   SERVICIOS
══════════════════════════════════════════ */
.servicios { background: var(--warm-white); }
.section-eyebrow {
  display: flex; align-items: center; gap: 14px; margin-bottom: 16px;
}
.eyebrow-pill {
  background: rgba(26,51,35,0.08); color: var(--forest);
  padding: 5px 14px; border-radius: 40px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.section-title { color: var(--forest); margin-bottom: 56px; }
.section-title span { color: var(--amber); font-style: italic; }
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--cream-dk);
  border: 2px solid var(--cream-dk);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.servicio-item {
  background: var(--warm-white);
  padding: 40px 36px;
  transition: background var(--t);
  position: relative;
}
.servicio-item:hover { background: var(--forest); }
.servicio-item:hover h3,
.servicio-item:hover p,
.servicio-item:hover .srv-num { color: var(--cream); }
.servicio-item:hover .srv-icon-wrap { background: rgba(200,135,58,0.2); }
.srv-num {
  font-family: var(--font-display); font-size: 3.5rem; font-weight: 700;
  color: rgba(26,51,35,0.07); line-height: 1; margin-bottom: 16px;
  transition: color var(--t);
}
.srv-icon-wrap {
  width: 52px; height: 52px;
  background: var(--cream-dk); border-radius: var(--radius-xs);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 20px;
  transition: background var(--t);
}
.servicio-item h3 { color: var(--forest); margin-bottom: 12px; font-size: 1.25rem; transition: color var(--t); }
.servicio-item p { font-size: 0.88rem; line-height: 1.7; transition: color var(--t); }

/* ══════════════════════════════════════════
   NOSOTROS — layout diagonal
══════════════════════════════════════════ */
.nosotros { background: var(--forest); position: relative; overflow: hidden; }
.nosotros::before {
  content: 'ZCW';
  position: absolute; right: -40px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-size: 20rem; font-weight: 700;
  color: rgba(255,255,255,0.025); line-height: 1;
  user-select: none; pointer-events: none;
}
.nosotros-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; z-index: 1; }
.nosotros-text .section-eyebrow .eyebrow-pill { background: rgba(200,135,58,0.15); color: var(--amber-lt); }
.nosotros-text .section-title { color: var(--cream); }
.nosotros-text .section-title span { color: var(--amber-lt); }
.nosotros-text > p { color: rgba(245,240,232,0.6); margin-bottom: 48px; }
.features-list { display: flex; flex-direction: column; gap: 24px; }
.feat-item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 20px 22px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.06);
  transition: border-color var(--t), background var(--t);
}
.feat-item:hover { border-color: rgba(200,135,58,0.3); background: rgba(200,135,58,0.05); }
.feat-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(200,135,58,0.15);
  border-radius: var(--radius-xs);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.feat-content h4 { color: var(--cream); margin-bottom: 4px; }
.feat-content p { font-size: 0.85rem; color: rgba(245,240,232,0.5); }
.nosotros-visual { display: flex; flex-direction: column; gap: 16px; }
.stat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 28px 32px;
  transition: var(--t);
}
.stat-card:first-child { background: var(--amber); border-color: var(--amber); }
.stat-card:first-child .stat-val { color: var(--forest); }
.stat-card:first-child .stat-lbl { color: rgba(26,51,35,0.65); }
.stat-val {
  font-family: var(--font-display); font-size: 2.8rem;
  color: var(--amber-lt); font-weight: 600; line-height: 1; margin-bottom: 6px;
}
.stat-lbl { font-size: 0.8rem; color: rgba(245,240,232,0.4); text-transform: uppercase; letter-spacing: 0.07em; }
.stat-bar { height: 3px; background: rgba(255,255,255,0.1); border-radius: 2px; margin-top: 16px; overflow: hidden; }
.stat-bar-fill { height: 100%; background: var(--amber); border-radius: 2px; width: 0; transition: width 1.4s var(--ease); }

/* ══════════════════════════════════════════
   PROCESO
══════════════════════════════════════════ */
.proceso { background: var(--cream); }
.proceso .section-title { color: var(--forest); }
.proceso-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.proceso-timeline::before {
  content: '';
  position: absolute; top: 32px; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--forest-lt), transparent);
}
.paso { text-align: center; padding: 0 20px; position: relative; }
.paso-circle {
  width: 64px; height: 64px; margin: 0 auto 28px;
  background: var(--forest); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.3rem;
  color: var(--amber-lt); font-weight: 700;
  position: relative; z-index: 1;
  transition: background var(--t) var(--spring), transform var(--t) var(--spring);
}
.paso:hover .paso-circle { background: var(--amber); color: var(--forest); transform: scale(1.1); }
.paso h4 { color: var(--forest); font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.paso p { font-size: 0.84rem; line-height: 1.65; }

/* ══════════════════════════════════════════
   AVISO LEGAL DESTACADO
══════════════════════════════════════════ */
.legal-highlight {
  background: var(--forest-mid);
  padding: 80px 0;
}
.legal-box {
  background: var(--forest);
  border: 1px solid rgba(200,135,58,0.25);
  border-radius: var(--radius-lg);
  padding: 56px 64px;
  display: grid; grid-template-columns: auto 1fr;
  gap: 48px; align-items: center;
}
.legal-icon-big { font-size: 4rem; }
.legal-text h2 { color: var(--amber-lt); font-size: 1.8rem; margin-bottom: 16px; }
.legal-text p { color: rgba(245,240,232,0.65); font-size: 0.93rem; line-height: 1.8; margin-bottom: 10px; }
.legal-text p:last-child { margin-bottom: 0; }

/* ══════════════════════════════════════════
   MAPA + CONTACTO
══════════════════════════════════════════ */
.contacto { background: var(--warm-white); }
.contacto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contacto-info .section-eyebrow { margin-bottom: 12px; }
.contacto-info .section-title { margin-bottom: 16px; }
.contacto-info > p { margin-bottom: 36px; font-size: 0.93rem; }
.info-items { display: flex; flex-direction: column; gap: 18px; margin-bottom: 36px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  background: var(--forest); border-radius: var(--radius-xs);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.info-detail strong { display: block; color: var(--forest); font-weight: 600; font-size: 0.88rem; margin-bottom: 2px; }
.info-detail span, .info-detail a { color: var(--gray-mid); font-size: 0.88rem; }
.info-detail a:hover { color: var(--amber); }
.mapa-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--cream-dk);
  height: 220px;
}
.mapa-embed iframe { width: 100%; height: 100%; border: 0; }
.contacto-form-wrap {
  background: var(--forest);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
}
.contacto-form-wrap h3 {
  font-family: var(--font-display); font-size: 1.8rem;
  color: var(--cream); margin-bottom: 28px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 0.8rem; font-weight: 600; color: rgba(245,240,232,0.6); margin-bottom: 6px; letter-spacing: 0.04em; text-transform: uppercase; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xs);
  padding: 12px 16px;
  color: var(--cream); font-family: var(--font-body); font-size: 0.9rem;
  transition: border-color var(--t), background var(--t);
  outline: none;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(245,240,232,0.25); }
.form-field select option { background: var(--forest); color: var(--cream); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--amber);
  background: rgba(200,135,58,0.06);
}
.form-field textarea { resize: vertical; min-height: 90px; }
.btn-send {
  width: 100%; background: var(--amber); color: var(--forest);
  padding: 15px; border-radius: var(--radius-xs);
  font-weight: 700; font-size: 0.92rem; letter-spacing: 0.04em;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: background var(--t), transform var(--t) var(--spring);
}
.btn-send:hover { background: var(--amber-lt); transform: translateY(-2px); }
.form-note { text-align: center; font-size: 0.75rem; color: rgba(245,240,232,0.3); margin-top: 10px; }
.form-note a { color: var(--amber); }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer { background: var(--charcoal); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer-brand-desc { color: rgba(255,255,255,0.35); font-size: 0.85rem; margin-top: 16px; max-width: 280px; line-height: 1.7; }
.footer-col h5 { color: var(--amber); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: rgba(255,255,255,0.4); font-size: 0.85rem; transition: color var(--t); }
.footer-col ul a:hover { color: var(--amber-lt); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy { color: rgba(255,255,255,0.25); font-size: 0.78rem; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: rgba(255,255,255,0.3); font-size: 0.78rem; transition: color var(--t); }
.footer-legal a:hover { color: var(--amber); }

/* ══════════════════════════════════════════
   WHATSAPP CHAT BOT WIDGET
══════════════════════════════════════════ */
.wa-widget { position: fixed; bottom: 28px; right: 28px; z-index: 9998; }
.wa-bubble {
  width: 60px; height: 60px;
  background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; cursor: pointer;
  box-shadow: 0 4px 24px rgba(37,211,102,0.4);
  transition: transform var(--t) var(--spring), box-shadow var(--t);
  position: relative; z-index: 2;
}
.wa-bubble:hover { transform: scale(1.1); box-shadow: 0 8px 36px rgba(37,211,102,0.5); }
.wa-bubble-ping {
  position: absolute; top: -2px; right: -2px;
  width: 18px; height: 18px;
  background: var(--amber); border-radius: 50%;
  border: 2px solid var(--warm-white);
  animation: ping 2s infinite;
}
@keyframes ping {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}
.wa-panel {
  position: absolute; bottom: 76px; right: 0;
  width: 320px; background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: scale(0.9) translateY(10px);
  transform-origin: bottom right;
  opacity: 0; pointer-events: none;
  transition: transform 0.3s var(--spring), opacity 0.3s var(--ease);
}
.wa-panel.open { transform: scale(1) translateY(0); opacity: 1; pointer-events: all; }
.wa-panel-header {
  background: #075E54; padding: 18px 20px;
  display: flex; align-items: center; gap: 12px;
}
.wa-avatar {
  width: 44px; height: 44px; background: #25D366;
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 1.2rem; flex-shrink: 0;
}
.wa-agent-name { color: var(--white); font-weight: 600; font-size: 0.92rem; }
.wa-status { color: rgba(255,255,255,0.7); font-size: 0.75rem; display: flex; align-items: center; gap: 5px; }
.wa-online-dot { width: 7px; height: 7px; background: #25D366; border-radius: 50%; }
.wa-close { margin-left: auto; color: rgba(255,255,255,0.6); font-size: 1.2rem; cursor: pointer; padding: 4px; }
.wa-body { padding: 20px; background: #ECE5DD; min-height: 120px; }
.wa-message {
  background: var(--white);
  border-radius: 0 12px 12px 12px;
  padding: 12px 14px; font-size: 0.88rem;
  color: #333; line-height: 1.5;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  max-width: 88%;
}
.wa-message-time { font-size: 0.7rem; color: #999; text-align: right; margin-top: 4px; }
.wa-footer { padding: 14px 16px; border-top: 1px solid #eee; }
.wa-options { display: flex; flex-direction: column; gap: 8px; }
.wa-option-btn {
  background: var(--white); border: 1.5px solid #25D366;
  color: #075E54; padding: 10px 14px; border-radius: 20px;
  font-size: 0.82rem; font-weight: 600; cursor: pointer;
  text-align: left; transition: background var(--t), color var(--t);
  font-family: var(--font-body);
}
.wa-option-btn:hover { background: #25D366; color: var(--white); }

/* ══════════════════════════════════════════
   COOKIE BANNER
══════════════════════════════════════════ */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--charcoal);
  border-top: 3px solid var(--amber);
  padding: 22px 32px;
  display: flex; align-items: center; gap: 28px;
  transform: translateY(100%);
  transition: transform 0.45s var(--ease);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-text { flex: 1; }
.cookie-text p { color: rgba(255,255,255,0.7); font-size: 0.86rem; }
.cookie-text a { color: var(--amber-lt); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-accept {
  background: var(--amber); color: var(--forest);
  padding: 10px 22px; border-radius: var(--radius-xs);
  font-weight: 700; font-size: 0.84rem; border: none; cursor: pointer;
  transition: background var(--t);
}
.cookie-accept:hover { background: var(--amber-lt); }
.cookie-reject {
  background: transparent; color: rgba(255,255,255,0.5);
  padding: 10px 16px; border-radius: var(--radius-xs);
  border: 1px solid rgba(255,255,255,0.15); font-size: 0.84rem;
  cursor: pointer; transition: border-color var(--t), color var(--t);
  font-family: var(--font-body);
}
.cookie-reject:hover { border-color: rgba(255,255,255,0.4); color: var(--white); }

/* ══════════════════════════════════════════
   ANIMACIONES
══════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 0.12s; }
.reveal:nth-child(3) { transition-delay: 0.24s; }
.reveal:nth-child(4) { transition-delay: 0.36s; }
.reveal:nth-child(5) { transition-delay: 0.48s; }
.reveal:nth-child(6) { transition-delay: 0.60s; }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-left { padding: 60px 32px; }
  .servicios-grid { grid-template-columns: repeat(2, 1fr); }
  .nosotros-inner { grid-template-columns: 1fr; gap: 48px; }
  .proceso-timeline { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .proceso-timeline::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .legal-box { grid-template-columns: 1fr; gap: 24px; padding: 40px 36px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 76px; left: 0; right: 0; background: var(--forest); padding: 28px 32px; gap: 20px; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .section { padding: 80px 0; }
  h1 { font-size: 2.6rem; }
  .hero-metrics { flex-direction: column; gap: 20px; }
  .metric-item + .metric-item { padding-left: 0; border-left: none; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; }
  .servicios-grid { grid-template-columns: 1fr; }
  .contacto-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .cookie-banner { flex-direction: column; padding: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
  .wa-panel { width: 290px; }
}
