/* =========================================================
   Fresh Esthetics - styles.css
   Palette: warm ivory + sage + clay (spa-editorial).
   All component accent colours are mapped through these
   variables so the requested indigo/pastel cues read as a
   real spa brand, not a generic AI gradient.
   ========================================================= */

:root {
  --bg:          #faf7f2;  /* warm ivory */
  --bg-alt:      #f2ece2;  /* sand */
  --surface:     #ffffff;
  --ink:         #2b2a26;  /* warm near-black */
  --ink-soft:    #5f5a52;  /* muted body text */
  --line:        #e7ded1;  /* warm hairline border */
  --primary:     #5b6e58;  /* sage green */
  --primary-deep:#44543f;
  --accent:      #c08a6a;  /* clay / terracotta */
  --accent-soft: #e9d3c4;

  --radius:   16px;
  --radius-sm:10px;
  --shadow-sm: 0 2px 12px rgba(43, 42, 38, 0.06);
  --shadow-md: 0 12px 34px rgba(43, 42, 38, 0.12);
  --maxw: 1180px;
  --ease-soft: cubic-bezier(0.23, 1, 0.32, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-padding-top: 88px;
  /* overflow-anchor: none prevents the browser "correcting" scroll
     position when images or fonts load and shift layout */
  overflow-anchor: none;
}

body {
  margin: 0;
  font-family: "Mulish", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-anchor: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.2px;
  color: var(--ink);
  margin: 0 0 0.4em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
p  { margin: 0 0 1rem; color: var(--ink-soft); }
a  { color: inherit; text-decoration: none; }
img, svg, iframe { display: block; max-width: 100%; }
em { font-style: italic; color: var(--accent); }

.eyebrow {
  font-family: "Mulish", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 1rem;
}

section { position: relative; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  overflow: hidden;          /* for ripple */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-family: "Mulish", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.4s var(--ease-soft),
              background 0.25s ease, color 0.25s ease,
              box-shadow 0.25s ease;
  will-change: transform;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 22px rgba(91, 110, 88, 0.28);
}
.btn-primary:hover { background: var(--primary-deep); box-shadow: 0 12px 28px rgba(91, 110, 88, 0.34); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

/* =========================================================
   NAVIGATION  (#7 scroll-aware glass, #8 active link)
   ========================================================= */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  transition: padding 0.3s ease;
}
.nav--scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}
.nav--scrolled .nav__inner { padding-top: 12px; padding-bottom: 12px; }

.nav__brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.nav__brand-mark {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}
.nav__brand-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--ink);
}
.nav__links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0; padding: 0;
}
.nav__links a {
  position: relative;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
  padding: 4px 0;
  transition: color 0.25s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  height: 2px; width: 0;
  background: var(--primary);
  transition: width 0.3s var(--ease-soft);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a.active {
  color: var(--primary);
  font-weight: 700;
}
.nav__links a.active::after { width: 100%; }

.nav__cta { padding: 0.6rem 1.3rem; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 6px;
}
.nav__toggle span {
  width: 24px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0 28px 22px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
}
.nav__mobile a {
  padding: 0.7rem 0;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.nav__mobile .btn { margin-top: 0.6rem; }

/* =========================================================
   HERO  (#2 parallax, #4 gradient mesh, #15 typewriter)
   ========================================================= */
.hero {
  position: relative;
  z-index: 0;
  overflow: hidden;
  padding: 168px 28px 120px;
}
/* #4 soft animated gradient mesh */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.7;
  background:
    radial-gradient(40% 50% at 15% 25%, rgba(205, 216, 197, 0.85), transparent 60%),
    radial-gradient(45% 55% at 85% 20%, rgba(234, 211, 196, 0.80), transparent 62%),
    radial-gradient(50% 60% at 70% 85%, rgba(246, 239, 228, 0.90), transparent 60%),
    radial-gradient(40% 50% at 25% 90%, rgba(217, 205, 187, 0.55), transparent 60%);
  background-size: 180% 180%;
  animation: meshShift 12s ease-in-out infinite;
}
@keyframes meshShift {
  0%   { background-position:   0% 0%,  100% 0%,   80% 100%,  0% 100%; }
  50%  { background-position: 100% 50%,   0% 60%,  20%   0%, 100%  30%; }
  100% { background-position:   0% 0%,  100% 0%,   80% 100%,  0% 100%; }
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}
.hero__content { max-width: 620px; }
.hero h1 { margin-bottom: 1.1rem; will-change: transform; }
.hero h1 .typed-text {
  display: block;
  color: var(--primary);
  font-style: italic;
  white-space: nowrap;
  /* Always reserves exactly one line so the h1 height never changes
     as text types or deletes between phrases */
  min-height: 1.08em;
}
/* #15 blinking cursor */
.typed-text::after {
  content: "|";
  margin-left: 2px;
  font-style: normal;
  color: var(--accent);
  animation: caretBlink 0.7s step-end infinite;
}
@keyframes caretBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero__subtitle {
  font-size: 1.18rem;
  color: var(--ink-soft);
  max-width: 30ch;
  margin-bottom: 2rem;
  will-change: transform;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.6rem; }
.hero__note { font-size: 0.85rem; color: var(--ink-soft); opacity: 0.85; margin: 0; }

.hero__visual { position: relative; justify-self: center; }
.hero__badge {
  position: absolute;
  bottom: -22px; left: -28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 1rem 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  max-width: 210px;
}
.hero__badge strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.4rem;
  color: var(--primary);
  line-height: 1;
}
.hero__badge span { font-size: 0.78rem; color: var(--ink-soft); line-height: 1.3; }

