/* ==========================================================================
   Sylvam by Projency Trading — Main Stylesheet
   ========================================================================== */

:root {
  --dark-petrol: #0E4148;
  --deep-petrol: #072529;
  --petrol: #18828E;
  --petrol-gray: #4D8B95;
  --light-petrol: #A9D6DB;
  --accent-petrol: #BFE6EA;
  --gold: #B7791F;
  --gold-soft: #D9A84A;
  --text: #233A3E;
  --secondary-text: #61787C;
  --light-surface: #F4FAFB;
  --line: #E4EFF0;
  --text-on-petrol: #EAF4F4;
  --white: #FFFFFF;
  --positive: #2E7D5B;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.lucide {
  flex-shrink: 0;
}

.external-icon {
  display: inline-block;
  vertical-align: -0.1em;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  flex-shrink: 0;
}

.brand-logo {
  height: 46px;
  width: auto;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 36px;
}

.site-nav ul {
  display: flex;
  gap: 34px;
  list-style: none;
  align-items: center;
}

.site-nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text);
  transition: color 0.2s ease;
  position: relative;
  padding: 6px 0;
}

.site-nav a:hover {
  color: var(--petrol);
}

.site-nav a:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
}

.lang-switch {
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--petrol-gray);
  display: inline-flex;
  align-items: center;
}

.lang-switch a {
  margin: 0 4px;
  padding: 4px 6px;
  transition: color 0.2s ease;
}

.lang-switch a.active {
  color: var(--dark-petrol);
}

.lang-switch a:hover {
  color: var(--petrol);
}

.menu-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--dark-petrol);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.menu-toggle:hover,
.menu-toggle[aria-expanded="true"] {
  background: var(--dark-petrol);
  color: var(--white);
  border-color: var(--dark-petrol);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-band {
  --hero-gutter: clamp(24px, 3.5vw, 64px);
  position: relative;
}

.hero-band .site-header {
  position: absolute;
  inset: 0 0 auto;
  min-height: 78px;
  padding: 12px var(--hero-gutter);
  border: 0;
  background: linear-gradient(180deg, rgba(7, 37, 41, 0.76), transparent);
}

.hero-band .site-header .brand-logo {
  height: 68px;
}

.hero-band .header-right {
  gap: 28px;
}

.hero-band .site-nav ul {
  gap: clamp(14px, 1.6vw, 26px);
}

.hero-band .site-nav a,
.hero-band .lang-switch a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text-on-petrol);
}

.hero-band .site-nav a {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-band .lang-switch {
  color: var(--light-petrol);
}

.hero-band .lang-switch a.active {
  color: var(--white);
  font-weight: 700;
}

.hero-band :focus-visible {
  outline: 2px solid var(--accent-petrol);
  outline-offset: 3px;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 30px;
  min-height: max(700px, 100svh);
  padding: 100px var(--hero-gutter) 28px;
  color: var(--text-on-petrol);
  background-color: var(--deep-petrol);
}

.hero-bg {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 37, 41, 0.63), rgba(7, 37, 41, 0.29) 42%, transparent 68%),
    linear-gradient(0deg, rgba(7, 37, 41, 0.36), transparent 29%),
    url('../images/hero/hero-bg.jpg?v=20261204') center / cover no-repeat;
}

.hero-copy {
  align-self: center;
  display: grid;
  justify-items: start;
  gap: 20px;
  max-width: min(620px, 51%);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 15px;
  border: 1px solid rgba(191, 230, 234, 0.45);
  border-radius: 100px;
  background: rgba(191, 230, 234, 0.12);
  color: var(--accent-petrol);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gold-soft);
}

