/* =====================================================================
   Bloom & Co. 花藝工作室 — Flowery one-pager
   Design sourced from Figma (Eb6BMvnyDa1xJOkYaGWwj0:8-3352 "demo-flower-shop")
   Scaffold mirrors Pixel Forge v1 (see 06_Design_Style.md; palette ported
   verbatim from renovation/ — navy #000626 + lime #b9f25c accent)
   ===================================================================== */

:root {
  /* Brand — per-client navy (from Figma Fill/Brand/Strong) + lime accent on pricing checks */
  --brand: #000626;
  --brand-hover: #1a1f3d;
  --brand-on: #ffffff;
  --accent: #b9f25c;

  /* Surfaces */
  --bg: #ffffff;
  --bg-raised: #ffffff;
  --bg-sunken: #f5f6fa;
  --bg-inverse: #12131a;

  /* Text */
  --text-strong: rgba(0, 6, 38, 0.9);
  --text-weak: rgba(0, 9, 51, 0.65);
  --text-inverse-strong: #ffffff;
  --text-inverse-weak: rgba(255, 255, 255, 0.78);

  /* Stroke */
  --stroke-weak: rgba(0, 17, 102, 0.1);

  /* Radius / shadow */
  --radius-card: 24px;
  --radius-pill: 360px;
  --shadow-raised: 0 4px 8px -2px rgba(0, 0, 0, 0.04),
    0 2px 4px -2px rgba(0, 0, 0, 0.08);

  /* Layout */
  --max-content: 1084px;
  --top-nav-h: 72px;
  --bottom-nav-h: 72px;

  /* Type */
  --font-sans: "Noto Sans TC", system-ui, -apple-system, "PingFang TC",
    "Microsoft JhengHei", sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--top-nav-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-strong);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3,
h4,
p,
ul {
  margin: 0;
  padding: 0;
}
ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid #4d90fe;
  outline-offset: 2px;
  border-radius: 4px;
}

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

/* ---------- a11y skip link ---------- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 16px;
  background: var(--brand);
  color: var(--brand-on);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 1000;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 16px;
}

/* =====================================================================
   Buttons — navy pill (primary), small pill (sm), white pill (inverse)
   ===================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 56px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--brand);
  color: var(--brand-on);
  font-family: inherit;
  font-size: 20px;
  line-height: 30px;
  font-weight: 400;
  white-space: nowrap;
  box-shadow: var(--shadow-raised);
  transition: background-color 0.15s ease, transform 0.08s ease;
}
.btn:hover {
  background: var(--brand-hover);
}
.btn:active {
  transform: translateY(1px);
}
.btn--sm {
  height: 32px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}
.btn--inverse {
  background: #ffffff;
  color: var(--text-strong);
}
.btn--inverse:hover {
  background: #f0f0f0;
}

.icon {
  width: 24px;
  height: 24px;
  flex: none;
}
.icon--sm {
  width: 16px;
  height: 16px;
}

/* =====================================================================
   Top nav (sticky on both breakpoints)
   ===================================================================== */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--top-nav-h);
  padding: 6px 16px;
  background: var(--bg);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--stroke-weak);
}

.top-nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-strong);
}
.top-nav__logo img {
  width: 40px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
}
.top-nav__logo-text {
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
}

.top-nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  height: var(--top-nav-h);
}

