/* ══════════════════════════════════════════════
   NOTARÍA MOLINA — CSS Premium
   Paleta: Azul noche profundo + Oro antiguo + Mármol
   Firma: transición de sello notarial animado en hero
══════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --navy:       #080F1A;
  --navy-2:     #111E2E;
  --navy-3:     #1A2E46;
  --navy-4:     #243B58;
  --gold:       #B8902A;
  --gold-2:     #D0A83C;
  --gold-3:     #E8C864;
  --gold-pale:  #F5E8C0;
  --gold-bg:    rgba(184,144,42,.09);
  --marble:     #F8F4EE;
  --marble-2:   #EDE6D8;
  --marble-3:   #DDD4C4;
  --white:      #FFFFFF;
  --ink:        #14202E;
  --ink-2:      #384A5E;
  --ink-3:      #6E8099;
  --red:        #B91C1C;
  --green:      #15803D;
  --border:     #D9CFBF;

  --ff-d:  'Playfair Display', Georgia, 'Times New Roman', serif;
  --ff-b:  'Inter', system-ui, -apple-system, sans-serif;
  --ff-i:  'Cormorant Garamond', Georgia, serif;

  --r:    10px;
  --r2:   20px;
  --r3:   32px;
  --sh:   0 2px 16px rgba(8,15,26,.10);
  --sh2:  0 8px 40px rgba(8,15,26,.18);
  --sh3:  0 20px 60px rgba(8,15,26,.28);
  --shg:  0 8px 32px rgba(184,144,42,.35);
}

*, *::before, *::after { box-sizing:border-box; margin:0; padding:0 }
html { scroll-behavior:smooth; font-size:16px }
body { font-family:var(--ff-b); color:var(--ink); background:var(--white); line-height:1.65; -webkit-font-smoothing:antialiased }
a { color:inherit; text-decoration:none }
img { display:block; max-width:100% }

/* ── Utilities ── */
.container { max-width:1180px; margin:0 auto; padding:0 28px }
.mt16 { margin-top:16px; display:inline-block }

.eyebrow {
  font-family: var(--ff-b);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 10px;
}

