/* =====================================================================
   Contact page — editorial reskin (pairs with editorial-theme.css)
   Keeps the #contactForm lead form + handler intact.
   ===================================================================== */

#background-canvas{display:none !important}

/* section frames */
.contact-hero,.contact-main,.quick-contact,.comparison-section,.faq-section{
  width:100%;max-width:var(--container);margin-inline:auto;
  padding:clamp(2.6rem,5vw,4rem) 1.5rem;position:relative;
}

/* shared headers */
.section-header{text-align:center;margin-bottom:2.2rem}
.section-header h2{font-size:clamp(1.8rem,3.4vw,2.5rem);max-width:24ch;margin:0 auto;letter-spacing:-.02em}
.section-header h2::after{content:"";display:block;width:48px;height:3px;border-radius:3px;background:var(--amber);margin:1rem auto 0}
.section-header p{color:var(--muted);max-width:600px;margin:.9rem auto 0;font-size:1.02rem;line-height:1.7}

/* ---------- HERO ---------- */
.contact-hero{text-align:center;padding-top:clamp(3rem,7vw,5rem);padding-bottom:clamp(1.2rem,3vw,2rem)}
.contact-hero h1{font-size:clamp(2.4rem,5.5vw,4rem);line-height:1.05;letter-spacing:-.03em}
.contact-hero h1 span{color:var(--amber);font-style:italic}
.contact-hero>p{color:var(--muted);font-size:1.12rem;line-height:1.7;max-width:660px;margin:1.3rem auto 0}

/* ---------- MAIN: form + info ---------- */
.contact-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:1.6rem;align-items:start}

