/* ── Theme tokens ───────────────────────────────────────────── */

:root {
  --bg-page: #fafaf9;
  --bg-surface: #ffffff;
  --bg-muted: #f5f5f3;
  --text-primary: #1c1c1c;
  --text-muted: #5c5c5c;
  --border: #e8e8e6;
  --border-hover: #c8c8c4;
  --accent: #2d4a3e;
  --accent-hover: #1e3329;
  --overlay-bg: rgba(250, 250, 249, 0.92);
  --btn-text: #ffffff;
  --toggle-bg: #f5f5f3;
}

[data-theme="dark"] {
  --bg-page: #121212;
  --bg-surface: #1a1a1a;
  --bg-muted: #222222;
  --text-primary: #f0f0ed;
  --text-muted: #9a9a96;
  --border: #2e2e2e;
  --border-hover: #404040;
  --accent: #5a8f78;
  --accent-hover: #6da88d;
  --overlay-bg: rgba(26, 26, 26, 0.94);
  --btn-text: #ffffff;
  --toggle-bg: #2a2a2a;
}

/* ── Reset & base ─────────────────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease, color 0.25s ease;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button,
input,
select {
  font-family: inherit;
}

/* ── Layout helpers ───────────────────────────────────────── */

.eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.section-subtitle {
  margin-top: 0.75rem;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
}

/* ── Buttons ──────────────────────────────────────────────── */

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn--primary {
  background-color: var(--accent);
  color: var(--btn-text);
}

.btn--primary:hover {
  background-color: var(--accent-hover);
}

.btn--outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn--outline:hover {
  background-color: var(--accent);
  color: var(--btn-text);
}

/* ── Navbar ─────────────────────────────────────────────────── */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}

.navbar__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  gap: 1.5rem;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  height: auto;
  object-fit: contain;
}

.brand-logo--nav {
  width: clamp(150px, 24vw, 210px);
  max-height: 56px;
}

.brand-logo--footer {
  width: min(220px, 100%);
  max-height: 84px;
  margin-bottom: 1rem;
}

.brand-logo--about {
  width: min(280px, 100%);
  max-height: 100px;
  margin-bottom: 1.25rem;
}

.navbar__nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar__links > li > a,
.nav-dropdown__toggle {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #5c5c5c;
  transition: color 0.2s ease;
}

.navbar__links > li > a:hover,
.nav-dropdown__toggle:hover {
  color: #1c1c1c;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown__toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: #ffffff;
  border: 1px solid #e8e8e6;
  border-radius: 4px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown.is-open .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
}

.nav-dropdown__menu a {
  display: block;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  color: #5c5c5c;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-dropdown__menu a:hover {
  color: #1c1c1c;
  background-color: #fafaf9;
}

.nav-dropdown__label {
  padding: 0.5rem 1.25rem 0.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  pointer-events: none;
}

.nav-dropdown__divider {
  height: 1px;
  margin: 0.35rem 0;
  background: var(--border);
  list-style: none;
}

.navbar__cta {
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #2d4a3e;
  padding: 0.5rem 0;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.2s ease;
}

.navbar__cta:hover {
  border-bottom-color: var(--accent);
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: var(--toggle-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  color: var(--text-primary);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.theme-toggle__icon {
  display: block;
}

.theme-toggle__icon--moon {
  display: none;
}

[data-theme="dark"] .theme-toggle__icon--sun {
  display: none;
}

[data-theme="dark"] .theme-toggle__icon--moon {
  display: block;
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.navbar__toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #1c1c1c;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
}

.navbar__toggle[aria-expanded="true"] .navbar__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar__toggle[aria-expanded="true"] .navbar__toggle-bar:nth-child(2) {
  opacity: 0;
}

.navbar__toggle[aria-expanded="true"] .navbar__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Site banner ────────────────────────────────────────────── */

.site-banner {
  width: 100%;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border);
}

.site-banner__image {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(72vh, 560px);
  object-fit: contain;
  object-position: center;
}

/* ── Hero ───────────────────────────────────────────────────── */

.hero {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background-color: var(--bg-muted);
}

.hero-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 2.5rem);
  gap: 2rem;
  background-color: var(--bg-muted);
}

.hero-banner__content {
  text-align: center;
  max-width: 640px;
  width: 100%;
}

