/* Trionex — travel palette: blue, sand, white */
:root {
    --blue-900: #0a2540;
    --blue-700: #1e4d7a;
    --blue-500: #2d7db0;
    --blue-300: #7eb8db;
    --sand-100: #f6f0e8;
    --sand-200: #e8dcc8;
    --sand-400: #c4a574;
    --white: #ffffff;
    --text: #1a2f3d;
    --muted: #4a6573;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 12px 40px rgba(10, 37, 64, 0.08);
    --font: "Segoe UI", system-ui, -apple-system, sans-serif;
    --font-display: Georgia, "Times New Roman", serif;
}

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

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    margin: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    font-family: var(--font);
    color: var(--text);
    background: linear-gradient(180deg, var(--sand-100) 0%, var(--white) 28%);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

a {
    color: var(--blue-700);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

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

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 100;
    padding: 0.75rem 1rem;
    background: var(--blue-900);
    color: var(--white);
    border-radius: var(--radius-sm);
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
}

.site-header {
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--sand-200);
}

.header-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.brand:hover {
    text-decoration: none;
}

.brand-logo {
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--blue-900);
    letter-spacing: -0.02em;
}

.brand-tagline {
    font-size: 0.72rem;
    color: var(--muted);
    max-width: 14rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--sand-200);
    border-radius: var(--radius-sm);
    background: var(--white);
    cursor: pointer;
}

.nav-toggle-bar {
    display: block;
    height: 2px;
    width: 22px;
    margin: 0 auto;
    background: var(--blue-900);
    border-radius: 1px;
}

.site-nav .nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.1rem;
    align-items: center;
}

.site-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--blue-700);
    text-decoration: none;
    padding: 0.35rem 0.2rem;
    border-radius: 6px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--blue-500);
    background: var(--sand-100);
}

.site-nav a.is-active {
    color: var(--blue-900);
    font-weight: 600;
    box-shadow: inset 0 -2px 0 var(--blue-500);
}

main {
    flex: 1 0 auto;
    max-width: 1120px;
    margin: 0 auto;
    width: 100%;
    padding: 2rem 1.25rem 4rem;
}

.hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 0 3rem;
    border-bottom: 1px solid var(--sand-200);
}

@media (min-width: 880px) {
    .hero {
        grid-template-columns: 1.1fr 0.9fr;
        align-items: center;
    }
}

.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--blue-500);
    margin: 0 0 0.5rem;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600;
    color: var(--blue-900);
    line-height: 1.15;
    margin: 0 0 1rem;
}

.hero-lead {
    font-size: 1.1rem;
    color: var(--muted);
    margin: 0 0 1.5rem;
    max-width: 36ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    filter: brightness(1.05);
    color: var(--white);
    text-decoration: none;
}

.btn-ghost {
    background: var(--white);
    border-color: var(--sand-200);
    color: var(--blue-900);
}

.btn-ghost:hover {
    border-color: var(--blue-300);
    text-decoration: none;
}

.hero-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--sand-200);
}

.hero-card h2 {
    font-size: 1rem;
    margin: 0 0 1rem;
    color: var(--blue-900);
}

.itinerary-preview {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.itinerary-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.65rem 0;
    border-bottom: 1px dashed var(--sand-200);
}

.itinerary-row:last-child {
    border-bottom: 0;
}

.itinerary-time {
    flex-shrink: 0;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--blue-500);
    min-width: 3.5rem;
}

.itinerary-row p {
    margin: 0;
    font-size: 0.92rem;
}

.section {
    padding: 3rem 0;
}

.section-header {
    max-width: 640px;
    margin-bottom: 2rem;
}

.section-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--sand-400);
    margin: 0 0 0.35rem;
}

.section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: var(--blue-900);
    margin: 0 0 0.5rem;
}

.section-intro {
    color: var(--muted);
    margin: 0;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.35rem;
    border: 1px solid var(--sand-200);
    box-shadow: 0 4px 20px rgba(10, 37, 64, 0.05);
}

.card-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 0.75rem;
}

.card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    color: var(--blue-900);
}

.card p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--muted);
}

.story-block {
    display: grid;
    gap: 1.5rem;
    align-items: center;
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--sand-200);
}

@media (min-width: 768px) {
    .story-block {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .story-block.reverse {
        direction: rtl;
    }

    .story-block.reverse > * {
        direction: ltr;
    }
}

.story-block:last-of-type {
    border-bottom: 0;
}

.story-quote {
    font-family: var(--font-display);
    font-size: 1.35rem;
    line-height: 1.45;
    color: var(--blue-900);
    margin: 0 0 1rem;
}

.story-caption {
    margin: 0;
    color: var(--muted);
    font-size: 0.98rem;
}

.story-visual {
    background: linear-gradient(145deg, var(--blue-300), var(--sand-200));
    border-radius: var(--radius);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.story-visual svg {
    width: 120px;
    height: 120px;
    opacity: 0.9;
}

.page-hero {
    padding: 1rem 0 2rem;
    border-bottom: 1px solid var(--sand-200);
    margin-bottom: 2rem;
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: var(--blue-900);
    margin: 0 0 0.5rem;
}

.page-hero p {
    margin: 0;
    color: var(--muted);
    max-width: 55ch;
}

.prose {
    max-width: 68ch;
}

.prose h2 {
    font-size: 1.25rem;
    margin: 2rem 0 0.75rem;
    color: var(--blue-900);
}

.prose p,
.prose li {
    color: var(--muted);
}

.prose ul {
    padding-left: 1.25rem;
}

.contact-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 800px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.contact-form label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
    color: var(--blue-900);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--sand-200);
    font-family: inherit;
    font-size: 1rem;
    margin-bottom: 1rem;
    background: var(--white);
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form button {
    margin-top: 0.25rem;
}

.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    border: 1px solid var(--sand-200);
    background: var(--sand-100);
    color: var(--muted);
}

.site-footer {
    flex-shrink: 0;
    background: var(--blue-900);
    color: rgba(255, 255, 255, 0.88);
    padding: 3rem 1.25rem 1.5rem;
}

.footer-grid {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-brand p {
    margin: 0.75rem 0 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
}

.footer-heading {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0 0 0.75rem;
    color: var(--blue-300);
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.35rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-address {
    font-style: normal;
    font-size: 0.92rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
}

.footer-email {
    margin: 0.75rem 0 0;
}

.footer-email a {
    color: var(--blue-300);
}

.footer-bottom {
    max-width: 1120px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
    }

    .site-nav {
        width: 100%;
        order: 3;
        display: none;
    }

    .site-nav.is-open {
        display: block;
    }

    .site-nav .nav-list {
        flex-direction: column;
        align-items: stretch;
        padding: 0.5rem 0 0;
    }

    .site-nav a {
        padding: 0.6rem 0;
    }

    .brand-tagline {
        display: none;
    }
}
