/* VRIMAN GLOBAL INDUSTRIES — premium glass morphism */
:root {
  --ink: #0c0e12;
  --forest: #12141a;
  --forest-mid: #1a1d24;
  --leaf: #2a2e38;
  --brass: #1a1d24;
  --brass-bright: #2c313c;
  --brass-deep: #0c0e12;
  --champagne: #8a909c;
  --champagne-soft: rgba(138, 144, 156, 0.18);
  --cream: #f4f6f9;
  --mist: #e8ebf0;
  --stone: #4a4f5a;
  --white: #ffffff;
  --danger: #8b3a3a;
  --success: #1a5c3c;
  --accent: #1a1d24;
  --accent-soft: rgba(26, 29, 36, 0.08);
  --shadow: 0 18px 48px rgba(12, 14, 18, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --glass: rgba(255, 255, 255, 0.55);
  --glass-strong: rgba(255, 255, 255, 0.72);
  --glass-tint: rgba(255, 255, 255, 0.48);
  --glass-border: rgba(255, 255, 255, 0.65);
  --glass-border-dark: rgba(12, 14, 18, 0.08);
  --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  --glass-shadow:
    0 8px 32px rgba(12, 14, 18, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.7) inset;
  --glass-blur: blur(22px) saturate(160%);
  --glass-blur-strong: blur(28px) saturate(170%);
  --font-display: "Archivo", "Arial Narrow", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --nav-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --logo-nav-h: 46px;
  --space-1: 0.5rem;
  --space-2: 0.85rem;
  --space-3: 1.25rem;
  --space-4: 2rem;
  --space-5: 3.25rem;
  --space-6: 5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100%;
  background:
    radial-gradient(ellipse 50% 40% at 0% 0%, rgba(180, 190, 210, 0.28), transparent 58%),
    radial-gradient(ellipse 45% 35% at 100% 8%, rgba(200, 210, 225, 0.22), transparent 55%),
    radial-gradient(ellipse 40% 30% at 50% 100%, rgba(220, 225, 235, 0.35), transparent 60%),
    linear-gradient(165deg, #eef1f6 0%, #f7f8fb 42%, #e9edf3 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

/* Global: never put a white plate behind the brand mark */
img[src*="logo"] {
  background: transparent !important;
  mix-blend-mode: normal;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

iframe {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 2.75rem));
  margin-inline: auto;
}

@supports (padding: max(0px)) {
  .container {
    width: min(1120px, calc(100% - max(2.75rem, env(safe-area-inset-left) + env(safe-area-inset-right) + 1.5rem)));
  }
}

/* ——— Nav ——— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.72) 0%,
    rgba(255, 255, 255, 0.58) 100%
  );
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 10px 36px rgba(10, 10, 11, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(12, 14, 18, 0.1);
  transition: background 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}

.site-header.is-scrolled,
.site-header.solid {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.82) 0%,
    rgba(255, 255, 255, 0.72) 100%
  );
  box-shadow:
    0 14px 40px rgba(10, 10, 11, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(12, 14, 18, 0.16);
  border-bottom-color: rgba(255, 255, 255, 0.65);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 1rem;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  z-index: 2;
  flex-shrink: 0;
  min-width: 0;
}

.brand img,
.brand-logo {
  display: block;
  width: auto;
  height: var(--logo-nav-h);
  max-width: min(270px, 58vw);
  object-fit: contain;
  object-position: left center;
  background: transparent !important;
  filter: contrast(1.08) saturate(1.08);
}

.brand-name {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.35rem;
  list-style: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  padding: 0.35rem 0;
  transition: color 0.25s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--brass);
  transition: width 0.3s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brass);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  background: rgba(26, 29, 36, 0.88);
  color: var(--white) !important;
  padding: 0.55rem 1.15rem !important;
  border-radius: 999px;
  font-weight: 700 !important;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 8px 22px rgba(12, 14, 18, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  margin-left: 0.35rem;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--brass-deep) !important;
  color: var(--white) !important;
  box-shadow:
    0 12px 28px rgba(12, 14, 18, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(18, 18, 18, 0.1);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: 2;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s, opacity 0.3s;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 650;
  letter-spacing: 0.02em;
  line-height: 1.2;
  transform: translateY(0) scale(1);
  transition:
    transform 0.28s var(--ease),
    background 0.28s var(--ease),
    color 0.28s var(--ease),
    border-color 0.28s var(--ease),
    box-shadow 0.28s var(--ease),
    opacity 0.28s var(--ease);
  will-change: transform;
}

.btn:hover {
  transform: translateY(-2px) scale(1.01);
}

.btn:active {
  transform: translateY(0) scale(0.97);
  transition-duration: 0.12s;
}

.btn:focus-visible {
  outline: 2px solid rgba(26, 29, 36, 0.35);
  outline-offset: 3px;
}

.btn-primary {
  background: linear-gradient(165deg, rgba(44, 49, 60, 0.95) 0%, rgba(26, 29, 36, 0.98) 55%, #0c0e12 100%);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 12px 28px rgba(12, 14, 18, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.btn-primary:hover {
  background: linear-gradient(165deg, #2c313c 0%, #0c0e12 100%);
  box-shadow:
    0 16px 34px rgba(12, 14, 18, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-dark:hover {
  background: var(--brass);
  box-shadow: 0 12px 26px rgba(12, 14, 18, 0.16);
}

/* Shared micro-interaction for other controls */
.filter-btn,
.family-back,
.icon-btn,
.modal-close,
.lightbox-close,
.nav-toggle,
.nav-cta,
.whatsapp-float {
  transform: translateY(0) scale(1);
  transition:
    transform 0.28s var(--ease),
    background 0.28s var(--ease),
    color 0.28s var(--ease),
    border-color 0.28s var(--ease),
    box-shadow 0.28s var(--ease),
    opacity 0.28s var(--ease);
  will-change: transform;
}

.filter-btn:hover,
.family-back:hover,
.icon-btn:hover,
.modal-close:hover,
.lightbox-close:hover,
.nav-toggle:hover,
.nav-cta:hover,
.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.03);
}

