/* ==========================================================================
   Altezza d.o.o. — altezzadoo.ba
   Design system + components.

   Brand rules this file enforces:
     - Two division worlds that never share a colour. Visina is
       charcoal + orange; HydroDrive is navy + teal. The seam between them is
       the brand's signature element.
     - Barlow Condensed for display, Barlow for reading. Both self-hosted.
     - Nothing here depends on JavaScript. The mobile navigation collapses
       only once JS has confirmed it is running, so a no-JS visitor gets the
       full navigation rather than a dead button.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Ground */
  --ink:            #080808;
  --ink-raised:     #101010;
  --ink-line:       rgba(255, 255, 255, 0.10);
  --ink-line-soft:  rgba(255, 255, 255, 0.06);

  /* Reading */
  --text:           #F2F2F2;
  --text-muted:     rgba(242, 242, 242, 0.62);
  --text-faint:     rgba(242, 242, 242, 0.38);

  /* Division A — Visina */
  --visina:         #F5A623;
  --visina-deep:    #1A1A1A;
  --visina-glow:    rgba(245, 166, 35, 0.18);

  /* Division B — HydroDrive */
  --hydro:          #4FC3C8;
  --hydro-deep:     #1E2A5E;
  --hydro-glow:     rgba(79, 195, 200, 0.18);

  /* Type */
  --font-display: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --font-body:    'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Rhythm */
  --gutter:      clamp(1.25rem, 4vw, 3rem);
  --measure:     68ch;
  --section-y:   clamp(3.5rem, 8vw, 7rem);
  --radius:      2px;

  /* Motion — a single easing curve for the whole site. */
  --ease:        cubic-bezier(0.23, 1, 0.32, 1);
  --dur:         420ms;

  --header-h:    64px;
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.01em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 1.5rem + 3.6vw, 4.25rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 1.3rem + 2.1vw, 2.875rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.625rem); }
h4 { font-size: 1.125rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration-color: var(--text-faint); text-underline-offset: 0.2em; }
a:hover { text-decoration-color: currentColor; }

ul, ol { margin: 0; padding: 0; }

/* Visible, on-brand focus for every interactive element. */
:focus-visible {
  outline: 2px solid var(--visina);
  outline-offset: 3px;
  border-radius: var(--radius);
}

::selection { background: var(--visina); color: var(--ink); }

/* --------------------------------------------------------------------------
   3. Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 880px; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--raised { background: var(--ink-raised); }
.section--line { border-top: 1px solid var(--ink-line-soft); }

.eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1rem;
}
.eyebrow--visina { color: var(--visina); }
.eyebrow--hydro  { color: var(--hydro); }

.lede {
  font-size: clamp(1.0625rem, 1rem + 0.5vw, 1.3125rem);
  color: var(--text-muted);
  max-width: var(--measure);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  top: -100px; left: var(--gutter);
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--visina);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* --------------------------------------------------------------------------
   4. Header + navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 8, 8, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ink-line-soft);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.brand__mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.375rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #fff;
}
.brand__sub {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 0.2em;
}

.nav-toggle {
  display: none;                       /* shown only when JS is available */
  margin-left: auto;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.9rem;
  background: none;
  border: 1px solid var(--ink-line);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 18px; height: 2px;
  background: currentColor;
  content: '';
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before { position: absolute; top: -6px; }
.nav-toggle__bars::after  { position: absolute; top: 6px; }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
}

.primary-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.6vw, 1.75rem);
  list-style: none;
}

