/* =========================================================
   SGS Multigestión Personalizada — Home moderna
   ========================================================= */

:root {
    --navy: #2b3270;
    --navy-700: #384183;   /* azul del logo */
    --navy-900: #1b2050;
    --green: #3da245;      /* verde del logo */
    --green-700: #2f8337;
    --ink: #1d2033;
    --muted: #5d6178;
    --line: #e4e3dd;
    --paper: #ffffff;
    --cream: #f6f5f0;
    --radius: 18px;
    --shadow: 0 1px 2px rgba(27, 32, 80, .06), 0 12px 32px -12px rgba(27, 32, 80, .18);
    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
b { font-weight: 700; color: var(--navy-900); }

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--navy-900);
    margin: 0 0 .55em;
}
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.sr-only {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
}

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }

/* ---------- Botones ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font: 700 15px/1 var(--font-body);
    padding: 15px 26px;
    border-radius: 999px;
    border: 0;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 6px 18px -8px rgba(43, 50, 112, .7); }
.btn-primary:hover { background: var(--navy-900); }
.btn-sm { padding: 10px 20px; font-size: 14.5px; }

/* ---------- Cabecera ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(27, 32, 80, .5); }

.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 24px; }
.brand { flex: none; }
.brand img { width: 200px; height: auto; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.main-nav a {
    display: block;
    padding: 8px 11px;
    font-size: 15px;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
    border-radius: 8px;
    white-space: nowrap;
    transition: color .2s, background-color .2s;
}
.main-nav a:hover { color: var(--navy); background: var(--cream); }
.main-nav a[aria-current="page"] { color: var(--navy); }
.main-nav .nav-cta { margin-left: 8px; }
.main-nav .nav-cta a { background: var(--navy); color: #fff; padding: 11px 18px; border-radius: 999px; }
.main-nav .nav-cta a:hover { background: var(--navy-900); color: #fff; }

.nav-toggle {
    display: none;
    width: 46px; height: 46px;
    border: 1px solid var(--line); border-radius: 12px;
    background: #fff; cursor: pointer; position: relative;
}
.nav-toggle .bars,
.nav-toggle .bars::before,
.nav-toggle .bars::after {
    position: absolute; left: 50%; width: 20px; height: 2px; margin-left: -10px;
    background: var(--navy); border-radius: 2px; transition: transform .25s, background-color .2s;
}
.nav-toggle .bars { top: 50%; margin-top: -1px; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; left: 0; margin-left: 0; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }
.is-open .nav-toggle .bars { background: transparent; }
.is-open .nav-toggle .bars::before { transform: translateY(6px) rotate(45deg); }
.is-open .nav-toggle .bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Carrusel destacado ---------- */
.hero {
    padding: 48px 0 64px;
    background:
        radial-gradient(900px 420px at 92% 10%, rgba(61, 162, 69, .10), transparent 60%),
        radial-gradient(700px 400px at 0% 100%, rgba(56, 65, 131, .08), transparent 60%),
        var(--cream);
}

.slides { display: grid; }
.slide {
    grid-area: 1 / 1;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .6s ease, visibility 0s linear .6s;
}
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .6s ease, visibility 0s; }

.slide-copy h2 {
    font-size: clamp(32px, 4.2vw, 52px);
    letter-spacing: -0.005em;
}
.slide-copy p { font-size: 18px; color: var(--muted); max-width: 36em; }
.slide-copy .btn { margin-top: 10px; }

.slide-media { display: block; position: relative; }
.slide-media img {
    width: 100%;
    aspect-ratio: 954 / 520;
    object-fit: cover;
    border-radius: 26px;
    box-shadow: var(--shadow);
    transform: scale(.985);
    transition: transform 6s ease;
}
.slide.is-active .slide-media img { transform: scale(1); }

