:root {
  --bg: #fbfaf6;
  --paper: #ffffff;
  --mint: #e8f4ed;
  --sage: #2f7d5c;
  --sage-dark: #1f563f;
  --tomato: #d84f43;
  --gold: #f7c95f;
  --ink: #22322a;
  --muted: #65736c;
  --line: #d9e1dc;
  --shadow: 0 22px 60px rgba(28, 48, 38, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Nunito, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(47, 125, 92, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 125, 92, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

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

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

button,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 246, 0.9);
  backdrop-filter: blur(16px);
}

.brand,
.nav-links,
.hero-actions,
.carousel-controls,
.contact-list a,
.contact-list span {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--sage);
}

.brand strong,
.footer-brand {
  display: block;
  font-size: 1.08rem;
  font-weight: 900;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.nav-links {
  justify-content: flex-end;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 900;
  transition: color 160ms ease, background 160ms ease;
}

.nav-links a:hover {
  color: var(--sage-dark);
  background: var(--mint);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  align-items: center;
  gap: clamp(26px, 5vw, 72px);
  padding: clamp(30px, 5vw, 58px) clamp(18px, 5vw, 72px);
}

.hero-copy {
  min-width: 0;
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--tomato);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.6rem);
  font-weight: 900;
}

h2 {
  max-width: 800px;
  font-size: clamp(2rem, 4.8vw, 4.15rem);
  font-weight: 900;
}

h3 {
  font-size: clamp(1.4rem, 2.7vw, 2.35rem);
  font-weight: 900;
}

.hero p,
.intro > p {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.26rem);
  line-height: 1.75;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button,
.icon-button {
  border: 0;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  gap: 9px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 900;
}

.button:hover,
.icon-button:hover,
.thumb:hover {
  transform: translateY(-2px);
}

.button svg,
.brand-mark svg,
.feature-strip svg,
.contact-list svg,
.tag svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.primary {
  color: #fff;
  background: var(--sage);
  box-shadow: 0 12px 28px rgba(47, 125, 92, 0.22);
}

.primary:hover {
  background: var(--sage-dark);
}

.quiet {
  color: var(--sage-dark);
  background: var(--mint);
}

.full {
  width: 100%;
}

.hero-image {
  position: relative;
  min-width: 0;
  margin: 0;
}

.hero-image::before {
  content: "";
  position: absolute;
  inset: 24px -12px -16px 34px;
  z-index: -1;
  border-radius: 8px;
  background: var(--mint);
}

.hero-image img {
  width: 100%;
  aspect-ratio: 14 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 64px);
  border-block: 1px solid var(--line);
  background: var(--paper);
}

.section-heading {
  margin-bottom: 30px;
}

.product-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(310px, 0.62fr);
  gap: 24px;
  align-items: start;
}

.carousel-panel,
.pricing-card,
.review-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.carousel-panel {
  padding: clamp(14px, 2vw, 20px);
}

.carousel-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--muted);
  font-weight: 900;
}

.carousel-controls {
  gap: 8px;
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--sage-dark);
  background: var(--mint);
}

.icon-button svg {
  width: 22px;
  height: 22px;
}

.product-stage {
  overflow: hidden;
  border-radius: 8px;
  background: #eef2ef;
}

.product-stage img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: opacity 180ms ease, transform 240ms ease;
}