.primary-nav__link {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
  padding-block: 0.35rem;
  border-bottom: 2px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  white-space: nowrap;
}
.primary-nav__link:hover { color: #fff; }
.primary-nav__link.is-current { color: #fff; border-bottom-color: var(--visina); }

.primary-nav__contact { display: flex; align-items: center; gap: 1rem; }
.primary-nav__phone {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--visina);
  white-space: nowrap;
}

/* Mobile: only collapse once JS has taken over (html.js). Without JS the
   full navigation stays in the flow and remains usable. */
@media (max-width: 900px) {
  .js .nav-toggle { display: inline-flex; }

  .js .primary-nav {
    position: absolute;
    inset: 100% 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0.5rem var(--gutter) 1.25rem;
    background: rgba(8, 8, 8, 0.98);
    border-bottom: 1px solid var(--ink-line);
    display: none;
  }
  .js .primary-nav.is-open { display: flex; }

  .js .primary-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .js .primary-nav__item { border-bottom: 1px solid var(--ink-line-soft); }
  .js .primary-nav__link { display: block; padding: 0.9rem 0; border-bottom: none; }
  .js .primary-nav__contact { padding-top: 1rem; }

  .primary-nav { margin-left: auto; }
  .primary-nav__list { flex-wrap: wrap; justify-content: flex-end; }
}

/* --------------------------------------------------------------------------
   5. Hero — the split screen
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - var(--header-h));
  background: var(--ink);
}
@supports not (min-height: 100svh) {
  .hero { min-height: calc(100vh - var(--header-h)); }
}

/* A slim band above the two panels. It exists so the page has a real, visible
   <h1> describing the company — an image-only hero leaves a crawler with
   nothing to read — while keeping the split screen's full-bleed impact. */
.hero__intro {
  flex: 0 0 auto;
  padding: clamp(1.25rem, 3vw, 2rem) var(--gutter) clamp(1rem, 2.5vw, 1.5rem);
  text-align: center;
  border-bottom: 1px solid var(--ink-line-soft);
}
.hero__intro h1 {
  font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.5rem);
  margin: 0 0 0.25em;
  letter-spacing: 0.02em;
}
.hero__promise {
  font-family: var(--font-display);
  font-size: clamp(0.8125rem, 0.75rem + 0.35vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0;
}

.hero__split {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  min-height: 0;
}

/* Each panel is a real link. Crawlers follow it, keyboards reach it, and a
   click anywhere inside it navigates — no JavaScript involved. */
.panel {
  position: relative;
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 1.8vh, 1.5rem);
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2.5rem);
  overflow: hidden;
  text-decoration: none;
  isolation: isolate;
  transition: flex-grow var(--dur) var(--ease);
}

.panel__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  transition: transform 700ms var(--ease);
}
.panel--hydrodrive .panel__bg { object-position: center; }

.panel__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  transition: opacity var(--dur) var(--ease);
  opacity: 1;
}
.panel--visina .panel__scrim {
  background: linear-gradient(160deg, rgba(15,12,5,0.84) 0%, rgba(20,15,5,0.70) 50%, rgba(10,8,3,0.87) 100%);
}
.panel--hydrodrive .panel__scrim {
  background: linear-gradient(160deg, rgba(15,20,55,0.86) 0%, rgba(20,30,75,0.72) 50%, rgba(10,15,45,0.89) 100%);
}

.panel__accent {
  position: absolute;
  inset: auto 0 0 0;
  height: 38%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.9;
}
.panel--visina .panel__accent {
  background: linear-gradient(to top, rgba(245,100,0,0.18) 0%, transparent 100%);
}
.panel--hydrodrive .panel__accent {
  background: linear-gradient(to top, rgba(0,100,120,0.20) 0%, transparent 100%);
}

/* The seam: the brand's signature element, where orange meets teal. */
.hero__seam {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(245, 166, 35, 0.55) 25%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(79, 195, 200, 0.55) 75%,
    transparent 100%
  );
  box-shadow: 0 0 14px 2px rgba(255, 255, 255, 0.07);
}

/* <picture> is the flex item here, so the width lives on it and the <img>
   simply fills it. Without this the source-selection wrapper becomes the
   flex item and the logo loses its sizing. */
.panel__media {
  display: block;
  width: clamp(170px, 20vw, 290px);
  transition: transform 500ms var(--ease);
}
.panel--visina .panel__media { width: clamp(150px, 17vw, 250px); }
.panel--hydrodrive .panel__media { width: clamp(190px, 22vw, 310px); }
.panel__media img { width: 100%; height: auto; }

.panel__kicker {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
  margin: 0;
  max-width: 30ch;
}

