/* FORMA clothing — inspired by Dentora design language
   Palette: warm white bg, near-black text, sage green accent
   Fonts: Plus Jakarta Sans + Cormorant Garamond */

:root {
  --bg:         #F7F6F2;
  --bg-2:       #EFEDE7;
  --text:       #0E0D0B;
  --text-muted: rgba(14, 13, 11, 0.5);
  --text-light: rgba(14, 13, 11, 0.35);
  --accent:     #2B5C4E;
  --accent-2:   #3D7A68;
  --accent-light: rgba(43, 92, 78, 0.1);
  --white:      #FFFFFF;
  --border:     rgba(14, 13, 11, 0.1);
  --border-2:   rgba(14, 13, 11, 0.06);
  --shadow-sm:  0 2px 12px rgba(14, 13, 11, 0.07);
  --shadow-md:  0 8px 32px rgba(14, 13, 11, 0.1);
  --shadow-lg:  0 24px 64px rgba(14, 13, 11, 0.14);

  --font-sans:    'Plus Jakarta Sans', system-ui, sans-serif;
  --font-serif:   'Cormorant Garamond', Georgia, serif;

  --sp-xs:  0.375rem;
  --sp-sm:  0.75rem;
  --sp-md:  1.5rem;
  --sp-lg:  3rem;
  --sp-xl:  6rem;

  --max-w:  1240px;
  --r-sm:   0.5rem;
  --r-md:   1rem;
  --r-lg:   1.5rem;
  --r-xl:   2rem;
  --r-pill: 999px;

  --tr: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── reset ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; }
ul { list-style: none; }

/* ─── typography ──────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1.5px;
  background: var(--accent);
}

h2 {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-top: 0.75rem;
}

h2 em, h2 .accent {
  font-style: italic;
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--accent);
}

h3 {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p { color: var(--text-muted); line-height: 1.7; }

/* ─── buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  transition: all var(--tr);
  min-height: 48px;
  white-space: nowrap;
}

.btn--pill { padding: 0.55rem 1.1rem; min-height: 40px; }

.btn--dark {
  background: var(--text);
  color: var(--white);
}
.btn--dark:hover {
  background: #252422;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--white {
  background: var(--white);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn--outline:hover {
  border-color: var(--text);
  background: rgba(14, 13, 11, 0.04);
}

.btn--full { width: 100%; justify-content: center; }

/* ─── tags / filter pills ─────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border-radius: var(--r-pill);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--tr);
  user-select: none;
}

.tag--glass {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
}
.tag--glass.active,
.tag--glass:hover {
  background: var(--white);
  color: var(--text);
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1.1rem;
  border-radius: var(--r-pill);
  font-size: 0.82rem;
  font-weight: 500;
  background: var(--white);
  color: var(--text-muted);
  border: 1.5px solid var(--border);
  transition: all var(--tr);
}
.filter-pill.active,
.filter-pill:hover {
  background: var(--text);
  color: var(--white);
  border-color: var(--text);
}

/* ─── nav ─────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
  padding: 0.9rem var(--sp-lg);
  background: rgba(247, 246, 242, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-2);
  transition: background var(--tr);
}

.nav--scrolled { background: rgba(247, 246, 242, 0.98); }

.nav__brand {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
}
.nav__brand em {
  font-style: normal;
  color: var(--accent);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__pill {
  display: inline-flex;
  padding: 0.4rem 0.9rem;
  border-radius: var(--r-pill);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--tr);
}
.nav__pill:hover { background: var(--border-2); color: var(--text); }
.nav__pill.active { background: var(--text); color: var(--white); }

.nav__right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: none;
  border: 1.5px solid var(--border);
  color: var(--text);
  transition: all var(--tr);
}
.nav__icon svg { width: 16px; height: 16px; }
.nav__icon:hover { border-color: var(--text); background: var(--border-2); }

@media (max-width: 1000px) {
  .nav__links { display: none; }
  .nav { padding: 0.9rem var(--sp-md); }
}

/* ─── hero ────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 92vh;
  max-height: 860px;
  min-height: 600px;
  overflow: hidden;
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  margin: 0 0 0 0;
}

.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10, 8, 6, 0.55) 0%,
    rgba(10, 8, 6, 0.3) 50%,
    rgba(10, 8, 6, 0.65) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--sp-lg) var(--sp-lg) var(--sp-md);
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

/* top label */
.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--r-pill);
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--white);
  width: fit-content;
}

.hero__label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse 2s ease infinite;
}