.filter-btn:active,
.family-back:active,
.icon-btn:active,
.modal-close:active,
.lightbox-close:active,
.nav-toggle:active,
.nav-cta:active,
.whatsapp-float:active,
.btn:active {
  transform: translateY(0) scale(0.96);
  transition-duration: 0.12s;
}

.filter-btn:focus-visible,
.family-back:focus-visible,
.icon-btn:focus-visible,
.modal-close:focus-visible,
.lightbox-close:focus-visible,
.nav-toggle:focus-visible,
.nav-cta:focus-visible,
.whatsapp-float:focus-visible {
  outline: 2px solid rgba(26, 29, 36, 0.35);
  outline-offset: 3px;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: end start;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 18s var(--ease) infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(118deg, rgba(8, 8, 10, 0.92) 0%, rgba(32, 8, 10, 0.7) 48%, rgba(8, 8, 10, 0.35) 100%),
    linear-gradient(to top, rgba(8, 8, 10, 0.88) 0%, transparent 52%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(196, 165, 116, 0.12), transparent 60%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 3.75rem) 0 4.5rem;
  width: min(1120px, calc(100% - 2.75rem));
  margin-inline: auto;
  max-width: 720px;
}

.hero-logo-wrap {
  display: inline-flex;
  align-items: center;
  background: transparent;
  padding: 0;
  margin-bottom: 1.65rem;
  border: none;
  border-radius: 0;
  box-shadow: none;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.12s forwards;
}

.hero-logo {
  display: block;
  width: auto;
  height: clamp(56px, 10vw, 82px);
  max-width: min(440px, 86vw);
  object-fit: contain;
  background: transparent !important;
  /* Soft light halo so black/red mark stays readable on dark hero */
  filter:
    drop-shadow(0 0 1px rgba(255, 255, 255, 0.95))
    drop-shadow(0 0 10px rgba(255, 255, 255, 0.55))
    drop-shadow(0 10px 24px rgba(0, 0, 0, 0.55))
    contrast(1.1) saturate(1.1);
}

.hero-brand,
.hero-tagline,
.hero-aim {
  display: none;
}

.hero p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 44ch;
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.42s forwards;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.8vw, 2.55rem);
  font-weight: 700;
  line-height: 1.18;
  max-width: 16ch;
  margin-bottom: 0.9rem;
  letter-spacing: -0.02em;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.28s forwards;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.4);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.55s forwards;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-scroll {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(251, 250, 247, 0.55);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: bob 2.2s ease-in-out infinite;
}

.hero-scroll i {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--brass), transparent);
}

@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ——— Sections ——— */
.section {
  padding: var(--space-6) 0;
  position: relative;
}

.section-alt {
  background: transparent;
  padding: calc(var(--space-6) - 0.5rem) 0;
}

.section-alt::before {
  display: none;
}

.section-alt > .container {
  position: relative;
  z-index: 1;
  background: var(--glass-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(10, 10, 11, 0.08);
  border-radius: 20px;
  padding: clamp(1.85rem, 3.5vw, 2.85rem);
  box-shadow: var(--glass-shadow);
}

.section-dark {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.45) 45%, rgba(255, 255, 255, 0.15) 100%);
  color: var(--ink);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.65rem;
}

.section-dark .section-label {
  color: var(--brass);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.45rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  max-width: 20ch;
  color: var(--ink);
}

.section-dark .section-title {
  color: var(--ink);
}

