/* ===== Contact Page (scoped) ===== */
.contact-page .container{max-width:1140px;margin:0 auto;padding:0 24px}

/* HERO */
.contact-hero{background:var(--hero-bg);border-bottom:1px solid var(--border);padding:72px 0 36px;color:var(--text)}
.contact-hero .container{display:grid;gap:28px;align-items:center}
@media (min-width:960px){.contact-hero .container{grid-template-columns:1.2fr .8fr}}
.contact-hero .hero-copy h1{font-size:clamp(34px,4.4vw,56px);line-height:1.06;margin:0 0 10px;color:var(--text)}
.contact-hero .lead{color:var(--muted);font-size:clamp(16px,1.6vw,18px)}
.contact-hero .badges{display:flex;gap:10px;flex-wrap:wrap;list-style:none;margin:16px 0 0;padding:0}
.contact-hero .pill{display:inline-flex;align-items:center;padding:6px 12px;border-radius:999px;border:1px solid var(--border);background:transparent;color:var(--text);font-size:13px}
.contact-hero .hero-cta{display:flex;gap:12px;flex-wrap:wrap}
.contact-hero .hero-cta a{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:12px;text-decoration:none;font-weight:600;border:1px solid var(--border);background:transparent;color:var(--text);transition:box-shadow .2s,border-color .2s,transform .06s}
.contact-hero .hero-cta a:hover{border-color:var(--accent-1);box-shadow:0 0 0 3px rgba(42,108,246,.18)}
.contact-hero .hero-cta a:active{transform:translateY(1px)}

