/* ==========================================================================
   Wellness Studio Violeta — stylesheet
   Palette: warm ivory, deep aubergine, soft lilac.
   Type: Cormorant Garamond (display) + Jost (UI / body).
   ========================================================================== */

/* ----------------------------- 1. Fonts --------------------------------- */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ----------------------------- 2. Tokens -------------------------------- */
:root {
  --cream: #f7f2ea;
  --cream-2: #efe6d9;
  --paper: #fcf9f4;
  --white: #fffdf9;
  --ink: #2b2030;
  --ink-soft: #524552;
  --muted: #6f6170;
  --plum: #54345f;
  --plum-deep: #362040;
  --lilac: #c6b0d8;
  --lilac-soft: #e7dcf0;
  --line: rgba(43, 32, 48, 0.14);
  --line-strong: rgba(43, 32, 48, 0.24);
  --green: #3f7d5b;

  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 16px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ----------------------------- 3. Base ---------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 350;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { display: block; }
::selection { background: var(--lilac); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--plum);
  outline-offset: 3px;
}

section[id] { scroll-margin-top: 92px; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--plum);
  color: var(--cream);
  font-size: 13px;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ----------------------------- 4. Utilities ----------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--plum);
}
.eyebrow__line {
  display: block;
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
  flex: 0 0 auto;
}
.eyebrow--light { color: var(--lilac); }

.section {
  padding-block: clamp(72px, 9.5vw, 132px);
  position: relative;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: end;
  gap: clamp(24px, 5vw, 80px);
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head__aside { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }

.section-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(38px, 4.7vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  margin-top: 18px;
}
.section-title em {
  font-style: italic;
  color: var(--plum);
}
.section-title--light { color: var(--cream); }
.section-title--light em { color: var(--lilac); }

.section-lead {
  font-size: 15.5px;
  font-weight: 350;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 46ch;
}

.ico {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ico--arrow { width: 17px; height: 17px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.btn .ico { transition: transform 0.35s var(--ease); }
.btn:hover .ico--arrow { transform: translateX(3px); }

.btn--primary {
  background: var(--plum);
  color: var(--cream);
  box-shadow: 0 12px 26px -16px rgba(54, 32, 64, 0.8);
}
.btn--primary:hover {
  background: var(--plum-deep);
  transform: translateY(-2px);
  box-shadow: 0 18px 32px -18px rgba(54, 32, 64, 0.8);
}
.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--plum); color: var(--plum); }
.btn--light {
  background: var(--cream);
  color: var(--plum);
}
.btn--light:hover { background: #fff; transform: translateY(-2px); }
.btn--sm { padding: 13px 22px; font-size: 11px; }
.btn--block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--plum);
  border-bottom: 1px solid rgba(84, 52, 95, 0.35);
  padding-bottom: 4px;
  transition: border-color 0.3s, color 0.3s;
}
.text-link:hover { color: var(--ink); border-color: var(--ink); }
.text-link .ico { width: 14px; height: 14px; }

