#site-header {
    position: sticky;
    z-index: 50;
    top: 0;
}

.site-header {
    border-bottom: 1px solid rgba(220, 231, 238, .8);
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(16px);
    transition: box-shadow .2s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 5px 24px rgba(18, 52, 90, .08);
}

.header-inner {
    display: flex;
    height: 82px;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
}

.brand-logo {
    display: block;
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
}

.brand-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-name {
    display: inline-flex;
    align-items: baseline;
    gap: .32em;
    white-space: nowrap;
    color: var(--navy);
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.1;
}

.brand-name span {
    display: inline;
    margin: 0;
    color: var(--teal-dark);
    font-family: var(--font-body);
    font-size: .78em;
    font-weight: 800;
    letter-spacing: .035em;
}

.nav {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2.3vw, 30px);
}

.nav a {
    position: relative;
    padding: 30px 0;
    color: #42586a;
    font-size: .87rem;
    font-weight: 700;
    transition: color .2s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
    color: var(--teal-dark);
}

.nav a[aria-current="page"]::after {
    position: absolute;
    right: 0;
    bottom: 21px;
    left: 0;
    height: 2px;
    background: var(--teal);
    content: "";
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.phone-chip {
    color: var(--navy);
    font-size: .82rem;
    font-weight: 800;
    white-space: nowrap;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: white;
    cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
    display: block;
    position: relative;
    width: 18px;
    height: 2px;
    background: var(--navy);
    content: "";
}

.menu-toggle span::before {
    position: absolute;
    top: -6px;
}

.menu-toggle span::after {
    position: absolute;
    top: 6px;
}

.btn {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 21px;
    border: 1px solid transparent;
    border-radius: 13px;
    cursor: pointer;
    font-size: .91rem;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 9px 20px rgba(18, 52, 90, .14);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--teal);
    color: white;
}

.btn-primary:hover {
    background: var(--teal-dark);
}

.btn-blue {
    background: var(--navy);
    color: white;
}

.btn-outline {
    border-color: var(--line);
    background: white;
    color: var(--navy);
}

.btn-white {
    background: white;
    color: var(--navy);
}

.btn-sm {
    min-height: 42px;
    padding-inline: 16px;
    font-size: .84rem;
}

.icon {
    display: inline-grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 13px;
    background: var(--pale-blue);
    color: var(--navy);
    font-size: 1.1rem;
}

.card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: white;
    box-shadow: 0 7px 24px rgba(18, 52, 90, .045);
    transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.card-image {
    position: relative;
    overflow: hidden;
    background: var(--pale-blue);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}

.card:hover .card-image img {
    transform: scale(1.045);
}

.gallery-open {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.gallery-open img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lightbox {
    position: fixed;
    width: min(900px, calc(100% - 32px));
    max-width: none;
    max-height: min(90vh, 900px);
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(6, 29, 54, .35);
}

.lightbox::backdrop {
    background: rgba(6, 24, 43, .78);
    backdrop-filter: blur(3px);
}

.lightbox img {
    width: 100%;
    max-height: calc(90vh - 76px);
    object-fit: contain;
    background: #eef4f7;
}

.lightbox-caption {
    padding: 12px 18px;
    color: var(--navy);
    font-weight: 800;
}

.lightbox-close {
    position: absolute;
    z-index: 1;
    top: 12px;
    right: 12px;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .95);
    color: var(--navy);
    cursor: pointer;
    font-size: 1.7rem;
    line-height: 1;
}

.card-body {
    padding: 22px;
}

.card-body p {
    margin-bottom: 0;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--teal-dark);
    font-size: .91rem;
    font-weight: 800;
}

.text-link::after {
    content: "→";
    transition: transform .2s ease;
}

.text-link:hover::after {
    transform: translateX(4px);
}

.tag {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 99px;
    background: var(--pale-blue);
    color: var(--navy);
    font-size: .76rem;
    font-weight: 800;
}

.site-footer {
    padding: 70px 0 22px;
    background: var(--navy-deep);
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.45fr .8fr 1fr 1fr;
    gap: 42px;
    padding-bottom: 52px;
}

