/*
Theme Name: INSECOCR Corporativo
Theme URI: https://inseco-seguros-corporativo-2026.lyricalchicory.chatgpt.site/
Author: INSECOCR
Description: Tema corporativo para INSECOCR, con catálogo de seguros, suscripción Brevo y diseño responsive.
Version: 1.2.6
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: inseco-corporativo
*/

:root {
  --ink: #17352e;
  --ink-soft: #52665e;
  --green: #164c40;
  --green-deep: #103d34;
  --green-bright: #2a8069;
  --green-wash: #e8f0ea;
  --ivory: #f8f7f2;
  --ivory-deep: #f0efe7;
  --gold: #b69a6c;
  --white: #ffffff;
  --line: #e3e9e2;
  --shadow: 0 22px 65px rgba(23, 53, 46, 0.07);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--ivory); font-family: 'Manrope', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body, button, input { font-size: 15px; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { display: block; max-width: 100%; }
section { scroll-margin-top: 140px; }
[hidden] { display: none !important; }
::selection { background: #c5ddcf; color: var(--green-deep); }
:focus-visible { outline: 3px solid #b99856; outline-offset: 3px; }
.wrap { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; background: #fff; padding: 12px 18px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* Global text */
.eyebrow { color: #377a65; font-size: 11px; font-weight: 800; letter-spacing: 0.18em; margin: 0 0 23px; text-transform: uppercase; }
h1,h2,h3,p { margin-top: 0; }
h1, h2 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; letter-spacing: -0.025em; }
h1 em, h2 em { font-weight: 400; font-style: italic; color: #4e886e; }
h2 { font-size: clamp(37px, 4.1vw, 56px); line-height: 1.13; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; border: 0; border-radius: 8px; font-size: 13px; font-weight: 800; line-height: 1.2; white-space: nowrap; cursor: pointer; min-height: 49px; padding: 16px 24px; transition: transform .2s, background .2s, box-shadow .2s; }
.button span:last-child { font-size: 17px; font-weight: 500; line-height: .5; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--green); color: white; box-shadow: 0 12px 26px rgba(18, 77, 62, .14); }
.button-primary:hover { background: #0b352b; }
.button-subscribe { color: var(--green); background: #e8f0ea; border: 1px solid #c8dacf; padding-inline: 20px; }
.button-subscribe:hover { background: #d8eadd; }
.text-link { display: inline-flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 800; text-decoration: underline; text-underline-offset: 5px; }
.text-link span { text-decoration: none; font-size: 19px; }

/* Masthead */
.topbar { background: var(--green-deep); color: #d8e8e0; height: 34px; font-size: 10px; font-weight: 700; letter-spacing: .055em; }
.topbar-inner { height: 100%; display: flex; justify-content: space-between; align-items: center; }
.topbar-inner > span { display: inline-flex; align-items: center; gap: 8px; }
.topbar-actions { display: flex; align-items: center; gap: 18px; }
.language-switcher { display: inline-flex; align-items: center; gap: 5px; color: #b8d5c8; letter-spacing: 0; }
.language-button { border: 0; background: transparent; color: #bbd2c8; font: inherit; font-size: 11px; font-weight: 800; min-width: 28px; min-height: 30px; border-radius: 5px; padding: 5px 3px; cursor: pointer; transition: background .15s ease, color .15s ease; }
.language-button:hover { color: white; background: rgba(255,255,255,.10); }
.language-button.active { color: #fff; background: rgba(255,255,255,.15); }
.top-dot { height: 6px; width: 6px; background: #c7ad7d; border-radius: 50%; display: inline-block; }
.topbar-right { opacity: .74; }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); backdrop-filter: blur(14px); border-bottom: 1px solid #e9eae3; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 124px; }
.brand { display: inline-flex; align-items: center; position: relative; flex-shrink: 0; line-height: 0; }
.brand-logo { display: block; width: 184px; height: auto; max-width: 100%; object-fit: contain; }
.brand-mark { color: #2a9068; font-weight: 800; font-size: 46px; line-height: .87; letter-spacing: -0.12em; }
.brand-name { color: #233931; font-weight: 800; font-size: 35px; line-height: 1; letter-spacing: -.095em; }
.brand-period { color: #2a9068; }
.brand-cr { color: #2a9068; }
.brand-caption { position: absolute; top: 37px; left: 4px; white-space: nowrap; color: #76837c; letter-spacing: .17em; font-size: 7px; font-weight: 800; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav > a:not(.button) { color: #3b5148; font-size: 12px; font-weight: 700; transition: color .2s; }
.site-nav > a:not(.button):hover { color: #15956d; }
.button-nav { min-height: 42px; padding: 13px 19px; color: #fff; background: var(--green); font-size: 12px; }
.menu-toggle { display: none; }

/* Hero */
.hero { background: var(--ivory); padding: 54px 0 77px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); align-items: center; gap: 57px; }
.hero-copy { padding: 26px 0 0; }
.hero-copy .eyebrow { display: flex; gap: 12px; align-items: center; }
.eyebrow-line { width: 25px; height: 1px; background: #6d9e8b; }
.hero h1 { font-size: clamp(54px, 5.9vw, 83px); line-height: 1.045; margin: 0 0 25px; max-width: 595px; }
.hero-description { font-size: 15px; line-height: 1.9; color: #586961; max-width: 500px; margin-bottom: 30px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 54px; border-top: 1px solid #dce4da; padding-top: 25px; gap: 15px; }
.hero-facts > div { display: flex; gap: 9px; align-items: center; color: #809087; font-size: 10px; line-height: 1.6; }
.hero-facts strong { color: #3c5f50; font-weight: 800; }
.fact-symbol { display: flex; justify-content: center; align-items: center; width: 29px; height: 29px; flex: 0 0 29px; border: 1px solid #ceddd2; border-radius: 50%; font-size: 17px; color: #35765f; }
.hero-visual { min-height: 548px; position: relative; isolation: isolate; }
.hero-visual > img { width: 100%; height: 548px; border-radius: 200px 200px 18px 18px; object-fit: cover; object-position: right center; box-shadow: 0 24px 55px rgba(34,71,55,.12); }
.hero-photo-label { position: absolute; bottom: 24px; left: -37px; display: flex; align-items: center; gap: 13px; background: rgba(255,255,255,.96); box-shadow: 0 20px 50px rgba(14,54,39,.11); padding: 17px 24px 17px 17px; border-radius: 13px; font-size: 12px; color: #6f8077; line-height: 1.6; }
.hero-photo-label strong { color: #284a3e; font-size: 15px; }
.hero-photo-icon { display: grid; place-items: center; flex: 0 0 39px; height: 39px; border-radius: 50%; color: #c8a97d; background: #f8f0e5; font-size: 26px; }
.hero-orbit { position: absolute; border: 1px solid #b69a6c; border-radius: 50%; opacity: .6; z-index: -1; }
.orbit-one { width: 160px; height: 160px; right: -30px; top: 13px; }
.orbit-two { width: 210px; height: 210px; right: -59px; top: -12px; opacity: .23; }

/* Partners */
.trust { background: #fff; border-top: 1px solid #e7ece6; border-bottom: 1px solid #e7ece6; }
.trust-content { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.trust-intro { min-width: 300px; }
.trust-intro span { color: #397b63; font-size: 10px; letter-spacing: .19em; font-weight: 800; }
.trust-intro p { margin: 6px 0 0; color: #697b70; font-size: 12px; }
.trust-logos { display: flex; flex: 1; justify-content: flex-end; align-items: center; gap: 42px; }
.trust-logo { display: flex; align-items: center; gap: 9px; color: #51665c; font-weight: 800; font-size: 12px; }
.trust-logo img { max-height: 34px; max-width: 62px; object-fit: contain; }
.trust-protection img { max-width: 164px; max-height: 46px; }

/* Catalog */
.intro-section { padding: 48px 0 95px; background: #fafaf7; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.section-heading h2 { max-width: 650px; margin-bottom: 0; }
.section-heading > p { max-width: 390px; margin-bottom: 5px; color: #65766e; font-size: 14px; line-height: 1.85; }
.catalog-controls { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 47px 0 29px; }
.filter-buttons { display: flex; flex-wrap: wrap; gap: 9px; }
.filter-button { border: 1px solid #dce5de; padding: 12px 21px; background: #fff; border-radius: 50px; color: #52675b; font-size: 12px; font-weight: 800; cursor: pointer; transition: background .2s,color .2s,border .2s; }
.filter-button:hover { border-color: #6a9c84; }
.filter-button.active { background: var(--green); color: #fff; border-color: var(--green); }
.filter-button span { padding-left: 11px; opacity: .65; font-size: 10px; }
#results-label { color: #87958b; font-size: 11px; white-space: nowrap; margin: 0; }
.insurance-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; align-items: stretch; }
.insurance-card { border: 1px solid #e3e9e2; border-radius: var(--radius); background: #fff; padding: 26px 27px 0; display: flex; flex-direction: column; min-width: 0; box-shadow: 0 12px 42px rgba(24,69,51,.034); transition: transform .25s,box-shadow .25s,border-color .25s; }
.insurance-card:hover { border-color: #cedfd2; transform: translateY(-4px); box-shadow: var(--shadow); }
.card-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 22px; }
.category-label { font-size: 10px; color: #528068; font-weight: 800; letter-spacing: .13em; }
.card-icon { width: 35px; height: 35px; background: #edf5ed; color: #378866; border-radius: 10px; display: grid; place-items: center; font-size: 22px; }
.card-icon.cancer-icon { background: #f8eee9; color: #c28d78; }
.card-header { display: flex; align-items: center; gap: 13px; min-height: 56px; }
.insurer-mark { flex: 0 0 54px; width: 54px; height: 54px; border: 1px solid #e6ebe6; border-radius: 12px; background: #fff; display: grid; place-items: center; padding: 9px; }
.insurer-mark img { max-height: 43px; max-width: 43px; object-fit: contain; }
.card-header h3 { font-family: 'DM Serif Display',Georgia,serif; font-size: 27px; font-weight: 400; letter-spacing: -.02em; line-height: 1.1; margin-bottom: 5px; }
.card-header p { font-size: 11px; color: #89978d; font-weight: 600; margin-bottom: 0; }
.card-description { color: #6b7c71; font-size: 12px; line-height: 1.85; min-height: 69px; margin: 19px 0 18px; }
.price-box { border-radius: 11px; padding: 14px 18px; background: #f4f7f2; display: flex; flex-direction: column; gap: 3px; }
.price-box span { text-transform: uppercase; font-size: 9px; font-weight: 800; letter-spacing: .1em; color: #86988b; }
.price-box strong { color: var(--green); font-size: 26px; letter-spacing: -.06em; }
.price-box strong small { font-size: 12px; font-weight: 700; letter-spacing: 0; color: #789185; }
.benefit-list { margin: 22px 0 21px; padding: 0; list-style: none; display: grid; gap: 12px; }
.benefit-list li { color: #566b5f; font-size: 11.5px; font-weight: 600; line-height: 1.55; display: flex; gap: 9px; align-items: start; }
.benefit-list li::before { content: '✓'; color: #388e70; font-weight: 800; font-size: 13px; }
.insurance-card[data-category="oncologico"] .benefit-list { gap: 9px; }
.card-actions { margin-top: auto; display: grid; gap: 14px; }
.button-card { width: 100%; justify-content: space-between; background: var(--green); color: #fff; min-height: 48px; padding: 14px 18px; font-size: 11px; }
.button-card:hover { background: #0c382d; }
.card-details-button { border: 1px solid #b4cdbb; background: #f6faf5; color: var(--green); border-radius: 8px; min-height: 37px; font-size: 10.5px; font-weight: 800; cursor: pointer; transition: background .18s ease, border-color .18s ease; }
.card-details-button:hover, .card-details-button:focus-visible { background: #e7f2e9; border-color: #609b78; }
.conditions-link { display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: #4f806b; text-decoration: underline; text-underline-offset: 4px; font-size: 10.5px; font-weight: 800; padding-bottom: 19px; }

/* Value proposition */
.values-section { background: #ecf2eb; padding: 103px 0; }
.values-grid { display: grid; grid-template-columns: .78fr 1.22fr; align-items: center; gap: 90px; }
.values-heading h2 { font-size: clamp(38px,4.3vw,58px); max-width: 440px; margin-bottom: 20px; }
.values-heading > p:last-child { color: #62766a; font-size: 14px; line-height: 1.9; max-width: 380px; }
.values-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.value-card { min-height: 265px; background: #fff; border: 1px solid #dfebe0; border-radius: 18px; padding: 27px; box-shadow: 0 14px 38px rgba(24,69,51,.025); position: relative; }
.value-num { position: absolute; right: 24px; top: 27px; font-family: Georgia,serif; color: #cbd9ce; font-size: 24px; }
.value-icon { border-radius: 50%; width: 48px; height: 48px; background: #e9f2ea; color: var(--green-bright); display: grid; place-items: center; margin-bottom: 25px; font-size: 26px; }
.value-card h3 { font-family: 'DM Serif Display',Georgia,serif; font-size: 24px; font-weight: 400; margin-bottom: 9px; }
.value-card p { color: #6c7e72; font-size: 11.5px; line-height: 1.85; margin-bottom: 0; }

/* Steps and FAQ */
.steps-section { background: #fff; padding: 38px 0 44px; border-bottom: 1px solid #e7ece6; }
.steps-heading { align-items: center; gap: 35px; }
.steps-heading .eyebrow { margin-bottom: 10px; }
.steps-heading h2 { font-size: clamp(29px,3.2vw,43px); }
.steps-heading > p { font-size: 12px; line-height: 1.65; max-width: 320px; }
.steps-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 14px; margin-top: 30px; }
.step { position: relative; min-width: 0; padding: 0 9px 0 15px; border-left: 1px solid #dde7df; }
.step-number { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #d7e3d8; border-radius: 50%; color: #518b71; font-family: Georgia,serif; font-size: 17px; background: #f6faf5; margin-bottom: 13px; }
.step-line { display: none; }
.step h3 { font-family: 'DM Serif Display',Georgia,serif; font-weight: 400; font-size: clamp(18px,1.7vw,22px); line-height: 1.2; margin-bottom: 9px; }
.step p { color: #718176; font-size: 11.5px; line-height: 1.7; margin-bottom: 0; }
.step-whatsapp { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--green); font-size: 11px; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.step-whatsapp:hover { color: var(--green-bright); }
.contact-section { padding: 0 0 95px; background: white; }
.contact-shell { background: var(--green-deep); padding: 76px 80px; border-radius: 24px; color: white; display: flex; justify-content: space-between; align-items: center; gap: 50px; position: relative; overflow: hidden; }
.contact-orbit { position: absolute; right: -86px; top: -122px; width: 410px; height: 410px; border: 1px solid rgba(218,199,149,.18); border-radius: 50%; pointer-events: none; }
.contact-orbit::after { content: ''; position: absolute; inset: 35px; border: 1px solid rgba(218,199,149,.18); border-radius: 50%; }
.light-eyebrow { color: #bcd6c4; }
.contact-copy { position: relative; z-index: 1; }
.contact-copy h2 { font-size: clamp(34px,3.7vw,51px); max-width: 620px; margin-bottom: 13px; }
.contact-copy h2 em { color: #d4c09b; }
.contact-copy > p:last-child { color: #b7d0c2; font-size: 13px; line-height: 1.8; max-width: 600px; margin-bottom: 0; }
.contact-action { display: grid; justify-items: center; gap: 13px; position: relative; z-index: 1; }
.button-cream { background: #f6f1e4; color: var(--green-deep); min-width: 225px; justify-content: space-between; }
.button-cream:hover { background: #fff; }
.contact-action > span { font-size: 10px; color: #b4cec0; white-space: nowrap; }
.faq-section { background: #fafaf7; padding: 98px 0 115px; }
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 100px; }
.faq-intro { font-size: 13px; line-height: 1.9; color: #76877b; max-width: 320px; }
.faq-items { border-top: 1px solid #dfe7df; }
.faq-items details { border-bottom: 1px solid #dfe7df; }
.faq-items summary { display: flex; justify-content: space-between; gap: 18px; list-style: none; cursor: pointer; color: #26483b; font-size: 13px; font-weight: 800; padding: 24px 0; }
.faq-items summary::-webkit-details-marker { display: none; }
.faq-items summary span { color: #5d9579; font-size: 19px; transition: transform .2s; }
.faq-items details[open] summary span { transform: rotate(45deg); }
.faq-items details p { color: #728579; font-size: 12px; line-height: 1.9; max-width: 640px; padding: 0 20px 18px 0; margin: 0; }

/* Footer */
.footer { background: #123e34; color: #bed3c5; padding: 70px 0 0; }
.footer-main { display: grid; grid-template-columns: 1.8fr 1fr 1.1fr; gap: 70px; padding-bottom: 65px; }
.brand-footer { margin-bottom: 18px; padding: 8px 10px; background: #fff; border-radius: 9px; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.brand-footer .brand-logo { width: 240px; }
.brand-footer .brand-name { color: white; }
.brand-footer .brand-cr { color: #74c8a7; }
.footer-main > div:first-child > p { font-size: 12px; line-height: 1.8; }
.footer-main h3 { color: #f6fcf7; text-transform: uppercase; letter-spacing: .14em; font-size: 10px; font-weight: 800; margin: 0 0 21px; }
.footer-main div:not(:first-child) > a, .footer-main div:not(:first-child) > span { display: block; font-size: 12px; color: #bcd2c4; margin-bottom: 14px; }
.footer-main a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 24px 0 30px; display: flex; justify-content: space-between; gap: 30px; }
.footer-bottom p { color: #8eb0a0; font-size: 10px; line-height: 1.8; margin: 0; }
.footer-bottom p:last-child { max-width: 650px; text-align: right; }

/* Widget de asesoría por WhatsApp: abierto por iniciativa del visitante. */
.whatsapp-widget { position: fixed; right: 24px; bottom: 24px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; pointer-events: none; }
.whatsapp-widget > * { pointer-events: auto; }
.whatsapp-widget-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 60px; padding: 13px 22px 13px 18px; border: 1px solid rgba(255,255,255,.32); border-radius: 40px; color: #fff; background: #1b815e; box-shadow: 0 10px 32px rgba(8,58,41,.28); font-size: 13px; font-weight: 800; letter-spacing: .01em; cursor: pointer; transition: background .2s ease, transform .2s ease, box-shadow .2s ease; }
.whatsapp-widget-toggle:hover { background: #136b4e; transform: translateY(-2px); box-shadow: 0 16px 36px rgba(8,58,41,.32); }
.whatsapp-widget-toggle[aria-expanded="true"] { background: #134d3e; }
.whatsapp-widget-toggle svg { flex: 0 0 29px; width: 29px; height: 29px; }
.whatsapp-widget-panel { width: min(355px, calc(100vw - 32px)); max-height: calc(100dvh - 110px); overflow-y: auto; margin-bottom: 14px; background: #fff; border: 1px solid #dbe7df; border-radius: 20px; box-shadow: 0 24px 80px rgba(8,42,33,.25); }
.whatsapp-widget-header { display: flex; align-items: center; gap: 10px; padding: 17px 18px; background: #134d3e; color: #fff; }
.whatsapp-widget-brand-icon { width: 35px; height: 35px; flex: 0 0 35px; border-radius: 10px; background: rgba(255,255,255,.12); display: grid; place-items: center; font-size: 25px; font-weight: 800; color: #8ad3b2; }
.whatsapp-widget-header > div { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.whatsapp-widget-header strong { font-size: 14px; letter-spacing: .04em; }
.whatsapp-widget-header > div span { font-size: 8px; color: #b7d8c9; letter-spacing: .12em; font-weight: 800; }
.whatsapp-widget-close { width: 32px; height: 32px; flex: 0 0 32px; margin-left: auto; border: 1px solid rgba(255,255,255,.27); border-radius: 50%; background: transparent; color: #fff; font-size: 23px; line-height: 1; cursor: pointer; }
.whatsapp-widget-close:hover { background: rgba(255,255,255,.12); }
.whatsapp-widget-content { padding: 24px 24px 23px; }
.whatsapp-widget-eyebrow { color: #4f9475; font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.whatsapp-widget-content h3 { font-family: 'DM Serif Display',Georgia,serif; font-size: 30px; line-height: 1.15; font-weight: 400; margin: 9px 0 12px; color: #173c30; }
.whatsapp-widget-content > p:not(.whatsapp-widget-footnote) { color: #6a7d72; font-size: 12px; line-height: 1.8; margin: 0 0 21px; }
.whatsapp-widget-link { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; min-height: 50px; padding: 14px 17px; background: #174e3e; color: #fff; border-radius: 9px; font-size: 12px; font-weight: 800; }
.whatsapp-widget-link:hover { background: #0d372b; }
.whatsapp-widget-link span { font-size: 19px; font-weight: 400; }
.whatsapp-widget-footnote { margin: 14px 0 0; font-size: 10px; line-height: 1.6; color: #86998e; text-align: center; }
@media (max-width: 600px) {
  .whatsapp-widget { right: max(14px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }
  .whatsapp-widget-toggle { width: 61px; min-height: 61px; border-radius: 50%; padding: 14px; }
  .whatsapp-widget-toggle span { display: none; }
  .whatsapp-widget-toggle svg { width: 30px; height: 30px; flex-basis: 30px; }
  .whatsapp-widget-panel { max-height: calc(100dvh - 105px); }
}

/* Suscripción Brevo: botón manual + ventana automática a los 25 s. */
.subscription-dialog {
  color: var(--ink);
  background: #e6f1e9;
  width: min(720px, calc(100vw - 32px));
  height: min(850px, calc(100dvh - 32px));
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  border: 1px solid #d9e6dd;
  border-radius: 22px;
  box-shadow: 0 38px 120px rgba(8, 34, 28, .4);
  overflow: hidden;
}
.subscription-dialog::backdrop { background: rgba(7, 29, 24, .72); backdrop-filter: blur(5px); }
.subscription-shell { height: 100%; display: flex; flex-direction: column; min-height: 0; }
.subscription-header { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 19px 25px; background: #fff; border-bottom: 1px solid #d9e6dd; }
.subscription-heading { display: flex; align-items: center; gap: 14px; min-width: 0; }
.subscription-mark { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 12px; background: #e6f1e9; display: grid; place-items: center; color: #2a9068; font-size: 33px; font-weight: 800; }
.subscription-eyebrow { color: #4e886e; font-size: 9px; font-weight: 800; letter-spacing: .11em; }
.subscription-header h2 { font-size: clamp(22px, 3vw, 28px); line-height: 1.15; margin: 4px 0 0; }
.subscription-close { width: 42px; height: 42px; flex: 0 0 42px; border: 1px solid #d9e6dd; border-radius: 50%; background: #fff; color: #315648; font-size: 27px; cursor: pointer; }
.subscription-close:hover { background: #e6f1e9; }
.subscription-intro { margin: 0; background: #fff; color: #667c70; padding: 11px 26px 15px; font-size: 12px; line-height: 1.65; }
.subscription-frame-wrap { flex: 1; min-height: 0; overflow: hidden; background: #e6f1e9; }
.subscription-frame-wrap iframe { display: block; width: 100%; height: 100%; min-height: 0; border: 0; background: transparent; }
.subscription-footer { display: flex; align-items: center; justify-content: center; gap: 8px; background: #fff; border-top: 1px solid #d9e6dd; color: #668478; padding: 12px 20px; font-size: 10px; line-height: 1.3; text-align: center; }
.subscription-footer span { font-size: 17px; color: #4e886e; }

@media (max-width: 600px) {
  .subscription-dialog { width: 100vw; height: 100dvh; border: 0; border-radius: 0; }
  .subscription-header { padding: 13px 15px; }
  .subscription-heading { gap: 9px; }
  .subscription-mark { width: 34px; height: 34px; flex-basis: 34px; font-size: 27px; }
  .subscription-header h2 { font-size: 21px; }
  .subscription-eyebrow { font-size: 8px; }
  .subscription-close { width: 37px; height: 37px; flex-basis: 37px; }
  .subscription-intro { padding: 9px 16px 12px; }
  .subscription-footer { padding: 9px 15px; font-size: 9px; }
}

/* Cotizador externo: ventana integrada con alternativa segura */
html.modal-open { overflow: hidden; }
.quote-dialog { width: min(1250px, calc(100vw - 38px)); height: min(850px, calc(100dvh - 38px)); max-width: none; max-height: none; margin: auto; padding: 0; border: 0; border-radius: 20px; background: #fff; box-shadow: 0 38px 120px rgba(8, 34, 28, .38); overflow: hidden; color: var(--ink); }
.quote-dialog::backdrop { background: rgba(7, 29, 24, .73); backdrop-filter: blur(5px); }
.quote-dialog-shell { height: 100%; display: flex; flex-direction: column; min-height: 0; }
.quote-dialog-header { flex: 0 0 77px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 25px; background: #f9faf7; border-bottom: 1px solid #e4ece5; }
.quote-dialog-heading { display: flex; align-items: center; gap: 14px; min-width: 0; }
.quote-header-mark { width: 42px; height: 42px; background: #e7f2e9; border-radius: 12px; display: grid; place-items: center; color: var(--green-bright); font-size: 30px; font-weight: 800; letter-spacing: -.11em; padding-right: 4px; }
.quote-dialog-eyebrow { color: #62917b; font-size: 9px; letter-spacing: .15em; font-weight: 800; }
.quote-dialog-header h2 { font-size: 25px; margin: 2px 0 0; line-height: 1.1; }
.quote-close { flex: 0 0 42px; width: 42px; height: 42px; border: 1px solid #d8e3da; background: #fff; border-radius: 50%; color: #426552; font-size: 28px; line-height: 1; cursor: pointer; }
.quote-close:hover { background: #edf5ed; }
.quote-dialog-body { display: grid; grid-template-columns: 290px minmax(0,1fr); flex: 1; min-height: 0; }
.quote-dialog-aside { background: #fff; padding: 27px 24px; overflow-y: auto; display: flex; flex-direction: column; align-items: stretch; }
.quote-aside-label { font-size: 9px; letter-spacing: .16em; font-weight: 800; color: #7c9987; margin-bottom: 12px; }
.quote-insurer-name { display: inline-flex; align-self: flex-start; border-radius: 30px; background: #e9f2ea; color: var(--green-bright); padding: 7px 12px; font-size: 10px; font-weight: 800; margin-bottom: 13px; }
.quote-dialog-aside h3 { font-family: 'DM Serif Display',Georgia,serif; font-size: 31px; line-height: 1.1; font-weight: 400; margin: 0 0 10px; }
.quote-dialog-aside > p { font-size: 11px; color: #728479; line-height: 1.8; margin-bottom: 21px; }
.quote-selected-price { background: #f3f6f1; border-radius: 10px; padding: 16px; display: grid; gap: 5px; margin-bottom: 20px; }
.quote-selected-price span { color: #89998b; font-size: 9px; text-transform: uppercase; font-weight: 800; letter-spacing: .06em; }
.quote-selected-price strong { font-size: 23px; color: var(--green); }
.quote-security-note { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 21px; }
.quote-security-icon { width: 26px; height: 26px; flex: 0 0 26px; border: 1px solid #d9e7dd; color: #47866b; border-radius: 50%; display: grid; place-items: center; font-weight: 800; }
.quote-security-note p { color: #718479; font-size: 10px; line-height: 1.8; margin: 0; }
.quote-open-official { background: var(--green); color: #fff; min-height: 47px; width: 100%; font-size: 11px; padding-inline: 14px; justify-content: space-between; }
.quote-open-official:hover { background: #0b352b; }
.quote-pdf-link { color: #4c8269; text-decoration: underline; text-underline-offset: 4px; font-size: 10px; font-weight: 800; text-align: center; padding: 17px 0 4px; }
.quote-viewer { display: flex; flex-direction: column; min-height: 0; background: #f0f4f0; border-left: 1px solid #dbe6de; }
.quote-viewer-bar { flex: 0 0 40px; display: flex; align-items: center; gap: 10px; padding: 0 17px; border-bottom: 1px solid #dfe8e0; color: #718478; font-size: 10px; font-weight: 800; }
.quote-viewer-dots { display: flex; gap: 4px; }
.quote-viewer-dots i { width: 7px; height: 7px; display: block; border-radius: 50%; background: #cadcd0; }
.quote-viewer-dots i:first-child { background: #c4a77a; }
.quote-viewer-lock { margin-left: auto; }
.quote-preview { flex: 1; min-height: 0; }
.quote-preview[hidden] { display: none; }
.quote-preview { display: flex; overflow-y: auto; background: #fbfcf8; }
.quote-preview-illustration { flex: 0 0 35%; min-height: 100%; background: linear-gradient(145deg,#dce9db 0%,#a6c7ac 48%,#4a7a64 100%); position: relative; display: grid; place-items: center; overflow: hidden; }
.quote-preview-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 45% 35%; }
#quote-preview-life-photo { object-position: 51% 32%; }
#quote-preview-protected-photo { object-position: 50% 35%; }
#quote-preview-lafise-photo { object-position: 50% 36%; }
.quote-preview-photo[hidden] { display: none; }
.quote-preview-illustration.has-photo .quote-preview-rings, .quote-preview-illustration.has-photo .quote-preview-heart { display: none; }
.quote-preview-illustration.has-photo::after { content: ''; position: absolute; inset: 65% 0 0; background: linear-gradient(transparent,rgba(9,42,31,.56)); pointer-events: none; }
.quote-preview-rings, .quote-preview-rings::before, .quote-preview-rings::after { content: ''; position: absolute; width: 260px; height: 260px; border: 1px solid rgba(255,255,255,.52); border-radius: 50%; }
.quote-preview-rings::before { width: 190px; height: 190px; top: 35px; left: 35px; }
.quote-preview-rings::after { width: 330px; height: 330px; top: -36px; left: -36px; }
.quote-preview-heart { position: relative; z-index: 1; color: #fffdf3; font-size: 170px; line-height: 1; font-family: Georgia,serif; font-weight: 400; text-shadow: 0 16px 30px rgba(25,73,51,.12); }
.quote-preview-art-caption { position: absolute; z-index: 2; bottom: 30px; left: 22px; right: 22px; color: rgba(255,255,255,.92); font-size: 10px; letter-spacing: .16em; font-weight: 800; text-align: center; }
.quote-preview-content { flex: 1; min-width: 0; padding: clamp(22px,3vw,44px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.quote-preview-eyebrow { color: #559077; font-size: 10px; letter-spacing: .16em; font-weight: 800; }
.quote-preview-content h3 { color: var(--ink); font-family: 'DM Serif Display',Georgia,serif; font-weight: 400; font-size: clamp(30px,3.3vw,50px); line-height: 1.06; margin: 13px 0 18px; }
.quote-preview-content h3 em { color: #518a6c; font-style: italic; }
.quote-preview-content > p:not(.quote-preview-help) { color: #627a6d; font-size: 13px; line-height: 1.8; margin: 0 0 20px; }
.quote-benefit-panel { width: 100%; border-top: 1px solid #dfebdf; padding-top: 17px; }
.quote-benefit-panel > span { font-size: 9px; color: #799585; letter-spacing: .12em; font-weight: 800; }
.quote-benefit-panel ul { list-style: none; margin: 12px 0 22px; padding: 0; display: grid; gap: 11px; }
.quote-benefit-panel li { color: #425d4e; font-size: 12px; line-height: 1.5; display: flex; align-items: flex-start; gap: 8px; }
.quote-benefit-panel li::before { content: '✓'; font-size: 13px; font-weight: 800; color: #5c9977; flex: 0 0 auto; }
.quote-preview-actions { display: flex; width: 100%; gap: 11px; flex-wrap: wrap; }
.quote-preview-primary { background: var(--green); color: #fff; min-height: 45px; flex: 1 1 180px; padding: 12px 14px; font-size: 11px; justify-content: space-between; }
.quote-preview-primary:hover { background: #0b352b; }
.quote-preview-secondary { flex: 1 1 155px; min-height: 45px; border: 1px solid #abc6b5; background: transparent; color: var(--green); border-radius: 8px; padding: 11px 13px; font: inherit; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: space-between; gap: 8px; cursor: pointer; }
.quote-preview-secondary:hover { background: #edf5ed; }
.quote-preview-help { margin: 14px 0 0; color: #839589; font-size: 10px; line-height: 1.65; }
.quote-viewer-notice { display: flex; align-items: flex-start; gap: 10px; padding: 14px 19px; border-top: 1px solid #dce7dd; background: #f6faf5; }
.quote-viewer-notice > span { color: #b28f59; font-size: 20px; line-height: 1; }
.quote-viewer-notice p { margin: 0; color: #65796c; font-size: 10.5px; line-height: 1.7; }
.quote-viewer-notice em { color: var(--green); font-weight: 800; font-style: normal; }

@media (max-width: 1100px) {
  .site-nav { gap: 17px; }
  .site-nav > a:not(.button) { font-size: 11px; }
  .hero-grid { gap: 35px; }
  .hero h1 { font-size: clamp(52px,6vw,72px); }
  .insurance-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hero-facts { margin-top: 36px; }
  .trust-logos { gap: 26px; }
  .contact-shell { padding: 55px 52px; }
}

@media (max-width: 800px) {
  .wrap { width: min(100% - 38px, 620px); }
  .topbar-right { display: none !important; }
  section { scroll-margin-top: 112px; }
  .header-inner { min-height: 100px; }
  .brand-logo { width: 145px; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #f8f7f2; box-shadow: 0 16px 30px rgba(12,44,35,.1); border-bottom: 1px solid #e3e8e2; padding: 24px 24px 28px; flex-direction: column; align-items: stretch; gap: 22px; }
  .site-nav.open { display: flex; }
  .site-nav > a:not(.button) { font-size: 14px; }
  .button-nav { justify-content: center; }
  .menu-toggle { display: flex; flex-direction: column; gap: 5px; justify-content: center; width: 42px; height: 42px; border: 1px solid #d7e3d9; background: #fff; border-radius: 8px; padding: 10px; }
  .menu-toggle span { height: 2px; width: 100%; background: #245647; border-radius: 3px; }
  .hero { padding: 52px 0 56px; }
  .hero-grid { display: flex; flex-direction: column; gap: 49px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(52px,10vw,70px); max-width: 620px; }
  .hero-description { max-width: 590px; }
  .hero-facts { max-width: 590px; }
  .hero-visual { width: 100%; min-height: auto; }
  .hero-visual > img { height: min(520px,70vw); min-height: 340px; border-radius: 145px 145px 16px 16px; }
  .hero-photo-label { left: 16px; bottom: 15px; }
  .trust-content { flex-direction: column; align-items: flex-start; justify-content: center; padding: 18px 0; gap: 14px; }
  .trust-intro { min-width: 0; }
  .trust-logos { width: 100%; justify-content: space-between; }
  .intro-section { padding: 46px 0 75px; }
  .steps-section { padding: 34px 0 40px; }
  .faq-section { padding: 75px 0; }
  .section-heading { flex-direction: column; align-items: start; gap: 17px; }
  .section-heading > p { max-width: 620px; }
  .values-section { padding: 75px 0; }
  .values-grid { display: flex; flex-direction: column; align-items: stretch; gap: 30px; }
  .values-heading h2 { max-width: 610px; }
  .steps-heading { align-items: flex-start; gap: 13px; }
  .steps-grid { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 25px; row-gap: 27px; margin-top: 24px; }
  .step:nth-child(5) { grid-column: 1 / -1; justify-self: center; width: 100%; max-width: 550px; }
  .contact-section { padding: 0 0 75px; }
  .contact-shell { flex-direction: column; align-items: flex-start; }
  .contact-action { justify-items: start; }
  .faq-grid { display: flex; flex-direction: column; gap: 25px; }
  .footer-main { grid-template-columns: 1.2fr 1fr; gap: 38px; }
  .footer-main > div:last-child { grid-column: 2; }
  .quote-dialog { width: calc(100vw - 20px); height: calc(100dvh - 20px); }
  .quote-dialog-body { grid-template-columns: 235px minmax(0,1fr); }
  .quote-dialog-aside { padding: 19px 15px; }
  .quote-dialog-aside h3 { font-size: 26px; }
  .quote-security-note { display: none; }
  .quote-preview-illustration { flex-basis: 25%; }
  .quote-preview-heart { font-size: 100px; }
  .quote-preview-content { padding: 22px; }
  .quote-preview-content h3 { font-size: 34px; }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .topbar { font-size: 9px; }
  section { scroll-margin-top: 100px; }
  .header-inner { min-height: 88px; }
  .brand-logo { width: 127px; }
  .brand-footer .brand-logo { width: 220px; }
  .hero h1 { font-size: 51px; }
  .hero-description { font-size: 13px; }
  .hero-actions { align-items: stretch; gap: 17px; }
  .hero-actions .button { width: 100%; justify-content: space-between; }
  .hero-actions .text-link { padding: 4px 0; }
  .hero-facts { margin-top: 37px; gap: 8px; }
  .hero-facts > div { align-items: flex-start; gap: 5px; font-size: 9px; }
  .fact-symbol { flex-basis: 23px; width: 23px; height: 23px; font-size: 13px; }
  .hero-visual > img { min-height: 315px; height: 88vw; max-height: 440px; object-position: right center; border-radius: 120px 120px 15px 15px; }
  .hero-photo-label { padding: 12px; gap: 8px; font-size: 10px; }
  .hero-photo-label strong { font-size: 12px; }
  .hero-photo-icon { flex-basis: 31px; height: 31px; font-size: 20px; }
  .trust-logos { gap: 16px; }
  .trust-logo { gap: 5px; font-size: 10px; }
  .trust-logo img { max-width: 38px; max-height: 34px; }
  .trust-protection img { max-width: 108px; max-height: 41px; }
  .section-heading h2, .values-heading h2, .faq-grid h2 { font-size: 41px; }
  .catalog-controls { flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 32px; }
  .filter-buttons { width: 100%; }
  .filter-button { padding: 11px 15px; font-size: 10px; }
  .insurance-grid { grid-template-columns: 1fr; gap: 17px; }
  .insurance-card { padding: 23px 22px 0; }
  .card-description { min-height: auto; }
  .values-cards { grid-template-columns: 1fr; }
  .value-card { min-height: 225px; }
  .steps-grid { display: block; }
  .step, .step:nth-child(5) { width: 100%; max-width: none; padding: 0 0 23px 59px; margin-bottom: 23px; border-left: 0; border-bottom: 1px solid #e3ebe4; }
  .step:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
  .step-number { position: absolute; left: 0; top: 0; width: 42px; height: 42px; margin: 0; }
  .contact-shell { padding: 46px 29px; border-radius: 16px; }
  .contact-copy h2 { font-size: 40px; }
  .contact-action { width: 100%; }
  .contact-action .button { width: 100%; }
  .faq-items summary { font-size: 12px; }
  .footer { padding-top: 55px; }
  .footer-main { grid-template-columns: 1fr; gap: 29px; padding-bottom: 35px; }
  .footer-main > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .footer-bottom p:last-child { text-align: left; }
  .quote-dialog { width: 100vw; height: 100dvh; border-radius: 0; }
  .quote-dialog-header { flex-basis: 65px; padding: 10px 15px; }
  .quote-header-mark { width: 35px; height: 35px; font-size: 25px; }
  .quote-dialog-header h2 { font-size: 22px; }
  .quote-dialog-eyebrow { font-size: 8px; }
  .quote-close { width: 36px; height: 36px; flex-basis: 36px; font-size: 25px; }
  .quote-dialog-body { display: flex; flex-direction: column; }
  .quote-dialog-aside { flex: 0 0 auto; overflow: visible; padding: 15px 17px 13px; }
  .quote-aside-label, .quote-dialog-aside > p, .quote-selected-price, .quote-security-note { display: none; }
  .quote-insurer-name { margin-bottom: 5px; padding: 5px 9px; font-size: 9px; }
  .quote-dialog-aside h3 { font-size: 22px; margin-bottom: 10px; }
  .quote-open-official { min-height: 43px; }
  .quote-pdf-link { padding: 10px 0 0; font-size: 9px; }
  .quote-viewer { flex: 1; min-height: 0; border-left: 0; border-top: 1px solid #dbe6de; }
  .quote-viewer-bar { flex-basis: 34px; font-size: 9px; padding: 0 12px; }
  .quote-preview { flex-direction: column; }
  .quote-preview-illustration { flex: 0 0 78px; min-height: 78px; }
  .quote-preview-illustration.has-photo { flex-basis: 130px; min-height: 130px; }
  .quote-preview-illustration.has-photo .quote-preview-photo { object-position: 45% 28%; }
  .quote-preview-illustration.has-photo #quote-preview-life-photo { object-position: 51% 33%; }
  .quote-preview-illustration.has-photo #quote-preview-protected-photo { object-position: 50% 31%; }
  .quote-preview-illustration.has-photo #quote-preview-lafise-photo { object-position: 50% 35%; }
  .quote-preview-rings, .quote-preview-rings::before, .quote-preview-rings::after { width: 110px; height: 110px; }
  .quote-preview-rings::before { width: 80px; height: 80px; top: 15px; left: 15px; }
  .quote-preview-rings::after { width: 140px; height: 140px; top: -15px; left: -15px; }
  .quote-preview-heart { font-size: 75px; }
  .quote-preview-art-caption { bottom: 7px; font-size: 7px; }
  .quote-preview-content { padding: 17px 18px 25px; justify-content: flex-start; }
  .quote-preview-eyebrow { font-size: 8px; }
  .quote-preview-content h3 { font-size: 28px; margin: 6px 0 8px; }
  .quote-preview-content > p:not(.quote-preview-help) { font-size: 11px; margin-bottom: 12px; }
  .quote-benefit-panel { padding-top: 10px; }
  .quote-benefit-panel ul { gap: 6px; margin: 8px 0 12px; }
  .quote-benefit-panel li { font-size: 10px; }
  .quote-preview-actions { gap: 7px; }
  .quote-preview-primary, .quote-preview-secondary { min-height: 40px; font-size: 10px; }
  .quote-preview-help { margin-top: 9px; font-size: 9px; }
  .quote-viewer-notice { padding: 10px 13px; gap: 7px; }
  .quote-viewer-notice p { font-size: 9px; line-height: 1.55; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


/* Institucional: one additional homepage menu item on desktop */
@media(min-width:801px) { .site-nav { gap: 18px; } }

/* Versión 1.2.5 · nuevas páginas institucionales accesibles desde la portada */
.inseco-nav-dropdown { position: relative; color: #3b5148; font-size:12px; font-weight:700; }
.inseco-nav-dropdown summary { list-style: none; cursor: pointer; padding: 12px 0; white-space:nowrap; }
.inseco-nav-dropdown summary::-webkit-details-marker { display:none; }
.inseco-nav-dropdown summary::after { content:"⌄"; margin-left:6px; color:#2c775d; }
.inseco-nav-dropdown-panel { position: absolute; z-index:55; top:calc(100% + 4px); right:-25px; width:220px; padding:10px; background:#fff; border:1px solid #dce6dc; border-radius:15px; box-shadow:0 18px 35px rgba(10,38,28,.13); }
.inseco-nav-dropdown-panel a { display:block; padding:12px 13px; color:#25483b; font-size:12px; border-radius:8px; }
.inseco-nav-dropdown-panel a:hover,.inseco-nav-dropdown-panel a:focus { background:#eaf2eb; color:#164c40; }
.inseco-editorial { background: #f1f3ee; border-top:1px solid #e5ece4; border-bottom:1px solid #e0e8df; padding: 72px 0 78px; }
.inseco-editorial-head { display:flex; gap:40px; justify-content:space-between; align-items:end; margin-bottom:32px; }
.inseco-editorial-eyebrow { font-size:11px; color:#2e866a; text-transform:uppercase; font-weight:800; letter-spacing:.17em; margin:0 0 12px; }
.inseco-editorial-head h2 { font-family:'DM Serif Display',Georgia,serif; font-size:clamp(34px,4vw,58px); font-weight:400; color:#17382e; line-height:1.08; letter-spacing:-.025em; max-width:650px; margin:0; }
.inseco-editorial-head h2 em { color:#568f70; }
.inseco-editorial-head > p { color:#567065; line-height:1.8; font-size:14px; max-width:360px; margin:0; }
.inseco-editorial-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.inseco-editorial-card { display:flex; flex-direction:column; min-height:225px; border-radius:16px; border:1px solid #e1e7df; background:#fff; padding:27px 22px 21px; transition: transform .2s,box-shadow .2s; }
.inseco-editorial-card:hover,.inseco-editorial-card:focus-visible { transform:translateY(-4px); box-shadow:0 15px 30px rgba(20,62,45,.1); }
.inseco-editorial-num { color:#4c9473; font-size:11px; font-weight:800; letter-spacing:.15em; }
.inseco-editorial-card h3 { font-family:'DM Serif Display',Georgia,serif; font-size:23px; font-weight:400; line-height:1.15; margin:21px 0 9px; color:#17382e; }
.inseco-editorial-card p { font-size:12px; color:#61766b; line-height:1.7; margin:0 0 18px; }
.inseco-editorial-card .arrow { margin-top:auto; color:#1b684f; font-size:17px; }
@media(max-width:1100px){ .inseco-editorial-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:800px){ .inseco-nav-dropdown { font-size:14px; } .inseco-nav-dropdown summary { padding:0; } .inseco-nav-dropdown-panel { position:static; width:100%; margin-top:12px; background:#f0f5ef; box-shadow:none; } .inseco-editorial-head { display:block; } .inseco-editorial-head > p { margin-top:19px; } .inseco-editorial { padding:48px 0 55px; } }
@media(max-width:500px){ .inseco-editorial-grid { grid-template-columns:1fr; } .inseco-editorial-card { min-height:0; padding:24px 22px; } }

/* INSECOCR 1.2.6 - navegación institucional accesible directamente. */
@media(min-width:1051px) {
  .site-nav { gap:clamp(9px,1.04vw,17px); }
  .site-nav > a:not(.button) { white-space:nowrap; font-size:clamp(10px,.92vw,12px); }
  .site-nav .button-nav { padding-inline:14px; }
}
@media(min-width:1051px) and (max-width:1220px) {
  .site-header .brand-logo { width:155px; }
}
/* Desde tablet horizontal se usa menú desplegable para evitar cortar enlaces. */
@media(max-width:1050px) {
  .site-nav { display:none; position:absolute; top:100%; left:0; right:0;
    background:#f8f7f2; box-shadow:0 16px 30px rgba(12,44,35,.1);
    border-bottom:1px solid #e3e8e2; padding:22px max(24px,calc((100vw - 1180px)/2)) 25px;
    flex-direction:column; align-items:stretch; gap:19px;
    max-height:calc(100dvh - 100px); overflow-y:auto; }
  .site-nav.open {display:flex;}
  .site-nav > a:not(.button) {font-size:14px;}
  .site-nav .button-nav {justify-content:center;}
  .menu-toggle {display:flex; flex-direction:column; gap:5px; justify-content:center;
    width:42px; height:42px; border:1px solid #d7e3d9; background:#fff;
    border-radius:8px; padding:10px; cursor:pointer; }
  .menu-toggle span {height:2px; width:100%; background:#245647; border-radius:3px;}
}