/* headline */
.hero__title {
  font-family: var(--font-sans);
  font-size: clamp(3.5rem, 8vw, 8rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--white);
  max-width: 8ch;
}
.hero__title em {
  font-style: italic;
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* bottom row */
.hero__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-sm);
}

.hero__tags {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

/* nav strip */
.hero__nav-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero__tagline, .hero__scroll {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero__counter {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.55);
}
.hero__counter-cur { color: var(--white); font-weight: 600; }

/* floating: new arrival badge */
.hero__badge {
  position: absolute;
  bottom: 120px;
  left: var(--sp-lg);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 0.65rem 0.65rem 0.65rem 0.65rem;
  box-shadow: var(--shadow-lg);
  max-width: 260px;
  animation: floatUp 0.6s ease 0.3s both;
}

.hero__badge-img {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  overflow: hidden;
  flex-shrink: 0;
}
.hero__badge-img img { width: 100%; height: 100%; }

.hero__badge-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.hero__badge-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
}
.hero__badge-body strong {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}
.hero__badge-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.hero__badge-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--text);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: background var(--tr);
}
.hero__badge-arrow:hover { background: var(--accent); }

/* floating: stats card */
.hero__stats-card {
  position: absolute;
  bottom: 120px;
  right: var(--sp-lg);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r-xl);
  padding: 1rem 1.5rem;
  animation: floatUp 0.6s ease 0.5s both;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0 1rem;
}
.hero__stat-num {
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
}
.hero__stat-label {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.03em;
  text-align: center;
  max-width: 10ch;
}
.hero__stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
}

@keyframes floatUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .hero { height: 85vh; border-radius: 0 0 var(--r-lg) var(--r-lg); }
  .hero__content { padding: var(--sp-md) var(--sp-md) var(--sp-sm); }
  .hero__stats-card { display: none; }
  .hero__badge { left: var(--sp-md); bottom: 100px; max-width: 220px; }
  .hero__tags { display: none; }
}

/* ─── process strip ───────────────────────────────────── */
.process-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border-2);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.process-strip__inner {
  display: flex;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-lg);
}

.process-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.2rem var(--sp-md);
  white-space: nowrap;
  opacity: 0.45;
  transition: opacity var(--tr);
  flex-shrink: 0;
}
.process-item.active { opacity: 1; }
.process-item:hover { opacity: 0.75; }

.process-item__num {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
}
.process-item__label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
}

.process-item__line {
  width: 40px;
  height: 1px;
  background: var(--border);
  flex-shrink: 0;
}

/* ─── about ───────────────────────────────────────────── */
.about {
  padding: var(--sp-xl) 0;
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--sp-xl);
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-lg);
}

.about__media {
  position: relative;
}

.about__photo {
  border-radius: var(--r-xl);
  overflow: hidden;
}
.about__photo img { width: 100%; }

.about__photo--1 {
  aspect-ratio: 4/5;
  width: 65%;
}

.about__photo--2 {
  position: absolute;
  bottom: -var(--sp-md);
  right: 0;
  width: 52%;
  aspect-ratio: 1;
  border-radius: var(--r-xl);
  border: 4px solid var(--bg);
  bottom: -24px;
}

.about__media-tag {
  position: absolute;
  top: var(--sp-md);
  right: 24px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border-radius: var(--r-pill);
  padding: 0.5rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(43, 92, 78, 0.15);
}
.about__media-tag svg { width: 14px; height: 14px; }

.about__copy {
  padding-bottom: var(--sp-md);
}

.about__body {
  margin-top: 1.25rem;
  font-size: 1.05rem;
  max-width: 44ch;
  line-height: 1.7;
}

.about__stats {
  display: flex;
  gap: var(--sp-lg);
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-block: 1px solid var(--border-2);
}

.about__stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.about__stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}
.about__stat span:nth-child(2) {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  vertical-align: top;
  line-height: 1.4;
}
.about__stat span:last-child {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .about__inner { grid-template-columns: 1fr; gap: var(--sp-lg); }
  .about__media { min-height: 300px; }
  .about__photo--1 { width: 80%; }
  .about__photo--2 { width: 50%; bottom: -16px; }
}

/* ─── products ────────────────────────────────────────── */
.products {
  padding: var(--sp-xl) 0;
  background: var(--bg-2);
}

.products__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-md);
  flex-wrap: wrap;
  max-width: var(--max-w);
  margin: 0 auto var(--sp-lg);
  padding: 0 var(--sp-lg);
}

