/* ==========================================================================
   TRIGUNATMIKA ATELIERR - CONTACT PAGE STYLES
   ========================================================================== */

body.contact-page {
    background-color: #090b0d;
    color: #ffffff;
    font-family: 'DM Sans', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* ==========================================================================
   HERO STAGE SECTION
   ========================================================================== */
.contact-hero-stage {
    position: relative;
    min-height: 100vh;
    padding: 130px 5vw 90px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    overflow: hidden;
}

/* Background & Cinematic Overlay */
.stage-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.stage-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: blur(14px) brightness(0.60) contrast(1.08);
    transform: scale(1.1);
    will-change: transform, filter;
}

.stage-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 60% 40%, rgba(9, 12, 16, 0.45) 0%, rgba(7, 9, 12, 0.78) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2;
    pointer-events: none;
}

/* Container Grid */
.contact-stage-container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1340px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 64px;
    align-items: center;
}

/* ==========================================================================
   LEFT COLUMN: HEADLINE & CONTACT INFO
   ========================================================================== */
.stage-left-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stage-headline {
    font-family: 'Linotype Didot Pro Roman', 'Linotype Didot', 'Didot', 'Bodoni MT', 'Cinzel', 'Cormorant Garamond', 'Playfair Display', serif;
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    font-weight: 400;
    color: #ffffff;
    letter-spacing: -0.035em;
    line-height: 1.12;
    margin: 0 0 20px 0;
}

.stage-subhead {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
    max-width: 500px;
    margin: 0;
}

/* ==========================================================================
   MINIMALIST CONTACT INFO GRID (MATCHING REFERENCE DESIGN)
   ========================================================================== */
.stage-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(32px, 4.5vw, 60px);
    row-gap: clamp(36px, 4.5vw, 52px);
    margin-top: 48px;
    align-items: start;
}

.info-col {
    display: flex;
    flex-direction: column;
}

.info-col-secondary {
    display: flex;
    flex-direction: column;
    gap: clamp(24px, 3.2vw, 36px);
}

.info-block {
    display: flex;
    flex-direction: column;
}

.info-heading {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1.2rem, 1.4vw, 1.42rem);
    font-weight: 500;
    color: #ffffff;
    letter-spacing: -0.015em;
    margin: 0 0 16px 0;
}

.info-loc-group {
    margin-bottom: 14px;
}

.info-loc-title {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(0.92rem, 1.05vw, 1rem);
    font-weight: 500;
    color: #ffffff;
    margin: 0 0 3px 0;
}

.info-text {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(0.9rem, 1.05vw, 0.98rem);
    font-weight: 400;
    line-height: 1.68;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
}

.info-text.info-hours {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.72);
}

.info-links-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-links-list a,
.info-link {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(0.9rem, 1.05vw, 0.98rem);
    font-weight: 400;
    line-height: 1.68;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: color 0.2s ease;
}

.info-links-list a:hover,
.info-link:hover {
    color: #e55b26;
}

@media (max-width: 640px) {
    .stage-info-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-top: 36px;
    }
}

/* ==========================================================================
   RIGHT COLUMN: FLOATING FORM CARD
   ========================================================================== */
.stage-right-form {
    display: flex;
    justify-content: flex-end;
}

