/* Platinum profile and hub. Generated from new_site_v3 assets/css/style.css (.dl-*, the .rep-* parts the
   profile uses, .gal__item, .loc-btn, .loc-mark); WordPress-only additions at the end. Loaded after the
   theme's main.css so equal-weight v3 rules win. */
.gal-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; margin: 0; padding: 0; list-style: none; }
.gal-grid li:nth-child(7n + 1) { grid-column: span 2; grid-row: span 2; }
.gal__item { display: block; width: 100%; height: 100%; padding: 0; overflow: hidden; border: 0; border-radius: var(--r-sm); background: var(--bg); cursor: zoom-in; }
.gal__item img { display: block; width: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gal__item:hover img { transform: scale(1.04); }
.gal__item:focus-visible { outline: 3px solid var(--tek); outline-offset: 3px; }
@media (max-width: 1080px) {
  .gal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .gal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.dl-hero + .sec { padding-top: clamp(40px, 5vw, 72px); }
.gal-grid { display: flex; flex-wrap: wrap; --gal-cols: 4; --gal-gap: clamp(8px, 1vw, 14px); gap: var(--gal-gap); }
.gal-grid li, .gal-grid li:nth-child(7n + 1) { flex: 0 0 calc((100% - (var(--gal-cols) - 1) * var(--gal-gap)) / var(--gal-cols)); max-width: 100%; grid-column: auto; grid-row: auto; }
.gal__item img { aspect-ratio: auto; height: 100%; }
.gal__item { aspect-ratio: 3 / 2; }
@media (max-width: 1080px) {
  .gal-grid { --gal-cols: 3; }
}
@media (max-width: 600px) {
  .gal-grid { --gal-cols: 2; }
}
.loc-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border: 1.5px solid var(--line); border-radius: 4px; background: var(--white); color: var(--ink); font-size: 13px; font-weight: 600; text-decoration: none; transition: border-color .2s; }
.loc-btn:hover { border-color: var(--ink); }
.loc-btn svg { width: 14px; height: 14px; }
@media (max-width: 560px) {
  .loc-btn--ico { width: 38px; justify-content: center; padding: 7px 0; }
  .loc-btn--ico svg { width: 17px; height: 17px; }
  .loc-btn__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.loc-btn--call { border-color: var(--line); background: var(--white); color: var(--ink); }
.loc-btn--call svg { color: var(--tek); }
.loc-btn--call:hover { border-color: var(--ink); }
.smp-soon__tag { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--vu); color: var(--white); font-size: 13px; font-weight: 600; }
.smp-soon p:not(.smp-soon__tag) { margin-top: 10px; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.loc-mark { display: block; width: 52px; height: 52px; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .35)); transition: transform .15s; }
.leaflet-marker-icon.is-hot .loc-mark, .leaflet-marker-icon.is-sel .loc-mark { transform: scale(1.25); }
.loc-mark--sm { width: 36px; height: 36px; }
.loc-mark--tek { display: grid; place-items: center; border: 3px solid #A3ACB6; border-radius: 50%; background: var(--white); }
.loc-mark--tek img { width: 72%; height: auto; }
.leaflet-container .loc-mark--tek img { width: 34px !important; max-width: 34px !important; height: auto; }
.rep-play { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--tek); color: var(--white); box-shadow: 0 8px 22px rgba(0, 0, 0, .35); transition: transform .25s var(--ease), background .2s; }
.rep-play svg { width: 22px; height: 22px; margin-left: 3px; }
button:hover > .rep-play { transform: scale(1.08); background: var(--tek-hot); }
.rep-back { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .7); transition: color .2s; }
.rep-back svg { width: 16px; height: 16px; }
.rep-back:hover { color: var(--white); }
.rep-body { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 72px); align-items: start; }
.rep-h2 { font-size: var(--fs-h2); line-height: .98; }
.rep-h2::after { content: ""; display: block; width: 64px; height: 4px; margin-top: 18px; background: var(--tek); }
.rep-p { margin-top: 16px; font-size: 17px; line-height: 1.65; color: var(--ink-2); max-width: 62ch; }
.rep-box h3 { font-size: clamp(24px, 2vw, 30px); }
.rep-box { margin-top: clamp(24px, 2.6vw, 32px); padding: clamp(20px, 2.4vw, 32px); border-radius: var(--r); background: var(--bg); }
.rep-ticks { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.rep-ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--ink); }
.rep-ticks svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--tek); }
.rep-body__go { margin-top: clamp(24px, 2.6vw, 32px); }
.rep-video { position: relative; display: block; width: 100%; margin-bottom: clamp(28px, 3vw, 40px); padding: 0; overflow: hidden; border: 0; border-radius: var(--r); background: var(--night); cursor: pointer; }
.rep-video img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; opacity: .82; transition: transform .7s var(--ease), opacity .3s; }
.rep-video:hover img { transform: scale(1.03); opacity: 1; }
.rep-video .rep-play { left: 50%; top: 50%; right: auto; bottom: auto; width: 68px; height: 68px; transform: translate(-50%, -50%); }
.rep-video:hover .rep-play { transform: translate(-50%, -50%) scale(1.08); }
.rep-video__cap { position: absolute; left: 18px; bottom: 16px; color: var(--white); font: 600 13px var(--body); letter-spacing: .08em; text-transform: uppercase; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.rep-video:focus-visible { outline: 3px solid var(--tek); outline-offset: 3px; }
.rep-soon { display: grid; justify-items: start; gap: 10px; padding: 24px; border: 1px dashed #C9CDD3; border-radius: var(--r); background: var(--bg); color: var(--ink-2); }
@media (max-width: 1080px) {
  .rep-body { grid-template-columns: 1fr; }
}
.rep-video img { height: auto; }
.gal-grid li[hidden] { display: none; }
.gal__item { position: relative; }
.gal__tag { position: absolute; left: 8px; bottom: 8px; padding: 4px 9px; border-radius: 999px; background: rgba(12, 13, 15, .72); color: var(--white); font-size: 12px; font-weight: 600; pointer-events: none; }
.dl-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.dl-mark { flex: 0 0 auto; display: block; }
.dl-logo__name { display: grid; gap: 3px; line-height: 1; }
.dl-logo__name b { font-family: var(--display); font-weight: 400; font-size: 22px; letter-spacing: .02em; text-transform: uppercase; }
.dl-logo__name small { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.dl-hero { min-height: clamp(520px, 74svh, 760px); }
.dl-id { margin-top: 22px; }
.dl-id .hero__title { margin-top: clamp(18px, 2vw, 26px); font-size: clamp(44px, 5.2vw, 80px); line-height: .92; text-wrap: balance; }
.dl-brand { display: inline-flex; align-items: center; height: clamp(68px, 6.4vw, 92px); max-width: min(100%, 340px); padding: 12px 18px; border-radius: var(--r); background: var(--white); box-shadow: 0 16px 40px rgba(0, 0, 0, .4); }
.dl-brand > img { display: block; width: auto; height: 100%; max-width: 100%; object-fit: contain; }
.dl-brand .dl-logo { height: 100%; }
.dl-brand .dl-mark { width: auto; height: 100%; }
.dl-brand .dl-logo__name b { font-size: clamp(17px, 1.5vw, 22px); }
.dl-hero .dl-tier { margin-bottom: 16px; }
.dl-hero .dl-tier { position: relative; overflow: hidden; isolation: isolate; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 6px 18px rgba(0, 0, 0, .35); }
.dl-hero .dl-tier::after { content: ""; position: absolute; inset: -40% auto -40% -60%; z-index: -1; width: 45%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .95) 50%, transparent); transform: skewX(-20deg); animation: dl-shine 3.6s var(--ease) 1.2s infinite; }
@keyframes dl-shine { 0% { left: -60%; } 45%, 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) {
  .dl-hero .dl-tier::after { animation: none; display: none; }
}
.dl-top__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(20px, 3vw, 48px); align-items: stretch; }
.dl-video { height: 100%; min-height: 280px; margin-bottom: 0; }
.dl-video img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
.dl-video--still { margin: 0; cursor: default; }
.dl-video--still img { opacity: 1; }
.dl-video--still:hover img { transform: none; }
.dl-top + .dl-about { padding-top: 0; }
.dl-installs { margin-top: 0; }
.dl-map { position: relative; height: clamp(340px, 40vw, 520px); background: #E9EDF0; }
.dl-map__canvas { position: absolute; inset: 0; }
.loc-mark.dl-map__pin { width: 72px; height: 72px; }
.dl-why { background: var(--tek); color: var(--white); text-align: center; overflow: hidden; }
.dl-why__seal { display: block; width: clamp(110px, 10vw, 150px); height: auto; margin: 0 auto clamp(14px, 1.6vw, 22px); filter: drop-shadow(0 14px 26px rgba(0, 0, 0, .35)); }
.dl-why__title { font-size: var(--fs-h2); }
.dl-why__list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: clamp(36px, 4.4vw, 64px) 0 0; padding: 0; list-style: none; }
.dl-why__list li { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 8px clamp(10px, 1.4vw, 22px); font-size: clamp(15px, 1.15vw, 18px); font-weight: 600; line-height: 1.35; text-wrap: balance; }
.dl-why__list li + li { border-left: 1px solid rgba(255, 255, 255, .35); }
.dl-why__list svg { width: clamp(44px, 4vw, 58px); height: auto; color: var(--white); }
@media (max-width: 900px) {
  .dl-why__list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .dl-why__list li:nth-child(3n + 1) { border-left: 0; }
}
@media (max-width: 560px) {
  .dl-why__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dl-why__list li:nth-child(3n + 1) { border-left: 1px solid rgba(255, 255, 255, .35); }
  .dl-why__list li:nth-child(odd) { border-left: 0; }
}
@media (max-width: 900px) {
  .dl-top__grid { grid-template-columns: minmax(0, 1fr); }
  .dl-video { height: auto; min-height: 0; aspect-ratio: 16 / 10; }
}
.dl-contact__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.dl-contact__head .dl-person { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.dl-seal { flex: 0 0 auto; width: clamp(110px, 11vw, 150px); height: auto; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .22)); }
.dl-contact__head .dl-person { min-width: 0; }
@media (max-width: 420px) {
  .dl-seal { width: 88px; }
}
.dl-tier { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 6px 14px; border-radius: 999px; background: linear-gradient(135deg, #F4F5F7, #C9CDD3); color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.dl-contact { padding: clamp(20px, 2.4vw, 28px); border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.dl-person { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.dl-person__pic { flex: 0 0 72px; width: 72px; height: 72px; overflow: hidden; border: 3px solid #C9CDD3; border-radius: 50%; background: #E9EBEE; }
.dl-person__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.dl-person b { display: block; font-size: 17px; color: var(--ink); }
.dl-person small { display: block; margin-top: 2px; font-size: 14px; color: var(--mute-2); }
.dl-contact ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
.dl-contact li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; }
.dl-contact__ico { color: var(--tek); }
.dl-contact__ico svg { display: block; width: 20px; height: 20px; }
.dl-contact ul a { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.dl-contact ul a:hover { color: var(--tek); }
.dl-contact__act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.dl-contact__act .btn { flex: 1 1 160px; }
.dl-contact__act .btn svg { width: 18px; height: 18px; }
.dl-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); margin: 0; padding: 0; list-style: none; }
.dl-portfolio { --gal-cols: 4; }
.dl-oc { position: relative; display: flex; flex-direction: column; padding: clamp(20px, 2vw, 26px); border: 1px solid var(--line); border-top: 4px solid var(--tek); border-radius: var(--r); background: var(--white); transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.dl-oc:hover { box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .35); transform: translateY(-3px); }
.dl-oc__logo { display: inline-flex; align-items: center; align-self: flex-start; height: 56px; max-width: 100%; margin-bottom: 16px; }
.dl-oc__logo > img, .dl-oc__logo .dl-mark { display: block; width: auto; height: 100%; max-width: 100%; object-fit: contain; }
.dl-oc__name { font-size: clamp(26px, 2.2vw, 32px); line-height: .98; text-wrap: balance; }
.dl-oc__name a { color: var(--ink); }
.dl-oc__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.dl-oc:hover .dl-oc__name a { color: var(--tek); }
.dl-oc__city { margin-top: 8px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.dl-oc__addr { margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--mute-2); }
.dl-oc__act { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 20px; }
.dl-oc__act .loc-btn { position: relative; z-index: 2; white-space: nowrap; }
.dl-oc__go { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--tek); }
.dl-oc__go svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.dl-oc:hover .dl-oc__go svg { transform: translateX(3px); }
@media (max-width: 1080px) {
  .dl-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .dl-cards { grid-template-columns: 1fr; }
}
.leaflet-container a.loc-btn { color: var(--ink); }
.loc-btn--profile, .leaflet-container a.loc-btn--profile { border-color: var(--tek); background: var(--tek); color: var(--white); }
.loc-btn--profile:hover, .leaflet-container a.loc-btn--profile:hover { border-color: var(--tek-hot); background: var(--tek-hot); color: var(--white); }
.loc-btn { border-radius: 4px; }

