/* ==========================================================
   SOWON GLOBAL — Contact v2 (bổ sung cho redesign.css)
   Dùng chung biến màu / font / nút / nav / footer của redesign.css.
   Chỉ chứa phần riêng của trang Liên Hệ: thẻ liên hệ, cách thức liên hệ,
   FAQ, bản đồ.
   ========================================================== */

/* ---------- Thẻ liên hệ phía trên ---------- */
.contact-info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.contact-info-card {
    position: relative; display: flex; flex-direction: column;
    padding: 34px 28px 30px; border-radius: var(--radius-lg);
    background: #fff; border: 1px solid var(--line);
    transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.contact-info-card:hover { transform: translateY(-5px); border-color: var(--brass); box-shadow: 0 30px 50px -30px rgba(91, 100, 112, .5); }
.contact-icon { width: 56px; height: 56px; display: grid; place-items: center; margin-bottom: 26px; border-radius: 18px; background: linear-gradient(145deg, #f8edc6, #ecd58a); color: var(--ink); }
.contact-info-card h3 { font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; line-height: 1.15; color: var(--ink-2); margin-bottom: 10px; }
.contact-info-card p { font-size: .94rem; line-height: 1.65; color: var(--steel); margin-bottom: 14px; }
.contact-link { display: block; margin-bottom: 8px; font-size: 1rem; font-weight: 600; line-height: 1.55; color: var(--ink-2); word-break: break-word; transition: color .25s; }
a.contact-link:hover { color: var(--brass-deep); }
/* cả thẻ đều bấm được (gọi / email / bản đồ) */
a.contact-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); }
.contact-info-card p.contact-hours { margin: auto 0 0; padding-top: 14px; font-size: .86rem; color: var(--steel-3); }

/* thẻ đầu (điện thoại) màu xám thép như trang chủ */
.contact-info-card:first-child { background: linear-gradient(150deg, #707a87, var(--steel)); border-color: transparent; }
.contact-info-card:first-child h3,
.contact-info-card:first-child .contact-link { color: #fff; }
.contact-info-card:first-child p { color: rgba(255, 255, 255, .88); }
.contact-info-card:first-child p.contact-hours { color: rgba(255, 255, 255, .72); }
.contact-info-card:first-child .contact-icon { background: rgba(255, 255, 255, .2); color: #fff; }
.contact-info-card:first-child a.contact-link:hover { color: var(--brass-3); }

/* ---------- Cách thức liên hệ ---------- */
.company-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.company-card {
    display: flex; flex-direction: column;
    padding: 38px 34px 34px; border-radius: var(--radius-lg);
    background: var(--paper); border: 1px solid var(--line);
}
.company-card h3 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; line-height: 1.1; color: var(--ink-2); margin-bottom: 18px; }
.company-card p { font-size: .96rem; line-height: 1.7; color: var(--steel); margin-bottom: 22px; }
.company-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--steel-2); font-size: .95rem; color: var(--steel); }
.company-row:last-child { border-bottom: 0; }
.company-row strong { text-align: right; color: var(--ink-2); font-weight: 600; }
.quote-steps { margin: 0 0 24px; }
.quote-steps li { padding: 10px 0; border-bottom: 1px dashed var(--steel-2); font-size: .95rem; color: var(--steel); }
.quote-steps li:last-child { border-bottom: 0; }

/* thẻ khẩn cấp: vàng đồng */
.company-card:nth-child(2) { background: linear-gradient(135deg, #f1dd9f, var(--brass)); border-color: transparent; }
.company-card:nth-child(2) p { color: rgba(43, 47, 51, .85); }

.card-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: auto;
    padding: 15px 24px; border-radius: 999px; border: 1px solid var(--ink);
    font: 600 .95rem/1.2 var(--font-body); text-align: center; cursor: pointer;
    transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s;
}
.card-btn:hover { transform: translateY(-2px); }
.card-btn.solid { background: var(--steel); border-color: var(--steel); color: #fff; box-shadow: 0 14px 28px -14px rgba(91, 100, 112, .8); }
.card-btn.solid:hover { background: linear-gradient(135deg, var(--brass-2), var(--brass)); border-color: transparent; color: var(--ink); }
.card-btn.outline { background: rgba(255, 255, 255, .45); color: var(--ink); }
.card-btn.outline:hover { background: var(--ink); color: #fff; }

/* ---------- FAQ ---------- */
.faq-container { max-width: 960px; counter-reset: faq; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
    counter-increment: faq; overflow: hidden;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md);
    transition: border-color .3s, box-shadow .3s;
}
.faq-item:hover { border-color: var(--steel-2); }
.faq-item.active { border-color: var(--brass); box-shadow: 0 26px 44px -34px rgba(91, 100, 112, .6); }
.faq-question { display: flex; align-items: center; gap: 18px; padding: 20px 24px; cursor: pointer; user-select: none; }
.faq-question::before {
    content: counter(faq, decimal-leading-zero); flex: none;
    width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
    border: 1px solid var(--brass); background: var(--paper); color: var(--brass-deep);
    font: 600 1.05rem/1 var(--font-display); transition: background .3s, color .3s, border-color .3s;
}
.faq-item.active .faq-question::before { background: linear-gradient(135deg, var(--brass-2), var(--brass)); border-color: transparent; color: var(--ink); }
.faq-question h3 { flex: 1; font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; line-height: 1.25; color: var(--ink-2); text-align: left; }
.faq-toggle {
    flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%;
    background: var(--paper); color: var(--steel); font-size: 1.4rem; line-height: 1;
    transition: transform .35s var(--ease), background .3s, color .3s;
}
.faq-item.active .faq-toggle { transform: rotate(45deg); background: var(--steel); color: #fff; }
.faq-answer {
    display: block; max-height: 0; overflow: hidden; opacity: 0; padding: 0 24px 0 86px;
    transition: max-height .4s var(--ease), opacity .3s, padding .3s;
}
.faq-item.active .faq-answer { max-height: 400px; opacity: 1; padding: 0 24px 24px 86px; }
.faq-answer p { font-size: .97rem; line-height: 1.75; color: var(--steel); text-align: left; }

/* ---------- Bản đồ ---------- */
.map-container { overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: 0 30px 50px -38px rgba(91, 100, 112, .6); }
.map-container iframe { display: block; width: 100%; height: 450px; border: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .contact-info-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1040px) {
    .company-grid { grid-template-columns: 1fr; }
}
