:root {
    --ink: #1c2430;
    --navy: #16324f;
    --navy-2: #21486f;
    --blue: #1f6fbf;
    --amber: #e36b1e;
    --amber-2: #c45612;
    --paper: #f4f6f8;
    --white: #ffffff;
    --line: #d9e0e8;
    --muted: #5c6b7a;
    --ok: #1f7a4d;
    --wa: #1f8f4e;
    --shadow: 0 16px 40px rgba(22, 50, 79, 0.08);
    --radius: 16px;
    --wrap: 1120px;
    --font: "Source Sans 3", "Segoe UI", sans-serif;
    --display: "Outfit", "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

body.siva {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.6;
}

body.siva img,
.site-header img { max-width: 100%; height: auto; }

a { color: var(--blue); }

.skip {
    position: absolute;
    left: 12px;
    top: -40px;
    background: var(--navy);
    color: white;
    padding: 8px 12px;
    z-index: 100;
}

.skip:focus { top: 12px; }

.wrap {
    width: min(var(--wrap), calc(100% - 32px));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}

.topbar {
    background: var(--navy);
    color: #e7eef6;
    font-size: 0.92rem;
}

.topbar-inner,
.header-bar,
.footer-base {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.topbar-inner { min-height: 38px; }
.topbar p { margin: 0; }
.topbar a { color: white; text-decoration: none; }
.topbar-links { display: flex; gap: 16px; }

.header-bar { min-height: 78px; }

.brand img {
    width: 168px;
    height: auto;
    display: block;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-nav > a,
.nav-drop > a {
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 12px;
    border-radius: 999px;
}

.site-nav a[aria-current="page"],
.site-nav a:hover,
.nav-panel a:hover { background: #e8f1fb; }

.nav-drop { position: relative; }

.nav-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 8px;
}

.nav-drop:hover .nav-panel,
.nav-drop:focus-within .nav-panel { display: grid; }

.nav-panel a {
    display: block;
    padding: 10px 12px;
    color: var(--navy);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
}

.nav-toggle {
    display: none;
    border: 1px solid var(--line);
    background: white;
    border-radius: 10px;
    padding: 8px 10px;
    font: inherit;
    font-weight: 700;
    color: var(--navy);
}

.nav-toggle-bars {
    display: inline-block;
    width: 16px;
    height: 2px;
    background: var(--navy);
    box-shadow: 0 5px 0 var(--navy), 0 -5px 0 var(--navy);
    margin-right: 8px;
    vertical-align: middle;
}

.s-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    border: 2px solid transparent;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
}

.s-btn-primary { background: var(--amber); color: white; }
.s-btn-primary:hover { background: var(--amber-2); color: white; }
.s-btn-ghost { background: white; color: var(--navy); border-color: #c5d2e0; }
.s-btn-ghost:hover { border-color: var(--navy); }
.s-btn-whatsapp { background: var(--wa); color: white; }
.s-btn-whatsapp:hover { color: white; filter: brightness(0.95); }

.header-cta { white-space: nowrap; }

.whatsapp-float {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 45;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--wa);
    color: white;
    text-decoration: none;
    font-weight: 700;
    border-radius: 999px;
    padding: 12px 16px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.hero {
    background:
        radial-gradient(900px 320px at 90% -10%, rgba(31, 111, 191, 0.18), transparent 60%),
        linear-gradient(180deg, #ffffff 0%, #eef3f8 100%);
    padding: 42px 0 28px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    align-items: start;
}

.eyebrow {
    display: inline-block;
    margin: 0 0 10px;
    color: var(--blue);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.82rem;
}

body.siva h1,
body.siva h2,
body.siva h3,
.site-footer h2,
.footer-brand {
    font-family: var(--display);
    line-height: 1.15;
    color: var(--navy);
}

.siva h1 { font-size: clamp(2.1rem, 4vw, 3.5rem); margin: 0 0 14px; }
.lede { font-size: 1.2rem; color: var(--ink); margin: 0 0 18px; }

.tick-list, .plain-list { padding: 0; margin: 0 0 18px; list-style: none; }
.tick-list li, .plain-list li { margin: 0 0 8px; padding-left: 0; }
.tick-list li::before { content: "✓ "; color: var(--ok); font-weight: 700; }

.action-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }

.quote-card, .panel, .side-card, .service-card, .info-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.quote-card { padding: 22px; }
.quote-card h2 { margin: 0 0 6px; font-size: 1.45rem; }
.quote-card > p { margin-top: 0; color: var(--muted); }

.form-grid { display: grid; gap: 12px; }
label { display: grid; gap: 6px; font-weight: 700; color: var(--navy); font-size: 0.95rem; }

body.siva input,
body.siva select,
body.siva textarea,
.quote-card input,
.quote-card select,
.quote-card textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid #c5d2e0;
    border-radius: 10px;
    padding: 10px 12px;
    font: inherit;
    color: var(--ink);
    background: white;
}

body.siva textarea,
.quote-card textarea { min-height: 140px; resize: vertical; }
body.siva input[type="checkbox"],
body.siva input[type="radio"] {
    width: 1.1rem;
    min-height: 1.1rem;
    accent-color: var(--navy);
}
body.siva :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible,
.cookie-banner :focus-visible {
    outline: 3px solid rgba(31, 111, 191, 0.35);
    outline-offset: 2px;
}

.form-error, .form-success {
    border-radius: 10px;
    padding: 12px 14px;
    margin: 0 0 12px;
}
.form-error { background: #fff1f0; color: #8a241c; }
.form-success { background: #eefaf3; color: #145c38; }

.section { padding: 56px 0; }
.section-head { max-width: 720px; margin-bottom: 22px; }
.section-head h2, .prose h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 0 0 10px; }
.muted { color: var(--muted); }

.card-grid, .area-grid, .step-grid {
    display: grid;
    gap: 16px;
}
.card-grid { grid-template-columns: repeat(3, 1fr); }
.area-grid, .step-grid { grid-template-columns: repeat(3, 1fr); }
.service-card, .info-card, .step { padding: 20px; }
.service-card h3, .info-card h3, .step h3 { margin: 0 0 8px; }
.service-card p, .info-card p { margin-top: 0; }
.card-links { display: flex; gap: 14px; flex-wrap: wrap; font-weight: 700; }

.split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: start;
}

.page-hero { padding: 28px 0 10px; }
.page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
    padding-bottom: 56px;
}

.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-bottom: 0.4em; }
.prose p { margin: 0 0 1em; }

.crumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 0;
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 0.95rem;
}
.crumbs li:not(:last-child)::after { content: "/"; margin: 0 8px; color: #9aa8b6; }
.crumbs a { color: var(--navy); text-decoration: none; font-weight: 700; }

.side-card {
    position: sticky;
    top: 108px;
    padding: 18px;
}
.side-card h2 { font-size: 1.3rem; margin: 0 0 8px; }
.side-card .action-row { display: grid; }
.side-meta, .side-links { display: grid; gap: 6px; padding: 0; margin: 12px 0 0; list-style: none; }
.side-links a { font-weight: 700; text-decoration: none; }

.faq { border-top: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.faq-a { padding-top: 8px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: white; }
.price-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.price-table th, .price-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table th { background: #f7fafc; }
.price-table caption { caption-side: bottom; text-align: left; padding: 10px 12px; color: var(--muted); }
.note { color: var(--muted); }

.band {
    background: var(--navy);
    color: white;
    padding: 42px 0;
}
.band h2, .band p { color: white; }
.band .s-btn-ghost { color: white; border-color: rgba(255,255,255,0.45); background: transparent; }

.site-footer {
    background: #102536;
    color: #d5e0ea;
    padding-top: 42px;
}
.site-footer h2, .footer-brand { color: white; font-size: 1.05rem; margin: 0 0 10px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 24px; }
.site-footer a { color: white; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-base { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 28px; padding: 14px 0 20px; font-size: 0.92rem; }

body.has-cookie { padding-bottom: 150px; }

.cookie-banner[hidden] { display: none !important; }
.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 60;
    background: white;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    max-width: 860px;
    margin: 0 auto;
}
.cookie-banner p { margin: 0; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }

.quote-intro { padding: 34px 0 8px; }
.promise-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
.promise {
    background: white;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 12px;
    font-weight: 700;
    color: var(--navy);
    font-size: 0.92rem;
}
.quote-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
    padding-bottom: 64px;
}
.quote-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.quote-jump a {
    text-decoration: none;
    font-weight: 700;
    color: var(--navy);
    background: white;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.92rem;
}
.q-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 22px;
    margin: 0 0 16px;
}
.q-card h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 6px;
    font-size: 1.35rem;
}
.q-card > p { margin: 0 0 14px; }
.q-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--navy);
    color: white;
    display: inline-grid;
    place-items: center;
    font-size: 0.95rem;
    flex: 0 0 auto;
}
.q-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.q-grid .span-2 { grid-column: 1 / -1; }
.room {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px 14px;
    margin: 0 0 12px;
}
.room legend { font-weight: 700; color: var(--navy); padding: 0 4px; }
.qty-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.qty { display: grid; gap: 6px; }
.stepper { display: grid; grid-template-columns: 40px 1fr 40px; gap: 6px; align-items: center; }
.stepper-btn {
    width: 40px;
    height: 48px;
    border-radius: 10px;
    border: 1px solid #c5d2e0;
    background: #f7fafc;
    color: var(--navy);
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    font-family: inherit;
}
.stepper input { text-align: center; padding-left: 6px; padding-right: 6px; }
.option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
body.siva label.option-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px;
    background: #f8fafc;
    cursor: pointer;
}
body.siva label.option-card:has(input:checked) {
    border-color: var(--navy);
    background: #e8f1fb;
}
.option-card small { display: block; font-weight: 400; color: var(--muted); }
.quote-submit { width: 100%; min-height: 52px; font-size: 1.05rem; }
.quote-submit:disabled { opacity: 0.7; cursor: wait; }
.quote-aside { position: sticky; top: 108px; display: grid; gap: 14px; }
.aside-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
}
.aside-card h2 { margin: 0 0 8px; font-size: 1.25rem; }
.aside-card .action-row { display: grid; }
.quote-steps { margin: 0; padding-left: 1.2rem; }
.quote-steps li { margin: 0 0 8px; }
.aside-card.navy { background: var(--navy); border-color: var(--navy); }
.aside-card.navy h2,
.aside-card.navy p,
.aside-card.navy a,
.aside-card.navy li { color: white; }
.fine-print { color: var(--muted); font-size: 0.95rem; margin: 12px 0 0; }
.siva-hp {
    position: absolute !important;
    left: -10000px !important;
    height: 0 !important;
    overflow: hidden !important;
}

