/* Albalá Seguros — hoja de estilos */
:root {
  /* Colores corporativos (del logo Albalá Gestión) */
  --azul: #004c9a;          /* azul principal del logo */
  --azul-medio: #6293ca;    /* azul de las piezas claras */
  --azul-claro: #9cbbe0;    /* azul de la línea bajo «ALBALÁ» */
  --texto-logo: #1e120d;    /* casi negro del texto del logo */
  /* Derivados */
  --marino: #002b57;
  --marino-2: #003a73;
  --marino-3: #0b4a8a;
  --paper: #f6f8fb;
  --sand: #e9f0f8;
  --line: #d6e1ee;
  --text: var(--texto-logo);
  --muted: #5a5f66;
  --white: #fff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(0, 43, 87, .05), 0 12px 32px -12px rgba(0, 43, 87, .2);
  --shadow-lg: 0 30px 60px -25px rgba(0, 43, 87, .4);
  --serif: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--marino); }
h1 em, h2 em { font-style: normal; color: var(--azul-medio); font-weight: 300; }
p { margin: 0 0 1em; }
b, strong { font-weight: 700; }
button { font: inherit; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.wrap.narrow { width: min(100% - 32px, 820px); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--marino); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--azul-medio); outline-offset: 3px; border-radius: 4px; }

.ico { width: 26px; height: 26px; flex: none; }
.ico.sm { width: 18px; height: 18px; }
.ico.xs { width: 15px; height: 15px; }

.eyebrow { font-family: var(--sans); font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--azul); margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow.light { color: var(--azul-claro); }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }

/* Botones y enlaces */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s, border-color .25s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-primary { background: var(--azul); color: #fff; box-shadow: 0 10px 24px -12px rgba(0, 76, 154, .8); }
.btn-primary:hover { background: #003f80; }
.btn-light { background: #fff; color: var(--azul); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5); }
.btn-light:hover { background: var(--sand); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .14); }
.btn.block { width: 100%; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; color: var(--azul); text-decoration: none; }
.link .ico { transition: transform .25s var(--ease); }
a:hover .link .ico, .link:hover .ico { transform: translateX(4px); }
.link.light { color: var(--azul-claro); }

/* Barra superior */
.topbar { background: var(--marino); color: rgba(255, 255, 255, .72); font-size: 13.5px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar a { text-decoration: none; display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.topbar a:hover { color: var(--azul-claro); }
.topbar-info, .topbar-nav { display: flex; gap: 24px; }

/* Cabecera */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); 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.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -22px rgba(0, 32, 66, .4); }
.header-in { display: flex; align-items: center; gap: 28px; height: 82px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 54px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav > a, .mega-toggle { position: relative; padding: 10px 16px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--marino); background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; transition: background .2s; }
.main-nav > a:hover, .mega-toggle:hover, .has-mega.is-open .mega-toggle { background: var(--sand); }
.main-nav > a.is-active::after, .has-mega.is-active .mega-toggle::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--azul-medio); }
.mega-toggle .ico { transition: transform .25s; }
.has-mega.is-open .mega-toggle .ico { transform: rotate(180deg); }
.header-cta { padding: 11px 20px; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--marino); cursor: pointer; place-items: center; }

/* Mega menú */
.has-mega { position: static; }
.mega { position: absolute; left: 0; right: 0; top: 100%; padding-top: 1px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
.has-mega.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-in { width: min(100% - 32px, var(--wrap)); margin: 10px auto 0; background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 30px; display: grid; grid-template-columns: 1fr 1fr 1.15fr 1fr; gap: 26px; }
.mega-title { display: block; font-family: var(--serif); font-size: 20px; color: var(--marino); text-decoration: none; padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
a.mega-title:hover { color: var(--azul); }
.mega-col ul { list-style: none; margin: 0; padding: 0; }
.mega-col a { display: flex; align-items: center; gap: 10px; padding: 7px 8px; margin-inline: -8px; border-radius: 10px; text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--text); transition: background .2s, color .2s; }
.mega-col a:hover { background: var(--paper); color: var(--marino); }
.mega-cta { background: var(--marino); color: rgba(255, 255, 255, .78); border-radius: 16px; padding: 24px; font-size: 14.5px; display: flex; flex-direction: column; align-items: flex-start; }
.mega-cta .btn { margin-top: auto; }

/* Menú móvil */
.drawer { position: fixed; inset: 0; z-index: 80; background: var(--paper); display: flex; flex-direction: column; overflow-y: auto; animation: drawer .35s var(--ease); }
.drawer[hidden] { display: none; }
@keyframes drawer { from { opacity: 0; transform: translateY(-12px); } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px; border-bottom: 1px solid var(--line); }
.drawer-close { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--marino); }
.drawer-nav { padding: 12px 16px; display: flex; flex-direction: column; }
.drawer-nav > a, .drawer-nav summary { font-family: var(--serif); font-size: 24px; color: var(--marino); text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; cursor: pointer; list-style: none; }
.drawer-nav summary::-webkit-details-marker { display: none; }
.drawer-nav details[open] summary .ico { transform: rotate(180deg); }
.drawer-nav details div { display: flex; flex-direction: column; padding: 8px 0 12px 14px; border-bottom: 1px solid var(--line); }
.drawer-nav details div a { padding: 8px 0; text-decoration: none; color: var(--text); font-weight: 500; }
.drawer-nav .m-all { color: var(--azul) !important; font-weight: 700 !important; }
.drawer-label { margin: 18px 0 0; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--azul); }
.drawer-foot { padding: 20px 16px 32px; margin-top: auto; }
.drawer-foot .btn { width: 100%; }