.switcher {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 48px;
}
.switch {
    position: relative;
    display: flex; align-items: center; gap: 14px;
    padding: 12px 16px 12px 12px;
    text-align: left;
    font: inherit; color: inherit;
    background: rgba(255, 255, 255, .7);
    border: 1px solid var(--line);
    border-radius: 16px;
    cursor: pointer;
    overflow: hidden;
    transition: background-color .2s, border-color .2s, box-shadow .2s;
}
.switch:hover { background: #fff; }
.switch.is-active { background: #fff; border-color: transparent; box-shadow: var(--shadow); }
.switch img { flex: none; width: 60px; height: 60px; border-radius: 12px; object-fit: cover; }
.switch-text { min-width: 0; }
.switch-text strong { display: block; font-size: 13px; letter-spacing: .06em; color: var(--navy-900); line-height: 1.3; margin-bottom: 3px; }
.switch-text small { display: block; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.switch-text small b { color: var(--muted); font-weight: 600; }

.switch-progress {
    position: absolute; left: 0; bottom: 0; height: 3px; width: 0;
    background: var(--green);
}
.is-playing .switch.is-active .switch-progress { animation: progress 6s linear forwards; }
@keyframes progress { from { width: 0; } to { width: 100%; } }

/* ---------- Cita ---------- */
.quote-band {
    background: var(--navy);
    background-image:
        radial-gradient(600px 300px at 85% 0%, rgba(61, 162, 69, .28), transparent 60%),
        radial-gradient(500px 300px at 0% 100%, rgba(255, 255, 255, .06), transparent 60%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}
.quote-band blockquote { margin: 0 auto; max-width: 900px; }
.quote-band p {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(26px, 3.4vw, 40px);
    line-height: 1.3;
    margin: 0;
}

/* ---------- Herencias ---------- */
.section { padding: 96px 0; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); margin: 0; }

.blurbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blurb {
    display: flex; flex-direction: column;
    padding: 32px 30px 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-top: 4px solid var(--green);
    border-radius: var(--radius);
    transition: box-shadow .25s, transform .25s;
}
.blurb:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.blurb h3 { font-size: 23px; }
.blurb p { font-size: 15.5px; color: var(--muted); }
.blurb p:last-of-type { flex: 1; }
.more {
    align-self: flex-start;
    font-weight: 700; font-size: 15px; color: var(--navy);
    text-decoration: none;
    border-bottom: 2px solid rgba(61, 162, 69, .5);
    padding-bottom: 2px;
    transition: border-color .2s;
}
.more:hover { border-color: var(--green); }

main { flex: 1 0 auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--cream); border-top: 1px solid var(--line); padding: 32px 0; font-size: 14.5px; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; }
.footer-inner p { margin: 0; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-inner a { text-decoration: none; color: var(--navy); font-weight: 600; }
.footer-inner a:hover { text-decoration: underline; }

/* ---------- Cookies ---------- */
.cookie-bar {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
    max-width: 760px; margin: 0 auto;
    display: flex; align-items: center; gap: 20px;
    padding: 16px 18px 16px 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 20px 50px -20px rgba(27, 32, 80, .45);
    font-size: 14.5px; color: var(--muted);
}
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; flex: 1; }
.cookie-bar a { color: var(--navy); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
    .main-nav a { padding: 8px 7px; font-size: 14px; }
    .brand img { width: 170px; }
}

@media (max-width: 1100px) {
    .nav-toggle { display: block; }
    .main-nav {
        position: absolute; left: 0; right: 0; top: 100%;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 20px 30px -20px rgba(27, 32, 80, .35);
        display: none;
    }
    .is-open .main-nav { display: block; }
    .main-nav ul { flex-direction: column; align-items: stretch; padding: 12px 24px 24px; gap: 2px; }
    .main-nav a { padding: 13px 8px; font-size: 16px; }
    .main-nav .nav-cta { margin: 12px 0 0; }
    .main-nav .nav-cta a { text-align: center; }
}

@media (max-width: 960px) {
    .slide { grid-template-columns: 1fr; gap: 28px; align-content: start; }
    .slide-media { order: -1; }
    .switcher { grid-template-columns: 1fr; gap: 10px; margin-top: 32px; }
    .switch-text small { display: none; }
    .blurbs { grid-template-columns: 1fr; }
    .section { padding: 72px 0; }
}

@media (max-width: 600px) {
    body { font-size: 16px; }
    .container { padding: 0 16px; }
    .header-inner { min-height: 70px; }
    .brand img { width: 150px; }
    .hero { padding: 24px 0 48px; }
    .slide-media img { border-radius: 18px; }
    .slide-copy p { font-size: 16.5px; }
    .slide-copy .btn { width: 100%; }
    .switch img { width: 48px; height: 48px; }
    .quote-band { padding: 60px 0; }
    .blurb { padding: 26px 22px 24px; }
    .cookie-bar { flex-direction: column; align-items: stretch; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* =========================================================
   Páginas interiores
   ========================================================= */

.page-hero {
    padding: 64px 0 56px;
    background:
        radial-gradient(800px 360px at 95% 0%, rgba(61, 162, 69, .12), transparent 60%),
        radial-gradient(600px 320px at 0% 100%, rgba(56, 65, 131, .08), transparent 60%),
        var(--cream);
    border-bottom: 1px solid var(--line);
}
.page-hero h1 {
    font-size: clamp(32px, 4.4vw, 54px);
    margin: 0;
    max-width: 22ch;
}
.page-hero h1::after {
    content: "";
    display: block;
    width: 56px; height: 4px;
    margin-top: 22px;
    border-radius: 4px;
    background: var(--green);
}

.page { padding: 64px 0 96px; }

.page-grid.has-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.page-main > :not(:first-child) { margin-top: 32px; }

/* Texto */
.prose { max-width: 70ch; }
.prose p { color: var(--muted); }
.prose p:last-child { margin-bottom: 0; }
.prose .lead-p { font-size: 19px; line-height: 1.6; color: var(--ink); }
.prose a { color: var(--navy); font-weight: 600; }
.prose-narrow { margin-top: 32px; }
.h-small { font-family: var(--font-body); font-size: 15px; font-weight: 800; letter-spacing: .06em; text-transform: none; color: var(--green-700); margin-bottom: 10px; }

/* Imágenes */
.media-wide { margin: 0; }
.media-wide img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); }
.media-card { margin: 0; }
.media-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); }