.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { background: white; border-radius: 12px; padding: 14px 16px; border: 1px solid var(--line); }
.map-frame { border: 0; width: 100%; height: 360px; border-radius: 16px; }

@media (max-width: 980px) {
    .hero-grid, .page-grid, .split, .card-grid, .footer-grid, .area-grid, .quote-shell, .q-grid, .option-grid { grid-template-columns: 1fr; }
    .qty-grid { grid-template-columns: 1fr 1fr; }
    .quote-aside { position: static; }
    .step-grid { grid-template-columns: 1fr; }
    .side-card { position: static; }
    .nav-toggle { display: inline-flex; align-items: center; }
    .site-nav {
        display: none;
        position: absolute;
        left: 16px;
        right: 16px;
        top: 116px;
        background: white;
        border: 1px solid var(--line);
        border-radius: 16px;
        padding: 10px;
        box-shadow: var(--shadow);
        flex-direction: column;
        align-items: stretch;
    }
    .site-nav.is-open { display: flex; }
    .nav-panel { position: static; display: grid; box-shadow: none; border: 0; padding: 0 0 0 10px; }
    .header-cta { display: none; }
    .cookie-banner { flex-direction: column; align-items: stretch; bottom: 78px; }
    .topbar-inner { flex-direction: column; align-items: flex-start; padding: 8px 0; }
}

@media (max-width: 640px) {
    .check-grid { grid-template-columns: 1fr; }
    .action-row .s-btn, .cookie-actions .s-btn { width: 100%; }
}