.contact-card {
    background: rgba(14, 18, 24, 0.62);
    backdrop-filter: blur(32px) saturate(190%);
    -webkit-backdrop-filter: blur(32px) saturate(190%);
    color: #ffffff;
    border-radius: 28px;
    padding: clamp(32px, 3.8vw, 48px);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.18);
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.contact-card:hover {
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 36px 90px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

.card-title {
    font-family: 'Linotype Didot Pro Roman', 'Linotype Didot', 'Didot', 'Bodoni MT', 'Cinzel', 'Cormorant Garamond', 'Playfair Display', serif;
    font-size: clamp(1.6rem, 2.2vw, 2.1rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.card-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.94rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 28px 0;
    line-height: 1.5;
}

/* Form Elements */
.contact-form-body {
    display: flex;
    flex-direction: column;
}

.form-row-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
    align-items: start;
}

.form-field {
    width: 100%;
    box-sizing: border-box;
}

.form-field.full-width {
    margin-bottom: 14px;
}

.form-field input,
.form-field textarea {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px;
    padding: 14px 22px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    color: #ffffff;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Phone country picker: keep the flag menu compact and readable on the dark form. */
.iti {
    width: 100%;
}

.iti__dropdown-content {
    z-index: 30;
    width: min(360px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    overflow: hidden;
    border: 1px solid rgba(229, 91, 38, 0.38);
    border-radius: 12px;
    background: #111214;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
    color: #f5f3f0;
}

.iti__search-input {
    width: calc(100% - 20px);
    margin: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: #1b1c1f;
    color: #fff;
    font: inherit;
}

.iti__country-list {
    max-height: min(280px, 45vh);
    background: #111214;
    color: #f5f3f0;
}

.iti__country {
    min-height: 38px;
    padding: 8px 12px;
    color: #f5f3f0;
    font: 400 0.9rem/1.35 'DM Sans', sans-serif;
}

.iti__country:hover,
.iti__country.iti__highlight {
    background: rgba(229, 91, 38, 0.2);
    color: #fff;
}

.iti__dial-code {
    color: rgba(245, 243, 240, 0.62);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08), 0 12px 30px rgba(0, 0, 0, 0.35);
}

.form-field textarea {
    border-radius: 18px;
    resize: vertical;
    min-height: 100px;
}


/* Form Validation & Error States */
.form-field {
    position: relative;
}

.form-field input.input-error,
.form-field textarea.input-error {
    border-color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.08) !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.22) !important;
}

.form-field input.input-valid {
    border-color: rgba(74, 222, 128, 0.45);
}

.field-error-text {
    display: none;
    font-size: 0.78rem;
    color: #f87171;
    margin-top: 6px;
    padding-left: 14px;
    font-weight: 400;
    line-height: 1.35;
    animation: fadeInFieldError 0.25s ease forwards;
}

.field-error-text.show {
    display: block;
}

@keyframes fadeInFieldError {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Type of Inquiry Pills */
.inquiry-section {
    margin: 12px 0 18px;
}

.inquiry-title {
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-bottom: 10px;
}

.inquiry-pills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pill-btn {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 30px;
    padding: 9px 20px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
    cursor: pointer;
    transition: all 0.25s ease;
}

.pill-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.32);
    color: #ffffff;
}

