/* ===================================================================
   Spectrum Elektro — glavni stylesheet
   Moderan CSS: custom properties, grid/flex, clamp(), color-mix(),
   backdrop-filter, :focus-visible, prefers-reduced-motion.
=================================================================== */

:root {
  /* boje iz loga */
  --blue: #3b6bff;
  --purple: #b13bff;
  --pink: #ff3b8e;
  --orange: #ff8a3b;
  --gradient-brand: linear-gradient(92deg, var(--blue) 0%, var(--purple) 45%, var(--pink) 75%, var(--orange) 100%);

  --bg: #06070b;
  --bg-alt: #0a0c13;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --surface-solid: #12131c;
  --border: rgba(255, 255, 255, 0.1);
  --border-soft: rgba(255, 255, 255, 0.06);

  --text: #f4f5f9;
  --text-dim: #aaadba;
  --text-faint: #6c7180;

  --success: #35d68a;
  --danger: #ff5470;
  --warning: #ffb84d;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-md: 0 16px 40px -16px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 28px 70px -24px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 20px 60px -20px rgba(120, 60, 255, 0.35);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.35s;

  --container: 1180px;
  --header-h: 84px;

  color-scheme: dark;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
html, body { height: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; padding: 0; }

button, input, textarea, select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}

select { color-scheme: dark; }
select option { background-color: var(--surface-solid); color: var(--text); }

h1, h2, h3, h4 {
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 4.4vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); }

p { color: var(--text-dim); }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- layout helpers ---------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2.2rem, 4vw, 3.2rem);
}

.section-head.center { max-width: 620px; margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Poppins", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: transparent;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 0.9rem;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gradient-brand);
  display: inline-block;
}

.section-head p { margin-top: 0.9rem; font-size: 1.05rem; }

.grad-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.skip-link {
  position: fixed;
  top: -60px;
  left: 1rem;
  background: var(--surface-solid);
  color: var(--text);
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top var(--dur) var(--ease);
  border: 1px solid var(--border);
}
.skip-link:focus { top: 1rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--gradient-brand);
  background-size: 160% 100%;
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { background-position: 100% 0; box-shadow: 0 24px 60px -18px rgba(177, 59, 255, 0.55); transform: translateY(-2px); }

.btn-outline {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
  backdrop-filter: blur(10px);
}
.btn-outline:hover { background: var(--surface-strong); border-color: rgba(255,255,255,0.24); transform: translateY(-2px); }

.btn-ghost { color: var(--text-dim); padding: 0.6rem 0.9rem; }
.btn-ghost:hover { color: var(--text); }

.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.85rem; }
.btn-danger { background: rgba(255, 84, 112, 0.12); color: var(--danger); border-color: rgba(255, 84, 112, 0.3); }
.btn-danger:hover { background: rgba(255, 84, 112, 0.2); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; pointer-events: none; }

.icon { flex-shrink: 0; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(6, 7, 11, 0.6);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border-soft);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: flex; align-items: center; gap: 0.65rem; font-family: "Poppins", sans-serif; }
.brand img { height: 34px; width: auto; }
.brand-name { font-weight: 700; font-size: 1.05rem; letter-spacing: 0.01em; }
.brand-name small { display: block; font-family: "Inter", sans-serif; font-weight: 400; font-size: 0.68rem; color: var(--text-faint); letter-spacing: 0.08em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 2.1rem; }
.nav-links a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-dim);
  position: relative;
  padding-block: 0.4rem;
  transition: color var(--dur) var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--gradient-brand);
  transition: right var(--dur) var(--ease);
  border-radius: 2px;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 0.9rem; }
.phone-cta { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 0.92rem; color: var(--text); }
.phone-cta .icon { color: var(--orange); }

.nav-toggle {
  display: none;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--text);
}