.intro-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.intro-split-portrait { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.intro-split-portrait .media-card img { aspect-ratio: 4 / 5; }

.intro-icon { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 36px; align-items: start; }
.icon-tile {
    display: grid; place-items: center;
    width: 132px; height: 132px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
}
.icon-tile img { width: 100%; height: 100%; object-fit: contain; }
.icon-tile-lg { float: right; width: 120px; height: 120px; margin: 0 0 16px 24px; }

/* Listas con check */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px 32px; }
.checklist.cols-2 { display: block; columns: 2; column-gap: 40px; }
.checklist.cols-2 > li { break-inside: avoid; margin-bottom: 12px; }
.checklist.cols-2 > li:last-child { margin-bottom: 0; }
.checklist > li {
    position: relative;
    padding-left: 34px;
    line-height: 1.5;
    color: var(--ink);
}
.checklist > li::before {
    content: "";
    position: absolute; left: 0; top: 1px;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: rgba(61, 162, 69, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%232f8337' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.sublist { list-style: none; margin: 10px 0 2px; padding: 0; display: grid; gap: 6px; }
.sublist li { position: relative; padding-left: 18px; color: var(--muted); font-size: 15.5px; }
.sublist li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--navy-700); opacity: .55; }

.arrowlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.arrowlist li { position: relative; padding-left: 28px; }
.arrowlist li::before {
    content: ""; position: absolute; left: 0; top: .45em;
    width: 14px; height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23b4471f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Cajas */
.services-box {
    margin-top: 56px;
    padding: 40px;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 24px;
}
.services-box h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 8px; }
.services-box h3 { font-family: var(--font-body); font-size: 15px; font-weight: 800; letter-spacing: .04em; color: var(--green-700); margin: 0 0 22px; }
.services-box h2 + .checklist { margin-top: 24px; }
.services-box-tight { margin-top: 0; padding: 32px; }