.hero h1 {
  max-width: 13.5em;
  font-size: clamp(2.125rem, 4.2vw, 3.6rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.hero-lead {
  max-width: 540px;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.hero-cta :is(.btn-primary, .btn-ghost) {
  min-height: 44px;
  padding: 13px 22px;
  border: 1px solid rgba(234, 244, 244, 0.72);
  color: var(--text-on-petrol);
  background: rgba(7, 37, 41, 0.2);
  font-weight: 600;
  letter-spacing: 0.14em;
}

.hero-cta .btn-ghost {
  border-color: rgba(234, 244, 244, 0.46);
}

.hero-cta :is(.btn-primary, .btn-ghost):hover {
  border-color: var(--text-on-petrol);
  background: var(--text-on-petrol);
  color: var(--dark-petrol);
}

.hero-stats {
  justify-self: end;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(100%, 660px);
}

.hero-stat {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 8px;
  padding: 21px 16px;
  text-align: center;
  background: linear-gradient(rgba(12, 53, 58, 0.48), rgba(7, 37, 41, 0.8));
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  backdrop-filter: blur(24px) saturate(1.3);
  box-shadow: 0 12px 30px rgba(6, 24, 28, 0.22);
}

.hero-stat dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.hero-stat dd {
  color: var(--white);
  font-size: 38px;
  font-weight: 600;
  line-height: 1;
}

.btn-primary {
  background: var(--petrol);
  color: var(--white);
  padding: 17px 32px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-primary:hover {
  background: var(--gold);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  padding: 17px 32px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid rgba(234, 244, 244, 0.4);
  transition: border-color 0.2s ease, background 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--white);
}

/* ==========================================================================
   SECTION BASE
   ========================================================================== */

section {
  padding: 120px 40px;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--petrol);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--dark-petrol);
  margin-bottom: 22px;
  max-width: 820px;
}

.section-title b {
  font-weight: 700;
}

.section-intro {
  font-size: 17px;
  color: var(--secondary-text);
  max-width: 680px;
  margin-bottom: 64px;
  line-height: 1.75;
}

/* ==========================================================================
   THE NAME SECTION
   ========================================================================== */

.name-section {
  background: var(--light-surface);
  padding: 90px 40px;
}

.name-section .container {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: center;
}

.name-visual {
  text-align: center;
  padding: 50px;
  background: var(--white);
  border: 1px solid var(--line);
}

.name-visual .latin {
  font-size: 84px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--dark-petrol);
  margin-bottom: 8px;
}

.name-visual .latin .em {
  color: var(--gold);
  font-weight: 500;
}

.name-visual .latin-meta {
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--petrol-gray);
  text-transform: uppercase;
  font-weight: 600;
}

.name-visual .rule {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 24px auto;
}

.name-visual .meaning {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  max-width: 320px;
  margin: 0 auto;
  font-weight: 500;
}

.name-text h2 {
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 500;
  color: var(--dark-petrol);
  line-height: 1.18;
  margin-bottom: 24px;
  letter-spacing: -0.015em;
}

.name-text h2 b {
  font-weight: 700;
}

.name-text p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 18px;
}

.name-text p:last-child {
  margin-bottom: 0;
  color: var(--secondary-text);
}

/* ==========================================================================
   POSITION SECTION (3 CARDS)
   ========================================================================== */

.position-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 20px;
}

.position-card {
  padding: 42px 36px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
}

.position-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -10px rgba(14, 65, 72, 0.18);
}

.position-icon {
  color: var(--petrol);
  margin-bottom: 26px;
}

.position-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-petrol);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.position-card p {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.7;
}

/* ==========================================================================
   RANGE GRID (HOMEPAGE)
   ========================================================================== */

.range-section {
  background: var(--light-surface);
}

.range-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.range-card {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.range-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -10px rgba(14, 65, 72, 0.22);
}

.range-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
  background: var(--line);
}

.range-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.range-card:hover .range-image img {
  transform: scale(1.05);
}

.range-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(14, 65, 72, 0.12) 100%);
  pointer-events: none;
}

.range-content {
  padding: 28px 26px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.range-content .eye {
  font-size: 10px;
  letter-spacing: 0.26em;
  color: var(--petrol);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.range-content h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--dark-petrol);
  margin-bottom: 12px;
  letter-spacing: -0.005em;
}

.range-content p {
  font-size: 14px;
  color: var(--secondary-text);
  margin-bottom: 22px;
  line-height: 1.65;
  flex: 1;
}

.range-meta {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--petrol);
  text-transform: uppercase;
  font-weight: 600;
}

.range-arrow {
  color: var(--petrol);
  transition: transform 0.25s ease, color 0.25s ease;
}

.range-card:hover .range-arrow {
  transform: translateX(4px);
  color: var(--gold);
}

/* ==========================================================================
   QUALITY & COMPLIANCE SECTION
   ========================================================================== */

.quality-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

.quality-text p {
  font-size: 15.5px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 20px;
}

.quality-list {
  list-style: none;
  margin-top: 32px;
}

.quality-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}

.quality-list li:last-child {
  border-bottom: none;
}

.quality-list .tick {
  color: var(--positive);
  flex-shrink: 0;
  margin-top: 3px;
}