@media (max-width: 900px) {
  .nav-links { position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 0; background: rgba(6,7,11,0.98); backdrop-filter: blur(20px); padding: 1.5rem 1.75rem 2rem; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
  .nav-links a { padding: 0.95rem 0; border-bottom: 1px solid var(--border-soft); font-size: 1.05rem; }
  .nav-links a::after { display: none; }
  .site-header.nav-open .nav-links { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-toggle { display: inline-flex; }
  .phone-cta span { display: none; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 6rem));
  padding-bottom: clamp(4rem, 9vw, 7rem);
  overflow: clip;
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 900px;
  background:
    radial-gradient(38% 55% at 18% 25%, rgba(59, 107, 255, 0.35), transparent 70%),
    radial-gradient(32% 45% at 55% 10%, rgba(177, 59, 255, 0.28), transparent 70%),
    radial-gradient(30% 45% at 85% 30%, rgba(255, 59, 142, 0.22), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}

.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }

.hero-copy h1 { margin-bottom: 1.3rem; }
.hero-copy > p { font-size: 1.12rem; max-width: 46ch; margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 3rem; }

.hero-stats { display: grid; grid-template-columns: repeat(4, auto); gap: 1.8rem; }
.hero-stats div strong { display: block; font-family: "Poppins", sans-serif; font-size: 1.6rem; font-weight: 700; }
.hero-stats div span { font-size: 0.82rem; color: var(--text-faint); }

.hero-panel {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--surface-strong), var(--surface));
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  overflow: hidden;
}
.hero-panel::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--gradient-brand);
  opacity: 0.12;
  mask: radial-gradient(circle at 30% 20%, black, transparent 70%);
}
.hero-panel > * { position: relative; z-index: 1; }
.hero-panel-icon {
  width: 54px; height: 54px;
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  background: var(--gradient-brand);
  color: #fff;
  margin-bottom: 1.3rem;
}
.hero-panel h3 { font-size: 1.35rem; margin-bottom: 0.7rem; }
.hero-panel > p { font-size: 0.95rem; margin-bottom: 1.7rem; }
.hero-panel-features { display: flex; flex-direction: column; gap: 0.9rem; margin-bottom: 1.9rem; padding-bottom: 1.9rem; border-bottom: 1px dashed var(--border); }
.hero-panel-features div { display: flex; align-items: center; gap: 0.7rem; font-size: 0.92rem; }
.hero-panel-features .icon { color: var(--success); flex-shrink: 0; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { max-width: 460px; margin-inline: auto; }
  .hero-stats { grid-template-columns: repeat(2, auto); row-gap: 1.4rem; }
}

/* ---------- generic cards / glass panels ---------- */
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
}

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.feature-card {
  padding: 1.8rem 1.6rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.2); background: var(--surface-strong); }
.feature-card .icon-wrap {
  width: 46px; height: 46px; border-radius: var(--radius-sm);
  display: grid; place-items: center;
  background: var(--gradient-brand);
  color: #fff;
  margin-bottom: 1.1rem;
}
.feature-card h3 { margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.92rem; }

@media (max-width: 980px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- product / service cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.4rem; }

.product-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  background: var(--surface);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.product-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.18); box-shadow: var(--shadow-md); }

.product-media {
  position: relative;
  aspect-ratio: 16 / 11;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(90% 120% at 20% 0%, rgba(59,107,255,0.22), transparent 60%),
    radial-gradient(90% 120% at 100% 100%, rgba(255,59,142,0.18), transparent 60%),
    var(--bg-alt);
}
.product-media .icon { width: 30%; height: 30%; color: var(--text); opacity: 0.92; }
.product-media .icon svg { width: 100%; height: 100%; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }

.badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.03em;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--surface-strong);
  border: 1px solid var(--border);
  color: var(--text-dim);
}
.badge-brand { position: absolute; top: 0.9rem; left: 0.9rem; }
.badge-condition { position: absolute; top: 0.9rem; right: 0.9rem; }
.badge-condition.new { color: var(--success); border-color: rgba(53,214,138,0.35); background: rgba(53,214,138,0.1); }
.badge-condition.used { color: var(--warning); border-color: rgba(255,184,77,0.35); background: rgba(255,184,77,0.1); }
.badge-out { position: absolute; inset: 0; background: rgba(6,7,11,0.72); display: flex; align-items: center; justify-content: center; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; font-size: 0.85rem; color: var(--text-dim); backdrop-filter: blur(2px); }

