@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,700;1,9..40,300&family=DM+Serif+Display:ital@0;1&display=swap');

/* ═══════════════════════════════════════════════
   TOKENS
═══════════════════════════════════════════════ */
:root {
  --hdr-h: 76px;
  --hdr-h-sm: 64px;

  --white: #ffffff;
  --off: #f8f7f5;
  --off-2: #f2f0ec;
  --ink: #111110;
  --ink-2: #3a3834;
  --ink-3: #6b6761;
  --line: rgba(17,17,16,.09);
  --line-2: rgba(17,17,16,.16);

  --accent: #c96030;
  --accent-2: #e8884e;
  --accent-light: rgba(201,96,48,.08);
  --accent-line: rgba(201,96,48,.22);

  --steel: #2b3440;
  --steel-2: #3d4e62;
  --steel-light: rgba(43,52,64,.06);

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --shadow-sm: 0 2px 8px rgba(17,17,16,.06);
  --shadow: 0 8px 28px rgba(17,17,16,.1);
  --shadow-md: 0 16px 48px rgba(17,17,16,.12);
  --shadow-lg: 0 28px 72px rgba(17,17,16,.14);

  --ease: cubic-bezier(.4,0,.2,1);
  --ease-out: cubic-bezier(0,0,.2,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
}

/* ═══════════════════════════════════════════════
   RESET
═══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--white);
  padding-top: var(--hdr-h);
}

h1, h2, h3, h4, h5 {
  font-family: 'DM Serif Display', Georgia, serif;
  color: var(--ink);
  line-height: 1.18;
  font-weight: 400;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

/* ═══════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════ */
#site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--hdr-h);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: height .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
#site-header.compact {
  height: var(--hdr-h-sm);
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--line-2);
}

.header-inner {
  max-width: 1280px;
  margin: auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-mark {
  width: 38px;
  height: 38px;
  color: var(--accent);
  flex-shrink: 0;
}
#site-header.compact .logo-mark { width: 32px; height: 32px; }
.logo-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.32rem;
  color: var(--ink);
  letter-spacing: .02em;
}
.logo-name em { font-style: normal; color: var(--accent); }

#mainNav {
  display: flex;
  align-items: center;
  gap: 4px;
}
#mainNav > a, .nav-drop-toggle {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 8px 13px;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
#mainNav > a:hover, .nav-drop-toggle:hover,
#mainNav > a.active { color: var(--accent); background: var(--accent-light); }

.nav-drop { position: relative; }
.nav-drop-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
}
.chev { width: 10px; height: 6px; transition: transform .2s var(--ease); }
.nav-drop.open .chev { transform: rotate(180deg); }
.drop-menu {
  position: absolute;
  top: 100%;
  left: 50%;
    min-width: 240px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: var(--shadow-md);
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.nav-drop:hover .drop-menu,
.nav-drop.open .drop-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.drop-menu a {
  display: block;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: .83rem;
  color: var(--ink-2);
  transition: color .18s, background .18s;
}
.drop-menu a:hover { color: var(--accent); background: var(--accent-light); }

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: 16px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--ink-3);
}
.lang-btn { color: var(--ink-3); transition: color .18s; }
.lang-btn:hover, .lang-btn.active { color: var(--accent); }
.lang-btn.active { text-decoration: underline; text-underline-offset: 3px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 8px;
  color: var(--ink);
  border: 1px solid var(--line);
  transition: background .2s;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 10px;
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(201,96,48,.28);
  transition: background .25s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: 0 8px 26px rgba(201,96,48,.32); }
.btn:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 10px;
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1.5px solid var(--line-2);
  background: transparent;
  transition: color .25s, border-color .25s, background .25s, transform .2s;
}
.btn-ghost:hover { color: var(--accent); border-color: var(--accent-line); background: var(--accent-light); transform: translateY(-2px); }

.btn-steel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 10px;
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--steel);
  color: var(--white);
  transition: background .25s, transform .2s;
}
.btn-steel:hover { background: var(--steel-2); transform: translateY(-2px); }

/* ═══════════════════════════════════════════════
   LAYOUT HELPERS
═══════════════════════════════════════════════ */
.container { max-width: 1280px; margin: auto; padding: 0 28px; }
.section { padding: 100px 28px; }
.section-sm { padding: 68px 28px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: '';
  display: block;
  width: 18px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--hdr-h));
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  overflow: hidden;
  background: var(--white);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 56px 28px 40px calc((100vw - 1280px) / 2 + 28px);
  padding-left: max(28px, calc((100vw - 1280px) / 2 + 28px));
}

.hero-eyebrow { margin-bottom: 22px; }

.hero-title {
  font-size: clamp(2.3rem, 4.8vw, 4.5rem);
  line-height: 1.08;
  padding-bottom: .12em;
  max-width: 640px;
  color: var(--ink);
}