.footer-brand .brand-name,
.footer-brand p {
    color: white;
}

.footer-brand p {
    max-width: 300px;
    margin: 20px 0 0;
    color: #c5d5e2;
    font-size: .92rem;
}

.footer-col h3 {
    margin-bottom: 17px;
    color: white;
    font-size: .98rem;
    letter-spacing: 0;
}

.footer-col a,
.footer-col p {
    display: block;
    margin: 9px 0;
    color: #c5d5e2;
    font-size: .88rem;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .16);
    color: #bdd0de;
    font-size: .81rem;
}

.footer-bottom p {
    margin: 0;
    color: inherit;
}

.whatsapp-float {
    position: fixed;
    z-index: 40;
    right: 22px;
    bottom: 22px;
    display: inline-flex;
    width: 60px;
    min-width: 60px;
    height: 60px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
    background: #25d366;
    box-shadow: 0 9px 28px rgba(37, 211, 102, .32);
    color: white;
    font-weight: 800;
    transition: transform .2s ease;
}

.whatsapp-float:hover {
    transform: translateY(-3px);
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
    color: white;
}

.toast {
    position: fixed;
    z-index: 100;
    right: 20px;
    bottom: 95px;
    max-width: min(400px, calc(100% - 40px));
    padding: 14px 18px;
    transform: translateY(10px);
    border-radius: 13px;
    background: var(--navy);
    box-shadow: var(--shadow);
    color: white;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s, transform .2s;
}

.toast.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.reveal {
    transform: translateY(16px);
    opacity: 0;
    transition: transform .6s ease, opacity .6s ease;
}

.reveal.is-visible {
    transform: none;
    opacity: 1;
}

.form-field {
    display: grid;
    gap: 7px;
}

.form-field label {
    color: var(--navy);
    font-size: .85rem;
    font-weight: 800;
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    min-height: 49px;
    padding: 12px 14px;
    border: 1px solid #d7e2e9;
    border-radius: 11px;
    outline: 0;
    background: white;
    color: var(--ink);
}

.form-field textarea {
    min-height: 130px;
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(36, 121, 184, .13);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px;
}

.form-field--full {
    grid-column: 1 / -1;
}

.check-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--muted);
    font-size: .84rem;
}

.check-row input {
    margin-top: 5px;
    accent-color: var(--teal);
}

@media (max-width: 1040px) {
    .nav {
        gap: 15px;
    }

    .nav a {
        font-size: .82rem;
    }

    .phone-chip {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .header-inner {
        height: 72px;
    }

    .menu-toggle {
        display: flex;
    }

    .header-actions .btn {
        display: none;
    }

    .nav {
        position: absolute;
        top: 71px;
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        gap: 0;
        padding: 10px 22px 20px;
        border-bottom: 1px solid var(--line);
        background: white;
        box-shadow: 0 15px 22px rgba(18, 52, 90, .08);
    }

    .nav.is-open {
        display: flex;
        flex-direction: column;
    }

    .nav a {
        padding: 13px 3px;
        font-size: .96rem;
    }

    .nav a[aria-current="page"]::after {
        right: auto;
        bottom: 7px;
        width: 26px;
    }

    .header-inner {
        position: relative;
    }
}

@media (max-width: 620px) {
    .brand {
        gap: 7px;
    }

    .brand-logo {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }

    .brand-name {
        font-size: 1.16rem;
        gap: .24em;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px 20px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-field--full {
        grid-column: auto;
    }

    .whatsapp-float {
        right: 14px;
        bottom: 14px;
        width: 56px;
        min-width: 56px;
        height: 56px;
        padding: 0;
    }

}

.admin-body {
    min-height: 100vh;
    background: var(--pale);
}

.brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 13px;
    background: var(--navy);
    color: white;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
}

.admin-login {
    max-width: 520px;
}

.admin-eyebrow {
    display: flex;
    margin-top: 34px;
}

.admin-login-form {
    display: grid;
    gap: 18px;
    margin: 26px 0;
}

.admin-login-form .btn {
    width: 100%;
}

.admin-error {
    padding: 12px 14px;
    border: 1px solid #f0c5c0;
    border-radius: 10px;
    background: #fff2f0;
    color: #8a3029;
}

.admin-topbar {
    position: sticky;
    z-index: 20;
    top: 0;
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px max(24px, calc((100% - 1440px) / 2));
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
}

.admin-top-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.admin-top-actions form {
    margin: 0;
}

.admin-workspace {
    width: min(1440px, calc(100% - 48px));
    margin: 38px auto 72px;
}

.admin-intro {
    max-width: 750px;
    margin-bottom: 26px;
}

.admin-intro h1 {
    margin-bottom: 10px;
    font-size: clamp(2rem, 4vw, 3.25rem);
}

.admin-toolbar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: white;
}

