/* NexaBath - mineral spa design system
   Palette: mist stone, deep ink, water teal, soft copper
   Stack: Bootstrap 5 + custom motion
*/

:root {
  --ink: #152028;
  --ink-soft: #2a3640;
  --mist: #eef2f1;
  --mist-deep: #e2e8e6;
  --paper: #f7f5f1;
  --foam: #ffffff;
  --teal: #1f6f78;
  --teal-deep: #14555c;
  --teal-glow: #3a9aa3;
  --copper: #b57a4a;
  --copper-soft: #d4a574;
  --line: rgba(21, 32, 40, 0.12);
  --shadow: 0 24px 60px rgba(21, 32, 40, 0.12);
  --radius: 1.25rem;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 4.5rem;
}

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

html {
  scroll-padding-top: calc(var(--nav-h) + 0.75rem);
  overflow-x: clip;
}

.section[id],
.hero[id],
#products,
#about,
#gallery,
#reviews,
#contact,
#home {
  scroll-margin-top: calc(var(--nav-h) + 0.75rem);
}

body {
  margin: 0;
  padding-top: var(--nav-h);
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(58, 154, 163, 0.14), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(181, 122, 74, 0.1), transparent 50%),
    linear-gradient(180deg, var(--mist) 0%, var(--paper) 40%, var(--mist-deep) 100%);
  line-height: 1.65;
  overflow-x: clip;
  max-width: 100%;
}

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

/* Avoid Bootstrap/global height:auto fighting framed product shots */
.tile-media img,
.related-grid .tile-media img {
  height: 100%;
}

a {
  color: var(--teal-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--teal);
}

h1,
h2,
h3,
h4,
.display {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-weight: 700;
}

.container-narrow {
  max-width: 1120px;
}

/* --- Nav --- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(238, 242, 241, 0.82);
  border-bottom: 1px solid var(--line);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-nav.is-over-hero {
  background: rgba(10, 18, 22, 0.28);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.site-nav.is-over-hero .logo-mark img {
  filter: brightness(0) invert(1);
}

.site-nav.is-over-hero .nav-links a {
  color: rgba(255, 255, 255, 0.82);
}

.site-nav.is-over-hero .nav-links a:hover {
  color: #fff;
}

.site-nav.is-over-hero .btn-nexa-outline {
  --bs-btn-color: #fff;
  --bs-btn-border-color: rgba(255, 255, 255, 0.55);
  --bs-btn-hover-bg: rgba(255, 255, 255, 0.12);
  --bs-btn-hover-border-color: #fff;
  --bs-btn-hover-color: #fff;
}

.site-nav.is-over-hero .nav-toggle span,
.site-nav.is-over-hero .nav-toggle span::before,
.site-nav.is-over-hero .nav-toggle span::after {
  background: #fff;
}

.site-nav .brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
}

.site-nav .brand img,
.site-nav .brand svg,
.logo-mark {
  width: 9.5rem;
  height: auto;
}

.logo-mark {
  color: var(--teal-deep);
}

.logo-mark img {
  width: 100%;
  height: auto;
  /* Logo PNG - black mark tinted toward teal-ink */
  filter: brightness(0) saturate(100%) invert(24%) sepia(24%) saturate(980%) hue-rotate(143deg) brightness(92%) contrast(92%);
}

.nav-links {
  display: none;
  gap: 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 560;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--teal);
}

.nav-cta {
  display: none;
}

@media (min-width: 992px) {
  .nav-links,
  .nav-cta {
    display: flex;
  }
}

.btn-nexa {
  --bs-btn-bg: var(--ink);
  --bs-btn-border-color: var(--ink);
  --bs-btn-color: var(--foam);
  --bs-btn-hover-bg: var(--teal-deep);
  --bs-btn-hover-border-color: var(--teal-deep);
  --bs-btn-hover-color: var(--foam);
  --bs-btn-padding-x: 1.35rem;
  --bs-btn-padding-y: 0.75rem;
  --bs-btn-font-weight: 600;
  --bs-btn-border-radius: 999px;
  font-family: var(--font-body);
  letter-spacing: 0.01em;
}

