:root {
    --navy: #1f2a44;
    --gold: #d2b47c;
    --cream: #f6f2ea;
    --text-dark: #1e1e1e;
    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --fs-base: 16px;
    --container-max: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: var(--fs-base);
}

body {
    font-family: "Georgia", serif;
    color: var(--text-dark);
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    padding: 0 1rem;
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px; /* touch target */
    padding: 10px 18px;
    background: var(--gold);
    color: #000;
    font-weight: 600;
    font-size: 0.94rem;
    letter-spacing: 0.6px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
}

.btn:hover {
    filter: brightness(0.98);
}

.btn:focus {
    outline: 3px solid rgba(210, 180, 124, 0.25);
    outline-offset: 2px;
}

.hero {
    color: #fff;
    padding: clamp(40px, 12vh, 120px) 0;
    display: flex;
    align-items: center;
}

.hero-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-logo {
    width: 48px;
    height: auto;
}

.hero-title {
    font-size: 1.4rem;
    color: var(--gold);
    font-weight: 700;
}

.hero .container {
    display: block;
}

.hero h1 {
    font-size: clamp(28px, 6vw, 56px);
    color: var(--gold);
    margin-bottom: var(--space-2);
    line-height: 1.05;
}

.hero p {
    max-width: 100%;
    margin-bottom: var(--space-3);
}

.section {
    padding: clamp(32px, 6vh, 80px) 0;
}

.section.light {
    background: var(--cream);
}

.section h2 {
    font-size: 1.6rem;
    margin-bottom: var(--space-2);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3);
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3);
}

.card {
    background: #fff;
    padding: var(--space-3);
    font-size: 0.95rem;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(31, 42, 68, 0.08);
    color: var(--text-dark);
    border: 1px solid rgba(30, 30, 30, 0.03);
}

.card.text-center {
    text-align: center;
}

footer {
    background: var(--navy);
    color: #fff;
    text-align: center;
    padding: 24px 0;
    font-size: 0.9rem;
}

.overlay-section {
    position: relative;
    padding: clamp(40px, 8vh, 100px) 0;
    color: #fff;
}

.overlay-section h3 {
    text-align: center;
    color: #9ec5ff;
    font-size: 1.3rem;
    margin-bottom: var(--space-4);
}

@media (min-width: 480px) {
    .overlay-section h3 {
        font-size: 1.6rem;
    }
}

.overlay-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3);
}

.overlay-card {
    border: 1px solid rgba(210, 180, 124, 0.15);
    padding: var(--space-3);
    background: rgba(31, 42, 68, 0.45);
    border-radius: 8px;
}

.overlay-card h4 {
    color: #9ec5ff;
    font-size: 0.95rem;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.overlay-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 9999;
    overflow: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
    pointer-events: none;
}

.modal.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* dark overlay */
.modal::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
    pointer-events: none;
}

.modal .modal-content {
    position: fixed;
    inset: 0;
    z-index: 2;
    width: 100vw;
    height: 100vh;
    max-height: none;
    background: #fff;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: none;
    margin: 0;
}

.modal .modal-content > .modal-header,
.modal .modal-content > .modal-body {
    padding: 1rem 1.25rem;
}

.modal .modal-content .modal-body {
    overflow: auto;
    flex: 1 1 auto;
    -webkit-overflow-scrolling: touch;
}

.modal .modal-content .modal-header {
    flex: 0 0 auto;
    text-align: center;
    top: 0;
    background: #fff;
    z-index: 3;
}

.modal .modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 6;
    cursor: pointer;
}

body.modal-open {
    overflow: hidden;
}

.text-center {
    text-align: center;
}

.cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (min-width: 480px) {
    .grid-2 {
        grid-template-columns: 1fr 1fr;
        gap: calc(var(--space-3) + 8px);
    }

    .overlay-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    :root {
        --container-max: 960px;
    }

    .container {
        padding: 0 1.25rem;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .overlay-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero {
        padding: clamp(48px, 14vh, 120px) 0;
    }

    .hero p {
        max-width: 540px;
    }

    .section h2 {
        font-size: 1.8rem;
    }
}

@media (min-width: 1024px) {
    :root {
        --container-max: 1200px;
    }

    .container {
        padding: 0 1.5rem;
    }

    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }

    .grid-2 {
        gap: 48px;
    }

    .hero p {
        max-width: 640px;
    }

    .section h2 {
        font-size: 2.4rem;
    }
}

.square-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
}

.form {
    max-width: 500px;
    margin: 0;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid rgba(30, 30, 30, 0.08);
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box;
}

.form-textarea {
    height: 140px;
    resize: vertical;
}

.form-feedback {
    margin-bottom: 1rem;
    padding: 0.6rem 0.9rem;
    border-radius: 6px;
    background: rgba(31, 42, 68, 0.04);
    color: #1e1e1e;
    font-weight: 600;
}

#privacy ul {
    padding-left: 30px;
}