/* León Correduría de Seguros — estilos */

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Jakarta";
  src: url("../fonts/jakarta.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --green: #8bc640;
  --green-400: #a3d468;
  --green-600: #6fa52a;
  --green-700: #4f7d1c;      /* verde apto para texto sobre blanco (AA) */
  --green-50: #f4f9ec;
  --green-100: #e6f3d3;
  --slate: #384449;
  --ink: #1d2629;
  --ink-2: #2a3539;
  --muted: #5a686d;
  --line: #e3e8e4;
  --bg: #fbfcf9;
  --white: #fff;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 1px 2px rgb(29 38 41 / .06), 0 2px 8px rgb(29 38 41 / .04);
  --shadow: 0 2px 6px rgb(29 38 41 / .05), 0 18px 40px -12px rgb(29 38 41 / .18);
  --shadow-lg: 0 30px 70px -20px rgb(29 38 41 / .35);
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.015em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--green-600); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.muted { color: var(--muted); }

.icon { width: 1.25em; height: 1.25em; flex: none; stroke-width: 1.9; }
.icon.flip { transform: scaleX(-1); }

/* ---------- Botones ---------- */
.btn {
  --bg-btn: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: 600 1rem/1 var(--font-body);
  padding: .9em 1.35em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn .icon { width: 1.15em; height: 1.15em; }
.btn-lg { font-size: 1.0625rem; padding: 1.05em 1.6em; }
.btn-block { width: 100%; }
.btn-primary { background: var(--green); color: var(--ink); box-shadow: 0 8px 22px -8px rgb(111 165 42 / .7); }
.btn-primary:hover { background: var(--green-400); color: var(--ink); transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgb(111 165 42 / .8); }
.btn-primary:hover .icon:last-child { transform: translateX(3px); }
.btn-primary .icon { transition: transform .25s var(--ease); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--green); color: var(--ink); transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(251 252 249 / .82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgb(29 38 41 / .35); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand img { width: 132px; height: auto; }
.main-nav { margin-left: auto; display: flex; align-items: center; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a:not(.btn) {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem;
  transition: background-color .2s, color .2s;
}
.main-nav a:not(.btn):hover { background: var(--green-50); color: var(--green-700); }
.nav-call { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: inline-flex; padding: 3px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; }
.lang-switch a {
  font: 700 .78rem/1 var(--font-body); letter-spacing: .06em; text-decoration: none; color: var(--muted);
  padding: 7px 10px; border-radius: 999px; transition: background-color .2s, color .2s;
}
.lang-switch a[aria-current] { background: var(--ink); color: #fff; }
.lang-switch a:not([aria-current]):hover { color: var(--ink); background: var(--green-50); }
.header-call { padding: .75em 1.1em; font-size: .95rem; }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.b1 { width: 560px; height: 560px; background: radial-gradient(circle, var(--green-100), transparent 70%); top: -180px; right: -120px; animation: drift 18s ease-in-out infinite alternate; }
.b2 { width: 460px; height: 460px; background: radial-gradient(circle, #dfeee0, transparent 70%); bottom: -220px; left: -160px; animation: drift 22s ease-in-out infinite alternate-reverse; }
.dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgb(56 68 73 / .12) 1px, transparent 1.2px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 60% 60% at 75% 30%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 75% 30%, #000 10%, transparent 70%);
}
@keyframes drift { to { transform: translate(40px, 30px) scale(1.08); } }

.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: .9rem; color: var(--ink-2);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  padding: 8px 16px 8px 12px; border-radius: 999px; margin-bottom: 26px;
}
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgb(139 198 64 / .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgb(139 198 64 / 0); } 100% { box-shadow: 0 0 0 0 rgb(139 198 64 / 0); } }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); font-weight: 650; letter-spacing: -.03em; line-height: 1.02; margin-bottom: 24px; }
.h1-a { display: block; text-wrap: balance; }
.h1-b { position: relative; display: inline-block; color: var(--green-700); }
.swoosh { position: absolute; left: -2%; bottom: -.16em; width: 104%; height: .32em; overflow: visible; }
.swoosh path { fill: none; stroke: var(--green); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1.1s .6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.25rem); color: var(--muted); max-width: 34em; margin-bottom: 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-media { position: relative; }
.hero-photo {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.2; transform: rotate(1.5deg);
  outline: 8px solid var(--white);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; transform: scale(1.04); transition: transform 1.2s var(--ease); }
.hero-media:hover .hero-photo img { transform: scale(1.08); }
.float-card {
  position: absolute; background: rgb(255 255 255 / .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 22px; box-shadow: var(--shadow); border: 1px solid rgb(255 255 255 / .7);
}
.card-years { left: -28px; bottom: 44px; padding: 18px 24px; display: flex; align-items: center; gap: 14px; animation: bob 6s ease-in-out infinite; }
.card-years .num { font: 700 3rem/1 var(--font-display); color: var(--green-700); letter-spacing: -.03em; }
.card-years span { font-weight: 600; font-size: .95rem; line-height: 1.25; max-width: 8.5em; color: var(--ink-2); }
.card-person { right: -18px; top: 36px; padding: 14px 18px; display: flex; align-items: center; gap: 12px; max-width: 270px; animation: bob 7s 1s ease-in-out infinite; }
.card-person strong { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.card-person small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.35; }
.fc-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--green); color: var(--ink); flex: none; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ---------- Franja de confianza ---------- */
.trust { position: relative; margin-top: -10px; }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 12px;
}
.trust-item { padding: 26px 24px; border-radius: 22px; transition: background-color .3s; }
.trust-item + .trust-item { border-left: 1px dashed var(--line); }
.trust-item:hover { background: var(--green-50); }
.ti-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: var(--green-100); color: var(--green-700); margin-bottom: 16px; }
.ti-icon .icon { width: 24px; height: 24px; }
.trust-item h2 { font-size: 1.2rem; margin-bottom: 6px; }
.trust-item p { font-size: .95rem; color: var(--muted); margin: 0; }