/* Hero de inicio */
.hero { position: relative; min-height: calc(100vh - var(--head, 120px)); min-height: calc(100svh - var(--head, 120px)); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--marino); }
.slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; transition: opacity 1.4s ease; }
.slide.is-on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.slide.is-on img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1.0); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 32, 66, .92) 0%, rgba(0, 32, 66, .62) 45%, rgba(0, 32, 66, .15) 100%), linear-gradient(0deg, rgba(0, 32, 66, .85), transparent 45%); }
.hero-in { position: relative; padding: 48px 0 40px; }
.hero-lines { display: grid; }
.hero-line { grid-area: 1 / 1; opacity: 0; transform: translateY(16px); transition: opacity .9s, transform .9s var(--ease); pointer-events: none; }
.hero-line.is-on { opacity: 1; transform: none; pointer-events: auto; }
.hero-line h2 { color: #fff; font-size: clamp(32px, 4.4vw, 60px); font-weight: 300; max-width: 16ch; margin-bottom: 18px; }
.hero-line h2 em { color: var(--azul-claro); }
.hero-line p { font-size: clamp(17px, 1.6vw, 21px); color: rgba(255, 255, 255, .8); max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.hero-dots { position: absolute; right: max(16px, calc((100% - var(--wrap)) / 2)); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .7); background: transparent; padding: 0; cursor: pointer; transition: background .3s, transform .3s; }
.hero-dots button.is-on { background: var(--azul-medio); border-color: var(--azul-medio); transform: scale(1.3); }
.hero-stats { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255, 255, 255, .18); padding: 26px 0 34px; gap: 20px; }
.hero-stats div { display: flex; align-items: baseline; gap: 12px; }
.hero-stats b { font-family: var(--serif); font-weight: 300; font-size: 40px; color: var(--azul-claro); line-height: 1; }
.hero-stats span { font-size: 14px; color: rgba(255, 255, 255, .72); max-width: 15ch; line-height: 1.35; }

/* Secciones */
.section { padding: 110px 0; }
.section.tight { padding: 64px 0 100px; }
.section-head { max-width: 720px; margin-bottom: 54px; }
.section-head h2 { font-size: clamp(34px, 4vw, 54px); }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 18px; }

/* Quiénes somos */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: var(--shadow-lg); }
.about-badge { position: absolute; right: -24px; bottom: 36px; background: var(--azul-medio); color: var(--marino); border-radius: 18px; padding: 20px 24px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-lg); }
.about-badge b { font-family: var(--serif); font-size: 46px; font-weight: 400; line-height: 1; }
.about-badge span { font-weight: 700; font-size: 13px; line-height: 1.3; text-transform: uppercase; letter-spacing: .06em; }
.about-text h2 { font-size: clamp(32px, 3.6vw, 48px); }
.about-text p:not(.eyebrow) { color: var(--muted); font-size: 18px; }
.about-text .btn { margin-top: 10px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 90px; }
.duo-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 42px; }
.duo-card.dark { background: var(--marino); border-color: var(--marino); color: rgba(255, 255, 255, .72); }
.duo-big { font-family: var(--serif); font-size: 25px; line-height: 1.35; color: #fff; }
.offer { list-style: none; padding: 0; margin: 0 0 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.offer li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--paper); font-weight: 600; color: var(--marino); }
.offer .ico { color: var(--azul); }

/* Productos */
.products { background: var(--sand); }
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prod-card { position: relative; background: #fff; border-radius: var(--radius); padding: 34px 32px 30px; text-decoration: none; display: flex; flex-direction: column; border: 1px solid transparent; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; overflow: hidden; }
.prod-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--azul-medio); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line); }
.prod-card:hover::after { transform: scaleX(1); }
.prod-ico { width: 104px; height: auto; margin-bottom: 22px; transform-origin: 50% 85%; transition: transform .45s var(--ease); }
.prod-card:hover .prod-ico { transform: translateY(-4px) scale(1.06) rotate(-3deg); }
.prod-card h3 { font-size: 25px; }
.prod-card p { color: var(--muted); font-size: 15.5px; flex: 1; }