.panel__services {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  align-items: center;
  list-style: none;
  margin: 0;
}
.panel__services li {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.panel--visina .panel__services li { color: var(--visina); }
.panel--hydrodrive .panel__services li { color: var(--hydro); }

.panel__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.75rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1.5px solid currentColor;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.panel--visina .panel__cta { color: var(--visina); background: var(--visina-glow); }
.panel--hydrodrive .panel__cta { color: var(--hydro); background: var(--hydro-glow); }
.panel--visina:hover .panel__cta { background: var(--visina); color: var(--visina-deep); }
.panel--hydrodrive:hover .panel__cta { background: var(--hydro); color: var(--hydro-deep); }

.panel__arrow { transition: transform var(--dur) var(--ease); }
.panel:hover .panel__arrow { transform: translateX(4px); }

/* The expansion is a pointer affordance. Touch devices and keyboard users get
   the full panel contents unconditionally, so nothing is hover-gated. */
@media (hover: hover) and (pointer: fine) {
  .hero:hover .panel { flex-grow: 0.78; }
  .hero .panel:hover { flex-grow: 1.44; }
  .panel:hover .panel__bg { transform: scale(1.05); }
  .panel:hover .panel__media { transform: scale(1.05) translateY(-5px); }
}

/* Touch/small screens: stack the two divisions instead of splitting. */
@media (max-width: 780px) {
  .hero { min-height: 0; }
  .hero__split { flex-direction: column; }
  .hero__seam { display: none; }
  .panel { min-height: 70svh; flex: none; }
  .panel__media { width: min(58vw, 260px) !important; }
  .hero__intro { text-align: left; }
}

/* --------------------------------------------------------------------------
   6. Sections
   -------------------------------------------------------------------------- */
.section__head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section__head--center { margin-inline: auto; text-align: center; }

/* A two-column editorial block: heading beside running copy. */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* Card grid */
.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  position: relative;
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--ink-raised);
  border: 1px solid var(--ink-line-soft);
  border-top: 3px solid var(--ink-line);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.card--visina { border-top-color: var(--visina); }
.card--hydro  { border-top-color: var(--hydro); }

.card h3 { margin-bottom: 0.35rem; }
.card p { color: var(--text-muted); font-size: 0.9688rem; }

/* Division blocks — the two full-width worlds on the home page. */
.division-block {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 5rem) 0;
  border-top: 1px solid var(--ink-line-soft);
}
.division-block--visina { background: linear-gradient(120deg, #14100a 0%, #0b0b0b 62%); }
.division-block--hydrodrive { background: linear-gradient(120deg, #0d1226 0%, #0b0b0b 62%); }

.division-block__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.75rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 860px) { .division-block__grid { grid-template-columns: 1fr; } }

.division-block__logo { width: min(320px, 62%); margin-bottom: 1.5rem; }

/* Checklist */
.checklist { list-style: none; display: grid; gap: 0.55rem; }
.checklist li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--text-muted);
}
.checklist li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.62em;
  width: 8px; height: 8px;
  background: currentColor;
  opacity: 0.55;
}
.checklist--visina li::before { background: var(--visina); opacity: 1; }
.checklist--hydro  li::before { background: var(--hydro);  opacity: 1; }

/* Stat / fact strip */
.facts { display: grid; gap: 1px; background: var(--ink-line-soft); border: 1px solid var(--ink-line-soft); }
.facts--3 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.facts__item { background: var(--ink); padding: clamp(1.25rem, 3vw, 2rem); }
.facts__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.facts__label { font-size: 0.9375rem; color: var(--text-muted); }

/* Brand logos strip */
.brands { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.brands__item {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  transition: color var(--dur) var(--ease);
}
.brands__item:hover { color: var(--text); }

/* Call to action band */
.cta-band {
  background: linear-gradient(100deg, var(--visina-deep) 0%, #0b0b0b 55%, var(--hydro-deep) 100%);
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}
.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.cta-band h2 { margin-bottom: 0.25rem; }
.cta-band p { color: var(--text-muted); margin: 0; max-width: 52ch; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.9rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1.5px solid currentColor;
  background: transparent;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn--primary { color: var(--ink); background: var(--visina); border-color: var(--visina); }
.btn--primary:hover { background: transparent; color: var(--visina); }
.btn--ghost { color: var(--text); border-color: var(--ink-line); }
.btn--ghost:hover { border-color: var(--text); }
.btn--visina { color: var(--visina); border-color: var(--visina); }
.btn--visina:hover { background: var(--visina); color: var(--visina-deep); }
.btn--hydro { color: var(--hydro); border-color: var(--hydro); }
.btn--hydro:hover { background: var(--hydro); color: var(--hydro-deep); }

/* Link with an arrow, used in card footers */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.875rem;
  text-decoration: none;
  margin-top: auto;
  padding-top: 0.75rem;
}
.arrow-link::after { content: '→'; transition: transform var(--dur) var(--ease); }
.arrow-link:hover::after { transform: translateX(4px); }

/* Prose (legal pages) */
.prose { max-width: var(--measure); }
.prose h2 { margin-top: 2.25em; }
.prose h3 { margin-top: 1.75em; }
.prose ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1.1em; display: grid; gap: 0.4rem; }
.prose li { color: var(--text-muted); }
.prose a { color: var(--visina); }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  font-size: 0.8125rem;
  color: var(--text-faint);
  margin-bottom: 1.5rem;
}
.breadcrumb li + li::before { content: '/'; margin-right: 0.5rem; opacity: 0.5; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--text); }