.hero-lead {
  margin-top: 14px;
  font-size: 1.06rem;
  color: var(--ink-3);
  max-width: 480px;
  line-height: 1.72;
}

.hero-cta-group {
  margin-top: 24px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-badge {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 50px;
  border: 1px solid var(--line-2);
  font-size: .78rem;
  font-weight: 600;
  color: var(--ink-3);
  background: var(--off);
}
.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
  height: 100%;
  min-height: 540px;
  overflow: hidden;
}

.hero-visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shape-1 {
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,96,48,.14), transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.hero-shape-2 {
  position: absolute;
  top: 40px;
  right: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43,52,64,.1), transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.hero-shape-3 {
  position: absolute;
  top: -40px;
  left: 30%;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,96,48,.07), transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.hero-diagonal {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 55%;
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
  overflow: hidden;
  z-index: 1;
}

.hero-diagonal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-diagonal-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(255,255,255,.3), transparent 60%);
}

@media (min-width: 1121px) {
  .hero-copy {
    padding-right: clamp(56px, 5vw, 96px);
  }
}

@media (min-width: 1121px) and (max-height: 860px) {
  .hero-copy {
    padding-top: 40px;
    padding-bottom: 24px;
  }
  .hero-title { font-size: clamp(2.1rem, 4.1vw, 3.9rem); }
  .hero-lead { margin-top: 12px; }
  .hero-cta-group { margin-top: 18px; }
  .hero-badge { margin-top: 16px; }
}

/* ═══════════════════════════════════════════════
   ABOUT SECTION
═══════════════════════════════════════════════ */
.about-section {
  background: var(--off);
  padding: 100px 28px;
  position: relative;
  overflow: hidden;
}
.about-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23111110' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 1;
}

.about-inner {
  max-width: 1280px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-copy h2 {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  margin-top: 16px;
  line-height: 1.16;
  padding-bottom: .1em;
}
.about-copy .lead {
  margin-top: 18px;
  font-size: 1.05rem;
  color: var(--ink-3);
  font-style: italic;
  line-height: 1.72;
}
.about-copy p { margin-top: 16px; color: var(--ink-3); line-height: 1.78; }
.about-copy .btn-ghost { margin-top: 28px; }

.about-visual {
  position: relative;
}
.about-img-main {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-xl);
}
.about-img-accent {
  position: absolute;
  bottom: -28px;
  left: -28px;
  width: 52%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 6px solid var(--white);
  box-shadow: var(--shadow-md);
}

/* ═══════════════════════════════════════════════
   PRODUCTS SECTION
═══════════════════════════════════════════════ */
.products-section {
  padding: 100px 28px;
  background: var(--white);
}
.products-head {
  max-width: 1280px;
  margin: auto;
  margin-bottom: 52px;
}
.products-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  margin-top: 12px;
  padding-bottom: .1em;
  max-width: 640px;
}
.products-head .lead {
  margin-top: 14px;
  color: var(--ink-3);
  max-width: 520px;
  line-height: 1.72;
}

.products-grid {
  max-width: 1280px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.prod-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--off);
  border: 1px solid var(--line);
  transition: transform .3s var(--ease-spring), box-shadow .3s var(--ease);
  text-decoration: none;
}
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.prod-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.prod-card-body {
  padding: 18px 16px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.prod-card-body h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: .92rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.32;
}
.prod-card-body p {
  margin-top: 8px;
  font-size: .8rem;
  color: var(--ink-3);
  line-height: 1.56;
  flex: 1;
}
.prod-card-arrow {
  margin-top: 12px;
  font-size: .76rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .04em;
  transition: gap .2s;
}

/* ═══════════════════════════════════════════════
   WHY SECTION (diagonal bg)
═══════════════════════════════════════════════ */
.why-section {
  position: relative;
  padding: 110px 28px;
  background: var(--steel);
  overflow: hidden;
  clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
  margin: 40px 0;
}
.why-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(201,96,48,.18), transparent 60%);
  pointer-events: none;
}

.why-inner {
  max-width: 1280px;
  margin: auto;
  position: relative;
  z-index: 1;
}
.why-inner .eyebrow { color: var(--accent-2); }
.why-inner .eyebrow::before { background: var(--accent-2); }
.why-inner h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  color: var(--white);
  margin-top: 14px;
  padding-bottom: .1em;
}

.why-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
}
.why-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  transition: background .3s;
}
.why-card:hover { background: rgba(255,255,255,.1); }
.why-card-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2.4rem;
  color: var(--accent-2);
  line-height: 1;
  margin-bottom: 16px;
}
.why-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
.why-card p { margin-top: 10px; font-size: .88rem; color: rgba(255,255,255,.65); line-height: 1.68; }

