@import url("fonts.css");

/* =========================================================================
   NUTRIFAL — Studio Dietetyki
   Design system: granat #001D45 + złoto #D2B359 (kolory z logo)
   ========================================================================= */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  /* brand */
  --navy-900: #00122c;
  --navy-800: #001d45;
  --navy-700: #062c60;
  --navy-600: #0d3d7d;
  --gold-600: #a8873a;
  --gold-500: #d2b359;
  --gold-400: #e2c97f;
  --gold-200: #f2e6c3;

  /* neutrals */
  --ink: #15202f;
  --ink-soft: #46536613;
  --body: #4a5768;
  --line: #e6e3dc;
  --cream: #fbf8f3;
  --cream-deep: #f4efe6;
  --white: #ffffff;

  /* semantic */
  --bg: var(--white);
  --fg: var(--ink);
  --accent: var(--gold-500);

  /* type */
  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --step--1: clamp(0.82rem, 0.79rem + 0.13vw, 0.89rem);
  --step-0: clamp(1rem, 0.96rem + 0.19vw, 1.09rem);
  --step-1: clamp(1.19rem, 1.11rem + 0.36vw, 1.4rem);
  --step-2: clamp(1.41rem, 1.28rem + 0.63vw, 1.78rem);
  --step-3: clamp(1.69rem, 1.48rem + 1.02vw, 2.28rem);
  --step-4: clamp(2.03rem, 1.7rem + 1.6vw, 2.94rem);
  --step-5: clamp(2.44rem, 1.94rem + 2.42vw, 3.79rem);
  --step-6: clamp(2.92rem, 2.19rem + 3.55vw, 4.88rem);

  /* space */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --section-y: clamp(3.5rem, 2rem + 7vw, 7.5rem);

  /* shape */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 999px;

  --shadow-sm: 0 1px 2px rgb(0 18 44 / 0.06), 0 2px 8px rgb(0 18 44 / 0.04);
  --shadow-md: 0 4px 12px rgb(0 18 44 / 0.07), 0 12px 32px rgb(0 18 44 / 0.06);
  --shadow-lg: 0 8px 24px rgb(0 18 44 / 0.09), 0 24px 64px rgb(0 18 44 / 0.1);

  --container: 1200px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 76px;
}

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

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select { font: inherit; color: inherit; }

button { background: none; border: 0; cursor: pointer; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }

ul, ol { list-style: none; padding: 0; }

:where(h1, h2, h3, h4) {
  font-family: var(--font-display);
  color: var(--navy-800);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

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

::selection { background: var(--gold-200); color: var(--navy-800); }

/* ---------- 3. Layout ---------------------------------------------------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
@media (min-width: 640px) {
  .container { width: min(100% - 4rem, var(--container)); }
}

/* Grid children must be allowed to shrink, otherwise a long unbreakable
   headline widens the whole column and pushes the layout off-screen. */
.hero-grid > *,
.about-grid > *,
.step > *,
.contact-grid > *,
.strip-grid > *,
.card-grid > *,
.price-grid > * { min-width: 0; }

/* Optional line break: only where there is room for it. */
br.md { display: none; }
@media (min-width: 700px) { br.md { display: inline; } }

.section { padding-block: var(--section-y); }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy-800); color: #c3cede; }
.section--navy :where(h2, h3) { color: var(--white); }

.section-head {
  max-width: 62ch;
  margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem);
}
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: var(--sp-4);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.section-head--center .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.section--navy .eyebrow { color: var(--gold-400); }

.section-title { font-size: var(--step-4); }
.section-lead {
  margin-top: var(--sp-4);
  font-size: var(--step-1);
  font-weight: 300;
  line-height: 1.65;
}

