@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Playfair+Display:wght@600;700;800&display=swap');

/* =========================================================
   BRAND VARIABLES
   ========================================================= */

:root {
    --dtc-deep-ocean: #0a2f38;
    --dtc-ocean-teal: #114b5f;
    --dtc-sea-glass: #1b6b7a;
    --dtc-gold: #c89b2b;
    --dtc-gold-light: #e0b94f;
    --dtc-sand: #f3efe6;
    --dtc-sand-light: #fbf8f1;
    --dtc-border: #e4d8c8;
    --dtc-border-dark: #d8cdbc;
    --dtc-charcoal: #111111;
    --dtc-muted: #6f6457;
    --dtc-white: #ffffff;
    --dtc-error: #d9533f;
}


/* =========================================================
   GLOBAL RESET
   ========================================================= */

html {
    margin: 0;
    padding: 0;
}

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

body {
    margin: 0;
    padding: 0;
    background:
        radial-gradient(
            circle at top left,
            rgba(27, 107, 122, 0.10),
            transparent 32%
        ),
        var(--dtc-sand);
    color: var(--dtc-charcoal);
    font-family: 'Montserrat', Arial, sans-serif;
}


/* =========================================================
   STANDARD PAGE CONTAINER
   ========================================================= */

.enq-page {
    width: min(1080px, calc(100% - 28px));
    margin: 0 auto;
    padding: 28px 0 56px;
}


/* =========================================================
   STANDALONE HERO
   ========================================================= */

.enq-hero {
    position: relative;
    margin-bottom: 24px;
    padding: 38px;
    border: 1px solid rgba(200, 155, 43, 0.28);
    border-radius: 34px;
    background:
        linear-gradient(
            135deg,
            rgba(10, 47, 56, 0.98),
            rgba(17, 75, 95, 0.96)
        );
    color: var(--dtc-white);
    box-shadow: 0 24px 70px rgba(7, 54, 66, 0.25);
    overflow: hidden;
}

.enq-hero img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 82px;
    margin-bottom: 22px;
    padding: 8px;
    border-radius: 18px;
    background: var(--dtc-white);
}

.enq-hero p {
    margin: 0 0 10px;
    color: var(--dtc-gold);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.enq-hero h1 {
    max-width: 760px;
    margin: 0 0 14px;
    color: var(--dtc-white);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1;
}

.enq-hero span {
    color: #d9f0ed;
    font-size: 18px;
}


/* =========================================================
   FORM CARDS
   ========================================================= */

.enq-card,
.enq-submit-card,
.thanks-card {
    margin-bottom: 22px;
    padding: 28px;
    border: 1px solid var(--dtc-border);
    border-radius: 28px;
    background: var(--dtc-white);
    box-shadow: 0 20px 55px rgba(10, 47, 56, 0.12);
}

.enq-card h2 {
    margin: 0 0 20px;
    color: var(--dtc-deep-ocean);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    line-height: 1.2;
}


/* =========================================================
   FORM GRID
   ========================================================= */

.enq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}


/* =========================================================
   FIELD LABELS AND HELP TEXT
   ========================================================= */

.enq-field {
    min-width: 0;
}

.enq-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--dtc-deep-ocean);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.4;
}

.enq-field label span {
    color: var(--dtc-error);
}

.enq-field small {
    display: block;
    margin: -2px 0 8px;
    color: var(--dtc-muted);
    font-size: 12px;
    line-height: 1.45;
}


/* =========================================================
   TEXT INPUTS, SELECTS AND TEXTAREAS
   ========================================================= */

.enq-field input,
.enq-field textarea,
.enq-field select {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 46px;
    margin: 0;
    padding: 13px 14px;
    border: 1px solid var(--dtc-border-dark);
    border-radius: 16px;
    outline: none;
    background: #fffdf9;
    color: var(--dtc-charcoal);
    font: inherit;
    font-size: 14px;
    line-height: 1.4;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background-color 0.18s ease;
}

.enq-field textarea {
    min-height: 110px;
    resize: vertical;
}

.enq-field input::placeholder,
.enq-field textarea::placeholder {
    color: #938a7e;
    opacity: 1;
}

.enq-field input:hover,
.enq-field textarea:hover,
.enq-field select:hover {
    border-color: #c9b99f;
}

.enq-field input:focus,
.enq-field textarea:focus,
.enq-field select:focus {
    border-color: var(--dtc-gold);
    outline: none;
    background: var(--dtc-white);
    box-shadow: 0 0 0 3px rgba(200, 155, 43, 0.16);
}


/* =========================================================
   DESTINATION FEATURE FIELD
   ========================================================= */

.destination-feature {
    grid-column: 1 / -1;
    margin: 6px 0 18px;
    padding: 22px;
    border: 1px solid rgba(200, 155, 43, 0.35);
    border-radius: 24px;
    background:
        linear-gradient(
            135deg,
            #fffaf0,
            var(--dtc-white)
        );
}

.destination-feature textarea {
    min-height: 120px;
    font-size: 16px;
}


