/* =========================================================
   MAHALAXMI TRADERS  –  CONTACT PAGE
   File : css/contact.css   (loaded after style.css)
   Every class starts with "ct-" so nothing here can clash
   with the rest of the site.
   ========================================================= */

.contact-page {
    --ct-green: #0f3d2e;
    --ct-green-soft: #e6efe6;
    --ct-gold: #c99a44;
    --ct-page: #fcfaf5;
    --ct-card: #f6f1e7;
    --ct-line: #e7e0d2;
    --ct-ink: #1b221e;
    --ct-mute: #5d665f;
    --ct-serif: "Playfair Display", Georgia, "Times New Roman", serif;
    --ct-script: "Caveat", "Segoe Script", "Brush Script MT", cursive;

    background: var(--ct-page);
    color: var(--ct-ink);
}

/* style.css gives every <section> 80px of vertical padding – reset it here */
.contact-page main > section { padding-block: 0; }

.ct-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.contact-page svg { display: block; }

.ct-wrap {
    width: min(1280px, 92%);
    margin-inline: auto;
}

.contact-page h1,
.contact-page h2,
.contact-page h3 {
    font-family: var(--ct-serif);
    color: var(--ct-green);
    font-weight: 700;
    line-height: 1.15;
}

.contact-page main a:focus-visible,
.contact-page main button:focus-visible,
.contact-page main input:focus-visible,
.contact-page main select:focus-visible,
.contact-page main textarea:focus-visible {
    outline: 2px solid var(--ct-gold);
    outline-offset: 2px;
}


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

.ct-hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg,
            rgba(252, 250, 245, 1) 0%,
            rgba(252, 250, 245, .97) 30%,
            rgba(252, 250, 245, .7) 47%,
            rgba(252, 250, 245, 0) 64%),
        url("../assets/contact/contact-hero.jpg") right -70px bottom / auto 112% no-repeat,
        #fcfaf5;
}

.ct-hero-inner {
    position: relative;
    min-height: clamp(330px, 25.5vw, 380px);
    padding: 26px 0 30px;
}

.ct-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--ct-green);
}

.ct-breadcrumb a:hover { text-decoration: underline; }

.ct-hero-copy { padding-top: clamp(14px, 2vw, 30px); }

.ct-hero h1 {
    font-size: clamp(40px, 4.1vw, 60px);
    letter-spacing: -.01em;
}

.ct-hero-sub {
    margin-top: 6px;
    font-family: var(--ct-serif);
    font-weight: 700;
    font-size: clamp(19px, 1.75vw, 25px);
    color: var(--ct-gold);
}

.ct-hero-text {
    max-width: 600px;
    margin-top: 10px;
    font-size: clamp(15px, 1.2vw, 17.5px);
    line-height: 1.75;
    color: #232a26;
}

.ct-badges {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 14px 28px;
    margin-top: 20px;
}

.ct-badges li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--ct-green);
}

.ct-badge-ico {
    flex: none;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ct-green);
    color: #d9a94f;
}

.ct-badge-ico svg { width: 24px; height: 24px; }

/* handwritten "From Mithila to the World" */
.ct-hero-script {
    position: absolute;
    left: 49%;
    top: 30px;
    font-family: var(--ct-script);
    font-weight: 500;
    font-size: clamp(26px, 2.55vw, 38px);
    line-height: 1.12;
    color: #171c19;
    transform: rotate(-9deg);
    transform-origin: left bottom;
    pointer-events: none;
}

.ct-hero-script span { display: block; }
.ct-hero-script span:nth-child(2) { margin-left: .5em; }
.ct-hero-script .ct-swash {
    width: 5em;
    height: .4em;
    margin: .28em 0 0 .5em;
}


/* =========================================================
   GET IN TOUCH  +  FORM  +  DISTRIBUTORS
   ========================================================= */

.contact-page main > .ct-main { padding-block: clamp(18px, 2vw, 28px) clamp(22px, 2.4vw, 34px); }

.ct-main-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr .76fr;
    gap: clamp(18px, 2.2vw, 32px);
    align-items: stretch;
}

