:root {
    --bg: #f5f0e6;
    --surface: #fffaf1;
    --line: rgba(193, 162, 102, 0.22);
    --line-strong: rgba(255, 255, 255, 0.14);
    --ink: #0f2034;
    --muted: #5f6d7d;
    --accent: #d0b083;
    --accent-strong: #b7905f;
    --navy: #102237;
    --navy-strong: #081827;
    --white: #ffffff;
    --success: #166534;
    --danger: #991b1b;
    --shadow: 0 24px 70px rgba(6, 16, 28, 0.12);
    --shadow-strong: 0 32px 80px rgba(5, 14, 26, 0.28);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(208, 176, 131, 0.18), transparent 20%),
        linear-gradient(180deg, #f7f1e8 0%, #f9f5ef 100%);
}

h1,
h2,
h3,
.section__title,
.hero-home__title {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    letter-spacing: -0.03em;
}

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

img {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
select {
    appearance: none;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible {
    outline: 2px solid rgba(208, 176, 131, 0.88);
    outline-offset: 2px;
}

.container {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(16, 34, 55, 0.94);
    backdrop-filter: blur(18px);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--white);
}

.brand__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: linear-gradient(135deg, #ddc39b 0%, #c59f69 100%);
    color: #1b1a18;
    font-size: 1.8rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.brand__mark--footer {
    width: 48px;
    height: 48px;
    font-size: 1.55rem;
}

.brand__meta {
    display: grid;
    gap: 4px;
}

.brand__title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1;
}

.brand__subtitle {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.92);
}

.site-nav > a:not(.nav-cta),
.nav-logout__button {
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.lang-pill,
.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.lang-pill {
    min-width: 74px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--white);
    font-weight: 700;
}

.nav-cta {
    background: rgba(255, 255, 255, 0.07);
    color: var(--white);
    font-weight: 800;
}

.nav-logout {
    margin: 0;
}

.nav-logout__button {
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
}

.home-page {
    overflow: clip;
}

.hero-home {
    position: relative;
    min-height: calc(100vh - 90px);
    padding: 72px 0 82px;
    background: #081726;
}

.hero-home__backdrop,
.hero-home__shade {
    position: absolute;
    inset: 0;
}

.hero-home__backdrop {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
    filter: saturate(0.86) brightness(0.86);
}

.hero-home__shade {
    background:
        linear-gradient(90deg, rgba(6, 16, 28, 0.82) 0%, rgba(6, 16, 28, 0.56) 48%, rgba(6, 16, 28, 0.78) 100%),
        linear-gradient(180deg, rgba(12, 23, 36, 0.18) 0%, rgba(12, 23, 36, 0.72) 100%);
}

.hero-home__inner {
    position: relative;
    z-index: 1;
}

.hero-home__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
    gap: 34px;
    align-items: center;
}

.hero-home__copy {
    max-width: 760px;
    color: var(--white);
}

.hero-home__eyebrow,
.section-kicker,
.panel-kicker,
.route-card__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-home__eyebrow::before,
.section-kicker::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 20px rgba(208, 176, 131, 0.4);
}

.hero-home__title {
    margin-top: 18px;
    max-width: 12ch;
    font-size: clamp(4.8rem, 8.4vw, 7.4rem);
    line-height: 0.9;
    color: #f2f5fa;
    text-wrap: balance;
}

.hero-home__lead {
    margin: 28px 0 0;
    max-width: 28ch;
    color: rgba(239, 243, 249, 0.92);
    font-size: clamp(1.08rem, 1.8vw, 1.32rem);
    line-height: 1.55;
}

.hero-home__actions,
.hero-home__trust,
.hero-home__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-home__actions {
    margin-top: 34px;
}

.hero-home__trust {
    margin-top: 28px;
}

.hero-home__stats {
    margin-top: 26px;
}

