.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav {
    gap: 20px;
}

.main-nav a {
    font-size: 15px;
}

.site-header > .button {
    font-size: 13px;
}

.language-switcher {
    margin: 0;
}

.language-switcher select {
    min-width: 62px;
    min-height: 40px;
    padding: 0 8px;
    border: 1px solid rgba(96, 72, 48, .3);
    border-radius: 3px;
    color: #30271f;
    background: #fff;
    font: 700 12px var(--sans);
    cursor: pointer;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

.mobile-nav-toggle {
    display: none;
}

.floating-whatsapp {
    position: fixed;
    right: max(24px, env(safe-area-inset-right));
    top: 50%;
    z-index: 1100;
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 1px solid #128c55;
    border-radius: 999px;
    color: #fff;
    background: #168a58;
    box-shadow: 0 8px 24px rgba(22, 84, 57, .3);
    text-decoration: none;
    transform: translateY(-50%);
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.floating-whatsapp svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.floating-whatsapp:hover {
    transform: translateY(calc(-50% - 3px));
    color: #fff;
    background: #107349;
    box-shadow: 0 11px 28px rgba(22, 84, 57, .38);
}

.floating-whatsapp:focus-visible {
    outline: 3px solid #c9a66b;
    outline-offset: 4px;
}

.admin-sidebar > a:not(.brand),
.admin-logout button {
    font-size: 15px;
}

.admin-sidebar > a:not(.brand) {
    padding: 14px 12px;
}

.admin-sidebar {
    position: sticky;
    top: 35px;
    align-self: start;
    max-height: calc(100vh - 35px);
    overflow-y: auto;
}

.admin-label {
    font-size: 11px;
}

.footer {
    grid-template-columns: minmax(220px, 1.25fr) repeat(2, minmax(125px, .7fr)) minmax(220px, 1.1fr);
    gap: 54px 42px;
    padding: 68px max(7%, calc((100% - 1320px) / 2)) 22px;
    border-top: 3px solid #c9a66b;
    background: linear-gradient(135deg, #30271f 0%, #3b2d22 60%, #30271f 100%);
}

.footer-brand,
.footer-column {
    min-width: 0;
}

.footer-brand .brand {
    display: inline-flex;
    padding: 7px;
    border: 1px solid rgba(201, 166, 107, .4);
    background: #f7f2e9;
}

.footer-brand p,
.footer-contact p {
    max-width: 310px;
    margin: 20px 0 0;
    color: #d0c3b3;
    font-size: 14px;
    line-height: 1.8;
}

.footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin-top: 24px;
    padding: 12px 16px;
    border: 1px solid rgba(201, 166, 107, .65);
    color: #f3dfbd;
    font-size: 13px;
    font-weight: 700;
    transition: background-color .2s ease, color .2s ease;
}

.footer-cta:hover,
.footer-cta:focus-visible {
    color: #30271f;
    background: #c9a66b;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 13px;
}

.footer-column h2 {
    margin: 0 0 9px;
    color: #f2dfbf;
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 500;
}

.footer-column > a {
    color: #d5cbbf;
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
    transition: color .2s ease;
}

.footer-column > a:hover,
.footer-column > a:focus-visible {
    color: #e0bd80;
}

.footer-contact p {
    margin: -2px 0 4px;
}

.footer-contact .footer-location {
    margin-top: 4px;
    color: #ac9b87;
    font-size: 12px;
    letter-spacing: .05em;
}

.contact-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 24px;
}

.contact-details p {
    margin: 0 0 4px;
}

.contact-details a {
    color: var(--green);
    font-weight: 700;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-top: 0;
    font-size: 12px;
    line-height: 1.7;
}

.footer-bottom span:last-child span {
    padding-left: 5px;
    color: #c9a66b;
}

.planner-page {
    max-width: 980px;
}

.planner-form {
    margin-top: 34px;
}

.planner-experiences {
    min-width: 0;
    border: 0;
    border-top: 1px solid #e7e0d5;
    padding: 21px 0 0;
}

.planner-experiences legend {
    padding: 0 10px 0 0;
    color: var(--ink);
    font-size: 16px;
    font-weight: 700;
}

.planner-experiences > p {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 13px;
}

.planner-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.planner-choice {
    display: flex;
    min-height: 58px;
    align-items: center;
    gap: 11px;
    padding: 12px 14px;
    border: 1px solid #e2dbcf;
    border-radius: 4px;
    color: var(--ink);
    background: #fffdfa;
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease;
}

.planner-choice:has(input:checked) {
    border-color: #a27c4f;
    background: #f7f2e9;
}

.planner-choice input {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    accent-color: #604830;
}

.planner-choice span {
    font-size: 13px;
    line-height: 1.45;
}

.planner-privacy {
    margin: 18px 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.65;
}

.planner-prompt {
    margin-top: 18px;
    color: var(--muted);
    font-size: 14px;
}

.planner-prompt .text-link {
    margin-left: 8px;
    color: var(--green);
    font-weight: 700;
}

.planner-trip-summary {
    display: inline-flex;
    margin: 8px 0 30px;
    padding: 11px 15px;
    border-left: 3px solid #c9a66b;
    color: #604830;
    background: #f7f2e9;
    font-size: 14px;
    font-weight: 700;
}

.planner-itinerary {
    margin: 10px 0 20px;
}

.planner-itinerary > h2 {
    margin: 0 0 18px;
    font: 500 28px/1.25 var(--serif);
}

.planner-stop {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 18px;
    padding: 22px 0;
    border-top: 1px solid #e5ded3;
}

.planner-stop-days {
    color: #8a6244;
    font-size: 13px;
    font-weight: 700;
}

.planner-stop h3 {
    margin: 0;
    font: 500 21px/1.3 var(--serif);
}

.planner-stop p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.planner-permit-note {
    padding: 14px 17px;
    border-left: 3px solid #c9a66b;
    color: #604830;
    background: #f7f2e9;
    font-size: 13px;
}

.planner-summary {
    margin-top: 24px;
}

.planner-contact-title {
    margin: 25px 0 5px;
    color: var(--ink);
    font: 500 23px/1.3 var(--serif);
}

.planner-contact-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.planner-contact-options .button {
    display: grid;
    min-width: 0;
    min-height: 102px;
    grid-template-columns: 42px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 11px;
    margin: 0;
    padding: 16px;
    border: 1px solid #e5ded3;
    border-radius: 7px;
    color: #30271f;
    background: #fff;
    text-align: left;
    text-decoration: none;
    white-space: normal;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}

.planner-contact-options .button:hover,
.planner-contact-options .button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 9px 22px rgba(48, 39, 31, .12);
}