/* --- contact details --- */
.ct-info { padding: 6px 0 0; }

.ct-info h2 { font-size: clamp(28px, 2.5vw, 36px); }

.ct-info > p {
    max-width: 380px;
    margin-top: 8px;
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--ct-mute);
}

.ct-contact-list {
    list-style: none;
    display: grid;
    gap: 22px;
    margin: 26px 0 22px;
}

.ct-contact-list li {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ct-ico {
    flex: none;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ct-green);
    color: #fff;
}

.ct-ico svg { width: 24px; height: 24px; }

.ct-contact-list .ct-strong {
    display: block;
    font-size: clamp(15px, 1.2vw, 17.5px);
    font-weight: 600;
    line-height: 1.3;
    color: #111614;
    overflow-wrap: anywhere;
}

.ct-contact-list .ct-strong:hover { color: var(--ct-green); text-decoration: underline; }

.ct-contact-list span:not(.ct-ico) {
    display: block;
    margin-top: 2px;
    font-size: 14px;
    color: var(--ct-mute);
}

.ct-social { display: flex; gap: 14px; }

.ct-soc {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    transition: transform .2s ease, box-shadow .2s ease;
}

.ct-soc svg { width: 24px; height: 24px; }
.ct-soc:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0, 0, 0, .18); }

