/* ─── faq-v2-hero: full definition (contact page does not load main.min.css) ─── */
.faq-v2-hero {
    /* bg-image to be added later; display/height controlled by .inner-page-hero (grid) */
    position: relative;
    overflow: hidden;
}
.faq-v2-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(6,32,59,.6) 0%, rgba(6,32,59,.88) 100%);
    z-index: 0;
}
.faq-v2-hero__inner {
    /* padding/width/grid-row controlled by .inner-page-hero__inner */
    position: relative;
    z-index: 1;
}
.faq-v2-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-accent);
    margin-bottom: 8px;
}
.faq-v2-hero__eyebrow-line { display: inline-block; width: 24px; height: 1px; background: var(--color-accent); }
.faq-v2-hero__title {
    font-size: 48px;
    font-weight: 700;
    font-family: var(--font-heading);
    color: #fff;
    line-height: 52px;
    margin: 0 0 8px;
}
.faq-v2-hero__subtitle { font-size: 14px; color: #B7BDCD; margin: 0; line-height: 1.55; }
/* contact-hero: unified with other inner pages, height=504px */
.contact-hero { } /* height overridden by .inner-page-hero */ /* unified with other inner pages */
/* ============================================================
   Contact Page
   Source: main.css lines 7655-7727
   ============================================================ */

/* ============================================================
 * Contact page (template-contact.php) — Figma frame.
 * Hero reuses .faq-v2-hero. Below hero is a two-column section:
 *   left  ~788px: eyebrow + heading + desc + 4 cards + CTA buttons
 *   right ~592px: light map card with iframe + location footer
 * Mobile (<1100px): single column, map below.
 * ============================================================ */
.contact-breadcrumb { display: flex; align-items: center; gap: 5px; font-size: 14px; color: rgba(255,255,255,0.5); margin-bottom: 14px; }
.contact-breadcrumb__home { color: rgba(255,255,255,0.5); text-decoration: none; }
.contact-breadcrumb__home:hover { color: #fff; }
.contact-breadcrumb__sep { color: rgba(255,255,255,0.5); }
.contact-breadcrumb__current { background: rgba(255,255,255,0.1); color: var(--color-accent); padding: 4px 10px; border-radius: 9999px; font-weight: 500; }

/* contact-main: Figma 1920px 基准
   section 加 padding:80px 240px（与 header 对齐）
   inner 不加 padding，直接 flex 两栏
   左栏 788px，gap 60px，右栏 flex:1（=592px @ 1440px）
   响应式：padding 按规层级缩放，左栏按比例缩放 */
/* contact-main: 左右栏对齐 navbar 容器内边距
   左 padding = navbar logo 起点 = max(240, (100%-1440)/2 + 240)
   右 padding 同公式（对称），让 contact 右栏右边与 navbar 容器右内边距对齐（=WhatsApp 按钮右边）
   inner: flex row，无额外 padding
   左栏: flex:1 1 0 (Fill)
   右栏: max-width = min(592, 50% inner - gap/2)，自动收缩，永远不超过 inner 一半 */
.contact-main {
    width: 100%;
    padding-top: 80px;
    padding-bottom: 80px;
    padding-left: max(240px, calc((100% - 1440px) / 2 + 240px));
    padding-right: max(240px, calc((100% - 1440px) / 2 + 240px));
    box-sizing: border-box;
}
.contact-main__inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 32px;
    box-sizing: border-box;
}
@media (min-width: 1100px) {
    .contact-main__inner { flex-direction: row; gap: 60px; align-items: flex-start; }
    .contact-main__left  { flex: 1 1 0; min-width: 280px; }
    .contact-main__right {
        flex: 0 1 592px;
        max-width: calc((100% - 60px) / 2);
        min-width: 260px;
    }
}
@media (max-width: 1099px) and (min-width: 768px) {
    .contact-main { padding: 60px 80px; }
    .contact-main__inner { flex-direction: row; gap: 40px; }
    .contact-main__left  { flex: 1 1 0; }
    .contact-main__right { flex: 0 0 320px; }
}
@media (max-width: 767px) {
    .contact-main { padding: 60px 40px; }
    .contact-main__inner { flex-direction: column; }
}
@media (max-width: 599px) {
    .contact-main { padding: 48px 24px; }
}

.contact-main__intro { display: flex; flex-direction: column; gap: 16px; margin-bottom: 16px; }
.contact-main__eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 500; color: var(--color-accent); letter-spacing: 0.04em; }
.contact-main__eyebrow-line { display: inline-block; width: 32px; height: 2px; background: var(--color-accent); }
.contact-main__title { font-family: var(--font-family-heading); font-size: 36px; line-height: 1.15; font-weight: 700; color: #0F1115; margin: 0; }
.contact-main__desc  { font-size: 16px; color: #717182; margin: 0; max-width: 540px; }

.contact-cards { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.contact-card { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 14px; background: #fff; }
.contact-card__icon { width: 48px; height: 48px; border-radius: 12px; background: #E7EFE0; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-card__icon svg { width: 24px; height: 24px; display: block; }
.contact-card__body { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.contact-card__label { font-size: 12px; color: #B7BDCD; }
.contact-card__value { font-family: var(--font-family-heading); font-size: 18px; font-weight: 700; color: #1A1A1A; line-height: 1.33; letter-spacing: 0.02em; }
.contact-card__value a { color: inherit; text-decoration: none; }
.contact-card__value a:hover { color: var(--color-accent); }
.contact-card__sub { font-size: 14px; color: #717182; }

.contact-main__btns { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 20px; align-items: center; }
.contact-cta-primary { display: inline-flex; align-items: center; gap: 8px; height: 56px; padding: 0 16px 0 6px; background: var(--color-accent); border-radius: 9999px; color: #fff; text-decoration: none; font-weight: 500; font-size: 18px; position: relative; transition: opacity .2s ease; }
.contact-cta-primary:hover { opacity: .92; color: #fff; }
.contact-cta-primary__label { color: #fff; }
.contact-cta-primary__arrow { width: 36px; height: 36px; border-radius: 50%; background: #5D7C33; display: inline-flex; align-items: center; justify-content: center; }
.contact-cta-whatsapp { display: inline-flex; align-items: center; gap: 6px; height: 56px; padding: 0 24px; border-radius: 9999px; background: linear-gradient(0deg, #1FAF38 0%, #60D669 100%); color: #fff; text-decoration: none; font-weight: 500; font-size: 16px; transition: opacity .2s ease; }
.contact-cta-whatsapp:hover { opacity: .92; color: #fff; }

.contact-map-card { background: #F9FAFB; border: 1px solid #F3F4F6; border-radius: 16px; overflow: hidden; }
.contact-map-card__frame { position: relative; width: 100%; height: 437px; background: #e5e7eb; }
.contact-map-card__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.contact-map-card__footer { padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.contact-map-card__location { display: flex; align-items: center; gap: 12px; font-family: var(--font-family-heading); font-size: 18px; font-weight: 500; color: #0F1115; margin: 0; }
.contact-map-card__location svg { flex-shrink: 0; }
.contact-map-card__caption { font-size: 16px; color: #717182; margin: 0; }

/* ─── Responsive ─────────────────────────────────────────────── */
@media (min-width: 600px) {
    .overview-hero__stats { flex-direction: row; gap: 24px; flex-wrap: wrap; }
}
@media (min-width: 768px) {
    .overview-inner      { padding: 0 240px; }
    .overview-about      { padding: 48px 0; }
    .overview-advantages { padding: 48px 0; }
    .overview-certs      { padding: 48px 0; }
    .overview-contact    { padding: 48px 0; }
    .overview-team       { padding: 48px 32px; }
    .overview-advantages__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .overview-facility-photos { height: 200px; }
}
@media (min-width: 1100px) {
    .overview-advantages__grid { grid-template-columns: repeat(3,1fr); }
}