.section-lead {
  color: var(--stone);
  max-width: 54ch;
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.section-dark .section-lead {
  color: var(--stone);
}

.section-head {
  margin-bottom: 2.25rem;
}

/* ——— Pillars ——— */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.pillar {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius);
  isolation: isolate;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.pillar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
  z-index: -2;
}

.pillar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 18, 16, 0.92) 0%, rgba(12, 18, 16, 0.25) 55%, transparent 100%);
  z-index: -1;
  transition: background 0.4s;
}

.pillar:hover img {
  transform: scale(1.08);
}

.pillar-body {
  position: absolute;
  inset: auto 0 0;
  padding: 2rem;
  color: var(--white);
}

.pillar-body h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  margin-bottom: 0.5rem;
}

.pillar-body p {
  color: rgba(251, 250, 247, 0.75);
  margin-bottom: 1rem;
  max-width: 36ch;
}

.pillar-link {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.pillar-link svg {
  transition: transform 0.3s var(--ease);
}

.pillar:hover .pillar-link svg {
  transform: translateX(4px);
}

/* ——— Product grid ——— */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.75rem;
}

.filters[hidden],
#product-filters[hidden] {
  display: none !important;
}

.filter-btn {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  color: var(--ink);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.2;
  box-shadow: var(--glass-shadow);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  box-shadow: 0 10px 22px rgba(12, 14, 18, 0.14);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 1.15rem;
}

.product-card {
  background: var(--glass-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(10, 10, 11, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.3s var(--ease);
  cursor: pointer;
  text-align: left;
  width: 100%;
  font: inherit;
  color: inherit;
  padding: 0;
  box-shadow: var(--glass-shadow);
  transform: translateY(0) scale(1);
  will-change: transform;
}

.section-alt .product-card {
  background: rgba(255, 255, 255, 0.55);
}

.product-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 18px 40px rgba(12, 14, 18, 0.1);
  border-color: rgba(255, 255, 255, 0.85);
}

.product-card:active {
  transform: translateY(-1px) scale(0.985);
  transition-duration: 0.12s;
}

.product-card:focus-visible {
  outline: 2px solid rgba(26, 29, 36, 0.35);
  outline-offset: 3px;
}

.product-card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--mist);
  position: relative;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: transform 0.6s var(--ease);
}

.product-card:hover .product-card-media img {
  transform: scale(1.05);
}

.product-card-body {
  padding: 1.1rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.product-cat {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-deep);
  font-weight: 700;
}

.product-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.25;
}

.product-card p {
  color: var(--stone);
  font-size: 0.95rem;
  flex: 1;
}

.product-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--success);
  margin-top: 0.35rem;
}

.product-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.product-status.unavailable {
  color: var(--danger);
}

.product-meta {
  display: block;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-top: 0.15rem;
}

.product-meta em {
  font-style: normal;
  color: var(--stone);
  font-weight: 500;
}

.product-card--parent {
  position: relative;
}

.product-expand-badge {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(10, 10, 11, 0.1);
  box-shadow: 0 6px 16px rgba(10, 10, 11, 0.12);
  display: grid;
  place-items: center;
}

.product-expand-badge::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid var(--ink);
  border-top: 2px solid var(--ink);
  transform: rotate(45deg);
}

.family-bar {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.35rem;
  padding: 1.15rem 1.2rem 1.25rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(10, 10, 11, 0.08);
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.family-bar[hidden] {
  display: none !important;
}

.family-back {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(10, 10, 11, 0.12);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 650;
  cursor: pointer;
}

.family-back:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 0 10px 22px rgba(12, 14, 18, 0.14);
}

.family-bar-copy .section-label {
  margin-bottom: 0.35rem;
}

.family-bar-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.2;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.family-bar-copy p:last-child {
  color: var(--stone);
  max-width: 54ch;
  margin: 0;
}

.product-grid--family {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
}

.product-card--variant {
  background: rgba(255, 255, 255, 0.78);
}

.product-card--variant .product-card-media {
  aspect-ratio: 16 / 10;
}

.modal-parent {
  margin: -0.35rem 0 0.75rem;
  font-size: 0.92rem;
  color: var(--stone);
}

.modal-rpm {
  margin-bottom: 0.35rem;
}

/* ——— Reveal ——— */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ——— About / stats ——— */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.about-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 420px;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.about-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(to top, rgba(18, 18, 18, 0.85), transparent);
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.stat {
  padding: 1.05rem 1.05rem 1.05rem 1.15rem;
  border-left: 3px solid var(--brass);
  background: #fff;
  border-radius: 0 12px 12px 0;
  border-top: 1px solid rgba(10, 10, 11, 0.06);
  border-right: 1px solid rgba(10, 10, 11, 0.06);
  border-bottom: 1px solid rgba(10, 10, 11, 0.06);
  box-shadow: 0 8px 20px rgba(10, 10, 11, 0.05);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat span {
  font-size: 0.88rem;
  color: var(--stone);
}

/* ——— Testimonials ——— */
.testimonial-track-wrap {
  overflow: hidden;
  position: relative;
}

.testimonial-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.55s var(--ease);
}

