/* =================================================================
   БЛЕКУСЕМ — editorial luxury grooming salon landing
   ================================================================= */

:root {
  --pink-bg: #FFF1F4;
  --pink-bg-deep: #FBE4E9;
  /* used sparingly — only where a real punch of color earns its place */
  --pink-accent: #FF8FA0;
  /* soft rose panel — a light pink tint, deeper than the page bg */
  --pink-tint: #F9DAE3;
  --brown-deep: #3A1420;
  --brown-mid: #7A3B4A;
  /* dark berry-pink for large display headings (still AA-readable on the
     light pink backgrounds); body text stays the darker brown */
  --pink-dark: #8A2F52;
  --cream: #FBF1E9;
  --gold: #C9A24E;
  --white: #FFFFFF;

  --serif: 'Forum', Georgia, serif;
  --serif-accent: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  background: var(--pink-bg);
  color: var(--brown-deep);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

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

/* Forum ships a single 400 weight — presence comes from size and letter-spacing,
   never synthetic bold */
h1, h2, h3 { font-family: var(--serif); margin: 0; font-weight: 400; letter-spacing: 0.02em; }

em { font-family: var(--serif-accent); font-style: italic; font-weight: 500; }

/* -------------------- shared -------------------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  color: var(--brown-mid);
  font-weight: 500;
  margin: 0 0 20px;
}

.eyebrow span {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}

/* used on the calm pale sections (philosophy, booking) — dark ink reads best */
.eyebrow-light { color: var(--brown-deep); }

.section-head {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  color: var(--pink-dark);
}

.section-title--light { color: var(--pink-dark); }

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.btn-lg { padding: 18px 44px; font-size: 15px; }
.btn-block { width: 100%; text-align: center; }

.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover { transform: translateY(-2px); background: #d8b264; }

.btn-outline {
  border-color: var(--gold);
  color: var(--brown-deep);
}
.btn-outline:hover { background: var(--gold); color: var(--brown-deep); transform: translateY(-2px); }

.btn-outline-dark {
  border: 1px solid var(--brown-deep);
  color: var(--brown-deep);
  margin-top: 8px;
}
.btn-outline-dark:hover { background: var(--brown-deep); color: var(--cream); transform: translateY(-2px); }

/* =================================================================
   HEADER
   ================================================================= */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--gutter);
  background: rgba(251, 241, 244, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(107, 45, 63, 0.08);
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 32px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-right {
  display: flex;
  align-items: center;
}

.nav-center a {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brown-deep);
  position: relative;
}

.nav-center a::after {
  content: "";
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-center a:hover::after { width: 100%; }

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 52px;
  width: auto;
  display: block;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.burger span {
  width: 22px; height: 1px;
  background: var(--brown-deep);
}

.mobile-menu {
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--pink-bg);
  z-index: 99;
  display: none;
  flex-direction: column;
  padding: 24px var(--gutter);
  gap: 20px;
  border-bottom: 1px solid rgba(107,45,63,0.1);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.mobile-menu.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu a {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.mobile-menu .btn { text-align: center; margin-top: 8px; }

/* =================================================================
   HERO
   ================================================================= */

/* full-bleed editorial hero: layered mascot + bows, type on top.
   overflow stays visible so the cat can overhang the numbers band */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 130px var(--gutter) 56px;
  background: linear-gradient(180deg, var(--pink-bg) 0%, var(--pink-bg-deep) 100%);
  z-index: 5;
}

/* DESKTOP hero = two real grid columns (text | arch), so the cat can never
   overlap the text, the perks row, or the numbers band below it */
.hero-arch {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  z-index: 2;
}

/* photo already has its own painted arch niche + pink backdrop baked in —
   sharp corners, plus the brand's offset gold outline sitting behind it */
.hero-arch::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(16px, 16px);
  border: 1px solid var(--gold);
  pointer-events: none;
}

.hero-arch-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(58,20,32,0.16);
}

.hero-arch-clip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-stage {
  position: relative;
  z-index: 3;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(300px, 32vw, 400px);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: 40px;
}

.hero-text { position: relative; z-index: 3; }

.hero-title {
  font-size: clamp(40px, 5.2vw, 76px);
  color: var(--pink-dark);
  line-height: 1.06;
  margin: 18px 0 26px;
  position: relative;
  z-index: 5;
}

/* each line hides behind its own mask so GSAP can slide it up into view */
.hero-line {
  display: block;
  overflow: hidden;
}
.hero-line-inner { display: inline-block; }

/* second line: one line that runs past the text column and slightly over
   the cat photo. width:max-content lets it overflow the grid column to the
   right; the line box keeps overflow:hidden only for the vertical reveal */
