/* ============================================================
   Nordic Balance — Automira Web "Wellness 01" design
   Scandinavian · calm · natural · minimal massage/wellness studio
   Own visual identity — deliberately distinct from Beauty 01:
   single sans typeface (not a serif/sans pairing), sage/stone
   palette (not warm terracotta), flat bordered surfaces (not
   soft-shadow cards), more generous whitespace.
   ============================================================ */

:root {
  --bg:           #f4f2ec;
  --surface:      #ffffff;
  --line:         #dee1d7;
  --ink:          #2c322b;
  --ink-soft:     #5c6459;
  --ink-faint:    #939c8d;

  --accent:       #5b6e52;
  --accent-deep:  #44543d;
  --accent-soft:  #e7ece1;

  --r-sm:         4px;
  --r-md:         6px;
  --r-lg:         10px;

  --font: "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1080px;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.005em;
  margin: 0 0 16px;
  color: var(--ink);
}

p { margin: 0 0 12px; color: var(--ink-soft); }

.section { padding: 96px 0; }
.section--surface { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 12px;
  font-weight: 600;
}
.section__title { font-size: clamp(26px, 2.8vw, 36px); font-weight: 500; }
.section__head { max-width: 620px; margin: 0 0 52px; }
.section__head--center { margin-inline: auto; text-align: center; }

/* ===== Header / nav ===== */
.nb-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.nb-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
}
.nb-brand {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}
.nb-nav {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nb-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 15px;
}
.nb-nav a:hover, .nb-nav a:focus-visible { color: var(--accent-deep); }
.nb-nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  width: 42px;
  height: 42px;
  font-size: 18px;
  cursor: pointer;
}

.nb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--accent);
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.nb-btn--primary { background: var(--accent); color: #fff; }
.nb-btn--primary:hover, .nb-btn--primary:focus-visible { background: var(--accent-deep); border-color: var(--accent-deep); }
.nb-btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.nb-btn--ghost:hover, .nb-btn--ghost:focus-visible { border-color: var(--accent); color: var(--accent-deep); }

/* ===== Demo banner ===== */
.nb-demo-banner {
  background: var(--accent-soft);
  color: var(--accent-deep);
  text-align: center;
  font-size: 13px;
  padding: 8px 16px;
}

/* ===== Hero ===== */
.nb-hero { padding: 72px 0 88px; }
.nb-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.nb-hero__eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 18px;
  font-weight: 600;
}
.nb-hero__title { font-size: clamp(32px, 4.2vw, 48px); font-weight: 500; }
.nb-hero__sub { font-size: 17px; max-width: 44ch; margin-bottom: 30px; }
.nb-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.nb-hero__media {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #dfe6d7 0%, #b9c6ab 55%, #5b6e52 100%);
}
.nb-hero__media img,
.nb-about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nb-hero__media img { object-position: 78% center; }
.nb-about__media img { object-position: center 40%; }

/* ===== Treatments ===== */
.nb-treatments {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.nb-treatment {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 30px 26px;
}
.nb-treatment h3 { font-size: 18px; margin-bottom: 8px; }
.nb-treatment__meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-faint);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.nb-treatment__price { font-size: 15px; color: var(--accent-deep); font-weight: 600; }

/* ===== Benefits ===== */
.nb-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}
.nb-benefit__num {
  font-size: 13px;
  color: var(--ink-faint);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

/* ===== About ===== */
.nb-about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.nb-about__media {
  aspect-ratio: 1 / 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #eef1e9 0%, #c3cdb6 100%);
}

/* ===== Prices ===== */
.nb-price-list { border-top: 1px solid var(--line); }
.nb-price-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.nb-price-row__name { font-weight: 600; }
.nb-price-row__desc { color: var(--ink-faint); font-size: 14px; margin-top: 2px; }
.nb-price-row__value { font-size: 16px; white-space: nowrap; color: var(--accent-deep); font-weight: 600; }

/* ===== Booking CTA band ===== */
.nb-cta {
  border: 1px solid var(--line);
  padding: 60px 40px;
  text-align: center;
  background: var(--surface);
}

/* ===== Contact ===== */
.nb-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
}
.nb-contact-list { list-style: none; padding: 0; margin: 0; }
.nb-contact-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.nb-contact-list a { text-decoration: none; color: var(--ink); font-weight: 600; }
.nb-contact-list a:hover, .nb-contact-list a:focus-visible { color: var(--accent-deep); }
.nb-contact-label { color: var(--ink-faint); font-size: 13px; min-width: 90px; text-transform: uppercase; letter-spacing: 0.04em; }
.nb-map-embed {
  border: 1px solid var(--line);
  aspect-ratio: 16/10;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-faint);
  font-size: 14px;
}

/* ===== Footer ===== */
.nb-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  color: var(--ink-faint);
  font-size: 13px;
}
.nb-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}
.nb-footer a { color: var(--ink-soft); text-decoration: none; }
.nb-footer a:hover, .nb-footer a:focus-visible { color: var(--accent-deep); }

/* ===== Sticky mobile booking CTA ===== */
.nb-sticky-cta {
  display: none;
  position: fixed;
  left: 16px; right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
}
.nb-sticky-cta .nb-btn { width: 100%; box-shadow: 0 8px 24px -8px rgba(44,50,43,0.35); }

@media (max-width: 860px) {
  .nb-hero__grid, .nb-about { grid-template-columns: 1fr; }
  .nb-about__media { order: -1; }
  .nb-contact-grid { grid-template-columns: 1fr; }
}

/* Large-tablet / iPad Pro (~900–1180px): .container uses a flat 24px
   padding at every width above this, which reads as tight once the
   two-column hero/about/contact grids are wide enough to stay side by
   side again — content sits close to the edge relative to the space
   available. Widen the gutter in this band only; below 900px (already
   verified) and above 1180px (approved desktop, where --container's own
   max-width plus margin:auto already supplies generous space) are both
   untouched. */
@media (min-width: 900px) and (max-width: 1180px) {
  .container { padding: 0 40px; }
}

@media (max-width: 720px) {
  .nb-nav { display: none; }
  .nb-header__cta { display: none; }
  .nb-nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nb-nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 20px;
    gap: 18px;
    z-index: 40;
  }
  .section { padding: 64px 0; }
  .nb-sticky-cta { display: block; }
  .nb-cta { padding: 44px 24px; }
}

@media (max-width: 420px) {
  .nb-hero { padding: 48px 0 60px; }
}