.testimonial {
  flex: 0 0 min(100%, 380px);
  max-width: 100%;
  box-sizing: border-box;
  background: var(--glass-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(10, 10, 11, 0.08);
  border-radius: var(--radius);
  padding: 1.5rem;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--glass-shadow);
}

.testimonial blockquote {
  font-size: 1.05rem;
  line-height: 1.55;
  flex: 1;
  margin-bottom: 1.25rem;
  color: var(--ink);
}

.testimonial-stars {
  color: var(--brass);
  letter-spacing: 0.08em;
  margin-bottom: 0.65rem;
  font-size: 0.85rem;
}

.testimonial footer {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.testimonial footer strong {
  color: var(--ink);
}

.testimonial footer span {
  font-size: 0.85rem;
  color: var(--stone);
}

.testimonial-controls {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(10, 10, 11, 0.12);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(10, 10, 11, 0.06);
}

.icon-btn:hover {
  background: var(--brass);
  color: #fff;
  border-color: var(--brass);
  box-shadow: 0 10px 22px rgba(12, 14, 18, 0.12);
}

/* ——— Values ——— */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.value-card {
  padding: 1.55rem 1.4rem;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow);
}

.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.value-card p {
  color: var(--stone);
  font-size: 0.98rem;
}

/* ——— Contact ——— */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 1.75rem;
  align-items: stretch;
}

.contact-panel {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow);
  padding: 1.45rem 1.4rem 1.25rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.contact-heading {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
  max-width: none;
  margin: 0;
}

.contact-item strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.3rem;
}

.contact-item a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
  align-content: start;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  padding: 1.55rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--glass-shadow);
  min-width: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--ink);
  transition: color 0.3s var(--ease), letter-spacing 0.35s var(--ease);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(10, 10, 11, 0.14);
  border-radius: var(--radius-sm);
  background: rgba(10, 11, 13, 0.045);
  color: var(--ink);
  outline: none;
  transition:
    border-color 0.35s var(--ease),
    box-shadow 0.4s var(--ease),
    background-color 0.35s ease,
    transform 0.35s var(--ease);
  box-shadow: none;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(10, 10, 11, 0.38);
  transition: color 0.3s ease, opacity 0.3s ease;
}

.field input:hover,
.field textarea:hover,
.field select:hover {
  border-color: rgba(143, 115, 80, 0.42);
  background: rgba(143, 115, 80, 0.06);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--brass);
  background: rgba(255, 252, 247, 0.95);
  box-shadow:
    0 0 0 1px var(--brass),
    0 10px 28px rgba(143, 115, 80, 0.12);
}

.field input:focus::placeholder,
.field textarea:focus::placeholder {
  opacity: 0.45;
  color: rgba(10, 10, 11, 0.28);
}

.field:focus-within label {
  color: var(--brass-deep, #8f7350);
  letter-spacing: 0.01em;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.theme-select {
  position: relative;
}

.theme-select-native {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.theme-select-trigger {
  width: 100%;
  padding: 0.85rem 2.4rem 0.85rem 1rem;
  border: 1px solid rgba(10, 10, 11, 0.14);
  border-radius: var(--radius-sm);
  background: rgba(10, 11, 13, 0.045);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
  transition:
    border-color 0.35s var(--ease),
    box-shadow 0.4s var(--ease),
    background-color 0.35s ease;
  position: relative;
}

.theme-select-trigger::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
  opacity: 0.55;
  pointer-events: none;
  transition: transform 0.3s var(--ease), opacity 0.25s ease;
}

.theme-select.open .theme-select-trigger::after {
  transform: translateY(-35%) rotate(225deg);
  opacity: 0.75;
}

.theme-select-trigger:hover {
  border-color: rgba(143, 115, 80, 0.42);
  background: rgba(143, 115, 80, 0.06);
}

.theme-select-trigger:focus {
  outline: none;
}

.theme-select-trigger:focus-visible,
.theme-select.open .theme-select-trigger {
  border-color: var(--brass);
  background: rgba(255, 252, 247, 0.95);
  box-shadow:
    0 0 0 1px var(--brass),
    0 10px 28px rgba(143, 115, 80, 0.12);
}

.theme-select-menu {
  position: absolute;
  z-index: 40;
  inset: calc(100% + 0.35rem) 0 auto;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(10, 10, 11, 0.1);
  border-radius: var(--radius-sm);
  box-shadow: 0 16px 36px rgba(10, 10, 11, 0.12);
  display: grid;
  gap: 0.2rem;
}

.theme-select-menu[hidden] {
  display: none;
}

.theme-select-option {
  padding: 0.7rem 0.85rem;
  border-radius: 6px;
  cursor: pointer;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.3;
}

.theme-select-option:hover,
.theme-select-option:focus-visible {
  background: rgba(12, 14, 18, 0.08);
  outline: none;
}

.theme-select-option.is-selected {
  background: transparent;
  color: var(--ink);
  font-weight: 600;
}

.theme-select-option.is-selected::after {
  content: "";
  float: right;
  width: 0.45rem;
  height: 0.45rem;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: var(--brass);
}

.form-note {
  font-size: 0.85rem;
  color: var(--stone);
}

.form-success {
  display: none;
  padding: 1rem;
  background: rgba(45, 107, 79, 0.12);
  border: 1px solid rgba(45, 107, 79, 0.3);
  color: var(--success);
  border-radius: var(--radius);
}

.form-success.show {
  display: block;
}

/* ——— Page hero (inner) ——— */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 3.25rem) 0 3rem;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  --page-hero-image: url("../img/hero-home.jpg?v=3");
  min-height: clamp(14rem, 28vw, 20rem);
}