/* =========================================================
   CHECKBOXES, RADIO BUTTONS AND CONSENT
   ========================================================= */

.choice-list {
    display: grid;
    gap: 8px;
}

.choice,
.consent-line {
    display: flex !important;
    align-items: flex-start;
    gap: 9px;
    min-height: 43px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid var(--dtc-border);
    border-radius: 14px;
    background: var(--dtc-sand-light);
    color: #2f3d40 !important;
    cursor: pointer;
    font-size: 13px;
    font-weight: 800 !important;
    line-height: 1.45;
    transition:
        border-color 0.18s ease,
        background-color 0.18s ease;
}

.choice:hover,
.consent-line:hover {
    border-color: rgba(200, 155, 43, 0.58);
    background: #fffaf0;
}

.choice input,
.consent-line input {
    flex: 0 0 auto;
    width: 16px !important;
    height: 16px;
    margin: 2px 0 0;
    padding: 0;
    accent-color: var(--dtc-ocean-teal);
}

.choice span,
.consent-line span {
    min-width: 0;
}

.enq-type-checkboxes,
.enq-type-radios,
.enq-type-consent {
    min-width: 0;
}

.enq-type-consent {
    grid-column: 1 / -1;
}


/* =========================================================
   HONEYPOT
   ========================================================= */

.hp-field {
    position: absolute !important;
    top: auto !important;
    left: -5000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}


/* =========================================================
   SUBMIT AREA
   ========================================================= */

.enq-submit-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.enq-submit-card p {
    margin: 0;
    color: var(--dtc-muted);
    font-size: 13px;
    line-height: 1.5;
}

.enq-submit-card button,
.thanks-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 48px;
    padding: 15px 24px;
    border: 0;
    border-radius: 999px;
    background:
        linear-gradient(
            135deg,
            var(--dtc-gold),
            var(--dtc-gold-light)
        );
    color: var(--dtc-deep-ocean);
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 8px 22px rgba(200, 155, 43, 0.22);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        filter 0.18s ease;
}

.enq-submit-card button:hover,
.thanks-card a:hover {
    filter: brightness(1.04);
    transform: translateY(-1px);
    box-shadow: 0 11px 28px rgba(200, 155, 43, 0.30);
}

.enq-submit-card button:active,
.thanks-card a:active {
    transform: translateY(0);
}


/* =========================================================
   THANK-YOU PAGE
   ========================================================= */

.thanks-card {
    max-width: 720px;
    margin: 60px auto;
    padding: 42px;
    text-align: center;
}

.thanks-card img {
    width: auto;
    max-width: 260px;
    height: 86px;
    margin-bottom: 22px;
    object-fit: contain;
}

.thanks-card h1 {
    margin: 0 0 16px;
    color: var(--dtc-deep-ocean);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 40px;
}

.thanks-card p {
    margin: 0;
    color: #403a34;
    font-size: 18px;
    line-height: 1.55;
}

.thanks-card a {
    margin-top: 18px;
}


/* =========================================================
   EMBEDDED WORDPRESS MODE
   enquiry_form.php?embedded=1
   ========================================================= */

html:has(body.embedded-form) {
    background: transparent !important;
}

body.embedded-form {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    background: transparent !important;
    overflow-x: hidden;
}

body.embedded-form .enq-page {
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 0 0 34px;
    background: transparent !important;
}

body.embedded-form .enq-hero {
    display: none !important;
}

body.embedded-form .enq-form {
    width: 100%;
    max-width: 1100px;
    min-width: 0;
    margin: 0 auto;
    padding: 0 0 42px;
    background: transparent !important;
}

/*
 * Individual form sections remain white cards, but the large iframe/page
 * background is transparent so it blends into the WordPress form area.
 */
body.embedded-form .enq-card {
    margin: 0 0 20px;
    padding: 25px;
    border: 1px solid rgba(228, 216, 200, 0.9);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow:
        0 14px 35px rgba(10, 47, 56, 0.08),
        0 2px 8px rgba(10, 47, 56, 0.04);
}

body.embedded-form .enq-card h2 {
    position: relative;
    margin: 0 0 21px;
    padding-bottom: 12px;
    color: var(--dtc-deep-ocean);
    font-size: 26px;
}

body.embedded-form .enq-card h2::after {
    content: "";
    display: block;
    width: 48px;
    height: 2px;
    margin-top: 11px;
    border-radius: 999px;
    background: var(--dtc-gold);
}

/*
 * The cards are intentionally slightly narrower than the iframe so the
 * surrounding gradient remains visible without creating a white border.
 */
body.embedded-form .enq-card,
body.embedded-form .enq-submit-card {
    width: calc(100% - 8px);
    margin-right: auto;
    margin-left: auto;
}

body.embedded-form .destination-feature {
    padding: 19px;
    border-radius: 18px;
    background:
        linear-gradient(
            135deg,
            rgba(255, 250, 240, 0.96),
            rgba(255, 255, 255, 0.96)
        );
}