/* ---------- Secciones ---------- */
.section { padding: clamp(72px, 10vw, 130px) 0; }
.section-head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 650; letter-spacing: -.025em; }
.section-head p:last-child { color: var(--muted); font-size: 1.12rem; margin: 0; }
.kicker {
  display: inline-block; font: 700 .8rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-700); margin-bottom: 16px; padding-left: 26px; position: relative;
}
.kicker::before { content: ""; position: absolute; left: 0; top: 50%; width: 18px; height: 2px; background: var(--green); border-radius: 2px; }

/* Seguros */
.group-title { display: flex; align-items: center; gap: 18px; font-size: 1.1rem; font-family: var(--font-body); font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin: 0 0 22px; }
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.cards { list-style: none; padding: 0; margin: 0 0 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cards:last-of-type { margin-bottom: 0; }
.card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px 24px; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: auto -40% -60% auto; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, var(--green-100), transparent 70%); opacity: 0; transition: opacity .4s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { opacity: 1; }
.card-icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px;
  background: var(--green-50); color: var(--green-700); margin-bottom: 20px;
  transition: background-color .35s, color .35s, transform .35s var(--ease);
}
.card-icon .icon { width: 27px; height: 27px; }
.card:hover .card-icon { background: var(--green); color: var(--ink); transform: rotate(-6deg) scale(1.05); }
.card h4 { font-size: 1.3rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .96rem; margin-bottom: 18px; flex: 1; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .92rem; text-decoration: none; color: var(--green-700); position: relative; }
.card-link .icon { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.card-link:hover .icon { transform: translateX(4px); }
.cards-business .card { background: linear-gradient(160deg, var(--white), var(--green-50)); }

/* Proceso */
.proceso { background: var(--white); border-block: 1px solid var(--line); position: relative; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; border-top: 2px dashed var(--green-100); }
.step { position: relative; text-align: center; padding: 0 12px; }
.step-num {
  display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 22px; border-radius: 50%;
  background: var(--ink); color: var(--green); font: 700 1.35rem/1 var(--font-display); letter-spacing: .02em;
  box-shadow: 0 0 0 8px var(--white), 0 0 0 9px var(--line);
  position: relative;
}
.step h3 { font-size: 1.35rem; }
.step p { color: var(--muted); max-width: 22em; margin-inline: auto; }

/* Nosotros */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about-media { position: relative; min-height: 520px; }
.ph { position: absolute; border-radius: var(--radius-lg); object-fit: cover; box-shadow: var(--shadow-lg); }
.ph-1 { width: 82%; aspect-ratio: 4/3.4; top: 0; left: 0; }
.ph-2 { width: 58%; aspect-ratio: 4/3; right: 0; bottom: 0; outline: 8px solid var(--bg); }
.since-badge {
  position: absolute; left: 6%; bottom: 6%; width: 132px; height: 132px; border-radius: 50%;
  background: var(--green); color: var(--ink); display: grid; place-items: center; text-align: center;
  font: 700 1.25rem/1.1 var(--font-display); box-shadow: var(--shadow); padding: 18px;
  animation: spin-in 1s var(--ease) both;
}
.since-badge::before { content: ""; position: absolute; inset: 7px; border: 1.5px dashed rgb(29 38 41 / .45); border-radius: 50%; animation: rotate 30s linear infinite; }
@keyframes rotate { to { transform: rotate(360deg); } }
.about-copy h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); letter-spacing: -.025em; }
.about-copy p { color: var(--muted); }
.stats { display: flex; gap: 16px; margin: 32px 0 0; }
.stats > div { flex: 1; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; display: flex; flex-direction: column; justify-content: flex-start; }
.stats dd { order: -1; }
.stats dd { margin: 0; font: 700 2.6rem/1 var(--font-display); color: var(--green-700); letter-spacing: -.03em; }
.stats dt { color: var(--muted); font-size: .92rem; margin-top: 6px; font-weight: 600; }