.page-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: opacity 0.35s var(--ease, ease);
}

.page-hero-media img.is-fading {
  opacity: 0;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(115deg, rgba(8, 8, 10, 0.78) 0%, rgba(20, 10, 12, 0.55) 55%, rgba(8, 8, 10, 0.45) 100%),
    var(--page-hero-image) center/cover;
  opacity: 1;
  mix-blend-mode: normal;
  pointer-events: none;
}

/* Dynamic covers use an <img>; overlay only on ::before */
.page-hero--dynamic::before {
  background: linear-gradient(
    115deg,
    rgba(8, 8, 10, 0.78) 0%,
    rgba(20, 10, 12, 0.55) 55%,
    rgba(8, 8, 10, 0.45) 100%
  );
}

.page-hero--products {
  --page-hero-image: url("../img/hero-products.jpg?v=3");
}

.page-hero--gallery {
  --page-hero-image: url("../img/hero-gallery.jpg?v=3");
}

.page-hero--about {
  --page-hero-image: url("../img/hero-about.jpg?v=3");
}

.page-hero--contact {
  --page-hero-image: url("../img/hero-contact.jpg?v=3");
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.page-hero p {
  max-width: 48ch;
  color: rgba(243, 239, 230, 0.75);
  font-size: 1.05rem;
}

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(243, 239, 230, 0.55);
  margin-bottom: 1rem;
}

.breadcrumb a:hover {
  color: var(--brass-bright);
}

/* ——— Modal ——— */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 12, 0.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal-backdrop.open {
  display: flex;
}