.quality-badges {
  background:
    linear-gradient(180deg, rgba(7, 37, 41, 0.7), rgba(7, 37, 41, 0.06) 34%, rgba(7, 37, 41, 0.87) 69%, var(--deep-petrol)),
    var(--dark-petrol) url('../images/sections/quality-inspection.jpg') center 42% / cover no-repeat;
  color: var(--white);
  padding: clamp(24px, 4vw, 50px);
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 150px;
}

.badge-eyebrow {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 600;
}

.badge-stack .b {
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 500;
  color: var(--light-petrol);
  line-height: 1.15;
}

.badge-stack .b + .b {
  margin-top: 18px;
}

.badge-stack .b .emp {
  color: var(--white);
  font-weight: 700;
}

.badge-stack .sub {
  font-size: 13px;
  color: rgba(234, 244, 244, 0.75);
  margin-top: 18px;
  letter-spacing: 0.06em;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */

.services-section {
  background: var(--dark-petrol);
  color: var(--white);
}

.services-section .eyebrow {
  color: var(--gold-soft);
}

.services-section .section-title {
  color: var(--white);
}

.services-section .section-intro {
  color: var(--accent-petrol);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(169, 214, 219, 0.15);
  border: 1px solid rgba(169, 214, 219, 0.15);
}

.service-card {
  background: var(--dark-petrol);
  padding: 38px 32px;
  transition: background 0.25s ease;
}

.service-card:hover {
  background: rgba(24, 130, 142, 0.18);
}

.service-icon {
  width: 32px;
  height: 32px;
  color: var(--gold-soft);
  margin-bottom: 24px;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.005em;
}

.service-card p {
  font-size: 14px;
  color: var(--accent-petrol);
  line-height: 1.7;
}

/* ==========================================================================
   PROCESS SECTION
   ========================================================================== */

.process-section {
  background: var(--light-surface);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.process-step {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 38px 32px;
  position: relative;
}

.process-number {
  font-size: 48px;
  font-weight: 300;
  color: var(--petrol);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.process-icon {
  width: 28px;
  height: 28px;
  color: var(--petrol);
  position: absolute;
  top: 38px;
  right: 32px;
}

.process-step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-petrol);
  margin-bottom: 12px;
  margin-top: 10px;
  letter-spacing: -0.005em;
}

.process-step p {
  font-size: 14px;
  color: var(--secondary-text);
  line-height: 1.7;
}

/* ==========================================================================
   CONTACT SECTION & FORM
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(32px, 3.6vw, 44px);
  font-weight: 500;
  color: var(--dark-petrol);
  margin-bottom: 24px;
  letter-spacing: -0.015em;
}

.contact-info h2 b {
  font-weight: 700;
}

.contact-info > p {
  font-size: 16px;
  color: var(--secondary-text);
  line-height: 1.75;
  margin-bottom: 42px;
}

.contact-blocks {
  display: grid;
  gap: 28px;
}

.contact-block .lbl {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--petrol);
  font-weight: 600;
  margin-bottom: 10px;
}

.contact-block .val {
  font-size: 15px;
  color: var(--dark-petrol);
  font-weight: 500;
  line-height: 1.6;
}

.contact-block .val a {
  color: var(--petrol);
  font-weight: 600;
}

.contact-block .val a:hover {
  color: var(--gold);
}

.form {
  background: var(--light-surface);
  padding: 50px;
  border: 1px solid var(--line);
}

.form h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-petrol);
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}

.form .sub {
  font-size: 14px;
  color: var(--secondary-text);
  margin-bottom: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
}

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

.form-field--spaced {
  margin-bottom: 18px;
}

.form-field--message {
  margin-bottom: 22px;
}

.form-field label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--petrol);
  font-weight: 600;
  margin-bottom: 8px;
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: inherit;
  font-size: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--text);
  transition: border-color 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--petrol);
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--petrol);
  color: var(--white);
  padding: 16px 36px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 10px;
  transition: background 0.2s ease;
}

.form button[type="submit"]:hover {
  background: var(--gold);
}

.form-status {
  margin-top: 18px;
  padding: 14px 16px;
  background: rgba(46, 125, 91, 0.1);
  border-left: 3px solid var(--positive);
  color: var(--dark-petrol);
  font-size: 13.5px;
  font-weight: 500;
  display: none;
}

.form-status.is-visible {
  display: block;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: var(--dark-petrol);
  color: var(--accent-petrol);
  padding: 80px 40px 40px;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(169, 214, 219, 0.15);
}

.footer-brand p {
  font-size: 15px;
  color: rgba(234, 244, 244, 0.75);
  margin-top: 26px;
  line-height: 1.7;
  max-width: 340px;
  font-weight: 500;
}

.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 600;
  margin-bottom: 22px;
}

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

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

.footer-col a {
  font-size: 14px;
  color: rgba(234, 244, 244, 0.75);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-address {
  margin-top: 8px;
  color: rgba(234, 244, 244, 0.55);
  font-size: 13px;
  line-height: 1.65;
}

.footer-bottom {
  max-width: 1280px;
  margin: 28px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(234, 244, 244, 0.5);
}

.footer-bottom .legal a {
  margin-left: 24px;
}

.footer-bottom .legal a:hover {
  color: var(--white);
}

/* ==========================================================================
   RANGE DETAIL PAGE STYLES
   ========================================================================== */

.range-hero {
  --range-hero-image: url('../images/hero/hero-bg.jpg?v=20261204');
  background-color: var(--dark-petrol);
  background-image:
    linear-gradient(
      90deg,
      rgba(14, 65, 72, 0.90) 0%,
      rgba(14, 65, 72, 0.74) 60%,
      rgba(14, 65, 72, 0.42) 100%
    ),
    var(--range-hero-image);
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 140px 40px 100px;
  position: relative;
}

.range-hero--mdf-panels {
  --range-hero-image: url('../images/products/mdf-panels.jpg?v=20261204');
}

.range-hero--clt-panels {
  --range-hero-image: url('../images/products/clt-panels.jpg?v=20261204');
}

.range-hero--log-houses {
  --range-hero-image: url('../images/products/log-houses.jpg?v=20261204');
}

.range-hero--thermowood {
  --range-hero-image: url('../images/products/thermowood.jpg?v=20261204');
}

.range-hero--saunas {
  --range-hero-image: url('../images/products/saunas.jpg?v=20261204');
}

.range-hero--doors-furniture {
  --range-hero-image: url('../images/products/doors-furniture.jpg?v=20261204');
}

.range-hero--parquet {
  --range-hero-image: url('../images/products/parquet.jpg?v=20261204');
}

.range-hero--lumber {
  --range-hero-image: url('../images/products/lumber.jpg?v=20261204');
}

.range-hero--formwork {
  --range-hero-image: url('../images/products/formwork.jpg?v=20261204');
}

.range-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(234, 244, 244, 0.65);
  margin-bottom: 36px;
  font-weight: 500;
}