.ct-soc--wa { background: #25d366; }
.ct-soc--fb { background: #1877f2; }
.ct-soc--ig { background: linear-gradient(45deg, #f9a825 0%, #f0476f 45%, #b33bc4 100%); }
.ct-soc--in { background: #0a66c2; }

.ct-follow {
    margin-top: 10px;
    font-size: 14px;
    color: var(--ct-mute);
}

/* --- form card --- */
.ct-form-card {
    scroll-margin-top: 130px;
    padding: clamp(20px, 2.1vw, 32px);
    border: 1px solid #efe9dc;
    border-radius: 8px;
    background: #faf7f0;
    box-shadow: 0 8px 26px rgba(23, 63, 53, .05);
}

.ct-form-card h2 { font-size: clamp(26px, 2.2vw, 32px); }

.ct-form-lead {
    margin: 8px 0 18px;
    font-size: 15px;
    color: #39413c;
}

.ct-form { display: grid; gap: 12px; }

.ct-field {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    font: inherit;
    font-size: 14.5px;
    color: var(--ct-ink);
    background: #fffdf9;
    border: 1px solid #ddd6c7;
    border-radius: 5px;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.ct-field::placeholder { color: #767d78; opacity: 1; }
.ct-field:hover { border-color: #c9c1af; }
.ct-field:focus { outline: none; border-color: var(--ct-green); box-shadow: 0 0 0 3px rgba(15, 61, 46, .12); }

.ct-field:user-invalid { border-color: #b3402f; }

.ct-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ct-select { position: relative; }

.ct-select select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 38px;
    cursor: pointer;
}

.ct-select select:invalid { color: #767d78; }

.ct-select::after {
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #1b221e;
    border-bottom: 2px solid #1b221e;
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}

.ct-textarea {
    height: auto;
    min-height: 100px;
    padding: 12px 14px;
    resize: vertical;
    line-height: 1.5;
}

.ct-btn-dark,
.ct-btn-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 5px;
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.ct-btn-dark {
    width: 100%;
    min-height: 50px;
    padding: 0 20px;
    color: #fff;
    background: var(--ct-green);
}

.ct-btn-dark:hover { background: #0a3024; transform: translateY(-1px); box-shadow: 0 8px 18px rgba(15, 61, 46, .25); }

.ct-btn-dark svg,
.ct-btn-light svg { width: 18px; height: 18px; }

.ct-form-status {
    min-height: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--ct-green);
}

.ct-form-status:empty { display: none; }
.ct-form-status.is-error { color: #a83a2a; }

.ct-privacy {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--ct-mute);
}

.ct-privacy svg { flex: none; width: 14px; height: 14px; color: #9a8b5f; }

/* --- distributors card --- */
.ct-dist {
    display: flex;
    flex-direction: column;
    padding: clamp(18px, 1.8vw, 26px);
    border-radius: 8px;
    background: var(--ct-green-soft);
}

.ct-dist-art { width: 58px; height: 58px; }

.ct-dist h2 {
    margin-top: 10px;
    font-size: clamp(22px, 1.9vw, 28px);
}

.ct-checks {
    list-style: none;
    display: grid;
    gap: 12px;
    margin: 20px 0 26px;
}

.ct-checks li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: clamp(15px, 1.2vw, 17px);
    color: #1e2622;
}

.ct-checks li span {
    flex: none;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ct-green);
    color: #f2c766;
}

.ct-checks li span svg { width: 14px; height: 14px; }

.ct-dist .ct-btn-dark { margin-top: auto; font-size: 15.5px; }


/* =========================================================
   OUR LOCATION
   ========================================================= */

.ct-location {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #0d3a2b 0%, #113f2f 55%, #0f3b2c 100%);
    color: #fff;
}

.ct-loc-photo {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 48%;
    background: url("../assets/contact/location-temple.jpg") 50% 50% / cover no-repeat;
}

.ct-loc-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, #113f2f 0%, rgba(17, 63, 47, .78) 16%, rgba(17, 63, 47, 0) 46%),
        linear-gradient(0deg, rgba(8, 30, 22, .18), rgba(8, 30, 22, 0) 40%);
}

.ct-loc-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr .7fr 1fr;
    align-items: center;
    gap: clamp(16px, 2vw, 32px);
    min-height: clamp(210px, 17.5vw, 252px);
    padding: 26px 0;
}

.ct-loc-label {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    color: #e3b962;
}

.ct-location h2 {
    font-size: clamp(27px, 2.5vw, 36px);
    color: #fff;
}

.ct-loc-rule {
    display: block;
    width: 44px;
    height: 3px;
    margin: 16px 0 14px;
    background: var(--ct-gold);
}

.ct-loc-text p {
    max-width: 430px;
    font-size: clamp(14px, 1.15vw, 16.5px);
    line-height: 1.75;
    color: #eef1ec;
}

.ct-loc-map {
    position: relative;
    justify-self: center;
    width: min(100%, 250px);
    aspect-ratio: 318 / 302;
}

.ct-map-outline { width: 100%; height: 100%; }

.ct-map-label {
    position: absolute;
    left: 50%;
    top: 47%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    line-height: 1.25;
}

.ct-map-pin { width: 30px; height: 30px; margin-bottom: 4px; color: #d9a94f; }
.ct-map-label strong { font-size: 15px; letter-spacing: .02em; color: #fff; }
.ct-map-label span { font-size: 13px; color: #e3b962; }

.ct-loc-script {
    justify-self: end;
    align-self: center;
    padding-right: clamp(0px, .6vw, 12px);
    font-family: var(--ct-script);
    font-weight: 500;
    font-size: clamp(24px, 2.3vw, 34px);
    line-height: 1.05;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .45);
    transform: rotate(-14deg);
    pointer-events: none;
}

.ct-loc-script span { display: block; }
.ct-loc-script span:nth-child(2) { margin-left: 1.1em; }
.ct-loc-script .ct-swash { width: 3.6em; height: .34em; margin: .2em 0 0 .8em; }


/* =========================================================
   WHY PARTNER WITH US
   ========================================================= */

.contact-page main > .ct-why { padding-block: clamp(22px, 2.4vw, 34px) clamp(20px, 2.2vw, 30px); }

.ct-why h2 { font-size: clamp(27px, 2.4vw, 34px); }

.ct-why-lead {
    margin: 6px 0 18px;
    font-size: clamp(14.5px, 1.15vw, 16.5px);
    color: #2a312d;
}

.ct-why-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: clamp(12px, 1.4vw, 20px);
}

.ct-why-card {
    padding: 20px 16px 22px;
    text-align: center;
    border-radius: 6px;
    background: var(--ct-card);
}

.ct-why-card svg {
    width: 38px;
    height: 38px;
    margin: 0 auto 10px;
    color: #cf9a3f;
}

.ct-why-card h3 {
    font-family: "DM Sans", sans-serif;
    font-size: clamp(15px, 1.2vw, 17px);
    font-weight: 700;
    color: #141a17;
}

.ct-why-card p {
    max-width: 200px;
    margin: 5px auto 0;
    font-size: clamp(13px, 1vw, 14.5px);
    line-height: 1.55;
    color: #3d4540;
}


/* =========================================================
   TESTIMONIALS  +  FAQ
   ========================================================= */

.contact-page main > .ct-voices { padding-block: clamp(10px, 1.4vw, 20px) clamp(24px, 2.6vw, 38px); }

.ct-voices-grid {
    display: grid;
    grid-template-columns: 1.28fr 1fr;
    gap: clamp(20px, 2.4vw, 36px);
    align-items: start;
}

.ct-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.ct-testi .ct-head { justify-content: flex-start; gap: 18px; }

.ct-head h2 { font-size: clamp(24px, 2.05vw, 29px); }

.ct-stars { display: inline-flex; gap: 3px; color: #cf9a3f; }
.ct-stars svg { width: 19px; height: 19px; }

.ct-quotes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ct-quote {
    display: flex;
    gap: 16px;
    padding: 18px 18px 20px;
    border: 1px solid #efe9dc;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(23, 63, 53, .05);
}

.ct-quote[hidden] { display: none; }

.ct-avatar {
    flex: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    background: #efe9dc;
}

.ct-avatar--initials {
    display: grid;
    place-items: center;
    font-family: var(--ct-serif);
    font-weight: 700;
    font-size: 20px;
    color: #e6bd66;
    background: var(--ct-green);
}

.ct-quote p {
    font-size: clamp(13.5px, 1.05vw, 15px);
    line-height: 1.6;
    color: #4a524d;
}

.ct-quote strong {
    display: block;
    margin-top: 14px;
    font-size: 15px;
    color: #131916;
}

.ct-quote span:not(.ct-avatar) {
    display: block;
    font-size: 13px;
    color: var(--ct-mute);
}

.ct-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}

.ct-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #d3d6d1;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.ct-dots button:hover { background: #b7bdb6; }
.ct-dots button.is-active { background: var(--ct-green); transform: scale(1.15); }

/* FAQ */
.ct-viewall {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
    border: 0;
    background: none;
    font-size: 14.5px;
    font-weight: 600;
    color: #141a17;
    cursor: pointer;
}

.ct-viewall svg { width: 15px; height: 15px; color: var(--ct-gold); }
.ct-viewall:hover { color: var(--ct-green); }

.ct-faq-list { display: grid; gap: 7px; }

.ct-faq-item {
    border: 1px solid #e3ddd0;
    border-radius: 5px;
    background: #fffdf9;
    box-shadow: 0 2px 8px rgba(23, 63, 53, .04);
}

.ct-faq-item h3 { font-family: inherit; font-size: inherit; line-height: inherit; }

.ct-faq-q {
    position: relative;
    width: 100%;
    padding: 13px 44px 13px 16px;
    border: 0;
    background: none;
    text-align: left;
    font: inherit;
    font-size: clamp(14px, 1.1vw, 15.5px);
    font-weight: 400;
    color: #2b322e;
    cursor: pointer;
}

.ct-faq-q::after {
    content: "+";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-52%);
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    color: #141a17;
}

.ct-faq-q[aria-expanded="true"]::after { content: "\2212"; }
.ct-faq-q[aria-expanded="true"] { color: var(--ct-green); font-weight: 600; }

.ct-faq-a { padding: 0 16px 15px; }
.ct-faq-a p { font-size: 14.5px; line-height: 1.65; color: var(--ct-mute); }


/* =========================================================
   LET'S GROW TOGETHER
   ========================================================= */

.ct-cta {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg,
            rgba(9, 44, 31, 0) 0%,
            rgba(9, 44, 31, 0) 26%,
            rgba(9, 44, 31, .46) 44%,
            rgba(9, 44, 31, .62) 100%),
        url("../assets/contact/cta-bowl.jpg") center / cover no-repeat,
        #123a2b;
    color: #fff;
}

.ct-cta-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr) auto minmax(90px, .55fr);
    align-items: center;
    gap: clamp(16px, 2.4vw, 40px);
    min-height: clamp(190px, 15.5vw, 224px);
    padding: 26px 0;
}

.ct-cta h2 {
    font-size: clamp(27px, 2.6vw, 38px);
    color: #fff;
}

.ct-cta-rule {
    display: block;
    width: 42px;
    height: 3px;
    margin: 14px 0 16px;
    background: var(--ct-gold);
}

.ct-cta-copy p {
    max-width: 470px;
    font-size: clamp(14.5px, 1.2vw, 17px);
    line-height: 1.7;
    color: #f0f3ee;
}

.ct-btn-light {
    min-height: 54px;
    padding: 0 40px;
    color: #12241c;
    background: #fcfaf5;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}

.ct-btn-light:hover { background: #fff; transform: translateY(-2px); }

.ct-cta-script {
    justify-self: end;
    font-family: var(--ct-script);
    font-weight: 500;
    font-size: clamp(24px, 2.3vw, 34px);
    line-height: 1.02;
    color: #fff;
    transform: rotate(-6deg);
    pointer-events: none;
}

.ct-cta-script span { display: block; }
.ct-cta-script span:nth-child(2) { margin-left: .5em; }
.ct-cta-script span:nth-child(3) { margin-left: .2em; }
.ct-cta-script span:nth-child(4) { margin-left: .9em; }
.ct-cta-script .ct-swash { width: 3.4em; height: .32em; margin: .2em 0 0 .3em; }


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {
    .ct-main-grid { grid-template-columns: 1fr 1.25fr; }
    .ct-dist { grid-column: 1 / -1; }
    .ct-dist .ct-btn-dark { margin-top: 0; max-width: 340px; }
    .ct-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 22px; }

    .ct-why-grid { grid-template-columns: repeat(3, 1fr); }
    .ct-voices-grid { grid-template-columns: 1fr; }
    .ct-hero-script { left: 58%; }
}

@media (max-width: 900px) {
    .ct-hero {
        background:
            linear-gradient(180deg, rgba(252, 250, 245, .96) 0%, rgba(252, 250, 245, .86) 55%, rgba(252, 250, 245, .55) 100%),
            url("../assets/contact/contact-hero.jpg") 80% 60% / cover no-repeat;
    }
    .ct-hero-script { display: none; }

    .ct-loc-photo { width: 100%; opacity: .5; }
    .ct-loc-photo::before {
        background: linear-gradient(90deg, rgba(17, 63, 47, .92), rgba(17, 63, 47, .55));
    }
    .ct-loc-inner { grid-template-columns: 1fr; padding: 34px 0; }
    .ct-loc-map { justify-self: start; width: 210px; }
    .ct-loc-script { display: none; }

    .ct-cta-inner {
        grid-template-columns: 1fr;
        justify-items: start;
        padding: 34px 0 38px;
    }
    .ct-cta-space,
    .ct-cta-script { display: none; }
    .ct-cta {
        background:
            linear-gradient(90deg, rgba(9, 44, 31, .78), rgba(9, 44, 31, .82)),
            url("../assets/contact/cta-bowl.jpg") 0% 50% / cover no-repeat,
            #123a2b;
    }
}

@media (max-width: 720px) {
    .ct-main-grid { grid-template-columns: 1fr; }
    .ct-row { grid-template-columns: 1fr; }
    .ct-checks { grid-template-columns: 1fr; }
    .ct-dist .ct-btn-dark { max-width: none; }

    .ct-why-grid { grid-template-columns: repeat(2, 1fr); }
    .ct-why-card:last-child { grid-column: 1 / -1; }

    .ct-quotes { grid-template-columns: 1fr; }
    .ct-badges { gap: 12px 20px; }
}

@media (max-width: 480px) {
    .ct-why-grid { grid-template-columns: 1fr; }
    .ct-hero h1 { font-size: 38px; }
    .ct-badges li { font-size: 14px; }
    .ct-btn-light { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .contact-page * { transition: none !important; }
}
