/* Contact Us — /contact (Figma) */

body.ashrams-contact-page {
    background: #ffffff;
}

body.ashrams-contact-page .ashrams-header {
    position: relative;
    background: #ffffff;
}

body.ashrams-contact-page .ashrams-footer {
    margin-top: 0;
    padding-top: 0;
    background: transparent;
}

.ashrams-contact-page-main {
    padding-bottom: 0;
    background: #ffffff;
}

/* —— Hero: full image — sky behind text, sand visible below —— */
.ashrams-contact__hero-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 2233 / 1657;
    min-height: 18rem;
    margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
    overflow: hidden;
}

.ashrams-contact__hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.ashrams-contact__hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.ashrams-contact__hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    /* Top fade — keep blue sky visible behind title + intro */
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.72) 0%,
            rgba(255, 255, 255, 0.28) 7%,
            transparent 16%
        ),
        /* Bottom white fade — hide watermark + blend sand into page (Figma) */
        linear-gradient(
            180deg,
            transparent 0%,
            transparent 76%,
            rgba(255, 255, 255, 0.35) 82%,
            rgba(255, 255, 255, 0.72) 88%,
            rgba(255, 255, 255, 0.94) 94%,
            #ffffff 100%
        );
}

.ashrams-contact__hero-content {
    position: absolute;
    z-index: 2;
    top: clamp(5rem, 13vw, 8rem);
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 56.4375rem;
    padding: 0 clamp(1rem, 4vw, 2rem);
    text-align: center;
}

/* Figma: Cormorant Infant 500, 60px / 45px lh, -2.4px — CONTACT dark, US terracotta */
body.ashrams-contact-page .ashrams-contact__title {
    font-family: 'Cormorant Infant', var(--ashrams-serif);
    font-size: 3.25rem;
    font-weight: 500;
    font-style: normal;
    font-synthesis: none;
    line-height: 40px;
    letter-spacing: -2.1px;
    text-align: center;
    margin: 0 0 2.5rem;
    color: var(--ashrams-text);
    text-transform: uppercase;
}

body.ashrams-contact-page .ashrams-contact__title-accent {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    font-style: normal;
    line-height: inherit;
    letter-spacing: inherit;
    color: var(--ashrams-terracotta);
}

/* Figma: Manrope 400, 21px / 32px, #5E5E5F, centered, ~903px wide */
.ashrams-contact__intro {
    font-family: var(--ashrams-manrope, 'Manrope'), var(--ashrams-sans);
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: 0;
    color: #5E5E5F;
    margin: 0 auto;
    max-width: 56.4375rem;
    text-align: center;
}

/* —— Body grid —— */
.ashrams-contact__shell {
    max-width: 1440px !important;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1rem, 4vw, 48px);
    padding-right: clamp(1rem, 4vw, 48px);
    padding-bottom: clamp(3rem, 8vw, 5rem);
}

.ashrams-contact__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2.25rem, 4.5vw, 3.75rem);
    align-items: start;
    width: 100%;
    max-width: 64rem;
    margin-inline: auto;
}

.ashrams-contact__details {
    display: flex;
    flex-direction: column;
    gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

.ashrams-contact__details-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1rem, 2.5vw, 1.5rem) clamp(1.25rem, 3vw, 2rem);
}

.ashrams-contact__detail-block {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.ashrams-contact__detail-block--company {
    max-width: calc(50% - clamp(0.625rem, 1.5vw, 1rem));
}

.ashrams-contact__detail-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 12px;
    border-radius: 8px;
    background: #EFF6FF;
    box-sizing: border-box;
}

.ashrams-contact__detail-icon img {
    display: block;
    width: 20px;
    height: 20px;
}

.ashrams-contact__detail-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
    padding-top: 0.1rem;
}

.ashrams-contact__detail-line {
    font-family: var(--ashrams-inter, 'Inter'), var(--ashrams-sans);
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.45;
    color: #334155;
    text-decoration: none;
}

.ashrams-contact__detail-line--strong {
    font-weight: 600;
    color: #1E293B;
}

.ashrams-contact__detail-line--muted {
    color: #64748B;
}

.ashrams-contact__detail-line:hover {
    color: var(--ashrams-terracotta);
}

.ashrams-contact__map {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #ebe9e6;
    min-height: clamp(14rem, 32vw, 18rem);
}

.ashrams-contact__map iframe {
    display: block;
    width: 100%;
    height: clamp(14rem, 32vw, 18rem);
    border: 0;
}

.ashrams-contact__map-link {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.75rem;
    border-radius: 9999px;
    background: #ffffff;
    border: 1px solid #e8e4df;
    font-family: var(--ashrams-sans);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--ashrams-text);
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.ashrams-contact__map-link:hover {
    color: var(--ashrams-terracotta);
}

/* —— Form —— */
.ashrams-contact__form-wrap {
    width: 100%;
    max-width: none;
    margin-left: 0;
}

/* Figma: Inter 700, 36px / 40px, #5E5E5E */
.ashrams-contact__form-title {
    font-family: var(--ashrams-inter, 'Inter'), var(--ashrams-sans);
    font-size: 2.25rem;
    font-weight: 600;
    font-style: normal;
    line-height: 40px;
    letter-spacing: 0;
    color: #5E5E5E;
    margin: 0 0 clamp(1.25rem, 3vw, 1.75rem);
}

.ashrams-contact__form {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.ashrams-contact__field label {
    display: block;
    font-family: var(--ashrams-sans);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--ashrams-text);
    margin-bottom: 0.4rem;
}

.ashrams-contact__field input,
.ashrams-contact__field textarea {
    width: 100%;
    padding: 0.75rem 0.85rem;
    border: 1px solid #e8e4df;
    border-radius: 8px;
    background: #ffffff;
    font-family: var(--paths-body-font, 'Plus Jakarta Sans', var(--ashrams-sans));
    font-size: 0.875rem;
    color: var(--ashrams-text);
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.ashrams-contact__field input:focus,
.ashrams-contact__field textarea:focus {
    outline: none;
    border-color: var(--ashrams-terracotta);
}

.ashrams-contact__field textarea {
    min-height: 9rem;
    resize: vertical;
}

.ashrams-contact__field input::placeholder,
.ashrams-contact__field textarea::placeholder {
    color: #b0b0b0;
}

.ashrams-contact__error {
    font-size: 0.75rem;
    color: #c0392b;
    margin-top: 0.35rem;
}

.ashrams-contact__submit {
    align-self: center;
    margin-top: 0.35rem;
    padding: 0.7rem 2rem;
    border: none;
    border-radius: 8px;
    background: var(--ashrams-terracotta);
    color: #ffffff;
    font-family: var(--ashrams-sans);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease;
}

.ashrams-contact__submit:hover:not(:disabled) {
    background: var(--ashrams-terracotta-light);
}

.ashrams-contact__submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

@media (max-width: 999px) {
    body.ashrams-contact-page .ashrams-contact__title {
        font-size: clamp(2.125rem, 8vw, 3.25rem);
        line-height: 0.75;
        letter-spacing: -0.04em;
    }

    .ashrams-contact__grid {
        grid-template-columns: 1fr;
    }

    .ashrams-contact__details-top {
        grid-template-columns: 1fr;
    }

    .ashrams-contact__detail-block--company {
        max-width: none;
    }

    .ashrams-contact__form-wrap {
        margin-left: 0;
        max-width: none;
    }
}