/* ----------------------------- 5. Topbar -------------------------------- */
.topbar {
  background: var(--plum-deep);
  color: rgba(247, 242, 234, 0.72);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.topbar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 38px;
  padding-block: 9px;
}
.topbar__note { display: flex; align-items: center; gap: 9px; }
.topbar__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lilac);
  box-shadow: 0 0 0 3px rgba(198, 176, 216, 0.18);
}
.topbar__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(247, 242, 234, 0.85);
  transition: color 0.3s;
}
.topbar__phone:hover { color: #fff; }
.topbar__phone .ico { width: 13px; height: 13px; fill: currentColor; stroke: none; }

/* ----------------------------- 6. Header -------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 80;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(247, 242, 234, 0.88);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--line);
  box-shadow: 0 14px 30px -30px rgba(43, 32, 48, 0.5);
}
.header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  flex: 0 0 auto;
}
.brand__mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
  transition: transform 0.5s var(--ease);
}
.brand:hover .brand__mark { transform: translateY(-2px); }
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__tag {
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--plum);
  margin-bottom: 4px;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.9;
}
.nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.5vw, 38px);
  margin-left: auto;
}
.nav a {
  position: relative;
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-block: 6px;
  transition: color 0.3s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--plum);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav a:hover { color: var(--plum); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header__actions { display: flex; align-items: center; gap: 14px; }

.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  align-items: center;
  justify-content: center;
}
.burger span {
  position: absolute;
  left: 50%;
  width: 17px;
  height: 1.5px;
  background: var(--ink);
  transform: translateX(-50%);
  transition: transform 0.35s var(--ease), opacity 0.3s;
}
.burger span:first-child { top: 19px; }
.burger span:last-child { bottom: 19px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: translateX(-50%) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { bottom: 21px; transform: translateX(-50%) rotate(-45deg); }

/* ----------------------------- 7. Mobile menu --------------------------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 75;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 106px var(--gutter) 32px;
  background: var(--cream);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
    visibility 0.35s;
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu__nav { display: flex; flex-direction: column; }
.mobile-menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(30px, 8vw, 40px);
  font-weight: 300;
  line-height: 1;
}
.mobile-menu__nav a span {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.mobile-menu__nav a:active { color: var(--plum); }
.mobile-menu__foot { padding-top: 36px; display: grid; gap: 16px; }
.mobile-menu__foot p {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

/* ----------------------------- 8. Hero ---------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(44px, 6vw, 84px) clamp(56px, 8vw, 104px);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: clamp(40px, 6vw, 92px);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(54px, 7vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin-top: 24px;
}
.hero__title em { font-style: italic; color: var(--plum); }
.hero__lead {
  margin-top: 26px;
  max-width: 44ch;
  font-size: 16px;
  font-weight: 350;
  line-height: 1.75;
  color: var(--ink-soft);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero__facts li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__facts .ico { width: 13px; height: 13px; color: var(--plum); stroke-width: 2; }

/* animated entrance */
.hero__copy > * { animation: fade-up 1s var(--ease) both; }
.hero__copy > :nth-child(1) { animation-delay: 0.05s; }
.hero__copy > :nth-child(2) { animation-delay: 0.14s; }
.hero__copy > :nth-child(3) { animation-delay: 0.24s; }
.hero__copy > :nth-child(4) { animation-delay: 0.34s; }
.hero__copy > :nth-child(5) { animation-delay: 0.44s; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

.hero__media {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 540px;
}
.hero__arch {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 260px 260px 16px 16px;
  overflow: hidden;
  background: var(--cream-2);
  box-shadow: 0 44px 80px -50px rgba(54, 32, 64, 0.65);
  animation: hero-in 1.4s var(--ease) 0.15s both;
}
.hero__arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  transform: scale(1.01);
}
.hero__arch::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(247, 242, 234, 0.5);
  border-radius: 246px 246px 10px 10px;
  pointer-events: none;
}
@keyframes hero-in {
  from { opacity: 0; transform: translateY(30px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

.hero__badge {
  position: absolute;
  right: -24px;
  top: 38px;
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: 0 16px 34px -24px rgba(43, 32, 48, 0.55);
  animation: fade-up 1s var(--ease) 0.7s both;
}
.badge__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 28s linear infinite;
}
.badge__ring text {
  font-family: var(--font-body);
  font-size: 8.2px;
  font-weight: 500;
  letter-spacing: 2.2px;
  fill: var(--plum);
  text-transform: uppercase;
}
.badge__star {
  width: 26px;
  height: auto;
  position: relative;
  z-index: 1;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ----------------------------- 9. Ticker -------------------------------- */
.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--paper);
  padding-block: 15px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: 30px;
  width: max-content;
  animation: marquee 46s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track span {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink-soft);
}
.ticker__track i {
  font-style: normal;
  font-size: 12px;
  color: var(--plum);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ----------------------------- 10. Services ----------------------------- */
.services { background: var(--cream); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 350px;
  padding: 32px 28px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: background 0.45s var(--ease);
}
.service::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--plum);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s var(--ease);
}
.service:hover { background: var(--paper); }
.service:hover::before { transform: scaleX(1); }
.service__num {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--muted);
}
.service__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.4vw, 32px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-top: 26px;
}
.service__desc {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 34ch;
}
.service__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 24px;
}
.service__tags span {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: border-color 0.3s, color 0.3s;
}
.service:hover .service__tags span { border-color: rgba(84, 52, 95, 0.3); color: var(--plum); }
.service__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 20px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.3s;
}
.service__link .ico { width: 14px; height: 14px; transition: transform 0.35s var(--ease); }
.service__link:hover { color: var(--plum); }
.service__link:hover .ico { transform: translateX(4px); }