/* ---------- 4. Buttons --------------------------------------------------- */
.btn {
  --btn-bg: var(--navy-800);
  --btn-fg: var(--white);
  --btn-bd: var(--navy-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.75rem;
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-full);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn:active { transform: translateY(0); }

.btn--gold {
  --btn-bg: var(--gold-500);
  --btn-fg: var(--navy-900);
  --btn-bd: var(--gold-500);
}
.btn--gold:hover { --btn-bg: var(--gold-400); --btn-bd: var(--gold-400); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--navy-800);
  --btn-bd: #c9cfd9;
}
.btn--ghost:hover { --btn-bd: var(--navy-800); --btn-bg: transparent; }

.btn--on-navy {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  --btn-bd: #ffffff4d;
}
.btn--on-navy:hover { --btn-bd: var(--gold-400); --btn-fg: var(--gold-400); }

.btn--sm { padding: 0.65rem 1.25rem; font-size: 0.85rem; }
.btn .ico { width: 18px; height: 18px; flex: none; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}

/* ---------- 5. Header ---------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--navy-800);
  color: var(--white);
  border-radius: 0 0 var(--r-md) var(--r-md);
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease),
    height 0.35s var(--ease);
}
.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(0 18 44 / 0.55), rgb(0 18 44 / 0));
  opacity: 1;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.site-header.is-stuck {
  background: rgb(255 255 255 / 0.88);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
}
.site-header.is-stuck::after { opacity: 0; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex: none;
}
.brand img { width: 44px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--white);
  transition: color 0.35s var(--ease);
}
.brand-sub {
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-400);
  transition: color 0.35s var(--ease);
}
.is-stuck .brand-name { color: var(--navy-800); }
.is-stuck .brand-sub { color: var(--gold-600); }

.nav { display: none; }
@media (min-width: 1024px) {
  .nav { display: flex; align-items: center; gap: clamp(1rem, 0.3rem + 1.4vw, 2rem); }
}
.nav a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgb(255 255 255 / 0.86);
  text-decoration: none;
  padding-block: 0.35rem;
  transition: color 0.3s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav a:hover::after,
.nav a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.nav a:hover { color: var(--white); }
.is-stuck .nav a { color: var(--body); }
.is-stuck .nav a:hover,
.is-stuck .nav a[aria-current="true"] { color: var(--navy-800); }

.header-cta { display: none; }
@media (min-width: 1024px) { .header-cta { display: inline-flex; } }

.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 11px;
  border-radius: var(--r-full);
  border: 1px solid rgb(255 255 255 / 0.3);
}
.burger span {
  display: block;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease), background-color 0.35s;
}
.is-stuck .burger { border-color: var(--line); }
.is-stuck .burger span { background: var(--navy-800); }
@media (min-width: 1024px) { .burger { display: none; } }

body.menu-open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: grid;
  align-content: center;
  gap: var(--sp-2);
  padding: var(--header-h) 2rem 2rem;
  background: var(--navy-800);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
    visibility 0.35s;
}
body.menu-open .mobile-nav { opacity: 1; visibility: visible; transform: none; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.1rem + 2.4vw, 2.3rem);
  color: var(--white);
  text-decoration: none;
  padding-block: 0.35rem;
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
}
.mobile-nav a:last-of-type { border-bottom: 0; }
.mobile-nav .btn { margin-top: var(--sp-5); justify-self: start; }

/* ---------- 6. Hero ------------------------------------------------------ */
.hero {
  position: relative;
  min-height: min(94svh, 900px);
  display: grid;
  align-items: center;
  background: var(--navy-800);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 78% 30%, rgb(13 61 125 / 0.85), transparent 60%),
    radial-gradient(60% 60% at 12% 88%, rgb(210 179 89 / 0.14), transparent 70%);
}
.hero-grid {
  position: relative;
  display: grid;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: center;
  padding-top: calc(var(--header-h) + 2.5rem);
  padding-bottom: 3rem;
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    padding-block: calc(var(--header-h) + 2rem) 2rem;
  }
}