.hero-line--shift {
  margin-left: clamp(10px, 2.5vw, 44px);
  width: max-content;
}
.hero-line--shift .hero-line-inner { white-space: nowrap; }

.hero-title em {
  font-weight: 500;
}

.hero-sub {
  color: var(--brown-mid);
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 300;
  max-width: 400px;
  margin: 0;
}

.hero-sub {
  position: relative;
  z-index: 5;
}

.hero-bottom {
  position: relative;
  isolation: isolate;
  z-index: 10;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  border-top: 1px solid rgba(107,45,63,0.15);
  padding-top: 32px;
}

.hero-col {
  list-style: none;
  margin: 0; padding: 0;
  color: var(--brown-mid);
  font-size: 13px;
  line-height: 1.8;
  font-weight: 300;
}

.hero-col-left { text-align: left; }
.hero-col-right { text-align: right; }
.hero-col-center { display: flex; justify-content: center; }

/* =================================================================
   NUMBERS
   ================================================================= */

/* full-width soft-rose band with gold icons beside each stat */
.numbers {
  background: var(--pink-tint);
  padding: 56px var(--gutter);
}

.numbers-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: var(--container);
  margin: 0 auto;
  gap: 40px 24px;
}

.number-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

/* bare gold icon sitting to the left of the figure — no badge behind */
.number-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.number-icon svg { width: 34px; height: 34px; }

.number-text {
  display: flex;
  flex-direction: column;
}

.number-value {
  display: block;
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 400;
  line-height: 1;
  color: var(--pink-dark);
}

.number-label {
  display: block;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 11px;
  color: rgba(58, 20, 32, 0.65);
}

/* =================================================================
   SERVICES
   ================================================================= */

.services { padding: 80px 0 100px; }

.services-grid {
  max-width: var(--container);
  margin: 48px auto 0;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr;
  /* generous, uniform gap — no risk of adjacent cards visually touching */
  gap: 32px;
}

/* card with a big faded index numeral in the corner (reference-style),
   reworked into brand colours + type */
.service-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(107,45,63,0.08);
  border-radius: 0;
  padding: 34px 30px 28px;
  display: flex;
  flex-direction: column;
  /* fixed (not min-) height on mobile so every card — regardless of
     description length — ends with the same gap above its button */
  height: 340px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* lift-on-hover only for devices that actually hover (mouse/trackpad) —
   on touch, a tap leaves :hover "stuck" and the lifted card visually
   overlaps its neighbour, which is the bug being fixed here */
@media (hover: hover) and (pointer: fine) {
  .service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 44px rgba(107,45,63,0.14);
  }
}

/* big semi-transparent index numeral in the top-right corner,
   sized to roughly a quarter of the card */
/* oversized index that bleeds past the top-right corner (clipped by the
   card's overflow), just enough to still read the digit */
.service-num {
  position: absolute;
  top: -70px;
  right: -18px;
  font-family: var(--serif);
  font-size: 220px;
  line-height: 1;
  color: rgba(138,47,82,0.10);
  pointer-events: none;
  user-select: none;
}

.service-name {
  font-size: 26px;
  margin-bottom: 14px;
  padding-right: 46px;
  color: var(--pink-dark);
}
/* enlarged gold initial, echoing the reference's accented first letter */
.service-name .accent {
  color: var(--gold);
  font-size: 1.4em;
}

.service-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--brown-mid);
  margin: 0 0 28px;
  max-width: 92%;
}

.service-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
}

.service-price {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
}

/* square CTA — same prefill-and-scroll behaviour, new shape */
.service-arrow {
  border: 1px solid var(--gold);
  border-radius: 0;
  background: var(--gold);
  color: var(--white);
  padding: 12px 22px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease;
}
.service-arrow:hover { background: transparent; color: var(--brown-deep); }

.service-card--dark {
  background: var(--pink-accent);
  color: var(--cream);
}
.service-card--dark .service-num { color: rgba(251,241,233,0.32); }
.service-card--dark .service-name,
.service-card--dark .service-price { color: var(--cream); }
.service-card--dark .service-name .accent { color: var(--cream); }
.service-card--dark p { color: rgba(251,241,233,0.85); }
.service-card--dark .service-arrow {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--pink-accent);
}
.service-card--dark .service-arrow:hover { background: transparent; color: var(--cream); }

/* =================================================================
   QUOTE
   ================================================================= */

.quote {
  background: var(--pink-bg-deep);
  padding: 90px var(--gutter) 100px;
  text-align: center;
}