.planner-contact-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    color: currentColor;
    background: rgba(255, 255, 255, .15);
}

.planner-contact-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.planner-contact-icon svg path {
    vector-effect: non-scaling-stroke;
}

.planner-contact-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 5px;
}

.planner-contact-copy strong {
    font-size: 14px;
    line-height: 1.3;
}

.planner-contact-copy small {
    color: inherit;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
    opacity: .76;
}

.planner-contact-arrow {
    justify-self: end;
    font-size: 17px;
    opacity: .75;
}

.planner-email {
    border-color: #d8cbb9 !important;
    color: #493729 !important;
    background: #fffdfa !important;
}

.planner-email:hover,
.planner-email:focus-visible {
    border-color: #9b7852 !important;
    background: #f7f2e9 !important;
}

.planner-call {
    border-color: #d8cbb9 !important;
    color: #493729 !important;
    background: #f7f2e9 !important;
}

.planner-call:hover,
.planner-call:focus-visible {
    border-color: #9b7852 !important;
    background: #eee4d5 !important;
}

.planner-whatsapp,
.planner-whatsapp:hover,
.planner-whatsapp:focus-visible {
    border-color: #168a58 !important;
    color: #fff !important;
    background: #168a58 !important;
}

.planner-whatsapp .planner-contact-icon {
    color: #168a58;
    background: #fff;
}

.planner-whatsapp .planner-contact-icon svg path:first-child {
    fill: currentColor;
    stroke: currentColor;
}

.planner-whatsapp .planner-contact-icon svg path:last-child {
    fill: none;
    stroke: #fff;
}

.planner-whatsapp:hover,
.planner-whatsapp:focus-visible {
    border-color: #107349 !important;
    background: #107349 !important;
}