.hero-title {
  font-size: var(--step-6);
  color: var(--white);
  font-weight: 500;
  line-height: 1.06;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-400);
}
.hero-lead {
  margin-top: var(--sp-5);
  max-width: 46ch;
  font-size: var(--step-1);
  font-weight: 300;
  color: rgb(255 255 255 / 0.78);
}
.hero .eyebrow { color: var(--gold-400); }

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid rgb(255 255 255 / 0.14);
}
.hero-points li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  color: rgb(255 255 255 / 0.8);
}
.hero-points svg { width: 16px; height: 16px; color: var(--gold-500); flex: none; }

/* portrait: sits on an ivory panel so the white studio backdrop blends in */
.hero-figure {
  position: relative;
  justify-self: center;
  width: min(100%, 460px);
}
.hero-figure::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--cream), var(--white));
  border-radius: 240px 240px var(--r-lg) var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.hero-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 240px 240px var(--r-lg) var(--r-lg);
  border: 1px solid var(--gold-500);
  opacity: 0.45;
  transform: translate(16px, -16px);
}
.hero-figure img {
  position: relative;
  width: 100%;
  border-radius: 240px 240px var(--r-lg) var(--r-lg);
  mix-blend-mode: multiply;
}

.hero-badge {
  position: absolute;
  left: -1rem;
  bottom: 12%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1.1rem;
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
}
.hero-badge svg { width: 26px; height: 26px; color: var(--gold-600); flex: none; }
.hero-badge b {
  display: block;
  font-size: 0.9rem;
  color: var(--navy-800);
  line-height: 1.2;
}
.hero-badge span { font-size: 0.75rem; color: var(--body); }
@media (max-width: 560px) { .hero-badge { left: -0.25rem; padding: 0.65rem 0.9rem; } }

/* ---------- 7. Value strip ----------------------------------------------- */
.strip {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.strip-grid {
  display: grid;
  gap: var(--sp-5);
  padding-block: clamp(2rem, 1.4rem + 2.5vw, 3.25rem);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.strip-item {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
}
.strip-item svg { width: 30px; height: 30px; color: var(--gold-600); flex: none; }
.strip-item b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.22rem;
  color: var(--navy-800);
  margin-bottom: 0.15rem;
}
.strip-item p { font-size: 0.9rem; line-height: 1.55; }

/* ---------- 8. About ----------------------------------------------------- */
.about-grid {
  display: grid;
  gap: clamp(2.5rem, 1.5rem + 4vw, 5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 0.9fr 1.1fr; }
}
.about-figure { position: relative; }
.about-figure img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.about-figure::after {
  content: "";
  position: absolute;
  inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  border: 1px solid var(--gold-500);
  border-radius: var(--r-lg);
  z-index: -1;
}
.about-quote {
  margin-top: var(--sp-6);
  padding-left: var(--sp-5);
  border-left: 2px solid var(--gold-500);
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-style: italic;
  line-height: 1.4;
  color: var(--navy-800);
}
.about-intro {
  margin-top: var(--sp-6);
  font-weight: 600;
  color: var(--navy-800);
}
.about-list {
  display: grid;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
}
.about-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.96rem;
}
.about-list svg { width: 20px; height: 20px; color: var(--gold-600); flex: none; margin-top: 3px; }

/* ---------- 9. Cards / services ------------------------------------------ */
.card-grid {
  display: grid;
  gap: clamp(1.25rem, 0.9rem + 1.4vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-200);
}
.card-media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--cream-deep);
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: clamp(1.25rem, 1rem + 0.8vw, 1.75rem); display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: var(--step-2); margin-bottom: var(--sp-3); }
.card p { font-size: 0.94rem; line-height: 1.65; }
.card-tag {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--r-full);
  background: rgb(0 29 69 / 0.86);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--gold-400);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- 10. Process -------------------------------------------------- */
.steps {
  display: grid;
  gap: clamp(2rem, 1rem + 3vw, 3.5rem);
}
.step {
  display: grid;
  gap: clamp(1.5rem, 1rem + 2.5vw, 3.5rem);
  align-items: center;
}
@media (min-width: 820px) {
  .step { grid-template-columns: 1fr 1fr; }
  .step:nth-child(even) .step-media { order: 2; }
}
.step-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: var(--sp-4);
  border: 1px solid var(--gold-500);
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-600);
}
.step h3 { font-size: var(--step-3); margin-bottom: var(--sp-3); }