/* Por qué (inicio) */
.why { background: var(--marino); color: rgba(255, 255, 255, .72); position: relative; overflow: hidden; }
.why::before { content: ""; position: absolute; width: 700px; height: 700px; right: -260px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(98, 147, 202, .18), transparent 65%); }
.why-grid { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; }
.why h2 { color: #fff; font-size: clamp(34px, 4vw, 54px); }
.why h2 em { color: var(--azul-claro); }
.why b { color: #fff; }
.why-goal { position: relative; margin: 30px 0; padding: 24px 26px 24px 84px; border-radius: 20px; background: linear-gradient(135deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); overflow: hidden; }
.why-goal::before { content: ""; position: absolute; left: 24px; top: 26px; width: 40px; height: 31px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 391 299'%3E%3Cpolygon fill='%23004c9a' stroke='%23fff' stroke-width='11' stroke-linejoin='round' points='162,0 268,0 375,188 268,188'/%3E%3Cpolygon fill='%236293ca' stroke='%23fff' stroke-width='11' stroke-linejoin='round' points='106,93 212,93 108,283 0,283'/%3E%3Cpolygon fill='%236293ca' stroke='%23fff' stroke-width='11' stroke-linejoin='round' points='160,195 375,195 325,283 212,283'/%3E%3C/svg%3E") center / contain no-repeat; }
.why-goal::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(98, 147, 202, .35), transparent 70%); pointer-events: none; }
.why-goal p:last-child { margin: 0; }
.why-intro .btn { margin-top: 12px; }
.why-list { display: grid; gap: 14px; }
.why-item { display: flex; gap: 22px; padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); transition: background .3s, border-color .3s; }
.why-item:hover { background: rgba(255, 255, 255, .07); border-color: rgba(98, 147, 202, .4); }
.why-ico { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; flex: none; background: rgba(98, 147, 202, .14); color: var(--azul-claro); }
.why-item h3 { color: #fff; font-size: 22px; margin-bottom: 6px; }
.why-item p { margin: 0; font-size: 15.5px; }

/* Testimonio */
.testimonial { padding: 110px 0 70px; }
.quote { max-width: 900px; margin: 0 auto; text-align: center; }
.quote-ico { width: 54px; height: 54px; color: var(--azul-medio); margin: 10px auto 18px; }
.quote blockquote { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(23px, 2.7vw, 34px); line-height: 1.4; color: var(--marino); }
.quote figcaption { margin-top: 26px; color: var(--muted); }
.quote figcaption b { color: var(--marino); }

/* Logos */
.partners { padding: 40px 0 90px; overflow: hidden; }
.marquee { display: flex; margin-top: 20px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee ul { list-style: none; display: flex; gap: 56px; padding: 0 28px; margin: 0; animation: marquee 50s linear infinite; flex: none; align-items: center; }
.marquee:hover ul { animation-play-state: paused; }
.marquee img { height: 54px; width: auto; max-width: 150px; object-fit: contain; mix-blend-mode: multiply; transition: transform .4s var(--ease); }
.marquee img:hover { transform: scale(1.06); }
@keyframes marquee { to { transform: translateX(-100%); } }

/* CTA */
.cta-band { padding: 0 0 100px; }
.cta-in { background: linear-gradient(120deg, var(--marino) 0%, var(--marino-3) 100%); border-radius: 28px; padding: 64px; display: flex; justify-content: space-between; align-items: center; gap: 40px; color: rgba(255, 255, 255, .75); position: relative; overflow: hidden; }
.cta-in::after { content: ""; position: absolute; right: -120px; bottom: -180px; width: 460px; height: 460px; border-radius: 50%; border: 1px solid rgba(98, 147, 202, .3); box-shadow: 0 0 0 60px rgba(98, 147, 202, .05), 0 0 0 120px rgba(98, 147, 202, .03); }
.cta-in h2 { color: #fff; font-size: clamp(32px, 3.6vw, 48px); margin-bottom: 10px; }
.cta-in p:last-child { margin: 0; max-width: 46ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

/* Pie (mismos apartados que la web anterior) */
.site-footer { background: var(--marino); color: rgba(255, 255, 255, .72); padding: 72px 0 0; font-size: 15.5px; border-top: 4px solid var(--azul-medio); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; align-items: start; }
.site-footer h3 { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--azul-claro); margin-bottom: 16px; }
.site-footer p { margin: 0; line-height: 1.9; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-aunna img { width: 200px; max-width: 100%; height: auto; opacity: .92; transition: opacity .2s; }
.footer-aunna a:hover img { opacity: 1; }
.footer-bottom { background: rgba(0, 0, 0, .18); }
.footer-bottom-in { display: flex; align-items: center; gap: 28px; padding: 22px 0; flex-wrap: wrap; font-size: 13.5px; }
.footer-logo { height: 34px; width: auto; }
.social { list-style: none; display: flex; gap: 10px; margin: 0 0 0 auto; padding: 0; }
.social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; transition: background .2s; }
.social a:hover { background: var(--azul-medio); }
.social svg { width: 18px; height: 18px; }
.copy { margin: 0; }
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 48px; height: 48px; border-radius: 50%; background: var(--azul-medio); color: var(--marino); display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s; }
.to-top .ico { transform: rotate(180deg); }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }

/* Cabecera de páginas interiores */
.page-hero { position: relative; color: #fff; background: var(--marino); min-height: calc(100vh - var(--head, 120px)); min-height: calc(100svh - var(--head, 120px)); display: flex; align-items: flex-end; overflow: hidden; }
.page-hero-media { position: absolute; inset: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 14s ease-out forwards; }
.page-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 32, 66, .94) 0%, rgba(0, 32, 66, .7) 50%, rgba(0, 32, 66, .3) 100%), linear-gradient(0deg, rgba(0, 32, 66, .7), transparent 50%); }
.page-hero-in { position: relative; padding: 60px 0 64px; }
.page-hero h1 { color: #fff; font-size: clamp(32px, 4.2vw, 58px); font-weight: 300; max-width: 18ch; }
.page-hero h1 em { color: var(--azul-claro); }
.hero-lead { max-width: 640px; color: rgba(255, 255, 255, .8); font-size: 18px; }
.hero-lead p:last-child { margin-bottom: 0; }
.hero-kicker { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--azul-claro); }
.page-hero.plain { background: var(--sand); color: var(--text); min-height: 0; }
.page-hero.plain .page-hero-in { padding: 70px 0 40px; }
.page-hero.plain h1 { color: var(--marino); }
.page-hero.plain h1 em { color: var(--azul); }
.post-title { font-size: clamp(34px, 4.4vw, 58px) !important; max-width: 22ch !important; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 30px; font-size: 13.5px; }
.crumbs li { color: rgba(255, 255, 255, .6); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { text-decoration: none; color: rgba(255, 255, 255, .85); }
.crumbs a:hover { color: var(--azul-claro); }
.plain .crumbs li { color: var(--muted); }
.plain .crumbs a { color: var(--text); }

/* Ficha de producto */
.product { padding: 120px 0 100px; }
.product-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(60px, 8vw, 120px); align-items: start; }
.product-aside { position: sticky; top: 108px; display: grid; gap: 18px; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.aside-card.dark { background: var(--marino); border-color: var(--marino); color: rgba(255, 255, 255, .75); font-size: 15.5px; }
.chips { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.chips li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 15px; font-weight: 600; color: var(--marino); line-height: 1.4; }
.chips li:last-child { border: 0; }
.chips .ico { color: var(--azul); margin-top: 2px; }
.aside-phone { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; color: #fff; text-decoration: none; font-weight: 700; }
.prose { font-size: 17.5px; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(32px, 3.4vw, 46px); margin: 110px 0 40px; }
.prose h3 { font-size: 26px; margin: 70px 0 20px; }
.prose p { color: #34404c; line-height: 1.8; }
.prose a { color: var(--azul); }
.checks { list-style: none; padding: 0; margin: 10px 0 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 15.5px; line-height: 1.45; color: var(--marino); }
.checks .ico { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--marino); color: var(--azul-claro); margin-top: -1px; }
/* Fichas de producto (ventajas, coberturas, garantías): una sola columna, sin números.
   Cada ficha: símbolo de la marca, título y texto; filete superior que se pinta de azul y fondo suave al pasar */
.terms { margin: 16px 0 72px; border-bottom: 1px solid var(--line); }
.term { position: relative; padding: 44px 24px 46px 48px; border-top: 1px solid var(--line); isolation: isolate; }
.term::before { content: ""; position: absolute; left: 6px; top: 51px; width: 18px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 375 283'%3E%3Cpolygon fill='%23004c9a' points='162,0 268,0 375,188 268,188'/%3E%3Cpolygon fill='%236293ca' points='106,93 212,93 108,283 0,283'/%3E%3Cpolygon fill='%236293ca' points='160,195 375,195 325,283 212,283'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .6s var(--ease); }
.term::after { content: ""; position: absolute; inset: -1px 0 0; z-index: -1; border-top: 1px solid var(--azul); background: linear-gradient(90deg, rgba(156, 187, 224, .2), rgba(156, 187, 224, 0)); clip-path: inset(0 100% 0 0); transition: clip-path .8s var(--ease); }
.term:hover::after { clip-path: inset(0 0 0 0); }
.term:hover::before { transform: translateX(4px) rotate(-6deg); }
.term h4 { font-size: 19px; line-height: 1.3; margin: 0 0 10px; color: var(--marino); letter-spacing: -.01em; }
.term h4:last-child { margin: 0; }
.term p { margin: 0; font-size: 15.5px; line-height: 1.75; color: var(--muted); max-width: 60ch; }
.term p + p { margin-top: 12px; }
.term ul { margin: 14px 0 0; padding-left: 20px; color: var(--muted); font-size: 15.5px; line-height: 1.75; max-width: 60ch; }
.term li + li { margin-top: 6px; }
.term li::marker { color: var(--azul-medio); }
@media (max-width: 640px) { .term { padding: 32px 0 34px 32px; } .term::before { left: 0; top: 38px; width: 16px; height: 12px; } .prose h2 { margin: 72px 0 28px; } .figs { margin: 52px 0; } .product { padding: 80px 0 70px; } }
.figs { margin: 80px 0; }
.figs.two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.figs figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.figs img { width: 100%; height: 100%; max-height: 440px; object-fit: cover; transition: transform 1.2s var(--ease); }
.figs figure:hover img { transform: scale(1.04); }
.related { padding: 0 0 100px; }
.rel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.rel-card { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 700; color: var(--marino); transition: border-color .25s, transform .25s var(--ease); }
.rel-card > .ico:first-child { color: var(--azul); }
.rel-card .arr { margin-left: auto; opacity: .4; transition: transform .25s, opacity .25s; }
.rel-card:hover { border-color: var(--azul-medio); transform: translateY(-2px); }
.rel-card:hover .arr { opacity: 1; transform: translateX(3px); }

/* Categorías */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cat-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.cat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cat-card:hover .cat-media img { transform: scale(1.06); }
.cat-ico { position: absolute; left: 18px; bottom: -34px; width: 82px; height: auto; padding: 6px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.cat-media { overflow: visible; }
.cat-media img { border-radius: var(--radius) var(--radius) 0 0; }
.cat-body { padding: 40px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.cat-body h3 { font-size: 25px; }
.cat-body p { color: var(--muted); font-size: 15.5px; flex: 1; }

/* Por qué Albalá */
.goal-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
.goal-grid h2 { font-size: clamp(32px, 3.6vw, 50px); }
.goal-grid p:not(.eyebrow) { color: var(--muted); font-size: 18px; }
.bars { list-style: none; padding: 40px; margin: 0; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); display: grid; gap: 26px; }
.bar-top { display: flex; justify-content: space-between; font-weight: 700; color: var(--marino); margin-bottom: 10px; }
.bar-top b { font-family: var(--serif); font-weight: 400; color: var(--azul); font-size: 20px; }
.bar { height: 8px; border-radius: 8px; background: var(--sand); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 8px; background: linear-gradient(90deg, var(--azul), var(--azul-medio), var(--azul-claro)); transition: width 2s cubic-bezier(.65, 0, .25, 1) calc(var(--d, 0ms) + 350ms); }
.bars li.is-in .bar i { width: 100%; }
.gallery3 { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; margin-top: 90px; }
.gallery3 figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.gallery3 figure:first-child { aspect-ratio: auto; }
.gallery3 img { width: 100%; height: 100%; object-fit: cover; }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: start; }
.contact-form { background: #fff; border-radius: 24px; padding: 44px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact-form h2 { font-size: 36px; margin-bottom: 26px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 700; color: var(--marino); margin-bottom: 7px; }
.field small { color: var(--muted); font-weight: 500; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 16px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); color: var(--text); transition: border-color .2s, box-shadow .2s, background .2s; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--azul-medio); background: #fff; box-shadow: 0 0 0 4px rgba(98, 147, 202, .18); }
.field.is-error input, .field.is-error textarea { border-color: #b4483c; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--muted); margin: 6px 0 24px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--azul); margin-top: 3px; }
.check a { color: var(--azul); }
.form-note { margin: 16px 0 0; font-size: 14.5px; color: var(--muted); min-height: 1em; }
.form-note.err { color: #b4483c; }
.form-note.ok { color: #2f7a4f; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form { position: relative; }
.contact-form button[disabled] { opacity: .6; cursor: wait; transform: none; }
.contact-info { display: grid; gap: 20px; }
.info-card { background: var(--marino); color: rgba(255, 255, 255, .75); border-radius: 24px; padding: 40px; }
.info-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 20px; }
.info-list li { display: flex; gap: 16px; }
.info-list .ico { color: var(--azul-claro); margin-top: 2px; }
.info-list b { display: block; color: #fff; font-size: 14px; letter-spacing: .04em; }
.info-list a { color: #fff; text-decoration: none; }
.info-list a:hover { color: var(--azul-claro); }
.map { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: var(--sand); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-media { aspect-ratio: 16 / 10; overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.05); }
.post-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.post-body h2 { font-size: 24px; }
.post-body p { color: var(--muted); font-size: 15.5px; flex: 1; }
.post-date { font-size: 13px !important; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--azul) !important; flex: none !important; margin-bottom: 10px; }
.post-hero { margin: 0 0 44px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.post-hero img { width: 100%; }
.article p:first-of-type::first-letter { font-family: var(--serif); float: left; font-size: 72px; line-height: .9; padding: 6px 12px 0 0; color: var(--azul); }
.more-posts { margin-top: 60px; padding-top: 36px; border-top: 1px solid var(--line); }
.more-posts ul { padding-left: 20px; margin: 0 0 20px; }
.more-posts li { margin-bottom: 8px; }
.more-posts li a { color: var(--marino); font-family: var(--serif); font-size: 20px; text-decoration: none; }
.more-posts li a:hover { color: var(--azul); }
.legal { font-size: 16px; }
.legal h2 { font-size: 28px; margin-top: 40px; }
.legal h3 { font-size: 21px; margin-top: 28px; }
.legal p, .legal li { color: #3b4652; }
.legal a { word-break: break-word; }

/* Animaciones de entrada */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1100px) {
  .main-nav, .header-cta { display: none; }
  .burger { display: grid; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .brand img { height: 42px; }
  .product-grid { grid-template-columns: 1fr; gap: 40px; }
  .product-aside { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .section { padding: 76px 0; }
  .about-grid, .why-grid, .goal-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-media img { aspect-ratio: 4 / 3; }
  .about-badge { right: 16px; bottom: -22px; }
  .duo { grid-template-columns: 1fr; margin-top: 70px; }
  .prod-grid, .cat-grid, .post-grid { grid-template-columns: 1fr 1fr; }
  .cta-in { flex-direction: column; align-items: flex-start; padding: 44px 32px; }
  .hero-dots { display: none; }
  .gallery3 { grid-template-columns: 1fr 1fr; }
  .gallery3 figure:first-child { grid-column: span 2; aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  .topbar-info a:last-child, .topbar-nav a:first-child { display: none; }
  .header-in { height: 70px; }
  .hero-in { padding: 40px 0 28px; }
  .hero-stats { grid-template-columns: 1fr; gap: 12px; padding: 20px 0 26px; }
  .hero-stats b { font-size: 30px; }
  .prod-grid, .cat-grid, .post-grid, .offer, .checks, .figs.two, .product-aside { grid-template-columns: 1fr; }
  .duo-card, .contact-form, .info-card, .bars { padding: 28px 22px; }
  .page-hero-in { padding: 48px 0 44px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .social { margin-left: 0; }
  .brand img { height: 38px; }
  .cta-band { padding-bottom: 70px; }
  .cta-actions, .cta-actions .btn, .hero-actions .btn { width: 100%; }
  .why-item { padding: 22px; gap: 16px; }
  .marquee img { height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Página actual dentro del menú */
.mega-col a[aria-current="page"] { background: var(--sand); color: var(--azul); font-weight: 700; }
.drawer-nav a[aria-current="page"] { color: var(--azul); }
.prose .lead-in { font-weight: 700; color: var(--marino); margin-top: 48px; }

/* Blog: portadas ilustradas por categoría */
.cover { position: relative; width: 100%; height: 100%; min-height: 200px; display: grid; place-items: center; overflow: hidden; color: #fff; }
.cover::before, .cover::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); }
.cover::before { width: 120%; aspect-ratio: 1; right: -70%; top: -40%; }
.cover::after { width: 70%; aspect-ratio: 1; left: -30%; bottom: -45%; background: rgba(255, 255, 255, .06); }
.cover.v0 { background: linear-gradient(135deg, var(--azul) 0%, var(--marino) 100%); }
.cover.v1 { background: linear-gradient(135deg, var(--azul-medio) 0%, var(--azul) 100%); }
.cover.v2 { background: linear-gradient(135deg, var(--marino) 0%, var(--azul-medio) 120%); }
.cover.v3 { background: linear-gradient(160deg, var(--marino-3) 0%, var(--marino) 70%); }
.cover-ico { position: relative; z-index: 1; width: 64px; height: 64px; stroke-width: 1.2; opacity: .95; transition: transform .8s var(--ease); }
.cover.big .cover-ico { width: 96px; height: 96px; }
.post-card:hover .cover-ico { transform: scale(1.08) rotate(-4deg); }
.cover-cat { position: absolute; left: 18px; top: 16px; z-index: 1; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); padding: 5px 11px; border-radius: 999px; }
.post-hero .cover { aspect-ratio: 21 / 8; min-height: 0; }

/* Blog: listado */
.blog-intro { max-width: 60ch; color: var(--muted); font-size: 18px; margin: 0; }
/* Filtro del blog plegable: una línea con el tema actual y un panel que se despliega */
.filter { margin-bottom: 44px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; }
.filter-now { margin: 0; color: var(--muted); font-size: 15px; }
.filter-now b { color: var(--marino); font-weight: 700; margin: 0 6px; }
.filter-now span { font-size: 13px; }
.filter-toggle { display: inline-flex; align-items: center; gap: 12px; border: 0; background: none; padding: 8px 0; font: inherit; font-weight: 700; font-size: 15px; color: var(--azul); cursor: pointer; }
.filter-plus { position: relative; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--azul-claro); transition: background .3s, border-color .3s, transform .5s var(--ease); }
.filter-plus::before, .filter-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .4s var(--ease); }
.filter-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.filter-toggle:hover .filter-plus { background: var(--azul); border-color: var(--azul); color: #fff; }
.filter-toggle[aria-expanded="true"] .filter-plus { transform: rotate(180deg); }
.filter-toggle[aria-expanded="true"] .filter-plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.filter-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.filter-panel > div { overflow: hidden; }
.filter.is-open .filter-panel { grid-template-rows: 1fr; }
.chips-bar { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 4px 28px; padding: 6px 0 26px; }
.chip { display: flex; justify-content: space-between; align-items: baseline; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--marino); padding: 12px 2px; font: inherit; font-size: 15px; font-weight: 600; text-align: left; cursor: pointer; transition: color .25s, padding .35s var(--ease), border-color .25s; }
.chip i { font-style: normal; font-weight: 400; font-size: 13px; color: var(--muted); }
.chip:hover { color: var(--azul); padding-left: 10px; border-color: var(--azul-claro); }
.chip.is-on { color: var(--azul); border-color: var(--azul); }
.chip.is-on i { color: var(--azul); }
@media (max-width: 640px) { .filter-now span { display: none; } }
.post-grid.news .post-card[hidden] { display: none; }
.post-card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr 1fr; }
.post-card.featured .post-media { aspect-ratio: auto; min-height: 340px; }
.post-card.featured .post-body { padding: 44px; justify-content: center; }
.post-card.featured h2 { font-size: clamp(26px, 2.6vw, 36px); }
.post-card.featured .post-body p:not(.post-date) { flex: none; margin-bottom: 22px; }

/* Blog: noticia */
.keys { list-style: none; padding: 0; margin: -10px 0 36px; display: flex; flex-wrap: wrap; gap: 10px; }
.keys li { background: var(--sand); color: var(--marino); border-radius: 12px; padding: 10px 16px; font-weight: 700; font-size: 15px; }
.for-you { margin: 36px 0 18px; background: var(--marino); color: rgba(255, 255, 255, .82); border-radius: var(--radius); padding: 30px 34px; }
.for-you .eyebrow { color: var(--azul-claro); }
.for-you p:not(.eyebrow) { font-size: 18px; }
.for-you .link { color: var(--azul-claro); }
.source { font-size: 14px; color: var(--muted); }
.source a { color: var(--azul); }
.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; }
.pn { display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-decoration: none; color: var(--marino); font-weight: 600; line-height: 1.4; transition: border-color .2s; }
.pn:hover { border-color: var(--azul-medio); }
.pn small { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--azul); margin-bottom: 6px; }
.pn.next { text-align: right; }
.related .post-grid { margin-top: 6px; }
@media (max-width: 900px) {
  .post-card.featured { grid-template-columns: 1fr; }
  .post-card.featured .post-media { min-height: 220px; }
  .post-card.featured .post-body { padding: 28px; }
}
@media (max-width: 640px) {
  .prev-next { grid-template-columns: 1fr; }
  .pn.next { text-align: left; }
}

/* Cookies: aviso inferior */
.ck-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 1100px; margin: 0 auto; background: #fff; color: var(--text); border: 1px solid var(--line); border-top: 4px solid var(--azul); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 22px 26px; display: flex; align-items: center; gap: 26px; animation: ck-in .5s var(--ease); }
.ck-banner[hidden] { display: none; }
@keyframes ck-in { from { opacity: 0; transform: translateY(20px); } }
.ck-banner p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.ck-banner a { color: var(--azul); }
.ck-actions { display: flex; gap: 8px; flex: none; }
.ck-btn { font: inherit; font-size: 14px; font-weight: 700; padding: 11px 18px; border-radius: 999px; cursor: pointer; border: 1px solid var(--azul); transition: background .2s, color .2s; white-space: nowrap; }
.ck-btn.solid { background: var(--azul); color: #fff; }
.ck-btn.solid:hover { background: #003f80; }
.ck-btn.ghost { background: #fff; color: var(--azul); }
.ck-btn.ghost:hover { background: var(--sand); }

/* Cookies: panel de ajustes */
.ck-modal { position: fixed; inset: 0; z-index: 95; background: rgba(0, 32, 66, .55); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 16px; }
.ck-modal[hidden] { display: none; }
.ck-dialog { position: relative; width: min(100%, 680px); max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 20px; padding: 34px 34px 28px; box-shadow: var(--shadow-lg); animation: ck-in .35s var(--ease); }
.ck-dialog h2 { font-size: 26px; margin-bottom: 14px; }
.ck-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--paper); color: var(--marino); cursor: pointer; display: grid; place-items: center; }
.ck-close svg { width: 20px; height: 20px; }
.ck-intro p { font-size: 15px; color: var(--muted); margin-bottom: 8px; }
.ck-intro a { color: var(--azul); }
.ck-more-text { display: none; }
.ck-expanded .ck-more-text { display: block; }
.ck-link { background: none; border: 0; padding: 0; font: inherit; font-size: 14.5px; color: var(--azul); text-decoration: underline; cursor: pointer; }
.ck-list { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 8px; }
.ck-cat { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.ck-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; }
.ck-toggle-info { display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 4px 0; font: inherit; font-size: 16.5px; font-weight: 600; color: var(--marino); cursor: pointer; }
.ck-toggle-info svg { width: 18px; height: 18px; color: var(--azul-medio); transition: transform .25s; }
.ck-toggle-info[aria-expanded="true"] svg { transform: rotate(90deg); }
.ck-desc { margin: 0; padding: 0 16px 14px 44px; font-size: 14.5px; color: var(--muted); }
.ck-always { font-size: 14px; font-weight: 600; color: var(--azul); }
.ck-switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: var(--muted); }
.ck-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ck-switch i { position: relative; width: 46px; height: 26px; border-radius: 999px; background: #c7d2df; transition: background .25s; }
.ck-switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .25s var(--ease); }
.ck-switch input:checked + i { background: var(--azul); }
.ck-switch input:checked + i::after { transform: translateX(20px); }
.ck-switch input:focus-visible + i { outline: 2px solid var(--azul-medio); outline-offset: 2px; }
.ck-foot { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }

/* Contenido de terceros que espera consentimiento (mapa) */
.consent-box { position: relative; }
.consent-box iframe { visibility: hidden; }
.consent-box.is-allowed iframe { visibility: visible; }
.consent-msg { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; text-align: center; color: var(--muted); }
.consent-msg > .ico { color: var(--azul-medio); width: 36px; height: 36px; }
.consent-msg p { margin: 0; max-width: 32ch; }
.consent-box.is-allowed .consent-msg { display: none; }
.footer-grid a[data-cookies-open] { cursor: pointer; }

@media (max-width: 760px) {
  .ck-banner { flex-direction: column; align-items: stretch; gap: 16px; padding: 20px; left: 10px; right: 10px; bottom: 10px; }
  .ck-actions { flex-direction: column; }
  .ck-dialog { padding: 28px 20px 22px; }
  .ck-foot .ck-btn { flex: 1; }
}

/* Contenido recuperado de la web antigua */
.cat-body { padding-top: 50px; }
.cta-in.has-bg { background-size: cover; background-position: center; background-repeat: no-repeat; }
.hero-logo { width: 230px; height: auto; margin-bottom: 26px; }
.page-hero .hero-logo { width: 200px; margin-bottom: 22px; }
.why-symbol { position: absolute; left: -90px; bottom: -110px; width: 420px; opacity: .1; pointer-events: none; }
.quote figcaption { display: inline-flex; align-items: center; gap: 14px; }
.quote .avatar { width: 56px; height: 56px; border-radius: 50%; background: #fff; }
.map { position: relative; }
.map-static { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.consent-msg { background: rgba(255, 255, 255, .86); backdrop-filter: blur(2px); }
.consent-box.is-allowed .map-static { display: none; }
.consent-box iframe { position: relative; z-index: 1; }
.archive { margin-top: 70px; padding-top: 36px; border-top: 1px solid var(--line); }
.archive ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.archive a { display: grid; grid-template-columns: 200px 1fr; gap: 22px; align-items: start; text-decoration: none; color: var(--marino); background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; transition: border-color .2s; }
.archive a:hover { border-color: var(--azul-medio); }
.archive img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; }
.archive span { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.archive b { display: block; font-family: var(--serif); font-weight: 500; font-size: 19px; margin-bottom: 6px; }
.archive p { margin: 0; font-size: 14.5px; color: var(--muted); }
@media (max-width: 640px) {
  .archive a { grid-template-columns: 1fr; }
  .hero-logo { width: 180px; }
  .why-symbol { width: 260px; }
}
.cat-media img.cat-ico { position: absolute; left: 18px; bottom: -34px; width: 82px; height: auto; object-fit: contain; border-radius: 18px; padding: 6px; background: #fff; transform: none; }
.cat-card:hover .cat-media img.cat-ico { transform: none; }
.consent-msg { background: radial-gradient(ellipse at center, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .7) 45%, rgba(255, 255, 255, .15) 100%); backdrop-filter: none; }

/* ---------- Siniestros ---------- */
.sos { background: var(--marino); color: #fff; }
.sos-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.sos-item { display: flex; flex-direction: column; gap: 4px; padding: 36px 34px; color: #fff; text-decoration: none; border-right: 1px solid rgba(255, 255, 255, .12); transition: background .4s; }
.sos-item:first-child { padding-left: 0; }
.sos-item:last-child { border-right: 0; }
.sos-item:hover { background: rgba(255, 255, 255, .05); }
.sos-item small { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--azul-claro); }
.sos-item b { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.8vw, 38px); line-height: 1.2; }
.sos-item span { font-size: 15px; color: rgba(255, 255, 255, .72); }
.steps { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 32px; padding: 44px 0; border-top: 1px solid var(--line); }
.step-n { font-family: var(--serif); font-size: 76px; font-weight: 300; line-height: .9; color: transparent; -webkit-text-stroke: 1px var(--azul-medio); transition: color .6s var(--ease); }
.step:hover .step-n { color: var(--azul-claro); }
.step h3 { font-size: 24px; margin: 4px 0 10px; }
.step p { margin: 0; max-width: 62ch; color: var(--muted); }
.cases-sec { background: #fff; }
.cases { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.case { grid-column: span 2; }
.case:nth-child(n+4) { grid-column: span 3; }
@media (max-width: 1000px) { .cases { grid-template-columns: 1fr 1fr; } .case, .case:nth-child(n+4) { grid-column: auto; } .case:last-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .cases { grid-template-columns: 1fr; } }
.case { padding: 34px 30px 30px; border-radius: var(--radius); background: var(--paper); transition: transform .5s var(--ease), box-shadow .5s; }
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--marino); color: #fff; margin-bottom: 22px; }
.case-ico .ico { width: 24px; height: 24px; }
.case h3 { font-size: 21px; margin-bottom: 14px; }
.case ul { margin: 0; padding-left: 18px; font-size: 15.5px; line-height: 1.7; color: var(--muted); }
.case li + li { margin-top: 8px; }
.case li::marker { color: var(--azul-medio); }
.case p { margin: 16px 0 0; font-size: 15px; }
.dir { border-bottom: 1px solid var(--line); }
.dir-row { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; padding: 26px 0; border-top: 1px solid var(--line); }
.dir-co { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.dir-logo { display: grid; place-items: center; width: 150px; height: 64px; padding: 10px 14px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.dir-logo img { width: 100%; height: 100%; object-fit: contain; }
.dir-logo.is-ico { color: var(--azul); }
.dir-logo.is-ico .ico { width: 30px; height: 30px; }
.dir-row h3 { font-size: 17px; margin: 0; color: var(--muted); font-family: var(--sans); font-weight: 600; }
.dir-row ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px 28px; }
.dir-row li { display: flex; flex-direction: column; }
.dir-row li span { font-size: 13px; color: var(--muted); }
.dir-row li a { font-family: var(--serif); font-size: 21px; color: var(--azul); text-decoration: none; }
.dir-row li a:hover { color: var(--marino); text-decoration: underline; text-underline-offset: 4px; }
.dir-note { margin-top: 24px; font-size: 14px; color: var(--muted); max-width: 70ch; }
@media (max-width: 820px) {
  .sos-grid { grid-template-columns: 1fr; }
  .sos-item, .sos-item:first-child { padding: 24px 0; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .sos-item:last-child { border-bottom: 0; }
  .step { grid-template-columns: 60px minmax(0, 1fr); gap: 18px; padding: 32px 0; }
  .step-n { font-size: 44px; }
  .step h3 { font-size: 21px; margin-top: 0; }
  .dir-row { grid-template-columns: 1fr; gap: 12px; }
}

/* ---------- Preguntas frecuentes ---------- */
.faq-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.faq-nav { position: sticky; top: calc(var(--head, 120px) + 24px); display: flex; flex-direction: column; }
.faq-nav a { padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; transition: color .3s, padding-left .4s var(--ease); }
.faq-nav a:hover { color: var(--azul); padding-left: 8px; }
.faq-group + .faq-group { margin-top: 90px; }
.faq-group h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 26px; scroll-margin-top: calc(var(--head, 120px) + 24px); }
.faq-list { border-bottom: 1px solid var(--line); }
.faq-item { border-top: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; font-family: var(--serif); font-size: 20px; line-height: 1.35; color: var(--marino); transition: color .3s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--azul); }
.faq-plus { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--azul-claro); color: var(--azul); transition: background .3s, border-color .3s, color .3s, transform .5s var(--ease); }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .4s var(--ease); }
.faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item summary:hover .faq-plus, .faq-item[open] .faq-plus { background: var(--azul); border-color: var(--azul); color: #fff; }
.faq-item[open] .faq-plus { transform: rotate(180deg); }
.faq-item[open] .faq-plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { padding: 0 60px 28px 0; color: var(--muted); }
.faq-a p { margin: 0; max-width: 66ch; }
.faq-a p + p { margin-top: 12px; }
.faq-a a { color: var(--azul); }
.faq-item[open] .faq-a { animation: faq-in .5s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 900px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .faq-nav a { border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 14px; }
  .faq-nav a:hover { padding-left: 14px; }
  .faq-item summary { font-size: 18px; }
  .faq-a { padding-right: 0; }
}

/* Horario en el pie */
.footer-hours { margin-top: 14px; font-size: 14px; opacity: .8; }

/* WhatsApp: botón flotante */
.wa-float { position: fixed; left: 20px; bottom: 20px; z-index: 90; display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 16px; border-radius: 999px; background: #25d366; color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .45); transition: transform .3s var(--ease), box-shadow .3s; }
.wa-float svg { width: 26px; height: 26px; flex: none; }
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -10px rgba(0, 0, 0, .5); }
@media (max-width: 640px) { .wa-float { left: 14px; bottom: 14px; width: 54px; height: 54px; padding: 0; justify-content: center; } .wa-float span { display: none; } }
/* Logo de Aunna a color sobre tarjeta blanca */
.footer-aunna a { display: inline-block; padding: 14px 18px; border-radius: 14px; background: #fff; }
.footer-aunna img { display: block; width: 180px; height: auto; }