.breadcrumbs a {
  color: var(--light-petrol);
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: var(--white);
}

.breadcrumbs span {
  color: var(--white);
}

.cat-eye {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 600;
  margin-bottom: 20px;
}

.range-hero h1 {
  font-size: clamp(42px, 5.2vw, 72px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 900px;
  color: var(--white);
  margin-bottom: 20px;
}

.hero-tagline {
  font-size: 18px;
  color: rgba(234, 244, 244, 0.84);
  max-width: 680px;
  line-height: 1.6;
  font-weight: 400;
}

.range-intro {
  padding: 90px 40px;
  background: var(--white);
}

.intro-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}

.intro-text h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 500;
  color: var(--dark-petrol);
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.015em;
}

.intro-text p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.8;
}

.intro-apps {
  background: var(--light-surface);
  padding: 36px 32px;
  border-left: 3px solid var(--gold);
}

.app-list {
  list-style: none;
  margin-top: 8px;
}

.app-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-list .app-icon {
  color: var(--petrol);
}

.app-list li:last-child {
  border-bottom: none;
}

.products-section {
  padding: 110px 40px;
  background: var(--light-surface);
}

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

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -10px rgba(14, 65, 72, 0.18);
}

.product-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--line);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-card:hover .product-image img {
  transform: scale(1.04);
}

.product-content {
  padding: 26px 24px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark-petrol);
  margin-bottom: 10px;
  letter-spacing: -0.005em;
}

.product-content p {
  font-size: 13.5px;
  color: var(--secondary-text);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}

.product-specs {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 12.5px;
}

.spec-row + .spec-row {
  border-top: 1px solid var(--line);
}

.spec-k {
  color: var(--petrol-gray);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 10.5px;
}

.spec-v {
  color: var(--dark-petrol);
  font-weight: 600;
  text-align: right;
}

.cta-section {
  padding: 110px 40px;
  background: var(--white);
}