.trust-pill,
.stat-chip,
.search-panel,
.route-card,
.step-card,
.story-panel,
.contact-banner {
    backdrop-filter: blur(14px);
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    min-height: 52px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
}

.stat-chip {
    min-width: 140px;
    padding: 18px 20px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(10, 26, 42, 0.42);
    color: var(--white);
}

.stat-chip strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
}

.stat-chip span {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
}

.card {
    border: 1px solid var(--line);
    border-radius: 30px;
    background: var(--surface);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.search-panel {
    padding: 24px;
    border-color: var(--line-strong);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08)),
        rgba(15, 28, 44, 0.72);
    box-shadow: var(--shadow-strong);
    color: var(--white);
}

.search-panel__top {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.search-panel__top h2 {
    margin-top: 8px;
    font-size: 2rem;
    color: var(--white);
}

.search-panel__top p,
.search-panel__note {
    color: rgba(255, 255, 255, 0.74);
    font-weight: 700;
}

.search-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.search-form__full,
.search-form__submit,
.search-form__whatsapp {
    grid-column: 1 / -1;
}

.search-form label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.search-form input,
.search-form select,
input,
select,
textarea {
    width: 100%;
    min-height: 56px;
    padding: 0 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-form input,
.search-form select {
    background: rgba(7, 20, 33, 0.42);
    color: var(--white);
}

input,
select,
textarea {
    background: var(--white);
    color: var(--ink);
    border-color: rgba(15, 32, 52, 0.1);
}

textarea {
    min-height: 120px;
    padding: 16px 18px;
    resize: vertical;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 800;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, #dcc09a 0%, #c9a06c 100%);
    color: #1c222a;
    box-shadow: 0 16px 36px rgba(188, 147, 91, 0.26);
}

.btn-secondary-dark {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.16);
}

.btn-outline-light,
.btn-outline-dark {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.18);
    color: var(--white);
}

.btn-outline-dark {
    border-color: rgba(16, 34, 55, 0.16);
    color: var(--navy);
}

.section {
    padding: 88px 0;
}

.section--light {
    background: rgba(255, 255, 255, 0.44);
}

.section--story {
    background: linear-gradient(180deg, rgba(16, 34, 55, 0.98) 0%, rgba(12, 24, 38, 0.98) 100%);
    color: var(--white);
}

.section--contact {
    padding-top: 0;
}

.section-intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 32px;
}

.section-intro > * {
    flex: 1;
}

.section__title {
    margin-top: 10px;
    font-size: clamp(2.8rem, 4.5vw, 4.2rem);
    line-height: 0.94;
    color: var(--navy);
    text-wrap: balance;
}

.section--story .section__title,
.section--story .muted,
.section--story .section-kicker {
    color: var(--white);
}

.muted {
    color: var(--muted);
    line-height: 1.7;
}

.collection-grid,
.route-grid,
.steps-grid {
    display: grid;
    gap: 22px;
}

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

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

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

.collection-card__image {
    width: 100%;
    height: 270px;
    object-fit: cover;
}

.collection-card__body,
.step-card,
.route-card,
.story-panel {
    padding: 24px;
}

.collection-card__tag,
.route-card__eyebrow,
.step-card__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(208, 176, 131, 0.14);
    color: var(--accent-strong);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.collection-card h3,
.route-card h3,
.step-card h3,
.story-panel h3,
.contact-banner h2 {
    margin-top: 14px;
    font-size: 2rem;
    color: var(--navy);
}

.collection-card--fallback {
    min-height: 280px;
    display: flex;
    align-items: end;
    background:
        radial-gradient(circle at top right, rgba(208, 176, 131, 0.18), transparent 34%),
        linear-gradient(180deg, #fffaf1, #f9f0e0);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--navy);
    font-weight: 800;
}

.text-link::after {
    content: "→";
}

.route-card {
    min-height: 290px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.92)),
        var(--surface);
}

.route-card__stops {
    margin: 18px 0 0;
    color: var(--navy);
    font-weight: 700;
}