/* ----------------------------- 11. Approach ----------------------------- */
.approach {
  background:
    radial-gradient(900px 500px at 88% 8%, rgba(198, 176, 216, 0.14), transparent 60%),
    var(--plum-deep);
  color: var(--cream);
  overflow: hidden;
}
.approach .eyebrow { color: var(--lilac); }
.approach__head { margin-bottom: clamp(44px, 6vw, 72px); }
.approach__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.approach__item {
  padding: 8px clamp(20px, 3.4vw, 46px) 8px;
  border-left: 1px solid rgba(247, 242, 234, 0.16);
}
.approach__item:first-child { padding-left: 0; border-left: 0; }
.approach__num {
  display: block;
  font-family: var(--font-body);
  font-size: 40px;
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--lilac);
  opacity: 0.85;
}
.approach__item h3 {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 400;
  margin-top: 22px;
}
.approach__item p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(247, 242, 234, 0.66);
  max-width: 34ch;
}

/* ----------------------------- 12. About -------------------------------- */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
}
.about__media { position: relative; }
.about__frame {
  position: relative;
  border-radius: 220px 220px 14px 14px;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  box-shadow: 0 40px 70px -54px rgba(54, 32, 64, 0.6);
}
.about__frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.about__frame::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(247, 242, 234, 0.4);
  border-radius: 208px 208px 8px 8px;
  pointer-events: none;
}
.about__media::before {
  content: "";
  position: absolute;
  inset: -18px -18px 18px 18px;
  border: 1px solid rgba(84, 52, 95, 0.28);
  border-radius: 238px 238px 14px 14px;
  pointer-events: none;
}
.about__caption {
  margin-top: 22px;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}
.about__copy .section-title { margin-bottom: 24px; }
.about__copy > p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 54ch;
}
.about__copy > p + p { margin-top: 14px; }
.about__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 26px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.about__list li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.about__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--plum);
}
.about__sign { display: flex; flex-direction: column; margin-top: 30px; }
.about__sign-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 34px;
  line-height: 1;
  color: var(--plum);
}
.about__sign-role {
  margin-top: 8px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ----------------------------- 13. Quote --------------------------------- */
.quote {
  position: relative;
  min-height: 600px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--cream);
  text-align: center;
}
.quote__bg {
  position: absolute;
  inset: 0;
  background: url("../img/quote-bg.jpg") center 45% / cover no-repeat;
  transform: scale(1.02);
}
.quote__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(43, 26, 50, 0.72),
    rgba(43, 26, 50, 0.58) 45%,
    rgba(43, 26, 50, 0.78)
  );
}
.quote__in { position: relative; z-index: 2; padding-block: 96px; }
.quote__label {
  font-size: 10.5px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--lilac);
}
.quote__text {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 20px auto 34px;
  max-width: 20ch;
}
.quote__text em { font-style: italic; color: var(--lilac); }

/* ----------------------------- 14. Gallery ------------------------------- */
.gallery { background: var(--paper); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.shot:nth-child(3n + 2) { margin-top: 44px; }
.shot__btn {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 0;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: var(--cream-2);
  cursor: zoom-in;
}
.shot__btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.5s;
}
.shot__btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(30, 18, 36, 0.4));
  opacity: 0;
  transition: opacity 0.45s;
}
.shot__btn:hover img { transform: scale(1.045); }
.shot__btn:hover::after { opacity: 1; }
.shot__plus {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(247, 242, 234, 0.92);
  color: var(--plum);
  font-size: 18px;
  line-height: 1;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s, transform 0.4s var(--ease);
}
.shot__btn:hover .shot__plus,
.shot__btn:focus-visible .shot__plus { opacity: 1; transform: none; }

/* ----------------------------- 15. Booking ------------------------------- */
.booking-section {
  background:
    radial-gradient(700px 420px at 12% 100%, rgba(198, 176, 216, 0.22), transparent 65%),
    var(--cream-2);
}
.booking__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: start;
  gap: clamp(36px, 6vw, 90px);
}
.booking__intro { padding-top: 6px; }
.booking__intro .section-lead { margin-top: 22px; }