/* ---------- 11. Pricing -------------------------------------------------- */
.price-grid {
  display: grid;
  gap: clamp(1.25rem, 0.9rem + 1.4vw, 2rem);
  grid-template-columns: 1fr;
  align-items: stretch;
}
/* four packages: 2x2 on tablets, a single row on desktop — never 3 + orphan */
@media (min-width: 640px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1080px) {
  .price-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
  .price { padding: 1.85rem 1.5rem; }
}
.price {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.price:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price--featured {
  background: var(--navy-800);
  border-color: var(--navy-800);
  box-shadow: var(--shadow-lg);
}
.price--featured h3 { color: var(--white); }
.price--featured .price-desc,
.price--featured .price-list li { color: rgb(255 255 255 / 0.78); }
.price--featured .price-value { color: var(--gold-400); }
.price--featured .price-list svg { color: var(--gold-500); }

.price-flag {
  align-self: flex-start;
  margin-bottom: var(--sp-4);
  padding: 0.3rem 0.8rem;
  border-radius: var(--r-full);
  background: var(--gold-500);
  color: var(--navy-900);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.price h3 { font-size: var(--step-2); }
.price-desc { margin-top: var(--sp-2); font-size: 0.9rem; }
.price-value {
  margin: var(--sp-5) 0 var(--sp-2);
  font-family: var(--font-display);
  font-size: var(--step-4);
  font-weight: 600;
  color: var(--navy-800);
  line-height: 1;
}
.price-value .cur {
  font-size: 0.5em;
  font-weight: 500;
  letter-spacing: 0.04em;
  vertical-align: 0.32em;
  margin-left: 0.1em;
}
.price-list {
  display: grid;
  gap: 0.7rem;
  margin: var(--sp-5) 0 var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}
.price--featured .price-list { border-color: rgb(255 255 255 / 0.14); }
.price-list li { display: flex; gap: 0.6rem; align-items: flex-start; }
.price-list svg { width: 18px; height: 18px; color: var(--gold-600); flex: none; margin-top: 4px; }
.price .btn { margin-top: auto; width: 100%; }

.price-note {
  margin-top: var(--sp-6);
  font-size: 0.86rem;
  text-align: center;
  color: var(--body);
}

/* ---------- 12. CTA band ------------------------------------------------- */
.cta-band {
  position: relative;
  isolation: isolate;
  padding-block: clamp(4rem, 2.5rem + 7vw, 8rem);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
.cta-band img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(0 18 44 / 0.82), rgb(0 29 69 / 0.9));
}
.cta-band h2 { color: var(--white); font-size: var(--step-5); }
.cta-band p {
  max-width: 56ch;
  margin: var(--sp-4) auto 0;
  font-size: var(--step-1);
  font-weight: 300;
  color: rgb(255 255 255 / 0.82);
}
.cta-band .btn-row { justify-content: center; }

/* ---------- 13. Gallery -------------------------------------------------- */
.gallery {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--r-md);
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
}
.gallery a { display: block; overflow: hidden; border-radius: var(--r-md); }
.gallery a:hover img { transform: scale(1.05); }
.gallery a:first-child { grid-column: span 2; grid-row: span 2; }
.gallery a:first-child img { aspect-ratio: 1; height: 100%; }

/* ---------- 14. FAQ ------------------------------------------------------ */
.faq { max-width: 860px; margin-inline: auto; }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: 1.4rem 0;
  font-family: var(--font-display);
  font-size: var(--step-2);
  color: var(--navy-800);
  cursor: pointer;
  list-style: none;
  transition: color 0.25s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-600); }
