/* ===========================================================
   CONTACT PAGE — CLEAN HEALTH FORMULA v3.5 (FINAL VERSION)
   =========================================================== */


/* ===================== CONTACT HERO ===================== */
.contact-hero {
    background: var(--beige);
    border-radius: var(--radius);
    padding: 70px 28px;
    text-align: center;
    margin: 0 auto 40px;
    max-width: var(--max-width);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(42, 166, 79, 0.08) 0%,
        rgba(47, 93, 56, 0.08) 100%
    );
    opacity: 0.7;
    pointer-events: none;
}

.contact-hero .hero-inner {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
}

.contact-hero h1 {
    font-size: 36px;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 12px;
}

.contact-hero p {
    font-size: 18px;
    color: var(--muted);
    max-width: 620px;
    line-height: 1.65;
    margin: 0 auto;
}

@media(max-width: 768px) {
    .contact-hero {
        padding: 50px 20px;
        border-radius: 12px;
        margin-bottom: 30px;
    }
    .contact-hero h1 { font-size: 28px; }
    .contact-hero p { font-size: 15.5px; }
}


/* ===================== GRID LAYOUT (FINAL FIXED SPACING) ===================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    align-items: flex-start;

    /* Adjusted width for perfect left spacing */
    width: 100%;
    max-width: 1040px;   /* ↓ Reduced from var(--max-width) */
    margin: 40px auto;
    padding: 0 10px;     /* Slight inner padding */
}

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        max-width: 760px;
        padding: 0 16px;
    }
}

@media (max-width: 650px) {
    .contact-grid {
        padding: 0 12px;
    }
}


/* ===========================================================
   CONTACT CARD (BOTH SIDES)
   =========================================================== */
.contact-card {
    background: var(--card);
    padding: calc(var(--pad) + 6px);
    border-radius: var(--radius);
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: var(--shadow);
    transition: 0.25s ease;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(12,34,18,0.08);
}


/* ===========================================================
   FORM CARD — HEIGHT REDUCED + CLEANED
   =========================================================== */
.form-card {
    max-width: 760px;
    margin: 0 auto;
    padding: 20px;       /* Reduced from 26px */
}

.form-card h2 {
    text-align: center;
    font-size: 1.65rem;
    color: var(--green-dark);
    margin-bottom: 22px;
}

/* Form Rows */
.form-row {
    margin-bottom: 14px; /* Reduced */
}

.form-row label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--green-dark);
    font-size: 0.95rem;
}

/* FIXED INPUT WIDTH 100% */
.form-row input,
.form-row textarea {
    width: 100%;
    padding: 12px 14px;         /* Slightly smaller */
    border-radius: var(--radius);
    border: 1px solid #e3e8e4;
    background: #fff;
    font-size: 0.92rem;
    color: #222;
    transition: 0.25s ease;
}

/* Slight textarea size reduction */
.form-row textarea {
    min-height: 110px; /* Reduced height */
}

/* Submit Button */
.btn-primary {
    background: var(--accent);
    color: #fff;
    padding: 12px 26px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    transition: 0.25s;
}

.btn-primary:disabled { opacity: 0.6; }

.hint small { color: var(--muted); }


/* ===========================================================
   QUICK REACH GRID
   =========================================================== */
.icons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.qr-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: var(--radius);
    background: var(--beige);
    border: 1px solid rgba(0,0,0,0.06);
    font-size: 0.92rem;
    transition: 0.25s;
}


/* ===========================================================
   COMPANY INFO CARD
   =========================================================== */
.info-card {
    padding: calc(var(--pad) + 2px);
}

.info-card h3 {
    font-size: 1.35rem;
    margin-bottom: 18px;
    color: var(--green-dark);
}

.company-info {
    padding: 0;
    margin: 0 0 22px;
    list-style: none;
}

.company-info li {
    padding: 10px 0;
    border-bottom: 1px dashed #e1e8e3;
    font-size: 0.93rem;
    line-height: 1.5;
}

.company-info a {
    color: var(--accent);
    font-weight: 600;
}
.company-info a:hover { text-decoration: underline; }


/* ===========================================================
   MAP SECTION (Premium v3.0)
   =========================================================== */
.map-section {
    text-align: center;
    max-width: var(--max-width);
    margin: 50px auto;
}

.map-section h3 {
    font-size: 1.7rem;
    color: var(--green-dark);
    margin-bottom: 18px;
    font-family: var(--font-heading);
}

/* Frame */
.map-card {
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: 0.25s;
}

.map-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 38px rgba(12,34,18,0.12);
}

.map-wrap iframe {
    width: 100%;
    height: 420px;
    border: 0;
}

@media (max-width: 768px) {
    .map-section { margin: 35px auto; }
    .map-section h3 { font-size: 1.4rem; }
    .map-wrap iframe { height: 320px; }
}