.btn-nexa-outline {
  --bs-btn-color: var(--ink);
  --bs-btn-border-color: var(--ink);
  --bs-btn-hover-bg: var(--ink);
  --bs-btn-hover-color: var(--foam);
  --bs-btn-padding-x: 1.35rem;
  --bs-btn-padding-y: 0.75rem;
  --bs-btn-border-radius: 999px;
  --bs-btn-font-weight: 600;
  background: transparent;
}

.btn-market {
  --bs-btn-bg: var(--teal);
  --bs-btn-border-color: var(--teal);
  --bs-btn-hover-bg: var(--teal-deep);
  --bs-btn-hover-border-color: var(--teal-deep);
  --bs-btn-color: #fff;
  --bs-btn-border-radius: 999px;
  --bs-btn-padding-x: 1.35rem;
  --bs-btn-padding-y: 0.75rem;
  --bs-btn-font-weight: 600;
}

.btn-market-ghost {
  --bs-btn-color: #fff;
  --bs-btn-border-color: rgba(255, 255, 255, 0.65);
  --bs-btn-hover-bg: rgba(255, 255, 255, 0.12);
  --bs-btn-hover-border-color: #fff;
  --bs-btn-hover-color: #fff;
  --bs-btn-border-radius: 999px;
  --bs-btn-padding-x: 1.35rem;
  --bs-btn-padding-y: 0.75rem;
  --bs-btn-font-weight: 600;
  background: transparent;
}

/* --- Hero (full-bleed photo + middle-left editorial) --- */
.hero {
  position: relative;
  margin-top: calc(var(--nav-h) * -1);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--foam);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 42%;
  transform: scale(1.06);
  will-change: transform;
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 14, 18, 0.62) 0%, rgba(8, 14, 18, 0.28) 38%, transparent 58%),
    linear-gradient(180deg, rgba(8, 14, 18, 0.45) 0%, transparent 28%, transparent 72%, rgba(8, 14, 18, 0.4) 100%);
}

.hero-corner {
  position: absolute;
  top: calc(var(--nav-h) + 0.75rem);
  right: 0;
  left: auto;
  z-index: 3;
  padding: 0 clamp(1rem, 4vw, 2rem);
  pointer-events: none;
  text-align: right;
}

.hero-live {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.85rem 0.4rem 0.55rem;
  border-radius: 999px;
  background: rgba(8, 14, 18, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: riseIn 0.8s var(--ease) both;
}

.hero-live .pulse {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #6dffb0;
  box-shadow: 0 0 0 0 rgba(109, 255, 176, 0.7);
  animation: livePulse 1.8s ease-out infinite;
}

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(109, 255, 176, 0.65);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(109, 255, 176, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(109, 255, 176, 0);
  }
}

.hero-dock {
  position: relative;
  z-index: 2;
  padding: calc(var(--nav-h) * 0.35) 0 2rem;
  margin-top: calc(var(--nav-h) * 0.25);
  animation: riseIn 0.95s 0.1s var(--ease) both;
}

.hero-dock-inner {
  max-width: 32rem;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-kicker {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
  margin: 0 0 0.55rem;
}

.brand-signal {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 6vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0 0 0.85rem;
  color: #fff;
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.hero-copy {
  max-width: 30rem;
  font-size: clamp(0.98rem, 1.8vw, 1.1rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.84);
  margin: 0 0 1.35rem;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-actions .btn {
  flex: 1 1 auto;
  text-align: center;
  min-width: min(100%, 9.5rem);
}

.hero-scroll {
  position: absolute;
  right: clamp(1rem, 4vw, 2.5rem);
  bottom: 2.5rem;
  z-index: 3;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  display: block;
}

.hero-scroll span {
  position: relative;
  padding-top: 1.5rem;
}

.hero-scroll span::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 1.1rem;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.7));
  transform: translateX(-50%);
  animation: scrollCue 1.8s var(--ease) infinite;
}