.steps { margin-top: 36px; }
.steps li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps span {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--plum);
  min-width: 30px;
}
.steps p { font-size: 14px; color: var(--ink-soft); }

.contact-list { margin-top: 30px; display: grid; gap: 4px; }
.contact-list li { display: flex; align-items: center; gap: 14px; padding: 9px 0; }
.contact-list__ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--plum);
  flex: 0 0 auto;
}
.contact-list__ico .ico { width: 16px; height: 16px; }
.contact-list__ico .ico[viewBox="0 0 24 24"] { fill: none; }
.contact-list__label {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.contact-list a,
.contact-list p { font-size: 14px; color: var(--ink); }
.contact-list a { border-bottom: 1px solid transparent; transition: border-color 0.3s, color 0.3s; }
.contact-list a:hover { color: var(--plum); border-color: var(--plum); }

.booking-form {
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  padding: clamp(22px, 4vw, 40px);
  box-shadow: 0 40px 80px -70px rgba(43, 32, 48, 0.8);
}
.booking-form__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.booking-form__head h3 {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.6vw, 32px);
  font-weight: 400;
  line-height: 1;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--lilac-soft);
  color: var(--plum);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pill .ico { width: 13px; height: 13px; }

.field { margin-bottom: 16px; }
.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.field label span {
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 350;
  opacity: 0.75;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 350;
  color: var(--ink);
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input::placeholder,
.field textarea::placeholder { color: #938593; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--plum);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(198, 176, 216, 0.32);
}
.field input[type="date"] { color-scheme: light; min-height: 47px; }

.select-wrap { position: relative; }
.select-wrap__chevron {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 15px;
  height: 15px;
  transform: translateY(-50%);
  pointer-events: none;
  fill: none;
  stroke: var(--plum);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.booking-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field__error {
  display: none;
  margin: 6px 0 0;
  font-size: 11.5px;
  line-height: 1.4;
  color: #9d3c4a;
}
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: #b4535f; }
.field.is-invalid .field__error { display: block; }

.wa-preview {
  margin: 6px 0 18px;
  padding: 12px 14px;
  border: 1px solid #d7e4cd;
  border-radius: 13px;
  background: #f0f5ea;
}
.wa-preview__head {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4c6b3c;
}
.wa-preview__head .ico { width: 13px; height: 13px; }
.wa-preview__text {
  margin-top: 7px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #34432b;
  white-space: pre-line;
  max-height: 108px;
  overflow: auto;
}
.wa-preview__text.is-empty { color: #7b8a6f; }

.booking-form .btn--block { margin-top: 4px; }
.booking-form__fine {
  margin-top: 12px;
  font-size: 10.5px;
  line-height: 1.5;
  text-align: center;
  color: var(--muted);
}

.form-status {
  margin-top: 16px;
  padding: 13px 15px;
  border-radius: 11px;
  background: var(--lilac-soft);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--plum-deep);
}
.form-status a {
  color: var(--plum);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ----------------------------- 16. FAQ ----------------------------------- */
.faq { background: var(--cream); }
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.faq__intro { position: sticky; top: 120px; }
.faq__intro .section-lead { margin-top: 20px; }
.faq__intro .text-link { margin-top: 26px; }
.faq__list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 21px 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 400;
  line-height: 1.2;
  transition: color 0.3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--plum); }
.faq-item__icon {
  position: relative;
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--plum);
  transition: transform 0.35s var(--ease);
}
.faq-item__icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-item__icon::after { transform: rotate(0deg); }
.faq-item p {
  padding: 0 42px 22px 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 62ch;
}

