@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700&family=Syne:wght@500;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --header-h: 78px;
  --bg: #f6f4ef;
  --surface: #fffcf7;
  --surface-2: #f1ece1;
  --ink: #23211d;
  --ink-soft: #5c564a;
  --brand: #c96f34;
  --brand-2: #8c9a6c;
  --line: rgba(35, 33, 29, .12);
  --radius: 18px;
  --shadow: 0 14px 44px rgba(25, 22, 16, .14);
}

html, body { overflow-x: hidden; }

body {
  font-family: 'Manrope', sans-serif;
  color: var(--ink-soft);
  padding-top: var(--header-h);
  background:
    radial-gradient(circle at 10% 10%, rgba(201, 111, 52, .08), transparent 35%),
    radial-gradient(circle at 85% 20%, rgba(140, 154, 108, .08), transparent 35%),
    var(--bg);
}

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

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(247, 238, 226, .86);
  border-bottom: 1px solid rgba(112, 81, 52, .16);
  box-shadow: 0 10px 24px rgba(92, 67, 44, .1);
  transition: background .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.header-inner {
  max-width: 1240px;
  margin: auto;
  height: 78px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: height .24s ease, padding .24s ease;
}

.logo { display: flex; align-items: center; gap: 12px; }

.logo-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--brand), #efb261);
  color: #2b1a0f;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(201, 111, 52, .45);
  border: 1px solid rgba(115, 70, 40, .22);
  overflow: hidden;
  position: relative;
  transition: width .24s ease, height .24s ease, border-radius .24s ease, box-shadow .24s ease;
}

.logo-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(255, 255, 255, .4), rgba(255, 255, 255, 0) 45%);
  pointer-events: none;
}

.logo-icon-svg {
  width: 76%;
  height: 76%;
  filter: drop-shadow(0 2px 1px rgba(255, 255, 255, .22));
}

.logo-text {
  font-family: 'Syne', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #2e2015;
  letter-spacing: .03em;
  transition: font-size .24s ease;
}

.logo-text span { color: #ad7041; }

nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

nav a {
  color: rgba(53, 36, 24, .8);
  padding: 9px 14px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: background .25s, color .25s, transform .25s;
}

header.compact {
  background: rgba(247, 238, 226, .95);
  border-bottom-color: rgba(112, 81, 52, .24);
  box-shadow: 0 14px 28px rgba(92, 67, 44, .14);
}

header.compact .header-inner {
  height: 66px;
  padding: 0 20px;
}

header.compact .logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

header.compact .logo-icon-svg {
  width: 74%;
  height: 74%;
}

header.compact .logo-text {
  font-size: 1.28rem;
}

header.compact nav a {
  padding: 7px 12px;
}

nav a:hover,
nav a.active {
  color: #fff9f1;
  background: #7d5232;
  transform: translateY(-1px);
}

.nav-dropdown { position: relative; }

.nav-dropdown::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.dropdown-arrow {
  width: 10px;
  height: 6px;
  transition: transform .25s;
}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown.open .dropdown-arrow { transform: rotate(180deg); }

.dropdown-menu {
  list-style: none;
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 256px;
  padding: 8px;
  border-radius: 16px;
  background: rgba(250, 243, 234, .98);
  border: 1px solid rgba(124, 92, 61, .16);
  box-shadow: 0 18px 34px rgba(84, 62, 42, .14);
  z-index: 1002;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu { display: block; }

.dropdown-menu li a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: .72rem;
  letter-spacing: .07em;
}

.dropdown-menu li a:hover {
  background: #7d5232;
  color: #fff9f1;
}

.lang-switcher {
  margin-left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(255, 255, 255, .56);
  border: 1px solid rgba(128, 95, 63, .2);
}

.lang-sep { color: rgba(91, 64, 41, .32); font-size: .72rem; }

.lang-btn {
  color: rgba(76, 53, 35, .78);
  font-size: .7rem;
  letter-spacing: .08em;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 999px;
}

.lang-btn.active {
  color: #fff6eb;
  background: #6f4528;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  border: 0;
  background: transparent;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #3a281b;
  border-radius: 2px;
}

/* Hero */
.hero {
  min-height: 86vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(130deg, rgba(26, 22, 18, .9), rgba(44, 33, 25, .78)),
    url('../images/products/fas/Staklene-fasade14.webp') center/cover no-repeat;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: .7;
  animation: floatOrb 10s ease-in-out infinite;
}

.hero::before {
  width: 380px;
  height: 380px;
  right: -120px;
  top: -60px;
  background: radial-gradient(circle, rgba(201, 111, 52, .45), transparent 65%);
}

.hero::after {
  width: 330px;
  height: 330px;
  left: -120px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(140, 154, 108, .45), transparent 65%);
  animation-delay: -4s;
}

.hero-content {
  z-index: 2;
  max-width: 760px;
  text-align: center;
  padding: 48px 24px;
  animation: riseIn .9s ease both;
}

.hero-content h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.8rem, 8vw, 5.7rem);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  line-height: .95;
}

.hero-content h1 span { color: #f4b27a; }

.hero-divider {
  width: 84px;
  height: 4px;
  margin: 22px auto;
  border-radius: 999px;
  background: linear-gradient(90deg, #f2b47d, var(--brand-2));
}

.hero-content p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.06rem;
  color: rgba(255, 255, 255, .84);
  line-height: 1.8;
}

.btn,
.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  padding: 13px 26px;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 800;
  transition: transform .22s, box-shadow .22s, background .22s, color .22s;
}