.faq summary::after {
  content: "";
  flex: none;
  width: 13px;
  height: 13px;
  border-right: 1.5px solid var(--gold-600);
  border-bottom: 1.5px solid var(--gold-600);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq-answer { padding-bottom: 1.5rem; font-size: 0.98rem; max-width: 72ch; }
.faq details[open] .faq-answer { animation: fade-up 0.4s var(--ease) both; }

/* ---------- 15. Contact -------------------------------------------------- */
.contact-grid {
  display: grid;
  gap: clamp(2rem, 1.2rem + 3vw, 4rem);
}
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.15fr; } }

.contact-list { display: grid; gap: var(--sp-5); margin-top: var(--sp-6); }
.contact-item { display: flex; gap: var(--sp-4); align-items: flex-start; }
.contact-item svg { width: 22px; height: 22px; color: var(--gold-600); flex: none; margin-top: 4px; }
.contact-item b {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 0.15rem;
}
.contact-item a, .contact-item p { color: var(--navy-800); font-size: 1.02rem; text-decoration: none; }
.contact-item a:hover { color: var(--gold-600); }

.form {
  padding: clamp(1.5rem, 1.1rem + 1.8vw, 2.5rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.field { margin-bottom: var(--sp-4); }
.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-800);
}
.field label span { color: var(--gold-600); }
.field :where(input, textarea, select) {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--cream);
  font-size: 0.95rem;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.field :where(input, textarea, select):focus {
  outline: none;
  border-color: var(--gold-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgb(210 179 89 / 0.18);
}
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; gap: var(--sp-4); }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }

.consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-bottom: var(--sp-5);
  font-size: 0.8rem;
  line-height: 1.55;
}
.consent input { width: 18px; height: 18px; flex: none; margin-top: 2px; accent-color: var(--gold-600); }
.form .btn { width: 100%; }
.form-note { margin-top: var(--sp-4); font-size: 0.78rem; text-align: center; }

.hp { position: absolute; left: -9999px; opacity: 0; }

/* ---------- 16. Partner -------------------------------------------------- */
.partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  margin-top: var(--sp-7);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--line);
}
.partners img {
  height: 64px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.partners img:hover { opacity: 1; transform: translateY(-2px); }
.partners-label {
  width: 100%;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-600);
}

/* ---------- 17. Footer --------------------------------------------------- */
.site-footer {
  background: var(--navy-900);
  color: rgb(255 255 255 / 0.62);
  padding-block: var(--sp-8) var(--sp-5);
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  gap: var(--sp-7);
  padding-bottom: var(--sp-7);
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h4 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}
.footer-links { display: grid; gap: 0.6rem; }
.footer-links a { text-decoration: none; transition: color 0.25s var(--ease); }
.footer-links a:hover { color: var(--gold-400); }
.footer-brand .brand-name { color: var(--white); }
.footer-brand p { margin-top: var(--sp-4); max-width: 38ch; font-size: 0.88rem; }
.footer-social { display: flex; gap: 0.75rem; margin-top: var(--sp-5); }
.footer-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: var(--r-full);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.footer-social a:hover { border-color: var(--gold-500); color: var(--gold-400); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-5);
  justify-content: space-between;
  padding-top: var(--sp-5);
  font-size: 0.8rem;
}
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--gold-400); }

/* ---------- 18. Back to top ---------------------------------------------- */
.to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--r-full);
  background: var(--navy-800);
  color: var(--white);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s,
    background-color 0.3s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold-500); color: var(--navy-900); }
.to-top svg { width: 18px; height: 18px; }

/* ---------- 18b. Mobile carousels ----------------------------------------
   Long card lists become swipeable tracks on phones, so the page stays short
   instead of stacking every card vertically. Desktop keeps the grid. */
.snap-dots { display: none; }