.hero-banner__headline {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.hero-banner__subline {
  margin-top: 1.25rem;
  font-size: clamp(0.9375rem, 2vw, 1.125rem);
  color: var(--text-muted);
  line-height: 1.7;
}

.hero-banner .btn--primary {
  margin-top: 1.75rem;
}

.hero-banner__slider {
  position: relative;
  width: 100%;
  max-width: 720px;
  height: clamp(360px, 48vw, 460px);
  padding-bottom: 3.5rem;
  background: var(--bg-muted);
  border: none;
  border-radius: 0;
  overflow: visible;
}

.hero-banner__slides {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 3.5rem;
  width: 100%;
}

.hero-banner__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  pointer-events: none;
}

.hero-banner__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
  pointer-events: auto;
}

.hero-banner__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.1));
}

.hero-banner__controls {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.hero-banner__btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  color: var(--text-primary);
  font-size: 1rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.hero-banner__btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-banner__dots {
  display: flex;
  gap: 0.5rem;
}

.hero-banner__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition: background-color 0.2s ease;
}

.hero-banner__dot.is-active {
  background: var(--accent);
}

/* ── Logo Strip ─────────────────────────────────────────────── */

.logo-strip {
  width: 100%;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
  overflow: hidden;
  padding: 1.25rem 0;
}

.logo-strip--alt {
  background: var(--bg-page);
}

.logo-strip__inner {
  max-width: 100%;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.logo-strip__track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  animation: scroll-logos 40s linear infinite;
  will-change: transform;
}

.logo-strip__track--reverse {
  animation-name: scroll-logos-reverse;
}

.logo-strip__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 2rem;
  padding-right: 2rem;
}

.logo-strip__badge {
  flex-shrink: 0;
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #5c5c5c;
  border: 1px solid #e8e8e6;
  border-radius: 4px;
  white-space: nowrap;
}