.products__filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: var(--sp-md);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-lg);
}

.product-card {
  background: var(--white);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform var(--tr), box-shadow var(--tr);
  opacity: 0;
  transform: translateY(20px);
}
.product-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card--tall { grid-row: span 2; }

.product-card__img {
  position: relative;
  overflow: hidden;
}
.product-card__img img {
  width: 100%;
  aspect-ratio: 3/4;
  transition: transform 0.55s ease;
}
.product-card--tall .product-card__img img { aspect-ratio: auto; height: 100%; min-height: 320px; }
.product-card:hover .product-card__img img { transform: scale(1.04); }

.product-card__badge {
  position: absolute;
  top: var(--sp-sm);
  left: var(--sp-sm);
  background: var(--accent);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.7rem;
  border-radius: var(--r-pill);
}
.product-card__badge--sale { background: #d97706; }

.product-card__body {
  padding: var(--sp-sm) var(--sp-md) var(--sp-md);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.product-card__info { display: flex; flex-direction: column; gap: 0.2rem; }
.product-card__info h3 { font-size: 0.95rem; }
.product-card__cat {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 500;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-card__price {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.product-card__old {
  font-size: 0.85rem;
  color: var(--text-light);
  text-decoration: line-through;
  margin-left: 0.3rem;
}

.product-card__add {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--text);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--tr), transform var(--tr);
  border: none;
}
.product-card__add svg { width: 16px; height: 16px; }
.product-card__add:hover { background: var(--accent); transform: rotate(90deg) scale(1.1); }

.products__more {
  text-align: center;
  margin-top: var(--sp-lg);
}

@media (max-width: 1000px) {
  .products__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-card--tall { grid-row: span 1; }
  .product-card--tall .product-card__img img { min-height: auto; }
}

@media (max-width: 600px) {
  .products__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-sm);
    padding: 0 var(--sp-md);
  }
  .products__head { padding: 0 var(--sp-md); }
  .products__filters { display: none; }
}

/* ─── feature banner ──────────────────────────────────── */
.feature-banner {
  padding: var(--sp-xl) 0;
  background: var(--white);
}

.feature-banner__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--sp-xl);
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-lg);
}

.feature-banner__copy > p:not(.eyebrow) {
  margin-top: 1.25rem;
  font-size: 1.05rem;
  max-width: 42ch;
}

.feature-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.feature-banner__media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: visible;
}
.feature-banner__media > img {
  border-radius: var(--r-xl);
  aspect-ratio: 4/5;
  width: 100%;
}

/* floating designer card */
.designer-card {
  position: absolute;
  bottom: var(--sp-md);
  left: calc(-1 * var(--sp-lg));
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-lg);
  min-width: 240px;
  border: 1px solid var(--border-2);
  animation: floatUp 0.6s ease 0.4s both;
}

.designer-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  border: 2px solid rgba(43, 92, 78, 0.2);
  flex-shrink: 0;
}

.designer-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.designer-card__body strong { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.designer-card__body span { font-size: 0.75rem; color: var(--text-muted); }

.designer-card__btn {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  padding: 0.35rem 0.75rem;
  border-radius: var(--r-pill);
  transition: background var(--tr);
}
.designer-card__btn:hover { background: rgba(43, 92, 78, 0.2); }

/* floating style metric */
.style-metric {
  position: absolute;
  top: var(--sp-md);
  right: calc(-1 * var(--sp-md));
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 0.9rem 1.1rem;
  box-shadow: var(--shadow-md);
  min-width: 180px;
  border: 1px solid var(--border-2);
  animation: floatUp 0.6s ease 0.6s both;
}

.style-metric__bar-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.style-metric__label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.style-metric__bar {
  height: 6px;
  background: var(--border-2);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.style-metric__fill {
  height: 100%;
  background: var(--accent);
  border-radius: var(--r-pill);
  transition: width 1s ease;
}
.style-metric__num {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-top: 0.4rem;
}

@media (max-width: 900px) {
  .feature-banner__inner { grid-template-columns: 1fr; }
  .designer-card { left: 0; bottom: -20px; right: auto; }
  .style-metric { right: 0; top: var(--sp-sm); }
}

/* ─── testimonials ────────────────────────────────────── */
.testimonials {
  padding: var(--sp-xl) 0;
  background: var(--bg-2);
  overflow: hidden;
}

.testimonials__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-md);
  max-width: var(--max-w);
  margin: 0 auto var(--sp-lg);
  padding: 0 var(--sp-lg);
}