/* ----------------------------- 17. Footer -------------------------------- */
.footer {
  background: var(--plum-deep);
  color: rgba(247, 242, 234, 0.68);
  padding-block: clamp(56px, 7vw, 88px) 26px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.55fr 0.7fr 0.95fr 1fr;
  gap: clamp(28px, 4vw, 56px);
}
.footer__logo-link { display: inline-block; }
.footer__logo { display: block; width: 250px; height: auto; }
.footer__brand p {
  margin: 20px 0;
  font-size: 13.5px;
  line-height: 1.7;
  max-width: 34ch;
  color: rgba(247, 242, 234, 0.6);
}
.footer__ig {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(247, 242, 234, 0.85);
  transition: color 0.3s;
}
.footer__ig:hover { color: #fff; }
.footer__ig .ico { width: 16px; height: 16px; }

.footer__col h4 {
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lilac);
  margin-bottom: 18px;
}
.footer__col a,
.footer__col p {
  display: block;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(247, 242, 234, 0.7);
  margin-bottom: 9px;
  transition: color 0.3s;
}
.footer__col a:hover { color: #fff; }
.footer__col--cta p { margin-bottom: 18px; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: 22px;
  border-top: 1px solid rgba(247, 242, 234, 0.14);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: rgba(247, 242, 234, 0.42);
}
.footer__bottom a { color: rgba(247, 242, 234, 0.7); text-decoration: underline; text-underline-offset: 3px; }

/* ----------------------------- 18. FAB + lightbox ------------------------- */
.fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--plum);
  color: var(--cream);
  box-shadow: 0 16px 34px -14px rgba(54, 32, 64, 0.7);
  transition: transform 0.35s var(--ease), background 0.35s;
}
.fab:hover { transform: translateY(-3px) scale(1.03); background: var(--plum-deep); }
.fab.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }
.fab .ico { width: 25px; height: 25px; fill: currentColor; stroke: none; }
.fab::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #4caf78;
  border: 2px solid var(--cream);
}
.fab__tip {
  position: absolute;
  right: 72px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--cream);
  font-size: 11px;
  letter-spacing: 0.03em;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(6px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease);
}
.fab:hover .fab__tip { opacity: 1; transform: none; }

.lightbox {
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(26, 16, 31, 0.97);
  color: var(--cream);
}
.lightbox::backdrop { background: rgba(20, 12, 24, 0.8); }
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; }
.lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 56px 16px;
  min-height: 0;
}
.lightbox__figure img {
  max-width: min(86vw, 1000px);
  max-height: 78dvh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
}
.lightbox__figure figcaption {
  font-size: 12px;
  letter-spacing: 0.05em;
  color: rgba(247, 242, 234, 0.7);
  text-align: center;
  max-width: 60ch;
}
.lightbox__close {
  position: absolute;
  top: 18px;
  right: 22px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(247, 242, 234, 0.25);
  border-radius: 50%;
  background: transparent;
  color: var(--cream);
  font-size: 26px;
  line-height: 1;
  transition: background 0.3s, color 0.3s;
}
.lightbox__close:hover { background: var(--cream); color: var(--plum); }
.lightbox__nav {
  z-index: 2;
  width: 52px;
  height: 52px;
  margin-inline: 10px;
  border: 1px solid rgba(247, 242, 234, 0.3);
  border-radius: 50%;
  background: transparent;
  color: var(--cream);
  font-size: 20px;
  transition: background 0.3s, color 0.3s;
}
.lightbox__nav:hover { background: var(--cream); color: var(--plum); }

/* ----------------------------- 19. Reveal -------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease) var(--d, 0ms),
    transform 0.9s var(--ease) var(--d, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ----------------------------- 20. Responsive ---------------------------- */
@media (max-width: 1120px) {
  .nav { display: none; }
  .burger { display: flex; }
  .header__in { min-height: 76px; }
}

@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .hero__media { justify-self: center; max-width: 470px; }
  .hero__badge { right: -8px; top: 22px; width: 94px; height: 94px; }
  .approach__grid { grid-template-columns: 1fr; gap: 0; }
  .approach__item {
    padding: 28px 0;
    border-left: 0;
    border-top: 1px solid rgba(247, 242, 234, 0.16);
  }
  .approach__item:first-child { border-top: 0; padding-top: 0; }
  .about__grid { grid-template-columns: 1fr; gap: 46px; }
  .about__media { max-width: 520px; width: 100%; }
  .booking__grid { grid-template-columns: 1fr; }
  .faq__grid { grid-template-columns: 1fr; gap: 40px; }
  .faq__intro { position: static; }
  .section-head { grid-template-columns: 1fr; align-items: start; gap: 20px; }
  .section-head__aside { max-width: 520px; }
  .gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shot:nth-child(3n + 2) { margin-top: 0; }
  .shot:nth-child(2n) { margin-top: 36px; }
  .quote__bg { background-attachment: scroll; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 860px) {
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service { min-height: 330px; }
  .quote { min-height: 520px; }
}

