/* ============================================================
   CELEBRITY CRUISES LANDER — style.css
   Palette: deep ocean navy, teal, warm sand/gold, off-white
   ============================================================ */

:root {
    --navy-900: #0a1f33;
    --navy-800: #0f2d49;
    --navy-700: #163e63;
    --teal-600: #0d7377;
    --teal-500: #14919a;
    --sand-400: #c9a96e;
    --sand-300: #d9c193;
    --cream: #f7f4ee;
    --white: #ffffff;
    --ink: #1a2533;
    --muted: #5b6b7b;
    --error: #c0392b;
    --error-bg: #fdecea;
    --success: #1a8a5a;

    --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --radius: 10px;
    --radius-sm: 6px;
    --shadow-card: 0 24px 60px -16px rgba(10, 31, 51, 0.45);
    --shadow-soft: 0 8px 28px -10px rgba(10, 31, 51, 0.25);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

/* ============================================================ HERO */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    color: var(--white);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    animation: heroZoom 18s ease-out forwards;
}

@keyframes heroZoom {
    from { transform: scale(1.12); }
    to { transform: scale(1.05); }
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
    rgba(10, 31, 51, 0.65) 0%,
    rgba(10, 31, 51, 0.55) 40%,
    rgba(10, 31, 51, 0.85) 100%);
}

.hero__nav {
    position: relative;
    z-index: 3;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 31, 51, 0.6);
    backdrop-filter: blur(6px);
}

/* ---- FHF Logo ---- */
.fhf-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fhf-logo__mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a8a5a, #0d7377);
    color: var(--white);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.fhf-logo__name {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    color: var(--white);
    line-height: 1;
}

.fhf-logo__name span {
    color: var(--sand-300);
}

.hero__ad-label {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 4px 10px;
    border-radius: 4px;
}

/* ---- Two-column split ---- */
.hero__split {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 40px;
    padding: 20px 24px 40px;
    max-width: 1180px;
    margin: 0 auto;
    width: 100%;
}

.hero__content {
    flex: 1;
    max-width: 520px;
    text-align: left;
}

.hero__eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--sand-300);
    margin-bottom: 16px;
    opacity: 0;
    animation: fadeUp 0.8s 0.3s forwards;
}

.hero__headline {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.8rem, 4.5vw, 3.2rem);
    line-height: 1.12;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
    opacity: 0;
    animation: fadeUp 0.9s 0.5s forwards;
}

.hero__body {
    opacity: 0;
    animation: fadeUp 0.9s 0.7s forwards;
}

.hero__body p {
    font-size: clamp(0.9rem, 1.8vw, 1.02rem);
    font-weight: 300;
    line-height: 1.65;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.82);
}

.hero__links {
    margin-top: 20px;
    font-size: 0.8rem;
}

.hero__links a {
    color: var(--sand-300);
    text-decoration: none;
    font-weight: 500;
}

.hero__links a:hover {
    text-decoration: underline;
    color: var(--sand-400);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================================ INTRO / ARTICLE */
.intro {
    background: var(--cream);
    padding: 80px 24px;
}

.intro__inner {
    max-width: 760px;
    margin: 0 auto;
}

.intro__heading {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 600;
    color: var(--navy-800);
    margin-bottom: 28px;
    text-align: center;
}

.intro__lead {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 500;
    line-height: 1.5;
    color: var(--navy-800);
    margin-bottom: 24px;
}

.intro__body {
    font-size: 1.02rem;
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 20px;
}

/* ============================================================ EXPERIENCE */
.experience {
    padding: 64px 24px 80px;
    background: var(--white);
}

.experience__grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

.exp-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.exp-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(10, 31, 51, 0.3);
}

.exp-card__img {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
}

.exp-card__title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--navy-800);
    padding: 20px 24px 8px;
}

.exp-card__text {
    font-size: 0.95rem;
    color: var(--muted);
    padding: 0 24px 24px;
    line-height: 1.6;
}

/* ============================================================ OFFER / FORM CARD (now inside hero) */
.offer__card {
    position: relative;
    z-index: 2;
    flex: 0 0 420px;
    max-width: 420px;
    width: 100%;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    overflow: hidden;
    opacity: 0;
    animation: fadeUp 0.9s 0.6s forwards;
}

.offer__card-head {
    background: var(--navy-900);
    color: var(--white);
    padding: 36px 32px 28px;
    text-align: center;
}

.offer__eyebrow {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--sand-300);
    margin-bottom: 10px;
}

/* ---- Form ---- */
.lead-form {
    padding: 28px 32px 32px;
}