.nav-link {
  padding: 0 16px;
  height: var(--top-nav-h);
  display: inline-flex;
  align-items: center;
  color: var(--text-strong);
  font-size: 18px;
  line-height: 28px;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-link:hover {
  color: #000;
}
.nav-link.is-active {
  border-bottom-color: var(--brand);
  font-weight: 600;
}

.top-nav__cta {
  flex: none;
}

/* =====================================================================
   Hero — full-bleed interior image with dark-on-light title + stats tab
   ===================================================================== */
.hero {
  padding: 16px;
}

.hero__card {
  position: relative;
  width: 100%;
  aspect-ratio: 1292 / 704;
  min-height: 480px;
  max-height: 780px;
  border-radius: var(--radius-card);
  overflow: hidden;
  isolation: isolate;
  background: #d9d9d9;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__content {
  position: absolute;
  left: clamp(24px, 9vw, 126px);
  top: clamp(64px, 20vw, 240px);
  right: clamp(24px, 9vw, 126px);
  z-index: 2;
  color: #1c1b1b;
  max-width: 920px;
}

.hero__title {
  font-size: clamp(32px, 5.5vw, 72px);
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero__title span {
  display: block;
}

.hero__rule {
  display: block;
  width: 96px;
  height: 8px;
  background: #ffffff;
  margin: 16px 0 20px;
  border-radius: 2px;
}

.hero__sub {
  font-size: clamp(14px, 1.4vw, 20px);
  line-height: 1.5;
  font-weight: 400;
  color: var(--text-strong);
}

/* Stats tab — navy box glued to bottom-right corner of the hero card */
.stats {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  display: flex;
  gap: 40px;
  align-items: center;
  padding: 40px 48px;
  background: var(--brand);
  color: var(--brand-on);
  border-radius: var(--radius-card) 0 var(--radius-card) 0;
  max-width: calc(100% - 32px);
  box-shadow: var(--shadow-raised);
}
.stats__item {
  text-align: center;
}
.stats__value {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--brand-on);
}
.stats__label {
  margin-top: 4px;
  font-size: 18px;
  line-height: 28px;
  color: rgba(255, 255, 255, 0.78);
}

/* =====================================================================
   Generic section
   ===================================================================== */
.section {
  padding: 80px 120px;
}
.section--sunken {
  background: var(--bg-sunken);
}
.section__header {
  max-width: var(--max-content);
  margin: 0 auto 40px;
  text-align: center;
}
.section__eyebrow {
  color: var(--text-weak);
  font-size: 22px;
  line-height: 32px;
  margin-bottom: 0;
}
.section__title {
  color: #1c1b1b;
  font-size: 40px;
  line-height: 1.4;
  font-weight: 700;
}

/* =====================================================================
   Cards (shared)
   ===================================================================== */
.card {
  background: var(--bg-raised);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-raised);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

/* =====================================================================
   Services grid — 4 cards desktop, carousel on mobile
   ===================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  max-width: var(--max-content);
  margin: 0 auto;
  width: 100%;
}
.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-card);
  background: #d9d9d9;
}
.service-card__title {
  font-size: 22px;
  line-height: 32px;
  font-weight: 400;
  color: var(--text-strong);
}
.service-card__desc {
  font-size: 16px;
  line-height: 24px;
  color: var(--text-weak);
}

/* =====================================================================
   Masonry gallery — 3 columns × 3 portrait tiles, differing heights
   ===================================================================== */
.masonry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: var(--max-content);
  margin: 0 auto;
  width: 100%;
}
.masonry__col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.masonry__item {
  margin: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #d9d9d9;
}
.masonry__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.masonry__item--tall {
  aspect-ratio: 345 / 518;
}
.masonry__item--med {
  aspect-ratio: 345 / 432;
}
.masonry__item--short {
  aspect-ratio: 345 / 402;
}

/* =====================================================================
   Reviews grid — 3 cols desktop, carousel on mobile
   ===================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: var(--max-content);
  margin: 0 auto;
  width: 100%;
}
.review-card__stars {
  color: #f4b400;
  font-size: 16px;
  letter-spacing: 2px;
}
.review-card__body {
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  color: var(--text-strong);
}
.review-card__author {
  display: flex;
  gap: 16px;
  align-items: center;
}
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  background: #e5e2e1;
  font-weight: 700;
  font-size: 16px;
  color: #1c1b1b;
}
.review-card__name {
  font-size: 16px;
  line-height: 24px;
  color: var(--text-strong);
}
.review-card__meta {
  font-size: 16px;
  line-height: 24px;
  color: var(--text-weak);
}

/* =====================================================================
   Advantages — 2-col: list + image
   ===================================================================== */