.sec-title {
  font-family: var(--ff-d);
  font-size: clamp(26px, 3.8vw, 44px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.12;
  margin-bottom: 14px;
}

.sec-desc {
  font-size: 16px;
  color: var(--ink-2);
  max-width: 580px;
  line-height: 1.75;
}

.sec-head { text-align:center; margin-bottom:60px }
.sec-head .sec-desc { margin:0 auto }
.sec-head.lt .sec-title { color:#fff }
.sec-head.lt .sec-desc  { color:rgba(255,255,255,.72) }
.sec-head.lt .eyebrow   { color:var(--gold-3) }

/* ── Botones ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-b);
  font-size: 14px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--r);
  border: none;
  cursor: pointer;
  transition: .2s;
  letter-spacing: .02em;
  white-space: nowrap;
}
.btn-gold   { background:var(--gold);  color:#fff }
.btn-gold:hover { background:var(--gold-2); box-shadow:var(--shg); transform:translateY(-1px) }
.btn-navy   { background:var(--navy);  color:#fff }
.btn-navy:hover { background:var(--navy-2) }
.btn-outline { border:2px solid rgba(255,255,255,.5); color:#fff }
.btn-outline:hover { border-color:#fff; background:rgba(255,255,255,.08) }
.btn-ghost  { border:2px solid var(--border); color:var(--ink-2); background:transparent }
.btn-ghost:hover { border-color:var(--gold); color:var(--gold) }
.btn-full   { width:100%; justify-content:center }

/* ── Tags ── */
.tag { display:inline-block; font-size:10px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; padding:4px 10px; border-radius:100px }
.tag-gold { background:var(--gold-bg); color:var(--gold-2); border:1px solid rgba(184,144,42,.25) }

/* ── Flash messages ── */
.flash {
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 500;
  padding: 14px 20px;
  border-radius: var(--r);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--sh2);
  max-width: 480px;
  width: calc(100% - 48px);
}
.flash button { background:none; border:none; cursor:pointer; font-size:16px; margin-left:auto; opacity:.6 }
.flash-success { background:#ECFDF5; border:1px solid #6EE7B7; color:#065F46 }
.flash-error   { background:#FEF2F2; border:1px solid #FECACA; color:#991B1B }

/* ══════════════════════════════════════
   TOPBAR
══════════════════════════════════════ */
.topbar {
  background: var(--navy);
  border-bottom: 1px solid rgba(184,144,42,.15);
  padding: 7px 0;
}
.topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 12px;
  color: rgba(255,255,255,.6);
  flex-wrap: wrap;
}
.tb-sep { opacity: .3 }

/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(8,15,26,.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(184,144,42,.18);
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,.4) }

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { display:flex; align-items:center; gap:12px }
.logo-seal {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: grid;
  place-items: center;
  font-family: var(--ff-d);
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}
.logo-seal.sm { width:34px; height:34px; font-size:11px }
.logo-txt { display:flex; flex-direction:column }
.logo-name { font-family:var(--ff-d); font-size:17px; font-weight:700; color:#fff; line-height:1.1 }
.logo-sub  { font-size:10px; color:var(--gold-pale); letter-spacing:.06em }

.nav-links { display:flex; align-items:center; gap:4px }
.nav-links > a, .nav-dropdown > a {
  color: rgba(255,255,255,.76);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 11px;
  border-radius: var(--r);
  transition: .2s;
}
.nav-links > a:hover, .nav-dropdown > a:hover,
.nav-links > a.active { color:#fff; background:rgba(255,255,255,.07) }

.nav-dropdown { position:relative }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--navy-2);
  border: 1px solid rgba(184,144,42,.2);
  border-radius: var(--r);
  min-width: 260px;
  padding: 8px;
  display: none;
  box-shadow: var(--sh3);
}
.nav-dropdown:hover .dropdown-menu { display:block }
.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  color: rgba(255,255,255,.78);
  border-radius: 8px;
  transition: .2s;
}
.dropdown-menu a:hover { background:rgba(255,255,255,.07); color:#fff }

.nav-cta {
  background: var(--gold) !important;
  color: #fff !important;
  padding: 9px 18px !important;
  font-weight: 600 !important;
  margin-left: 8px;
}
.nav-cta:hover { background:var(--gold-2) !important }

.hamburger { display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:4px }
.hamburger span { display:block; width:22px; height:2px; background:#fff; border-radius:2px; transition:.3s }

.mob-menu {
  display: none;
  flex-direction: column;
  background: var(--navy);
  padding: 16px 28px 28px;
  gap: 2px;
  border-top: 1px solid rgba(184,144,42,.15);
}
.mob-menu a { color:rgba(255,255,255,.8); font-size:15px; font-weight:500; padding:12px 0; border-bottom:1px solid rgba(255,255,255,.06) }
.mob-menu .mob-cta { background:var(--gold); color:#fff; text-align:center; padding:14px; border-radius:var(--r); font-weight:600; margin-top:12px; border:none }
.mob-menu.open { display:flex }

/* ══════════════════════════════════════
   HERO (index)
══════════════════════════════════════ */
.hero {
  min-height: 92vh;
  /* Fallback mientras carga el video o si no hay video */
  background:
    radial-gradient(ellipse at 75% 40%, rgba(184,144,42,.07) 0%, transparent 55%),
    linear-gradient(155deg, var(--navy) 0%, var(--navy-2) 50%, #152840 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

/* ── VIDEO DE FONDO ── */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;       /* Cubre todo el hero sin deformarse */
  object-position: center;
  z-index: 0;
  pointer-events: none;
  /* Pequeña transición de opacidad al cargar */
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-video.loaded {
  opacity: 1;
}

/* Overlay: oscurece el video para que el texto sea legible */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    /* Gradiente dorado tenue en esquina superior derecha */
    radial-gradient(ellipse at 80% 20%, rgba(184,144,42,.12) 0%, transparent 50%),
    /* Oscurecimiento principal — ajusta el último valor (0.72) para más/menos oscuridad */
    linear-gradient(
      155deg,
      rgba(8,15,26,.82) 0%,
      rgba(11,20,35,.75) 50%,
      rgba(15,28,48,.80) 100%
    );
  pointer-events: none;
}

/* Líneas de despacho encima del overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(184,144,42,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,144,42,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-inner {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 28px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 3; /* Siempre encima del video y overlay */
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(184,144,42,.12);
  border: 1px solid rgba(184,144,42,.28);
  color: var(--gold-3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.badge-dot { width:6px; height:6px; border-radius:50%; background:var(--gold-2); animation:pulse 2s infinite }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero-h1 {
  font-family: var(--ff-d);
  font-size: clamp(38px, 5.2vw, 68px);
  font-weight: 900;
  color: #fff;
  line-height: 1.06;
  margin-bottom: 22px;
}
.hero-h1 em { font-style:italic; color:var(--gold-2) }

.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,.7);
  max-width: 500px;
  line-height: 1.78;
  margin-bottom: 36px;
}

.hero-btns { display:flex; gap:14px; flex-wrap:wrap; margin-bottom:52px }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hstat { display:flex; flex-direction:column }
.hstat-n { font-family:var(--ff-d); font-size:28px; font-weight:700; color:#fff; line-height:1 }
.hstat-l { font-size:11px; color:rgba(255,255,255,.5); margin-top:3px }
.hstat-sep { width:1px; height:36px; background:rgba(255,255,255,.14) }

/* Sello animado — firma visual del sitio */
.hero-seal-col { display:flex; flex-direction:column; align-items:center; gap:20px }

.seal-orbit {
  position: relative;
  width: 340px;
  height: 340px;
  display: grid;
  place-items: center;
}
.seal-ring-1 {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(184,144,42,.22);
  animation: orbit1 60s linear infinite;
}
.seal-ring-2 {
  position: absolute;
  inset: 24px;
  border-radius: 50%;
  border: 1px solid rgba(184,144,42,.15);
  animation: orbit1 60s linear infinite reverse;
}
@keyframes orbit1 { to { transform:rotate(360deg) } }

.seal-center {
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,144,42,.08) 0%, rgba(184,144,42,.02) 60%, transparent 100%);
  border: 1.5px solid rgba(184,144,42,.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
  z-index: 1;
}
.seal-mono {
  font-family: var(--ff-d);
  font-size: 76px;
  font-weight: 900;
  color: rgba(184,144,42,.65);
  line-height: 1;
}
.seal-year {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  color: rgba(184,144,42,.45);
  text-transform: uppercase;
}
.seal-dots {
  position: absolute;
  inset: -24px;
  border-radius: 50%;
}
.seal-dot {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(184,144,42,.4);
  top: 50%; left: 50%;
  transform-origin: 0 0;
}

.hero-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r2);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: rgba(255,255,255,.78);
  max-width: 300px;
  backdrop-filter: blur(8px);
}

/* ══════════════════════════════════════
   TRUST BAND
══════════════════════════════════════ */
.trust-band {
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-2) 100%);
  padding: 14px 0;
}
.tb-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  justify-content: center;
  gap: 36px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(255,255,255,.95);
  flex-wrap: wrap;
}