/* Progress */
.progress {
    margin-bottom: 28px;
}

.progress__track {
    height: 4px;
    background: #e3e8ee;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 14px;
}

.progress__bar {
    height: 100%;
    width: 50%;
    background: linear-gradient(90deg, var(--teal-600), var(--teal-500));
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress__labels {
    display: flex;
    justify-content: space-between;
}

.progress__label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color 0.3s ease;
}

.progress__label.is-active { color: var(--teal-600); }
.progress__label.is-done { color: var(--success); }

/* Steps */
.step {
    border: none;
    padding: 0;
    margin: 0;
    display: none;
    animation: stepIn 0.4s ease forwards;
}

.step.is-active { display: block; }

@keyframes stepIn {
    from { opacity: 0; transform: translateX(16px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Fields */
.field {
    margin-bottom: 18px;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--navy-800);
    margin-bottom: 7px;
}

.req { color: var(--error); }

.field input,
.field select {
    width: 100%;
    padding: 12px 14px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--ink);
    background: var(--cream);
    border: 1.5px solid #d9e0e8;
    border-radius: var(--radius-sm);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.field input::placeholder { color: #9aa7b5; }

.field input:focus,
.field select:focus {
    outline: none;
    border-color: var(--teal-500);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(20, 145, 154, 0.12);
}

.field input.invalid,
.field select.invalid {
    border-color: var(--error);
    background: var(--error-bg);
}

.field__error {
    display: block;
    min-height: 1.1em;
    margin-top: 6px;
    font-size: 0.8rem;
    color: var(--error);
    line-height: 1.3;
}

/* Buttons */
.step__actions {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.btn {
    flex: 1;
    padding: 14px 24px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn--next,
.btn--submit {
    background: var(--teal-600);
    color: var(--white);
}

.btn--next:hover,
.btn--submit:hover {
    background: var(--teal-500);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px -6px rgba(13, 115, 119, 0.45);
}

.btn--submit {
    background: var(--sand-400);
    color: var(--navy-900);
    font-size: 0.92rem;
}

.btn--submit:hover {
    background: var(--sand-300);
    box-shadow: 0 8px 20px -6px rgba(201, 169, 110, 0.5);
}

.btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

/* Legal */
.lead-form__legal {
    margin-top: 22px;
    font-size: 0.75rem;
    color: var(--muted);
    line-height: 1.55;
    text-align: left;
}

.lead-form__legal p {
    margin-bottom: 14px;
}

.lead-form__legal a {
    color: var(--teal-600);
    text-decoration: none;
    font-weight: 500;
}

.lead-form__legal a:hover { text-decoration: underline; }

/* ============================================================ FOOTER */
.footer {
    background: var(--navy-900);
    color: rgba(255, 255, 255, 0.8);
    padding: 56px 24px;
    text-align: center;
}

.footer__brand {
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.28em;
    color: var(--sand-300);
    margin-bottom: 8px;
}

.footer__tag {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 28px;
}

.footer__links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.footer__links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.25s ease;
}

.footer__links a:hover { color: var(--sand-300); }

.footer__copy {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
}

/* ============================================================ SUBMIT OVERLAY */
.submit-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 31, 51, 0.72);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.submit-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.submit-overlay__box {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    padding: 40px 48px;
    text-align: center;
    transform: scale(0.92);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.submit-overlay.is-visible .submit-overlay__box {
    transform: scale(1);
}

.submit-overlay__spinner {
    width: 52px;
    height: 52px;
    margin: 0 auto 22px;
    border: 4px solid #e3e8ee;
    border-top-color: var(--teal-600);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.submit-overlay__msg {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy-800);
    margin-bottom: 6px;
}

.submit-overlay__sub {
    font-size: 0.85rem;
    color: var(--muted);
}

/* ============================================================ RESPONSIVE */
@media (min-width: 600px) {
    .field-row {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .experience__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .exp-card__img { height: 200px; }
}

@media (max-width: 960px) {
    .hero__split {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 16px 20px 32px;
    }
    .hero__content {
        text-align: center;
        max-width: 600px;
    }
    .hero__body {
        text-align: left;
    }
    .offer__card {
        flex: 0 0 auto;
        max-width: 460px;
    }
}

@media (min-width: 768px) {
    .offer__card-head { padding: 28px 36px 20px; }
    .lead-form { padding: 28px 36px 36px; }
}

@media (max-width: 599px) {
    .step__actions { flex-direction: column; }

    .hero__nav { padding: 14px 16px; }
    .fhf-logo__name { font-size: 0.72rem; }
    .offer__card { max-width: 100%; }
}
