/* =====================================================================
 * VARITO distribution / partner page (uses home.css tokens + de-pages hero)
 * =================================================================== */
.vd, .vtde {
	--vh-blue: #2273f8; --vh-blue-d: #1a5fd0; --vh-teal: #00d4aa;
	--vh-navy: #0b1f3a; --vh-navy-2: #081426;
	--vh-text: #0b1f3a; --vh-body: #4a5568; --vh-muted: #6b778a;
	--vh-line: #e3e8f0; --vh-soft: #f5f7fb;
	--vh-head: var(--font-head, 'Rajdhani'), sans-serif;
}
.vd .vh-sec { padding: 80px 0; }
.vd-hero { padding-bottom: 110px; }
.vd-hero-media img { object-position: center; }
.vd .vh-trust { margin-top: -62px; }

.vd-grid { display: grid; gap: 22px; }
.vd-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vd-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vd-card { background: #fff; border: 1px solid var(--vh-line); border-radius: 18px; padding: 28px 26px; transition: transform .2s, box-shadow .2s; }
.vd-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(11,31,58,.09); }
.vd-card .vh-ic { width: 48px; margin-bottom: 18px; }
.vd-card h3 { font-family: var(--vh-head); font-size: 21px; font-weight: 700; color: var(--vh-text); margin: 0 0 8px; line-height: 1.2; }
.vd-card p { margin: 0; font-size: 15px; line-height: 1.65; }
.vd-benefits { background: var(--vh-soft); }
.vd-card-line { border-top: 3px solid var(--vh-blue); }

.vd-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.vd-cat { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border: 1px solid var(--vh-line); border-radius: 14px; background: #fff; color: var(--vh-text) !important; transition: .2s; }
.vd-cat:hover { border-color: var(--vh-blue); box-shadow: 0 10px 24px rgba(34,115,248,.12); }
.vd-cat-name { flex: 1; font-weight: 700; font-size: 15.5px; line-height: 1.3; }
.vd-cat-n { font-size: 12.5px; font-weight: 600; color: var(--vh-blue); background: rgba(34,115,248,.08); padding: 4px 10px; border-radius: 20px; white-space: nowrap; }
.vd-cat svg { width: 16px; height: 16px; color: var(--vh-blue); flex: 0 0 16px; }

.vd-offices { background: var(--vh-soft); }
.vd-office { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--vh-line); border-radius: 18px; overflow: hidden; }
.vd-office header { display: flex; align-items: center; gap: 14px; padding: 22px 24px; border-bottom: 1px solid var(--vh-line); background: linear-gradient(180deg, #fff, #f9fbfe); }
.vd-flag { font-size: 34px; line-height: 1; }
.vd-office h3 { font-family: var(--vh-head); font-size: 22px; font-weight: 700; color: var(--vh-text); margin: 0; }
.vd-office-type { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--vh-blue); }
.vd-office ul { list-style: none; margin: 0; padding: 18px 24px; flex: 1; }
.vd-office li { display: flex; gap: 12px; padding: 8px 0; margin: 0; font-size: 14.5px; line-height: 1.55; }
.vd-office li svg { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; color: var(--vh-blue); }
.vd-office li strong { color: var(--vh-text); }
.vd-office li a { color: var(--vh-text) !important; word-break: break-word; display: inline !important; padding: 0 !important; margin: 0 !important; line-height: inherit !important; min-height: 0 !important; }
.vd-office li a:hover { color: var(--vh-blue) !important; }
.vd-office footer { display: flex; gap: 10px; padding: 0 24px 24px; flex-wrap: wrap; }
.vd-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 16px; border-radius: 30px; font-weight: 700; font-size: 14.5px; background: var(--vh-blue); color: #fff !important; white-space: nowrap; }
.vd-btn:hover { background: var(--vh-blue-d); }
.vd-btn-ghost { background: transparent; color: var(--vh-text) !important; border: 1px solid var(--vh-line); }
.vd-btn-ghost:hover { background: var(--vh-soft); }

.vd-faq-list { max-width: 900px; display: grid; gap: 12px; }
.vd-faq-item { border: 1px solid var(--vh-line); border-radius: 14px; background: #fff; transition: box-shadow .2s; }
.vd-faq-item[open] { box-shadow: 0 12px 28px rgba(11,31,58,.07); border-color: #cfdcf2; }
.vd-faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 700; font-size: 16.5px; color: var(--vh-text); }
.vd-faq-item summary::-webkit-details-marker { display: none; }
.vd-faq-ic { flex: 0 0 30px; height: 30px; border-radius: 50%; background: rgba(34,115,248,.1); position: relative; transition: transform .25s; }
.vd-faq-ic::before, .vd-faq-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--vh-blue); transform: translate(-50%, -50%); border-radius: 2px; }
.vd-faq-ic::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .25s; }
.vd-faq-item[open] .vd-faq-ic::after { transform: translate(-50%, -50%) rotate(0deg); }
.vd-faq-item p { margin: 0; padding: 0 22px 22px; font-size: 15.5px; line-height: 1.7; }