.modal {
  background: #ffffff;
  width: min(860px, 100%);
  max-height: min(90vh, 900px);
  overflow: auto;
  border-radius: calc(var(--radius) + 4px);
  position: relative;
  animation: modalIn 0.35s var(--ease);
  border: 1px solid rgba(10, 10, 11, 0.1);
  box-shadow: 0 28px 70px rgba(10, 10, 11, 0.28);
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.modal-close {
  position: sticky;
  top: 0.75rem;
  float: right;
  z-index: 5;
  width: 40px;
  height: 40px;
  margin: 0.75rem 0.75rem -3.25rem 0;
  border: none;
  border-radius: 50%;
  background: rgba(18, 18, 18, 0.78);
  color: var(--white);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.modal-close:hover {
  background: rgba(26, 29, 36, 0.95);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
}

.modal-media {
  aspect-ratio: 4 / 3;
  width: 100%;
  overflow: hidden;
  background: var(--mist);
  position: relative;
}

.modal-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  display: block;
}

.modal-body {
  padding: 1.75rem;
}

.modal-body h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.modal-body .product-cat {
  margin-bottom: 0.75rem;
}

.modal-body p {
  color: var(--stone);
  margin-bottom: 1.25rem;
}

.specs {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.specs li {
  padding-left: 1.2rem;
  position: relative;
  color: var(--forest);
}

.specs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  background: var(--brass);
  border-radius: 1px;
}

.category-benefits {
  margin: 0 0 1.75rem;
  padding: 1.35rem 1.5rem 1.45rem;
  background:
    linear-gradient(135deg, rgba(28, 48, 40, 0.04), rgba(196, 154, 74, 0.08)),
    var(--paper, #f7f4ef);
  border-left: 3px solid var(--brass, #c49a4a);
}

.category-benefits[hidden] {
  display: none;
}

.category-benefits-label {
  margin: 0 0 0.45rem;
  font-family: var(--font-display, "Archivo", sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest, #1c3028);
}

.category-benefits-lead {
  margin: 0 0 0.95rem;
  max-width: 62ch;
  color: var(--stone, #5c635c);
  font-size: 0.98rem;
  line-height: 1.55;
}

.category-benefits-list {
  list-style: none;
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
}

.category-benefits-list li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--forest, #1c3028);
  font-size: 0.95rem;
  line-height: 1.5;
}

.category-benefits-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  background: var(--brass, #c49a4a);
  border-radius: 1px;
}

.product-benefits {
  list-style: none;
  display: grid;
  gap: 0.4rem;
  margin: 0.65rem 0 0.85rem;
  padding: 0;
  text-align: left;
}

.product-card .product-benefits {
  margin-top: 0.55rem;
}

.product-benefits li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--forest, #1c3028);
}

.product-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  background: var(--brass, #c49a4a);
  border-radius: 1px;
}

.modal-benefits {
  margin-bottom: 1rem;
}

.modal-benefits-label {
  margin: 0 0 0.45rem;
  font-family: var(--font-display, "Archivo", sans-serif);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest, #1c3028);
}

.modal-benefits .product-benefits {
  margin: 0;
}

@media (min-width: 768px) {
  .category-benefits-list {
    grid-template-columns: 1fr;
  }
}

/* ——— Footer ——— */
.site-footer {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.72) 0%,
    rgba(255, 255, 255, 0.82) 100%
  );
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  color: var(--stone);
  padding: 3.75rem 0 1.85rem;
  border-top: 1px solid rgba(10, 10, 11, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 -12px 40px rgba(10, 10, 11, 0.04);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-bottom: 1.15rem;
  background: transparent;
  padding: 0;
  border-radius: 0;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.footer-brand img {
  width: auto;
  height: 48px;
  max-width: 250px;
  border-radius: 0;
  object-fit: contain;
  object-position: left center;
  background: transparent !important;
  padding: 0;
  filter: contrast(1.08) saturate(1.08);
}

.footer-brand span {
  display: none;
}

.footer-grid h4 {
  color: var(--brass);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-grid ul {
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.footer-grid a {
  color: var(--ink);
}

.footer-grid a:hover {
  color: var(--brass);
}

.footer-bottom {
  border-top: 1px solid rgba(10, 10, 11, 0.08);
  padding-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--stone);
}

.footer-bottom > span {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0;
}

/* ——— Gallery ——— */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.gallery-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
  cursor: pointer;
  font: inherit;
  color: inherit;
  transform: translateY(0) scale(1);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.3s var(--ease);
  will-change: transform;
}

.gallery-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 18px 40px rgba(12, 14, 18, 0.1);
}

.gallery-card:active {
  transform: translateY(-1px) scale(0.985);
  transition-duration: 0.12s;
}

.gallery-card:focus-visible {
  outline: 2px solid rgba(26, 29, 36, 0.35);
  outline-offset: 3px;
}

.gallery-card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--mist);
}

.gallery-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.gallery-card:hover .gallery-card-media img {
  transform: scale(1.05);
}

.gallery-card-body {
  padding: 1.1rem 1.15rem 1.25rem;
}

.gallery-cat {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.35rem;
}