/* ══════════════════════════════════════
   SECTIONS — padding base
══════════════════════════════════════ */
section { padding: 88px 0 }

/* ══════════════════════════════════════
   NOSOTROS
══════════════════════════════════════ */
.nos-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.nos-img-wrap { position:relative }
.nos-img-box {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-3) 100%);
  border-radius: var(--r2);
  aspect-ratio: 4/5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,.35);
  font-size: 13px;
  border: 1px solid rgba(184,144,42,.12);
}
.nos-img-icon { font-size: 72px }
.nos-float {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--gold);
  color: #fff;
  border-radius: var(--r2);
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--sh3);
}
.nos-float-n { font-family:var(--ff-d); font-size:48px; font-weight:900; display:block; line-height:1 }
.nos-float-l { font-size:11px; font-weight:500; opacity:.9; line-height:1.4 }
.nos-lead { font-family:var(--ff-i); font-size:20px; font-style:italic; color:var(--navy-3); line-height:1.65; margin-bottom:16px }
.nos-p { color:var(--ink-2); margin-bottom:28px; line-height:1.75 }

.valores {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.val {
  background: var(--marble);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px 14px;
  text-align: center;
  transition: .2s;
}
.val:hover { box-shadow:var(--sh); transform:translateY(-2px) }
.val-i { font-size:28px; margin-bottom:8px }
.val h4 { font-family:var(--ff-d); font-size:14px; font-weight:700; color:var(--navy); margin-bottom:5px }
.val p  { font-size:12px; color:var(--ink-3); line-height:1.55 }

.certs { display:flex; flex-wrap:wrap; gap:10px; margin-top:20px }
.cert {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy-3);
}
.cert-dot { width:7px; height:7px; border-radius:50%; background:var(--gold); flex-shrink:0 }