.planner-contact-details {
    margin: 15px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.planner-summary .planner-privacy {
    margin-bottom: 0;
}

.planner-actions {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 25px;
}

@media (max-width: 1200px) {
    .site-header {
        height: auto;
        min-height: 76px;
        gap: 12px;
        flex-wrap: wrap;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .main-nav {
        order: 3;
        flex-basis: 100%;
        display: none;
        min-width: 0;
        overflow: visible;
        padding: 8px 0 0;
        border-top: 1px solid rgba(96, 72, 48, .15);
        gap: 0;
    }

    .site-header.menu-open .main-nav {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .main-nav a {
        display: flex;
        min-height: 46px;
        align-items: center;
        padding: 8px 4px;
        border-bottom: 1px solid rgba(96, 72, 48, .1);
        font-size: 15px;
    }

    .mobile-nav-toggle {
        display: inline-flex;
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        order: 1;
        padding: 0;
        border: 1px solid rgba(96, 72, 48, .25);
        border-radius: 4px;
        color: #30271f;
        background: transparent;
        cursor: pointer;
    }

    .mobile-nav-toggle span {
        display: block;
        width: 19px;
        height: 2px;
        border-radius: 2px;
        background: currentColor;
    }

    .site-header > .button {
        order: 2;
        margin-left: auto;
        font-size: 12px;
        white-space: nowrap;
    }

    .language-switcher {
        order: 3;
        margin-left: auto;
    }

    .language-switcher select {
        min-width: 52px;
        min-height: 40px;
    }

    .site-header.menu-open .language-switcher {
        margin-left: 0;
    }

    .site-header > .brand {
        order: 0;
        margin-right: auto;
    }
}

@media (max-width: 820px) {
    .footer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 38px 32px;
        padding: 52px 7% 20px;
    }

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

    .footer-brand {
        max-width: 440px;
    }

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

    .admin-sidebar > a:not(.brand) {
        font-size: 14px;
        padding: 12px;
    }

    .admin-logout button {
        font-size: 14px;
        padding: 12px;
        white-space: nowrap;
    }

    .admin-sidebar {
        top: 0;
        z-index: 900;
        max-height: 100vh;
        flex-wrap: nowrap;
        background: #fff;
    }

}

@media (max-width: 600px) {
    .site-header > .brand {
        margin-right: 0;
    }

    .site-header > .button {
        margin-left: 0;
    }

    .site-header > .button {
        padding: 10px 11px;
        font-size: 11px;
    }

    .language-switcher {
        order: 1;
        margin-left: 0;
    }

    .site-header > .button {
        order: 2;
    }

    .site-header > .brand .brand-logo {
        width: 58px;
        height: 58px;
        object-fit: contain;
    }

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

    .experience-card:last-child {
        grid-column: auto;
    }

    .admin-sidebar {
        position: sticky;
        top: 0;
        z-index: 900;
        gap: 8px;
        flex-wrap: nowrap;
        background: #fff;
        box-shadow: 0 5px 14px rgba(20, 40, 30, .08);
    }

    .admin-sidebar > a:not(.brand) {
        font-size: 14px;
        padding: 11px;
    }

    .footer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 20px;
        padding: 42px 7% 18px;
    }

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

    .footer-brand p,
    .footer-contact p {
        font-size: 14px;
    }

    .footer-column {
        gap: 10px;
        padding-top: 0;
    }

    .footer-column h2 {
        margin-bottom: 5px;
    }

    .footer-column > a {
        font-size: 14px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
        padding-top: 16px;
        font-size: 12px;
    }

    .planner-options {
        grid-template-columns: 1fr;
    }

    .planner-stop {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 18px 0;
    }

    .planner-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .planner-contact-options {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .planner-contact-options .button {
        min-height: 82px;
        padding: 13px;
    }

    .floating-whatsapp {
        right: max(16px, env(safe-area-inset-right));
        width: 54px;
        height: 54px;
    }

    .floating-whatsapp svg {
        width: 29px;
        height: 29px;
    }
}

@media (min-width: 601px) and (max-width: 820px) {
    .experience-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-height: 0;
    }

    .experience-card {
        min-height: 330px;
    }

    .experience-card:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 359px) {
    .site-header > .button {
        max-width: 135px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .floating-whatsapp {
        width: 50px;
        height: 50px;
    }
}