@media (max-width: 1100px) { .vd-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 991px) {
	.vd-grid-3 { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
	.vd-hero .vtde-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 640px) {
	.vd .vh-sec { padding: 56px 0; }
	.vd-grid-4 { grid-template-columns: minmax(0, 1fr); }
	.vd-hero { padding-bottom: 90px; }
	.vd-faq-item summary { font-size: 15.5px; padding: 16px 18px; }
	.vd-faq-item p { padding: 0 18px 18px; }
}

/* ---------- Global presence map ---------- */
.vd-map-card { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); background: #fff; border: 1px solid var(--vh-line); border-radius: 22px; overflow: hidden; box-shadow: 0 24px 60px rgba(11,31,58,.08); }
.vd-map-wrap { position: relative; background: #fbfcfe; padding: 18px; align-self: center; }
.vd-map-img { display: block; width: 100%; height: auto; opacity: .85; }
.vd-pin { position: absolute; transform: translate(-50%, -50%); width: 34px; height: 34px; border: 0; padding: 0; background: transparent; cursor: pointer; z-index: 2; }
.vd-pin-dot { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--vh-blue); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(11,31,58,.35); transition: transform .2s; }
.vd-pin.is-hq .vd-pin-dot { width: 18px; height: 18px; margin: -9px 0 0 -9px; background: var(--vh-navy); }
.vd-pin-dot::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid var(--vh-blue); opacity: 0; animation: vdPulse 2.2s ease-out infinite; }
.vd-pin.is-hq .vd-pin-dot::after { border-color: var(--vh-navy); }
@keyframes vdPulse { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
.vd-pin:hover .vd-pin-dot, .vd-pin.is-active .vd-pin-dot { transform: scale(1.25); }
.vd-pin.is-active .vd-pin-dot { background: var(--vh-teal); }
.vd-pin-label { position: absolute; left: 50%; bottom: 100%; transform: translate(-50%, -2px); white-space: nowrap; font-size: 12px; font-weight: 700; color: #fff; background: var(--vh-navy); padding: 4px 9px; border-radius: 6px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.vd-pin:hover .vd-pin-label, .vd-pin:focus-visible .vd-pin-label, .vd-pin.is-active .vd-pin-label { opacity: 1; }
.vd-pin:focus-visible { outline: 2px solid var(--vh-blue); outline-offset: 2px; border-radius: 50%; }
.vd-map-side { display: flex; flex-direction: column; gap: 18px; padding: 30px 28px; border-left: 1px solid var(--vh-line); }
.vd-loc-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.vd-loc h3 { font-family: var(--vh-head); font-size: 24px; font-weight: 700; color: var(--vh-text); margin: 0; line-height: 1.1; }
.vd-loc h3 small { font-size: 15px; color: var(--vh-muted); font-weight: 600; }
.vd-loc p { margin: 0 0 16px; font-size: 15px; line-height: 1.65; }
.vd-loc-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--vh-muted); margin-bottom: 8px; }
.vd-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.vd-tags span { font-size: 13px; font-weight: 600; color: var(--vh-text); background: var(--vh-soft); border: 1px solid var(--vh-line); padding: 5px 11px; border-radius: 20px; }
.vd-loc-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.vd-loc-switch { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--vh-line); }
.vd-loc-btn { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 20px; border: 1px solid var(--vh-line); background: #fff; color: var(--vh-text); font-weight: 600; font-size: 14px; cursor: pointer; transition: .2s; }
.vd-loc-btn:hover { border-color: var(--vh-blue); }
.vd-loc-btn.is-active { background: var(--vh-blue); border-color: var(--vh-blue); color: #fff; }
.vd-legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--vh-muted); }
.vd-legend span { display: inline-flex; align-items: center; gap: 7px; }
.vd-legend i { width: 11px; height: 11px; border-radius: 50%; background: var(--vh-blue); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--vh-line); }
.vd-legend i.is-hq { width: 13px; height: 13px; background: var(--vh-navy); }
@media (max-width: 1200px) {
	.vd-map-card { grid-template-columns: minmax(0, 1fr); }
	.vd-map-side { border-left: 0; border-top: 1px solid var(--vh-line); }
}
@media (max-width: 640px) {
	.vd-map-wrap { padding: 8px; }
	.vd-pin { width: 28px; height: 28px; }
	.vd-pin-label { font-size: 11px; padding: 3px 7px; }
	.vd-map-side { padding: 22px 18px; }
	.vd-loc-actions .vd-btn { flex: 1 1 100%; }
}