/* oversized gold quotation mark as the section's ornament */
.quote::before {
  content: "«";
  display: block;
  font-family: var(--serif-accent);
  font-size: clamp(80px, 10vw, 140px);
  line-height: 0.6;
  color: var(--gold);
  margin-bottom: 8px;
}

.quote-text {
  max-width: 880px;
  margin: 0 auto 32px;
  font-family: var(--serif-accent);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(24px, 3.5vw, 38px);
  line-height: 1.4;
  color: var(--pink-dark);
}

.quote-divider {
  display: block;
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 20px;
}

.quote-author {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: var(--brown-mid);
}

/* =================================================================
   ABOUT / MOSAIC
   ================================================================= */

.about { padding: 100px 0 0; }

/* full-bleed editorial gallery — spans the whole viewport edge to edge,
   independent of the page container width */
.mosaic {
  width: 100%;
  margin: 44px 0 0;
  /* tiny breathing room so tiles don't touch the viewport edge */
  padding: 0 6px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: clamp(150px, 44vw, 240px);
  grid-auto-flow: dense;
  gap: 8px;
}

/* MOBILE: 2 photos per row, alternating shapes (some tall, some short) */
.mosaic-item:nth-child(1),
.mosaic-item:nth-child(4),
.mosaic-item:nth-child(6) { grid-row: span 2; }

.mosaic-item {
  position: relative;
  overflow: hidden;
}
.mosaic-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.mosaic-item:hover img { transform: scale(1.06); }

.mosaic-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(107,45,63,0) 40%, rgba(107,45,63,0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mosaic-item:hover .mosaic-overlay { opacity: 1; }
.mosaic-overlay span {
  color: var(--cream);
  font-size: 13px;
  letter-spacing: 0.5px;
}

/* calm section — no full-saturation block here, keeps the accent color
   from repeating on every section and feeling heavy */
.philosophy {
  background: var(--pink-bg-deep);
  margin-top: 80px;
  padding: 80px var(--gutter);
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.philosophy-body {
  color: var(--brown-mid);
  font-size: 16px;
  line-height: 1.8;
  margin: 24px 0 32px;
  max-width: 480px;
}

.social-links {
  display: flex;
  gap: 24px;
}
.social-link {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  color: var(--brown-deep);
  border-bottom: 1px solid var(--pink-accent);
  padding-bottom: 4px;
  transition: opacity 0.3s ease;
}
.social-link:hover { opacity: 0.6; }

.philosophy-photo img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

/* =================================================================
   TEAM
   ================================================================= */

.team { padding: 100px 0 110px; }

/* one shared "Майстри" heading sits BEHIND the whole group, straddling
   the top edge of the cards — never duplicated, never per-card. The
   cards sit on top (z-index) and overlap its lower half a little;
   its upper half peeks out above them. */
/* flexbox + wrap + justify-content:center — not a fixed-column grid —
   so any number of cards stays centered: 1 alone, 2 side by side, 3
   across, a 4th wraps to its own centered row below, and so on */
.team-list {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;
  /* extra clearance above the cards so the bigger heading has room to
     peek out before the cards start */
  margin: 190px auto 0;
  max-width: var(--container);
  padding: 0 var(--gutter);
}

.team-single {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

.team-bigname {
  position: absolute;
  left: 0;
  right: 0;
  top: -0.7em;
  z-index: 0;
  display: block;
  font-family: var(--serif);
  font-size: clamp(96px, 20vw, 220px);
  line-height: 1;
  text-align: center;
  color: var(--pink-dark);
  opacity: 0.25;
  pointer-events: none;
  user-select: none;
}

.team-photo-frame {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(58,20,32,0.16);
}
.team-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* small pill badge with the full name + role, tucked in the corner */
.team-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--white);
  padding: 16px 26px;
  box-shadow: 0 12px 28px rgba(58,20,32,0.14);
}
.team-badge strong {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--pink-dark);
}
.team-badge span {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brown-mid);
}

/* =================================================================
   REVIEWS
   ================================================================= */

.reviews { padding: 0 0 100px; }

/* full-bleed peek carousel: the centered card reads clearly, its
   neighbours show only a sliver on each edge — same pattern on every
   screen size, just re-tuned per breakpoint below */
.reviews-carousel {
  width: 100%;
  margin: 48px 0 0;
}

.reviews-track {
  display: flex;
  align-items: center;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* generous, fixed vertical padding: rotated/lifted side cards need
     real room above and below so the scroll container never clips
     their corners, and the block's height stays constant while
     scrolling instead of jumping around */
  /* wider side padding on mobile than the card's own edge inset, so a
     visible sliver of each neighbour always peeks in on both sides */
  padding: 70px 16vw 60px;
}
.reviews-track::-webkit-scrollbar { display: none; }