.services-split { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: center; }
.services-img { width: 100%; max-width: 300px; border-radius: 18px; background: #fff; }

.split-list { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }

.callout {
    padding: 28px 30px;
    background: #fff;
    border: 1px solid var(--line);
    border-left: 4px solid var(--green);
    border-radius: 18px;
}
.callout h2 { font-size: 24px; }
.callout p { color: var(--muted); }
.callout .checklist { margin-top: 6px; }
.callout-title { font-family: var(--font-body); font-size: 15px !important; font-weight: 800; letter-spacing: .04em; color: var(--green-700); margin-bottom: 16px; }
.callout-warn { border-left-color: #d9783f; }
.callout-warn .callout-title { color: #b4471f; }

/* Tarjetas de la gestoría */
.feature-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 64px; }
.feature-card {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: 28px 22px 26px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    transition: box-shadow .25s, transform .25s;
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.feature-card h3 { font-size: 20px; min-height: 2.3em; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.feature-media { flex: 1; display: grid; place-items: center; width: 100%; margin-bottom: 22px; }
.feature-media img { width: 100%; max-width: 170px; aspect-ratio: 1; object-fit: contain; }

/* Columna lateral: Nuestros valores */
.aside { position: sticky; top: 108px; display: grid; gap: 20px; }
.values-card {
    padding: 30px 28px;
    background: var(--navy-900);
    background-image: radial-gradient(400px 240px at 100% 0%, rgba(61, 162, 69, .28), transparent 65%);
    color: #fff;
    border-radius: 22px;
}
.aside-title { color: #fff; font-size: 24px; margin-bottom: 22px; }
.value + .value { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); }
.value h3 { font-family: var(--font-body); font-size: 15.5px; font-weight: 800; color: #9fe0a5; margin-bottom: 6px; }
.value p { font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, .8); margin: 0; }
.aside-img { width: 100%; border-radius: 18px; border: 1px solid var(--line); }

/* Pintura */
.brandname .g { color: var(--green-700); }
.brandname .n { color: var(--navy-700); }
.closing { margin-top: 56px; text-align: center; }
.closing-link { display: inline-block; max-width: 100%; overflow-wrap: anywhere; font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; color: #e05a00; text-decoration: none; border-bottom: 2px solid rgba(224, 90, 0, .35); }
.closing-link:hover { border-bottom-color: #e05a00; }
.closing-quote { margin: 24px 0 0; font-family: var(--font-display); font-style: italic; font-size: clamp(20px, 2.2vw, 26px); color: var(--muted); }
.closing-quote span { color: #e05a00; }

/* Textos legales */
.legal { max-width: 860px; margin: 0 auto; font-size: 16px; color: var(--muted); }
.legal p { margin-bottom: 1.1em; white-space: pre-line; }
.legal h2 { font-family: var(--font-body); font-size: 15px; font-weight: 800; letter-spacing: .06em; color: var(--navy-900); margin: 40px 0 12px; }
.legal h3 { font-family: var(--font-body); font-size: 15.5px; font-weight: 700; color: var(--navy); margin: 22px 0 8px; }
.legal strong { color: var(--ink); }
.legal .u { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); font-weight: 600; }
.legal-ol { margin: 0 0 1.2em; padding-left: 28px; display: grid; gap: 8px; }

.legal-table { margin: 32px 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.lt-row { display: grid; grid-template-columns: 240px minmax(0, 1fr); }
.lt-row + .lt-row { border-top: 1px solid var(--line); }
.lt-head { padding: 18px 20px; background: var(--cream); font-weight: 700; color: var(--navy-900); font-size: 15px; }
.lt-body { padding: 18px 20px; }
.lt-body p { margin: 0; white-space: normal; font-size: 15px; }
.lt-body p + p { margin-top: 8px; }

/* Contacto */
.alert { padding: 16px 20px; border-radius: 14px; margin-bottom: 32px; font-weight: 600; }
.alert-ok { background: rgba(61, 162, 69, .12); color: var(--green-700); border: 1px solid rgba(61, 162, 69, .35); }
.alert-error { background: #fdecea; color: #a12a1a; border: 1px solid #f3b7ae; }

.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.contact-form {
    display: grid; gap: 20px;
    padding: 36px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { display: block; font-size: 14px; font-weight: 700; color: var(--navy-900); margin-bottom: 8px; }
.field input, .field textarea {
    width: 100%;
    font: 16px/1.4 var(--font-body);
    color: var(--ink);
    padding: 13px 15px;
    background: var(--cream);
    border: 1.5px solid transparent;
    border-radius: 12px;
    transition: border-color .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy-700); background: #fff; }
.check { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--navy); }
.form-actions .btn { min-width: 160px; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.contact-card {
    position: sticky; top: 108px;
    padding: 36px 30px;
    text-align: center;
    background: var(--navy-900);
    background-image: radial-gradient(400px 240px at 100% 100%, rgba(61, 162, 69, .3), transparent 65%);
    color: #fff;
    border-radius: 24px;
}
.contact-card img { width: 96px; height: auto; margin: 0 auto 22px; background: #fff; border-radius: 20px; padding: 12px; }
.contact-card address { font-style: normal; }
.contact-card p { margin: 0 0 12px; color: rgba(255, 255, 255, .85); overflow-wrap: anywhere; }
.contact-card strong { color: #fff; font-size: 18px; }
.contact-card a { color: #9fe0a5; font-weight: 600; text-decoration: none; font-size: 14px; }
.contact-card a:hover { text-decoration: underline; }

.map { margin-top: 56px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); line-height: 0; }
.map iframe { width: 100%; height: 380px; border: 0; }
.map-link { margin-top: 12px; font-size: 14.5px; }
.map-link a { color: var(--navy); font-weight: 600; }

/* Responsive páginas */
@media (max-width: 1080px) {
    .page-grid.has-aside { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
    .feature-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-layout { grid-template-columns: minmax(0, 1fr) 300px; }
}

@media (max-width: 900px) {
    .page-grid.has-aside { grid-template-columns: 1fr; }
    .aside, .contact-card { position: static; }
    .aside { grid-template-columns: 1fr; }
    .intro-split, .intro-split-portrait, .split-list, .services-split, .contact-layout { grid-template-columns: 1fr; gap: 32px; }
    .intro-split-portrait .media-card img { aspect-ratio: 4 / 3; }
    .services-img { margin: 0 auto; }
}

@media (max-width: 600px) {
    .page-hero { padding: 40px 0 36px; }
    .page { padding: 40px 0 64px; }
    .checklist.cols-2 { columns: 1; }
    .services-box { padding: 26px 20px; margin-top: 40px; }
    .intro-icon { grid-template-columns: 1fr; gap: 20px; }
    .icon-tile { width: 96px; height: 96px; padding: 12px; border-radius: 18px; }
    .icon-tile-lg { width: 88px; height: 88px; margin-left: 16px; }
    .feature-cards { grid-template-columns: 1fr; }
    .lt-row { grid-template-columns: 1fr; }
    .lt-head { padding-bottom: 10px; }
    .field-row { grid-template-columns: 1fr; }
    .contact-form { padding: 24px 18px; }
    .media-wide img { border-radius: 16px; }
}