/* GLOBAL PRESENCE */
.presence{padding:28px 0;background:var(--bg)}
.presence-grid{display:grid;gap:18px}
@media (min-width:900px){.presence-grid{grid-template-columns:repeat(3,1fr)}}
.presence-tile{background:var(--card, #fff);border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow);overflow:hidden;display:flex;flex-direction:column}
.presence-tile .tile-icon{display:flex;align-items:center;justify-content:center;padding:32px;background:linear-gradient(180deg,rgba(42,108,246,.12),rgba(122,61,240,.04))}
.presence-tile .tile-icon svg{width:56px;height:56px}
.presence-tile .tile-meta{padding:14px 16px}
.presence-tile h3{margin:0 0 4px;color:var(--text)}
.presence-tile .muted{margin:0;color:var(--muted);font-size:14px}
.map-link{display:inline-flex;align-items:center;gap:6px;margin-top:12px;font-weight:600;text-decoration:none;color:var(--accent-1);font-size:14px}
.map-link::after{content:"↗";font-size:12px}
.map-link:hover{text-decoration:underline}

/* CONTACT HUB */
.contact-hub{padding:40px 0 16px;background:var(--bg)}
.contact-hub .section-header{text-align:center;max-width:720px;margin:0 auto 28px}
.contact-hub .section-header h2{margin:0 0 10px;color:var(--text);font-size:clamp(28px,3vw,36px)}
.contact-hub .section-header p{margin:0;color:var(--muted);line-height:1.6}
.contact-hub .grid{display:grid;gap:24px;grid-template-columns:1fr}
@media (min-width:1024px){.contact-hub .grid{grid-template-columns:repeat(2,1fr)}}
.contact-card{background:var(--card, #fff);border:1px solid var(--border);border-radius:20px;box-shadow:var(--shadow);padding:20px;color:var(--text);backdrop-filter:blur(10px)}
.contact-card .card-icon{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:16px;background:rgba(42,108,246,.12);color:var(--accent-1);margin-bottom:12px}
.contact-card#partners .card-icon{background:rgba(122,61,240,.12)}
.contact-card#customer-support .card-icon{background:rgba(37,211,102,.12);color:#25d366}
.contact-card#support .card-icon{background:rgba(255,159,28,.14);color:#ff9f1c}
.contact-card .card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
.contact-card .btn-link{display:inline-flex;align-items:center;border:none;background:none;padding:0;border-bottom:1px dashed transparent;color:var(--accent-1);font-weight:600}
.contact-card .btn-link:hover{border-bottom-color:var(--accent-1)}
.contact-card h3{margin:0;color:var(--text)}
.contact-card p{margin:0 0 8px;color:var(--text)}
.contact-card .sla{color:var(--success);font-size:12px}
.contact-card a{color:inherit;text-decoration:none;border-bottom:1px dashed var(--border)}
.contact-card a:hover{border-bottom-color:var(--accent-1)}
.inline-actions{display:flex;gap:10px;margin-top:10px;flex-wrap:wrap}
.inline-actions a{display:inline-flex;align-items:center;padding:8px 12px;border-radius:10px;border:1px solid var(--border);text-decoration:none;color:var(--text);background:transparent}
.inline-actions a:hover{border-color:var(--accent-1)}
.contact-card .note{margin:6px 0 0;color:var(--muted);font-size:14px;line-height:1.5}
.contact-card--chat{border-color:var(--accent-1);background:linear-gradient(135deg,rgba(42,108,246,.1),rgba(122,61,240,.08));position:relative;overflow:hidden}
.contact-card--chat::after{content:"";position:absolute;inset:auto -40% -60% -40%;height:140%;background:radial-gradient(circle at center,rgba(255,255,255,.18),rgba(255,255,255,0));pointer-events:none}
.contact-card--chat .sla{color:var(--accent-1)}
.contact-chat{padding:36px 0;background:var(--bg)}
.contact-chat .contact-card{max-width:none;margin:0;padding:32px}
.chat-card-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px;position:relative;z-index:1}
.chat-card-title{display:flex;gap:14px;align-items:center}
.chat-card-icon{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:18px;background:rgba(255,255,255,.22);box-shadow:0 10px 30px rgba(42,108,246,.25)}
.chat-card-icon svg{width:32px;height:32px}
.chat-availability{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;background:rgba(255,255,255,.18);color:var(--accent-1);font-weight:600;font-size:13px}
.chat-availability::before{content:"●";color:#25d366;font-size:12px}
.chat-card-body{margin:0 0 12px;line-height:1.6;color:var(--text)}
.chat-highlights{list-style:none;margin:0 0 12px;padding:0;display:grid;gap:8px;position:relative;z-index:1}
.chat-highlights li{display:flex;align-items:flex-start;gap:8px;color:var(--text);font-size:14px;line-height:1.5}
.chat-highlights li::before{content:"✓";color:var(--accent-1);font-weight:700;margin-top:2px}
.contact-card--chat .inline-actions{position:relative;z-index:1}
.contact-card--chat .inline-actions a{border-color:var(--accent-1);background:var(--accent-1);color:#fff}
.contact-card--chat .inline-actions a:hover{border-color:var(--accent-1);box-shadow:0 0 0 3px rgba(42,108,246,.16)}
.contact-card--chat .inline-actions .btn-link{background:none;color:var(--accent-1);border:none;padding:0}
.contact-card--chat .inline-actions .btn-link:hover{text-decoration:underline;border:none;box-shadow:none}

/* Helper & Supporter Agents */
.contact-agents{padding:56px 0;background:var(--bg)}
.agents-header{text-align:center;max-width:780px;margin:0 auto 36px}
.agents-header h2{margin:0 0 12px;color:var(--text);font-size:clamp(28px,3vw,38px)}
.agents-header p{margin:0;color:var(--muted);font-size:16px;line-height:1.7}
.agents-grid{display:grid;gap:24px}
@media (min-width:960px){.agents-grid{grid-template-columns:repeat(2,1fr)}}
.agent-card{background:var(--card, #fff);border:1px solid var(--border);border-radius:20px;padding:22px 24px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:18px}
.agent-card-head{display:flex;gap:16px;align-items:flex-start}
.agent-icon{display:inline-flex;align-items:center;justify-content:center;width:60px;height:60px;border-radius:18px;background:rgba(42,108,246,.12)}
.agent-card--supporter .agent-icon{background:rgba(122,61,240,.12)}
.agent-card h3{margin:0;color:var(--text);font-size:20px}
.agent-tag{margin:2px 0 0;color:var(--muted);font-size:13px;text-transform:uppercase;letter-spacing:.08em}
.agent-card ul{margin:0;padding:0 0 0 18px;color:var(--text);font-size:14px;line-height:1.6}
.agent-card ul li+li{margin-top:6px}
.agent-actions{display:flex;gap:10px;flex-wrap:wrap}
.agent-actions a{display:inline-flex;align-items:center;padding:8px 14px;border-radius:999px;border:1px solid var(--border);text-decoration:none;color:var(--text);font-weight:600;transition:border-color .2s,box-shadow .2s}
.agent-actions a:hover{border-color:var(--accent-1);box-shadow:0 0 0 3px rgba(42,108,246,.12)}
.agent-card--helper .agent-actions a:first-child{background:var(--accent-1);border-color:var(--accent-1);color:#fff}
.agent-card--helper .agent-actions a:first-child:hover{box-shadow:0 0 0 3px rgba(42,108,246,.16)}
.agent-card--supporter .agent-actions a:first-child{background:rgba(122,61,240,.1);border-color:rgba(122,61,240,.4);color:var(--text)}

/* COMPANY ROWS (Social / Press / Investors+Careers) */
.company-rows{padding:24px 0;background:var(--bg)}
.company-grid{display:grid;gap:18px}
@media (min-width:900px){.company-grid{grid-template-columns:2fr 1fr 1fr}}
.company-rows .block{background:var(--card, #fff);border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow);padding:16px}
.company-rows h3{margin:0 0 8px;color:var(--text)}
.company-rows p{margin:0 0 6px;color:var(--muted)}
.company-rows .links{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.icon-link{display:inline-flex;align-items:center;gap:8px;padding:8px 10px;border-radius:12px;border:1px solid var(--border);color:var(--text);text-decoration:none;background:transparent}
.icon-link:hover{border-color:var(--accent-1)}
.chip{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;border:1px solid var(--border);text-decoration:none;color:var(--text)}
.chip:hover{border-color:var(--accent-1)}

/* FAQ */
.contact-faq{padding:40px 0 72px}
.contact-faq h2{margin:0 0 14px;color:var(--text)}
.accordion details{background:var(--card, #fff);border:1px solid var(--border);border-radius:12px;padding:12px 14px;color:var(--text)}
.accordion details+details{margin-top:10px}
.accordion summary{cursor:pointer;list-style:none;font-weight:600;color:var(--text)}
.accordion summary::-webkit-details-marker{display:none}
.accordion .answer{margin-top:8px;color:var(--muted);line-height:1.6}

/* Utilities (scoped) */
.contact-page .copyable{border-bottom:1px dashed var(--border);cursor:pointer}
.contact-page .copyable.copied{border-bottom-color:var(--success);color:var(--success)}

:root:not([data-theme="dark"]) .agent-card .agent-icon{background:radial-gradient(120% 120% at 30% 25%,rgba(42,108,246,.2),rgba(42,108,246,0) 70%);box-shadow:0 18px 32px rgba(14,19,48,.14)}
:root:not([data-theme="dark"]) .agent-card--supporter .agent-icon{background:radial-gradient(120% 120% at 30% 25%,rgba(122,61,240,.24),rgba(122,61,240,0) 72%);box-shadow:0 18px 34px rgba(32,22,66,.18)}
:root:not([data-theme="dark"]) .agent-card .agent-icon svg{width:38px;height:38px}
:root:not([data-theme="dark"]) .agent-card--helper .agent-icon svg circle:first-of-type{fill:rgba(42,108,246,.32);opacity:1}
:root:not([data-theme="dark"]) .agent-card--helper .agent-icon svg circle:last-of-type{fill:#1f4ed0;opacity:1}
:root:not([data-theme="dark"]) .agent-card--helper .agent-icon svg path{fill:#6f34eb;opacity:.95}
:root:not([data-theme="dark"]) .agent-card--supporter .agent-icon svg path:first-of-type{fill:rgba(122,61,240,.36);opacity:1}
:root:not([data-theme="dark"]) .agent-card--supporter .agent-icon svg path:last-of-type{fill:#2457f0;opacity:1}