.pill-btn.active {
    background: var(--accent, #e55b26);
    border: 1px solid var(--accent, #e55b26);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(229, 91, 38, 0.4);
}

/* Custom Checkbox */
.checkbox-row {
    margin: 12px 0 24px;
}

.custom-checkbox-container {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.custom-checkbox-container input[type="checkbox"] {
    accent-color: var(--accent, #e55b26);
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin: 0;
}

.checkbox-label-text {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.4;
}

/* Submit Button */
.submit-row {
    width: 100%;
}

.submit-pill-btn {
    background: #ffffff;
    border: 1.5px solid #ffffff;
    border-radius: 30px;
    padding: 14px 28px;
    width: 100%;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #000000;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.submit-pill-btn:hover {
    background: var(--accent, #e55b26);
    border-color: var(--accent, #e55b26);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(229, 91, 38, 0.35);
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #111111;
    color: #ffffff;
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notification.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
}

.toast-content svg {
    color: #4ade80;
    flex-shrink: 0;
}

.toast-notification.error {
    border: 1px solid rgba(239, 68, 68, 0.4);
    background: #181112;
}

.toast-notification.error .toast-content svg {
    color: #ef4444;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
    .contact-hero-stage {
        padding: 120px 4vw 70px;
        min-height: auto;
    }

    .contact-stage-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .stage-right-form {
        justify-content: center;
    }

    .contact-card {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .contact-hero-stage {
        padding: 100px 16px 50px;
    }

    .form-row-two {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 24px 20px;
        border-radius: 20px;
    }

    .pill-btn {
        padding: 8px 16px;
        font-size: 0.84rem;
    }

    .toast-notification {
        left: 16px;
        right: 16px;
        bottom: 20px;
    }
}

/* Brochure Redirection & Highlight Enhancements */
.contact-card.highlight-brochure {
    border-color: rgba(229, 91, 38, 0.75) !important;
    box-shadow: 0 0 45px rgba(229, 91, 38, 0.35), 0 32px 80px rgba(0, 0, 0, 0.65) !important;
    animation: brochureGlowPulse 2.2s ease-in-out infinite alternate;
}

@keyframes brochureGlowPulse {
    from {
        border-color: rgba(229, 91, 38, 0.45);
        box-shadow: 0 0 25px rgba(229, 91, 38, 0.2), 0 32px 80px rgba(0, 0, 0, 0.55);
    }
    to {
        border-color: rgba(229, 91, 38, 0.9);
        box-shadow: 0 0 50px rgba(229, 91, 38, 0.5), 0 32px 80px rgba(0, 0, 0, 0.7);
    }
}

.brochure-inquiry-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(229, 91, 38, 0.15);
    border: 1px solid rgba(229, 91, 38, 0.45);
    color: #ff8c5a;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
    animation: fadeInNotice 0.4s ease forwards;
}

.brochure-inquiry-badge .badge-icon {
    color: #e55b26;
    font-size: 11px;
}

@keyframes fadeInNotice {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   CUSTOM BRANDED FEEDBACK MODAL
   ========================================================================== */
.otc-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 7, 14, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
    box-sizing: border-box;
}

.otc-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.otc-modal-card {
    position: relative;
    max-width: 460px;
    width: 100%;
    background: linear-gradient(145deg, #101622 0%, #080d16 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    padding: 40px 32px 32px;
    text-align: center;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.9), 0 0 40px rgba(229, 91, 38, 0.18);
    transform: scale(0.88) translateY(24px);
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-sizing: border-box;
}

.otc-modal-overlay.active .otc-modal-card {
    transform: scale(1) translateY(0);
}

.otc-modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #94A3B8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 20px;
    line-height: 1;
}

.otc-modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    transform: rotate(90deg);
}

.otc-modal-icon-wrap {
    position: relative;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.otc-modal-icon-wrap.otc-success {
    background: rgba(229, 91, 38, 0.12);
    border: 2px solid rgba(229, 91, 38, 0.7);
    color: #ff8c5a;
}

.otc-modal-icon-wrap.otc-error {
    background: rgba(239, 68, 68, 0.14);
    border: 2px solid rgba(239, 68, 68, 0.7);
    color: #EF4444;
}

.otc-modal-icon-glow {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229, 91, 38, 0.45) 0%, transparent 70%);
    animation: otcPulseGlow 2.5s infinite;
}

.otc-modal-icon-wrap.otc-error .otc-modal-icon-glow {
    background: radial-gradient(circle, rgba(239, 68, 68, 0.45) 0%, transparent 70%);
}

@keyframes otcPulseGlow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.95; }
}

.otc-modal-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}

.otc-modal-message {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.05rem;
    color: #E2E8F0;
    line-height: 1.6;
    margin: 0 0 16px;
    font-weight: 500;
}

.otc-modal-subtext {
    font-size: 0.88rem;
    color: #94A3B8;
    margin: 0 0 24px;
}

.otc-modal-actions {
    margin-top: 24px;
}

.otc-modal-action-btn {
    width: 100%;
    background: #ffffff;
    color: #000000;
    border: 1.5px solid #ffffff;
    border-radius: 30px;
    padding: 13px 28px;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.otc-modal-action-btn:hover {
    background: var(--accent, #e55b26);
    border-color: var(--accent, #e55b26);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(229, 91, 38, 0.35);
}
