/* =====================================================
   SAI KRISHNA EMPIRE — TEASER WEBSITE
   Single static hero image | Teal, aqua and peacock-gold
   Font: Inter Tight
===================================================== */

:root {
    --navy: #0B4A66;          /* "wish" script blue: headings, text */
    --navy-dark: #083650;
    --teal: #2A98AE;          /* pool teal: accents, focus */
    --teal-dark: #1F7F96;
    --aqua: #8FD0DB;
    --aqua-soft: #CFEAF0;
    --ivory: #FFFFFF;         /* page background */
    --white: #FFFFFF;
    --gold: #D9B531;          /* peacock feather gold */
    --gold-light: #F2D36B;
    --muted: #4F6F7F;
    --line: #BFDDE4;
    --field-bg: #DDF0F4;
    --error: #B34B43;
    --hero-gutter: clamp(16px, 2.5vw, 44px);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    margin: 0;
    scroll-behavior: smooth;
}

body {
    min-height: 100%;
    margin: 0;
    color: var(--navy);
    font-family: "Inter Tight", Arial, sans-serif;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    text-decoration: none;
}

.home-page {
    overflow-x: hidden;
    background: var(--ivory);
}

.tracking-pixel {
    display: none;
}

/* ===================== HERO (STATIC IMAGE) ===================== */

.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    isolation: isolate;
    color: var(--white);
    background: #BFE3EA;
}

/* Image sets the hero height, so nothing is ever cropped */
.hero-media {
    display: block;
    width: 100%;
}

.hero-media img {
    display: block;
    width: 100%;
    height: auto;
}

/* ===================== ENQUIRE BUTTON ===================== */

.hero-content {
    position: absolute;
    top: 24px;
    right: var(--hero-gutter);
    z-index: 3;
    width: auto;
    padding: 0;
    text-align: right;
}

.btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 28px;
    border: 0;
    border-radius: 28px;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: .025em;
    text-transform: uppercase;
    transition: transform .2s ease, filter .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
}

.btn-gold {
    color: var(--navy-dark);
    background: linear-gradient(110deg, var(--gold-light), var(--gold));
    box-shadow: 0 7px 20px rgba(11, 74, 102, .22);
}

.btn-submit {
    color: var(--white);
    background: linear-gradient(110deg, var(--teal), var(--navy));
    box-shadow: 0 7px 20px rgba(11, 74, 102, .25);
}

.btn-gold {
    min-width: 170px;
    min-height: 40px;
    padding: 0 12px;
    font-size: 14px;
}

.btn span {
    font-size: 19px;
    line-height: 1;
}

/* ===================== HERO FOOTER ===================== */

.hero-footer {
    position: absolute;
    right: var(--hero-gutter);
    bottom: 20px;
    left: var(--hero-gutter);
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
    font-size: 16px;
    letter-spacing: .02em;
    text-shadow: 0 1px 5px rgba(8, 54, 80, .45);
    pointer-events: none;
}

.hero-footer a {
    color: var(--white);
    pointer-events: auto;
    transition: opacity .2s ease;
}

.hero-footer a:hover {
    opacity: .75;
}

/* ===================== ENQUIRY FORM ===================== */

.enquiry-section {
    display: none;
    width: 100%;
    padding: 55px 22px;
    background: var(--ivory);
}

.enquiry-container {
    width: min(650px, 100%);
    margin: 0 auto;
}

.enquiry-modal-close {
    display: none;
}

.enquiry-heading {
    margin-bottom: 30px;
    text-align: center;
}

.enquiry-eyebrow {
    margin: 0 0 12px;
    color: var(--teal-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .25em;
}

.enquiry-heading h1 {
    margin: 0 0 12px;
    color: var(--navy);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
}

.enquiry-heading > p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

#enquiryForm {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
}

.form-field label {
    color: var(--navy);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .03em;
}

.form-field label span {
    color: var(--error);
}

.form-field input,
.form-field select {
    display: block;
    width: 100%;
    height: 52px;
    padding: 0 15px;
    border: 1px solid var(--line);
    border-radius: 5px;
    outline: none;
    background: var(--white);
    color: var(--navy);
    font-size: 14px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.form-field input::placeholder {
    color: #8FA6B1;
}

.form-field input:focus,
.form-field select:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(42, 152, 174, .18);
}

.phone-input {
    display: flex;
    height: 52px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: var(--white);
}

.phone-input:focus-within {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(42, 152, 174, .18);
}

.phone-input .country-code {
    display: grid;
    min-width: 60px;
    place-items: center;
    border-right: 1px solid var(--line);
    background: var(--field-bg);
    color: var(--navy);
    font-size: 14px;
    font-weight: 600;
}

.phone-input input {
    height: 100%;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none !important;
}

.field-error {
    display: block;
    min-height: 0;
    margin-top: 4px;
    color: var(--error);
    font-size: 11px;
}