.advantages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 71px;
  max-width: var(--max-content);
  margin: 0 auto;
  align-items: stretch;
}
.advantages__list {
  display: flex;
  flex-direction: column;
  gap: 62px;
}
.advantage {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.advantage__icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border: 1px solid var(--stroke-weak);
  border-radius: 48px;
  color: var(--text-strong);
}
.advantage__icon svg {
  width: 24px;
  height: 24px;
}
.advantage__title {
  font-size: 22px;
  line-height: 32px;
  font-weight: 700;
  color: var(--text-strong);
}
.advantage__desc {
  margin-top: 4px;
  font-size: 16px;
  line-height: 24px;
  color: var(--text-weak);
}
.advantages__figure {
  margin: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #d9d9d9;
}
.advantages__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =====================================================================
   About — 2-col: image + text block (Figma 關於我們)
   ===================================================================== */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 71px;
  max-width: var(--max-content);
  margin: 0 auto;
  align-items: stretch;
}
.about__figure {
  margin: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #d9d9d9;
  min-height: 400px;
}
.about__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.about__title {
  font-size: 22px;
  line-height: 32px;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 4px;
}
.about__body p {
  font-size: 16px;
  line-height: 24px;
  color: var(--text-weak);
}
.about__body p + p {
  margin-top: 0;
}
.about__body .about__spacer {
  height: 24px;
}

/* =====================================================================
   Pricing — 3 tier cards (head + body), lime check chips
   ===================================================================== */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: var(--max-content);
  margin: 0 auto;
  width: 100%;
}
.pricing-card {
  display: flex;
  flex-direction: column;
}
.pricing-card__head {
  background: #ffffff;
  border: 1px solid var(--stroke-weak);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.pricing-card__body {
  background: #ffffff;
  border: 1px solid var(--stroke-weak);
  border-top: 0;
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  flex: 1;
}
.pricing-card__tier {
  font-size: 22px;
  line-height: 32px;
  font-weight: 700;
  color: var(--text-strong);
}
.pricing-card__price {
  display: flex;
  align-items: flex-end;
  color: var(--text-strong);
  font-weight: 700;
  min-height: 72px;
}
.pricing-card__amount {
  font-size: 60px;
  line-height: 1.05;
  font-weight: 700;
}
.pricing-card__suffix {
  font-size: 20px;
  line-height: 43px;
  font-weight: 700;
}
.pricing-card__quote {
  font-size: 40px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--text-strong);
}
.pricing-card__tagline {
  font-size: 16px;
  line-height: 24px;
  color: var(--text-weak);
}
.pricing-card__cta {
  align-self: stretch;
}
.pricing-card__body-head {
  font-size: 16px;
  line-height: 24px;
  color: var(--text-weak);
}
.pricing-feature {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 16px;
  line-height: 24px;
  color: #000;
}
.pricing-feature__check {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  background: var(--accent);
  color: #1c1b1b;
}
.pricing-feature__check svg {
  width: 18px;
  height: 18px;
}

/* =====================================================================
   FAQ — single card wrapper with stacked accordion items
   ===================================================================== */
.faq {
  max-width: var(--max-content);
  margin: 0 auto;
  background: var(--bg-raised);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-raised);
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}
.faq__list {
  width: 100%;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq__item {
  padding: 16px;
  border-radius: var(--radius-card);
}
.faq__item[open] {
  background: transparent;
}
.faq__summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 22px;
  line-height: 32px;
  font-weight: 700;
  color: var(--text-strong);
}
.faq__summary::-webkit-details-marker {
  display: none;
}
.faq__summary::after {
  content: "";
  width: 24px;
  height: 24px;
  flex: none;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000626' stroke-width='2' stroke-linecap='round'><path d='M5 12h14M12 5v14'/></svg>")
    no-repeat center / contain;
  transition: transform 0.2s ease;
}
.faq__item[open] .faq__summary::after {
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000626' stroke-width='2' stroke-linecap='round'><path d='M5 12h14'/></svg>")
    no-repeat center / contain;
}
.faq__answer {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 24px;
  color: var(--text-weak);
}

