/* Teslavolts Contact page (2.3) — [teslavolts_contact]. Shared .tvx system (chargers.css) and form
   styles (caas.css). Selectors are written ".tvx .x" so Elementor kit and theme styles do not win. */
.tvx-contact { --accent: #1f6feb; --accent-ink: #0b4fc4; --accent-soft: #e8f0fd; --gold: #ffb547; }

/* Hero */
.tvx .tvct-hero { padding-bottom: clamp(28px, 4vw, 44px); }
.tvx .tvct-hero-top { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.tvx .tvct-hero-top > div { flex: 1 1 520px; min-width: 0; }
.tvx .tvct-hero .tvx-lead { margin-bottom: 0; }
.tvx .tvct-quick { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: clamp(28px, 4vw, 44px); }
.tvx .tvct-quick a { display: flex; align-items: center; gap: 12px; height: 100%; padding: 16px; border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff; text-decoration: none; transition: background .2s, transform .2s, border-color .2s; min-width: 0; }
.tvx .tvct-quick a:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.4); transform: translateY(-2px); }
.tvx .tvct-quick svg { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgba(255,255,255,.12); color: var(--gold); }
.tvx .tvct-quick span { display: grid; min-width: 0; }
.tvx .tvct-quick small { color: #a9bbd8; font-size: 13px; }
.tvx .tvct-quick strong { font: 600 15px/1.3 var(--body); color: #fff; overflow-wrap: anywhere; }

/* Form + side */
.tvx .tvct-main-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .75fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.tvx .tvct-form-col > .tvx-sub { margin: 8px 0 22px; }
.tvx .tvct-form { box-shadow: var(--shadow); border: 1px solid var(--line); }
.tvx .tvct-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; display: grid; gap: 14px; }
.tvx .tvct-form legend { padding: 0; margin-bottom: 4px; font: 600 18px/1.3 var(--display); color: var(--ink); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tvx .tvct-form .tvct-step + .tvct-step { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.tvx .tvct-form.is-stepped .tvct-step + .tvct-step { margin-top: 0; padding-top: 0; border-top: 0; }
.tvx .tvct-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 6px; counter-reset: none; }
.tvx .tvct-steps li { position: relative; display: flex; align-items: center; gap: 8px; padding-bottom: 10px; color: var(--muted); font-size: 14px; font-weight: 600; border-bottom: 3px solid var(--line); transition: color .2s, border-color .2s; }
.tvx .tvct-steps b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--line); color: var(--ink); font-size: 13px; transition: background .2s, color .2s; }
.tvx .tvct-steps li.is-on { color: var(--ink); border-color: var(--accent); }
.tvx .tvct-steps li.is-on b, .tvx .tvct-steps li.is-done b { background: var(--accent); color: #fff; }
.tvx .tvct-steps li.is-done { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.tvx .tvct-topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.tvx .tvct-form label.tvct-topic { display: block; position: relative; font-weight: 500; cursor: pointer; }
.tvx .tvct-topic input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tvx .tvct-topic-in { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 10px; align-items: center; height: 100%; padding: 14px; border-radius: 14px; border: 1.5px solid var(--line2); background: var(--surface); transition: border-color .15s, background .15s, box-shadow .15s, transform .15s; }
.tvx .tvct-topic-in svg { grid-row: span 2; width: 36px; height: 36px; padding: 7px; border-radius: 10px; background: var(--tint); color: var(--navy); }
.tvx .tvct-topic-in strong { font: 600 14.5px/1.25 var(--body); color: var(--ink); }
.tvx .tvct-topic-in small { color: var(--muted); font-size: 12.5px; font-weight: 400; line-height: 1.35; }
.tvx .tvct-topic:hover .tvct-topic-in { border-color: var(--accent); transform: translateY(-1px); }
.tvx .tvct-topic input:focus-visible + .tvct-topic-in { outline: 2px solid var(--accent); outline-offset: 2px; }
.tvx .tvct-topic input:checked + .tvct-topic-in { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.tvx .tvct-topic input:checked + .tvct-topic-in svg { background: var(--accent); color: #fff; }
.tvx .tvct-topics[aria-invalid="true"] .tvct-topic-in { border-color: var(--sos, #d92d20); }
.tvx .tvct-chosen:not(:empty) { padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font: 600 13px/1.4 var(--body); }
.tvx .tvct-qgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.tvx .tvct-count { float: right; color: var(--muted); font-weight: 400; font-size: 12.5px; }
.tvx .tvct-pref { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tvx .tvct-pref > span { font-size: 14px; font-weight: 600; color: var(--ink); margin-right: 4px; }
.tvx .tvct-form label.tvct-chip { display: inline-block; position: relative; cursor: pointer; }
.tvx .tvct-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tvx .tvct-chip span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line2); background: var(--surface); font-size: 14px; font-weight: 600; color: var(--ink); transition: background .15s, border-color .15s, color .15s; }
.tvx .tvct-chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.tvx .tvct-chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.tvx .tvct-form .tvct-pref select { flex: 0 0 auto; width: auto !important; min-width: 140px; }
.tvx .tvct-summary { padding: 12px 14px; border-radius: 12px; background: var(--bg); border: 1px dashed var(--line2); font-size: 14px; color: var(--ink); }
.tvx .tvct-summary dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; }
.tvx .tvct-summary dt { color: var(--muted); }
.tvx .tvct-summary dd { overflow-wrap: anywhere; }
.tvx .tvct-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; }
.tvx .tvct-nav .tvx-btn { width: auto; }
.tvx .tvct-nav [data-tvct-back][hidden] + [data-tvct-next] { margin-left: auto; }
.tvx .tvct-form .tvct-qs[hidden] { display: none; }

.tvx .tvct-side { display: grid; gap: 14px; position: sticky; top: 84px; }
.tvx .tvct-card { padding: 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.tvx .tvx-section:nth-of-type(even) .tvct-card { background: var(--bg); }
.tvx .tvct-card h3 { font: 600 16px/1.3 var(--display); color: var(--ink); margin-bottom: 12px; }
.tvx .tvct-lines { display: grid; gap: 14px; }
.tvx .tvct-lines li { display: grid; gap: 3px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.tvx .tvct-lines li:last-child { padding-bottom: 0; border-bottom: 0; }
.tvx .tvct-lines strong { font-size: 15px; color: var(--ink); }
.tvx .tvct-muted { color: var(--muted); font-size: 13.5px; }
.tvx .tvct-links { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.tvx .tvct-links a { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-ink); font-weight: 600; font-size: 14px; text-decoration: none; overflow-wrap: anywhere; }
.tvx .tvct-links a:hover { text-decoration: underline; }
.tvx .tvct-links svg { flex: none; width: 16px; height: 16px; }
.tvx .tvct-promise ol { display: grid; gap: 10px; counter-reset: pr; }
.tvx .tvct-promise li { counter-increment: pr; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; color: var(--muted); font-size: 14.5px; }
.tvx .tvct-promise li::before { content: counter(pr); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--tint); color: var(--navy); font: 700 13px/1 var(--display); }

/* Offices */
.tvx .tvct-offices .tvx-h2 { margin-bottom: 24px; }
.tvx .tvct-office-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.tvx .tvct-office-list li { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.tvx .tvx-section:nth-of-type(even) .tvct-office-list li { background: var(--bg); box-shadow: none; }
.tvx .tvct-tag { align-self: flex-start; padding: 3px 10px; border-radius: 999px; font: 600 12px/1.4 var(--body); background: var(--tint); color: var(--navy); }
.tvx .is-factory .tvct-tag { background: #fff1d6; color: #7a4100; }
.tvx .is-headquarters .tvct-tag { background: var(--navy); color: #fff; }
.tvx .tvct-office-list h3 { font: 600 18px/1.3 var(--display); color: var(--ink); }
.tvx .tvct-office-list address { font-style: normal; color: var(--muted); font-size: 15px; }
.tvx .tvct-office-list .tvx-btn { margin-top: auto; align-self: flex-start; }

/* Network map */
.tvx .tvct-network.tvx-section, .tvx .tvx-section.tvct-network:nth-of-type(even) { background: radial-gradient(70% 60% at 30% 40%, rgba(31,111,235,.22), transparent 70%), linear-gradient(160deg, var(--navy), var(--navy2)); color: #fff; }
.tvx .tvct-network .tvx-h2 { color: #fff; }
.tvx .tvct-network .tvx-sub { color: #c9d6ec; margin-top: 10px; }
.tvx .tvct-network .tvx-fine { color: #a9bbd8; margin-top: 14px; }
.tvx .tvct-near { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; margin: 0; border-radius: 999px; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.08); color: #fff; font: 600 14px/1 var(--body); letter-spacing: 0; text-transform: none; cursor: pointer; }
.tvx .tvct-near:hover { background: rgba(255,255,255,.16); }
.tvx .tvct-near[aria-busy="true"] { opacity: .7; cursor: progress; }
.tvx .tvct-regions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tvx .tvct-regions button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; margin: 0; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #dbe6f7; font: 600 14px/1 var(--body); letter-spacing: 0; text-transform: none; cursor: pointer; transition: background .15s, color .15s; }
.tvx .tvct-regions button b { padding: 2px 7px; border-radius: 999px; background: rgba(255,255,255,.12); font-size: 12px; }
.tvx .tvct-regions button:hover { background: rgba(255,255,255,.08); }
.tvx .tvct-regions button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #1a1100; }
.tvx .tvct-regions button[aria-pressed="true"] b { background: rgba(0,0,0,.12); }
.tvx .tvct-map-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(20px, 4vw, 40px); align-items: start; }
.tvx .tvct-map { position: relative; width: 100%; max-width: 540px; margin-inline: auto; aspect-ratio: 560 / 640; }
.tvx .tvct-map svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tvx .tvct-land { fill: url(#tvct-g); stroke: #3c6cbf; stroke-width: 1.4; stroke-linejoin: round; filter: drop-shadow(0 18px 30px rgba(0,0,0,.35)); }
.tvx .tvct-pin { position: absolute; z-index: 1; width: 22px; height: 22px; margin: 0; padding: 0; transform: translate(-50%, -50%); border: 0; border-radius: 50%; background: transparent; cursor: pointer; display: grid; place-items: center; min-width: 0; min-height: 0; box-shadow: none; transition: opacity .25s; }
.tvx .tvct-pin span { position: relative; display: block; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(255,181,71,.25), 0 0 14px rgba(255,181,71,.8); transition: transform .2s; }
.tvx .tvct-pin.is-loc span::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(255,181,71,.6); animation: tvct-ping 2.4s ease-out infinite; animation-delay: calc(var(--d, 0) * 1s); }
.tvx .tvct-pin.is-office span { width: 14px; height: 14px; border-radius: 4px; background: #fff; box-shadow: 0 0 0 3px rgba(31,111,235,.6), 0 0 14px rgba(255,255,255,.6); }
.tvx .tvct-pin:hover span, .tvx .tvct-pin.is-on span { transform: scale(1.45); }
.tvx .tvct-pin.is-on, .tvx .tvct-pin:hover, .tvx .tvct-pin:focus-visible { z-index: 3; }
.tvx .tvct-pin.is-dim { opacity: .18; }
.tvx .tvct-pin:focus-visible { outline: 2px solid #fff; outline-offset: 0; }
@keyframes tvct-ping { 0% { transform: scale(.6); opacity: 1; } 80%, 100% { transform: scale(1.9); opacity: 0; } }
.tvx .tvct-pop { position: absolute; z-index: 4; width: max-content; max-width: min(260px, 70%); padding: 12px 14px; border-radius: 12px; background: #fff; color: var(--ink); box-shadow: 0 16px 40px -10px rgba(0,0,0,.5); font-size: 14px; pointer-events: none; transform: translate(-50%, calc(-100% - 16px)); }
.tvx .tvct-pop strong { display: block; font: 600 15px/1.3 var(--display); color: var(--ink); }
.tvx .tvct-pop span { display: block; color: var(--muted); font-size: 13px; }
.tvx .tvct-pop.is-below { transform: translate(-50%, 16px); }
.tvx .tvct-legend { position: absolute; right: 0; top: 0; display: grid; gap: 6px; padding: 10px 12px; border-radius: 12px; background: rgba(6,27,61,.7); font-size: 12.5px; color: #dbe6f7; }
.tvx .tvct-legend li { display: flex; align-items: center; gap: 8px; }
.tvx .tvct-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.tvx .tvct-legend i.is-office { border-radius: 3px; background: #fff; }
.tvx .tvct-loclist { display: grid; gap: 14px; }
.tvx .tvct-loclist ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; max-height: 540px; overflow-y: auto; padding-right: 4px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.3) transparent; }
.tvx .tvct-loclist li[hidden] { display: none; }
.tvx .tvct-loclist button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 0; margin: 0; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: #fff; text-align: left; font: 400 14px/1.3 var(--body); letter-spacing: 0; text-transform: none; cursor: pointer; transition: background .15s, border-color .15s; }
.tvx .tvct-loclist button:hover, .tvx .tvct-loclist li.is-on button { background: rgba(255,255,255,.14); border-color: var(--gold); }
.tvx .tvct-loclist button > span:not(.tvct-dot) { display: grid; min-width: 0; }
.tvx .tvct-loclist strong { color: #fff; font-weight: 600; overflow-wrap: anywhere; }
.tvx .tvct-loclist small { color: #a9bbd8; font-size: 12.5px; }
.tvx .tvct-loclist em { margin-left: auto; font-style: normal; font-size: 12.5px; color: var(--gold); white-space: nowrap; }
.tvx .tvct-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.tvx .tvct-loclist .is-office .tvct-dot { border-radius: 3px; background: #fff; }
.tvx .tvct-near-out { padding: 12px 14px; border-radius: 12px; background: rgba(255,181,71,.14); border: 1px solid rgba(255,181,71,.5); color: #fff; font-size: 14px; }
.tvx .tvct-loclist .tvx-btn { justify-self: start; }

/* Routes */
.tvx .tvct-routes .tvx-h2 { margin-bottom: 22px; }
.tvx .tvct-route-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.tvx .tvct-route-grid a { display: grid; gap: 4px; height: 100%; padding: 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, transform .2s; }
.tvx .tvx-section:nth-of-type(even) .tvct-route-grid a { background: var(--bg); }
.tvx .tvct-route-grid a:hover { border-color: var(--accent); transform: translateY(-2px); }
.tvx .tvct-route-grid strong { font: 600 16px/1.3 var(--display); color: var(--ink); }
.tvx .tvct-route-grid span { color: var(--muted); font-size: 14px; }

@media (max-width: 1080px) {
	.tvx .tvct-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tvx .tvct-main-grid, .tvx .tvct-map-grid { grid-template-columns: minmax(0, 1fr); }
	.tvx .tvct-side { position: static; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
	.tvx .tvct-loclist ul { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); max-height: 360px; }
}
@media (max-width: 600px) {
	.tvx .tvct-quick { grid-template-columns: minmax(0, 1fr); }
	.tvx .tvct-quick a { padding: 12px 14px; }
	.tvx .tvct-hero-top .tvx-btn { width: 100%; }
	.tvx .tvct-topics { grid-template-columns: minmax(0, 1fr); }
	.tvx .tvct-steps span { font-size: 12.5px; }
	.tvx .tvct-loclist ul { grid-template-columns: minmax(0, 1fr); }
	.tvx .tvct-legend { font-size: 11.5px; padding: 8px 10px; }
	.tvx .tvct-pop { max-width: 80%; }
	.tvx .tvct-pin span { width: 9px; height: 9px; }
	.tvx .tvct-pin.is-office span { width: 10px; height: 10px; }
	.tvx .tvct-regions { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
	.tvx .tvct-regions button { flex: none; }
}
/* Reduced motion (only when that setting is on) */
	html.tvx-still .tvx .tvct-pin.is-loc span::after { animation: none; display: none; }