.review-card {
  flex: 0 0 72vw;
  max-width: 620px;
  scroll-snap-align: center;
  background: var(--white);
  border: 1px solid rgba(107,45,63,0.08);
  transform-origin: center bottom;
  /* JS sets transform/opacity per-frame for the arc effect; CSS just
     smooths the interpolation between frames */
  transition: transform 0.35s ease, opacity 0.35s ease, box-shadow 0.35s ease;
  will-change: transform;
}
.review-card.is-active {
  box-shadow: 0 14px 30px rgba(107,45,63,0.08);
}

/* round gold nav arrows, centered under the track */
.reviews-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 4px;
}
.reviews-arrow {
  width: 48px;
  height: 48px;
  border-radius: 0;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--pink-dark);
  font-size: 18px;
  transition: background 0.3s ease, color 0.3s ease;
}
.reviews-arrow:hover { background: var(--gold); color: var(--white); }

.split-photo {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.split-line {
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 1px;
  background: var(--gold);
  transform: translateX(-50%);
}
.split-tag {
  position: absolute;
  bottom: 12px;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cream);
  background: rgba(107,45,63,0.6);
  padding: 4px 10px;
}
.split-tag.left { left: 12px; }
.split-tag.right { right: 12px; }

.review-body { padding: 28px; }

.stars {
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 14px;
  font-size: 14px;
}

.review-body p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--brown-deep);
  margin: 0 0 16px;
}

.review-author {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brown-mid);
}

/* =================================================================
   MAP
   ================================================================= */

.map-section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter) 100px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.info-list { margin: 32px 0; }

.info-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(107,45,63,0.1);
}
.info-row dt {
  font-size: 13px;
  color: var(--brown-mid);
}
.info-row dd {
  margin: 0;
  font-size: 15px;
  color: var(--brown-deep);
}
.info-row a { text-decoration: underline; text-underline-offset: 3px; }

/* square map with an offset gold outline, sharp corners */
.map-embed {
  position: relative;
  min-height: 440px;
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 440px;
}
.map-embed::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(14px, 14px);
  border: 1px solid var(--gold);
  pointer-events: none;
}

/* =================================================================
   BOOKING
   ================================================================= */

.booking {
  background: var(--pink-bg-deep);
  padding: 100px var(--gutter);
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  max-width: var(--container);
  margin: 0 auto;
}

.booking-perks {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.booking-perks li {
  color: var(--brown-deep);
  font-size: 15px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.check {
  color: var(--pink-accent);
  font-weight: 700;
}

/* form on a clean white card — reads far better than a tinted panel */
.booking-form {
  background: var(--white);
  border: 1px solid rgba(58,20,32,0.1);
  box-shadow: 0 20px 50px rgba(58,20,32,0.1);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row { display: flex; flex-direction: column; gap: 8px; }

.form-row label {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brown-mid);
}

.req { color: var(--pink-accent); }

/* clickable service picker — chips are the real UI; the <select> beneath
   stays as the single source of truth so existing validation/prefill JS
   keeps working unchanged */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.service-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-chip {
  border: 1px solid rgba(58,20,32,0.18);
  border-radius: 0;
  background: var(--white);
  color: var(--brown-deep);
  padding: 10px 16px;
  font-family: var(--sans);
  font-size: 13px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.service-chip:hover { border-color: var(--gold); }
.service-chip.is-selected {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.form-row input,
.form-row select,
.form-row textarea {
  background: var(--pink-bg);
  border: 1px solid rgba(58,20,32,0.15);
  color: var(--brown-deep);
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 14px;
  border-radius: 2px;
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: rgba(58,20,32,0.4); }

.form-row select option { color: var(--brown-deep); }

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--brown-deep);
}

.form-row.invalid input,
.form-row.invalid select {
  border-color: #C0334A;
}
.form-row.invalid .service-chips { outline: 1px solid #C0334A; outline-offset: 6px; }

.error-msg {
  font-size: 12px;
  color: #C0334A;
  min-height: 14px;
}

.form-note {
  text-align: center;
  font-size: 14px;
  color: var(--brown-deep);
  font-weight: 500;
  min-height: 20px;
  margin: 0;
}

/* =================================================================
   FOOTER
   ================================================================= */

.site-footer {
  /* light pink tint, not the saturated accent — a quiet close to the page */
  background: var(--pink-tint);
  padding: 64px var(--gutter) 28px;
}

.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

/* logo artwork has a transparent background and dark linework —
   reads cleanly on the light pink accent without any filter */
.logo--footer img {
  height: 58px;
}

.footer-slogan {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--brown-deep);
  margin: 18px 0 0;
  max-width: 260px;
}
.footer-slogan em { color: var(--brown-deep); }

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-nav a {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brown-deep);
  opacity: 0.75;
  width: fit-content;
}
.footer-nav a:hover { opacity: 1; }

.footer-contacts p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--brown-deep);
  opacity: 0.8;
}
.footer-contacts a { text-decoration: underline; text-underline-offset: 3px; }
.footer-contacts .social-links { margin-top: 20px; }

