:root {
    --ink: #17211d;
    --muted: #66736d;
    --paper: #fbfaf7;
    --line: #dde3df;
    --green: #0f766e;
    --coral: #d94832;
    --amber: #d89022;
    --blue: #2563eb;
    --radius: 8px;
    --shadow: 0 20px 60px rgba(23, 33, 29, .14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
svg {
    max-width: 100%;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 22px;
    align-items: center;
    min-height: 72px;
    padding: 12px clamp(18px, 4vw, 54px);
    color: #fff;
    background: rgba(18, 27, 24, .88);
    backdrop-filter: blur(16px);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.logo span,
.brand-mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 8px;
    color: #12201c;
    background: #f4c15d;
    font-size: 13px;
    font-weight: 900;
}

.main-nav {
    display: flex;
    gap: 4px;
    justify-content: center;
    overflow-x: auto;
    white-space: nowrap;
}

.main-nav a {
    padding: 9px 11px;
    border-radius: 8px;
    color: rgba(255, 255, 255, .82);
    font-size: 14px;
}

.main-nav a:hover {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.mini-search,
.wide-search {
    display: flex;
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, .1);
}

.mini-search input,
.wide-search input,
.lead-form input,
.lead-form select,
.lead-form textarea,
.install-form input {
    width: 100%;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 13px 14px;
    color: var(--ink);
    background: #fff;
    font: inherit;
}

.mini-search input {
    width: 190px;
    border: 0;
    color: #fff;
    background: transparent;
}

.mini-search input::placeholder {
    color: rgba(255, 255, 255, .62);
}

.mini-search button {
    width: 42px;
    border: 0;
    color: #fff;
    background: transparent;
    cursor: pointer;
    font-size: 20px;
}

.hero {
    position: relative;
    display: grid;
    align-items: end;
    min-height: 78vh;
    padding: clamp(80px, 11vw, 130px) clamp(20px, 7vw, 96px) 42px;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(7, 19, 16, .82), rgba(7, 19, 16, .28) 58%, rgba(7, 19, 16, .62)),
        var(--hero),
        linear-gradient(135deg, #0f766e, #d89022);
    background-size: cover;
    background-position: center;
}

.compact-hero {
    min-height: 48vh;
}

.hero-copy {
    width: min(760px, 100%);
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--coral);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: #ffd36a;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    margin: 0;
    max-width: 980px;
    font-size: clamp(44px, 7vw, 88px);
    line-height: .98;
    letter-spacing: 0;
}

h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.08;
    letter-spacing: 0;
}

h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.2;
}

.hero p {
    max-width: 760px;
    font-size: clamp(17px, 2vw, 22px);
    color: rgba(255, 255, 255, .9);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 17px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
}

.button.primary {
    color: #111c18;
    background: #f4c15d;
}

.button.glass {
    color: #fff;
    border-color: rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .12);
}

.button.ghost {
    color: var(--ink);
    border-color: var(--line);
    background: #fff;
}

.hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 42px;
}

.hero-facts span {
    max-width: 310px;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 8px;
    background: rgba(0, 0, 0, .2);
    font-size: 13px;
}

.band {
    padding: clamp(44px, 7vw, 92px) clamp(20px, 7vw, 96px);
}

.ad-banner {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 18px clamp(16px, 5vw, 64px);
    background: #fff;
}

.ad-banner-728x90 > * {
    max-width: 100%;
}

.ad-banner-728x90 iframe,
.ad-banner-728x90 img,
.ad-banner-728x90 ins {
    max-width: 100%;
}

.intro-band {
    padding-top: 44px;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.destination-grid,
.info-grid,
.package-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.destination-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.destination-card,
.info-card,
.package-card,
.hotel-card,
.activity-list article {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(20, 30, 27, .06);
    overflow: hidden;
}

.card-media {
    min-height: 190px;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .34)),
        var(--photo),
        linear-gradient(135deg, var(--palette));
    background-size: cover;
    background-position: center;
}

.card-body,
.info-card,
.package-card,
.hotel-card,
.activity-list article {
    padding: 20px;
}

.card-body span,
.info-card span,
.package-card span,
.hotel-card p,
.activity-list span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.card-body p,
.info-card p,
.package-card p,
.hotel-card span,
.activity-list p,
.article-flow p,
.page-title p,
.lead-band p,
.split-band p {
    color: var(--muted);
}

.split-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    gap: 48px;
    align-items: center;
    background: #edf6f2;
}

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

