/* =========================================================
   The Stitchery Co — homepage
   Light, editorial style (Runway-inspired) on Bootstrap 5
   ========================================================= */

:root {
  --bg: #ffffff;
  --surface: #f7f7f7;          /* cards, tiles */
  --surface-2: #eef1f5;        /* secondary buttons, chips */
  --paper: #f2f2f0;            /* panel behind white-background mockups */
  --line: #e8e8e8;
  --ink: #0c0c0c;              /* headings, primary buttons */
  --ink-2: #262626;
  --text: #404040;             /* body copy */
  --muted: #8a8a8a;
  --dark: #0c0c0c;             /* dark feature cards */
  --accent: #ff5b2e;           /* thread orange, used sparingly */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-btn: 6px;
  --font: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;                    /* body */
  --font-heading: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;               /* headings, numbers, logo */
  --heading-weight: 600;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --gutter: clamp(16px, 2vw, 28px);
  /* Spacing scale: one rhythm for the whole page */
  --space-section: clamp(72px, 8vw, 120px);  /* between sections */
  --space-head: clamp(32px, 3.5vw, 48px);    /* section heading -> content */
  --space-block: clamp(24px, 2.5vw, 40px);   /* between blocks inside a section */
  --space-card: clamp(20px, 2.2vw, 32px);    /* padding inside cards */

  --bs-body-bg: var(--bg);
  --bs-body-color: var(--text);
  --bs-body-font-family: var(--font);
  --bs-border-color: var(--line);
  --bs-link-color-rgb: 12, 12, 12;
  --bs-link-hover-color-rgb: 12, 12, 12;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Headings, big numbers and the wordmark use the heading font */
h1, h2, h3, h4, .h-display, .h-section, .h-card, .brand, .lead-ui, .stat-num, .step-num,
.hero-facts dt, .quality-badges strong, .modal-title, .mobile-links a, .explorer-list button,
.faq .accordion-button { font-family: var(--font-heading); }
::selection { background: var(--ink); color: #fff; }
img { max-width: 100%; display: block; }
a { text-decoration: none; transition: color .2s, opacity .2s, background-color .2s; }
p { margin-bottom: 1rem; }

.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 2000; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: var(--radius-btn); }

/* ---------- Type ---------- */
.h-display {
  font-size: clamp(2.1rem, 3.9vw, 3.5rem);
  font-weight: var(--heading-weight);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
  max-width: 18ch;
}
.h-display.text-center { margin-inline: auto; max-width: 26ch; }
.h-display, .h-section, .h-card { text-wrap: balance; }
.h-section {
  font-size: clamp(1.75rem, 2.6vw, 2.5rem);
  font-weight: var(--heading-weight);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}
.h-card {
  font-size: clamp(1.3rem, 1.7vw, 1.6rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 12px;
}
.label { font-size: .875rem; font-weight: 500; color: var(--muted); margin-bottom: 8px; }
.lead-ui { font-size: clamp(1.15rem, 1.5vw, 1.4rem); line-height: 1.4; color: var(--ink); letter-spacing: -0.01em; margin-bottom: 16px; }
.text-muted-ui { color: var(--muted) !important; }

/* ---------- Buttons (compact, small radius) ---------- */
.btn-ui, .btn-sm-ui {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; border: 0; border-radius: var(--radius-sm);
  transition: background-color .2s, color .2s, transform .2s;
  white-space: nowrap;
}
.btn-ui { font-size: 1rem; padding: .6rem .95rem; }
.btn-sm-ui { font-size: .875rem; padding: .4rem .7rem; border-radius: var(--radius-btn); }
.btn-ui .bi-arrow-right { transition: transform .25s var(--ease); }
.btn-ui:hover .bi-arrow-right { transform: translateX(3px); }
.btn-ink { background: var(--ink-2); color: #fff; }
.btn-ink:hover, .btn-ink:focus-visible { background: #000; color: #fff; }
.btn-soft { background: var(--surface-2); color: #1a1a1a; }
.btn-soft:hover, .btn-soft:focus-visible { background: #e2e6ec; color: #000; }
.btn-paper { background: #f7f7f7; color: var(--ink); }
.btn-paper:hover, .btn-paper:focus-visible { background: #fff; color: #000; }
.btn-glass { background: rgba(255,255,255,.12); color: #fff; backdrop-filter: blur(10px); }
.btn-glass:hover, .btn-glass:focus-visible { background: rgba(255,255,255,.22); color: #fff; }
.btn:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; box-shadow: none; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink);
  color: #fff;
  font-size: .9rem;
  font-weight: 500;
  padding: .5rem 0;
  position: relative;
  z-index: 1031;
}
.topbar-btn {
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35);
  border-radius: var(--radius-btn); padding: .2rem .6rem; font-size: .85rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap;
}
.topbar-btn:hover { background: rgba(255,255,255,.12); }

/* ---------- Nav ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  padding: .85rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-nav.scrolled { border-bottom-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: 1.2rem; letter-spacing: -0.03em; color: var(--ink); margin: 0; padding: 0; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 28px; height: 28px; color: var(--ink); }
.site-brand-logo { width: auto; height: auto; max-width: 180px; max-height: 36px; object-fit: contain; }
.site-nav .nav-link { color: var(--ink); font-size: .9rem; font-weight: 500; padding: .4rem .75rem !important; border-radius: var(--radius-btn); }
.site-nav .nav-link:hover { background: var(--surface); }
.site-nav .nav-link.active { background: var(--surface-2); }
.navbar-toggler { border: 0; padding: .5rem; display: flex; flex-direction: column; gap: 5px; }
.navbar-toggler:focus { box-shadow: none; }
.toggler-line { width: 22px; height: 1.5px; background: var(--ink); display: block; }

.mobile-nav { background: var(--bg); }
.mobile-nav .offcanvas-header { border-bottom: 1px solid var(--line); }
.mobile-links a { display: block; font-size: 1.75rem; letter-spacing: -0.02em; padding: .45rem 0; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-links a:hover { color: var(--muted); }

/* ---------- Hero ---------- */
.hero { padding-top: 8px; }
.hero-card {
  position: relative;
  min-height: min(78vh, 760px);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--dark);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.5rem, 4.5vw, 4.5rem);
  isolation: isolate;
}
.hero-img {
  position: absolute; z-index: -2;
  right: 0; top: 0; height: 100%; width: 72%;
  object-fit: cover; object-position: center 30%;
  animation: heroIn 1.6s var(--ease) both;
}
.hero-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, var(--dark) 22%, rgba(12,12,12,.75) 45%, rgba(12,12,12,0) 75%),
    linear-gradient(0deg, rgba(12,12,12,.85) 0%, rgba(12,12,12,0) 45%);
}
@keyframes heroIn { from { opacity: 0; transform: scale(1.05); } to { opacity: 1; transform: none; } }
.hero-content { max-width: 680px; }
.hero-content h1 {
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  font-weight: var(--heading-weight); line-height: 1.08; letter-spacing: -0.02em;
  color: #fff; margin: 0 0 20px;
}
.hero-content p { font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.5; color: rgba(255,255,255,.88); margin-bottom: 28px; max-width: 560px; }
.hero-facts {
  display: flex; gap: 32px; margin: var(--space-block) 0 0; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.18);
}
.hero-facts dt { font-size: 1.6rem; font-weight: var(--heading-weight); letter-spacing: -0.02em; line-height: 1; }
.hero-facts dd { font-size: .8rem; color: rgba(255,255,255,.65); margin: .35rem 0 0; }
@media (min-width: 992px) {
  .hero-facts { position: absolute; right: clamp(1.5rem, 4.5vw, 4.5rem); bottom: clamp(1.5rem, 4.5vw, 4.5rem); margin: 0; border-top: 0; padding: 0; }
  .hero-facts > div { border-left: 1px solid rgba(255,255,255,.18); padding-left: 1.25rem; }
}

/* Product reel (like a partner strip) */
.reel-block { padding: var(--space-block) 0 0; }
.reel-caption { text-align: center; color: var(--muted); font-size: .95rem; margin-bottom: 16px; }
.reel { 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); }
.reel-track { display: flex; gap: 12px; width: max-content; margin: 0; animation: marquee 70s linear infinite; }
.reel:hover .reel-track { animation-play-state: paused; }
.reel-track li { width: clamp(140px, 12vw, 190px); flex: 0 0 auto; background: var(--paper); border-radius: var(--radius); overflow: hidden; position: relative; }
.reel-track img { width: 100%; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.reel-track span { position: absolute; left: 8px; bottom: 8px; font-size: .72rem; font-weight: 500; color: var(--ink); background: rgba(255,255,255,.9); padding: .15rem .45rem; border-radius: 4px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: var(--space-section) 0 0; }
.section-head { margin-bottom: var(--space-head) !important; }
.block-gap { margin-top: var(--space-block); }

/* ---------- Tiles (image-top cards) ---------- */
.tile { display: flex; flex-direction: column; height: 100%; }
.tile-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; margin-bottom: 20px; background: var(--paper); }
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tile:hover .tile-media img { transform: scale(1.03); }
.tile-media.duo { display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 1rem 1.5rem 0; }
.tile-media.duo img { object-fit: contain; mix-blend-mode: multiply; }
.tile-media.dark { background: var(--dark); aspect-ratio: 4 / 3; }
.tile-text { color: var(--text); margin-bottom: 20px; max-width: 560px; }
.chips { list-style: none; padding: 0; margin: .25rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.chips li { font-size: .8rem; font-weight: 500; padding: .25rem .6rem; border-radius: var(--radius-btn); background: var(--surface-2); color: #1a1a1a; }

/* ---------- About ---------- */
.stat { background: var(--surface); border-radius: var(--radius); padding: var(--space-card); height: 100%; }
.stat-num { font-size: clamp(2.4rem, 4.5vw, 4rem); font-weight: var(--heading-weight); letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.stat-label { font-weight: 600; color: var(--ink); margin: 16px 0 4px; font-size: .95rem; }
.stat p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- Capabilities explorer (list + preview) ---------- */
.explorer { border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-card); }
.explorer-list { display: flex; flex-direction: column; gap: .1rem; }
.explorer-list button {
  background: none; border: 0; padding: .3rem 0; text-align: left;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem); letter-spacing: -0.01em;
  color: #b3b3b3; transition: color .25s;
}
.explorer-list button:hover { color: #6b6b6b; }
.explorer-list button.active { color: var(--ink); }
.explorer-panel { position: relative; height: 100%; min-height: 420px; background: var(--paper); border-radius: var(--radius-sm); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.explorer-panel img { max-height: 520px; width: auto; max-width: 70%; object-fit: contain; mix-blend-mode: multiply; }
.explorer-caption {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-radius: var(--radius-sm); padding: .9rem 1.1rem; display: flex; gap: 1rem; align-items: baseline;
}
.explorer-caption span { font-size: .8rem; font-weight: 600; color: var(--accent); }
.explorer-caption p { margin: 0; color: var(--ink); font-size: .95rem; }

/* ---------- Design gallery ---------- */
.design-tabs { gap: 6px; margin-bottom: 24px; flex-wrap: wrap; }
.design-tabs .nav-link { border-radius: var(--radius-btn); background: var(--surface-2); color: #1a1a1a; padding: .45rem .85rem; font-size: .9rem; font-weight: 600; border: 0; }
.design-tabs .nav-link:hover { background: #e2e6ec; }
.design-tabs .nav-link.active { background: var(--ink-2); color: #fff; }
.style-card { height: 100%; display: flex; flex-direction: column; }
.style-media { background: var(--paper); aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); margin-bottom: 12px; }
.style-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .8s var(--ease); }
.style-card:hover .style-media img { transform: scale(1.05); }
.style-body { display: flex; flex-direction: column; gap: .15rem; flex: 1; }
.style-tag { font-size: .78rem; font-weight: 500; color: var(--muted); }
.style-body h3 { font-size: 1.05rem; font-weight: 500; color: var(--ink); margin: 0 0 12px; }
.style-cta { margin-top: auto; align-self: flex-start; background: var(--surface-2); border: 0; border-radius: var(--radius-btn); padding: .3rem .6rem; color: #1a1a1a; font-size: .82rem; font-weight: 600; display: inline-flex; gap: .3rem; align-items: center; }
.style-cta:hover { background: #e2e6ec; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; }
.step { background: var(--surface); border-radius: var(--radius); padding: var(--space-card); display: flex; flex-direction: column; }
.step-num { font-size: 3rem; font-weight: var(--heading-weight); letter-spacing: -0.04em; line-height: 1; color: #c9c9c9; margin-bottom: 32px; transition: color .3s; }
.step:hover .step-num { color: var(--ink); }
.step h3 { font-size: 1.2rem; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.step p { color: var(--text); font-size: .93rem; margin: 0; }
.step-meta { margin-top: 16px; align-self: flex-start; font-size: .78rem; font-weight: 600; padding: .2rem .5rem; border-radius: 4px; background: #fff; color: var(--ink); border: 1px solid var(--line); }

/* ---------- Quality (dark feature) ---------- */
.feature-dark { background: var(--dark); color: rgba(255,255,255,.75); border-radius: var(--radius); padding: clamp(24px, 4.5vw, 64px); }
.feature-dark .label { color: rgba(255,255,255,.55); }
.feature-dark .h-section { color: #fff; }
.quality-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: var(--space-block); }
.quality-badges > div { display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,.2); padding-top: .8rem; }
.quality-badges strong { font-size: 1.6rem; font-weight: var(--heading-weight); color: #fff; letter-spacing: -0.02em; }
.quality-badges span { font-size: .82rem; }
.qc-list li { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.qc-list li:first-child { padding-top: 0; }
.qc-list h3 { font-size: 1.1rem; font-weight: 500; color: #fff; margin-bottom: .2rem; display: flex; justify-content: space-between; }
.qc-list h3::after { content: "\F633"; font-family: "bootstrap-icons"; font-size: .9rem; color: rgba(255,255,255,.5); }
.qc-list p { margin: 0; font-size: .93rem; }

/* ---------- Add-ons ---------- */
.addon { background: var(--surface); border-radius: var(--radius); padding: var(--space-card); height: 100%; }
.addon i { font-size: 1.25rem; color: var(--ink); display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: var(--radius-sm); background: #fff; margin-bottom: 20px; }
.addon h3 { font-size: 1.1rem; font-weight: 500; color: var(--ink); margin-bottom: 4px; }
.addon p { margin: 0; font-size: .93rem; }

/* ---------- FAQ ---------- */
.faq-media { margin-top: var(--space-head); border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; max-width: 440px; background: var(--dark); }
.faq-media img { width: 100%; height: 100%; object-fit: cover; }
.faq {
  --bs-accordion-bg: transparent;
  --bs-accordion-color: var(--text);
  --bs-accordion-border-color: var(--line);
  --bs-accordion-border-radius: 0;
  --bs-accordion-inner-border-radius: 0;
  --bs-accordion-btn-color: var(--ink);
  --bs-accordion-active-color: var(--ink);
  --bs-accordion-active-bg: transparent;
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-btn-padding-x: 0;
  --bs-accordion-body-padding-x: 0;
  --bs-accordion-btn-padding-y: 1.35rem;
  --bs-accordion-btn-icon-width: 1rem;
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230c0c0c' stroke-width='1.5'%3E%3Cpath d='M8 2v12M2 8h12'/%3E%3C/svg%3E");
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230c0c0c' stroke-width='1.5'%3E%3Cpath d='M2 8h12'/%3E%3C/svg%3E");
}
.faq .accordion-item { border-left: 0; border-right: 0; }
.faq .accordion-item:first-of-type { border-top: 1px solid var(--line); }
.faq .accordion-button { font-size: clamp(1.05rem, 1.4vw, 1.25rem); font-weight: var(--heading-weight); letter-spacing: -0.01em; box-shadow: none; }
.faq .accordion-button:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.faq .accordion-button::after { transform: none !important; }
.faq .accordion-body { padding-top: 0; padding-bottom: 1.5rem; max-width: 560px; }

/* ---------- CTA ---------- */
.cta-card { background: var(--surface); border-radius: var(--radius); padding: clamp(24px, 4.5vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 2rem; overflow: hidden; }
.cta-text { max-width: 560px; }
.cta-text p { margin: 16px 0 24px; font-size: 1.05rem; }
.cta-collage { gap: 12px; flex-shrink: 0; }
.cta-collage img { width: clamp(120px, 11vw, 180px); aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); box-shadow: 0 20px 40px -20px rgba(0,0,0,.35); }
.cta-collage img:nth-child(1) { transform: translateY(-24px) rotate(-3deg); }
.cta-collage img:nth-child(2) { transform: translateY(16px); }
.cta-collage img:nth-child(3) { transform: translateY(-12px) rotate(3deg); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: var(--space-head) 0 24px; margin-top: var(--space-section); }
.footer-h { font-size: .875rem; font-weight: 600; color: var(--ink); margin-bottom: 1rem; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a, .footer-contact a { color: var(--text); }
.footer-links a:hover, .footer-contact a:hover { color: var(--ink); text-decoration: underline; }
.footer-contact li { display: flex; gap: .7rem; margin-bottom: .8rem; }
.footer-contact i { color: var(--ink); }
.footer-contact a { word-break: break-word; }
.socials { display: flex; gap: .4rem; margin-top: 1.25rem; }
.socials a { width: 38px; height: 38px; border-radius: var(--radius-sm); background: var(--surface-2); display: grid; place-items: center; color: var(--ink); }
.socials a:hover { background: var(--ink); color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; border-top: 1px solid var(--line); margin-top: var(--space-head); padding-top: 24px; font-size: .85rem; color: var(--muted); }
.footer-bottom a { color: var(--text); margin-right: 64px; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 1040;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.45rem;
  box-shadow: 0 10px 25px rgba(0,0,0,.18);
  transition: transform .3s var(--ease);
}
.wa-float:hover { color: #fff; transform: scale(1.06); }
.wa-float { transition: transform .3s var(--ease), bottom .35s var(--ease); }
.show-top .wa-float { bottom: 84px; }   /* make room for the back-to-top button below */

/* ---------- Back to top (appears under WhatsApp after scrolling) ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 20px; z-index: 1040;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink-2); color: #fff; display: grid; place-items: center; font-size: 1.1rem;
  box-shadow: 0 10px 25px rgba(0,0,0,.18);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background-color .2s;
}
.to-top:hover, .to-top:focus-visible { background: #000; color: #fff; }
.show-top .to-top { opacity: 1; visibility: visible; transform: none; }

/* ---------- Modals ---------- */
.modal-backdrop.show { opacity: .45; }
.quote-modal .modal-content { border: 0; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,.2); }
.quote-modal .modal-header { border-bottom: 1px solid var(--line); padding: 1.4rem 1.6rem; align-items: flex-start; }
.quote-modal .modal-title { font-size: 1.6rem; font-weight: var(--heading-weight); letter-spacing: -0.015em; color: var(--ink); margin: 0; }
.quote-modal .modal-body { padding: 1.6rem; }
.quote-form .form-label { font-size: .85rem; font-weight: 500; color: var(--ink); margin-bottom: .35rem; }
.quote-form .opt { color: var(--muted); font-weight: 400; }
.quote-form .form-control, .quote-form .form-select { background-color: var(--surface); border: 1px solid transparent; border-radius: var(--radius-sm); padding: .7rem .85rem; color: var(--ink); }
.quote-form .form-control::placeholder { color: #a3a3a3; }
.quote-form .form-control:focus, .quote-form .form-select:focus { background-color: #fff; border-color: var(--ink); box-shadow: none; }
.quote-form .form-control::file-selector-button { background: var(--surface-2); color: var(--ink); border: 0; font-weight: 600; }
.quote-form.was-validated .form-control:invalid, .quote-form.was-validated .form-select:invalid { border-color: #dc3545; }
.form-status:empty { display: none; }
.form-status { padding: .85rem 1rem; border-radius: var(--radius-sm); font-size: .92rem; background: var(--surface); }
.form-status.ok { background: #e9f8ef; color: #12622f; }
.form-status.err { background: #fdecec; color: #8a1c1c; }
.form-honey { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.video-modal .modal-content { background: #000; border: 0; border-radius: var(--radius); overflow: hidden; position: relative; }
.video-modal .btn-close { position: absolute; top: -40px; right: 0; z-index: 2; }
.video-modal .modal-dialog { margin-top: 4rem; }
.video-modal iframe { border: 0; }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .site-nav { padding: .6rem 0; }
  .hero-img { width: 100%; opacity: .55; }
  .hero-card::before { background: linear-gradient(0deg, var(--dark) 15%, rgba(12,12,12,.6) 60%, rgba(12,12,12,.3) 100%); }
  .hero-card { min-height: 640px; }
  .explorer-list { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: .4rem; padding-bottom: .25rem; scrollbar-width: none; }
  .explorer-list::-webkit-scrollbar { display: none; }
  .explorer-list button { font-size: .9rem; font-weight: 600; white-space: nowrap; padding: .4rem .75rem; border-radius: var(--radius-btn); background: var(--surface-2); color: #1a1a1a; }
  .explorer-list button.active { background: var(--ink-2); color: #fff; }
  .explorer-panel { min-height: 360px; padding-bottom: 5rem; }
  .explorer-panel img { max-height: 300px; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .cta-card { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 575.98px) {
  .process { grid-template-columns: 1fr; }
  .step-num { margin-bottom: 20px; font-size: 2.4rem; }
  .hero-facts { gap: 1.25rem; }
  .hero-facts dt { font-size: 1.3rem; }
  .quality-badges strong { font-size: 1.25rem; }
  .wa-float { width: 48px; height: 48px; right: 16px; bottom: 16px; }
  .show-top .wa-float { bottom: 72px; }
  .to-top { right: 18px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