.product-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.product-body .cat { font-size: 0.76rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.08em; }
.product-body h3 { font-size: 1.08rem; }
.product-body p.desc { font-size: 0.88rem; margin-top: 0.1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.price-row { margin-top: auto; padding-top: 0.9rem; display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
.price-wrap { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.price { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 1.12rem; white-space: nowrap; }
.price-old { display: block; font-size: 0.78rem; color: var(--text-faint); text-decoration: line-through; font-weight: 400; }

.service-card { padding: 1.6rem 1.5rem; }
.service-card .icon-wrap { width: 50px; height: 50px; border-radius: var(--radius-sm); display: grid; place-items: center; background: var(--surface-strong); border: 1px solid var(--border); color: var(--blue); margin-bottom: 1rem; overflow: hidden; }
.service-card .icon-wrap img { width: 100%; height: 100%; object-fit: cover; }
.service-card .cat { font-size: 0.74rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.3rem; }
.service-card h3 { margin-bottom: 0.5rem; }
.service-card p.desc { font-size: 0.9rem; margin-bottom: 1.1rem; }
.service-card .price-row { padding-top: 1rem; border-top: 1px dashed var(--border); }

.empty-state { grid-column: 1 / -1; text-align: center; padding: 3.5rem 1rem; color: var(--text-faint); }
.empty-state .icon { margin: 0 auto 1rem; color: var(--text-faint); }

/* ---------- filters ---------- */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center;
  padding: 1.1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
}
.filter-bar .field { display: flex; flex-direction: column; gap: 0.3rem; }
.filter-bar label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); }
.filter-bar select, .filter-bar input {
  padding: 0.6rem 0.85rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  min-width: 150px;
}
.filter-bar .search-field { flex: 1; min-width: 200px; position: relative; }
.filter-bar .search-field input { width: 100%; padding-left: 2.4rem; }
.filter-bar .search-field .icon { position: absolute; left: 0.75rem; top: 2.15rem; color: var(--text-faint); }
.filter-bar .results-count { margin-left: auto; font-size: 0.85rem; color: var(--text-faint); }

/* ---------- page banner ---------- */
.page-banner {
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 2.5rem;
  position: relative;
}
.page-banner::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 420px;
  background: radial-gradient(60% 100% at 15% 0%, rgba(59,107,255,0.18), transparent 70%),
              radial-gradient(50% 100% at 85% 0%, rgba(255,59,142,0.14), transparent 70%);
  z-index: -1;
}
.breadcrumb { display: flex; gap: 0.5rem; font-size: 0.85rem; color: var(--text-faint); margin-bottom: 0.9rem; }
.breadcrumb a:hover { color: var(--text); }

/* ---------- process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.step { position: relative; padding: 1.8rem 1.5rem; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border-soft); }
.step .num {
  font-family: "Poppins", sans-serif; font-weight: 700; font-size: 1.6rem;
  background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 0.8rem; display: block;
}
.step h3 { margin-bottom: 0.5rem; font-size: 1rem; }
.step p { font-size: 0.88rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- brand chips ---------- */
.chip-cloud { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.chip { padding: 0.55rem 1.1rem; border-radius: var(--radius-pill); background: var(--surface); border: 1px solid var(--border); font-size: 0.88rem; color: var(--text-dim); }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  overflow: hidden;
  border: 1px solid var(--border);
}
.cta-banner::before { content: ""; position: absolute; inset: 0; background: var(--gradient-brand); opacity: 0.16; }
.cta-banner::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 140% at 50% 0%, rgba(255,255,255,0.08), transparent 70%); }
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { margin-bottom: 0.8rem; }
.cta-banner p { max-width: 46ch; margin-inline: auto; margin-bottom: 1.8rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- story / about ---------- */
.story-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: center; }
.story-visual { aspect-ratio: 4/3.2; border-radius: var(--radius-lg); border: 1px solid var(--border); background: linear-gradient(160deg, var(--surface-strong), var(--surface)); display: grid; place-items: center; position: relative; overflow: hidden; }
.story-visual::before { content: ""; position: absolute; inset: 0; background: var(--gradient-brand); opacity: 0.12; }
.story-visual .icon { width: 34%; height: 34%; color: var(--text); position: relative; z-index: 1; }
.story-copy p { margin-bottom: 1.1rem; }
.story-copy p:last-of-type { margin-bottom: 0; }
@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr; } }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 3rem; }
@media (max-width: 900px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .values-grid { grid-template-columns: 1fr; } }

