/* ============================================================
   DK — Sauna And Jacuzzi
   Mobile-first stylesheet. Palette: espresso / paper / gold.
   v2: service-card photos, inline hero CTAs, fitted mobile hero.
   ============================================================ */

:root {
  --ink: #171310;
  --ink-soft: #4c443c;
  --paper: #faf7f2;
  --panel: #ffffff;
  --line: #e7dfd3;
  --dark: #14100c;
  --dark-2: #1d1813;
  --gold: #c9a24a;
  --gold-deep: #8a6a1f;
  --gold-soft: #d9b45c;
  --wa: #0e7a3d;
  --wa-hover: #0b6331;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(23, 19, 16, .10);
  --shadow-lift: 0 18px 44px rgba(23, 19, 16, .16);
  --serif: "Fraunces", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 68px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: .01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 6.5vw, 4.3rem); }
h2 { font-size: clamp(1.8rem, 4.2vw, 2.7rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--gold-deep); }
.container { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.section { padding: clamp(4rem, 9vw, 6.5rem) 0; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--dark); color: #fff; padding: .7rem 1.2rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.eyebrow {
  font-family: var(--sans); font-size: .74rem; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase; color: var(--gold-deep);
  margin: 0 0 .9rem;
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(2.2rem, 5vw, 3.4rem); }
.section-head h2 { margin-bottom: .35em; }
.section-lede { color: var(--ink-soft); font-size: 1.02rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.6rem; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--sans); font-size: .95rem; font-weight: 600; letter-spacing: .02em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-gold { background: var(--gold); color: var(--dark); box-shadow: 0 8px 22px rgba(201, 162, 74, .35); }
.btn-gold:hover { background: var(--gold-soft); box-shadow: 0 12px 28px rgba(201, 162, 74, .45); }
.btn-outline-gold { background: rgba(20, 16, 12, .35); color: var(--gold-soft); border-color: var(--gold); }
.btn-outline-gold:hover { background: var(--gold); color: var(--dark); }
.wa-icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: rgba(20, 16, 12, .58);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: background-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { background: rgba(20, 16, 12, .96); box-shadow: 0 6px 24px rgba(0, 0, 0, .35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 1rem; }
.brand {
  display: inline-flex; flex-direction: column; align-items: flex-start;
  gap: .2rem; flex-shrink: 0; text-decoration: none;
}
.brand-mark {
  display: block; font-family: var(--serif); font-size: 2rem;
  font-weight: 700; letter-spacing: .06em; line-height: 1; color: var(--gold);
  border: 0; border-radius: 0; padding: 0; background: none; box-shadow: none;
}
.brand-sub {
  display: block; color: #cfc4b6; font-size: .75rem; line-height: 1.25;
  letter-spacing: .05em; text-transform: none; white-space: nowrap;
}

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; border-radius: 8px;
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  display: block; width: 24px; height: 2px; background: #f3ede4; border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease, top .3s ease;
  position: relative; content: "";
}
.nav-toggle .bars::before { position: absolute; top: -7px; }
.nav-toggle .bars::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }

