/* ============================================================
   Tekniheat Heat Pumps — stylesheet
   Palette: white / black with sage accent rgb(118,146,114)
   Type: Spectral (headings) + Inter (body)
   ============================================================ */

:root {
  --bg:        #ffffff;
  --bg-alt:    #f6f6f3;
  --bg-ink:    #141513;
  --ink:       #16170f;
  --ink-2:     #2b2c27;
  --muted:     #5c5f59;
  --muted-2:   #84877f;
  --line:      #e6e6df;
  --line-2:    #d6d7cf;
  --sage:      #769272;
  --sage-d:    #5e7a5b;
  --sage-50:   #eef2ec;
  --sage-100:  #e2e9df;
  --white:     #ffffff;

  --maxw: 1180px;
  --pad: clamp(1.25rem, 4vw, 2rem);
  --section-y: clamp(3.75rem, 8vw, 7rem);
  --radius: 3px;
  --shadow: 0 1px 2px rgba(20,21,15,.04), 0 12px 30px -18px rgba(20,21,15,.22);

  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--sage-d); outline-offset: 3px; border-radius: 2px; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: var(--ink); line-height: 1.1; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 500; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
p { color: var(--muted); }
strong { color: var(--ink); font-weight: 600; }

.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sage-d);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: var(--sage);
}
.eyebrow.center::before { display: none; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section-y); }
.section--alt { background: var(--bg-alt); }
.section--ink { background: var(--bg-ink); color: #e9eae4; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }
.section--ink p { color: #b6b8af; }
.section-head { max-width: 56ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { margin-top: 1rem; font-size: 1.05rem; }
.center { text-align: center; }
.center.section-head { margin-inline: auto; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-2); line-height: 1.7; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

/* ---------- top utility bar ---------- */
.topbar {
  background: var(--bg-ink);
  color: #c9cbc2;
  font-size: .8rem;
  letter-spacing: .01em;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; flex-wrap: wrap; }
.topbar a { color: #e9eae4; }
.topbar a:hover { color: var(--sage); }
.topbar .tb-left { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.topbar .tb-left span { color: #8d8f86; }
.topbar .tb-right { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.topbar .dot { color: var(--sage); }
@media (max-width: 640px) { .topbar .tb-left { display: none; } .topbar .tb-right { width: 100%; justify-content: space-between; } }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 74px; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.28rem; letter-spacing: .02em; color: var(--ink); }
.brand-tag { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted-2); margin-top: .3rem; }

/* brand logo image (replaces wordmark when images/tekniheat-logo.png is present) */
.brand-logo { height: 44px; width: auto; max-width: 230px; display: block; }
.brand-logo.is-missing { display: none; }
.brand-text-wrap { display: none; align-items: center; gap: .7rem; }
.brand-text-wrap.show { display: flex; }
/* footer logo: white transparent PNG on the dark footer */
.foot-logo { display: block; height: 48px; width: auto; max-width: 260px; }

.nav { display: flex; align-items: center; gap: .3rem; }
.nav a {
  position: relative;
  padding: .55rem .9rem;
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: var(--radius);
}
.nav a:hover { color: var(--ink); }
.nav a.active { color: var(--ink); }
.nav a.active::after {
  content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .28rem; height: 2px; background: var(--sage);
}
.header-cta { display: flex; align-items: center; gap: .9rem; }

.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); border-radius: var(--radius); width: 44px; height: 40px; align-items: center; justify-content: center; }
.nav-toggle span { position: relative; width: 18px; height: 2px; background: var(--ink); display: block; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-backdrop { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .82rem 1.4rem;
  font-family: var(--sans); font-size: .92rem; font-weight: 600; letter-spacing: .01em;
  border-radius: var(--radius); border: 1px solid transparent;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  white-space: nowrap;
}
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--sage-d); }
.btn--light { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn--light:hover { border-color: var(--ink); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--on-ink { background: #fff; color: var(--ink); }
.btn--on-ink:hover { background: var(--sage); color: #fff; }
.btn--ghost-ink { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost-ink:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

.textlink { color: var(--sage-d); font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: .4rem; }
.textlink .arrow { transition: transform .18s ease; }
.textlink:hover { color: var(--ink); }
.textlink:hover .arrow { transform: translateX(3px); }

/* ---------- hero ---------- */
.hero { border-bottom: 1px solid var(--line); }
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(3rem, 7vw, 5.5rem); }
.hero-logo { display: block; width: auto; height: auto; max-width: 300px; max-height: 90px; margin-bottom: 1.4rem; }
/* home hero: centre the logo and use black (not green) for the eyebrow */
.hero .hero-logo { margin-inline: auto; }
.hero .eyebrow { color: var(--ink); display: flex; justify-content: center; }
.hero .eyebrow::before { display: none; }
.hero h1 { margin-top: 1.1rem; }
.hero p { margin-top: 1.4rem; max-width: 50ch; }
.hero .btn-row { margin-top: 2rem; }
.hero-aside { align-self: stretch; }
.hero-media { height: 100%; min-height: 380px; }

/* image slots: show the photo, fall back to a labelled placeholder if the file is absent */
.media-slot { position: relative; height: 100%; }
.media-slot > .ph { display: none; }
.media-slot.is-missing > img { display: none; }
.media-slot.is-missing > .ph { display: flex; }
.media-slot.hero-media > .ph { min-height: 380px; aspect-ratio: auto; }
.hero-img { display: block; width: 100%; height: 100%; min-height: 380px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }
.product-img { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }
/* about photo: fill the full height of the text column (crop to cover) */
.about-media { align-self: stretch; }
.about-media .product-img { height: 100%; object-fit: cover; object-position: 60% center; min-height: 360px; }

/* page hero (interior) */
.page-hero { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.page-hero .container { padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.page-hero h1 { margin-top: 1rem; max-width: 18ch; }
.page-hero p { margin-top: 1.1rem; max-width: 60ch; font-size: 1.08rem; }

/* ---------- placeholders ---------- */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(135deg, rgba(118,146,114,.05) 0 12px, rgba(118,146,114,0) 12px 24px),
    var(--bg-alt);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  color: var(--muted-2);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.section--ink .ph { background: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 12px, rgba(255,255,255,0) 12px 24px), #1d1e1b; border-color: #34352f; color: #9a9c93; }
.ph__inner { padding: 1.25rem; display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.ph__icon { width: 30px; height: 30px; color: var(--sage); opacity: .9; }
.ph__label { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
.ph__hint { font-size: .72rem; color: var(--muted-2); letter-spacing: .02em; }
.ph--wide { aspect-ratio: 16 / 7; }
.ph--tall { aspect-ratio: 3 / 4; }
.ph--square { aspect-ratio: 1 / 1; }

/* ---------- value props grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature {
  background: var(--bg);
  padding: 1.6rem 1.4rem;
  display: flex; flex-direction: column; gap: .55rem;
  min-height: 150px;
}
.feature .num { font-family: var(--serif); font-size: .9rem; color: var(--sage-d); }
.feature h3 { font-size: 1.06rem; font-family: var(--sans); font-weight: 600; letter-spacing: -0.005em; }
.feature p { font-size: .86rem; line-height: 1.55; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }
.stat { text-align: left; }
.stat .n { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; color: #fff; }
.section--ink .stat .n { color: #fff; }
.stat .n .unit { font-size: .42em; color: inherit; margin-left: .15em; vertical-align: baseline; }
.stat .lbl { margin-top: .7rem; font-size: .86rem; color: #b6b8af; letter-spacing: .02em; }
.stat .lbl strong { color: #fff; }

/* divider for stat row on light */
.stats--light .stat .n { color: var(--ink); }
.stats--light .stat .lbl { color: var(--muted); }

/* ---------- two-col / cards ---------- */
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 2.5rem); }
.cols-2.align-center { align-items: center; }

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  display: flex; flex-direction: column;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.card:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .6rem; }
.card p { font-size: .95rem; }
.card .card-media { margin: -1.8rem -1.8rem 1.5rem; }
.card .card-media .ph { border: none; border-bottom: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0; aspect-ratio: 16/9; }
.card .textlink { margin-top: auto; padding-top: 1.2rem; }
.card ul { margin: .4rem 0 1.2rem; padding-left: 1.1rem; }
.card ul li { font-size: .92rem; color: var(--muted); margin-bottom: .3rem; }

/* ---------- product media rows ---------- */
.product { padding-block: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }
.product:last-of-type { border-bottom: none; }
.product .container { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.product--flip .product-media { order: 2; }
.product-body h2 { margin-top: .9rem; }
.product-body .tagline { font-family: var(--serif); font-style: italic; color: var(--sage-d); margin-top: .5rem; font-size: 1.15rem; }
.product-body p { margin-top: 1.1rem; }
.product-body .btn-row { margin-top: 1.8rem; }

/* spec table */
.spec { margin-top: 1.6rem; border-top: 1px solid var(--line); }
.spec dl { display: grid; grid-template-columns: minmax(8rem, auto) 1fr; }
.spec dt, .spec dd { padding: .72rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.spec dt { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; font-weight: 600; align-self: center; }
.spec dd { color: var(--ink-2); font-weight: 500; }

/* ---------- sectors ---------- */
.sectors { display: flex; flex-wrap: wrap; gap: .7rem; }
.chip {
  border: 1px solid var(--line-2); border-radius: 999px;
  padding: .55rem 1.15rem; font-size: .9rem; font-weight: 500; color: var(--ink-2);
  background: var(--bg);
  display: inline-flex; align-items: center; gap: .55rem;
}
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sage); flex: none; }

/* ---------- client logo strip ---------- */
.client-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.client-cell { background: var(--bg); min-height: 92px; display: flex; align-items: center; justify-content: center; padding: 1rem 1.1rem; text-align: center; }
.client-cell img { max-height: 44px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .72; transition: opacity .2s ease, filter .2s ease; }
.client-cell:hover img { filter: grayscale(0); opacity: 1; }
.client-name { font-size: .82rem; font-weight: 600; color: var(--muted); letter-spacing: .01em; line-height: 1.3; }
.client-cell .client-name { display: none; }
.client-cell.no-logo img { display: none; }
.client-cell.no-logo .client-name { display: block; }
@media (max-width: 900px) { .client-strip { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .client-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 400px) { .client-strip { grid-template-columns: repeat(2, 1fr); } }

/* ---------- map ---------- */
.map-frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); }
.map-frame iframe { width: 100%; height: 460px; border: 0; display: block; }

/* ---------- card media images ---------- */
.card-media .media-slot { position: relative; }
.card-media img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0; }
.card-media .media-slot > .ph { display: none; }
.card-media .media-slot.is-missing > img { display: none; }
.card-media .media-slot.is-missing > .ph { display: flex; }

/* ---------- projects showreel ---------- */
.showreel-head { max-width: 60ch; margin-bottom: clamp(1.6rem, 3vw, 2.6rem); }
.showreel-head p { margin-top: 1rem; font-size: 1.05rem; }
.showreel { display: flex; flex-direction: column; gap: .85rem; padding: .4rem 0; width: 80%; max-width: 1400px; margin-inline: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee { overflow: hidden; }
.marquee .track { display: inline-flex; align-items: center; white-space: nowrap; will-change: transform; animation: shreel 80s linear infinite; }
.marquee.r .track { animation-direction: reverse; }
.marquee .track span { font-family: var(--serif); font-size: clamp(1.05rem, 1.7vw, 1.45rem); color: #d7d8d1; padding: 0 1.15rem; }
.marquee .track .sep { color: var(--sage); padding: 0; font-size: .7em; vertical-align: middle; }
.showreel:hover .track { animation-play-state: paused; }
@keyframes shreel { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee .track { animation: none; } }
.showreel-band { padding-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.showreel-band + .cta-band { padding-top: clamp(2.5rem, 5vw, 3.5rem); }
@media (max-width: 820px) { .showreel { width: 92%; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.contact-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; background: var(--bg);
  display: flex; gap: 1.1rem; align-items: flex-start;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.contact-card:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.contact-card .ic { width: 42px; height: 42px; flex: none; border-radius: var(--radius); background: var(--sage-50); color: var(--sage-d); display: flex; align-items: center; justify-content: center; }
.contact-card .ic svg { width: 20px; height: 20px; }
.contact-card > span:not(.ic) { display: flex; flex-direction: column; gap: .3rem; }
.contact-card .k { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; }
.contact-card .v { font-size: 1.12rem; font-weight: 600; color: var(--ink); }
.contact-card a.v:hover { color: var(--sage-d); }
.contact-card .sub { font-size: .85rem; color: var(--muted); }

.callout {
  border: 1px solid var(--sage-100); background: var(--sage-50);
  border-radius: var(--radius); padding: 1.4rem 1.6rem;
  display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; justify-content: space-between;
}
.callout p { color: var(--ink-2); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 22ch; margin-inline: auto; }
.cta-band p { max-width: 52ch; margin: 1rem auto 0; }
.cta-band .btn-row { justify-content: center; margin-top: 2rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-ink); color: #b6b8af; padding-block: clamp(3rem, 6vw, 4.5rem); }
.site-footer .container { display: grid; grid-template-columns: auto auto auto; justify-content: space-between; gap: clamp(2rem, 5vw, 4rem); }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; margin-bottom: 1.1rem; }
.site-footer a { color: #c9cbc2; }
.site-footer a:hover { color: var(--sage); }
.foot-brand .brand-name { color: #fff; }
.foot-brand .brand-tag { color: var(--sage); }
.foot-brand p { color: #9a9c93; font-size: .9rem; margin-top: 1.6rem; max-width: 34ch; }
.foot-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .6rem; font-size: .92rem; }
.foot-contact { font-style: normal; font-size: .92rem; line-height: 1.5; }
.foot-contact div { margin-bottom: .8rem; }
.foot-contact .k { color: #80837a; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; display: block; margin-bottom: .15rem; }
.footer-bottom { border-top: 1px solid #2c2d28; margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.4rem; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-block: 0; }
.footer-bottom p, .footer-bottom a { font-size: .82rem; color: #80837a; }

/* ---------- misc ---------- */
.divider { height: 1px; background: var(--line); border: 0; }
.mt-0 { margin-top: 0; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 2.2rem; }
  .site-footer .container { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  /* logo-free header: nav stays inline and centred, no hamburger needed */
  .nav-toggle { display: none; }
  .nav-backdrop { display: none; }
  .header-cta { display: none; }
  .site-header .container { justify-content: center; min-height: 58px; }
  .nav { gap: .15rem; }
  .nav a { padding: .55rem .7rem; }
}

@media (max-width: 720px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-aside { order: -1; }
  .hero-media { min-height: 240px; }
  .cols-2 { grid-template-columns: 1fr; }
  .product .container { grid-template-columns: 1fr; }
  .product--flip .product-media { order: -1; }
  .product-media { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .spec dl { grid-template-columns: 1fr; }
  .spec dt { padding-bottom: 0; border-bottom: none; }
  .spec dd { padding-top: .2rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* ---------- mobile refinements (images, header, map) ---------- */
@media (max-width: 720px) {
  .hero-media { min-height: 240px; }
  .hero-img { min-height: 240px; }
  .media-slot.hero-media > .ph { min-height: 240px; }
}
@media (max-width: 520px) {
  .brand-logo { height: 36px; max-width: 200px; }
  .hero-logo { max-height: 66px; max-width: 230px; margin-bottom: 1rem; }
  .brand-name { font-size: 1.12rem; }
  .map-frame iframe { height: 340px; }
  .topbar .container { min-height: 34px; padding-block: .25rem; }
  .topbar .tb-right { gap: .8rem; font-size: .76rem; }
  .btn { padding: .8rem 1.15rem; }
  .btn-row .btn { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 360px) {
  .topbar .dot { display: none; }
  .topbar .tb-right { flex-direction: column; gap: .15rem; align-items: flex-start; }
}