body.embedded-form .enq-field input,
body.embedded-form .enq-field textarea,
body.embedded-form .enq-field select {
    min-height: 44px;
    padding: 11px 13px;
    border-radius: 13px;
    font-size: 13px;
}

body.embedded-form .enq-field textarea {
    min-height: 108px;
}

body.embedded-form .choice,
body.embedded-form .consent-line {
    min-height: 40px;
    padding: 9px 11px;
    border-radius: 12px;
    font-size: 12px;
}

body.embedded-form .enq-submit-card {
    margin-top: 4px;
    margin-bottom: 34px;
    padding: 22px 24px 27px;
    border: 1px solid rgba(228, 216, 200, 0.88);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow:
        0 14px 35px rgba(10, 47, 56, 0.07),
        0 2px 8px rgba(10, 47, 56, 0.04);
}

body.embedded-form .enq-submit-card p {
    max-width: 620px;
    color: #645e56;
}

body.embedded-form .enq-submit-card button {
    margin: 0 0 2px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {
    .enq-page {
        width: min(100% - 22px, 1080px);
        padding-top: 20px;
    }

    .enq-hero {
        padding: 30px;
        border-radius: 26px;
    }

    .enq-card,
    .enq-submit-card {
        padding: 24px;
        border-radius: 23px;
    }

    body.embedded-form .enq-page {
        width: 100%;
        padding: 0 0 30px;
    }

    body.embedded-form .enq-form {
        max-width: none;
        padding-bottom: 38px;
    }

    body.embedded-form .enq-card {
        padding: 22px;
        border-radius: 21px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {
    .enq-grid {
        grid-template-columns: 1fr;
    }

    .enq-hero {
        padding: 28px;
    }

    .enq-card {
        padding: 22px;
    }

    .destination-feature {
        padding: 18px;
    }

    .enq-submit-card {
        display: block;
    }

    .enq-submit-card button {
        width: 100%;
        margin-top: 18px;
    }

    body.embedded-form .enq-page {
        padding-bottom: 24px;
    }

    body.embedded-form .enq-form {
        padding-bottom: 32px;
    }

    body.embedded-form .enq-card,
    body.embedded-form .enq-submit-card {
        width: 100%;
    }

    body.embedded-form .enq-card {
        margin-bottom: 17px;
        padding: 19px;
        border-radius: 18px;
    }

    body.embedded-form .enq-card h2 {
        margin-bottom: 18px;
        font-size: 23px;
    }

    body.embedded-form .enq-submit-card {
        margin-bottom: 26px;
        padding: 20px 19px 24px;
    }

    body.embedded-form .enq-submit-card button {
        margin-top: 18px;
    }

    body.embedded-form .destination-feature {
        padding: 16px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {
    .enq-page {
        width: min(100% - 16px, 1080px);
    }

    .enq-hero {
        padding: 23px;
        border-radius: 22px;
    }

    .enq-hero img {
        height: 68px;
    }

    .enq-hero span {
        font-size: 15px;
    }

    .enq-card,
    .enq-submit-card {
        padding: 18px;
        border-radius: 18px;
    }

    .enq-card h2 {
        font-size: 24px;
    }

    body.embedded-form .enq-card {
        padding: 17px;
        border-radius: 16px;
    }

    body.embedded-form .enq-field label {
        font-size: 12px;
    }

    body.embedded-form .enq-field input,
    body.embedded-form .enq-field textarea,
    body.embedded-form .enq-field select {
        min-height: 43px;
        padding: 10px 11px;
        border-radius: 11px;
        font-size: 13px;
    }

    body.embedded-form .choice,
    body.embedded-form .consent-line {
        font-size: 11px;
    }

    body.embedded-form .enq-submit-card {
        margin-bottom: 22px;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    .enq-field input,
    .enq-field textarea,
    .enq-field select,
    .choice,
    .consent-line,
    .enq-submit-card button,
    .thanks-card a {
        transition: none;
    }
}
/* =========================================================
   HOLIDAY PREFERENCES LAYOUT
   ========================================================= */

/*
 * Budget and Board Basis remain side by side.
 * Accommodation Type spans the full card width.
 */
.enq-section-holiday-preferences .enq-grid > .enq-field:nth-child(3) {
    grid-column: 1 / -1;
    margin-top: 4px;
}

/*
 * Arrange accommodation options across the available width
 * rather than leaving a large empty right-hand area.
 */
.enq-section-holiday-preferences
.enq-grid > .enq-field:nth-child(3)
.choice-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 12px;
}

/*
 * Keep the option cards uniform.
 */
.enq-section-holiday-preferences
.enq-grid > .enq-field:nth-child(3)
.choice {
    height: 100%;
    min-height: 48px;
    align-items: center;
}

/* Tablet */
@media (max-width: 900px) {
    .enq-section-holiday-preferences
    .enq-grid > .enq-field:nth-child(3)
    .choice-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 600px) {
    .enq-section-holiday-preferences
    .enq-grid > .enq-field:nth-child(3)
    .choice-list {
        grid-template-columns: 1fr;
    }
}