/* ---------- Photo placeholders ---------- */
.photo-frame {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo-frame--tall { aspect-ratio: 4 / 5; width: min(360px, 80vw); }
/* about section frame needs explicit height since it has no aspect-ratio set */
.about__media .photo-frame { aspect-ratio: 4 / 5; }

.gallery__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-soft);
}
.gallery__tile:hover img { transform: scale(1.04); }

.photo-ph {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: var(--primary);
  background:
    radial-gradient(circle at 30% 30%, rgba(192, 138, 106, 0.18), transparent 55%),
    linear-gradient(135deg, var(--bg-alt), #e9e1d4);
}
.photo-ph svg { width: 40px; height: 40px; opacity: 0.7; }
.photo-ph span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.8;
}

/* Wave dividers — sized in CSS so the browser reserves space before JS runs */
.wave-divider {
  display: block;
  width: 100%;
  height: 80px;
  margin: 0;
  line-height: 0;
  flex-shrink: 0;
}

/* =========================================================
   STATS  (#3 animated counters)
   ========================================================= */
.stats { background: var(--primary); color: #fff; padding: 56px 28px; }
.stats__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat { display: flex; flex-direction: column; gap: 0.3rem; }
.stat-number {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1;
}
.stat-label {
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.82);
}

/* =========================================================
   Shared section scaffolding
   ========================================================= */
.section-head { max-width: 720px; margin: 0 auto 3.4rem; text-align: center; }
.section-sub { font-size: 1.08rem; }

.about, .services, .products, .gallery, .reviews, .contact {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 100px 28px;
}

/* =========================================================
   ABOUT
   ========================================================= */
.about__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}
.about__media .photo-frame { aspect-ratio: 4 / 5; }
.about__values { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 0.9rem; }
.about__values li {
  display: flex; align-items: center; gap: 0.7rem;
  font-weight: 600; color: var(--ink);
}
.about__values svg {
  width: 22px; height: 22px;
  flex-shrink: 0;
  color: #fff;
  background: var(--primary);
  border-radius: 50%;
  padding: 4px;
}

/* =========================================================
   SERVICES  (#5 dot grid, #9 bento, #11 floating icons)
   ========================================================= */
.services {
  position: relative;
  overflow: hidden;
}
/* #5 dot grid texture */
.services::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.45;
  pointer-events: none;
  background-image: radial-gradient(circle, #d9cdbb 1px, transparent 1px);
  background-size: 24px 24px;
}
.services > * { position: relative; z-index: 1; }

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.service-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-soft), box-shadow 0.35s ease;
}
.service-block:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-block h3 { margin: 0.2rem 0 0.2rem; }
.service-block p { margin: 0; font-size: 0.98rem; }
.service-block--hero {
  grid-column: span 2;
  grid-row: span 2;
  background: linear-gradient(160deg, #ffffff, var(--bg-alt));
  justify-content: center;
}
.service-block--hero h3 { font-size: 2.1rem; }
.service-block--hero p { font-size: 1.1rem; max-width: 42ch; }

.service-icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--primary-deep);
  margin-bottom: 0.6rem;
  will-change: transform;
}
.service-icon svg { width: 28px; height: 28px; }
.service-block--hero .service-icon { width: 64px; height: 64px; }
.service-block--hero .service-icon svg { width: 34px; height: 34px; }

.service-tag {
  margin-top: 0.8rem;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--accent);
}

/* =========================================================
   PRODUCTS
   ========================================================= */
.products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.feature-item {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-soft), box-shadow 0.35s ease;
}
.feature-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-mark {
  display: inline-block;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--primary);
  padding: 0.2rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 0.9rem;
}
.feature-item h3 { font-size: 1.3rem; }
.feature-item p { font-size: 0.96rem; margin: 0; }

