/* =========================================
   CONTACT PAGE — Ease My Holiday
========================================= */

.ct-page {
    --navy: #14213d;
    --gold: #d4a017;
    --ink: #1b2a44;
    --muted: #5c6b80;
    --line: #e2e8f0;
    --bg: #f3f6fb;

    font-family: "Manrope", system-ui, sans-serif;
    background: var(--bg);
    color: var(--ink);
    overflow-x: hidden;
}

.ct-wrap {
    width: min(1140px, calc(100% - 32px));
    margin: 0 auto;
}

.ct-brand {
    margin: 0 0 10px;
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    font-weight: 700;
    color: #fff;
}

.ct-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.ct-eyebrow.dark {
    color: var(--gold);
}

.ct-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    border: 0;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.ct-btn:hover {
    transform: translateY(-2px);
}

.ct-btn-gold {
    background: var(--gold);
    color: var(--navy);
}

.ct-btn-navy {
    background: var(--navy);
    color: #fff;
}

.ct-btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

/* Hero */
.ct-hero {
    position: relative;
    min-height: clamp(320px, 48vw, 420px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #0f1a2b;
}

.ct-hero-media,
.ct-hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ct-hero-media img {
    transform: none;
    animation: none;
    filter: none;
}

.ct-hero-veil {
    display: none;
}

.ct-hero-inner h1,
.ct-hero-inner > p {
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.75),
        0 8px 28px rgba(0, 0, 0, 0.5);
}

.ct-hero-inner {
    position: relative;
    z-index: 1;
    width: min(1140px, calc(100% - 32px));
    margin: 0 auto;
    padding: 64px 0 48px;
}

.ct-hero-inner h1 {
    margin: 0 0 12px;
    max-width: 14ch;
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(2rem, 4.8vw, 3.1rem);
    line-height: 1.12;
    color: #fff;
}

.ct-hero-inner h1 span {
    color: var(--gold);
}

.ct-hero-inner > p {
    margin: 0 0 20px;
    max-width: 42ch;
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    line-height: 1.65;
}

.ct-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Quick strip */
.ct-quick {
    padding: 18px 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.ct-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.ct-quick-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: center;
    padding: 12px 10px;
    text-decoration: none;
    color: inherit;
}

.ct-quick-item i {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(20, 33, 61, 0.06);
    color: var(--navy);
}

.ct-quick-item .fa-whatsapp {
    color: #1fad66;
    background: rgba(31, 173, 102, 0.12);
}

.ct-quick-item strong {
    display: block;
    font-size: 14px;
    color: var(--navy);
}

.ct-quick-item span {
    font-size: 12px;
    color: var(--muted);
    word-break: break-word;
}

/* Main */
.ct-main {
    padding: 56px 0 40px;
}

.ct-main-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
    align-items: start;
}

.ct-side h2 {
    margin: 0 0 12px;
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(1.55rem, 2.8vw, 2.15rem);
    line-height: 1.2;
    color: var(--navy);
}

.ct-side > p {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.ct-side-list {
    display: grid;
    gap: 10px;
}

.ct-side-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
    padding: 14px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    border-bottom: 3px solid rgba(212, 160, 23, 0.3);
}

.ct-side-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(20, 33, 61, 0.06);
    color: var(--navy);
}

.ct-side-icon.wa {
    background: rgba(31, 173, 102, 0.12);
    color: #1fad66;
}

.ct-side-row small {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ct-side-row strong {
    font-size: 14px;
    color: var(--navy);
    font-weight: 700;
    line-height: 1.45;
}

/* Form */
.ct-form-panel {
    background: #fff;
    padding: clamp(20px, 3vw, 28px);
    border: 1px solid var(--line);
}

.ct-form-head {
    margin-bottom: 18px;
}

.ct-form-head h2 {
    margin: 0 0 8px;
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
    color: var(--navy);
}

.ct-form-head p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.ct-alert {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 16px;
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.5;
}

.ct-alert-ok {
    background: #e8f7ee;
    color: #1f6b3a;
    border: 1px solid #b7e2c5;
}

.ct-alert-err {
    background: #fdeeee;
    color: #8f1f1f;
    border: 1px solid #f0c2c2;
}

.ct-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.ct-field {
    margin-bottom: 14px;
}

.ct-field label {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
}

.ct-field label span {
    color: #c0392b;
}

.ct-input,
.ct-textarea {
    position: relative;
}

.ct-input i,
.ct-textarea i {
    position: absolute;
    left: 14px;
    top: 14px;
    color: #8a97a8;
    pointer-events: none;
}

.ct-input input,
.ct-input select,
.ct-textarea textarea {
    width: 100%;
    border: 1px solid #d7dee8;
    background: #fbfcfe;
    color: var(--ink);
    font: inherit;
    font-size: 14px;
    border-radius: 10px;
    padding: 12px 14px 12px 42px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ct-textarea textarea {
    min-height: 110px;
    resize: vertical;
}

.ct-input input:focus,
.ct-input select:focus,
.ct-textarea textarea:focus {
    border-color: rgba(212, 160, 23, 0.8);
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.18);
    background: #fff;
}

.ct-field.bct-contact-invalid .ct-input input,
.ct-field.bct-contact-invalid .ct-input select,
.ct-field.bct-contact-invalid .ct-textarea textarea {
    border-color: #d9534f;
}

.bct-contact-error-text {
    display: block;
    margin-top: 6px;
    color: #c0392b;
    font-size: 12px;
}

.ct-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 50px;
    margin-top: 4px;
    border: 0;
    border-radius: 10px;
    background: var(--gold);
    color: var(--navy);
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.ct-submit:hover {
    transform: translateY(-2px);
    filter: brightness(1.03);
}

.ct-submit.bct-contact-loading {
    opacity: 0.85;
    pointer-events: none;
}

.ct-secure {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 12px;
}

/* Map */
.ct-map {
    padding: 24px 0 80px;
}

.ct-map-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.ct-map-head h2 {
    margin: 0;
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    color: var(--navy);
}

.ct-map-frame {
    position: relative;
    overflow: hidden;
    background: #102038;
    min-height: 360px;
}

.ct-map-frame iframe {
    width: 100%;
    height: 420px;
    border: 0;
    display: block;
}

.ct-map-card {
    position: absolute;
    left: 16px;
    bottom: 16px;
    right: 16px;
    max-width: 420px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    padding: 14px;
    background: rgba(20, 33, 61, 0.92);
    color: #fff;
}

.ct-map-card i {
    color: var(--gold);
    font-size: 18px;
    margin-top: 2px;
}

.ct-map-card strong {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
}

.ct-map-card p {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* Motion */
.ct-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.65s ease, transform 0.65s ease;
    transition-delay: var(--d, 0s);
}

.ct-reveal.is-in {
    opacity: 1;
    transform: none;
}

@keyframes ctKen {
    from { transform: scale(1.05); }
    to { transform: scale(1.12) translate3d(-1%, -1%, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .ct-hero-media img,
    .ct-reveal {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (max-width: 900px) {
    .ct-quick-grid,
    .ct-main-grid,
    .ct-form-row {
        grid-template-columns: 1fr;
    }

    .ct-quick-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ct-map-frame iframe {
        height: 340px;
    }
}

@media (max-width: 560px) {
    .ct-wrap {
        width: calc(100% - 24px);
    }

    .ct-quick-grid {
        grid-template-columns: 1fr;
    }

    .ct-hero-inner h1 {
        max-width: none;
    }

    .ct-map-card {
        position: static;
        max-width: none;
        margin: 0;
    }

    .ct-map-frame {
        display: flex;
        flex-direction: column;
    }
}