@keyframes scroll-logos {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes scroll-logos-reverse {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

/* ── About ──────────────────────────────────────────────────── */

.about {
  padding: clamp(3rem, 8vw, 6rem) 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.about__layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.about__subhead {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1c1c1c;
  margin-top: 0.5rem;
}

.about__tag {
  font-size: 0.9375rem;
  color: #5c5c5c;
  margin-top: 0.25rem;
}

.about__content p {
  font-size: 1.05rem;
  color: #5c5c5c;
  line-height: 1.75;
}

.about__content p + p {
  margin-top: 1rem;
}

.stat-callout {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid #e8e8e6;
  border-bottom: 1px solid #e8e8e6;
}

.stat-callout__number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d4a3e;
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-callout__label {
  font-size: 0.9375rem;
  color: #5c5c5c;
  max-width: 200px;
}

/* ── Expertise ──────────────────────────────────────────────── */

.expertise {
  padding: clamp(3rem, 8vw, 6rem) 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.expertise__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.expertise-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem;
  transition: border-color 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
}

.expertise-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.expertise-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.expertise-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Why Choose Us ──────────────────────────────────────────── */

.why-us {
  padding: clamp(3rem, 8vw, 6rem) 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.why-us__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.why-card {
  text-align: center;
  padding: 1.5rem 1rem;
}

.why-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--accent);
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.why-card h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.why-card p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Bornmil showcase (below banner) ────────────────────────── */

.bornmil-showcase {
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}

.bornmil-showcase__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.bornmil-showcase__header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.bornmil-showcase .products__grid {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1023px) {
  .bornmil-showcase .products__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .bornmil-showcase .products__grid {
    grid-template-columns: 1fr;
  }
}

/* ── Products ───────────────────────────────────────────────── */

.products {
  padding: clamp(3rem, 8vw, 6rem) 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.products__header {
  margin-bottom: 3rem;
}

.products__group + .products__group {
  margin-top: 3.5rem;
  padding-top: 3.5rem;
  border-top: 1px solid var(--border);
}

.products__group-header {
  margin-bottom: 1.75rem;
}

.products__group-title {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.products__group-desc {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.6;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.product-card {
  min-width: 0;
  background-color: #ffffff;
  border: 1px solid #e8e8e6;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: #c8c8c4;
}

.product-card__image {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: transparent;
  overflow: hidden;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
  transition: transform 0.25s ease;
}

.product-card:hover .product-card__image img {
  transform: scale(1.02);
}

.product-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.product-card__name {
  font-size: 1rem;
  font-weight: 600;
  color: #1c1c1c;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
}

.product-card__desc {
  margin-top: 0.375rem;
  font-size: 0.875rem;
  color: #5c5c5c;
  line-height: 1.5;
  overflow-wrap: break-word;
}

.product-card__price {
  display: block;
  margin-top: 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1c1c1c;
  line-height: 1.45;
  overflow-wrap: break-word;
}

.product-card__image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  background: var(--bg-muted);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  padding: 1rem;
}

.product-card__link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #2d4a3e;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.product-card__link:hover {
  border-bottom-color: #2d4a3e;
}

/* ── Gallery ────────────────────────────────────────────────── */

.gallery {
  padding: clamp(3rem, 8vw, 6rem) 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery__item {
  aspect-ratio: 1 / 1;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  padding: 1rem;
  transition: border-color 0.25s ease;
}

.gallery__item:hover {
  border-color: var(--border-hover);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.75rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
}

/* ── Testimonials ───────────────────────────────────────────── */

.testimonials {
  padding: clamp(3rem, 8vw, 6rem) 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.testimonial-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
}

.testimonial-card footer {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.testimonial-card cite {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  font-style: normal;
  color: var(--text-primary);
}

.testimonial-card footer span {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ── Contact Strip ──────────────────────────────────────────── */

.contact-strip {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 1.5rem;
}

.contact-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-strip__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 0.25rem;
}

.contact-strip__details {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.375rem;
}

.contact-strip__phone {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.01em;
}

.contact-strip__email {
  font-size: 0.9375rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.contact-strip__email:hover {
  color: var(--text-primary);
}

/* ── Callback Form ──────────────────────────────────────────── */

.callback {
  padding: clamp(3rem, 8vw, 6rem) 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.callback__layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.callback__intro p {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.callback-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  color: var(--text-primary);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: border-color 0.2s ease, background-color 0.25s ease, color 0.25s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group input.is-invalid,
.form-group select.is-invalid {
  border-color: #c44;
}

.form-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-success {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--accent);
}

.form-error {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #a33;
}

.form-error a {
  color: inherit;
  text-decoration: underline;
}

.btn--primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* ── Footer ─────────────────────────────────────────────────── */

.footer {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer__about {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer__copy {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer__social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer__social a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer__social a:hover {
  color: var(--accent);
}

.footer__links h4,
.footer__sitemap h4,
.footer__contact h4 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.footer__links ul,
.footer__sitemap ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__links a,
.footer__sitemap a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer__links a:hover,
.footer__sitemap a:hover {
  color: var(--text-primary);
}

.footer__contact p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer__contact p + p {
  margin-top: 0.375rem;
}

.footer__contact a {
  color: var(--accent);
  transition: color 0.2s ease;
}

.footer__contact a:hover {
  color: var(--accent-hover);
}

.footer__office {
  margin-top: 0.75rem;
}

.footer__office strong {
  color: var(--text-primary);
}

/* ── Product Detail Page ────────────────────────────────────── */

.product-detail {
  padding: clamp(3rem, 8vw, 5rem) 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.product-detail__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.product-detail__image {
  background: transparent;
  border: none;
  border-radius: 4px;
  padding: 1.5rem;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-detail__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.1));
}

.product-detail__info .eyebrow {
  margin-bottom: 0.5rem;
}

.product-detail__name {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1c1c1c;
}

.product-detail__price {
  display: block;
  margin-top: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #2d4a3e;
  line-height: 1.45;
}

.product-detail__desc {
  margin-top: 1.5rem;
  font-size: 1.05rem;
  color: #5c5c5c;
  line-height: 1.7;
}

.product-detail__benefits {
  margin-top: 2rem;
}

.product-detail__benefits h3 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #1c1c1c;
  margin-bottom: 0.75rem;
}

.product-detail__benefits ul {
  list-style: disc;
  padding-left: 1.25rem;
}

.product-detail__benefits li {
  font-size: 0.9375rem;
  color: #5c5c5c;
  line-height: 1.6;
  margin-bottom: 0.375rem;
}

.product-detail__meta {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e8e8e6;
  font-size: 0.875rem;
  color: #5c5c5c;
}

.product-detail__actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.product-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #5c5c5c;
  transition: color 0.2s ease;
}

.product-detail__back:hover {
  color: #1c1c1c;
}

/* ── Responsive ─────────────────────────────────────────────── */

@media (max-width: 1023px) {
  .products__grid,
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-us__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .brand-logo--nav {
    width: clamp(120px, 36vw, 170px);
    max-height: 48px;
  }

  .navbar__actions {
    order: 2;
    margin-left: auto;
    margin-right: 0.25rem;
  }

  .navbar__toggle {
    display: flex;
    order: 3;
  }

  .navbar__cta {
    display: none;
  }

  .navbar__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: flex-start;
    background-color: var(--bg-surface);
    border-bottom: 1px solid transparent;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    pointer-events: none;
    transform: translateY(-0.5rem);
    transition:
      max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.3s ease,
      transform 0.3s ease,
      padding 0.4s ease,
      border-color 0.3s ease;
  }

  .navbar__nav.is-open {
    max-height: 80vh;
    opacity: 1;
    overflow-y: auto;
    padding: 1rem 1.5rem 1.5rem;
    border-bottom-color: var(--border);
    pointer-events: auto;
    transform: translateY(0);
  }

  .navbar__links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .navbar__links > li {
    opacity: 0;
    transform: translateY(-0.375rem);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .navbar__nav.is-open .navbar__links > li {
    opacity: 1;
    transform: translateY(0);
  }

  .navbar__nav.is-open .navbar__links > li:nth-child(1) { transition-delay: 0.04s; }
  .navbar__nav.is-open .navbar__links > li:nth-child(2) { transition-delay: 0.07s; }
  .navbar__nav.is-open .navbar__links > li:nth-child(3) { transition-delay: 0.1s; }
  .navbar__nav.is-open .navbar__links > li:nth-child(4) { transition-delay: 0.13s; }
  .navbar__nav.is-open .navbar__links > li:nth-child(5) { transition-delay: 0.16s; }
  .navbar__nav.is-open .navbar__links > li:nth-child(6) { transition-delay: 0.19s; }
  .navbar__nav.is-open .navbar__links > li:nth-child(7) { transition-delay: 0.22s; }

  .navbar__links > li > a,
  .nav-dropdown__toggle {
    display: block;
    padding: 0.875rem 0;
    min-height: 44px;
    border-bottom: 1px solid #e8e8e6;
    width: 100%;
    text-align: left;
  }

  .nav-dropdown__menu {
    position: static;
    transform: none;
    visibility: visible;
    border: none;
    display: block;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 0 0 1rem;
    transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.35s ease;
  }

  .nav-dropdown.is-open .nav-dropdown__menu {
    max-height: 320px;
    opacity: 1;
    padding-bottom: 0.5rem;
  }

  .nav-dropdown__menu a {
    opacity: 0;
    transform: translateX(-0.25rem);
    transition: opacity 0.25s ease, transform 0.25s ease, color 0.2s ease, background-color 0.2s ease;
  }

  .nav-dropdown.is-open .nav-dropdown__menu a {
    opacity: 1;
    transform: translateX(0);
  }

  .nav-dropdown.is-open .nav-dropdown__menu li:nth-child(1) a { transition-delay: 0.05s; }
  .nav-dropdown.is-open .nav-dropdown__menu li:nth-child(2) a { transition-delay: 0.08s; }
  .nav-dropdown.is-open .nav-dropdown__menu li:nth-child(3) a { transition-delay: 0.11s; }
  .nav-dropdown.is-open .nav-dropdown__menu li:nth-child(4) a { transition-delay: 0.14s; }
  .nav-dropdown.is-open .nav-dropdown__menu li:nth-child(5) a { transition-delay: 0.17s; }
  .nav-dropdown.is-open .nav-dropdown__menu li:nth-child(6) a { transition-delay: 0.2s; }

  .hero-banner {
    padding: clamp(2.5rem, 8vw, 4rem) 1.5rem;
    gap: 1.75rem;
  }

  .hero-banner__slider {
    height: clamp(280px, 58vw, 360px);
    padding-bottom: 3rem;
  }

  .hero-banner__slides {
    bottom: 3rem;
  }

  .hero-banner__controls {
    bottom: 0;
  }

  .about__layout,
  .callback__layout,
  .product-detail__layout {
    grid-template-columns: 1fr;
  }

  .expertise__grid,
  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .why-us__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-strip__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-strip__details {
    align-items: flex-start;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 480px) {
  .products__grid,
  .gallery__grid,
  .why-us__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .product-card,
  .product-card__image img,
  .expertise-card,
  .navbar__toggle-bar,
  .btn,
  .navbar__links a,
  .navbar__cta,
  .footer__links a,
  .footer__sitemap a,
  .footer__contact a,
  .hero-banner__slide,
  .logo-strip__track,
  .logo-strip__track--reverse,
  .navbar__nav,
  .navbar__links > li,
  .nav-dropdown__menu,
  .nav-dropdown__menu a {
    transition: none;
    animation: none;
  }

  .navbar__nav.is-open .navbar__links > li,
  .nav-dropdown.is-open .nav-dropdown__menu a {
    transition-delay: 0s;
  }

  .product-card:hover,
  .expertise-card:hover {
    transform: none;
  }

  .product-card:hover .product-card__image img {
    transform: none;
  }
}