.story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
    gap: 28px;
    align-items: start;
}

.story-panel {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: var(--shadow-strong);
}

.story-panel__item + .story-panel__item {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.story-panel__item h3 {
    color: var(--white);
}

.step-card {
    min-height: 250px;
}

.step-card__number {
    background: rgba(16, 34, 55, 0.08);
    color: var(--navy);
}

.contact-banner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 28px;
    padding: 34px;
    background:
        radial-gradient(circle at top right, rgba(208, 176, 131, 0.18), transparent 26%),
        linear-gradient(135deg, #fffaf1, #f5ead8);
}

.contact-banner__actions {
    display: grid;
    gap: 12px;
    align-content: center;
}

.floating-actions {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 35;
    display: grid;
    gap: 12px;
}

.floating-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(8, 24, 39, 0.84);
    color: var(--white);
    font-weight: 800;
    box-shadow: var(--shadow-strong);
}

.listing {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 24px;
    align-items: start;
}

.grid {
    display: grid;
    gap: 24px;
}

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

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

.form-group {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
}

label {
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 700;
}

.price {
    font-size: 1.32rem;
    font-weight: 800;
    color: var(--navy);
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 12px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}

.flash {
    padding: 12px 16px;
    border-radius: 14px;
    margin-bottom: 18px;
}

.flash-success {
    background: rgba(22, 101, 52, 0.12);
    color: var(--success);
}

.flash-error {
    background: rgba(153, 27, 27, 0.08);
    color: var(--danger);
}

.site-footer {
    padding: 32px 0 20px;
    background: #0d1f31;
    color: var(--white);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.9fr;
    gap: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__brand {
    display: flex;
    align-items: start;
    gap: 16px;
}

.site-footer__title,
.site-footer__heading {
    color: var(--white);
}

.site-footer__heading {
    font-size: 1.3rem;
    margin-bottom: 14px;
}

.site-footer__links,
.site-footer__contact {
    display: grid;
    gap: 10px;
}

.site-footer__links a,
.site-footer__contact a {
    color: rgba(255, 255, 255, 0.86);
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 18px;
    font-size: 0.92rem;
}

@media (max-width: 1180px) {
    .hero-home__grid,
    .story-grid,
    .contact-banner,
    .collection-grid,
    .route-grid,
    .steps-grid,
    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .section-intro,
    .site-footer__bottom {
        flex-direction: column;
        align-items: start;
    }
}

@media (max-width: 920px) {
    .site-header__inner,
    .hero-home__grid,
    .story-grid,
    .contact-banner,
    .collection-grid,
    .route-grid,
    .steps-grid,
    .site-footer__grid,
    .listing,
    .grid--3,
    .grid--2,
    .search-form {
        grid-template-columns: 1fr;
    }

    .site-header__inner {
        padding: 16px 0;
    }

    .site-nav {
        justify-content: flex-start;
    }

    .hero-home {
        padding-top: 48px;
    }

    .hero-home__title {
        max-width: 10ch;
        font-size: clamp(3.3rem, 12vw, 5rem);
    }

    .search-form__full,
    .search-form__submit,
    .search-form__whatsapp {
        grid-column: auto;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(1240px, calc(100% - 24px));
    }

    .brand__title {
        font-size: 1.7rem;
    }

    .brand__subtitle,
    .site-nav > a:not(.nav-cta),
    .nav-logout__button {
        font-size: 0.82rem;
    }

    .lang-pill,
    .nav-cta,
    .btn {
        min-height: 50px;
    }

    .hero-home__lead {
        font-size: 1rem;
    }

    .search-panel,
    .contact-banner,
    .step-card,
    .route-card,
    .collection-card__body {
        padding: 20px;
    }

    .section {
        padding: 68px 0;
    }

    .floating-actions a {
        width: 58px;
        height: 58px;
        border-radius: 20px;
    }
}
