/* ==========================================================================
   contact.css — page-specific styles for Contact
   Layers on top of styles.css (shared tokens/variables)
   ========================================================================== */

/* ------------------------------- HERO ----------------------------------- */
.contact-hero {
    position: relative; overflow: hidden; text-align: center;
    padding: calc(var(--header-h) + 4rem) 0 5rem;
    background: linear-gradient(160deg, #f7f8fc 0%, #eef1fb 55%, #e7ebfa 100%);
}
.contact-hero .hero-bg { position: absolute; inset: 0; z-index: 0; }
.contact-hero .container { position: relative; z-index: 2; }
.contact-hero-content { max-width: 680px; margin: 0 auto; }
.contact-hero-content .hero-eyebrow { margin-bottom: 1.4rem; }
.contact-hero-content .hero-title { margin-bottom: 1.2rem; }
.contact-hero-content .hero-lead { margin: 0 auto 2rem; }
.contact-hero-content .hero-cta { justify-content: center; }

/* --------------------------- CONTACT + FORM ----------------------------- */
.contact-main { padding: clamp(4rem, 8vw, 7rem) 0; }
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(1.8rem, 4vw, 3rem); align-items: start; }

/* Methods */
.contact-methods { display: flex; flex-direction: column; gap: 1.2rem; }
.cm-card {
    display: flex; gap: 1.1rem; background: #fff; border: 1px solid var(--border);
    border-radius: var(--r-lg); padding: 1.6rem; box-shadow: var(--shadow-sm);
    transition: all var(--t-med);
}
.cm-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cm-icon {
    flex-shrink: 0; width: 50px; height: 50px; border-radius: var(--r-md);
    background: var(--blue-gradient); color: var(--gold-light); display: grid; place-items: center;
    font-size: 1.2rem; box-shadow: var(--shadow-blue);
}
.cm-body h3 { font-family: var(--font-heading); font-size: 1.2rem; color: var(--royal-blue); margin-bottom: 0.2rem; }
.cm-body p { color: var(--text-medium); font-size: 0.92rem; margin-bottom: 0.4rem; }
.cm-link { font-weight: 700; color: var(--gold-dark); }
.cm-link:hover { color: var(--royal-blue); }
.cm-hours { display: flex; flex-direction: column; gap: 0.4rem; margin: 0.6rem 0; }
.cm-hours li { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.9rem; color: var(--text-medium); }
.cm-hours li span:first-child { font-weight: 600; color: var(--text-dark); }
.cm-note { font-size: 0.85rem !important; color: var(--text-light) !important; margin-top: 0.5rem; }
.cm-note i { color: var(--gold); margin-right: 0.3rem; }

/* Form wrapper */
.contact-form-wrap {
    background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
    padding: clamp(1.8rem, 3vw, 2.6rem); box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.contact-form-wrap::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: var(--gold-gradient); }
.cf-head { margin-bottom: 1.6rem; }
.cf-head h2 { font-family: var(--font-heading); font-size: 1.6rem; color: var(--royal-blue); margin-bottom: 0.4rem; }
.cf-head p { color: var(--text-medium); }

/* Elfsight widget container — give the embed room and a soft frame */
.cf-widget {
    min-height: 320px;
    border-radius: var(--r-md);
    margin-bottom: 1.2rem;
}
.cf-widget .elfsight-app-7a063013-7327-45f2-8e58-f32816e4b9f2 { width: 100%; }

.cf-urgent {
    display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
    background: var(--bg-tint); border-radius: var(--r-md); padding: 0.9rem 1.1rem;
    font-size: 0.9rem; color: var(--text-medium);
}
.cf-urgent i { color: var(--gold-dark); }
.cf-urgent a { font-weight: 700; color: var(--royal-blue); }
.cf-urgent a:hover { color: var(--gold-dark); }

/* --------------------------- LOCATIONS ---------------------------------- */
.contact-locations { padding: clamp(4.5rem, 9vw, 8rem) 0; background: var(--blue-gradient-soft); }
.cl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.cl-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
    overflow: hidden; box-shadow: var(--shadow-md); transition: all var(--t-med);
}
.cl-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.cl-map { line-height: 0; background: var(--bg-soft); }
.cl-map iframe { display: block; width: 100%; }
.cl-body { padding: 1.6rem; }
.cl-badge {
    display: inline-flex; align-items: center; gap: 0.45rem; margin-bottom: 0.8rem;
    padding: 0.4rem 0.95rem; border-radius: var(--r-pill); background: var(--blue-gradient);
    color: #fff; font-size: 0.78rem; font-weight: 700;
}
.cl-badge i { color: var(--gold-light); }
.cl-body h3 { font-family: var(--font-heading); font-size: 1.3rem; color: var(--royal-blue); margin-bottom: 0.5rem; }
.cl-body p { color: var(--text-medium); font-size: 0.95rem; margin-bottom: 1.2rem; line-height: 1.5; }

/* --------------------------- INSURANCE ---------------------------------- */
.contact-insurance { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.ins-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.ins-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
    padding: 2.2rem; box-shadow: var(--shadow-md); transition: all var(--t-med);
    display: flex; flex-direction: column;
}
.ins-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.ins-icon {
    width: 58px; height: 58px; border-radius: var(--r-md); background: var(--blue-gradient);
    color: var(--gold-light); display: grid; place-items: center; font-size: 1.4rem;
    margin-bottom: 1.2rem; box-shadow: var(--shadow-blue);
}
.ins-card h3 { font-family: var(--font-heading); font-size: 1.3rem; color: var(--royal-blue); margin-bottom: 0.7rem; }
.ins-card p { color: var(--text-medium); font-size: 0.95rem; margin-bottom: 0.8rem; }
.ins-card ul { display: flex; flex-direction: column; gap: 0.6rem; }
.ins-card ul li { display: flex; align-items: center; gap: 0.6rem; color: var(--text-medium); font-size: 0.95rem; }
.ins-card ul li i { color: var(--gold); font-size: 0.85rem; }
.ins-note { font-size: 0.85rem !important; color: var(--text-light) !important; }
.ins-note i { color: var(--gold); margin-right: 0.3rem; }
.ins-card .btn-text { margin-top: auto; }

/* --------------------------- FAQ ---------------------------------------- */
.contact-faq { padding: clamp(4.5rem, 9vw, 8rem) 0; background: var(--blue-gradient-soft); }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; transition: box-shadow var(--t-fast); }
.faq-item.active { box-shadow: var(--shadow-md); }
.faq-head {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1.3rem 1.6rem; background: none; border: none; cursor: pointer; text-align: left;
    font-family: var(--font-body); font-size: 1.05rem; font-weight: 700; color: var(--royal-blue);
}
.faq-head i { color: var(--royal-blue-light); transition: transform var(--t-fast); flex-shrink: 0; }
.faq-item.active .faq-head i { transform: rotate(180deg); }
.faq-panel { max-height: 0; overflow: hidden; transition: max-height var(--t-med); }
.faq-body { padding: 0 1.6rem 1.4rem; color: var(--text-medium); line-height: 1.65; }

/* --------------------------- RESPONSIVE --------------------------------- */
@media (max-width: 1024px) {
    .contact-grid { grid-template-columns: 1fr; }
    .cl-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .ins-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}
@media (max-width: 480px) {
    .cm-card { flex-direction: column; }
}