/* Page hero (interior pages) */
.page-hero {
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3rem);
  border-bottom: 1px solid var(--ink-line-soft);
}
.page-hero h1 { margin-bottom: 0.5em; }
.page-hero--visina { background: linear-gradient(180deg, rgba(245,166,35,0.07) 0%, transparent 100%); }
.page-hero--hydro  { background: linear-gradient(180deg, rgba(79,195,200,0.07) 0%, transparent 100%); }

/* --------------------------------------------------------------------------
   7. Contact
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
  background: var(--ink-raised);
  border: 1px solid var(--ink-line-soft);
  border-top: 3px solid var(--visina);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
}
.contact-card--hydro { border-top-color: var(--hydro); }
.contact-card h3 { margin-bottom: 0.5rem; }
.contact-card__kicker { font-size: 0.875rem; color: var(--text-faint); margin-bottom: 1rem; }
.contact-card dl { margin: 0; display: grid; gap: 0.75rem; }
.contact-card dt {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.contact-card dd { margin: 0.15rem 0 0; }
.contact-card a { color: var(--visina); text-decoration: none; }
.contact-card--hydro a { color: var(--hydro); }
.contact-card a:hover { text-decoration: underline; }

/* Form */
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }

.field { display: grid; gap: 0.4rem; }
.field label {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.field .req { color: var(--visina); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  background: #0d0d0d;
  border: 1px solid var(--ink-line);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  border-radius: var(--radius);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--visina);
  outline-offset: 1px;
  border-color: var(--visina);
}

.field--check { grid-template-columns: auto 1fr; align-items: start; gap: 0.7rem; }
.field--check input { width: 18px; height: 18px; margin-top: 0.28rem; accent-color: var(--visina); }
.field--check label {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Honeypot — hidden from people, visible to naive bots. */
.field--hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}

/* Form feedback */
.notice {
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--visina);
  background: rgba(245, 166, 35, 0.08);
  margin-bottom: 1.5rem;
}
.notice--error { border-left-color: #E5484D; background: rgba(229, 72, 77, 0.10); }
.notice--success { border-left-color: #46A758; background: rgba(70, 167, 88, 0.10); }
.notice p { margin: 0; }
.notice ul { list-style: disc; padding-left: 1.2rem; margin: 0.5rem 0 0; }

/* --------------------------------------------------------------------------
   8. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--ink-line);
  background: #060606;
  padding-top: clamp(2.5rem, 6vw, 4rem);
  font-size: 0.9375rem;
}
.site-footer__inner {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.8fr)) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3rem);
}
@media (max-width: 980px) { .site-footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__inner { grid-template-columns: 1fr; } }

.site-footer__wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.3em;
  color: #fff;
  margin-bottom: 0.35rem;
}
.site-footer__tagline { color: var(--visina); font-family: var(--font-display); letter-spacing: 0.06em; margin-bottom: 1rem; }
.site-footer__about { color: var(--text-faint); font-size: 0.875rem; max-width: 42ch; }

.site-footer__heading {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1rem;
}
.site-footer__list { list-style: none; display: grid; gap: 0.6rem; }
.site-footer__list a { text-decoration: none; color: var(--text-muted); }
.site-footer__list a:hover { color: #fff; }
.site-footer__hint { display: block; font-size: 0.8125rem; color: var(--text-faint); }

.site-footer__address { font-style: normal; color: var(--text-muted); line-height: 1.9; }
.site-footer__address a { color: var(--text-muted); text-decoration: none; }
.site-footer__address a:hover { color: var(--visina); }
.site-footer__hours { margin-top: 1rem; color: var(--text-faint); font-size: 0.875rem; }

.site-footer__legal {
  max-width: 1240px;
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  padding: 1.25rem var(--gutter);
  border-top: 1px solid var(--ink-line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-faint);
}
.site-footer__copy { margin: 0; }
.site-footer__legal-links { list-style: none; display: flex; gap: 1.25rem; }
.site-footer__legal-links a { text-decoration: none; }
.site-footer__legal-links a:hover { color: var(--text); }

/* --------------------------------------------------------------------------
   9. Motion preference
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  /* Keep the layout cue without the movement. */
  .panel:hover .panel__bg { transform: none; }
}

/* --------------------------------------------------------------------------
   10. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .hero, .cta-band, .site-footer__legal-links, .skip-link { display: none; }
  body { background: #fff; color: #000; }
  a::after { content: ' (' attr(href) ')'; font-size: 0.8em; }
}