/* =====================================================================
   Contact — 2-col: info list + map image (matches advantages layout)
   ===================================================================== */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 71px;
  max-width: var(--max-content);
  margin: 0 auto;
  align-items: stretch;
}
.contact__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.contact__row {
  display: flex;
  gap: 16px;
  align-items: center;
}
.contact__icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border: 1px solid var(--stroke-weak);
  border-radius: 48px;
  color: var(--text-strong);
}
.contact__icon svg {
  width: 24px;
  height: 24px;
}
.contact__link {
  font-size: 16px;
  line-height: 24px;
  color: var(--text-strong);
  transition: color 0.15s ease;
}
.contact__link:hover {
  color: #000;
  text-decoration: underline;
}
.contact__muted {
  color: var(--text-weak);
}
.contact__map {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #d9d9d9;
  min-height: 320px;
}
.contact__map img,
.contact__map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
  object-fit: cover;
}

/* =====================================================================
   Footer (dark)
   ===================================================================== */
.footer {
  background: var(--bg-inverse);
  color: var(--text-inverse-strong);
  padding: 80px 120px;
}
.footer__inner {
  max-width: var(--max-content);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}
.footer__brand {
  font-size: 22px;
  line-height: 32px;
  font-weight: 700;
}
.footer__tagline {
  margin-top: 4px;
  font-size: 16px;
  line-height: 24px;
  color: var(--text-inverse-weak);
}
.footer__heading {
  font-size: 22px;
  line-height: 32px;
  font-weight: 700;
  margin-bottom: 4px;
}
.footer__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--text-inverse-weak);
}
.footer__list li {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 16px;
  line-height: 24px;
}
.footer__list a {
  color: var(--text-inverse-weak);
  transition: color 0.15s ease;
}
.footer__list a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer__ig {
  text-decoration: underline;
}
.footer__copy {
  color: var(--text-inverse-weak);
  font-size: 16px;
  line-height: 24px;
}

/* =====================================================================
   Carousel (mobile cards) — silent on desktop
   ===================================================================== */
.carousel {
  position: relative;
}
.carousel__dots {
  display: none;
}

/* =====================================================================
   Bottom nav (mobile only)
   ===================================================================== */
.bottom-nav {
  display: none;
}
.bottom-nav__item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
  height: 100%;
  color: var(--text-weak);
  font-size: 12px;
  line-height: 1.4;
  padding: 10px 4px 8px;
  transition: color 0.15s ease;
}
.bottom-nav__icon {
  width: 24px;
  height: 24px;
}
.bottom-nav__item.is-active {
  color: var(--text-strong);
}

/* =====================================================================
   Floating WhatsApp FAB (mobile only)
   ===================================================================== */
.wa-fab {
  display: none;
}

/* =====================================================================
   MOBILE — ≤ 768px
   ===================================================================== */