/* ═══════════════════════════════════════════════
   REFERENCES SECTION
═══════════════════════════════════════════════ */
.references-section {
  padding: 100px 28px;
  background: var(--off);
}
.references-head {
  max-width: 1280px;
  margin: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 52px;
  gap: 24px;
}
.references-head-copy h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  margin-top: 12px;
  padding-bottom: .1em;
}
.references-head-copy .lead {
  margin-top: 12px;
  color: var(--ink-3);
  max-width: 480px;
  line-height: 1.68;
}

.references-bento {
  max-width: 1280px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 16px;
}
.ref-card { border-radius: var(--radius-lg); overflow: hidden; position: relative; display: flex; flex-direction: column; }
.ref-card:nth-child(1) { grid-column: span 7; }
.ref-card:nth-child(2) { grid-column: span 5; }
.ref-card:nth-child(3) { grid-column: span 4; }
.ref-card:nth-child(4) { grid-column: span 4; }
.ref-card:nth-child(5) { grid-column: span 4; }
.ref-card:nth-child(6) { grid-column: span 6; }
.ref-card:nth-child(7) { grid-column: span 6; }
.ref-card:nth-child(8) { grid-column: span 12; }

.ref-card-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.ref-card:nth-child(1) .ref-card-img, .ref-card:nth-child(8) .ref-card-img { height: 380px; }
.ref-card:hover .ref-card-img { transform: scale(1.04); }

.ref-card-body {
  padding: 18px 20px 22px;
  background: var(--white);
}
.ref-card-type {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
}
.ref-card-body h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 5px;
  line-height: 1.32;
}
.ref-card-body p {
  margin-top: 6px;
  font-size: .8rem;
  color: var(--ink-3);
  line-height: 1.52;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ═══════════════════════════════════════════════
   REFERENCES CATALOG PAGE
═══════════════════════════════════════════════ */
.references-catalog-section {
  padding: 100px 28px;
  background: var(--off);
}
.references-catalog-inner {
  max-width: 1280px;
  margin: auto;
}
.references-catalog-head {
  margin-bottom: 40px;
}
.references-catalog-head h1 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  margin-top: 12px;
  padding-bottom: .1em;
}
.references-catalog-head p {
  margin-top: 12px;
  max-width: 640px;
  color: var(--ink-3);
}

.references-uniform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.reference-uniform-card {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  text-decoration: none;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.reference-uniform-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.reference-uniform-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.reference-uniform-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}
.reference-uniform-type {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
}
.reference-uniform-body h3 {
  margin-top: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.32;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.32em * 2);
}
.reference-uniform-body p {
  margin-top: 6px;
  font-size: .82rem;
  color: var(--ink-3);
  line-height: 1.58;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.58em * 3);
  flex: 1;
}

/* ═══════════════════════════════════════════════
   CONTACT SECTION
═══════════════════════════════════════════════ */
.contact-section {
  padding: 100px 28px;
  background: var(--white);
}
.contact-inner {
  max-width: 1280px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.contact-copy h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.9rem);
  margin-top: 14px;
  padding-bottom: .1em;
  max-width: 480px;
}
.contact-copy .lead {
  margin-top: 16px;
  color: var(--ink-3);
  line-height: 1.72;
  max-width: 400px;
}
.contact-meta {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  color: var(--ink-2);
}
.contact-meta-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--accent-light);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-meta-icon svg { width: 16px; height: 16px; fill: var(--accent); }
.contact-map {
  margin-top: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.contact-map iframe { display: block; width: 100%; height: 240px; border: 0; }

.contact-form-wrap {
  background: var(--off);
  border-radius: var(--radius-xl);
  padding: 36px;
  border: 1px solid var(--line);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1.5px solid var(--line-2);
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  font: inherit;
  font-size: .9rem;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201,96,48,.12);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-actions { margin-top: 18px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-note { font-size: .8rem; color: var(--ink-3); }
.form-status { font-size: .84rem; color: var(--accent); margin-top: 8px; min-height: 1.2em; }

/* ═══════════════════════════════════════════════
   QUOTE POPUP
═══════════════════════════════════════════════ */
body.modal-open { overflow: hidden; }

.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
}
.quote-modal.open { display: block; }

.quote-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17,17,16,.48);
  backdrop-filter: blur(3px);
}

.quote-modal-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(640px, calc(100% - 28px));
  max-height: calc(100vh - 36px);
  overflow: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 28px;
}

.quote-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink-3);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  line-height: 1;
}
.quote-modal-title {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  margin-top: 8px;
  margin-bottom: 18px;
}

.quote-modal-form .form-grid { grid-template-columns: 1fr 1fr; }