.gallery-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.gallery-card-body p {
  color: var(--stone);
  font-size: 0.92rem;
  line-height: 1.5;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 10, 14, 0.78);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox-close {
  position: absolute;
  top: max(1rem, env(safe-area-inset-top));
  right: max(1rem, env(safe-area-inset-right));
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.lightbox-figure {
  max-width: min(960px, 100%);
  max-height: min(88vh, 100%);
  margin: 0;
}

.lightbox-figure img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  margin-inline: auto;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.lightbox-figure figcaption {
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
  margin-top: 0.85rem;
  font-size: 0.95rem;
}

/* ——— Contact map ——— */
.contact-map {
  margin-top: auto;
  display: grid;
  gap: 0.65rem;
}

.map-frame {
  height: 240px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
  background: rgba(232, 236, 242, 0.9);
  z-index: 1;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-open-link {
  display: inline-block;
  font-weight: 650;
  font-size: 0.92rem;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.whatsapp-float {
  position: fixed;
  right: max(1.1rem, env(safe-area-inset-right));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  z-index: 90;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
}

.whatsapp-float:hover {
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.42);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

/* ——— Empty / loading ——— */
.state-msg {
  padding: 2.5rem;
  text-align: center;
  color: var(--stone);
  grid-column: 1 / -1;
}

.skeleton {
  background: linear-gradient(90deg, var(--mist) 25%, var(--cream) 50%, var(--mist) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s linear infinite;
  border-radius: var(--radius);
  min-height: 280px;
}

@keyframes shimmer {
  to { background-position: -200% 0; }
}

/* ——— Responsive ——— */
@media (max-width: 1100px) {
  .nav-links {
    gap: 0.2rem 0.7rem;
  }

  .nav-links a {
    font-size: 0.78rem;
    letter-spacing: 0.04em;
  }

  .nav-cta {
    padding: 0.5rem 0.95rem !important;
    margin-left: 0.15rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand img,
  .brand-logo {
    max-width: min(220px, 42vw);
  }

  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }

  .pillars .pillar:last-child {
    grid-column: 1 / -1;
  }
}

/* iPad / large phones: hamburger + single-column shells */
@media (max-width: 1024px) {
  body {
    background-attachment: scroll;
  }

  .site-header {
    z-index: 200;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.97);
  }

  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 210;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    margin: 0;
    padding:
      max(5.5rem, env(safe-area-inset-top) + 4.5rem)
      max(1.5rem, env(safe-area-inset-right))
      max(2rem, env(safe-area-inset-bottom))
      max(1.5rem, env(safe-area-inset-left));
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 1.15rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease), visibility 0.4s;
    border: none;
    box-shadow: none;
    z-index: 190;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    visibility: hidden;
    pointer-events: none;
  }

  .nav-links.open {
    transform: none;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links a {
    color: var(--ink);
    font-size: clamp(1.05rem, 3.5vw, 1.2rem);
    padding: 0.65rem 1rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 0.35rem;
    padding: 0.75rem 1.35rem !important;
    min-height: 44px;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 900px) {
  :root {
    --space-6: 3.75rem;
    --space-5: 2.5rem;
  }

  .container {
    width: min(1120px, calc(100% - 2rem));
  }

  .pillars,
  .about-grid,
  .contact-grid,
  .values-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .pillars .pillar:last-child {
    grid-column: auto;
  }

  .footer-grid {
    gap: 1.75rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 2.5rem) 0 5.5rem;
    max-width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
    min-width: min(100%, 10rem);
    min-height: 44px;
  }

  .page-hero {
    padding: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 2.25rem) 0 2.35rem;
  }

  .page-hero h1 {
    font-size: clamp(1.85rem, 8vw, 2.8rem);
  }

  .section-alt > .container {
    padding: 1.35rem 1.15rem;
    border-radius: 18px;
  }

  .contact-panel,
  .contact-form {
    width: 100%;
  }

  .modal-backdrop {
    padding: 0.85rem;
    align-items: center;
    justify-content: center;
  }

  .modal {
    width: min(860px, 100%);
    max-height: min(90dvh, 900px);
    border-radius: 14px;
    overflow: auto;
  }

  .modal-media {
    aspect-ratio: 4 / 3;
    width: 100%;
  }

  .modal-body {
    padding: 1.25rem 1.2rem 1.4rem;
  }

  .filters {
    gap: 0.45rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.15rem;
    padding-right: 0.5rem;
    scrollbar-width: thin;
    flex-wrap: nowrap;
  }

  .filter-btn {
    padding: 0.55rem 0.95rem;
    font-size: 0.84rem;
    flex: 0 0 auto;
    min-height: 40px;
  }

  .field input,
  .field textarea,
  .field select,
  .theme-select-trigger {
    font-size: 16px; /* prevents iOS zoom on focus */
  }

  .lightbox {
    padding: max(0.75rem, env(safe-area-inset-top)) max(0.75rem, env(safe-area-inset-right)) max(0.75rem, env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
  }

  .lightbox-close {
    top: max(0.75rem, env(safe-area-inset-top));
    right: max(0.75rem, env(safe-area-inset-right));
  }
}

@media (max-width: 720px) {
  :root {
    --nav-h: 72px;
    --logo-nav-h: 34px;
    --space-6: 3.25rem;
  }

  .container {
    width: min(1120px, calc(100% - 1.5rem));
  }

  .hero-logo-wrap {
    padding: 0;
    max-width: 100%;
    margin-bottom: 1.15rem;
  }

  .hero-logo {
    height: clamp(44px, 12vw, 56px);
    max-width: min(100%, 300px);
  }

  .hero h1 {
    font-size: clamp(1.55rem, 7.2vw, 2.1rem);
    max-width: none;
  }

  .hero p {
    font-size: 0.98rem;
    max-width: none;
  }

  .section-title {
    font-size: clamp(1.45rem, 6vw, 2rem);
    max-width: none;
  }

  .footer-brand img {
    height: 40px;
    max-width: min(200px, 70vw);
  }

  .product-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.95rem;
  }

  .pillar {
    min-height: min(300px, 70vw);
  }

  .about-visual {
    min-height: 260px;
  }

  .contact-panel {
    padding: 1.2rem 1.1rem 1.05rem;
  }

  .contact-form {
    padding: 1.2rem;
  }

  .map-frame {
    height: 210px;
  }

  .site-footer {
    padding: 2.75rem 0 max(1.5rem, env(safe-area-inset-bottom));
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    right: max(0.85rem, env(safe-area-inset-right));
    bottom: max(0.95rem, env(safe-area-inset-bottom));
  }

  .gallery-card-body,
  .product-card-body {
    padding: 1rem 1rem 1.1rem;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
}

/* iPhone SE / small phones */
@media (max-width: 480px) {
  :root {
    --logo-nav-h: 30px;
    --nav-h: 68px;
    --space-6: 2.75rem;
    --space-5: 2rem;
  }

  .container {
    width: calc(100% - 1.15rem);
  }

  .brand img,
  .brand-logo {
    max-width: min(168px, 58vw);
  }

  .hero-content {
    padding: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 1.75rem) 0 4.5rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-actions .btn,
  .contact-form .btn,
  .cta-band .btn,
  .modal-body .btn {
    width: 100%;
    max-width: 100%;
    padding: 0.8rem 1.15rem;
  }

  .filter-btn {
    width: auto;
  }

  .section-alt > .container {
    padding: 1.1rem 0.9rem;
    border-radius: 14px;
  }

  .page-hero h1 {
    font-size: clamp(1.55rem, 8vw, 1.85rem);
  }

  .page-hero p {
    font-size: 0.95rem;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .pillar {
    min-height: 260px;
  }

  .pillar-body {
    padding: 1.2rem;
  }

  .pillar-body h3 {
    font-size: 1.35rem;
  }

  .testimonial {
    flex: 0 0 100%;
    min-width: 0;
  }

  .modal-body h2 {
    font-size: 1.3rem;
  }

  .map-frame {
    height: 200px;
  }

  .contact-heading {
    font-size: 1.3rem;
  }

  .footer-grid h4 {
    margin-top: 0.25rem;
  }
}

@media (max-width: 360px) {
  .brand img,
  .brand-logo {
    max-width: min(140px, 52vw);
  }

  .hero-logo {
    max-width: min(100%, 240px);
  }

  .filter-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }

  .nav-links a {
    font-size: 1rem;
  }
}

@media (min-width: 1400px) {
  .container {
    width: min(1200px, calc(100% - 3.5rem));
  }

  .hero-content {
    max-width: 760px;
  }
}

/* iPad portrait: keep 2-up cards where it still reads well */
@media (min-width: 721px) and (max-width: 900px) {
  .product-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }

  .pillars .pillar:last-child {
    grid-column: 1 / -1;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid .value-card:last-child {
    grid-column: 1 / -1;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .btn,
  .btn:hover,
  .btn:active,
  .filter-btn,
  .filter-btn:hover,
  .filter-btn:active,
  .family-back,
  .family-back:hover,
  .family-back:active,
  .icon-btn,
  .icon-btn:hover,
  .icon-btn:active,
  .modal-close,
  .modal-close:hover,
  .modal-close:active,
  .lightbox-close,
  .lightbox-close:hover,
  .lightbox-close:active,
  .nav-toggle,
  .nav-toggle:hover,
  .nav-toggle:active,
  .nav-cta,
  .nav-cta:hover,
  .nav-cta:active,
  .whatsapp-float,
  .whatsapp-float:hover,
  .whatsapp-float:active,
  .product-card,
  .product-card:hover,
  .product-card:active,
  .gallery-card,
  .gallery-card:hover,
  .gallery-card:active {
    transform: none !important;
  }

  html {
    scroll-behavior: auto;
  }

  .hero-media img {
    animation: none;
  }
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #1a1d24;
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}
.skip-link:focus {
  left: max(0.75rem, env(safe-area-inset-left));
  top: max(0.75rem, env(safe-area-inset-top));
}

/* ——— Gallery Grid & Clean Photo Cards ——— */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.gallery-card {
  display: block;
  background: var(--card-bg, #ffffff);
  border-radius: var(--radius, 14px);
  overflow: hidden;
  border: 1px solid rgba(10, 10, 11, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  padding: 0;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.gallery-card:hover,
.gallery-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
  border-color: var(--brass, #c5a059);
  outline: none;
}

.gallery-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f0f2f5;
}

.gallery-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.gallery-card:hover .gallery-card-media img {
  transform: scale(1.05);
}

/* ——— Lightbox & Category-Limited Prev/Next Arrows ——— */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(12, 14, 18, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, transform 0.25s;
  z-index: 1010;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.08);
  outline: none;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: #ffffff;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, transform 0.25s, border-color 0.25s;
  z-index: 1010;
  user-select: none;
}

.lightbox-prev {
  left: 1.75rem;
}

.lightbox-next {
  right: 1.75rem;
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  background: var(--brass, #c5a059);
  border-color: var(--brass, #c5a059);
  color: #1a1d24;
  transform: translateY(-50%) scale(1.1);
  outline: none;
}

.lightbox-figure {
  margin: 0;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-figure img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .lightbox-nav {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
  }
  .lightbox-prev {
    left: 0.75rem;
  }
  .lightbox-next {
    right: 0.75rem;
  }
}