@media (max-width: 768px) {
  html {
    scroll-padding-top: calc(var(--top-nav-h) + 12px);
    scroll-padding-bottom: calc(var(--bottom-nav-h) + 12px);
  }

  body {
    padding-bottom: var(--bottom-nav-h);
  }

  /* top nav */
  .top-nav {
    padding: 6px 16px;
  }
  .top-nav__logo img {
    width: 32px;
    height: 26px;
  }
  .top-nav__logo-text {
    font-size: 16px;
  }
  .top-nav__links {
    display: none;
  }
  .top-nav__cta {
    height: 40px;
    padding: 0 16px;
    font-size: 14px;
  }
  .top-nav__cta .icon {
    width: 16px;
    height: 16px;
  }

  /* hero */
  .hero__card {
    aspect-ratio: auto;
    min-height: 560px;
  }
  .hero__content {
    left: 24px;
    right: 24px;
    top: 56px;
  }
  .hero__title {
    font-size: 28px;
    line-height: 40px;
    margin-bottom: 12px;
  }
  .hero__rule {
    width: 64px;
    height: 6px;
    margin: 12px 0 16px;
  }
  .hero__sub {
    font-size: 15px;
    line-height: 24px;
  }
  .stats {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    gap: 12px;
    padding: 20px 16px;
    border-radius: var(--radius-card);
    justify-content: space-around;
  }
  .stats__value {
    font-size: 24px;
  }
  .stats__label {
    font-size: 13px;
    line-height: 20px;
  }

  /* sections */
  .section {
    padding: 48px 16px;
  }
  .section__title {
    font-size: 24px;
    line-height: 34px;
  }
  .section__eyebrow {
    font-size: 18px;
    line-height: 28px;
  }

  /* Services + reviews: horizontal snap carousels */
  .carousel {
    margin: 0 -16px;
    padding: 0 16px;
  }
  .services-grid,
  .reviews-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 16px;
    padding: 4px 16px 16px;
    margin: 0 -16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .services-grid::-webkit-scrollbar,
  .reviews-grid::-webkit-scrollbar {
    display: none;
  }
  .services-grid > .card,
  .reviews-grid > .card {
    scroll-snap-align: start;
  }
  .carousel__dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
  }
  .carousel__dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background: rgba(0, 9, 51, 0.2);
    border: 0;
    padding: 0;
    transition: background-color 0.2s, width 0.2s;
  }
  .carousel__dot.is-active {
    background: var(--text-strong);
    width: 22px;
  }

  /* Masonry: stack to 1 column (portrait cards) */
  .masonry {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .masonry__col {
    gap: 16px;
  }

  /* Advantages */
  .advantages {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .advantages__figure {
    order: -1;
    aspect-ratio: 4 / 3;
  }
  .advantages__list {
    gap: 24px;
  }

  /* About */
  .about {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about__figure {
    order: -1;
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  /* Pricing: stack vertically */
  .pricing {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* FAQ */
  .faq {
    padding: 24px 16px;
    gap: 24px;
  }
  .faq__summary {
    font-size: 18px;
    line-height: 28px;
  }

  /* Contact */
  .contact {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .contact__map {
    min-height: 240px;
    order: 1;
  }
  .contact__list {
    order: 0;
  }

  /* Footer */
  .footer {
    padding: 48px 16px 32px;
  }

  /* Bottom nav visible on mobile */
  .bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    display: flex;
    height: var(--bottom-nav-h);
    background: var(--bg);
    border-top: 1px solid var(--stroke-weak);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  /* WhatsApp FAB */
  .wa-fab {
    position: fixed;
    right: 16px;
    bottom: calc(var(--bottom-nav-h) + 16px + env(safe-area-inset-bottom, 0));
    z-index: 98;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 9999px;
    background: #25d366;
    color: #fff;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
    transition: transform 0.15s ease;
  }
  .wa-fab:hover {
    transform: scale(1.05);
  }
  .wa-fab svg {
    width: 28px;
    height: 28px;
  }
}

/* Small phones: tighten further */
@media (max-width: 380px) {
  .bottom-nav__item span {
    font-size: 11px;
  }
  .stats {
    gap: 4px;
    padding: 16px 12px;
  }
  .stats__value {
    font-size: 20px;
  }
  .stats__label {
    font-size: 12px;
  }
}

/* =====================================================================
   Desktop narrow (769–1100) — breathing room
   ===================================================================== */
@media (min-width: 769px) and (max-width: 1100px) {
  .section,
  .footer {
    padding-left: 48px;
    padding-right: 48px;
  }
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .pricing {
    grid-template-columns: 1fr;
  }
}