/* =========================================================
   GALLERY
   ========================================================= */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.gallery__tile {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
}
.gallery__tile svg { width: 38px; height: 38px; }

/* =========================================================
   REVIEWS  (#10 carousel)
   ========================================================= */
.reviews { text-align: center; }
.carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  max-width: 820px;
  margin: 0 auto;
}
.carousel__viewport { overflow: hidden; flex: 1; border-radius: var(--radius); }
.carousel__track {
  display: flex;
  transition: transform 0.6s ease-in-out;
  will-change: transform;
}
.testimonial {
  flex: 0 0 100%;
  box-sizing: border-box;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 44px 48px;
  box-shadow: var(--shadow-sm);
  margin: 0;
  text-align: center;
}
.testimonial__stars { color: var(--accent); letter-spacing: 3px; margin-bottom: 1rem; }
.testimonial blockquote {
  margin: 0 0 1.2rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  line-height: 1.4;
  color: var(--ink);
}
.testimonial figcaption {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--ink-soft);
}
.carousel__btn {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.carousel__btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.carousel__btn svg { width: 20px; height: 20px; }

.reviews__dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.8rem; }
.reviews__dots button {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, transform 0.25s ease;
}
.reviews__dots button.active { background: var(--primary); transform: scale(1.25); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
.contact__lead { font-size: 1.1rem; margin-bottom: 1.8rem; }
.contact__list { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 1.2rem; }
.contact__list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact__list svg { width: 22px; height: 22px; color: var(--primary); flex-shrink: 0; margin-top: 3px; }
.contact__list strong { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-soft); margin-bottom: 2px; }
.contact__list a:hover { color: var(--primary); }
.contact__cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.contact__panel { display: grid; gap: 1.4rem; }
.contact__form {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.contact__form h3 { margin-bottom: 1.2rem; }
.field { margin-bottom: 1rem; display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-size: 0.82rem; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(91, 110, 88, 0.15);
}
.contact__form .btn { width: 100%; margin-top: 0.4rem; }
.form-note { font-size: 0.82rem; text-align: center; margin: 0.8rem 0 0; }

.contact__map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.contact__map iframe { width: 100%; height: 240px; border: 0; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--ink); color: #e9e3d8; padding: 64px 28px 28px; margin-top: 40px; }
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer__brand .nav__brand-mark { margin-bottom: 0.7rem; }
.footer__brand p { margin: 0; color: #e9e3d8; }
.footer__brand p:nth-of-type(1) { font-family: "Cormorant Garamond", serif; font-size: 1.5rem; }
.footer__tag { font-size: 0.9rem; color: rgba(233,227,216,0.7) !important; margin-top: 0.4rem !important; }
.footer__nav, .footer__contact { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__nav a, .footer__contact a { color: rgba(233,227,216,0.85); font-size: 0.95rem; transition: color 0.2s ease; }
.footer__nav a:hover, .footer__contact a:hover { color: #fff; }
.footer__base {
  max-width: var(--maxw);
  margin: 1.6rem auto 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(233,227,216,0.6);
}
.footer__base p { margin: 0; color: inherit; }

/* =========================================================
   #1 FADE-UP SCROLL REVEAL
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   #11 FLOATING ICONS keyframe
   ========================================================= */
@keyframes floatBreath {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.float-icon { animation: floatBreath 3s ease-in-out infinite; }

/* =========================================================
   #13 RIPPLE
   ========================================================= */
.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  pointer-events: none;
  animation: rippleOut 0.55s ease-out forwards;
}
@keyframes rippleOut {
  to { transform: scale(3); opacity: 0; }
}

/* =========================================================
   #14 SCROLL PROGRESS BAR
   Uses scaleX (GPU composited) instead of width (layout).
   ========================================================= */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  z-index: 9999;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  will-change: transform;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__visual { justify-self: start; }
  .about__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact__inner { grid-template-columns: 1fr; }
  .stats__inner { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .products__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav__mobile.open { display: flex; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .service-block--hero { grid-column: span 2; grid-row: span 1; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 140px 20px 80px; }
  .about, .services, .products, .gallery, .reviews, .contact { padding: 70px 20px; }
  .bento { grid-template-columns: 1fr; }
  .service-block--hero { grid-column: span 1; }
  .service-block--hero h3 { font-size: 1.6rem; }
  .products__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr; }
  .stats__inner { grid-template-columns: repeat(2, 1fr); }
  .testimonial { padding: 32px 24px; }
  .testimonial blockquote { font-size: 1.3rem; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero h1 .typed-text { white-space: normal; }
}