.admin-toolbar label,
.admin-order {
    color: var(--navy);
    font-size: .87rem;
    font-weight: 800;
}

.admin-toolbar select,
.admin-order input {
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: white;
    color: var(--ink);
    font: inherit;
}

.admin-toolbar select {
    min-width: 180px;
    flex: 1;
}

.admin-status {
    min-height: 24px;
    color: var(--teal-dark);
    font-weight: 700;
}

.admin-editor-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr);
    align-items: start;
    gap: 22px;
}

.admin-editor-panels {
    display: grid;
    gap: 18px;
}

.admin-panel,
.admin-preview {
    min-width: 0;
    padding: clamp(16px, 2.5vw, 24px);
    border: 1px solid var(--line);
    border-radius: 16px;
    background: white;
    box-shadow: 0 5px 18px rgba(18, 52, 90, .045);
}

.admin-panel h2,
.admin-preview h2 {
    margin-bottom: 5px;
    font-size: 1.35rem;
}

.admin-panel > p {
    margin-bottom: 18px;
    font-size: .9rem;
}

.admin-field {
    display: grid;
    gap: 6px;
    margin-top: 14px;
    color: var(--navy);
    font-size: .82rem;
    font-weight: 800;
}

.admin-field textarea {
    width: 100%;
    min-height: 58px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 9px;
    color: var(--ink);
    font: 500 .91rem/1.5 var(--font-body);
    resize: vertical;
}

.admin-field input {
    width: 100%;
    min-height: 44px;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 9px;
    color: var(--ink);
    font: 500 .91rem var(--font-body);
}

.admin-field textarea:focus,
.admin-field input:focus,
.admin-toolbar select:focus,
.admin-order input:focus {
    outline: 3px solid rgba(36, 121, 184, .18);
    border-color: var(--blue);
}

.admin-layout-row,
.admin-image-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
}

.admin-layout-row > label:first-child {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--ink);
    font-size: .89rem;
    font-weight: 700;
}

.admin-layout-row input[type="checkbox"] {
    margin-top: 5px;
    accent-color: var(--teal);
}

.admin-order {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
}

.admin-order input {
    width: 66px;
    min-height: 36px;
}

.admin-image-row {
    align-items: flex-start;
    flex-direction: column;
    color: var(--navy);
    font-size: .84rem;
    font-weight: 700;
}

.admin-image-row input {
    width: 100%;
    max-width: 100%;
    color: var(--muted);
    font-size: .82rem;
}

.admin-preview {
    position: sticky;
    top: 90px;
}

.admin-preview iframe {
    display: block;
    width: 100%;
    height: min(78vh, 900px);
    min-height: 520px;
    margin-top: 15px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: white;
}

[data-cms-section][hidden] {
    display: none !important;
}

@media (max-width: 900px) {
    .admin-editor-grid {
        grid-template-columns: 1fr;
    }

    .admin-preview {
        position: static;
    }
}

@media (max-width: 620px) {
    .admin-topbar {
        padding-inline: 16px;
    }

    .admin-top-actions .btn {
        min-height: 38px;
        padding-inline: 10px;
        font-size: .78rem;
    }

    .admin-workspace {
        width: calc(100% - 28px);
        margin-top: 26px;
    }

    .admin-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-toolbar select,
    .admin-toolbar .btn {
        width: 100%;
    }

    .admin-preview iframe {
        min-height: 420px;
    }
}