/* --- WordPress additions --- */
/* Preview bar for a profile that is not public yet (office and the dealer only, noindex). */
/* Fixed to the bottom: the theme header overlays the top of the hero, and the bar must not shift v3's layout. */
.tek-pf-preview { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; padding: 10px 20px; background: #FFF4D6; box-shadow: 0 -4px 16px rgba(0, 0, 0, .18); color: var(--ink); font-size: 14px; font-weight: 600; text-align: center; }
/* The theme pads every <section>; in v3 the hero and the map have no section padding. */
.dl-hero, .dl-map { padding: 0; }
/* In v3 these headings inherit white from their section; the theme gives h1/h2 their own colour. */
.dl-hero .hero__title, .dl-why__title { color: var(--white); }
/* The theme's img:not([src$=".svg"]) { height: auto } and Leaflet's marker img { width: auto } outrank .loc-mark. */
.leaflet-container .leaflet-marker-icon img.loc-mark.dl-map__pin { width: 72px; height: 72px; }
/* Hub: in v3 the cards section sits right after .page-head and gets `.page-head + .sec { padding-top: clamp(40px, 5vw, 72px) }`;
   in WordPress the head is in the theme header, so that sibling rule cannot match. */
.wp-block-tek-platinum-dealers.sec { padding-top: clamp(40px, 5vw, 72px); }