.footer-copy {
  max-width: var(--container);
  margin: 48px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(58,20,32,0.15);
  font-size: 12px;
  color: var(--brown-deep);
  opacity: 0.55;
  text-align: center;
}

/* =================================================================
   RESPONSIVE — tablet and up
   ================================================================= */

@media (min-width: 700px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-track { padding: 70px 18vw 60px; }
  .review-card { flex-basis: 62vw; }
  .map-section { grid-template-columns: 1fr 1.2fr; }
  .booking { grid-template-columns: 1fr 1.1fr; }
  .footer-grid { grid-template-columns: 1.2fr 0.8fr 1fr; }
}

@media (min-width: 960px) {
  .nav-center, .nav-right { display: flex; }
  .burger { display: none; }
  /* bigger cards, 3 across, stepped down evenly like a staircase
     (equal 40px steps per column; margin, not transform, so GSAP is free) */
  .services-grid { grid-template-columns: repeat(3, 1fr); align-items: start; gap: 28px; }
  .service-card { height: auto; min-height: 400px; padding: 46px 40px 40px; }
  .service-card .service-name { font-size: 30px; }
  .service-card .service-num { font-size: 270px; top: -84px; right: -22px; }
  .service-card:nth-child(3n+2) { margin-top: 40px; }
  .service-card:nth-child(3n) { margin-top: 80px; }
  .reviews-track { padding: 74px 22vw 64px; gap: 24px; }
  .review-card { flex-basis: min(46vw, 560px); }
  .numbers-inner { grid-template-columns: repeat(4, 1fr); }

  /* DESKTOP gallery: large asymmetric 4-column mosaic, still full-bleed */
  .mosaic {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: clamp(230px, 24vw, 340px);
    gap: 10px;
  }
  .mosaic-item { grid-row: auto; grid-column: auto; }
  .mosaic-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .mosaic-item:nth-child(4) { grid-row: span 2; }
  .mosaic-item:nth-child(5) { grid-column: span 2; }
  .mosaic-item:nth-child(6) { grid-row: span 2; }

  .philosophy { grid-template-columns: 1.1fr 0.9fr; }

  /* 3 masters per row max; the shared heading floats behind whichever
     cards occupy the first row (it's absolutely positioned, so it
     doesn't care how many rows follow) */
  /* fixed basis sized so exactly 3 fit per row (container minus 2 gaps,
     divided by 3); fewer cards just center with room to spare, a 4th+
     wraps to a new centered row */
  .team-single { flex: 0 0 calc((100% - 64px) / 3); max-width: 380px; margin: 0; }
  .team-bigname { top: -0.8em; }
}

@media (max-width: 959px) {
  .nav-center, .nav-right { display: none; }
  .burger { display: flex; }
  .site-header { padding: 14px var(--gutter); }
  .logo img { height: 42px; }
}

/* ==== MOBILE / TABLET HERO (< 960px) — its own single-column layout,
   fully independent of the desktop grid above. Switches at the same point
   as the burger menu, so the two versions never interfere. ==== */
@media (max-width: 959px) {
  /* text block first, then the cat in its frame sitting low, right above
     the button — the grid collapses to one column so nothing overlaps */
  .hero { min-height: auto; padding: 104px var(--gutter) 0; }
  .hero-stage {
    display: block;
    padding-bottom: 0;
    flex: none;
  }
  .hero-title { font-size: clamp(38px, 8vw, 60px); }
  /* phones: let the line wrap normally inside the column again */
  .hero-line--shift { margin-left: 0; width: auto; }
  .hero-line--shift .hero-line-inner { white-space: normal; }
  .hero-arch {
    justify-self: center;
    width: min(62vw, 280px);
    max-width: none;
    margin: 40px auto 0;
  }
  .hero-bottom { grid-template-columns: 1fr; text-align: center; padding-top: 0; padding-bottom: 32px; }
  .hero-col-left, .hero-col-right { text-align: center; }
  .hero-col-left { order: 2; }
  .hero-col-center { order: 1; }
  .hero-col-right { order: 3; }
  .numbers-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