@keyframes scrollCue {
  0%,
  100% {
    opacity: 0.35;
    transform: translateX(-50%) scaleY(0.7);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scaleY(1);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 768px) {
  .hero-dock {
    padding: 0.5rem 0 2.5rem;
  }

  .hero-dock-inner {
    padding: 0;
  }

  .hero-scroll {
    display: block;
  }

  .hero-actions .btn {
    flex: 0 0 auto;
  }
}

@media (max-width: 767px) {
  .hero {
    min-height: 100svh;
    justify-content: center;
  }

  .hero-media img {
    object-position: 70% 38%;
  }

  .hero-dock {
    padding: 0.25rem 0 1.5rem;
    margin-top: calc(var(--nav-h) * 0.15);
  }

  .hero-dock-inner {
    padding: 0;
  }

  .brand-signal {
    font-size: clamp(1.85rem, 9vw, 2.35rem);
    margin-bottom: 0.55rem;
  }

  .hero-copy {
    font-size: 0.92rem;
    margin-bottom: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.5rem;
  }

  .hero-actions .btn {
    width: auto;
    flex: 1 1 0;
    padding-left: 0.65rem;
    padding-right: 0.65rem;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .hero-corner {
    top: auto;
    bottom: 1.1rem;
    right: 1rem;
    left: auto;
  }

  .hero-live {
    font-size: 0.65rem;
  }

  .site-nav .brand img,
  .site-nav .brand svg,
  .logo-mark {
    width: 7.25rem;
  }
}

/* --- Sections --- */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  margin-bottom: 0.75rem;
}

.section-lead {
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* --- About band --- */
.about-band {
  display: grid;
  gap: 2rem;
}

@media (min-width: 992px) {
  .about-band {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
}

.stat-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.stat-rail div {
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}

.stat-rail strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: -0.03em;
}

.stat-rail span {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.about-panel {
  position: relative;
  border-radius: calc(var(--radius) + 0.35rem);
  overflow: hidden;
  min-height: 420px;
  box-shadow: var(--shadow);
}

.about-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

.about-panel figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 1rem 1.15rem;
  background: rgba(247, 245, 241, 0.92);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  font-size: 0.92rem;
}

/* --- Product mosaic --- */
.product-mosaic {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .product-mosaic {
    grid-template-columns: repeat(12, 1fr);
  }
  .product-mosaic .tile:nth-child(1) {
    grid-column: span 7;
  }
  .product-mosaic .tile:nth-child(2) {
    grid-column: span 5;
  }
  .product-mosaic .tile:nth-child(3),
  .product-mosaic .tile:nth-child(4),
  .product-mosaic .tile:nth-child(5) {
    grid-column: span 4;
  }
  .product-mosaic .tile:nth-child(6),
  .product-mosaic .tile:nth-child(7) {
    grid-column: span 6;
  }
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--foam);
  border: 1px solid var(--line);
  min-height: 0;
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease);
}

.tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  color: inherit;
}

.tile-media {
  flex: 0 0 auto;
  aspect-ratio: 4 / 3;
  min-height: 240px;
  background: linear-gradient(145deg, #f3f6f5, #e7eeed);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.tile-media img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
  padding: 1.5rem;
  transition: transform 0.7s var(--ease);
}

.tile:hover .tile-media img {
  transform: scale(1.04);
}

.tile-body {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  padding: 1.15rem 1.35rem 1.4rem;
  background: var(--foam);
  border-top: 1px solid var(--line);
}

.tile-body h3 {
  font-size: 1.2rem;
  margin: 0 0 0.4rem;
}

.tile-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tile-link {
  display: inline-flex;
  margin-top: 0.85rem;
  font-weight: 700;
  color: var(--teal-deep);
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .product-mosaic .tile:nth-child(1) .tile-media,
  .product-mosaic .tile:nth-child(2) .tile-media {
    min-height: 300px;
    aspect-ratio: 16 / 10;
  }
}

/* --- Why / features --- */
.feature-strip {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .feature-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--copper-soft));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease);
}

.feature:hover::before,
.reveal.is-in .feature::before {
  transform: scaleX(1);
}

.feature h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.feature p {
  margin: 0;
  color: var(--ink-soft);
}