.product-stage.is-changing img {
  opacity: 0.2;
  transform: scale(0.985);
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(8, minmax(54px, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.thumb {
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: transparent;
}

.thumb.is-active {
  border-color: var(--tomato);
}

.thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.pricing-card {
  position: sticky;
  top: 98px;
  padding: clamp(18px, 3vw, 26px);
}

.pricing-card p {
  color: var(--muted);
  line-height: 1.65;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--sage-dark);
  background: var(--mint);
  font-size: 0.86rem;
  font-weight: 900;
}

.option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.option-block {
  margin-top: 14px;
}

.option-block label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 900;
}

select {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font-weight: 800;
}

.price-line {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin: 22px 0;
  padding: 18px;
  border-radius: 8px;
  background: #fff7df;
}

.price-line span {
  color: var(--muted);
  font-weight: 900;
}

.price-line strong {
  color: var(--tomato);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 900;
  white-space: nowrap;
}

.spec-table {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.spec-table div {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 10px;
  padding: 13px;
  background: #fff;
}

.spec-table span {
  color: var(--muted);
  font-weight: 800;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-block: 0;
  background: var(--line);
}

.feature-strip div {
  display: grid;
  gap: 7px;
  padding: clamp(26px, 4vw, 44px);
  background: var(--mint);
}

.feature-strip svg {
  color: var(--sage);
}

.feature-strip strong {
  font-size: 1.1rem;
  font-weight: 900;
}

.feature-strip span {
  color: var(--muted);
  line-height: 1.55;
}

.gallery-section {
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg), var(--paper));
}

.gallery-section-top {
  border-bottom: 1px solid var(--line);
  padding-top: clamp(30px, 5vw, 56px);
}

.gallery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.gallery-frame {
  margin-inline: calc(clamp(18px, 5vw, 72px) * -1);
  overflow: hidden;
}

.gallery-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  padding: 4px clamp(18px, 5vw, 72px) 22px;
  scroll-behavior: smooth;
  scroll-padding-inline: clamp(18px, 5vw, 72px);
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.gallery-track:focus {
  outline: 3px solid rgba(47, 125, 92, 0.28);
  outline-offset: 4px;
}

.gallery-card {
  flex: 0 0 clamp(280px, 72vw, 920px);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef2ef;
  box-shadow: var(--shadow);
  scroll-snap-align: center;
}

.gallery-card img {
  width: 100%;
  height: clamp(300px, 62vw, 620px);
  object-fit: cover;
}

.gallery-card span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 10px;
  border-radius: 8px;
  color: #fff;
  background: rgba(31, 45, 38, 0.78);
  font-weight: 900;
  backdrop-filter: blur(8px);
}

.gallery-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 900;
}

.reviews {
  background: var(--paper);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.review-grid article {
  min-height: 220px;
  padding: 24px;
}

.review-grid p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.stars {
  color: var(--gold);
  font-size: 1.2rem;
  letter-spacing: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(40px, 6vw, 70px) clamp(18px, 5vw, 72px);
  color: #fff;
  background: #1f2d26;
}

.site-footer p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin: 0;
  font-style: normal;
}

.contact-list a,
.contact-list span {
  gap: 10px;
  min-height: 46px;
  color: rgba(255, 255, 255, 0.88);
}

.contact-list svg {
  color: var(--gold);
}

@media (max-width: 980px) {
  .hero,
  .intro,
  .product-shell,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .pricing-card {
    position: static;
  }

  .review-grid,
  .feature-strip {
    grid-template-columns: 1fr;
  }

  .gallery-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
    width: 100%;
    gap: 2px;
  }

  .nav-links a {
    padding-inline: 8px;
    font-size: 0.9rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-copy,
  .hero-actions,
  .hero-image {
    max-width: calc(100vw - 48px);
  }

  h1 {
    max-width: 11ch;
  }

  .hero p {
    max-width: 32ch;
  }

  .hero-image::before {
    inset: 14px 10px -10px 18px;
  }

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

  .thumb-row {
    grid-template-columns: repeat(4, minmax(58px, 1fr));
  }

  .spec-table div {
    grid-template-columns: 1fr;
  }

  .gallery-track {
    gap: 14px;
  }

  .gallery-card {
    flex-basis: minmax(280px, calc(100vw - 48px));
    flex-basis: calc(100vw - 48px);
  }

  .gallery-card img {
    height: 390px;
  }

  .gallery-status {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .brand {
    min-width: 0;
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 2.85rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