.cta-box {
  max-width: 1280px;
  margin: 0 auto;
  background:
    linear-gradient(90deg, rgba(7, 37, 41, 0.96), rgba(7, 37, 41, 0.75) 52%, rgba(7, 37, 41, 0.48)),
    var(--dark-petrol) url('../images/sections/quote-timber.jpg') right center / cover no-repeat;
  color: var(--white);
  padding: 70px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}

.cta-text .eyebrow {
  color: var(--gold-soft);
  margin-bottom: 14px;
}

.cta-text h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 500;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.015em;
}

.cta-text h2 b {
  font-weight: 700;
  color: var(--light-petrol);
}

.cta-text p {
  font-size: 15px;
  color: rgba(234, 244, 244, 0.8);
  line-height: 1.7;
  max-width: 520px;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-buttons .btn-ghost {
  background: rgba(7, 37, 41, 0.42);
}

.cta-buttons .btn-ghost:hover {
  background: var(--dark-petrol);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1100px) {
  .header-right {
    gap: 18px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 20px 40px;
    box-shadow: 0 18px 36px -14px rgba(14, 65, 72, 0.16);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .site-nav a {
    font-size: 15px;
    display: block;
    width: 100%;
    padding: 8px 0;
  }

  .name-section .container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .position-grid {
    grid-template-columns: 1fr;
  }

  .range-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .quality-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .quality-badges {
    aspect-ratio: auto;
    min-height: 360px;
  }

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

  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .hero-band .site-header:has(.site-nav.is-open),
  .hero-band .site-nav {
    background: var(--dark-petrol);
  }

  .hero-band .site-nav {
    padding: 4px var(--hero-gutter) 18px;
    border: 0;
  }

  .hero-band .site-nav ul {
    align-items: stretch;
    gap: 0;
  }

  .hero-band .site-nav a {
    width: 100%;
    border-bottom: 1px solid rgba(234, 244, 244, 0.14);
  }

  .hero-band .menu-toggle {
    border-color: rgba(234, 244, 244, 0.4);
    color: var(--white);
    width: 44px;
    height: 44px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

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

  .cta-box {
    grid-template-columns: 1fr;
    padding: 50px;
    gap: 40px;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 14px 20px;
  }

  .brand-logo {
    height: 38px;
  }

  .site-nav {
    padding: 16px 20px;
  }

  section {
    padding: 70px 20px;
  }

  .name-section {
    padding: 70px 20px;
  }

  .name-section .container {
    grid-template-columns: minmax(0, 1fr);
  }

  .name-visual {
    padding: 32px 20px;
  }

  .name-visual .latin {
    font-size: clamp(52px, 16vw, 84px);
  }

  .hero-band {
    --hero-gutter: clamp(17px, 5vw, 28px);
  }

  .hero-band .site-header {
    min-height: 66px;
    padding-block: 10px;
  }

  .hero-band .site-header .brand-logo {
    height: 50px;
  }

  .hero-band .header-right {
    gap: 8px;
  }

  .hero-band .lang-switch a {
    margin-inline: 0;
  }

  .hero {
    --hero-image-height: clamp(350px, 67vw, 495px);
    min-height: 0;
    padding-top: calc(var(--hero-image-height) - 58px);
    padding-bottom: 24px;
  }

  .hero-bg {
    bottom: auto;
    height: var(--hero-image-height);
    background:
      linear-gradient(to top, var(--deep-petrol), rgba(7, 37, 41, 0.26) 43%, transparent 66%),
      url('../images/hero/hero-bg.jpg?v=20261204') 80% center / cover no-repeat;
  }

  .hero-copy {
    max-width: 100%;
    gap: 16px;
  }

  .hero-pill {
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-stats {
    justify-self: stretch;
    gap: 8px;
    width: 100%;
  }

  .hero-stat {
    padding: 16px 6px;
  }

  .hero-stat dt {
    font-size: 9px;
    letter-spacing: 0.05em;
  }

  .hero-stat dd {
    font-size: 28px;
  }

  .range-hero {
    padding: 100px 20px 70px;
  }

  .range-hero h1 {
    font-size: 36px;
  }

  .range-grid,
  .services-grid,
  .process-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .footer-bottom .legal a {
    margin: 0 12px;
  }

  .form {
    padding: 28px;
  }

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

  .cta-section {
    padding: 70px 20px;
  }

  .cta-box {
    padding: 40px 28px;
  }
}