/* ══════════════════════════════════════
   SERVICIOS
══════════════════════════════════════ */
.srv-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}
.srv-card {
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 34px 26px;
  transition: .22s;
  position: relative;
  overflow: hidden;
  background: var(--white);
}
.srv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--marble-3);
  transition: .22s;
}
.srv-card:hover { transform:translateY(-4px); box-shadow:var(--sh2); border-color:rgba(184,144,42,.25) }
.srv-card:hover::before { background:var(--gold) }
.srv-card.feat { background:var(--navy); border-color:transparent; color:#fff }
.srv-card.feat::before { background:var(--gold) }
.srv-card.feat h3 { color:#fff }
.srv-card.feat p { color:rgba(255,255,255,.7) }
.srv-card.feat .srv-lk { color:var(--gold-3) }
.srv-num { font-size:10px; font-weight:700; letter-spacing:.12em; color:var(--gold-2); margin-bottom:14px }
.srv-icon { font-size:36px; margin-bottom:14px }
.srv-card h3 { font-family:var(--ff-d); font-size:20px; font-weight:700; color:var(--navy); margin-bottom:10px; line-height:1.25 }
.srv-card p  { font-size:13px; color:var(--ink-2); line-height:1.68; margin-bottom:18px }
.srv-lk { font-size:13px; font-weight:600; color:var(--gold); transition:.2s }

/* ══════════════════════════════════════
   PROCESO
══════════════════════════════════════ */
.proc-wrap {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%);
}
.proc-steps {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 32px;
  position: relative;
}
.proc-steps::before {
  content: '';
  position: absolute;
  top: 27px; left: 8%; right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, rgba(184,144,42,.15) 100%);
}
.paso { display:flex; flex-direction:column; align-items:center; text-align:center; position:relative; z-index:1 }
.paso-n {
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--navy);
  color: var(--gold-2);
  font-family: var(--ff-d);
  font-size: 20px;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.paso h3 { font-family:var(--ff-d); font-size:16px; font-weight:700; color:#fff; margin-bottom:10px }
.paso p  { font-size:13px; color:rgba(255,255,255,.6); line-height:1.6 }

/* ══════════════════════════════════════
   ESTADÍSTICAS
══════════════════════════════════════ */
.stats-band {
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-2) 100%);
  padding: 64px 0;
}
.stats-row { display:grid; grid-template-columns:repeat(4,1fr) }
.stat { text-align:center; padding:20px 16px; border-right:1px solid rgba(255,255,255,.2) }
.stat:last-child { border-right:none }
.stat-n   { font-family:var(--ff-d); font-size:54px; font-weight:900; color:#fff; line-height:1 }
.stat-suf { font-size:30px; font-weight:700; color:rgba(255,255,255,.7); vertical-align:super }
.stat-l   { font-size:12px; font-weight:600; color:rgba(255,255,255,.78); text-transform:uppercase; letter-spacing:.07em; margin-top:6px; display:block }

/* ══════════════════════════════════════
   REQUISITOS
══════════════════════════════════════ */
.req-tabs { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:36px; justify-content:center }
.req-tab {
  padding: 9px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  transition: .2s;
  background: var(--white);
}
.req-tab:hover  { border-color:var(--gold); color:var(--gold) }
.req-tab.active { background:var(--gold); border-color:var(--gold); color:#fff }

.req-panel { display:none }
.req-panel.active { display:grid; grid-template-columns:1fr 1fr; gap:28px }

.req-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 32px;
  box-shadow: var(--sh);
}
.req-box h3 { font-family:var(--ff-d); font-size:22px; font-weight:700; color:var(--navy); margin-bottom:6px }
.req-box .sub { font-size:13px; color:var(--ink-3); margin-bottom:20px }
.req-group-title { font-size:11px; font-weight:700; letter-spacing:.1em; color:var(--gold-2); text-transform:uppercase; margin:16px 0 10px }
.req-list { list-style:none; display:flex; flex-direction:column; gap:9px }
.req-list li { display:flex; align-items:flex-start; gap:10px; font-size:14px; color:var(--ink-2); line-height:1.5 }
.req-list li::before { content:'✓'; color:var(--gold-2); font-weight:700; font-size:12px; flex-shrink:0; margin-top:2px }
.req-note { background:var(--gold-bg); border:1px solid rgba(184,144,42,.2); border-radius:var(--r); padding:14px 16px; font-size:13px; color:var(--navy-3); margin-top:18px; line-height:1.6 }
.req-note strong { color:var(--gold-2) }

.req-info { background:var(--navy); border-radius:var(--r2); padding:32px; color:#fff }
.req-info h4 { font-family:var(--ff-d); font-size:18px; font-weight:700; color:var(--gold-3); margin-bottom:14px }
.req-info p  { font-size:14px; color:rgba(255,255,255,.72); line-height:1.68; margin-bottom:20px }
.req-steps { display:flex; flex-direction:column; gap:14px }
.req-step { display:flex; align-items:flex-start; gap:12px }
.rs-n { width:28px; height:28px; border-radius:50%; background:var(--gold); color:#fff; font-size:12px; font-weight:700; display:grid; place-items:center; flex-shrink:0 }
.rs-t { font-size:13px; color:rgba(255,255,255,.78); line-height:1.55 }

/* ══════════════════════════════════════
   ARANCELES
══════════════════════════════════════ */
.aran-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-bottom:32px }
.aran-card {
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 36px 28px;
  text-align: center;
  transition: .22s;
  position: relative;
  background: var(--white);
}
.aran-card:hover { box-shadow:var(--sh2); transform:translateY(-3px) }
.aran-card.popular { background:var(--navy); border-color:transparent; color:#fff }
.aran-pop-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.aran-icon  { font-size:40px; margin-bottom:14px }
.aran-card h3 { font-family:var(--ff-d); font-size:19px; font-weight:700; color:var(--navy); margin-bottom:8px; line-height:1.25 }
.aran-card.popular h3 { color:#fff }
.aran-card p { font-size:13px; color:var(--ink-2); margin-bottom:18px }
.aran-card.popular p { color:rgba(255,255,255,.68) }
.aran-desde { font-size:11px; color:var(--ink-3); margin-bottom:4px }
.aran-card.popular .aran-desde { color:rgba(255,255,255,.5) }
.aran-precio { font-family:var(--ff-d); font-size:40px; font-weight:900; color:var(--gold); line-height:1; margin-bottom:4px }
.aran-nota { font-size:11px; color:var(--ink-3); margin-bottom:22px }
.aran-card.popular .aran-nota { color:rgba(255,255,255,.45) }
.aran-inc { list-style:none; text-align:left; display:flex; flex-direction:column; gap:8px; margin-bottom:24px }
.aran-inc li { display:flex; align-items:flex-start; gap:8px; font-size:13px; color:var(--ink-2); line-height:1.4 }
.aran-card.popular .aran-inc li { color:rgba(255,255,255,.75) }
.aran-inc li::before { content:'✓'; color:var(--gold-2); font-weight:700; font-size:12px; flex-shrink:0 }
.aran-disclaimer {
  background: var(--marble);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 24px 28px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.75;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.aran-disclaimer-icon { font-size:22px; flex-shrink:0; margin-top:2px }

/* ══════════════════════════════════════
   FAQ
══════════════════════════════════════ */
.faq-layout { display:grid; grid-template-columns:260px 1fr; gap:48px; align-items:start }
.faq-cats { display:flex; flex-direction:column; gap:4px; position:sticky; top:120px }
.faq-cat {
  padding: 12px 16px;
  border-radius: var(--r);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  transition: .2s;
  border: 1.5px solid transparent;
  display: flex;
  align-items: center;
  gap: 8px;
}
.faq-cat:hover { background:var(--marble); border-color:var(--border) }
.faq-cat.active { background:var(--navy); color:#fff }
.faq-cat-dot { width:8px; height:8px; border-radius:50%; background:var(--gold); flex-shrink:0 }

.faq-panel { display:none }
.faq-panel.active { display:flex; flex-direction:column; gap:10px }

.faq-item { background:var(--white); border:1px solid var(--border); border-radius:var(--r2); overflow:hidden }
.faq-q {
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: .2s;
  line-height: 1.4;
}
.faq-q:hover { background:var(--marble) }
.faq-q.open  { background:var(--navy); color:#fff }
.faq-chev { font-size:18px; transition:transform .3s; flex-shrink:0 }
.faq-q.open .faq-chev { transform:rotate(180deg) }
.faq-a {
  display: none;
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.75;
  border-top: 1px solid var(--border);
}
.faq-a.show { display:block }
.faq-a strong { color:var(--navy) }

/* ══════════════════════════════════════
   NOTICIAS
══════════════════════════════════════ */
.noticias-grid { display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:22px }
.noticia { border:1px solid var(--border); border-radius:var(--r2); overflow:hidden; transition:.22s; background:var(--white) }
.noticia:hover { box-shadow:var(--sh2); transform:translateY(-3px) }
.not-img {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  position: relative;
}
.not-cat { position:absolute; top:12px; left:12px }
.not-body { padding:22px }
.not-meta { display:flex; gap:10px; font-size:11px; color:var(--ink-3); margin-bottom:10px }
.not-title { font-family:var(--ff-d); font-size:16px; font-weight:700; color:var(--navy); line-height:1.35; margin-bottom:10px }
.noticia.big .not-title { font-size:20px }
.not-excerpt { font-size:13px; color:var(--ink-2); line-height:1.65; margin-bottom:14px }
.not-lk { font-size:13px; font-weight:600; color:var(--gold-2) }

/* Noticia individual */
.noticia-hero { background:linear-gradient(145deg,var(--navy) 0%,var(--navy-3) 100%); padding:80px 0; text-align:center; color:#fff }
.noticia-hero .eyebrow { color:var(--gold-3) }
.noticia-hero h1 { font-family:var(--ff-d); font-size:clamp(26px,4vw,44px); font-weight:700; color:#fff; max-width:720px; margin:0 auto 16px; line-height:1.2 }
.noticia-hero .meta { font-size:13px; color:rgba(255,255,255,.6) }
.noticia-content { max-width:780px; margin:0 auto; padding:60px 28px }
.noticia-content p { font-size:16px; color:var(--ink-2); line-height:1.85; margin-bottom:22px }
.noticia-content h3 { font-family:var(--ff-d); font-size:22px; font-weight:700; color:var(--navy); margin:32px 0 14px }
.noticia-content strong { color:var(--navy) }

/* ══════════════════════════════════════
   TESTIMONIOS
══════════════════════════════════════ */
.test-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px }
.test { background:var(--white); border:1px solid var(--border); border-radius:var(--r2); padding:32px; box-shadow:var(--sh); transition:.2s }
.test:hover { box-shadow:var(--sh2); transform:translateY(-2px) }
.test.feat { background:var(--navy); border-color:transparent }
.test-stars { color:var(--gold); font-size:14px; letter-spacing:2px; margin-bottom:14px }
.test p { font-family:var(--ff-i); font-size:17px; font-style:italic; line-height:1.72; color:var(--ink); margin-bottom:22px }
.test.feat p { color:rgba(255,255,255,.82) }
.test-au { display:flex; align-items:center; gap:10px }
.au-av { width:42px; height:42px; border-radius:50%; background:var(--gold); color:#fff; font-size:12px; font-weight:700; display:grid; place-items:center; flex-shrink:0 }
.au-name { font-size:14px; font-weight:600; color:var(--navy); display:block }
.test.feat .au-name { color:#fff }
.au-svc { font-size:12px; color:var(--ink-3) }
.test.feat .au-svc { color:rgba(255,255,255,.5) }

/* ══════════════════════════════════════
   CONTACTO / FORMULARIO
══════════════════════════════════════ */
.ct-grid { display:grid; grid-template-columns:1fr 1.15fr; gap:64px; align-items:start }
.ct-form {
  background: var(--white);
  border-radius: var(--r2);
  padding: 40px 36px;
  border: 1px solid var(--border);
  box-shadow: var(--sh2);
}
.ct-form h3 { font-family:var(--ff-d); font-size:22px; font-weight:700; color:var(--navy); margin-bottom:24px }
.f-row { display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-bottom:18px }
.f-grp { display:flex; flex-direction:column; gap:6px }
.f-grp.full { margin-bottom:18px }
.f-grp label { font-size:12px; font-weight:700; color:var(--navy); letter-spacing:.03em; text-transform:uppercase }
.f-grp input,.f-grp select,.f-grp textarea {
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 12px 14px;
  font-family: var(--ff-b);
  font-size: 14px;
  color: var(--ink);
  background: var(--marble);
  outline: none;
  transition: .2s;
  width: 100%;
}
.f-grp input:focus,.f-grp select:focus,.f-grp textarea:focus {
  border-color: var(--gold-2);
  box-shadow: 0 0 0 3px rgba(184,144,42,.12);
  background: #fff;
}
.f-grp textarea { resize:vertical; min-height:110px }
.f-note { font-size:11px; color:var(--ink-3); text-align:center; margin-top:10px; line-height:1.6 }

.info-block { display:flex; flex-direction:column; gap:20px }
.info-card { background:var(--marble); border:1px solid var(--border); border-radius:var(--r2); padding:24px }
.info-card h4 { font-family:var(--ff-d); font-size:16px; font-weight:700; color:var(--navy); margin-bottom:14px }
.info-item { display:flex; align-items:flex-start; gap:10px; margin-bottom:10px; font-size:14px; color:var(--ink-2); line-height:1.5 }
.info-item:last-child { margin-bottom:0 }
.info-icon { font-size:16px; flex-shrink:0; margin-top:1px }
.info-item a { color:var(--ink-2); transition:.2s }
.info-item a:hover { color:var(--gold-2) }
.hr-table { width:100%; border-collapse:collapse; font-size:13px }
.hr-table td { padding:6px 0; border-bottom:1px solid var(--border); color:var(--ink-2) }
.hr-table td:last-child { text-align:right; font-weight:600; color:var(--navy) }
.hr-table tr:last-child td { border-bottom:none }

.why-list { list-style:none; display:flex; flex-direction:column; gap:10px; margin-top:12px }
.why-list li { display:flex; gap:10px; font-size:14px; color:rgba(255,255,255,.8) }
.why-list li span:first-child { color:var(--gold-2); font-weight:700; flex-shrink:0 }

/* MAPA */
.map-wrap { border-radius:var(--r2); overflow:hidden; box-shadow:var(--sh2); height:380px; background:var(--marble); display:flex; align-items:center; justify-content:center; border:1px solid var(--border) }
.map-wrap iframe { width:100%; height:100%; border:none }
.map-placeholder { text-align:center; color:var(--ink-3) }
.map-placeholder .mp-icon { font-size:48px; margin-bottom:10px }
.map-placeholder p { font-size:13px; line-height:1.6 }
.map-placeholder a { color:var(--gold-2); font-weight:600 }

/* ══════════════════════════════════════
   PÁGINA HERO (páginas internas)
══════════════════════════════════════ */
.page-hero {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 60%, #152840 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(184,144,42,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,144,42,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero .container { position:relative; z-index:1 }
.page-hero .eyebrow { color:var(--gold-3) }
.page-hero h1 { font-family:var(--ff-d); font-size:clamp(30px,5vw,52px); font-weight:700; color:#fff; margin-bottom:12px; line-height:1.12 }
.page-hero p { font-size:16px; color:rgba(255,255,255,.7); max-width:560px; line-height:1.75 }

.breadcrumb { display:flex; align-items:center; gap:8px; font-size:12px; color:rgba(255,255,255,.5); margin-bottom:20px }
.breadcrumb a { color:rgba(255,255,255,.5); transition:.2s }
.breadcrumb a:hover { color:var(--gold-3) }
.breadcrumb span { opacity:.4 }

/* ══════════════════════════════════════
   WhatsApp / Chat FAB
══════════════════════════════════════ */
.wa-btn {
  position: fixed;
  bottom: 96px;
  right: 28px;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #25D366;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 28px rgba(37,211,102,.45);
  z-index: 300;
  transition: .2s;
}
.wa-btn:hover { transform:scale(1.08) }

.chat-fab {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: var(--shg);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 300;
  transition: .2s;
  border: none;
}
.chat-fab:hover { transform:scale(1.08); background:var(--gold-2) }
.chat-fab-icon { font-size:22px }
.chat-fab-notif {
  position: absolute;
  top: -2px; right: -2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #EF4444;
  border: 2px solid #fff;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  display: grid;
  place-items: center;
}

.chat-box {
  position: fixed;
  bottom: 96px; right: 28px;
  width: 340px;
  background: var(--white);
  border-radius: var(--r2);
  box-shadow: 0 16px 60px rgba(8,15,26,.28);
  z-index: 300;
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
}
.chat-box.open { display:flex; animation:slideUp .22s ease }
@keyframes slideUp { from{opacity:0;transform:translateY(12px)} to{opacity:1;transform:translateY(0)} }

.chat-head { background:var(--navy); padding:14px 16px; display:flex; align-items:center; gap:10px }
.chat-av { width:36px; height:36px; border-radius:50%; background:var(--gold); color:#fff; font-size:12px; font-weight:700; display:grid; place-items:center; flex-shrink:0 }
.chat-agent { font-size:14px; font-weight:600; color:#fff }
.chat-status { font-size:11px; color:rgba(255,255,255,.58); display:flex; align-items:center; gap:4px; margin-top:1px }
.chat-online { width:7px; height:7px; border-radius:50%; background:#22C55E }
.chat-x { background:none; border:none; color:rgba(255,255,255,.5); font-size:16px; cursor:pointer; margin-left:auto; padding:2px; line-height:1 }
.chat-x:hover { color:#fff }

.chat-msgs { flex:1; padding:14px; display:flex; flex-direction:column; gap:8px; max-height:280px; overflow-y:auto; background:var(--marble) }
.chat-msg { display:flex; gap:8px; align-items:flex-end }
.chat-msg.me { flex-direction:row-reverse }
.chat-bubble { max-width:220px; padding:10px 14px; border-radius:16px; font-size:13px; line-height:1.5 }
.chat-bubble.bot { background:var(--white); color:var(--ink); border-bottom-left-radius:4px; border:1px solid var(--border) }
.chat-bubble.me  { background:var(--gold); color:#fff; border-bottom-right-radius:4px }
.chat-opts { display:flex; flex-direction:column; gap:5px; padding:0 14px 8px }
.chat-opt { background:var(--white); border:1.5px solid var(--gold-2); color:var(--gold-2); font-size:12px; font-weight:600; padding:7px 12px; border-radius:100px; cursor:pointer; text-align:left; transition:.2s }
.chat-opt:hover { background:var(--gold); color:#fff; border-color:var(--gold) }
.chat-inp-wrap { padding:10px 12px; border-top:1px solid var(--border); display:flex; gap:8px; align-items:center }
.chat-inp { flex:1; border:1.5px solid var(--border); border-radius:100px; padding:9px 14px; font-size:13px; outline:none; font-family:var(--ff-b); background:var(--marble) }
.chat-inp:focus { border-color:var(--gold) }
.chat-send { width:34px; height:34px; border-radius:50%; background:var(--gold); border:none; color:#fff; font-size:14px; cursor:pointer; display:grid; place-items:center; flex-shrink:0; transition:.2s }
.chat-send:hover { background:var(--gold-2) }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer { background:var(--navy) }
.ft-top { padding:68px 0 48px }
.ft-grid { display:grid; grid-template-columns:1.4fr 1fr 1fr 1.1fr; gap:44px }
.ft-brand .ft-logo { display:flex; align-items:center; gap:10px; margin-bottom:14px }
.ft-logo span { font-family:var(--ff-d); font-size:18px; font-weight:700; color:#fff }
.ft-brand > p { font-size:13px; color:rgba(255,255,255,.55); line-height:1.72; margin-bottom:16px }
.ft-certs { display:flex; flex-direction:column; gap:5px; margin-bottom:16px }
.ft-certs span { font-size:11px; color:rgba(255,255,255,.45); font-weight:500 }
.ft-social { display:flex; gap:8px }
.ft-soc { width:34px; height:34px; border-radius:50%; border:1px solid rgba(255,255,255,.18); display:grid; place-items:center; font-size:12px; font-weight:700; color:rgba(255,255,255,.5); transition:.2s }
.ft-soc:hover { border-color:var(--gold); color:var(--gold) }

.ft-col h4 { font-size:11px; font-weight:700; letter-spacing:.13em; text-transform:uppercase; color:#fff; margin-bottom:18px }
.ft-col ul { list-style:none; display:flex; flex-direction:column; gap:9px }
.ft-col ul li a { font-size:13px; color:rgba(255,255,255,.52); transition:.2s }
.ft-col ul li a:hover { color:var(--gold-3) }
.ft-contact { list-style:none; display:flex; flex-direction:column; gap:9px }
.ft-contact li { font-size:13px; color:rgba(255,255,255,.52); display:flex; gap:8px; align-items:flex-start }
.ft-contact a { color:rgba(255,255,255,.52); transition:.2s }
.ft-contact a:hover { color:var(--gold-3) }

.ft-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 20px 0;
}
.ft-bottom .container { display:flex; justify-content:space-between; align-items:center; font-size:12px; color:rgba(255,255,255,.32) }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns:1fr }
  .hero-seal-col { display:none }
  .nos-grid, .ct-grid { grid-template-columns:1fr; gap:40px }
  .srv-grid { grid-template-columns:repeat(2,1fr) }
  .aran-grid { grid-template-columns:repeat(2,1fr) }
  .noticias-grid { grid-template-columns:1fr 1fr }
  .ft-grid { grid-template-columns:1fr 1fr; gap:32px }
  .stats-row { grid-template-columns:repeat(2,1fr) }
  .stat { border-bottom:1px solid rgba(255,255,255,.12) }
  .proc-steps { grid-template-columns:1fr 1fr; gap:28px }
  .proc-steps::before { display:none }
  .faq-layout { grid-template-columns:1fr }
  .faq-cats { flex-direction:row; flex-wrap:wrap; position:static }
  .req-panel.active { grid-template-columns:1fr }
}

@media (max-width: 768px) {
  .nav-links { display:none }
  .hamburger { display:flex }
  .topbar { display:none }
  .srv-grid, .aran-grid, .noticias-grid, .test-grid { grid-template-columns:1fr }
  .ft-grid { grid-template-columns:1fr }
  .ft-bottom .container { flex-direction:column; gap:6px; text-align:center }
  .hero-stats { flex-wrap:wrap; gap:14px }
  .hstat-sep { display:none }
  .valores { grid-template-columns:1fr }
  .f-row { grid-template-columns:1fr }
  .chat-box { right:16px; width:calc(100vw - 32px) }
  .wa-btn, .chat-fab { right:16px }
  .proc-steps { grid-template-columns:1fr }
  .ct-form { padding:28px 18px }
}

@media (prefers-reduced-motion: reduce) {
  .seal-ring-1, .seal-ring-2 { animation:none }
  * { transition-duration:.01ms !important }
}
