:root {
  --navy: #0B1F45;
  --navy-deep: #06142f;
  --navy-card: #0a1c3d;
  --navy-card-2: #0d244d;
  --gold: #caa45d;
  --gold-light: #e4c98d;
  --gold-deep: #a78346;
  --ivory: #f5f2eb;
  --white: #fff;
  --muted: #d8e0ed;
  --line: rgba(255,255,255,.18);
  --header-h: 86px;
  --shell: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
#top, #servicios, #nosotros, #proceso, #contacto { scroll-margin-top: calc(var(--header-h) + 18px); }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--white);
  background: var(--navy-deep);
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(calc(100% - 56px), var(--shell)); margin-inline: auto; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  height: var(--header-h);
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(to bottom, rgba(5,16,38,.78), rgba(5,16,38,.28));
  backdrop-filter: blur(10px);
  transition: background .3s ease, height .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(6,20,47,.94);
  box-shadow: 0 12px 35px rgba(0,0,0,.16);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; min-width: 236px; }
.brand-logo { display:block; width: 174px; height:auto; object-fit:contain; }
.primary-nav { margin-left: auto; display: flex; align-items: center; gap: 27px; }
.primary-nav a { position: relative; padding: 32px 0 28px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,.82); transition: color .2s ease; }
.primary-nav a::after { content:""; position:absolute; left:0; bottom:24px; width:0; height:1px; background:var(--gold-light); transition: width .24s ease; }
.primary-nav a:hover, .primary-nav a.active { color:#fff; }
.primary-nav a:hover::after, .primary-nav a.active::after { width:100%; }
.header-cta {
  border: 1px solid rgba(228,201,141,.72); padding: 13px 18px; border-radius: 2px;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.header-cta:hover { background: var(--gold-light); color: var(--navy-deep); transform: translateY(-1px); }
.nav-toggle { display:none; margin-left:auto; width:42px; height:42px; border:0; background:transparent; padding:9px; }
.nav-toggle span { display:block; height:1.5px; margin:6px 0; background:#fff; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  isolation: isolate;
  background: #06142f;
}
.hero-video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center center; z-index:-5; }
.hero-overlay {
  position:absolute; inset:0; z-index:-4;
  background: linear-gradient(90deg,
    rgba(6,20,47,.88) 0%,
    rgba(11,31,69,.78) 31%,
    rgba(11,31,69,.50) 58%,
    rgba(11,31,69,.25) 100%);
}
.hero-vignette { position:absolute; inset:0; z-index:-3; background: linear-gradient(to bottom, rgba(0,0,0,.12), transparent 35%, rgba(0,0,0,.18)); }
.hero-inner { padding-top: calc(var(--header-h) + 46px); padding-bottom: 80px; }
.hero-copy { width:min(680px, 58vw); animation: heroIn .9s cubic-bezier(.2,.7,.2,1) both; }
h1 { margin:0; max-width: 670px; font: 600 clamp(48px, 5.3vw, 78px)/1.04 "Playfair Display", Georgia, serif; letter-spacing:-.035em; text-wrap:balance; }
h1 em { color:var(--gold-light); font-style:normal; }
.hero-lead { max-width:640px; margin:27px 0 31px; font-size:clamp(16px,1.25vw,19px); line-height:1.7; color:rgba(255,255,255,.94); }
.hero-actions { display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.btn { min-height:54px; display:inline-flex; align-items:center; justify-content:center; gap:10px; padding:0 24px; border-radius:2px; font-size:11px; font-weight:700; letter-spacing:.09em; text-transform:uppercase; transition:transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease; }
.btn:hover { transform:translateY(-2px); }
.btn-primary { background:var(--gold); color:#071731; box-shadow:0 12px 35px rgba(0,0,0,.18); }
.btn-primary:hover { background:var(--gold-light); }
.btn-primary svg { width:18px; height:18px; fill:currentColor; }
.btn-ghost { border:1px solid rgba(255,255,255,.48); color:#fff; }
.btn-ghost:hover { border-color:#fff; background:rgba(255,255,255,.08); }
.btn-ghost span { color:var(--gold-light); font-size:16px; transform:translateY(-1px); }
.hero-disclaimer { margin:21px 0 0; font-size:11px; line-height:1.55; color:rgba(255,255,255,.76); font-style:italic; }
.hero-scroll { position:absolute; right:44px; bottom:30px; display:flex; flex-direction:column; align-items:center; gap:11px; color:rgba(255,255,255,.58); font-size:8px; letter-spacing:.22em; text-transform:uppercase; writing-mode:vertical-rl; }
.hero-scroll i { width:1px; height:46px; background:linear-gradient(var(--gold-light), transparent); }

.services-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, #f8f6f1 0%, #f1eee7 100%);
  color: var(--navy);
  padding: 118px 0 132px;
}
.services-section::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:-3;
  background-image:
    linear-gradient(rgba(11,31,69,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,31,69,.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.65), transparent 75%);
  pointer-events:none;
}
.services-ambient {
  position:absolute;
  width:500px;
  aspect-ratio:1;
  border-radius:50%;
  filter:blur(95px);
  opacity:.12;
  z-index:-2;
  pointer-events:none;
}
.services-ambient-one { background:var(--gold); top:120px; left:-260px; }
.services-ambient-two { background:#8aa0c5; right:-320px; bottom:-170px; }
.services-shell { position:relative; }
.section-heading { max-width:760px; margin:0 auto 60px; text-align:center; }
.section-kicker {
  display:inline-flex;
  align-items:center;
  gap:12px;
  color:var(--gold-deep);
  font-size:11px;
  font-weight:700;
  letter-spacing:.2em;
  text-transform:uppercase;
}
.section-kicker::before,
.section-kicker::after {
  content:"";
  width:28px;
  height:1px;
  background:rgba(167,131,70,.55);
}
.section-heading h2 {
  margin:18px auto 16px;
  font:600 clamp(38px,4vw,58px)/1.07 "Playfair Display", Georgia, serif;
  letter-spacing:-.028em;
  color:var(--navy);
}
.section-heading p {
  margin:0 auto;
  max-width:650px;
  color:#647087;
  font-size:16px;
  line-height:1.75;
}

.services-grid {
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:24px;
  align-items:stretch;
}
.service-card {
  position:relative;
  min-height:330px;
  padding:38px 34px 34px;
  border:1px solid rgba(228,201,141,.18);
  border-radius:8px;
  color:#fff;
  background:
    radial-gradient(circle at 15% 0%, rgba(255,255,255,.055), transparent 34%),
    linear-gradient(150deg, var(--navy-card-2), var(--navy-deep) 72%);
  box-shadow:0 16px 34px rgba(5,18,43,.12);
  transform:translateY(0) scale(1);
  transition:transform .38s cubic-bezier(.2,.75,.2,1), border-color .38s ease, box-shadow .38s ease, background .38s ease;
  isolation:isolate;
  overflow:visible;
}
.service-card::before {
  content:"";
  position:absolute;
  z-index:-1;
  inset:-10px;
  border-radius:14px;
  border:1px solid rgba(218,178,103,0);
  box-shadow:
    0 0 0 rgba(218,178,103,0),
    0 0 0 rgba(218,178,103,0),
    0 0 0 rgba(218,178,103,0);
  opacity:0;
  transition:opacity .34s ease, border-color .34s ease, box-shadow .34s ease;
  pointer-events:none;
}
.service-card::after {
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  z-index:-1;
  background:linear-gradient(125deg, rgba(255,255,255,.05), transparent 30%, rgba(228,201,141,.045));
  pointer-events:none;
}
.service-card:hover {
  transform:translateY(-10px) scale(1.03);
  z-index:4;
  border-color:rgba(228,201,141,.52);
  background:
    radial-gradient(circle at 15% 0%, rgba(255,255,255,.075), transparent 35%),
    linear-gradient(150deg, #102957, #071731 74%);
  box-shadow:
    0 28px 62px rgba(5,18,43,.28),
    0 0 0 1px rgba(218,178,103,.18);
}
.service-card:hover::before {
  opacity:1;
  border-color:rgba(218,178,103,.62);
  box-shadow:
    0 0 18px 2px rgba(218,178,103,.42),
    0 0 38px 8px rgba(218,178,103,.24),
    0 0 72px 18px rgba(218,178,103,.12);
}
.service-icon {
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  margin-bottom:31px;
  border:1px solid rgba(228,201,141,.38);
  border-radius:50%;
  background:rgba(228,201,141,.055);
  box-shadow:inset 0 0 18px rgba(202,164,93,.03);
  transition:background .35s ease, border-color .35s ease, box-shadow .35s ease, transform .35s ease;
}
.service-card:hover .service-icon {
  background:rgba(228,201,141,.11);
  border-color:rgba(228,201,141,.72);
  box-shadow:0 0 30px rgba(202,164,93,.10), inset 0 0 18px rgba(202,164,93,.08);
  transform:translateY(-2px);
}
.service-icon svg {
  width:30px;
  height:30px;
  fill:none;
  stroke:var(--gold-light);
  stroke-width:1.55;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.service-card h3 {
  margin:0 0 16px;
  color:#fff;
  font:600 26px/1.12 "Playfair Display", Georgia, serif;
  letter-spacing:-.018em;
}
.service-card p {
  margin:0;
  color:rgba(226,233,244,.78);
  font-size:14px;
  line-height:1.72;
  transition:color .3s ease;
}
.service-card:hover p { color:rgba(244,247,251,.90); }
.service-card-other::after {
  background:linear-gradient(125deg, rgba(228,201,141,.075), transparent 30%, rgba(228,201,141,.055));
}

.reveal {
  opacity:0;
  transform:translateY(22px);
  transition:opacity .72s ease var(--delay, 0ms), transform .72s cubic-bezier(.2,.7,.2,1) var(--delay, 0ms);
}
.reveal.visible { opacity:1; transform:none; }

.next-section { min-height:46vh; background:#071731; color:#fff; padding:110px 0; }
.next-section .shell { max-width:900px; text-align:center; }
.next-section .section-kicker { color:var(--gold-light); }
.next-section h2 { margin:18px auto 16px; font:600 clamp(34px,4vw,54px)/1.08 "Playfair Display",serif; }
.next-section p { color:#aab6ca; line-height:1.7; }

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

@media (max-width: 1050px) {
  .primary-nav { gap:18px; }
  .primary-nav a { font-size:12px; }
  .header-cta { display:none; }
  .hero-copy { width:min(720px, 70vw); }
  .services-grid { grid-template-columns:repeat(2, minmax(0,1fr)); }
}

@media (max-width: 820px) {
  :root { --header-h: 74px; }
  .shell { width:min(calc(100% - 34px), var(--shell)); }
  .brand { min-width:0; }
  .brand-logo { width: 150px; }
  .nav-toggle { display:block; }
  .primary-nav {
    position:fixed; inset:var(--header-h) 0 auto; margin:0; padding:24px 22px 30px;
    flex-direction:column; align-items:stretch; gap:0; background:rgba(6,20,47,.98);
    transform:translateY(-130%); opacity:0; pointer-events:none; transition:.28s ease;
  }
  .primary-nav.open { transform:none; opacity:1; pointer-events:auto; }
  .primary-nav a { padding:15px 0; border-bottom:1px solid rgba(255,255,255,.09); }
  .primary-nav a::after { display:none; }
  .hero { min-height: 760px; }
  .hero-video { object-position: 58% center; }
  .hero-overlay { background:linear-gradient(90deg, rgba(6,20,47,.94), rgba(11,31,69,.78) 70%, rgba(11,31,69,.58)); }
  .hero-copy { width:100%; max-width:620px; }
  h1 { font-size:clamp(44px, 11vw, 64px); }
  .hero-scroll { display:none; }
  .services-section { padding:92px 0 102px; }
  .section-heading { margin-bottom:46px; }
}

@media (max-width: 620px) {
  .services-grid { grid-template-columns:1fr; gap:17px; }
  .service-card { min-height:0; padding:30px 27px 29px; }
  .service-icon { width:52px; height:52px; margin-bottom:25px; }
  .service-card h3 { font-size:24px; }
}

@media (max-width: 520px) {
  .hero-inner { padding-top:calc(var(--header-h) + 52px); padding-bottom:52px; }
  .hero { min-height: 720px; }
  .hero-video { object-position:65% center; }
  h1 { font-size:clamp(40px, 12vw, 54px); }
  .hero-lead { font-size:15px; line-height:1.65; margin-top:22px; }
  .hero-actions { align-items:stretch; }
  .btn { width:100%; }
  .hero-disclaimer { font-size:10px; }
  .services-section { padding:80px 0 90px; }
  .section-heading h2 { font-size:clamp(36px,10vw,48px); }
  .section-heading p { font-size:15px; }
}

@media (hover: none) {
  .service-card:hover {
    transform:none;
    border-color:rgba(228,201,141,.18);
    box-shadow:0 16px 34px rgba(5,18,43,.12);
  }
  .service-card:hover .service-icon { transform:none; }
  .service-card:hover::before { opacity:0; border-color:transparent; box-shadow:none; }
}


/* V1.6 — Servicios: especificaciones aprobadas 2026-09-02 */
/* Tarjetas: mismo tamaño/proporción, azul oscuro sólido, sin degradado interior. */
.service-card {
  position: relative;
  min-height: 330px;
  padding: 38px 34px 34px;
  display: flex;
  flex-direction: column;
  overflow: visible;
  isolation: isolate;
  cursor: pointer;
  color: #fff;
  background: #0d244d;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(5,18,43,.12);
  transform: scale(1);
  transition: all .38s cubic-bezier(.22,.61,.36,1);
  z-index: 1;
}

/* Halo/reflejo exterior uniforme #2e8eff, sin degradado y sin tocar el fondo interior. */
.service-card::before {
  content: "";
  position: absolute;
  inset: -4px;
  z-index: -1;
  border-radius: 11px;
  background-color: rgba(46,142,255,.20);
  box-shadow: 0 0 0 rgba(46,142,255,0);
  opacity: 0;
  transition: .3s ease;
  pointer-events: none;
}
.service-card::after { content:none; }

.service-card:hover,
.service-card:focus-within {
  transform: scale(1.1);
  z-index: 10;
  background: #0d244d;
  border-color: rgba(255,255,255,.12);
  box-shadow: 2px 4px 8px hsla(0,0%,0%,.295);
  outline: none;
}
.service-card:hover::before,
.service-card:focus-within::before {
  opacity: 1;
  background-color: rgba(46,142,255,.70);
  box-shadow: 0 0 10px rgba(46,142,255,.50);
}

/* Icono: azul sólido algo más oscuro que la tarjeta + borde dorado sólido. */
.service-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 31px;
  border: 1px solid #caa45d;
  border-radius: 50%;
  background: #081a39;
  box-shadow: none;
  transform: scale(1);
  transition: all .38s cubic-bezier(.22,.61,.36,1);
}
.service-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: #e4c98d;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card:hover .service-icon,
.service-card:focus-within .service-icon {
  transform: scale(1.1);
  background: #081a39;
  border-color: #caa45d;
  box-shadow: none;
}

/* Título: línea BLANCA que crece desde 0 hasta 3rem, con el timing original de portseif. */
.service-card h3 {
  margin: 0 0 16px;
  color: #fff;
  font: 600 26px/1.12 "Playfair Display", Georgia, serif;
  letter-spacing: -.018em;
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.service-card h3::before {
  content: "";
  display: inline-block;
  height: 1px;
  margin-right: 10px;
  width: 0;
  flex: 0 0 auto;
  background-color: #fff;
  transition: all .42s cubic-bezier(.25,.8,.25,1);
}
.service-card:hover h3::before,
.service-card:focus-within h3::before {
  width: 3rem;
}

.service-card p {
  margin: 0 0 22px;
  color: rgba(226,233,244,.78);
  font-size: 14px;
  line-height: 1.72;
}
.service-card:hover p,
.service-card:focus-within p { color: rgba(226,233,244,.78); }
.service-card-other::after { content:none; }

/* “Conocer más”: efecto cssbuttons-io adaptado a OMEIN.
   Cambio V2.6: colores OMEIN + timing/easing original exacto de cssbuttons-io para una transición fluida y sincronizada. */
.learn-more {
  position: relative;
  display: inline-block;
  width: 8.8rem;
  height: 2.25rem;
  margin-top: auto;
  cursor: pointer;
  outline: none;
  border: 0;
  vertical-align: middle;
  text-decoration: none;
  background: transparent;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
  align-self: flex-start;
  overflow: visible;
}
.learn-circle {
  transition: all .45s cubic-bezier(.65,0,.076,1);
  position: relative;
  display: block;
  margin: 0;
  width: 2.25rem;
  height: 2.25rem;
  background: var(--gold);
  border-radius: 1.625rem;
}
.learn-arrow {
  transition: all .45s cubic-bezier(.65,0,.076,1);
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  left: .48rem;
  width: .92rem;
  height: .11rem;
  background: none;
}
.learn-arrow::before {
  position: absolute;
  content: "";
  top: -.235rem;
  right: .04rem;
  width: .50rem;
  height: .50rem;
  border-top: .11rem solid var(--navy);
  border-right: .11rem solid var(--navy);
  transform: rotate(45deg);
}
.learn-arrow::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: .11rem;
  background: var(--navy);
  opacity: 0;
  transition: all .45s cubic-bezier(.65,0,.076,1);
}
.learn-text {
  transition: all .45s cubic-bezier(.65,0,.076,1);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: .53rem 0;
  margin: 0 0 0 1.38rem;
  color: rgba(239,243,249,.82);
  font-weight: 700;
  font-size: .66rem;
  line-height: 1.7;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}
.learn-more:hover .learn-circle,
.learn-more:focus-visible .learn-circle { width: 100%; }
.learn-more:hover .learn-arrow,
.learn-more:focus-visible .learn-arrow {
  transform: translate(.75rem,0);
}
.learn-more:hover .learn-arrow::after,
.learn-more:focus-visible .learn-arrow::after { opacity: 1; }
.learn-more:hover .learn-text,
.learn-more:focus-visible .learn-text { color: var(--navy); }

/* Sin shine, glow ni efectos extras en esta prueba. */
.learn-more::after { content:none; }

@media (max-width: 620px) {
  .service-card { min-height: 0; padding: 30px 27px 29px; }
  .service-icon { width:52px; height:52px; margin-bottom:25px; }
  .service-card h3 { font-size:24px; white-space:normal; }
}

/* En dispositivos sin hover no se fuerza la escala 1.1. */
@media (hover: none) {
  .service-card:hover,
  .service-card:focus-within {
    transform: none;
    background: #0d244d;
    box-shadow: 0 16px 34px rgba(5,18,43,.12);
  }
  .service-card:hover::before,
  .service-card:focus-within::before { opacity:0; box-shadow:none; }
  .service-card:hover .service-icon,
  .service-card:focus-within .service-icon { transform:none; }
  .service-card:hover h3::before,
  .service-card:focus-within h3::before { width:0; }
}

/* =========================================================
   V1.9 TEST — CAMBIO 1 SOLAMENTE
   Único efecto de hover aprobado: crecimiento de la tarjeta.
   Mecánica Uiverse (milegelu): scale(1.03) + easing exacto.
   ========================================================= */
.service-card {
  transform: scale(1) !important;
  transition: all 0.38s cubic-bezier(0.22, 0.61, 0.36, 1) !important;
}
.service-card:hover,
.service-card:focus-within {
  transform: scale(1.03) !important;
  background: #10284f !important;
  border-color: rgba(255,255,255,.08) !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
/* Desactivar todos los demás efectos experimentales mientras probamos Cambio 1 */
.service-card::before,
.service-card::after {
  opacity: 0 !important;
  box-shadow: none !important;
  border-color: transparent !important;
  background: transparent !important;
  content: none !important;
}
.service-card .service-icon,
.service-card:hover .service-icon,
.service-card:focus-within .service-icon {
  transform: none !important;
}
.service-card h3::before,
.service-card:hover h3::before,
.service-card:focus-within h3::before {
  width: 0 !important;
  margin-right: 0 !important;
  content: none !important;
}
.service-card p,
.service-card:hover p,
.service-card:focus-within p {
  color: rgba(226,233,244,.78) !important;
}

/* =========================================================
   V2.7 — ÚNICO CAMBIO: tarjeta ligeramente más oscura
   Mantener intactos crecimiento y Conocer más aprobados.
   ========================================================= */
.service-card,
.service-card:hover,
.service-card:focus-within {
  background: #0A1D3F !important;
}

/* =========================================================
   V2.8 — ÚNICO CAMBIO: efecto azul uniforme en los iconos
   Basado en Uiverse reglobby, sin degradado ni dirección.
   Se activa al hacer hover/focus en la tarjeta completa.
   Mantener intactos fondo, borde dorado y demás estilos del icono.
   ========================================================= */
.service-icon {
  transition: box-shadow 0.3s ease !important;
}
.service-card:hover .service-icon,
.service-card:focus-within .service-icon {
  transform: none !important;
  background: #081a39 !important;
  border-color: #caa45d !important;
  box-shadow:
    0 0 0 2px rgba(46, 142, 255, 0.70),
    0 0 10px rgba(46, 142, 255, 0.50) !important;
}

/* =========================================================
   V2.9 — ÚNICO CAMBIO: subrayado suave en títulos
   Basado en Uiverse WhiteNervosa.
   Se activa con hover/focus de la tarjeta completa.
   ========================================================= */
.service-card h3 {
  position: relative !important;
  display: inline-block !important;
  align-self: flex-start !important;
}
.service-card h3::after {
  content: "" !important;
  pointer-events: none !important;
  position: absolute !important;
  bottom: -2px !important;
  left: 50% !important;
  width: 0% !important;
  height: 2px !important;
  background-color: #fff !important;
  transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  transition-duration: 400ms !important;
  transition-property: width, left !important;
}
.service-card:hover h3::after,
.service-card:focus-within h3::after {
  width: 100% !important;
  left: 0% !important;
}

/* =========================================================
   V3.0 — NOSOTROS
   Nueva sección añadida sobre la base V2.9 aprobada.
   Header, Hero y Servicios permanecen intactos.
   ========================================================= */
.about-section {
  position: relative;
  overflow: hidden;
  background: #fbfaf7;
  color: var(--navy);
  padding: 118px 0 124px;
}
.about-section::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -220px;
  top: -170px;
  border-radius: 50%;
  background: rgba(202,164,93,.08);
  filter: blur(80px);
  pointer-events: none;
}
.about-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  gap: clamp(58px, 6vw, 92px);
  align-items: center;
}
.about-media {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(6,20,47,.16);
  background: var(--navy-deep);
}
.about-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(202,164,93,.32);
  border-radius: inherit;
  pointer-events: none;
}
.about-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}
.about-copy { max-width: 620px; }
.about-kicker::before { width: 28px; }
.about-kicker::after { display: none; }
.about-copy h2 {
  margin: 18px 0 24px;
  max-width: 590px;
  color: var(--navy);
  font: 600 clamp(38px, 3.6vw, 56px)/1.08 "Playfair Display", Georgia, serif;
  letter-spacing: -.028em;
}
.about-copy > p {
  margin: 0 0 17px;
  color: #59667b;
  font-size: 15px;
  line-height: 1.78;
}
.about-features {
  margin-top: 34px;
  display: grid;
  gap: 0;
}
.about-feature {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid rgba(11,31,69,.10);
}
.about-feature:last-child { border-bottom: 1px solid rgba(11,31,69,.10); }
.about-feature-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  border: 1px solid rgba(202,164,93,.75);
}
.about-feature-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: var(--gold-light);
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.about-feature h3 {
  margin: 0 0 5px;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.3;
  font-weight: 700;
}
.about-feature p {
  margin: 0;
  color: #687489;
  font-size: 13px;
  line-height: 1.58;
}

@media (max-width: 900px) {
  .about-section { padding: 94px 0 100px; }
  .about-grid { grid-template-columns: 1fr; gap: 52px; }
  .about-media { width: min(100%, 720px); margin-inline: auto; }
  .about-copy { max-width: 720px; margin-inline: auto; }
}
@media (max-width: 620px) {
  .about-section { padding: 80px 0 86px; }
  .about-grid { gap: 40px; }
  .about-media { border-radius: 9px; }
  .about-video { aspect-ratio: 4 / 3; }
  .about-copy h2 { font-size: clamp(35px, 10vw, 46px); margin-bottom: 20px; }
  .about-copy > p { font-size: 14px; line-height: 1.72; }
  .about-features { margin-top: 27px; }
  .about-feature { grid-template-columns: 48px 1fr; gap: 15px; padding: 16px 0; }
  .about-feature-icon { width: 46px; height: 46px; }
  .about-feature-icon svg { width: 24px; height: 24px; }
}

/* V3.1 — NOSOTROS: hover sutil aprobado únicamente en los iconos */
.about-feature-icon {
  transition: transform 0.45s ease, box-shadow 0.45s ease;
  transform: scale(1);
  will-change: transform, box-shadow;
}
.about-feature:hover .about-feature-icon,
.about-feature:focus-within .about-feature-icon {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(202, 164, 93, 0.28);
}

/* =========================================================
   V3.2 — NOSOTROS: mismo hover azul aprobado de iconos SERVICIOS
   Se activa al pasar el mouse por todo el atributo.
   ========================================================= */
.about-feature-icon {
  transition: box-shadow 0.3s ease !important;
  transform: none !important;
}
.about-feature:hover .about-feature-icon,
.about-feature:focus-within .about-feature-icon {
  transform: none !important;
  background: #0B1F45 !important;
  border-color: #caa45d !important;
  box-shadow:
    0 0 0 2px rgba(46, 142, 255, 0.70),
    0 0 10px rgba(46, 142, 255, 0.50) !important;
}

/* =========================================================
   V3.3 — NOSOTROS: conserva halo V3.2 + crecimiento del icono
   Único cambio sobre V3.2: scale(1.05) con transición suave.
   ========================================================= */
.about-feature-icon {
  transform: scale(1) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  transform-origin: center center;
  will-change: transform, box-shadow;
}
.about-feature:hover .about-feature-icon,
.about-feature:focus-within .about-feature-icon {
  transform: scale(1.05) !important;
}


/* =========================================================
   V3.4 — NOSOTROS: halo aprobado + crecimiento REAL visible
   Corrección: el ajuste de accesibilidad del sistema estaba anulando
   el transform en hover. Esta regla final preserva el halo V3.2 y
   garantiza el crecimiento del icono al pasar por cada atributo.
   ========================================================= */
.about-feature-icon {
  transform: scale(1) !important;
  transform-origin: center center !important;
  transition: transform 0.30s ease, box-shadow 0.30s ease !important;
  will-change: transform, box-shadow;
}
.about-feature:hover .about-feature-icon,
.about-feature:focus-within .about-feature-icon {
  transform: scale(1.08) !important;
  background: #0B1F45 !important;
  border-color: #caa45d !important;
  box-shadow:
    0 0 0 2px rgba(46, 142, 255, 0.70),
    0 0 10px rgba(46, 142, 255, 0.50) !important;
}

/* =========================================================
   V3.5 — CÓMO FUNCIONA
   Nueva sección sobre la base V3.4 aprobada.
   No modifica Header, Hero, Servicios ni Nosotros.
   ========================================================= */
.process-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #06142f;
  color: #fff;
  padding: 116px 0 126px;
}
.process-ambient {
  position: absolute;
  width: 440px;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .10;
  z-index: -1;
  pointer-events: none;
}
.process-ambient-one { background: var(--gold); left: -260px; top: -120px; }
.process-ambient-two { background: #2e8eff; right: -300px; bottom: -220px; opacity: .08; }
.process-shell { position: relative; }
.process-heading { text-align: center; margin: 0 auto 72px; }
.process-kicker { color: var(--gold-light); }
.process-kicker::before,
.process-kicker::after { background: rgba(228,201,141,.50); }
.process-heading h2 {
  margin: 18px auto 0;
  color: #fff;
  font: 600 clamp(38px,4vw,58px)/1.07 "Playfair Display", Georgia, serif;
  letter-spacing: -.028em;
}
.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
}
.process-track::before {
  content: "";
  position: absolute;
  top: 37px;
  left: calc(12.5% + 37px);
  right: calc(12.5% + 37px);
  height: 1px;
  background: linear-gradient(90deg, rgba(202,164,93,.30), rgba(228,201,141,.78), rgba(202,164,93,.30));
  z-index: 0;
}
.process-step { position: relative; z-index: 1; text-align: center; }
.process-marker {
  width: 76px;
  height: 76px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: #0B1F45;
  box-shadow: 0 0 0 8px #06142f;
  transform: scale(1);
  transform-origin: center center;
  transition: transform .30s ease, box-shadow .30s ease;
  will-change: transform, box-shadow;
}
.process-icon { width: 38px; height: 38px; display: grid; place-items: center; }
.process-icon svg {
  width: 100%; height: 100%;
  fill: none;
  stroke: var(--gold-light);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.process-step:hover .process-marker,
.process-step:focus-within .process-marker {
  transform: scale(1.08);
  box-shadow: 0 0 0 8px #06142f, 0 0 0 10px rgba(46,142,255,.70), 0 0 18px rgba(46,142,255,.50);
}
.process-number {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
}
.process-step h3 {
  margin: 0 auto 12px;
  color: #fff;
  font: 600 20px/1.25 "Playfair Display", Georgia, serif;
}
.process-step p {
  margin: 0 auto;
  max-width: 260px;
  color: rgba(216,224,237,.78);
  font-size: 14px;
  line-height: 1.72;
}
@media (max-width: 900px) {
  .process-track { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 58px 44px; }
  .process-track::before { display: none; }
}
@media (max-width: 620px) {
  .process-section { padding: 88px 0 94px; }
  .process-heading { margin-bottom: 52px; }
  .process-track { grid-template-columns: 1fr; gap: 0; padding-left: 4px; }
  .process-step {
    min-height: 154px;
    padding: 0 0 34px 92px;
    text-align: left;
  }
  .process-step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 37px;
    top: 76px;
    bottom: 0;
    width: 1px;
    background: rgba(202,164,93,.42);
  }
  .process-marker { position: absolute; left: 0; top: 0; margin: 0; width: 74px; height: 74px; box-shadow: 0 0 0 7px #06142f; }
  .process-step:hover .process-marker,
  .process-step:focus-within .process-marker { box-shadow: 0 0 0 7px #06142f, 0 0 0 9px rgba(46,142,255,.70), 0 0 16px rgba(46,142,255,.50); }
  .process-number { padding-top: 3px; }
  .process-step h3 { margin-left: 0; }
  .process-step p { margin-left: 0; max-width: 420px; }
}

/* =========================================================
   V3.7 — CONTACTO
   WhatsApp W1 suavizado + redes aadium adaptadas a OMEIN
   Regla de oro: todas las animaciones son suaves y fluidas.
   ========================================================= */
.contact-section {
  position: relative;
  overflow: hidden;
  padding: 108px 0 112px;
  background: #f7f3eb;
  color: var(--navy);
}
.contact-glow { position:absolute; border-radius:50%; pointer-events:none; filter:blur(2px); }
.contact-glow-one { width:360px; height:360px; right:-170px; top:-170px; background:radial-gradient(circle,rgba(202,164,93,.12),rgba(202,164,93,0) 70%); }
.contact-glow-two { width:300px; height:300px; left:-150px; bottom:-160px; background:radial-gradient(circle,rgba(11,31,69,.07),rgba(11,31,69,0) 70%); }
.contact-shell { position:relative; z-index:1; max-width:900px; text-align:center; }
.contact-kicker { color:#6f551a; }
.contact-section h2 { margin:13px 0 16px; color:var(--navy); font:600 clamp(34px,4.4vw,54px)/1.08 "Playfair Display",Georgia,serif; }
.contact-lead { max-width:650px; margin:0 auto; color:#526078; font-size:17px; line-height:1.75; }
.contact-actions { display:flex; flex-direction:column; align-items:center; gap:16px; margin-top:38px; }
.whatsapp-cta {
  position:relative; display:flex; align-items:center; justify-content:center;
  width:min(100%,270px); min-height:54px; padding:0 28px;
  border:1px solid #25D366; border-radius:12px; background:#fff;
  color:#1eae55; text-decoration:none; font-size:15px; font-weight:700;
  box-shadow:0 8px 24px rgba(11,31,69,.08); overflow:hidden;
  transition:background-color .85s cubic-bezier(.22,.61,.36,1),
             color .85s cubic-bezier(.22,.61,.36,1),
             box-shadow .85s cubic-bezier(.22,.61,.36,1);
}
.whatsapp-cta span {
  position:relative; transform:translateX(0); color:#137a3a;
  transition:transform .85s cubic-bezier(.22,.61,.36,1),
             color .85s cubic-bezier(.22,.61,.36,1);
}
.whatsapp-cta svg {
  position:absolute; right:24px; width:23px; height:23px; fill:#fff;
  opacity:0; transform:translateX(7px);
  transition:opacity .85s cubic-bezier(.22,.61,.36,1),
             transform .85s cubic-bezier(.22,.61,.36,1);
}
.whatsapp-cta:hover,.whatsapp-cta:focus-visible {
  background:#25D366; color:#fff; box-shadow:0 10px 26px rgba(37,211,102,.18);
}
.whatsapp-cta:hover span,.whatsapp-cta:focus-visible span { transform:translateX(-13px); color:#fff; }
.whatsapp-cta:hover svg,.whatsapp-cta:focus-visible svg { opacity:1; transform:translateX(0); }
.email-cta {
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  min-height:43px; padding:0 18px; border:1px solid rgba(11,31,69,.16); border-radius:10px;
  background:rgba(255,255,255,.58); color:#263956; text-decoration:none; font-size:13px; font-weight:600;
  transition:border-color .45s ease,background-color .45s ease,transform .45s ease,box-shadow .45s ease;
}
.email-cta svg { width:18px; height:18px; fill:none; stroke:var(--gold); stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.email-cta:hover,.email-cta:focus-visible { transform:translateY(-1px); border-color:rgba(202,164,93,.7); background:#fff; box-shadow:0 8px 20px rgba(11,31,69,.08); }
.contact-meta { margin:24px 0 0; color:#718096; font-size:12px; font-weight:600; letter-spacing:.06em; }
.contact-meta span { padding:0 8px; color:var(--gold); }
.social-area { margin-top:42px; padding-bottom:34px; }
.social-label { margin:0 0 18px; color:#33445e; font-size:12px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; }
.social-buttons {
  list-style:none; margin:0 auto; padding:15px 10px; width:max-content; max-width:100%;
  display:flex; justify-content:center; align-items:center;
  border-radius:5em; background:#f2f2f2;
  box-shadow:0 0 15px #00000027;
}
.social-item { position:relative; margin:0 8px; padding:0; }
.social-link {
  width:50px; height:50px; display:flex; justify-content:center; align-items:center; border-radius:50%;
  color:#f2f2f2; text-decoration:none; box-shadow:0 0 4px #00000027;
  transition:background-color .8s cubic-bezier(.22,.61,.36,1),
             color .8s cubic-bezier(.22,.61,.36,1),
             box-shadow .8s cubic-bezier(.22,.61,.36,1);
}
.social-link svg {
  width:23px; height:23px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round;
  transition:fill .8s cubic-bezier(.22,.61,.36,1),
             stroke .8s cubic-bezier(.22,.61,.36,1),
             color .8s cubic-bezier(.22,.61,.36,1);
}
.social-link .social-fill,.social-link .solid-dot { fill:currentColor; stroke:none; }
.social-link .social-stroke { fill:none; stroke:currentColor; }
.social-link.instagram { background-color:#c13584; }
.social-link.facebook { background-color:#3b5998; }
.social-link.tiktok { background-color:#111; }
.social-link.youtube { background-color:#ff0000; }
.social-link:hover,.social-link:focus-visible { background-color:#f2f2f2; box-shadow:0 0 6px 3px #00000027; }
.social-link.instagram:hover,.social-link.instagram:focus-visible { color:#c13584; }
.social-link.facebook:hover,.social-link.facebook:focus-visible { color:#3b5998; }
.social-link.tiktok:hover,.social-link.tiktok:focus-visible { color:#111; }
.social-link.youtube:hover,.social-link.youtube:focus-visible { color:#ff0000; }
.social-tooltip {
  position:absolute; left:50%; top:calc(100% + 12px); transform:translate(-50%,-3px);
  padding:6px 10px; border-radius:6px; background:#0B1F45; color:#fff;
  box-shadow:0 7px 20px rgba(11,31,69,.16); font-size:11px; font-weight:700;
  opacity:0; visibility:hidden; pointer-events:none; white-space:nowrap;
  transition:opacity .75s cubic-bezier(.22,.61,.36,1),
             transform .75s cubic-bezier(.22,.61,.36,1),
             visibility 0s linear .75s;
}
.social-tooltip::before {
  content:""; position:absolute; left:50%; top:-4px; width:8px; height:8px; background:#0B1F45; transform:translateX(-50%) rotate(45deg);
}
.social-item:hover .social-tooltip,.social-item:focus-within .social-tooltip {
  opacity:1; visibility:visible; transform:translate(-50%,0);
  transition-delay:0s;
}
@media (max-width:620px) {
  .contact-section { padding:88px 0 94px; }
  .contact-lead { font-size:16px; }
  .social-area { padding-bottom:32px; }
  .social-buttons { padding:12px 8px; }
  .social-item { margin:0 5px; }
  .social-link { width:44px; height:44px; }
  .social-link svg { width:21px; height:21px; }
}

/* =========================================================
   V3.8.1 — CONTACTO: smooth real
   Corrección: el @media prefers-reduced-motion global de la base
   anulaba las transiciones del CTA y redes con .01ms !important.
   Estas reglas finales preservan deliberadamente los hovers aprobados.
   ========================================================= */
.whatsapp-cta {
  transition: background-color .5s ease, color .5s ease, box-shadow .5s ease !important;
}
.whatsapp-cta span {
  transform: translateX(0);
  transition: transform .5s ease, color .5s ease !important;
}
.whatsapp-cta svg {
  transform: translateX(7px);
  transition: opacity .5s ease, transform .5s ease !important;
}
.whatsapp-cta:hover span,
.whatsapp-cta:focus-visible span { transform: translateX(-13px); }
.whatsapp-cta:hover svg,
.whatsapp-cta:focus-visible svg { transform: translateX(0); }

.social-link {
  transition: background-color .3s ease, color .3s ease, box-shadow .3s ease !important;
}
.social-link svg {
  transition: fill .3s ease, stroke .3s ease, color .3s ease !important;
}
.social-tooltip {
  transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s !important;
}
.social-item:hover .social-tooltip,
.social-item:focus-within .social-tooltip {
  transition-delay: 0s !important;
}

/* =========================================================
   V3.8.4 — FOOTER OMEIN / distribución y alineación refinadas
   ========================================================= */
.site-footer {
  background: #07162f;
  color: rgba(255,255,255,.78);
  padding: 58px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(150px, .55fr) minmax(0, 1.05fr);
  gap: clamp(38px, 5vw, 72px);
  align-items: start;
  padding-bottom: 42px;
}
.footer-brand {
  justify-self: start;
  width: 100%;
  max-width: 430px;
}
.footer-nav {
  justify-self: center;
  width: max-content;
}
.footer-legal {
  justify-self: end;
  width: 100%;
  max-width: 390px;
}
.footer-brand img {
  width: 168px;
  height: auto;
  display: block;
  margin-bottom: 18px;
}
.footer-brand p,
.footer-legal p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,.68);
}
.footer-heading {
  margin: 2px 0 17px;
  color: #caa45d;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 800;
}
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}
.footer-links a {
  color: rgba(255,255,255,.76);
  text-decoration: none;
  font-size: 14px;
  transition: color .45s ease, transform .45s ease;
}
.footer-links a:hover {
  color: #caa45d;
  transform: translateX(3px);
}
.footer-bottom {
  border-top: 1px solid rgba(202,164,93,.32);
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
  color: rgba(255,255,255,.52);
}
.footer-domain {
  color: rgba(255,255,255,.72);
  text-decoration: none;
  letter-spacing: .03em;
  transition: color .45s ease;
}
.footer-domain:hover { color: #caa45d; }
.footer-copy { margin: 0; text-align: right; }
@media (max-width: 820px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-bottom: 36px;
  }
  .footer-brand,
  .footer-nav,
  .footer-legal {
    justify-self: start;
    width: 100%;
    max-width: none;
  }
  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    padding: 20px 0;
    gap: 8px;
    text-align: center;
  }
  .footer-copy { text-align: center; }
}

/* =========================================================
   V3.8.5 — FOOTER / cierre visual del bloque Legal al eje derecho
   ========================================================= */
@media (min-width: 821px) {
  .footer-legal {
    justify-self: end;
    width: min(100%, 390px);
    margin-right: 0;
    text-align: right;
  }
  .footer-legal .footer-heading,
  .footer-legal p {
    text-align: right;
  }
}


/* =========================================================
   V3.8.6 — FOOTER / Legal alineado por final de “somos”
   ========================================================= */
@media (min-width: 821px) {
  .footer-legal {
    justify-self: end;
    width: max-content;
    max-width: 100%;
    margin-right: 0;
    text-align: left;
  }
  .footer-legal .footer-heading,
  .footer-legal p {
    text-align: left;
  }
  .footer-legal p {
    width: max-content;
    max-width: 100%;
  }
}
@media (max-width: 820px) {
  .legal-desktop-break { display: none; }
}


/* =========================================================
   V3.8.8 — Navegación entre secciones con fade suave
   El desplazamiento físico no se muestra: el contenido se
   desvanece, cambia de sección y reaparece con suavidad.
   ========================================================= */
main,
.site-footer {
  opacity: 1;
  transition: opacity 0.42s ease;
}

body.section-fade-out main,
body.section-fade-out .site-footer {
  opacity: 0.12;
  transition-duration: 0.28s;
}

body.section-fade-in main,
body.section-fade-in .site-footer {
  opacity: 1;
  transition-duration: 0.46s;
}

/* =========================================================
   V3.8.13 — Modal “Próximamente” para redes aún no activas
   Mantiene intactos los botones sociales aprobados.
   ========================================================= */
.social-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .34s ease, visibility 0s linear .34s;
}
.social-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}
.social-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 13, 30, .54);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.social-modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 410px);
  margin: 0;
  padding: 34px 34px 31px;
  border-radius: 22px;
  text-align: center;
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
  transform: translateY(10px) scale(.975);
  opacity: 0;
  transition: transform .38s cubic-bezier(.22,.61,.36,1), opacity .32s ease;
}
.social-modal.is-open .social-modal-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.social-modal-close {
  position: absolute;
  top: 13px;
  right: 15px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: inherit;
  font: 300 27px/34px Arial, sans-serif;
  cursor: pointer;
  transition: background-color .28s ease, transform .28s ease;
}
.social-modal-close:hover,
.social-modal-close:focus-visible {
  background: rgba(255,255,255,.2);
  transform: rotate(5deg);
}
.social-modal-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 31px;
  font-weight: 800;
}
.social-modal-eyebrow {
  margin: 0 0 9px;
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: .16em;
  font-weight: 800;
  opacity: .7;
}
.social-modal-card h2 {
  margin: 0 0 14px;
  font: 600 34px/1.08 "Playfair Display", Georgia, serif;
}
.social-modal-card #social-modal-copy,
.social-modal-card .social-modal-final {
  margin: 0 auto;
  max-width: 330px;
  font-size: 15px;
  line-height: 1.65;
}
.social-modal-card .social-modal-final {
  margin-top: 8px;
  font-weight: 700;
}

/* Facebook */
.social-modal[data-network="facebook"] .social-modal-card {
  background: #1877F2;
  color: #fff;
}
.social-modal[data-network="facebook"] .social-modal-icon {
  background: #fff;
  color: #1877F2;
}
.social-modal[data-network="facebook"] .social-modal-icon::before { content: "f"; font-family: Arial, sans-serif; }

/* TikTok */
.social-modal[data-network="tiktok"] .social-modal-card {
  background: #111;
  color: #fff;
  border: 1px solid rgba(37,244,238,.38);
  box-shadow: -5px 0 0 rgba(37,244,238,.15), 5px 0 0 rgba(254,44,85,.15), 0 24px 70px rgba(0,0,0,.34);
}
.social-modal[data-network="tiktok"] .social-modal-icon {
  background: #fff;
  color: #111;
  box-shadow: -4px 0 0 #25F4EE, 4px 0 0 #FE2C55;
}
.social-modal[data-network="tiktok"] .social-modal-icon::before { content: "♪"; font-family: Arial, sans-serif; }
.social-modal[data-network="tiktok"] .social-modal-final { color: #25F4EE; }

/* YouTube */
.social-modal[data-network="youtube"] .social-modal-card {
  background: #fff;
  color: #171717;
  border: 1px solid rgba(255,0,0,.14);
}
.social-modal[data-network="youtube"] .social-modal-close { background: rgba(0,0,0,.06); }
.social-modal[data-network="youtube"] .social-modal-close:hover,
.social-modal[data-network="youtube"] .social-modal-close:focus-visible { background: rgba(0,0,0,.1); }
.social-modal[data-network="youtube"] .social-modal-icon {
  width: 72px;
  border-radius: 18px;
  background: #FF0000;
  color: #fff;
}
.social-modal[data-network="youtube"] .social-modal-icon::before { content: "▶"; font-size: 25px; margin-left: 3px; }
.social-modal[data-network="youtube"] .social-modal-final { color: #E60000; }

body.social-modal-open { overflow: hidden; }

@media (max-width: 520px) {
  .social-modal { padding: 18px; }
  .social-modal-card { padding: 31px 22px 27px; border-radius: 18px; }
  .social-modal-card h2 { font-size: 30px; }
  .social-modal-card #social-modal-copy,
  .social-modal-card .social-modal-final { font-size: 14px; }
}

/* V3.8.14 — Modal OMEIN para el servicio Asilo. */
.service-modal {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .34s ease, visibility 0s linear .34s;
}

.service-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity .34s ease;
}

.service-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 16, 35, .66);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.service-modal-card {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: min(82vh, 760px);
  overflow-y: auto;
  padding: 38px 40px 34px;
  border: 1px solid rgba(202, 164, 93, .72);
  border-radius: 22px;
  background: linear-gradient(145deg, #0B1F45 0%, #081A39 100%);
  color: #fff;
  box-shadow: 0 28px 80px rgba(2, 10, 24, .36), 0 0 0 1px rgba(255,255,255,.03) inset;
  transform: translateY(10px) scale(.975);
  opacity: 0;
  transition: transform .38s cubic-bezier(.22,.61,.36,1), opacity .32s ease;
}

.service-modal.is-open .service-modal-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.service-modal-close {
  position: absolute;
  top: 16px;
  right: 17px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(202, 164, 93, .42);
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: #fff;
  font: 300 25px/1 Arial, sans-serif;
  cursor: pointer;
  transition: background .28s ease, border-color .28s ease, transform .28s ease;
}

.service-modal-close:hover,
.service-modal-close:focus-visible {
  background: rgba(202, 164, 93, .16);
  border-color: rgba(202, 164, 93, .9);
  transform: rotate(4deg) scale(1.04);
}

.service-modal-eyebrow {
  margin: 0 52px 8px 0;
  color: #caa45d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
}

.service-modal-card h2 {
  margin: 0 52px 14px 0;
  color: #fff;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.05;
}

.service-modal-copy {
  margin: 0;
  color: rgba(255,255,255,.88);
  font-size: 16px;
  line-height: 1.7;
}

.service-modal-includes {
  margin-top: 24px;
  padding-top: 21px;
  border-top: 1px solid rgba(202, 164, 93, .35);
}

.service-modal-includes h3 {
  margin: 0 0 12px;
  color: #e3c27d;
  font-size: 16px;
  font-weight: 700;
}

.service-modal-includes ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-modal-includes li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 21px;
  color: rgba(255,255,255,.84);
  font-size: 15px;
  line-height: 1.55;
}

.service-modal-includes li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: .63em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #caa45d;
  box-shadow: 0 0 0 3px rgba(202,164,93,.10);
}

.service-modal-disclaimer {
  margin: 21px 0 0;
  padding: 14px 15px;
  border-left: 2px solid #caa45d;
  background: rgba(255,255,255,.045);
  color: rgba(255,255,255,.66);
  font-size: 12px;
  line-height: 1.5;
}

.service-modal-whatsapp {
  width: fit-content;
  min-height: 48px;
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid #caa45d;
  border-radius: 999px;
  background: #caa45d;
  color: #081A39;
  font-weight: 700;
  text-decoration: none;
  transition: transform .30s ease, box-shadow .30s ease, background .30s ease;
}

.service-modal-whatsapp:hover,
.service-modal-whatsapp:focus-visible {
  transform: translateY(-2px);
  background: #d8b66f;
  box-shadow: 0 10px 26px rgba(202,164,93,.23);
}

body.service-modal-open { overflow: hidden; }

@media (max-width: 640px) {
  .service-modal { padding: 16px; }
  .service-modal-card {
    width: 100%;
    max-height: 86vh;
    padding: 32px 22px 25px;
    border-radius: 18px;
  }
  .service-modal-close { top: 12px; right: 12px; }
  .service-modal-card h2 { margin-right: 44px; }
  .service-modal-copy { font-size: 15px; }
  .service-modal-includes li { font-size: 14px; }
  .service-modal-whatsapp { width: 100%; }
}

/* V3.8.15 — texto complementario del modal "Otros trámites". */
.service-modal-extra {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .84);
  font-size: 15px;
  line-height: 1.7;
}

/* =========================================================
   V3.8.25 — INTERACCIÓN TÁCTIL CONTROLADA POR JS
   En móvil se neutralizan los estados persistentes del navegador.
   Los efectos aprobados se activan solo con la clase temporal
   .is-touch-active añadida por script.js.
   ========================================================= */
@media (max-width: 900px) {
  .service-card,
  .service-card *,
  .service-card *::before,
  .service-card *::after {
    -webkit-tap-highlight-color: transparent !important;
  }

  .service-card,
  .learn-more { touch-action: manipulation; }

  /* Chrome móvil: hover/focus no deben alterar visualmente la tarjeta. */
  .service-card:hover,
  .service-card:focus,
  .service-card:focus-visible,
  .service-card:focus-within,
  .service-card:active {
    transform: scale(1) !important;
    background: #0A1D3F !important;
    border-color: rgba(255,255,255,.08) !important;
    box-shadow: 0 16px 34px rgba(5,18,43,.12) !important;
    outline: none !important;
  }
  .service-card:hover .service-icon,
  .service-card:focus .service-icon,
  .service-card:focus-visible .service-icon,
  .service-card:focus-within .service-icon,
  .service-card:active .service-icon {
    transform: none !important;
    background: #081a39 !important;
    border-color: #caa45d !important;
    box-shadow: none !important;
  }
  .service-card:hover h3::after,
  .service-card:focus h3::after,
  .service-card:focus-visible h3::after,
  .service-card:focus-within h3::after,
  .service-card:active h3::after {
    width: 0 !important;
    left: 50% !important;
  }

  /* Único estado visual táctil: clase temporal controlada por JS. */
  .service-card.is-touch-active {
    transform: scale(1.03) !important;
    background: #0A1D3F !important;
    border-color: rgba(255,255,255,.08) !important;
    box-shadow: none !important;
  }
  .service-card.is-touch-active .service-icon {
    background: #081a39 !important;
    border-color: #caa45d !important;
    box-shadow:
      0 0 0 2px rgba(46,142,255,.70),
      0 0 10px rgba(46,142,255,.50) !important;
  }
  .service-card.is-touch-active h3::after {
    width: 100% !important;
    left: 0 !important;
  }
  .service-card.is-touch-active .learn-circle { width: 100%; }
  .service-card.is-touch-active .learn-arrow { transform: translate(.75rem,0); }
  .service-card.is-touch-active .learn-arrow::after { opacity: 1; }
  .service-card.is-touch-active .learn-text { color: var(--navy); }
}

/* =========================================================
   V3.8.26 — EVITAR SELECCIÓN DE TEXTO EN TARJETAS MÓVILES
   Mantiene intacta la interacción táctil V3.8.25 y evita que
   una pulsación prolongada sobre texto abra selección/copia.
   ========================================================= */
@media (max-width: 900px) {
  .service-card,
  .service-card * {
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
  }
}