/* --- Gallery --- */
.gallery-flow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .gallery-flow {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.gallery-flow figure {
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
  background: #dde5e3;
  aspect-ratio: 1;
}

.gallery-flow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.gallery-flow figure:hover img {
  transform: scale(1.08);
}

.gallery-flow figure:nth-child(3),
.gallery-flow figure:nth-child(6) {
  grid-row: span 1;
}

@media (min-width: 768px) {
  .gallery-flow figure:nth-child(1),
  .gallery-flow figure:nth-child(7) {
    grid-column: span 2;
    aspect-ratio: 4 / 3;
  }
}

/* --- CTA band --- */
.cta-band {
  margin: 1rem 0 0;
  border-radius: calc(var(--radius) + 0.5rem);
  padding: clamp(2rem, 5vw, 3.5rem);
  background:
    radial-gradient(600px 280px at 85% 20%, rgba(58, 154, 163, 0.35), transparent 60%),
    linear-gradient(135deg, var(--ink) 0%, #1c3a42 55%, #244a40 100%);
  color: var(--foam);
  box-shadow: var(--shadow);
}

.cta-band h2 {
  max-width: 18ch;
  margin-bottom: 0.75rem;
}

.cta-band p {
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

.cta-band .btn-nexa {
  --bs-btn-bg: var(--foam);
  --bs-btn-border-color: var(--foam);
  --bs-btn-color: var(--ink);
  --bs-btn-hover-bg: #e8f2f2;
  --bs-btn-hover-border-color: #e8f2f2;
  --bs-btn-hover-color: var(--ink);
}

.cta-band .btn-nexa-outline {
  --bs-btn-color: #fff;
  --bs-btn-border-color: rgba(255, 255, 255, 0.55);
  --bs-btn-hover-bg: rgba(255, 255, 255, 0.12);
  --bs-btn-hover-color: #fff;
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
}

.contact-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.contact-card a {
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
}

.contact-card a:hover {
  color: var(--teal);
}

/* --- Footer --- */
.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.site-footer a {
  color: var(--ink-soft);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--teal);
}

/* --- Reveal on scroll --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}
.reveal-delay-2 {
  transition-delay: 0.16s;
}
.reveal-delay-3 {
  transition-delay: 0.24s;
}

/* --- Product page --- */
.product-hero {
  padding: 2.5rem 0 2rem;
}

.product-layout {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 992px) {
  .product-layout {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
    gap: 2.5rem;
  }
}

.product-visual {
  border-radius: calc(var(--radius) + 0.25rem);
  background: linear-gradient(160deg, #fff, #e8efee);
  border: 1px solid var(--line);
  padding: 1.25rem;
  position: relative;
  top: auto;
  isolation: isolate;
}

@media (min-width: 992px) {
  .product-visual {
    position: sticky;
    top: calc(var(--nav-h) + 1rem);
    padding: 1.75rem;
  }
}

.product-visual img {
  width: 100%;
  height: auto;
  max-height: min(70vh, 640px);
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
  display: block;
}

.product-meta {
  position: relative;
  z-index: 1;
  background: transparent;
}

.product-meta .section-title {
  margin-top: 0;
}

.product-meta .price-note {
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}

.prose {
  max-width: 68ch;
}

.prose h2 {
  font-size: 1.6rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.prose h3 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose ul {
  padding-left: 1.15rem;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0 2rem;
  font-size: 0.95rem;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 0.85rem 0.5rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.spec-table th {
  width: 38%;
  color: var(--ink);
  font-weight: 700;
}

.spec-table td {
  color: var(--ink-soft);
}

.related-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.page-hero-lite {
  padding: 3rem 0 1rem;
}

.hub-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.1rem 0 0.25rem;
}

.hub-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.55);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.hub-chip:hover,
.hub-chip.is-active {
  color: var(--teal-deep, #1f6f78);
  border-color: rgba(31, 111, 120, 0.35);
  background: rgba(58, 154, 163, 0.1);
}

.hub-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.category-block {
  margin-bottom: 2.75rem;
}

.category-block-head {
  margin-bottom: 1.15rem;
}

.category-block-head .section-title {
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
}

.category-block-head .section-title a {
  color: inherit;
  text-decoration: none;
}

.category-block-head .section-title a:hover {
  color: var(--teal);
}

.text-link {
  display: inline-block;
  margin-top: 0.35rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.intent-callout {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--teal);
  background: rgba(58, 154, 163, 0.08);
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.55;
}

.intent-callout a {
  color: var(--teal-deep, #1f6f78);
  font-weight: 600;
  white-space: nowrap;
}

.hub-prose {
  max-width: 42rem;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--foam);
}

.map-embed iframe {
  border: 0;
  width: 100%;
  height: 100%;
}

.breadcrumb-nexa {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.breadcrumb-nexa a {
  text-decoration: none;
  color: var(--ink-soft);
}

.breadcrumb-nexa a:hover {
  color: var(--teal);
}

/* Mobile menu */
.mobile-drawer {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  background: rgba(247, 245, 241, 0.97);
  border-bottom: 1px solid var(--line);
  padding: 1rem 1.25rem 1.5rem;
  transform: translateY(-120%);
  transition: transform 0.4s var(--ease);
  z-index: 999;
}

.mobile-drawer.open {
  transform: none;
}

.mobile-drawer a {
  display: block;
  padding: 0.7rem 0;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}

.nav-toggle {
  border: 0;
  background: transparent;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
}

.nav-toggle span::before {
  top: -6px;
}
.nav-toggle span::after {
  top: 6px;
}

@media (min-width: 992px) {
  .nav-toggle,
  .mobile-drawer {
    display: none !important;
  }
}

/* --- Boot loader --- */
html.is-booting,
html.is-booting body {
  overflow: hidden;
}

#page-loader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background:
    radial-gradient(900px 520px at 18% 12%, rgba(58, 154, 163, 0.16), transparent 58%),
    radial-gradient(800px 480px at 88% 8%, rgba(181, 122, 74, 0.1), transparent 52%),
    linear-gradient(180deg, #eef2f1 0%, #f7f5f1 48%, #e2e8e6 100%);
  transition: opacity 0.45s var(--ease), visibility 0.45s var(--ease);
}

#page-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  text-align: center;
}

.page-loader-logo {
  width: min(11.5rem, 58vw);
  height: auto;
  filter: brightness(0) saturate(100%) invert(24%) sepia(24%) saturate(980%) hue-rotate(143deg) brightness(92%) contrast(92%);
  animation: loader-breathe 1.6s var(--ease) infinite;
}

.page-loader-bar {
  width: min(8.5rem, 42vw);
  height: 2px;
  border-radius: 99px;
  background: rgba(21, 32, 40, 0.1);
  overflow: hidden;
}

.page-loader-bar > span {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--teal-glow));
  animation: loader-slide 1.15s ease-in-out infinite;
}

.page-loader-copy {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(21, 32, 40, 0.48);
}

@keyframes loader-breathe {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(0.985);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes loader-slide {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(280%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-loader-logo,
  .page-loader-bar > span {
    animation: none;
  }

  .page-loader-logo {
    opacity: 1;
  }

  .page-loader-bar > span {
    width: 100%;
    transform: none;
  }
}

/* Google reviews / local proof */
.google-reviews {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

@media (min-width: 900px) {
  .google-reviews {
    grid-template-columns: 1fr 1.15fr;
    align-items: stretch;
    gap: 1.5rem;
  }
}

.google-reviews-card {
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 0.15rem);
  padding: 1.5rem 1.35rem;
  box-shadow: 0 18px 50px rgba(21, 32, 40, 0.06);
}

.google-reviews-score {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  letter-spacing: -0.03em;
  color: var(--ink);
}

.google-reviews-score span {
  color: var(--teal-deep);
}

.google-reviews-meta,
.google-reviews-address,
.google-reviews-hours {
  margin: 0.45rem 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.google-reviews-map {
  border-radius: calc(var(--radius) + 0.15rem);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 280px;
  background: #e8eeef;
}

.google-reviews-map iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
  display: block;
}