.testimonials__nav {
  display: flex;
  gap: 0.5rem;
}

.tes-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: var(--white);
  color: var(--text);
  border: 1.5px solid var(--border);
  transition: all var(--tr);
}
.tes-nav:hover { background: var(--text); color: var(--white); border-color: var(--text); }

.testimonials__track {
  display: flex;
  gap: var(--sp-md);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-lg);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}
.testimonials__track::-webkit-scrollbar { display: none; }

.tes-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: var(--sp-lg) var(--sp-md);
  min-width: 340px;
  max-width: 400px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  border: 1px solid var(--border-2);
  scroll-snap-align: start;
  transition: transform var(--tr), box-shadow var(--tr);
  opacity: 0;
  transform: translateY(16px);
}
.tes-card.visible { opacity: 1; transform: translateY(0); }
.tes-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.tes-card__quote { color: var(--accent); opacity: 0.4; }

.tes-card > p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  flex: 1;
}

.tes-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: var(--sp-sm);
  border-top: 1px solid var(--border-2);
}

.tes-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.tes-card__author div strong { font-size: 0.9rem; display: block; }
.tes-card__author div span { font-size: 0.75rem; color: var(--text-muted); }

.tes-card__stars {
  margin-left: auto;
  color: #f59e0b;
  font-size: 0.85rem;
}

/* ─── insight banner ──────────────────────────────────── */
.insight-banner {
  padding: var(--sp-xl) 0;
  background: var(--text);
}

.insight-banner__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 var(--sp-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-lg);
}

.insight-banner .eyebrow { color: rgba(247, 246, 242, 0.5); }
.insight-banner .eyebrow::before { background: rgba(247, 246, 242, 0.3); }

.insight-banner h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
}
.insight-banner h2 em { color: rgba(196, 231, 220, 0.9); }

/* ─── contact ─────────────────────────────────────────── */
.contact {
  padding: var(--sp-xl) 0;
  background: var(--white);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--sp-xl);
  align-items: start;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-lg);
}

.contact__copy > p:not(.eyebrow) {
  margin-top: 1.25rem;
  font-size: 1.05rem;
  max-width: 40ch;
}

.contact__links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 2rem;
}

.contact__link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color var(--tr);
}
.contact__link:hover { color: var(--text); }
.contact__link svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }

/* form */
.contact__form {
  background: var(--bg);
  border-radius: var(--r-xl);
  padding: var(--sp-lg);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  border: 1.5px solid var(--border-2);
}

.contact__form h3 { margin-bottom: -0.25rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-sm);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-field label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
}
.form-field input,
.form-field textarea {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  padding: 0.7rem 0.9rem;
  transition: border-color var(--tr);
  outline: none;
  width: 100%;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-light); }
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
}
.form-field input.error,
.form-field textarea.error { border-color: #f87171; }
.form-field textarea { resize: vertical; min-height: 100px; }

.form-legal {
  font-size: 0.72rem;
  color: var(--text-light);
  text-align: center;
}

@media (max-width: 900px) {
  .contact__inner { grid-template-columns: 1fr; gap: var(--sp-lg); }
  .contact__form { padding: var(--sp-md); }
  .form-row { grid-template-columns: 1fr; }
}

/* ─── footer ──────────────────────────────────────────── */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border-2);
  padding: var(--sp-xl) 0 var(--sp-md);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: var(--sp-lg);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-lg) var(--sp-lg);
  border-bottom: 1px solid var(--border);
}

.footer__logo {
  font-family: var(--font-sans);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  display: block;
  margin-bottom: 0.6rem;
}
.footer__logo em { font-style: normal; color: var(--accent); }
.footer__brand p { font-size: 0.85rem; line-height: 1.6; }

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.2rem;
}
.footer__col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.3rem;
}
.footer__col a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--tr);
}
.footer__col a:hover { color: var(--text); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--sp-md) var(--sp-lg) 0;
}
.footer__bottom p { font-size: 0.75rem; color: var(--text-light); }
.footer__credit a { color: var(--accent); }

@media (max-width: 800px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer__inner { grid-template-columns: 1fr; gap: var(--sp-md); }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .nav { padding: 0.9rem var(--sp-md); }
  .about__inner, .feature-banner__inner, .contact__inner { padding: 0 var(--sp-md); }
  .products__grid { padding: 0 var(--sp-md); }
  .about__stats { gap: var(--sp-md); }
}

/* ─── scroll reveal ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