.field-error:not(:empty) {
    min-height: 14px;
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error .phone-input {
    border-color: #C65A4D;
}

.form-note {
    margin: -2px 0 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.6;
}

.btn-submit {
    width: 100%;
    min-height: 54px;
    border-radius: 6px;
    font-size: 15px;
}

.privacy-note {
    margin: 17px 0 0;
    color: var(--muted);
    text-align: center;
    font-size: 12px;
    line-height: 1.6;
}

.privacy-note a {
    color: var(--navy);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ===================== PRIVACY / DOCUMENT PAGES ===================== */

.document-page,
.thankyou-page {
    min-height: 100vh;
    padding: 55px 20px;
    background: var(--ivory);
}

.document-wrap {
    width: min(820px, 100%);
    margin: 0 auto;
    padding: clamp(25px, 5vw, 58px);
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0 15px 50px rgba(11, 74, 102, .08);
}

.back-link {
    display: inline-block;
    margin-bottom: 42px;
    color: var(--teal-dark);
    font-size: 13px;
}

.document-wrap h1,
.thankyou-card h1 {
    margin: 0 0 10px;
    color: var(--navy);
    font-size: clamp(38px, 6vw, 54px);
}

.document-wrap .eyebrow,
.thankyou-card .eyebrow {
    color: var(--teal-dark);
}

.updated {
    margin: 0 0 30px;
    color: var(--muted);
    font-size: 12px;
}

.document-wrap h2 {
    margin: 30px 0 8px;
    color: var(--navy);
    font-size: 22px;
    font-weight: 600;
}

.document-wrap p {
    color: #43606F;
    font-size: 15px;
    line-height: 1.8;
}

.policy-disclaimer {
    margin-top: 35px;
    padding: 14px 16px;
    border-left: 3px solid var(--gold);
    background: var(--ivory);
    font-size: 12px !important;
}

.document-button {
    margin-top: 20px;
}

/* ===================== THANK-YOU PAGE ===================== */

.thankyou-page {
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 50% 0%, #FFFFFF, var(--aqua-soft) 75%);
}

.thankyou-card {
    width: min(590px, 100%);
    padding: clamp(30px, 7vw, 65px);
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    text-align: center;
    box-shadow: 0 20px 60px rgba(11, 74, 102, .12);
}

.success-icon {
    display: grid;
    width: 66px;
    height: 66px;
    margin: 0 auto 25px;
    place-items: center;
    border-radius: 50%;
    background: var(--aqua-soft);
    color: var(--teal-dark);
    font-size: 34px;
}

.thankyou-card .eyebrow {
    margin-bottom: 12px;
}

.thankyou-message {
    margin: 15px 0 10px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

.thankyou-small {
    margin: 0 auto 28px;
    color: #7D95A1;
    font-size: 12px;
    line-height: 1.6;
}

/* ===================== DESKTOP / TABLET: ENQUIRY POPUP ===================== */

@media (min-width: 768px) {
    .enquiry-section {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 9999;
        align-items: center;
        justify-content: center;
        padding: 20px;
        background: rgba(8, 54, 80, 0.72);
        overflow-y: auto;
    }

    .enquiry-section.is-open {
        display: flex;
    }

    .enquiry-container {
        position: relative;
        width: min(500px, 100%);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        padding: 28px 32px;
        border-radius: 12px;
        background: var(--ivory);
        box-shadow: 0 20px 60px rgba(8, 54, 80, 0.35);
    }

    .enquiry-modal-close {
        position: absolute;
        top: 10px;
        right: 10px;
        display: block;
        width: 32px;
        height: 32px;
        border: none;
        border-radius: 50%;
        background: var(--navy);
        color: var(--white);
        font-size: 23px;
        line-height: 1;
        cursor: pointer;
    }

    body.enquiry-modal-open {
        overflow: hidden;
    }

    .enquiry-heading {
        margin-bottom: 20px;
    }

    .enquiry-heading h1 {
        margin-bottom: 8px;
        font-size: 27px;
    }

    .enquiry-heading > p:last-child {
        font-size: 12px;
    }

    #enquiryForm {
        gap: 13px;
    }

    .form-field {
        gap: 6px;
    }

    .form-field input,
    .form-field select,
    .phone-input {
        height: 44px;
    }

    .form-note {
        font-size: 10px;
    }

    .btn-submit {
        min-height: 46px;
        font-size: 13px;
    }

    .privacy-note {
        margin-top: 12px;
        font-size: 11px;
    }
}

/* ===================== PHONE ===================== */

@media (max-width: 767px) {
    /* Image shows in full, form sits right below it */
    .hero-content,
    .hero-footer {
        display: none;
    }

    .enquiry-section {
        display: block;
        padding: 45px 20px;
    }

    .enquiry-heading h1 {
        font-size: 27px;
    }

    .document-page {
        padding: 18px 12px;
    }

    .document-wrap {
        padding: 25px 20px;
    }
}

@media (max-width: 380px) {
    .enquiry-section {
        padding: 40px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}

/* Desktop / tablet: image shown in full, no crop, no background fill */
@media (min-width: 768px) {
    .hero {
        height: auto;
        min-height: 0;
        background: none;
    }

    .hero-media {
        position: static;
        display: block;
        height: auto;
    }

    .hero-media img {
        display: block;
        width: 100%;
        height: auto;
    }

    .hero-footer {
        display: none;
    }
}