@media (max-width: 767px) {
  .snap {
    display: flex;
    grid-template-columns: none;
    gap: var(--sp-4);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1.25rem;
    margin-inline: -1.25rem;
    padding-inline: 1.25rem;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .snap::-webkit-scrollbar { display: none; }

  .snap > * {
    flex: 0 0 86%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  /* process steps become compact stacked cards inside the track */
  .steps.snap > .step {
    display: block;
    padding: 0 0 1.25rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
  }
  .steps.snap .step-media { margin-bottom: var(--sp-5); }
  .steps.snap .step-media img { border-radius: 0; box-shadow: none; }
  .steps.snap .step > div:last-child { padding-inline: 1.25rem; }
  .steps.snap .step-num { margin-top: 0; }

  /* gallery: one square per swipe instead of a tall 2x2 block */
  .gallery.snap > a:first-child { grid-column: auto; grid-row: auto; }
  .gallery.snap > a:first-child img { aspect-ratio: 1; height: auto; }

  /* footer: two link columns side by side rather than stacked */
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); }
  .footer-brand { grid-column: 1 / -1; }

  .snap-dots {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    margin-top: var(--sp-5);
  }
  .snap-dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    border-radius: var(--r-full);
    background: #c9cfd9;
    transition: width 0.3s var(--ease), background-color 0.3s var(--ease);
  }
  .snap-dots button[aria-current="true"] {
    width: 22px;
    background: var(--gold-500);
  }
  .section--navy .snap-dots button { background: #ffffff40; }
  .section--navy .snap-dots button[aria-current="true"] { background: var(--gold-400); }

  .snap-hint {
    display: block;
    margin-top: var(--sp-3);
    text-align: center;
    font-size: 0.74rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-600);
  }
}

@media (min-width: 768px) {
  .snap-hint { display: none; }
}

/* ---------- 18c. Sticky contact bar (phones) ------------------------------
   A local studio lives on phone calls, so keep the number one tap away. */
.call-bar { display: none; }

@media (max-width: 767px) {
  .call-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom, 0px));
    background: rgb(255 255 255 / 0.93);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-top: 1px solid var(--line);
  }
  .call-bar .btn {
    width: 100%;
    padding-block: 0.8rem;
  }
  /* room so the sticky bar never covers the end of the footer */
  body { padding-bottom: 82px; }
  .to-top { bottom: calc(82px + 0.75rem); }
}

/* ---------- 19. Motion --------------------------------------------------- */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--delay, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

@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;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- 20. Legal / inner pages -------------------------------------- */
.page-head {
  padding-top: calc(var(--header-h) + clamp(3rem, 2rem + 4vw, 6rem));
  padding-bottom: clamp(2rem, 1.5rem + 3vw, 4rem);
  background: var(--navy-800);
  color: rgb(255 255 255 / 0.75);
}
.page-head h1 { color: var(--white); font-size: var(--step-5); }
.page-head p { margin-top: var(--sp-3); max-width: 60ch; }

.prose { max-width: 74ch; margin-inline: auto; }
.prose h2 { font-size: var(--step-3); margin-top: var(--sp-7); margin-bottom: var(--sp-4); }
.prose h3 { font-size: var(--step-2); margin-top: var(--sp-6); margin-bottom: var(--sp-3); }
.prose p, .prose li { font-size: 0.98rem; }
.prose p + p { margin-top: var(--sp-4); }
.prose ul { display: grid; gap: 0.5rem; margin: var(--sp-4) 0; padding-left: 1.25rem; list-style: disc; }
.prose a { color: var(--navy-700); }

.notfound {
  display: grid;
  place-items: center;
  min-height: 100svh;
  text-align: center;
  background: var(--navy-800);
  color: rgb(255 255 255 / 0.72);
  padding: 2rem;
}
.notfound h1 {
  font-size: clamp(4rem, 2rem + 12vw, 9rem);
  color: var(--gold-500);
  line-height: 1;
}
.notfound h2 { color: var(--white); font-size: var(--step-3); margin-top: var(--sp-4); }
.notfound p { margin-top: var(--sp-4); max-width: 46ch; }

/* ---------- 21. Utilities ------------------------------------------------ */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.text-center { text-align: center; }
.mt-6 { margin-top: var(--sp-6); }