@media (max-width: 640px) {
  .topbar__in { justify-content: center; }
  .topbar__note { display: none; }
  .header__in { min-height: 68px; }
  .brand__mark { width: 36px; height: 36px; }
  .footer__logo { width: 220px; }
  .brand__name { font-size: 24px; }
  .brand__tag { font-size: 8px; }
  .nav-cta { display: none; }
  .hero { padding-top: 34px; }
  .hero__title { font-size: clamp(46px, 13.4vw, 64px); }
  .hero__lead { font-size: 15px; }
  .hero__facts { gap: 8px 18px; }
  .hero__facts li { font-size: 10px; }
  .hero__media { max-width: 100%; }
  .hero__arch { border-radius: 200px 200px 14px 14px; }
  .hero__arch::after { border-radius: 188px 188px 8px 8px; inset: 10px; }
  .hero__badge { width: 82px; height: 82px; right: 6px; top: 14px; }
  .badge__ring text { font-size: 8px; letter-spacing: 2px; }
  .badge__star { width: 19px; }

  .services__grid { grid-template-columns: 1fr; }
  .service { min-height: 0; padding: 28px 22px 26px; }
  .service__desc { max-width: none; }
  .service__tags { padding-top: 22px; }

  .about__list { grid-template-columns: 1fr; }
  .about__media::before { inset: -12px -12px 12px 12px; }
  .quote__text { max-width: 16ch; }
  .quote__in { padding-block: 78px; }

  .gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .shot:nth-child(2n) { margin-top: 0; }
  .shot { margin-bottom: 0; }
  .pill { display: none; }
  .booking-form__head h3 { font-size: 27px; }
  .footer { padding-bottom: 96px; }
  .booking-form__row { grid-template-columns: 1fr; gap: 0; }
  .booking-form { border-radius: 18px; }
  .booking-form__head { align-items: flex-start; }

  .footer__top { grid-template-columns: 1fr; gap: 34px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .fab { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .fab__tip { display: none; }
  .lightbox__nav { position: absolute; bottom: 26px; margin: 0; }
  .lightbox__nav--prev { left: 24px; }
  .lightbox__nav--next { right: 24px; }
  .lightbox[open] { grid-template-columns: 1fr; }
  .lightbox__figure img { max-width: 92vw; max-height: 72dvh; }
}

/* ----------------------------- 21. Motion / print ------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .ticker__track { animation: none; }
  .hero__copy > * { animation: none; }
  .hero__arch, .hero__badge { animation: none; }
  .badge__ring { animation: none; }
}

@media print {
  .topbar, .header, .mobile-menu, .fab, .ticker, .quote__bg { display: none !important; }
  body { background: #fff; color: #000; }
  .hero, .section, .footer { padding-block: 24px; }
  .footer { background: #fff; color: #000; }
}

/* preselected service highlight */
.booking-form.is-highlight {
  box-shadow: 0 0 0 3px rgba(84, 52, 95, 0.18), 0 40px 80px -70px rgba(43, 32, 48, 0.8);
}

@media (max-width: 640px) {
  .field input,
  .field select,
  .field textarea { font-size: 16px; }
}

/* handle link keeps lowercase */
.text-link--handle { text-transform: none; letter-spacing: 0.06em; font-size: 12.5px; }

.booking__note {
  margin-top: 26px;
  max-width: 34ch;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.booking__note a {
  color: var(--plum);
  border-bottom: 1px solid rgba(84, 52, 95, 0.4);
  transition: border-color 0.3s;
}
.booking__note a:hover { border-color: var(--plum); }

/* footer CTA must beat .footer__col a */
.footer__col a.btn,
.footer__col a.btn--light {
  display: inline-flex;
  width: auto;
  margin-bottom: 0;
  color: var(--plum);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer__col a.btn--light:hover { color: var(--plum-deep); }