@media (max-width: 700px) {
  .quote-modal-card { padding: 20px; }
  .quote-modal-form .form-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
#site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.72);
  padding: 70px 28px 0;
}
.footer-inner {
  max-width: 1280px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .logo-name { color: var(--white); }
.footer-brand p { margin-top: 14px; font-size: .86rem; line-height: 1.7; color: rgba(255,255,255,.5); max-width: 280px; }
.footer-col h5 {
  font-family: 'DM Sans', sans-serif;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: .86rem; color: rgba(255,255,255,.6); transition: color .2s; }
.footer-col a:hover { color: var(--white); }
.footer-col address { margin-top: 10px; display: block; font-style: normal; font-size: .86rem; line-height: 1.8; }
.footer-col address a { display: block; color: rgba(255,255,255,.6); }
.footer-col address a:hover { color: var(--white); }

.footer-bottom {
  max-width: 1280px;
  margin: auto;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .78rem;
  color: rgba(255,255,255,.3);
  gap: 16px;
}

/* ═══════════════════════════════════════════════
   CALL FAB
═══════════════════════════════════════════════ */
.call-fab {
  display: none;
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 8px 28px rgba(201,96,48,.4);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  transition: transform .2s var(--ease-spring), box-shadow .2s;
}
.call-fab svg { width: 22px; height: 22px; fill: currentColor; }
.call-fab:active { transform: scale(.95); }

/* ═══════════════════════════════════════════════
   REVEAL ANIMATIONS
═══════════════════════════════════════════════ */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .call-fab { transition: none; }
  .btn, .btn-ghost, .prod-card, .ref-card-img { transition: none; }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE ≤ 1120px
═══════════════════════════════════════════════ */
@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    background:
      linear-gradient(rgba(255,255,255,.9), rgba(255,255,255,.94)),
      url('../images/products/fas/Staklene-fasade4.jpg') center/cover no-repeat;
  }
  .hero-copy { padding: 60px 28px 40px; max-width: 100%; }
  .hero-diagonal { display: none; }
  .hero-visual { min-height: 360px; }
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { max-width: 480px; margin: auto; }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .why-cards { grid-template-columns: 1fr 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .ref-card:nth-child(1) { grid-column: span 12; }
  .ref-card:nth-child(2) { grid-column: span 12; }
  .ref-card:nth-child(3),
  .ref-card:nth-child(4),
  .ref-card:nth-child(5) { grid-column: span 4; }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE ≤ 900px (mobile nav breakpoint)
═══════════════════════════════════════════════ */
@media (max-width: 900px) {
  body {
    padding-top: var(--hdr-h-sm);
    padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  }
  #site-header { height: var(--hdr-h-sm); }

  .nav-toggle { display: flex; }
  #mainNav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: var(--hdr-h-sm);
    left: 0;
    right: 0;
    bottom: auto;
    width: 100%;
    height: auto;
    max-height: calc(100vh - var(--hdr-h-sm));
    background: var(--white);
    padding: 20px;
    gap: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: var(--shadow);
    z-index: 900;
  }
  #mainNav.open { display: flex; }
  #mainNav > a, .nav-drop-toggle {
    width: 100%;
    padding: 14px 14px;
    font-size: .86rem;
    border-radius: var(--radius-sm);
  }
  .drop-menu { position: static; transform: none; opacity: 1; pointer-events: all; box-shadow: none; border: 0; background: var(--off); margin-top: 6px; margin-bottom: 10px; padding: 12px 8px; display: none; border-radius: var(--radius-sm); }
  .nav-drop.open .drop-menu { display: block; }
  .lang-switcher { margin-left: 0; padding: 12px 14px; }

  .call-fab { display: inline-flex; }

  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .why-cards { grid-template-columns: 1fr; }
  .references-head { flex-direction: column; align-items: flex-start; }
  .references-bento { grid-template-columns: 1fr 1fr; }
  .ref-card { grid-column: span 2 !important; }
  .references-uniform-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-col:nth-child(3) h5 { display: none; }
  .footer-col:nth-child(3) ul { margin-top: 0; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE ≤ 560px
═══════════════════════════════════════════════ */
@media (max-width: 560px) {
  .section, .about-section, .products-section, .references-section, .contact-section { padding-inline: 16px; }
  .container { padding-inline: 16px; }
  .hero-copy { padding: 40px 16px 32px; }
  .hero-title { font-size: 2.2rem; }
  .hero-cta-group { flex-direction: column; align-items: flex-start; }
  .hero-cta-group .btn, .hero-cta-group .btn-ghost { width: 100%; justify-content: center; }
  .products-grid { grid-template-columns: 1fr; }
  .references-bento { display: flex; flex-direction: column; }
  .references-uniform-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 22px; }
}