/* Lema */
.lema { position: relative; background: var(--ink); color: #fff; padding: clamp(80px, 11vw, 150px) 0; overflow: hidden; isolation: isolate; text-align: center; }
.lema-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 300px at 15% 20%, rgb(139 198 64 / .22), transparent 70%),
    radial-gradient(500px 300px at 90% 90%, rgb(139 198 64 / .16), transparent 70%);
}
.lema-quote { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--green); color: var(--ink); margin-bottom: 30px; }
.lema-quote .icon { width: 30px; height: 30px; }
.lema-text { font: 500 clamp(1.8rem, 4.2vw, 3.4rem)/1.18 var(--font-display); letter-spacing: -.02em; max-width: 22em; margin: 0 auto; }
.lema-text { color: #fff; }
.lema-text em { font-style: normal; color: var(--green); }
.lema-sub { color: rgb(255 255 255 / .72); font-size: 1.12rem; max-width: 36em; margin: 22px auto 34px; }
.lema-ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.btn-dark { background: rgb(255 255 255 / .08); color: #fff; border-color: rgb(255 255 255 / .25); }
.btn-dark:hover { background: rgb(255 255 255 / .16); color: #fff; transform: translateY(-2px); }

/* Contacto */
.action-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.action-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px 26px; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.action-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.action-card::after {
  content: ""; position: absolute; width: 220px; height: 220px; right: -90px; top: -90px; border-radius: 50%;
  background: radial-gradient(circle, var(--green-100), transparent 70%); pointer-events: none;
}
.ac-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--green); color: var(--ink); margin-bottom: 22px; }
.ac-icon .icon { width: 26px; height: 26px; }
.action-card h3 { font-size: 1.45rem; margin-bottom: 4px; }
.action-card p { color: var(--muted); font-size: .97rem; margin-bottom: 18px; }
.ac-main { font: 600 1.4rem/1.2 var(--font-display); color: var(--ink); text-decoration: none; overflow-wrap: anywhere; margin-bottom: 24px; letter-spacing: -.01em; }
a.ac-main:hover { color: var(--green-700); }
.ac-main small { display: block; font: 500 .95rem/1.4 var(--font-body); color: var(--muted); margin-top: 4px; letter-spacing: 0; }
.ac-foot { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; position: relative; z-index: 1; }
.ac-dark { background: var(--ink); border-color: var(--ink); }
.ac-dark::after { background: radial-gradient(circle, rgb(139 198 64 / .3), transparent 70%); }
.ac-dark h3, .ac-dark .ac-main { color: #fff; }
.ac-dark p { color: rgb(255 255 255 / .65); }
.ac-dark a.ac-main:hover { color: var(--green); }
.ac-dark .copy-btn { color: #fff; border-color: rgb(255 255 255 / .25); background: rgb(255 255 255 / .06); }
.ac-dark .copy-btn:hover { border-color: var(--green); color: var(--green); }

.copy-btn {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  font: 600 .9rem/1 var(--font-body); color: var(--ink-2);
  padding: .8em 1.1em; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white);
  transition: border-color .2s, color .2s, background-color .2s;
}
.copy-btn .icon { width: 1.05em; height: 1.05em; }
.copy-btn:hover { border-color: var(--green); color: var(--green-700); }
.copy-btn.done { border-color: var(--green); background: var(--green-50); color: var(--green-700); }

.contact-bottom { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; margin-top: 20px; align-items: start; }
.hours-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.hc-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.hc-head h3 { font-size: 1.3rem; margin: 0; }
.ii-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; background: var(--green-50); color: var(--green-700); flex: none; }
.hc-note { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 0; padding-top: 16px; border-top: 1px dashed var(--line); color: var(--muted); font-size: .92rem; }
.hc-note .icon { color: var(--green-700); margin-top: 2px; }
.open-badge { font: 700 .7rem/1 var(--font-body); letter-spacing: .06em; padding: 6px 10px; border-radius: 999px; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; }
.open-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.open-badge.is-open { background: var(--green-100); color: var(--green-700); }
.open-badge.is-open::before { animation: blink 1.6s ease-in-out infinite; }
.open-badge.is-closed { background: #f4e8e5; color: #9a3a2c; }
@keyframes blink { 50% { opacity: .25; } }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours th { text-align: left; font-weight: 500; color: var(--muted); padding: 6px 10px 6px 0; white-space: nowrap; }
.hours td { text-align: right; padding: 6px 0; font-variant-numeric: tabular-nums; }
.hours tr + tr th, .hours tr + tr td { border-top: 1px solid #f0f2ef; }
.hours tr.today th, .hours tr.today td { color: var(--ink); font-weight: 700; }
.hours tr.today th::after { content: attr(data-today); margin-left: 8px; font-size: .7rem; background: var(--green); color: var(--ink); padding: 2px 7px; border-radius: 999px; vertical-align: 1px; }

.review-box {
  background: linear-gradient(135deg, var(--green-100), var(--green-50));
  border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; align-items: flex-start;
}
.stars { display: flex; gap: 4px; color: #e9a400; margin-bottom: 12px; }
.stars .icon { width: 22px; height: 22px; fill: currentColor; }
.review-box h3 { font-size: 1.35rem; margin-bottom: 6px; }
.review-box p { color: var(--ink-2); font-size: .97rem; }
.review-box .btn { margin-top: 6px; }

/* Modal de contacto */
.contact-modal {
  padding: 0; border: 0; background: transparent; max-width: min(480px, calc(100vw - 24px)); width: 100%;
  max-height: calc(100dvh - 24px); overflow: visible; color: var(--ink);
}
.contact-modal::backdrop { background: rgb(17 24 27 / .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.contact-modal[open] { animation: cm-in .45s var(--ease); }
.contact-modal[open]::backdrop { animation: fade-in .3s ease; }
.contact-modal.closing { animation: cm-out .22s ease forwards; }
.contact-modal.closing::backdrop { animation: fade-out .22s ease forwards; }
@keyframes cm-in { from { opacity: 0; transform: translateY(24px) scale(.96); } }
@keyframes cm-out { to { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
.cm-card { position: relative; background: var(--white); border-radius: 28px; overflow: hidden; box-shadow: 0 40px 90px -20px rgb(0 0 0 / .5); max-height: calc(100dvh - 24px); overflow-y: auto; }
.cm-close {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; border: 0;
  background: rgb(255 255 255 / .12); color: #fff; transition: background-color .2s, transform .3s var(--ease);
}
.cm-close:hover { background: rgb(255 255 255 / .22); transform: rotate(90deg); }
.cm-head { position: relative; background: var(--ink); color: #fff; padding: 30px 30px 28px; overflow: hidden; isolation: isolate; }
.cm-glow {
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(260px 160px at 85% 0%, rgb(139 198 64 / .45), transparent 70%),
              radial-gradient(200px 140px at 0% 100%, rgb(139 198 64 / .2), transparent 70%);
}
.cm-logo { width: 96px; margin-bottom: 18px; }
.cm-head h2 { color: #fff; font-size: 2.1rem; margin: 0 0 6px; letter-spacing: -.02em; }
.cm-intro { color: rgb(255 255 255 / .7); margin: 0; font-size: .97rem; }
.cm-topic {
  display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 16px 0 0;
  background: rgb(139 198 64 / .16); color: rgb(255 255 255 / .8); border: 1px solid rgb(139 198 64 / .35);
  padding: 7px 12px; border-radius: 999px; font-size: .86rem;
}
.cm-topic strong { color: var(--green); }
.cm-body { padding: 22px 22px 24px; }
.cm-status { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 6px 16px; font-size: .9rem; color: var(--muted); }
.cm-actions { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cm-row { display: flex; gap: 8px; align-items: stretch; }
.cm-action {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink);
  padding: 14px 16px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--bg);
  transition: border-color .2s, background-color .2s, transform .25s var(--ease), box-shadow .25s;
}
.cm-action:hover { border-color: var(--green); background: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-sm); color: var(--ink); }
.cm-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--green-100); color: var(--green-700); flex: none; transition: background-color .2s, color .2s; }
.cm-action:hover .cm-ic { background: var(--green); color: var(--ink); }
.cm-txt { display: grid; min-width: 0; line-height: 1.25; }
.cm-txt small { font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 3px; }
.cm-txt strong { font: 600 1.12rem/1.25 var(--font-display); overflow-wrap: break-word; }
.cm-txt em { font-style: normal; font-size: .86rem; color: var(--muted); }
.cm-go { margin-left: auto; color: var(--muted); transition: transform .25s var(--ease), color .2s; }
.cm-action:hover .cm-go { color: var(--green-700); transform: translateX(3px); }
.copy-btn.icon-only { padding: 0; width: 52px; justify-content: center; border-radius: 18px; flex: none; }
.copy-btn.icon-only span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
body.modal-open { overflow: hidden; }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 2147483647; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff;
  padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: .92rem; box-shadow: var(--shadow);
  transition: opacity .25s, transform .35s var(--ease);
}
.toast .icon { color: var(--green); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Pie ---------- */
.site-footer { background: var(--ink); color: rgb(255 255 255 / .75); padding: 72px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr .8fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgb(255 255 255 / .12); }
.footer-brand img { width: 150px; margin-bottom: 18px; }
.footer-brand p { max-width: 22em; }
.site-footer h2 { font: 700 .78rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { color: var(--green); margin-top: 3px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--green); }
.footer-legal { padding-top: 26px; font-size: .82rem; color: rgb(255 255 255 / .55); }
.footer-legal p { margin: 0 0 8px; max-width: 95ch; }

/* Botón flotante de llamada (móvil) */
.fab-call {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 60px; height: 60px; border-radius: 50%;
  display: none; place-items: center; background: var(--green); color: var(--ink); box-shadow: 0 12px 30px -8px rgb(29 38 41 / .45);
  transition: transform .3s var(--ease), opacity .3s;
}
.fab-call .icon { width: 26px; height: 26px; }
.fab-call::after { content: ""; position: absolute; inset: 0; border-radius: 50%; animation: ring 2.6s infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgb(139 198 64 / .55); } 70%, 100% { box-shadow: 0 0 0 16px rgb(139 198 64 / 0); } }

/* ---------- Páginas legales y 404 ---------- */
.legal-hero { padding: clamp(48px, 7vw, 90px) 0 30px; background: linear-gradient(180deg, var(--green-50), var(--bg)); }
.legal-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 18px 0 8px; letter-spacing: -.025em; }
.back { margin: 0; }
.legal-body { padding: 20px 0 100px; }
.legal-body h2 { font-size: 1.45rem; margin: 2em 0 .6em; }
.legal-body > h2:first-child { margin-top: .4em; }
.legal-body p, .legal-body li { color: var(--ink-2); }
.legal-body ul { padding-left: 1.2em; }
.legal-body li { margin-bottom: .4em; }
.notfound { padding: clamp(80px, 12vw, 160px) 0; text-align: center; }
.big404 { font: 700 clamp(6rem, 18vw, 11rem)/1 var(--font-display); color: var(--green); letter-spacing: -.05em; margin: 0 0 10px; }
.notfound h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.notfound .btn { margin-top: 18px; }

/* ---------- Animaciones de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero .reveal { transition-delay: calc(var(--i, 0) * 110ms); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px dashed var(--line); }
  .main-nav a:not(.btn) { padding: 8px 10px; }
  .header-inner { gap: 16px; }
}
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .brand img { width: 112px; }
  .menu-toggle {
    display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
    border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer;
  }
  .menu-toggle .icon { width: 22px; height: 22px; }
  .menu-toggle .i-close, .menu-toggle[aria-expanded="true"] .i-menu { display: none; }
  .menu-toggle[aria-expanded="true"] .i-close { display: block; }
  .header-call { display: none; }
  .header-actions { margin-left: auto; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 18px;
    background: var(--bg); padding: 18px 20px 28px; border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgb(29 38 41 / .35);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .3s var(--ease), opacity .3s, visibility .3s;
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a:not(.btn) { font-size: 1.15rem; padding: 14px 12px; border-radius: 14px; }
  .nav-call { display: inline-flex; padding: 1em; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 560px; margin: 8px auto 0; width: 100%; }
  .hero-photo { aspect-ratio: 4 / 3; }
  .card-years { left: -8px; bottom: -22px; }
  .card-person { right: -8px; top: -22px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { min-height: 0; aspect-ratio: 1 / .95; max-width: 560px; width: 100%; margin: 0 auto; }
  .action-cards { grid-template-columns: 1fr; }
  .contact-bottom { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .fab-call { display: grid; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .container, .narrow { width: calc(100% - 32px); }
  .cards { grid-template-columns: 1fr; gap: 14px; }
  .card { padding: 22px 20px; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; }
  .card-icon { grid-row: span 3; margin: 0; width: 50px; height: 50px; }
  .card p { margin-bottom: 10px; }
  .trust-grid { grid-template-columns: 1fr; padding: 6px; }
  .trust-item { padding: 20px 18px; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; }
  .trust-item .ti-icon { grid-row: span 2; margin: 0; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px dashed var(--line); }
  .hero-ctas .btn, .lema-ctas .btn { flex: 1 1 100%; }
  .eyebrow { font-size: .8rem; }
  .card-years { padding: 12px 16px; }
  .card-years .num { font-size: 2.3rem; }
  .card-years span { font-size: .82rem; }
  .card-person { max-width: 220px; padding: 10px 12px; }
  .card-person small { display: none; }
  .fc-icon { width: 36px; height: 36px; border-radius: 11px; }
  .hours-card, .review-box { padding: 22px 20px; }
  .hours { font-size: .9rem; }
  .action-card { padding: 24px 22px 22px; }
  .cm-head { padding: 26px 22px 22px; }
  .cm-body { padding: 18px 14px 18px; }
  .cm-head h2 { font-size: 1.8rem; }
  .cm-go { display: none; }
  .cm-action { padding: 12px 14px; gap: 12px; }
  .cm-ic { width: 42px; height: 42px; }
  .cm-txt strong { font-size: 1.05rem; }
  .since-badge { width: 104px; height: 104px; font-size: 1.05rem; }
  .stats dd { font-size: 2.1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .lang-switch a { padding: 7px 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .swoosh path { stroke-dashoffset: 0; }
}