.site-nav {
  position: absolute; top: var(--header-h); left: 0; right: 0;
  background: rgba(20, 16, 12, .98); border-top: 1px solid rgba(201, 162, 74, .18);
  padding: .6rem 1.25rem 1.4rem;
  display: grid; gap: .2rem;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .28s ease, transform .28s ease, visibility .28s;
}
.site-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.nav-link {
  display: block; padding: .8rem .4rem; color: #e9e1d5; text-decoration: none;
  font-size: 1.02rem; letter-spacing: .04em; border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: color .2s ease, padding-left .2s ease;
}
.nav-link:hover { color: var(--gold-soft); padding-left: .7rem; }
.nav-link.is-active { color: var(--gold-soft); }
.nav-quote { margin-top: 1rem; width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: max(92svh, 560px); display: flex; align-items: center; overflow: hidden; background: var(--dark); }
.hero picture, .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-img { object-fit: cover; object-position: center center; }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12, 10, 8, .88) 0%, rgba(12, 10, 8, .62) 42%, rgba(12, 10, 8, .18) 75%, rgba(12, 10, 8, .05) 100%),
              linear-gradient(0deg, rgba(12, 10, 8, .55) 0%, transparent 35%);
}
.hero-content { position: relative; z-index: 1; padding: calc(var(--header-h) + 3rem) 0 5rem; max-width: 640px; }
.hero .eyebrow { color: var(--gold-soft); }
.hero h1 { color: #fff; text-wrap: balance; }
.hero-lede { color: #ded4c6; font-size: clamp(1rem, 2.4vw, 1.15rem); max-width: 46ch; margin-bottom: 2rem; }
/* Desktop keeps one services CTA; mobile adds an adjacent quote CTA. */
.hero-cta { display: flex; }
.hero-cta .btn { flex: 0 1 auto; min-width: 0; padding-inline: 1.2rem; }
.hero-quote { display: none; }
.scroll-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 1; width: 26px; height: 42px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, .5); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold-soft); animation: drip 2.2s ease-in-out infinite; }
@keyframes drip { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- About ---------- */
.about-grid { display: grid; gap: clamp(2.2rem, 5vw, 4rem); align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.about-copy p { color: var(--ink-soft); }
.stats { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.8rem 0 0; padding: 1.4rem 0 0; border-top: 1px solid var(--line); }
.stats strong { display: block; font-family: var(--serif); font-size: clamp(1.5rem, 4vw, 2.2rem); color: var(--gold-deep); line-height: 1.1; }
.stats strong::after { content: "+"; color: var(--gold); }
.stats li:last-child strong::after { content: "%"; }
.stats span { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- Services ---------- */
.services { background: linear-gradient(180deg, var(--paper) 0%, #f3ede2 100%); }
.cards { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 2px 10px rgba(23, 19, 16, .05);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: rgba(201, 162, 74, .5); }
.card-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-img { transform: scale(1.045); }
.card-body { padding: 0 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  margin-top: -26px; position: relative; z-index: 1;
  background: var(--dark); border: 1px solid rgba(201, 162, 74, .55);
  box-shadow: 0 8px 20px rgba(10, 8, 6, .35);
  transition: transform .3s ease;
}
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--gold-soft); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card:hover .card-icon { transform: scale(1.06) rotate(-3deg); }
.card-body h3 { margin: .55rem 0 0; }
.card-body p { color: var(--ink-soft); font-size: .94rem; margin: 0; flex: 1; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; padding: clamp(4rem, 9vw, 6rem) 0; text-align: center; overflow: hidden; background: var(--dark); }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-shade { position: absolute; inset: 0; background: rgba(12, 10, 8, .68); }
.cta-content { position: relative; z-index: 1; max-width: 620px; }
.cta-content h2 { color: #fff; }
.cta-content p { color: #ded4c6; margin-bottom: 0; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.gallery-grid figure { margin: 0; }
.g-btn {
  all: unset; display: block; width: 100%; cursor: pointer; position: relative;
  border-radius: 12px; overflow: hidden; box-shadow: 0 3px 14px rgba(23, 19, 16, .10);
}
.g-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.g-btn img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s ease; }
.g-btn:hover img, .g-btn:focus-visible img { transform: scale(1.05); }
.g-btn figcaption {
  position: absolute; inset: auto 0 0 0; padding: 2rem .9rem .7rem; color: #fff; font-size: .82rem; letter-spacing: .05em;
  background: linear-gradient(0deg, rgba(12, 10, 8, .82), transparent);
  opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease;
}
.g-btn:hover figcaption, .g-btn:focus-visible figcaption { opacity: 1; transform: translateY(0); }
/* Touch devices have no hover: always show captions */
@media (hover: none) {
  .g-btn figcaption { opacity: 1; transform: none; }
}

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); width: 100%; }
.lightbox::backdrop { background: rgba(10, 8, 6, .9); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lightbox figure { margin: 0; }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; border-radius: 10px; background: #000; }
.lightbox figcaption { color: #e9e1d5; text-align: center; padding: .9rem .5rem 0; font-size: .92rem; letter-spacing: .04em; }
.lb-close, .lb-nav {
  position: fixed; z-index: 5; border: 0; cursor: pointer; border-radius: 50%;
  background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.6rem; line-height: 1;
  width: 46px; height: 46px; display: grid; place-items: center;
  transition: background-color .2s ease, transform .2s ease;
}
.lb-close:hover, .lb-nav:hover { background: rgba(201, 162, 74, .8); color: var(--dark); transform: scale(1.06); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.lb-prev:hover { transform: translateY(-50%) scale(1.06); }
.lb-next:hover { transform: translateY(-50%) scale(1.06); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #cfc4b6; padding: clamp(3rem, 7vw, 4.5rem) 0 0; }
.footer-grid { display: grid; gap: 2.4rem; padding-bottom: 2.6rem; }
.footer-brand p { margin-top: .9rem; font-size: .92rem; max-width: 34ch; }
.site-footer h3 { color: #fff; font-family: var(--sans); font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-nav a { color: #cfc4b6; text-decoration: none; font-size: .95rem; transition: color .2s ease, padding-left .2s ease; }
.footer-nav a:hover { color: var(--gold-soft); padding-left: .35rem; }
.footer-note { margin: .9rem 0 0; font-size: .85rem; line-height: 1.7; }
.footer-contact-details { margin: 0 0 1rem; }
.footer-contact-details a { color: var(--gold-soft); text-underline-offset: .2em; overflow-wrap: anywhere; }
.footer-contact-details a:hover { color: #fff; }
.footer-fb { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; color: #fff; margin-top: 1.1rem; }
.footer-fb svg { width: 30px; height: 30px; color: #1877f2; flex: none; transition: transform .25s ease; }
.footer-fb:hover svg { transform: scale(1.12); }
.footer-fb strong { display: block; font-size: .95rem; }
.footer-fb small { color: #cfc4b6; font-size: .82rem; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, .08); padding: 1.1rem 0; display: flex; flex-wrap: wrap; gap: .6rem; justify-content: space-between; font-size: .82rem; }
.footer-base a { color: #cfc4b6; text-decoration: none; }
.footer-base a:hover { color: var(--gold-soft); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; z-index: 120;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--wa); color: #fff; text-decoration: none;
  padding: .95rem; border-radius: 999px; box-shadow: 0 10px 28px rgba(11, 99, 49, .45);
  transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease;
}
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 999px; z-index: -1;
  box-shadow: 0 0 0 0 rgba(14, 122, 61, .5); animation: wa-pulse 2.6s ease-out infinite;
}
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(14, 122, 61, .45); } 70% { box-shadow: 0 0 0 18px rgba(14, 122, 61, 0); } 100% { box-shadow: 0 0 0 0 rgba(14, 122, 61, 0); } }
.wa-float:hover { transform: translateY(-3px) scale(1.03); background: var(--wa-hover); }
.wa-float .wa-icon { width: 26px; height: 26px; }
.wa-float-label { display: none; font-size: .92rem; font-weight: 600; letter-spacing: .02em; padding-right: .55rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Breakpoints ---------- */
/* Use the same mobile layout range as the hamburger navigation. */
@media (max-width: 859px) {
  .nav-quote { display: none; }
  .hero-quote { display: inline-flex; }
  .hero-cta { gap: .6rem; align-items: stretch; max-width: 440px; }
  .hero-cta .btn { flex: 1 1 0; white-space: normal; text-align: center; }
  .hero-cta .hero-services { flex-grow: 1.4; }
}

@media (max-width: 540px) {
  .hero-cta .btn { padding-inline: .9rem; font-size: .9rem; gap: .4rem; }
  .stats { gap: .6rem; }
  .lb-close, .lb-nav { width: 40px; height: 40px; font-size: 1.35rem; }
  .lb-prev { left: 6px; }
  .lb-next { right: 6px; }
  .lb-close { top: 8px; right: 8px; }
}

/* Phones: portrait hero crop + vertical shade so the photo sits centred and reads well */
@media (max-width: 700px) {
  .hero { min-height: max(88svh, 540px); }
  .hero-shade {
    background: linear-gradient(180deg, rgba(12, 10, 8, .42) 0%, rgba(12, 10, 8, .58) 45%, rgba(12, 10, 8, .86) 100%);
  }
  .hero-content { padding: calc(var(--header-h) + 2.4rem) 0 4.5rem; max-width: 100%; }
  .hero-lede { max-width: 100%; }
}

@media (min-width: 560px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .wa-float-label { display: inline; }
}
@media (min-width: 860px) {
  :root { --header-h: 76px; }
  .nav-toggle { display: none; }
  .site-nav {
    position: static; opacity: 1; visibility: visible; transform: none;
    display: flex; align-items: center; gap: 1.6rem; padding: 0;
    background: transparent; border: 0;
  }
  .site-nav ul { display: flex; gap: 1.7rem; }
  .nav-link { border: 0; padding: .4rem 0; font-size: .95rem; position: relative; }
  .nav-link:hover { padding-left: 0; }
  .nav-link::after {
    content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
    background: var(--gold); transition: right .3s ease;
  }
  .nav-link:hover::after, .nav-link.is-active::after { right: 0; }
  .nav-quote { margin: 0 0 0 .6rem; width: auto; padding: .6rem 1.2rem; font-size: .88rem; }
  .about-grid { grid-template-columns: 1.05fr 1fr; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
}
@media (min-width: 1100px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .wa-float, .scroll-hint, .lightbox, .cta-band img { display: none !important; }
  body { background: #fff; color: #000; }
}