.btn {
  color: #fff;
  background: linear-gradient(120deg, #94491f, #b6622d);
  box-shadow: 0 10px 24px rgba(201, 111, 52, .35);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(201, 111, 52, .45);
}

/* Shared section heading */
.section-header {
  text-align: center;
  max-width: 850px;
  margin: auto;
  padding: 84px 20px 30px;
}

.section-header .tag {
  display: inline-block;
  border-radius: 999px;
  padding: 7px 14px;
  background: #703815;
  border: 1px solid #8d4a22;
  color: #fff;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-size: .68rem;
}

.section-header h2 {
  margin-top: 14px;
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.7rem, 4vw, 3rem);
  color: var(--ink);
  letter-spacing: .01em;
}

.divider {
  width: 84px;
  height: 3px;
  margin: 16px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

.section-header p {
  margin: 18px auto 0;
  color: var(--ink-soft);
  line-height: 1.8;
  font-size: .95rem;
}

/* Info strip */
.info-strip {
  max-width: 1240px;
  margin: -48px auto 0;
  position: relative;
  z-index: 4;
  padding: 0 20px;
}

.info-strip-inner {
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, .5);
}

.info-card {
  background: rgba(255, 252, 247, .95);
  padding: 32px 28px;
  border-right: 1px solid var(--line);
}

.info-card:last-child { border-right: 0; }

.info-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #2c261e, #4a3e31);
}

.info-card-icon svg { width: 22px; height: 22px; fill: #f1d2b4; }

.info-card h3 {
  margin-top: 12px;
  color: var(--ink);
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
}

.info-card p {
  margin-top: 10px;
  line-height: 1.75;
  font-size: .88rem;
}

/* Metrics band */
.metrics-band {
  max-width: 1240px;
  margin: 24px auto 8px;
  padding: 0 20px;
}

.metrics-inner {
  background: linear-gradient(120deg, #1f1a16, #33291f);
  border-radius: 24px;
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 18px 34px rgba(20, 16, 12, .24);
}

.metric-card {
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .12);
}

.metric-value {
  font-family: 'Syne', sans-serif;
  color: #ffe0c3;
  font-size: clamp(1.6rem, 3.4vw, 2.25rem);
  line-height: 1;
}

.metric-label {
  margin-top: 8px;
  color: rgba(255, 255, 255, .7);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* Products */
.products-section {
  padding: 12px 0 70px;
}

.products-grid {
  max-width: 1240px;
  margin: auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}

.product-card {
  grid-column: span 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 10px 28px rgba(25, 22, 16, .08);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 38px rgba(25, 22, 16, .15);
  border-color: rgba(201, 111, 52, .35);
}

.product-card > a {
  display: block;
  color: inherit;
  height: 100%;
}

.product-card-thumb {
  height: 160px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.product-card-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, .3), transparent 45%);
}