.metric-grid div,
.fact {
    padding: 22px;
    border: 1px solid #cbdad4;
    border-radius: 8px;
    background: rgba(255, 255, 255, .62);
}

.metric-grid strong,
.fact strong {
    display: block;
    font-size: 26px;
}

.metric-grid span,
.fact span {
    display: block;
    color: var(--muted);
}

.facts-band {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding-top: 28px;
    padding-bottom: 28px;
    background: #fff;
}

.content-band {
    background: #fffaf0;
}

.article-flow {
    max-width: 1040px;
}

.article-flow article + article,
.article-flow p + p {
    margin-top: 26px;
}

.article-flow h2 {
    margin-bottom: 12px;
}

.info-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card small {
    display: block;
    margin-top: 12px;
    color: #4f5d57;
}

.info-media,
.hotel-media,
.activity-media {
    display: block;
    width: calc(100% + 40px);
    max-width: none;
    height: 170px;
    margin: -20px -20px 18px;
    object-fit: cover;
    background: #dfe7e2;
}

.hotel-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(240px, 1fr));
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 6px;
}

.hotel-card strong {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 8px;
    color: #fff;
    background: var(--green);
}

.hotel-media + strong {
    margin-top: 0;
}

.activity-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.packages-band {
    background: #eef3f8;
}

.package-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.package-card {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.package-card div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.term-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.term-cloud a {
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    font-weight: 700;
}

.faq-band details {
    border-top: 1px solid var(--line);
    padding: 18px 0;
}

.faq-band summary {
    cursor: pointer;
    font-weight: 800;
}

.lead-band {
    display: grid;
    grid-template-columns: minmax(0, .75fr) minmax(320px, 1fr);
    gap: 34px;
    align-items: start;
    background: #17211d;
    color: #fff;
}

.lead-band p {
    color: rgba(255, 255, 255, .72);
}

.lead-form,
.install-form {
    display: grid;
    gap: 12px;
}

.lead-form textarea {
    min-height: 118px;
    resize: vertical;
}

.page-title {
    padding: 74px clamp(20px, 7vw, 96px) 34px;
    background: #fff;
}

.page-title h1 {
    color: var(--ink);
    font-size: clamp(40px, 6vw, 74px);
}

.wide-search {
    width: min(720px, 100%);
    margin-top: 20px;
    border-color: var(--line);
    background: #fff;
}

.package-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    background: #fff;
}

.package-detail aside,
.detail-main {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.package-detail aside {
    display: grid;
    gap: 12px;
    align-content: start;
}

.package-detail aside strong {
    font-size: 34px;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 30px clamp(20px, 7vw, 96px);
    color: rgba(255, 255, 255, .72);
    background: #111815;
}

.site-footer strong {
    color: #fff;
}

.site-footer a {
    display: inline-flex;
    margin-left: 16px;
}

.installer {
    min-height: 100vh;
    background:
        linear-gradient(120deg, rgba(15, 118, 110, .88), rgba(216, 144, 34, .72)),
        url('https://images.unsplash.com/photo-1537996194471-e657df975ab4?auto=format&fit=crop&w=1800&q=82') center/cover;
}

.install-shell {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 24px;
}

.install-panel {
    width: min(620px, 100%);
    padding: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--shadow);
}

.install-panel h1 {
    color: var(--ink);
    font-size: 42px;
}

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

.notice {
    margin: 16px 0;
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 700;
}

.notice.success {
    color: #14532d;
    background: #dcfce7;
}

.notice.danger {
    color: #7f1d1d;
    background: #fee2e2;
}

@media (max-width: 1100px) {
    .site-header {
        grid-template-columns: 1fr;
    }

    .main-nav {
        justify-content: start;
    }

    .destination-grid,
    .package-grid,
    .info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .split-band,
    .lead-band,
    .package-detail {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .hero {
        min-height: 72vh;
        padding-top: 64px;
    }

    h1 {
        font-size: 42px;
    }

    .destination-grid,
    .package-grid,
    .info-grid,
    .facts-band,
    .activity-list,
    .metric-grid,
    .two {
        grid-template-columns: 1fr;
    }

    .section-head,
    .site-footer {
        display: block;
    }

    .mini-search input {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .site-header {
        padding: 10px 14px;
    }

    .main-nav a {
        padding: 8px 9px;
        font-size: 13px;
    }

    .band,
    .page-title {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero {
        padding-left: 16px;
        padding-right: 16px;
    }

    h1 {
        font-size: 36px;
        line-height: 1.02;
    }
}