/* form card */
.form-card{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:clamp(1.6rem,3.5vw,2.4rem)}
.form-card>h2{font-size:1.5rem;text-align:center}
.form-card>p{color:var(--muted);margin:.5rem 0 1.6rem;font-size:.95rem;line-height:1.6;text-align:center}
.contact-form-new{display:flex;flex-direction:column;gap:1.1rem}
.form-group-new{display:flex;flex-direction:column}
.form-group-new label{font-size:.84rem;font-weight:600;color:var(--ink-soft);margin-bottom:.4rem}
body.editorial .form-input{width:100%;font-family:var(--font-body);font-size:.95rem;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:.8rem .9rem;transition:border-color .2s,box-shadow .2s}
body.editorial textarea.form-input{min-height:120px;resize:vertical}
body.editorial .form-input:focus{outline:none;border-color:var(--amber);box-shadow:0 0 0 3px var(--amber-tint-2)}
body.editorial .form-input.error{border-color:var(--red);box-shadow:0 0 0 3px rgba(176,71,60,.12)}
.error-msg{color:var(--red);font-size:.8rem;margin-top:.35rem}
.error-msg:empty{display:none}
.submit-btn-new{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;background:var(--amber);color:#fff;border:1px solid var(--amber);border-radius:11px;padding:.9rem 1.6rem;font-size:1rem;font-weight:600;cursor:pointer;transition:background .2s,transform .2s;margin-top:.3rem}
.submit-btn-new:hover{background:var(--amber-deep);transform:translateY(-1px)}
.submit-btn-new .btn-text{color:#fff}
.submit-btn-new .send-icon{width:18px;height:18px;stroke:currentColor;fill:none}
.submit-btn-new .btn-loader{display:none;align-items:center}
.submit-btn-new.loading .btn-loader{display:inline-flex}
.submit-btn-new.loading .btn-text,.submit-btn-new.loading .send-icon{display:none}
.btn-loader .spinner{width:22px;height:22px;animation:spin 1s linear infinite}
.btn-loader .spinner .path{stroke:#fff;stroke-linecap:round;stroke-dasharray:90,150;animation:dash 1.4s ease-in-out infinite}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}100%{stroke-dasharray:90,150;stroke-dashoffset:-124}}
.form-feedback{display:none;margin-top:1.1rem;padding:1rem 2.4rem 1rem 1.1rem;border-radius:12px;background:var(--surface);border:1px solid var(--line);border-left:4px solid var(--green);position:relative}
.form-feedback.error{border-left-color:var(--red)}
.feedback-message{color:var(--ink-soft);font-size:.95rem;line-height:1.6;margin:0}
.feedback-close{position:absolute;top:.5rem;right:.7rem;background:none;border:none;font-size:1.3rem;color:var(--muted);cursor:pointer;line-height:1}

/* info card (dark ink panel) */
.info-card{background:var(--ink);color:var(--paper);border-radius:20px;padding:clamp(1.6rem,3.5vw,2.4rem)}
.info-card>h2{color:#fff;font-size:1.5rem;margin-bottom:1.6rem;text-align:center}
.info-items{display:flex;flex-direction:column;gap:1.3rem}
.info-item{display:flex;gap:1rem;align-items:flex-start}
.info-icon{width:44px;height:44px;flex-shrink:0;border-radius:12px;background:rgba(180,83,9,.28);color:#E0A158;display:flex;align-items:center;justify-content:center}
.info-icon svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:2}
.info-content h3{color:#fff;font-size:1rem;margin-bottom:.25rem}
.info-content a,.info-content p{color:#bfb7a9;font-size:.92rem;text-decoration:none;line-height:1.55;margin:0;display:block}
.info-content a:hover{color:#E0A158}
.office-hours-closed{color:#8a8175 !important}
.social-section{margin-top:1.8rem;padding-top:1.5rem;border-top:1px solid rgba(255,255,255,.12);text-align:center}
.social-section h3{color:#fff;font-size:.95rem;margin-bottom:.9rem;text-align:center}
.info-card .social-links{display:flex;gap:.7rem;justify-content:center}
.info-card .social-link{width:40px;height:40px;border-radius:10px;border:1px solid rgba(255,255,255,.14);display:flex;align-items:center;justify-content:center;color:#bdb4a6;transition:color .2s,border-color .2s,background .2s}
.info-card .social-link:hover{color:#fff;border-color:var(--amber);background:rgba(180,83,9,.22)}
.info-card .social-link svg{width:18px;height:18px;fill:currentColor}

/* ---------- QUICK CONTACT ---------- */
.quick-contact{text-align:center}
.quick-contact-inner{max-width:var(--container);margin-inline:auto}
.quick-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.4rem}
.quick-card{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:1.9rem 1.6rem;text-align:center}
.quick-card-icon{width:48px;height:48px;border-radius:12px;background:var(--amber-tint);color:var(--amber);display:flex;align-items:center;justify-content:center;margin:0 auto 1.1rem}
.quick-card-icon svg{width:24px;height:24px;stroke:currentColor;fill:none}
.quick-card h3{font-size:1.1rem;margin-bottom:.5rem}
.quick-card p{color:var(--muted);font-size:.9rem;line-height:1.6}

/* ---------- COMPARISON TABLE ---------- */
.comparison-container{max-width:920px;margin-inline:auto}
.comparison-header{text-align:center;margin-bottom:2.2rem}
.comparison-header h2{font-size:clamp(1.8rem,3.4vw,2.6rem)}
.comparison-header p{color:var(--muted);margin-top:.7rem}
.comparison-table-wrapper{overflow-x:auto;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
.comparison-table{width:100%;border-collapse:collapse;min-width:480px}
.comparison-table th,.comparison-table td{padding:1rem 1.1rem;text-align:left;border-bottom:1px solid var(--line-2)}
.comparison-table thead th{font-family:var(--font-body);font-size:.82rem;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);font-weight:700;background:var(--paper-2)}
.comparison-table th.modern-age-header{color:var(--amber);text-align:center}
.comparison-table th.others-header{text-align:center}
.comparison-table td:not(:first-child){text-align:center;width:130px}
.comparison-table td.modern-age-col{background:var(--amber-tint)}
.comparison-table tbody tr:last-child td{border-bottom:none}
.comparison-table td:first-child{font-weight:500;color:var(--ink-soft);font-size:.92rem}
.check-icon{color:var(--green);display:inline-flex;width:24px;height:24px}
.cross-icon{color:var(--red);display:inline-flex;width:24px;height:24px}
.check-icon svg,.cross-icon svg{width:22px;height:22px;stroke-width:2.5}
.partial-icon{color:var(--muted);font-weight:700;font-size:1.1rem}
.comparison-cta{text-align:center;margin-top:2.4rem}
.comparison-cta h3{font-size:1.5rem;margin-bottom:.5rem}
.comparison-cta p{color:var(--muted);margin-bottom:1.3rem}
.demo-button{display:inline-flex;align-items:center;gap:.5rem;background:var(--amber);color:#fff;border:1px solid var(--amber);padding:.85rem 1.7rem;border-radius:11px;font-weight:600;text-decoration:none;transition:background .2s,transform .2s}
.demo-button:hover{background:var(--amber-deep);transform:translateY(-1px)}
.demo-button svg{width:18px;height:18px}

/* ---------- FAQ (open state = .open) ---------- */
.faq-section{max-width:820px}
.faq-list{display:flex;flex-direction:column;gap:.8rem;margin-top:.5rem}
.faq-item{background:var(--surface);border:1px solid var(--line);border-radius:12px;overflow:hidden;transition:border-color .2s}
.faq-item.open{border-color:rgba(180,83,9,.4)}
.faq-question{width:100%;display:flex;align-items:center;justify-content:space-between;gap:1rem;background:none;border:none;cursor:pointer;text-align:left;padding:1.2rem 1.4rem;font-family:var(--font-display);font-weight:600;font-size:1.05rem;color:var(--ink)}
.faq-question svg{width:20px;height:20px;flex-shrink:0;stroke:var(--amber);fill:none;stroke-width:2.5;transition:transform .25s}
.faq-item.open .faq-question svg{transform:rotate(180deg)}
.faq-answer{max-height:0;overflow:hidden;transition:max-height .3s ease}
.faq-item.open .faq-answer{max-height:500px}
.faq-answer p{padding:0 1.4rem 1.3rem;color:var(--muted);line-height:1.7;font-size:.95rem;margin:0}

/* ---------- responsive ---------- */
@media (max-width:860px){
  .contact-grid{grid-template-columns:1fr}
}