.pc-1 .product-card-thumb { background: linear-gradient(140deg, #6f4a31, #b26f3e); }
.pc-2 .product-card-thumb { background: linear-gradient(140deg, #51463e, #88715d); }
.pc-3 .product-card-thumb { background: linear-gradient(140deg, #4f5c49, #7d916b); }
.pc-4 .product-card-thumb { background: linear-gradient(140deg, #563b39, #9f6d63); }
.pc-5 .product-card-thumb { background: linear-gradient(140deg, #5a4e3b, #a78b57); }
.pc-6 .product-card-thumb { background: linear-gradient(140deg, #68564f, #ab8879); }
.pc-7 .product-card-thumb { background: linear-gradient(140deg, #49575a, #758f95); }
.pc-8 .product-card-thumb { background: linear-gradient(140deg, #4f4534, #8f7d5a); }
.pc-9 .product-card-thumb { background: linear-gradient(140deg, #4d3f35, #90684f); }

.product-card-thumb svg {
  width: 64px;
  height: 64px;
  opacity: .7;
  z-index: 1;
}

.product-card-thumb .overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(27, 24, 20, .7);
  opacity: 0;
  transition: opacity .3s;
}

.product-card:hover .overlay { opacity: 1; }

.overlay span {
  color: #fff;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 999px;
  padding: 7px 14px;
}

.product-card-body { padding: 18px; }

.product-card-body h4 {
  color: var(--ink);
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  line-height: 1.4;
}

.product-card-body p {
  margin-top: 9px;
  font-size: .84rem;
  line-height: 1.66;
}

.product-card-link {
  display: inline-block;
  margin-top: 12px;
  color: #a2572a;
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.products-grid .product-card:nth-child(1) { grid-column: span 6; }
.products-grid .product-card:nth-child(2) { grid-column: span 3; }
.products-grid .product-card:nth-child(3) { grid-column: span 3; }
.products-grid .product-card:nth-child(4) { grid-column: span 4; }
.products-grid .product-card:nth-child(5) { grid-column: span 4; }
.products-grid .product-card:nth-child(6) { grid-column: span 4; }
.products-grid .product-card:nth-child(7) { grid-column: span 3; }
.products-grid .product-card:nth-child(8) { grid-column: span 6; }
.products-grid .product-card:nth-child(9) { grid-column: span 3; }

.products-grid .product-card:nth-child(1) .product-card-thumb,
.products-grid .product-card:nth-child(8) .product-card-thumb {
  height: 220px;
}

/* Features */
.features-section {
  position: relative;
  padding: 30px 20px 90px;
  background:
    linear-gradient(160deg, #24201b, #312920),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 38px);
}

.features-section .section-header h2,
.features-section .section-header p { color: #f7f2e8; }

.features-grid {
  max-width: 1150px;
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-box {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  padding: 26px 18px;
  text-align: center;
  transition: transform .25s, background .25s;
}

.feature-box:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, .11);
}

.feature-box-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .24);
  background: radial-gradient(circle at 30% 30%, rgba(201, 111, 52, .55), rgba(201, 111, 52, .18));
}

.feature-box-icon svg { width: 28px; height: 28px; fill: #ffd9bc; }

.feature-box h4 {
  color: #fff;
  font-size: .87rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.feature-box p {
  margin-top: 10px;
  color: rgba(255, 255, 255, .78);
  font-size: .83rem;
  line-height: 1.7;
}

/* References */
.references-section {
  padding: 24px 20px 92px;
}

.refs-showcase {
  max-width: 1240px;
  margin: 14px auto 0;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
}

.ref-type {
  display: inline-block;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: .63rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #fff;
  border: 1px solid #8e4d26;
  background: #7a3e1a;
}

.ref-lead-card {
  position: relative;
  border-radius: 24px;
  min-height: 540px;
  overflow: hidden;
  box-shadow: 0 22px 38px rgba(18, 15, 11, .24);
}

.ref-lead-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.ref-lead-card:hover img { transform: scale(1.06); }

.lead-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 22px;
  background: linear-gradient(180deg, transparent 12%, rgba(16, 13, 10, .88) 80%);
}

.lead-overlay h3 {
  margin-top: 10px;
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.9rem);
}

.lead-overlay p {
  margin-top: 8px;
  color: rgba(255, 255, 255, .85);
  line-height: 1.7;
  max-width: 620px;
  font-size: .9rem;
}

.refs-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ref-mini {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .08);
  background: #fff;
  box-shadow: 0 8px 24px rgba(25, 22, 16, .1);
  transition: transform .22s, box-shadow .22s;
}

.ref-mini:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(25, 22, 16, .15);
}

.ref-mini img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  display: block;
}

.mini-body {
  padding: 12px;
}

.mini-body h4 {
  margin-top: 8px;
  color: var(--ink);
  font-size: .86rem;
  line-height: 1.35;
}

/* About section */
.aludrvo-section { padding: 30px 20px 82px; }

.aludrvo-inner {
  max-width: 1240px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
}

.aludrvo-text h2 {
  font-family: 'Syne', sans-serif;
  color: var(--ink);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.aludrvo-text .divider {
  margin: 16px 0 0;
}

.aludrvo-text p {
  margin-top: 14px;
  line-height: 1.85;
  font-size: .95rem;
}

.aludrvo-map {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .1);
  box-shadow: var(--shadow);
}

.aludrvo-map iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

/* Contact strip */
.contact-strip {
  margin: 0 20px 26px;
  border-radius: 24px;
  background: linear-gradient(120deg, #2b251d, #44372a);
  box-shadow: 0 18px 36px rgba(23, 19, 15, .24);
}

.contact-strip-inner {
  max-width: 1240px;
  margin: auto;
  padding: 30px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.contact-strip h3 {
  font-family: 'Syne', sans-serif;
  color: #fff;
  font-size: clamp(1.1rem, 2.4vw, 1.55rem);
}

.contact-strip p {
  margin-top: 6px;
  color: rgba(255, 255, 255, .78);
  font-size: .88rem;
}

.btn-white {
  margin-top: 0;
  color: #25211b;
  background: #f7efe1;
}

.btn-white:hover {
  transform: translateY(-2px);
  background: #fff;
}

/* Footer */
footer {
  background: linear-gradient(180deg, #efe3d3 0%, #e8d8c4 100%);
  margin-top: 52px;
  padding: 60px 20px 24px;
  border-top: 1px solid rgba(120, 88, 58, .14);
  position: relative;
}

.footer-top-wave {
  position: absolute;
  left: 0;
  right: 0;
  top: -52px;
  height: 52px;
  background: #efe3d3;
  clip-path: ellipse(74% 100% at 50% 100%);
  border-top: 1px solid rgba(120, 88, 58, .12);
  pointer-events: none;
}

.footer-inner {
  max-width: 1240px;
  margin: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 30px;
  border-bottom: 1px solid rgba(101, 73, 47, .16);
  padding-bottom: 30px;
}

.footer-brand .logo-text { color: #2f2115; }

.footer-brand p {
  margin-top: 14px;
  color: rgba(73, 52, 35, .72);
  line-height: 1.7;
  font-size: .86rem;
}

.footer-col h5 {
  color: #935f37;
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 8px; }

.footer-col a,
.footer-col address {
  color: rgba(70, 49, 32, .78);
  font-style: normal;
  line-height: 1.9;
  font-size: .85rem;
}

.footer-col address {
  margin-top: 10px;
  display: block;
}

.footer-col a:hover { color: #2b1d12; }

.footer-bottom {
  max-width: 1240px;
  margin: 16px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-bottom p { color: rgba(63, 46, 32, .62); font-size: .8rem; }

.footer-tagline { color: rgba(63, 46, 32, .54) !important; }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Keyframes */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floatOrb {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* Responsive */
@media (max-width: 1120px) {
  .products-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .product-card,
  .products-grid .product-card:nth-child(n) { grid-column: span 3; }

  .products-grid .product-card:nth-child(1),
  .products-grid .product-card:nth-child(8) { grid-column: span 6; }

  .refs-showcase { grid-template-columns: 1fr; }
  .ref-lead-card { min-height: 460px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  .info-strip-inner { grid-template-columns: 1fr; }
  .info-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .info-card:last-child { border-bottom: 0; }
  .metrics-inner { grid-template-columns: repeat(2, 1fr); }
  .aludrvo-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 72px; }

  .header-inner { height: 72px; }

  header.compact .header-inner {
    height: 72px;
    padding: 0 24px;
  }

  .hamburger { display: flex; }

  nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(247, 238, 226, .98);
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    border-bottom: 1px solid rgba(112, 81, 52, .14);
  }

  nav.open { display: flex; }

  nav a { width: 100%; }

  .nav-dropdown .dropdown-menu {
    position: static;
    min-width: unset;
    margin-top: 6px;
    border-radius: 12px;
  }

  .lang-switcher {
    margin-left: 0;
    align-self: flex-start;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-card,
  .products-grid .product-card:nth-child(n) { grid-column: span 1; }

  .products-grid .product-card:nth-child(1) .product-card-thumb,
  .products-grid .product-card:nth-child(8) .product-card-thumb {
    height: 170px;
  }

  .refs-stack { 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; }
}

@media (max-width: 520px) {
  .products-grid,
  .features-grid { grid-template-columns: 1fr; }

  .product-card,
  .products-grid .product-card:nth-child(n) { grid-column: span 1; }

  .metrics-inner { grid-template-columns: 1fr; }

  .contact-strip { margin-left: 14px; margin-right: 14px; }

  footer {
    margin-top: 40px;
  }

  .footer-top-wave {
    top: -40px;
    height: 40px;
  }
}

/* =========================
   HOMEPAGE REDESIGN
========================= */

.p3-home {
  font-family: 'Sora', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(223, 197, 162, .28), transparent 34%),
    linear-gradient(180deg, #f4ede3 0%, #efe4d7 28%, #ece0d3 58%, #f7f1ea 100%);
}

.eyebrow {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #8b6541;
  margin-bottom: 12px;
  font-weight: 700;
}

.hero-v3 {
  min-height: 0;
  padding: 34px 20px 14px;
  position: relative;
  overflow: hidden;
}

.hero-v3-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .38), transparent 45%),
    linear-gradient(180deg, rgba(148, 113, 76, .08), transparent 55%);
}

.hero-v3-inner {
  max-width: 1240px;
  margin: auto;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  gap: 22px;
  align-items: center;
}

.hero-v3-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  overflow: visible;
}

.hero-v3-copy h1 {
  font-family: 'Space Grotesk', 'Syne', sans-serif;
  color: #2d1f14;
  font-size: clamp(1.85rem, 3.8vw, 3.35rem);
  line-height: 1.18;
  padding-bottom: .16em;
  margin-bottom: .02em;
  overflow: visible;
  max-width: 700px;
}

.hero-v3-lead {
  margin-top: 0;
  max-width: 600px;
  line-height: 1.66;
  color: rgba(57, 39, 26, .78);
  font-size: .96rem;
}

.hero-v3-actions {
  margin-top: 2px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: stretch;
  position: relative;
}

.call-fab {
  display: none;
}

.p3-home .btn,
.btn-ghost {
  border-radius: 14px;
  padding: 12px 18px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .74rem;
  font-weight: 700;
}

.hero-v3-actions .btn,
.hero-v3-actions .btn-ghost {
  margin-top: 0;
  min-height: 48px;
  padding: 0 22px;
  min-width: 176px;
  justify-content: center;
  border-radius: 18px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease, color .22s ease;
}

.p3-home .btn {
  background: linear-gradient(145deg, #6e4a2f, #b7844f);
  color: #fff7ef;
  box-shadow: 0 14px 30px rgba(111, 75, 44, .22);
}

.btn-ghost {
  border: 1px solid rgba(110, 74, 47, .28);
  color: #6c4a2f;
  background: rgba(255, 250, 245, .74);
  display: inline-flex;
  align-items: center;
}

.hero-v3-actions .btn:hover,
.hero-v3-actions .btn-ghost:hover {
  transform: translateY(-3px);
}

.hero-v3-actions .btn {
  box-shadow: 0 16px 34px rgba(111, 75, 44, .22);
}

.hero-v3-actions .btn-ghost {
  box-shadow: 0 12px 28px rgba(119, 89, 62, .08);
}

.hero-v3-actions .btn-ghost:hover {
  border-color: rgba(110, 74, 47, .44);
  background: rgba(255, 255, 255, .88);
}

.hero-v3-points {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  max-width: 700px;
  column-gap: 16px;
  row-gap: 14px;
}

.hero-point {
  min-height: 96px;
  border-radius: 18px;
  padding: 14px;
  background: rgba(255, 251, 247, .78);
  border: 1px solid rgba(122, 91, 60, .12);
  box-shadow: 0 20px 38px rgba(129, 97, 65, .08);
}

.hero-point strong {
  display: block;
  color: #372518;
  font-size: .92rem;
  margin-bottom: 8px;
}

.hero-point span {
  color: rgba(58, 41, 28, .72);
  line-height: 1.7;
  font-size: .82rem;
}

.hero-v3-stage {
  position: relative;
  min-height: 500px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  grid-template-rows: 1fr auto;
  gap: 12px;
}

.hero-frame {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(120, 88, 55, .12);
  box-shadow: 0 24px 46px rgba(108, 80, 54, .12);
  position: relative;
  min-height: 0;
}

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

.hero-frame-main {
  grid-row: 1 / span 2;
  min-height: 500px;
}

.hero-frame-side {
  margin-top: 42px;
  min-height: 220px;
}

.hero-frame-copy {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(35, 24, 17, .72);
  backdrop-filter: blur(12px);
}

.hero-frame-copy span {
  display: block;
  color: #efe2cf;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .68rem;
}

.hero-frame-copy p {
  margin-top: 6px;
  color: rgba(253, 245, 235, .84);
  line-height: 1.55;
  font-size: .86rem;
}

.hero-band {
  border-radius: 16px;
  padding: 12px 14px;
  background: linear-gradient(145deg, rgba(70, 49, 33, .93), rgba(108, 77, 51, .95));
  border: 1px solid rgba(238, 218, 194, .24);
  box-shadow: 0 14px 28px rgba(92, 64, 41, .24);
  align-self: end;
}

.hero-band span {
  display: block;
  color: rgba(251, 237, 220, .96);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .64rem;
  font-weight: 700;
}

.hero-band p {
  margin-top: 5px;
  color: rgba(255, 245, 232, .85);
  line-height: 1.42;
  font-size: .74rem;
}

@media (max-width: 1440px) and (min-width: 1121px) {
  .hero-v3 {
    padding-top: 26px;
    padding-bottom: 10px;
  }
  .hero-v3-inner {
    gap: 18px;
  }
  .hero-v3-stage,
  .hero-frame-main {
    min-height: 440px;
  }
  .hero-v3-copy h1 {
    font-size: clamp(1.72rem, 3.2vw, 2.95rem);
  }
  .hero-v3-points {
    margin-top: 8px;
  }
  .hero-point {
    min-height: 88px;
    padding: 12px;
  }
}

@media (min-width: 1600px) {
  .hero-v3-inner {
    max-width: 1480px;
    grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr);
    gap: 32px;
  }

  .hero-v3-copy {
    gap: 12px;
    padding: 10px 0;
  }

  .hero-v3-copy h1 {
    font-size: clamp(2.35rem, 2.9vw, 4rem);
    max-width: 860px;
  }

  .hero-v3-lead {
    max-width: 740px;
    font-size: 1.08rem;
  }

  .hero-v3-actions .btn,
  .hero-v3-actions .btn-ghost {
    min-height: 54px;
    min-width: 196px;
    padding: 0 28px;
    font-size: .78rem;
  }

  .hero-v3-actions {
    margin-top: 6px;
    gap: 14px;
  }

  .hero-v3-points {
    margin-top: 10px;
    max-width: 860px;
    column-gap: 20px;
    row-gap: 16px;
  }

  .hero-point {
    min-height: 118px;
    padding: 16px;
  }

  .hero-point strong {
    font-size: 1rem;
  }

  .hero-point span {
    font-size: .88rem;
    line-height: 1.62;
  }

  .hero-v3-stage {
    height: auto;
    min-height: clamp(430px, 52vh, 520px);
  }

  .hero-frame-main {
    min-height: clamp(430px, 52vh, 520px);
  }

  .hero-frame-side {
    min-height: clamp(190px, 24vh, 235px);
    margin-top: 40px;
  }

  .hero-band span {
    font-size: .72rem;
  }

  .hero-band p {
    font-size: .82rem;
  }
}

@media (min-width: 1024px) and (max-height: 900px) {
  .hero-v3 {
    padding-top: 18px;
    padding-bottom: 8px;
  }
  .hero-v3-copy h1 {
    font-size: clamp(1.6rem, 2.8vw, 2.5rem);
    line-height: 1.12;
  }
  .hero-v3-lead {
    font-size: .9rem;
    line-height: 1.5;
  }
  .hero-v3-actions .btn,
  .hero-v3-actions .btn-ghost {
    min-height: 44px;
  }
  .hero-v3-points {
    margin-top: 6px;
    row-gap: 10px;
  }
  .hero-point {
    min-height: 78px;
    padding: 10px 12px;
  }
  .hero-v3-stage,
  .hero-frame-main {
    min-height: 390px;
  }
  .hero-frame-side {
    min-height: 180px;
    margin-top: 30px;
  }
  .hero-frame-copy {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 12px 14px;
  }
  .hero-band {
    padding: 10px 12px;
  }
}

.about-v3,
.products-v3,
.references-v3,
.contact-v3 { padding: clamp(42px, 6vw, 78px) 20px 0; }

@media (min-width: 1280px) {
  .hero-v3 {
    height: auto;
    min-height: 0;
  }

  .hero-v3-inner {
    width: 100%;
    height: auto;
    min-height: 0;
    align-items: stretch;
  }

  .hero-v3-copy,
  .hero-v3-stage {
    height: auto;
    min-height: 0;
  }

  .hero-v3-stage {
    align-self: stretch;
    min-height: clamp(380px, 35vw, 500px);
  }

  .hero-v3-copy {
    justify-content: flex-start;
    gap: 10px;
    padding: 8px 0;
  }

  .hero-v3-actions {
    margin-top: 4px;
    gap: 12px;
  }

  .hero-v3-points {
    margin-top: 8px;
    row-gap: 12px;
  }

  .hero-frame-main {
    min-height: clamp(380px, 35vw, 500px);
  }

  .hero-frame-side {
    min-height: clamp(170px, 24vh, 220px);
    margin-top: 34px;
  }

}

.about-v3-inner,
.products-v3-grid,
.references-v3-wrap,
.contact-v3-inner,
.section-head-v3 {
  max-width: 1240px;
  margin: auto;
}

.about-v3-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.about-v3-left h2,
.section-head-v3 h2,
.contact-v3-inner h2 {
  color: #2d1f14;
  font-family: 'Space Grotesk', 'Syne', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  line-height: 1.32;
  padding-bottom: .14em;
  margin-bottom: .02em;
  overflow: visible;
}

.about-v3-left p {
  margin-top: 12px;
  line-height: 1.9;
  color: rgba(60, 43, 30, .82);
}

.about-v3-right {
  position: relative;
  min-height: 440px;
}

.shape-card {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(120, 88, 55, .14);
  box-shadow: 0 18px 40px rgba(93, 66, 40, .18);
}

.shape-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sc-a {
  inset: 30px 70px 40px 20px;
  border-radius: 24px 60px 24px 70px;
}

.sc-b {
  width: 220px;
  height: 260px;
  right: 0;
  bottom: 0;
  border-radius: 100px 16px 90px 16px;
}

.section-head-v3 { margin-bottom: 18px; }

.products-v3-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

.p-tile {
  min-height: 140px;
  border-radius: 18px;
  border: 1px solid rgba(120, 88, 55, .14);
  background-color: #d9c4ad;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: end;
  padding: 14px;
  position: relative;
  overflow: hidden;
  transition: transform .24s, border-color .24s;
  box-shadow: 0 18px 34px rgba(125, 94, 65, .08);
  isolation: isolate;
}

.p-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(29, 20, 14, .06) 10%, rgba(36, 24, 16, .72) 92%);
  z-index: 0;
}

.p-tile:hover {
  transform: translateY(-8px);
  border-color: rgba(132, 95, 60, .46);
}

.p-tile span {
  color: #fff9f2;
  font-size: .85rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  line-height: 1.4;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .38);
}

.p-tile::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  top: -40px;
  right: -38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  z-index: 1;
}

.t1 {
  grid-column: span 5;
  min-height: 220px;
  background-image: url('../images/products/alu/alu3.jpg');
  background-position: center 42%;
}

.t2 {
  grid-column: span 4;
  min-height: 220px;
  background-image: url('../images/products/fas/Staklene-fasade14.webp');
  background-position: center 48%;
}

.t3 {
  grid-column: span 3;
  background-image: url('../images/products/vent/ventilisane-fasade3.jpg');
  background-position: center 46%;
}

.t4 {
  grid-column: span 4;
  background-image: url('../images/products/cel/Celicne konstrukcije2.jpg');
  background-position: center 50%;
}

.t5 {
  grid-column: span 4;
  background-image: url('../images/products/basta/staklene-baste2.jpg');
  background-position: center 44%;
}

.t6 {
  grid-column: span 4;
  background-image: url('../images/products/pvc/pvc2.jpg');
  background-position: center 45%;
}

.t7 {
  grid-column: span 3;
  background-image: url('../images/products/ogr/staklene-ograde-6.webp');
  background-position: center 50%;
}

.t8 {
  grid-column: span 5;
  min-height: 190px;
  background-image: url('../images/products/preg/enterijerskepregrade3.webp');
  background-position: center 48%;
}

.t9 {
  grid-column: span 4;
  background-image: url('../images/products/rolo/segmentnavrata3.jpg');
  background-position: center 54%;
}

.t10 {
  grid-column: span 12;
  min-height: 100px;
  background-image: url('../images/products/alu/alu5.jpeg');
  background-position: center 42%;
}

.references-v3-wrap {
  --ref-panels-h: clamp(560px, calc(100vh - var(--header-h) - 54px), 740px);
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 18px;
  align-items: stretch;
  padding: 12px;
  border-radius: 30px;
  background: linear-gradient(160deg, rgba(255, 248, 240, .66), rgba(241, 226, 210, .58));
  border: 1px solid rgba(120, 88, 55, .1);
}

.ref-projects-panel,
.ref-viewer {
  border-radius: 22px;
  background: rgba(255, 252, 248, .82);
  border: 1px solid rgba(120, 88, 55, .1);
  box-shadow: 0 12px 30px rgba(121, 89, 58, .08);
  min-height: 0;
  height: var(--ref-panels-h);
}

.ref-projects-panel {
  padding: 14px;
  display: flex;
  flex-direction: column;
}

.ref-projects-head p {
  color: #2d1f14;
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
}

.ref-projects-head span {
  display: block;
  margin-top: 5px;
  color: rgba(74, 53, 36, .7);
  font-size: .8rem;
}

.ref-project-list {
  margin-top: 12px;
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 3px 4px 6px 1px;
  display: grid;
  gap: 10px;
}

.ref-project-list::-webkit-scrollbar {
  width: 8px;
}

.ref-project-list::-webkit-scrollbar-thumb {
  background: rgba(129, 95, 65, .3);
  border-radius: 999px;
}

.ref-project-item {
  width: 100%;
  border: 1px solid rgba(125, 92, 60, .11);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(243, 231, 219, .88));
  padding: 14px;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  text-align: left;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.ref-project-item:hover,
.ref-project-item.active {
  transform: translateY(-2px);
  border-color: rgba(138, 96, 57, .42);
  box-shadow: 0 10px 20px rgba(119, 88, 58, .14);
}

.ref-project-item-index {
  color: #9a7758;
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem;
  line-height: 1;
}

.ref-project-item h3 {
  color: #2d1f14;
  font-family: 'Syne', sans-serif;
  font-size: 1.06rem;
}

.ref-project-item p {
  margin-top: 6px;
  color: rgba(68, 48, 32, .76);
  line-height: 1.58;
  font-size: .85rem;
}

.ref-project-inline {
  margin: 6px 0 10px;
  border: 1px solid rgba(125, 92, 60, .18);
  border-radius: 16px;
  overflow: hidden;
  background: #fff9f2;
  box-shadow: 0 12px 28px rgba(119, 88, 58, .14);
  animation: riseIn .2s ease both;
}

.ref-project-inline-slider {
  position: relative;
  background: #d8c5b1;
}

.ref-project-inline-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.ref-project-inline-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(20, 14, 10, .56);
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
}

.ref-project-inline-nav.prev { left: 10px; }
.ref-project-inline-nav.next { right: 10px; }

.ref-project-inline-body {
  padding: 14px;
}

.ref-project-inline-type {
  margin: 0;
  color: #8c6748;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: .68rem;
}

.ref-project-inline-body h4 {
  margin: 6px 0 0;
  color: #2d1f14;
  font-family: 'Syne', sans-serif;
  font-size: 1.08rem;
}

.ref-project-inline-meta {
  margin: 6px 0 0;
  color: rgba(74, 53, 36, .74);
  font-size: .84rem;
}

.ref-project-inline-summary {
  margin: 10px 0 0;
  color: rgba(68, 48, 32, .82);
  line-height: 1.66;
  font-size: .9rem;
}

.ref-project-inline-thumbs {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.ref-project-inline-thumb {
  border: 1px solid rgba(123, 92, 60, .2);
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  background: #eadaca;
}

.ref-project-inline-thumb.active {
  border-color: rgba(130, 88, 51, .62);
  box-shadow: 0 0 0 2px rgba(130, 88, 51, .2);
}

.ref-project-inline-thumb img {
  width: 100%;
  height: 56px;
  object-fit: cover;
  display: block;
}

.ref-project-inline-counter {
  display: inline-block;
  margin-top: 8px;
  color: rgba(76, 53, 35, .74);
  font-size: .82rem;
}

.ref-project-inline-cta {
  margin-top: 12px;
  width: 100%;
}

.ref-viewer {
  padding: 18px;
  box-sizing: border-box;
  display: grid;
  grid-template-rows: auto minmax(260px, 1fr) auto auto auto;
  gap: 14px;
  overflow: hidden;
}

.ref-viewer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.ref-viewer-kicker {
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: .68rem;
  color: #8c6748;
}

.ref-viewer-top h3 {
  margin: 6px 0 0;
  color: #2d1f14;
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.25rem, 2.6vw, 1.8rem);
}

.ref-viewer-meta {
  margin: 6px 0 0;
  color: rgba(74, 53, 36, .74);
  font-size: .86rem;
}

.ref-viewer-link {
  padding: 10px 14px;
  border-radius: 999px;
  background: #7c5031;
  color: #fff7ef;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap;
}

.ref-slider {
  position: relative;
  overflow: hidden;
  min-height: 0;
  height: 100%;
  border-radius: 20px;
  background: #d8c5b1;
}

.ref-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  backface-visibility: hidden;
  will-change: transform, opacity, filter, clip-path;
}

.ref-slider img.is-revealing {
  z-index: 1;
  animation: ref-image-in .62s cubic-bezier(.22, .78, .2, .99) both;
}

.ref-slider-ghost {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  pointer-events: none;
  will-change: transform, opacity, filter;
  animation: ref-image-out .62s cubic-bezier(.35, .02, .44, 1) both;
}

@keyframes ref-image-in {
  0% {
    opacity: 0;
    transform: scale(1.08) translateX(28px);
    filter: blur(10px) saturate(.9);
    clip-path: inset(0 0 0 20%);
  }
  55% {
    opacity: .88;
    filter: blur(2px) saturate(1.03);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateX(0);
    filter: blur(0) saturate(1);
    clip-path: inset(0 0 0 0);
  }
}

@keyframes ref-image-out {
  0% {
    opacity: 1;
    transform: scale(1) translateX(0);
    filter: blur(0) brightness(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.03) translateX(-22px);
    filter: blur(11px) brightness(.9);
  }
}

.ref-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(40, 28, 20, .62);
  color: #fff;
  font-size: 1.35rem;
  cursor: pointer;
}

.ref-slider-nav.prev { left: 12px; }
.ref-slider-nav.next { right: 12px; }

.ref-viewer-summary {
  margin: 0;
  color: rgba(68, 48, 32, .8);
  line-height: 1.72;
  font-size: .95rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ref-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.ref-thumb {
  border: 1px solid rgba(123, 92, 60, .18);
  border-radius: 12px;
  overflow: hidden;
  background: #eadaca;
  cursor: pointer;
  padding: 0;
}

.ref-thumb.active {
  border-color: rgba(130, 88, 51, .55);
  box-shadow: 0 0 0 2px rgba(130, 88, 51, .24);
}

.ref-thumb img {
  width: 100%;
  height: 82px;
  object-fit: cover;
  display: block;
}

.ref-viewer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
}

@media (min-width: 1121px) and (max-width: 1480px) {
  .references-v3-wrap {
    --ref-panels-h: clamp(600px, calc(100vh - var(--header-h) - 26px), 760px);
  }
  .ref-viewer {
    gap: 12px;
  }
  .ref-thumb img {
    height: 74px;
  }
}

.ref-viewer-counter {
  color: rgba(76, 53, 35, .74);
  font-size: .85rem;
}

.ref-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
}

.ref-gallery-modal.open {
  display: block;
}

.ref-gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 10, 7, .72);
  backdrop-filter: blur(6px);
}

.ref-gallery-dialog {
  position: relative;
  max-width: 980px;
  margin: 5vh auto;
  width: calc(100% - 40px);
  background: #f8ecdf;
  border: 1px solid rgba(128, 95, 64, .24);
  border-radius: 24px;
  padding: 16px;
  z-index: 2;
}

.ref-gallery-close {
  position: absolute;
  right: 12px;
  top: 10px;
  border: 0;
  background: transparent;
  font-size: 2rem;
  color: #6a4b32;
  cursor: pointer;
}

.ref-gallery-dialog h4 {
  color: #2d1f14;
  font-family: 'Syne', sans-serif;
  margin-right: 34px;
}

.ref-gallery-main {
  margin-top: 12px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 440px;
}

.ref-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ref-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 0;
  background: rgba(20, 14, 10, .56);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}

.ref-gallery-nav.prev { left: 10px; }
.ref-gallery-nav.next { right: 10px; }

.ref-gallery-thumbs {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  max-height: 150px;
  overflow: auto;
}

.ref-gallery-thumb {
  border: 1px solid rgba(123, 92, 60, .2);
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  background: #eadaca;
}

.ref-gallery-thumb.active {
  border-color: rgba(130, 88, 51, .62);
  box-shadow: 0 0 0 2px rgba(130, 88, 51, .2);
}

.ref-gallery-thumb img {
  width: 100%;
  height: 64px;
  object-fit: cover;
  display: block;
}

.contact-v3 {
  padding-bottom: 36px;
}

.contact-v3-inner {
  border-radius: 24px;
  padding: 24px;
  background: linear-gradient(150deg, rgba(255, 250, 245, .9), rgba(240, 228, 214, .94));
  border: 1px solid rgba(131, 96, 63, .14);
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 24px;
  align-items: stretch;
  box-shadow: 0 22px 48px rgba(122, 91, 60, .12);
}

.contact-copy {
  display: flex;
  flex-direction: column;
}

.contact-v3-inner p {
  margin-top: 10px;
  color: rgba(67, 48, 33, .84);
  line-height: 1.9;
}

.contact-meta {
  margin-top: 18px;
}

.contact-meta p {
  margin-top: 4px;
}

.contact-map-card {
  grid-column: 1 / -1;
  margin-top: 2px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(126, 94, 65, .2);
  background: rgba(255, 252, 247, .78);
  box-shadow: 0 14px 30px rgba(94, 67, 44, .12);
}

.contact-map-card iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
}

.contact-form {
  display: grid;
  gap: 14px;
  height: 100%;
  align-content: start;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form label span {
  color: #5d412a;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(126, 94, 65, .18);
  background: rgba(255, 255, 255, .82);
  border-radius: 16px;
  padding: 14px 15px;
  color: #2d1f14;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
  min-height: 138px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(84, 63, 46, .52);
}

.field-full {
  grid-column: 1 / -1;
}

.contact-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.form-note,
.form-status {
  margin: 0;
  font-size: .86rem;
}

.form-status {
  color: #6c4a2f;
  min-height: 1.2em;
}

/* GSAP utility classes */
.gs-slide-left,
.gs-slide-right,
.gs-slide-up,
.gs-slide-down { will-change: transform, opacity; }

@media (max-width: 1120px) {
  .hero-v3-inner,
  .about-v3-inner,
  .references-v3-wrap { grid-template-columns: 1fr; }

  .hero-v3-points { grid-template-columns: 1fr; }
  .hero-v3-stage {
    min-height: auto;
    grid-template-columns: 1fr 220px;
    grid-template-rows: 1fr auto;
  }
  .ref-gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
  .references-v3-wrap { --ref-panels-h: clamp(480px, calc(100vh - var(--header-h) - 120px), 620px); }
  .contact-v3-inner { grid-template-columns: 1fr; }
  .contact-map-card iframe { height: 280px; }

  .products-v3-grid { grid-template-columns: repeat(6, 1fr); }
  .t1, .t2, .t8 { grid-column: span 6; }
  .t3, .t4, .t5, .t6, .t7, .t9 { grid-column: span 3; }
  .t10 { grid-column: span 6; }
}

@media (max-width: 768px) {
  .hero-v3 { padding-top: 26px; }
  .hero-v3-copy {
    align-items: center;
    text-align: center;
  }
  .hero-v3-copy h1,
  .hero-v3-lead {
    max-width: 100%;
  }
  .hero-v3-actions {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 12px;
  }
  .hero-v3-actions .btn,
  .hero-v3-actions .btn-ghost {
    width: min(320px, 100%);
    min-width: 0;
    margin-inline: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .hero-v3-stage {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .hero-frame-main,
  .hero-frame-side {
    grid-row: auto;
    min-height: 200px;
    margin-top: 0;
  }
  .hero-frame-side {
    display: none;
  }
  .hero-band {
    align-self: auto;
    text-align: center;
  }
  .p3-home {
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }
  .call-fab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(145deg, #6e4a2f, #b7844f);
    color: #fff7ef;
    font-size: 1.25rem;
    box-shadow: 0 14px 28px rgba(86, 57, 33, .42);
    z-index: 2500;
    border: 1px solid rgba(255, 248, 238, .34);
  }
  .call-fab-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
  }
  .call-fab:active {
    transform: scale(.97);
  }
  .ref-projects-panel { max-height: none; }
  .references-v3-wrap { --ref-panels-h: auto; }
  .ref-projects-panel,
  .ref-viewer { height: auto; }
  .ref-project-list { max-height: none; }
  .ref-viewer { display: none; }
  .ref-viewer-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .ref-slider { min-height: 300px; }
  .ref-thumbs { grid-template-columns: repeat(2, 1fr); }
  .ref-gallery-dialog {
    width: calc(100% - 24px);
    margin: 4vh auto;
  }
  .ref-gallery-main { min-height: 300px; }
  .ref-gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
  .contact-form-grid { grid-template-columns: 1fr; }
  .products-v3-grid { grid-template-columns: repeat(2, 1fr); }
  .p-tile,
  .t1, .t2, .t3, .t4, .t5, .t6, .t7, .t8, .t9, .t10 { grid-column: span 1; min-height: 130px; }
}

@media (max-width: 520px) {
  .hero-v3-copy h1 { font-size: 2.1rem; }
  .hero-frame-main { min-height: 180px; }
  .call-fab {
    width: 54px;
    height: 54px;
    right: 12px;
  }
  .ref-line { grid-template-columns: 1fr; }
  .contact-form-actions { align-items: start; }
  .contact-map-card iframe { height: 220px; }
}