.timeline { display: flex; flex-direction: column; gap: 0; margin-top: 3rem; border-left: 1px solid var(--border); padding-left: 2rem; }
.timeline-item { position: relative; padding-bottom: 2.5rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ""; position: absolute; left: -2.4rem; top: 0.2rem; width: 12px; height: 12px; border-radius: 50%; background: var(--gradient-brand); box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--border); }
.timeline-item .year { font-family: "Poppins", sans-serif; font-weight: 700; color: var(--text); display: block; margin-bottom: 0.35rem; }
.timeline-item p { font-size: 0.94rem; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 2.5rem; align-items: start; }
.contact-grid > * { min-width: 0; }
.contact-info-list { display: flex; flex-direction: column; gap: 1.1rem; margin-bottom: 2rem; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info-item .icon-wrap { width: 42px; height: 42px; flex-shrink: 0; border-radius: var(--radius-sm); display: grid; place-items: center; background: var(--surface-strong); border: 1px solid var(--border); color: var(--blue); }
.contact-info-item strong { display: block; font-size: 0.95rem; }
.contact-info-item span, .contact-info-item a { font-size: 0.9rem; color: var(--text-dim); }
.contact-info-item a:hover { color: var(--text); }

.hours-table { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
.hours-table td { padding: 0.5rem 0; font-size: 0.9rem; border-bottom: 1px solid var(--border-soft); }
.hours-table td:last-child { text-align: right; color: var(--text); font-weight: 500; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); margin-top: 1.5rem; filter: grayscale(0.4) invert(0.92) contrast(0.9); }
.map-embed iframe { width: 100%; height: 260px; border: 0; display: block; }

.social-row { display: flex; gap: 0.7rem; margin-top: 1.5rem; }
.social-row a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); transition: all var(--dur) var(--ease); }
.social-row a:hover { background: var(--gradient-brand); border-color: transparent; }

.form-card { padding: clamp(1.6rem, 3vw, 2.4rem); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row > * { min-width: 0; }
.field-group { margin-bottom: 1.1rem; display: flex; flex-direction: column; gap: 0.4rem; }
.field-group label { font-size: 0.83rem; font-weight: 500; color: var(--text-dim); }
.field-group input, .field-group textarea, .field-group select {
  width: 100%;
  min-width: 0;
  padding: 0.8rem 1rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--dur) var(--ease);
}
.field-group input:focus, .field-group textarea:focus, .field-group select:focus { border-color: var(--purple); }
.field-group textarea { resize: vertical; min-height: 120px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } .contact-grid { grid-template-columns: 1fr; } }

.form-success { display: none; align-items: center; gap: 0.8rem; padding: 1rem 1.2rem; border-radius: var(--radius-md); background: rgba(53,214,138,0.1); border: 1px solid rgba(53,214,138,0.3); color: var(--success); margin-top: 1rem; }
.form-success.show { display: flex; }
.form-success .icon { flex-shrink: 0; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border-soft); background: var(--bg-alt); padding-block: 3.5rem 1.8rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr; gap: 2.5rem; }
.footer-brand p { font-size: 0.9rem; margin-top: 0.9rem; max-width: 30ch; }
.footer-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); margin-bottom: 1.1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a { font-size: 0.9rem; color: var(--text-dim); }
.footer-col a:hover { color: var(--text); }
.footer-bottom { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--border-soft); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.82rem; color: var(--text-faint); }
.footer-bottom a { color: var(--text-faint); }
.footer-bottom a:hover { color: var(--text-dim); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- dialog / modal ---------- */
dialog.modal {
  position: fixed;
  inset: 0;
  margin: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0;
  background: var(--surface-solid);
  color: var(--text);
  width: min(560px, 92vw);
  max-height: min(640px, 86vh);
  overflow: auto;
  box-shadow: var(--shadow-lg);
}
dialog.modal::backdrop { background: rgba(4, 5, 8, 0.75); backdrop-filter: blur(4px); }
.modal-inner { padding: 2rem; position: relative; }
.modal-close { position: absolute; top: 1.1rem; right: 1.1rem; }

.product-detail-media { aspect-ratio: 16/8; border-radius: var(--radius-md); margin-bottom: 1.3rem; display: grid; place-items: center; background: var(--bg-alt); overflow: hidden; }
.product-detail-media .icon { color: var(--text); }
.product-detail-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- utility ---------- */
.mt-0 { margin-top: 0 !important; }
.text-center { text-align: center; }
