/* ==========================================================================
   Lior Güzellik Merkezi
   Tokens come from design/lior-design-dna.json.
   Shape rule: interactive = pill, media + cells = 20px, outer bezels = 28px, inputs = 12px.
   ========================================================================== */

:root {
  --bg: #F3EFEC;
  --bg-sage: #E2E5DB;
  --bg-blush: #EBDCD4;
  --surface: #FBF8F9;
  --ink: #2B2130;
  --ink-soft: #5E5462;
  --line: rgb(43 33 48 / 0.14);
  --accent: #5A446F;
  --on-accent: #FBF8F9;
  --plum-cell: #3B2D47;
  --on-plum: #EFE7F1;
  --on-plum-soft: #CFC2D6;
  --glass: rgb(251 248 249 / 0.72);
  --glass-line: rgb(255 255 255 / 0.55);
  --hero-card: rgb(43 33 48 / 0.58);
  --error: #A23B4A;
  --star: #5A446F;

  --font-display: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-input: 12px;
  --r-media: 20px;
  --r-outer: 28px;
  --r-pill: 999px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);
  --t-micro: 180ms;
  --t-normal: 450ms;
  --t-macro: 900ms;

  --shadow-md: 0 12px 32px -12px rgb(43 33 48 / 0.18);
  --shadow-lg: 0 30px 80px -30px rgb(43 33 48 / 0.35);

  --gutter: clamp(1rem, 4vw, 2rem);
  --section: clamp(6rem, 12vw, 10rem);
  --container: 1320px;

  /* z-index scale: nav 40, menu 30, floating button 20 */
  --z-float: 20;
  --z-menu: 30;
  --z-nav: 40;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1A161C;
    --bg-sage: #20231F;
    --bg-blush: #2A2226;
    --surface: #24212A;
    --ink: #F1EBEE;
    --ink-soft: #B8ADB7;
    --line: rgb(241 235 238 / 0.14);
    --accent: #CDB8DE;
    --on-accent: #1A161C;
    --plum-cell: #3B2D47;
    --glass: rgb(36 33 42 / 0.72);
    --glass-line: rgb(255 255 255 / 0.10);
    --hero-card: rgb(26 22 28 / 0.62);
    --error: #F08C9B;
    --star: #CDB8DE;
    --shadow-md: 0 12px 32px -12px rgb(0 0 0 / 0.5);
    --shadow-lg: 0 30px 80px -30px rgb(0 0 0 / 0.7);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 500; }
em { font-style: italic; }
ol, ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

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

.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;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: .75rem 1.25rem; border-radius: var(--r-pill);
  background: var(--accent); color: var(--on-accent); font-weight: 600;
  transition: top var(--t-micro) var(--ease);
}
.skip-link:focus { top: 1rem; }

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

.icon { width: 1.25em; height: 1.25em; flex: none; }

.eyebrow {
  font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-soft);
}

.section-title {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  padding-bottom: .08em; /* italic descender clearance */
}
.section-title em { color: var(--accent); }

/* ---------- Buttons (pill + nested icon) ---------- */
.btn {
  --btn-pad: .375rem;
  display: inline-flex; align-items: center; gap: .875rem;
  min-height: 3.25rem;
  padding: var(--btn-pad) var(--btn-pad) var(--btn-pad) 1.5rem;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-weight: 600; font-size: .9375rem; letter-spacing: .01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--t-normal) var(--ease), color var(--t-normal) var(--ease),
              transform var(--t-micro) var(--ease), border-color var(--t-normal) var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: color-mix(in srgb, var(--accent) 88%, var(--ink)); }
.btn--ghost {
  padding-right: 1.5rem;
  color: #FBF8F9; border-color: rgb(251 248 249 / .55);
}
.btn--ghost:hover { background: rgb(251 248 249 / .12); border-color: #FBF8F9; }
.btn__icon {
  display: grid; place-items: center;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: color-mix(in srgb, var(--on-accent) 16%, transparent);
  transition: transform var(--t-normal) var(--ease-spring);
}
.btn__icon .icon { width: 1.125rem; height: 1.125rem; }
.btn:hover .btn__icon { transform: translate(2px, -2px) scale(1.05); }
.btn--outline { color: var(--ink); border-color: var(--line); background: var(--surface); }
.btn--outline:hover { border-color: var(--accent); }
.btn--outline .btn__icon { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.btn--sm { min-height: 2.75rem; font-size: .875rem; padding-left: 1.125rem; gap: .625rem; }
.btn--sm .btn__icon { width: 2rem; height: 2rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: .9375rem; color: var(--accent);
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
  min-height: 44px;
}
.link-arrow .icon { transition: transform var(--t-normal) var(--ease-spring); }
.link-arrow:hover .icon { transform: translate(2px, -2px); }

/* ---------- Brand wordmark ---------- */
.brand { display: inline-flex; align-items: center; gap: .5rem; line-height: 1; min-height: 44px; }
.brand__word { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.75rem; letter-spacing: -.01em; white-space: nowrap; }
.brand--lg .brand__word { font-size: clamp(2.25rem, 4vw, 3rem); }
.brand__logo { width: auto; max-height: 2.75rem; }
.brand--lg .brand__logo { max-height: 4rem; }

/* ---------- Navigation: floating glass pill ---------- */
.nav {
  position: fixed; inset: 1rem 0 auto; z-index: var(--z-nav);
  padding-inline: var(--gutter);
  pointer-events: none;
}
.nav__pill {
  pointer-events: auto;
  max-width: 1120px; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  height: 4rem; padding: .5rem .5rem .5rem 1.5rem;
  border-radius: var(--r-pill);
  background: var(--glass);
  border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: var(--shadow-md);
  transition: background-color var(--t-normal) var(--ease);
}
.nav__links { display: flex; gap: 2rem; font-size: .9375rem; font-weight: 500; }
.nav__links a { position: relative; padding-block: .5rem; color: var(--ink-soft); transition: color var(--t-micro) var(--ease); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .25rem; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-normal) var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.menu__links a[aria-current="page"] { color: var(--accent); font-style: italic; }
.footer__nav a[aria-current="page"] { color: var(--ink); }
.admin-bar .nav { top: calc(1rem + 32px); }
@media (max-width: 782px) { .admin-bar .nav { top: calc(1rem + 46px); } }

.nav__toggle {
  display: none;
  width: 3rem; height: 3rem; border-radius: 50%;
  border: 0; background: var(--accent); color: var(--on-accent); cursor: pointer;
}
.burger { position: relative; display: block; width: 18px; height: 10px; margin: auto; }
.burger span {
  position: absolute; left: 0; width: 100%; height: 1.5px; border-radius: 2px; background: currentColor;
  transition: transform var(--t-normal) var(--ease-spring), top var(--t-normal) var(--ease-spring);
}
.burger span:first-child { top: 0; }
.burger span:last-child { top: 100%; transform: translateY(-100%); }
.nav__toggle[aria-expanded="true"] .burger span:first-child { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .burger span:last-child { top: 50%; transform: translateY(-50%) rotate(-45deg); }

/* Mobile overlay menu */
.menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 7rem var(--gutter) 2.5rem;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  opacity: 0; transition: opacity var(--t-normal) var(--ease);
}
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; }
.menu__links { display: flex; flex-direction: column; gap: .25rem; }
.menu__links a {
  font-family: var(--font-display); font-size: clamp(2.5rem, 11vw, 3.5rem); line-height: 1.2;
  padding-block: .25rem;
}
.menu__links a, .menu__foot {
  opacity: 0; transform: translateY(2rem);
  transition: opacity var(--t-normal) var(--ease), transform var(--t-macro) var(--ease);
  transition-delay: calc(var(--i) * 60ms + 80ms);
}
.menu.is-open .menu__links a, .menu.is-open .menu__foot { opacity: 1; transform: none; }
.menu__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.5rem; }
.menu__phone { font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  background: #2B2130;
}
.hero__img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
}
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgb(26 22 28 / .25) 0%, rgb(26 22 28 / 0) 30%, rgb(26 22 28 / .1) 60%, rgb(26 22 28 / .55) 100%);
}
.hero__inner { padding-block: 7rem clamp(1.5rem, 5vw, 4rem); }
.hero__card {
  max-width: 36rem;
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  border-radius: var(--r-outer);
  background: var(--hero-card);
  border: 1px solid rgb(255 255 255 / .14);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  backdrop-filter: blur(20px) saturate(1.2);
  color: #FBF8F9;
  box-shadow: var(--shadow-lg);
}
.hero__card .eyebrow { color: rgb(251 248 249 / .78); }
.hero__title {
  margin-top: 1rem;
  font-size: clamp(2.75rem, 5.4vw, 4.75rem);
  line-height: 1.04; letter-spacing: -0.015em;
  padding-bottom: .06em;
}
.hero__title em { color: #E4D3EE; }
.hero__lead { margin-top: 1.25rem; max-width: 30rem; color: rgb(251 248 249 / .86); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero .btn--primary { background: #FBF8F9; color: #2B2130; }
.hero .btn--primary:hover { background: #EFE7F1; }
.hero .btn--primary .btn__icon { background: #5A446F; color: #FBF8F9; }

/* ---------- Manifesto ---------- */
.manifesto { padding-block: var(--section); text-align: center; }
.page-head + .manifesto { padding-top: clamp(1rem, 3vw, 2rem); }
.manifesto__inner { display: flex; flex-direction: column; align-items: center; }
.manifesto__kicker { font-size: 1rem; font-weight: 500; color: var(--ink-soft); }
.manifesto__word {
  margin-block: .5rem 1.5rem;
  font-size: clamp(6rem, 22vw, 17rem);
  font-style: italic; font-weight: 500;
  line-height: 1.1; letter-spacing: -0.02em;
  padding-inline: .1em;
}
.manifesto__fill {
  display: inline-block;
  color: var(--accent);
  padding: 0 .08em .06em;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .manifesto__fill {
    background: url("../img/hero-1200.webp") 50% 62% / 260% auto, var(--accent);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
  }
}
.manifesto__text {
  max-width: 34rem;
  font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.35;
}
.manifesto__link { margin-top: 1.5rem; }
.manifesto__note { margin-top: 2rem; font-size: .9375rem; color: var(--ink-soft); max-width: 30rem; }

/* ---------- Services ---------- */
.services { padding-block: 0 var(--section); }
.services--page { padding-bottom: var(--section); }
.services--related { padding-top: clamp(4rem, 8vw, 6.5rem); }
.services__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

/* Home: compact photo tiles with a plum name band */
.services__title { text-align: center; margin-bottom: clamp(2rem, 4vw, 3rem); }
.services__tiles {
  display: grid; gap: 1rem; max-width: 72rem; margin-inline: auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.svc-tile {
  display: flex; flex-direction: column; height: 100%;
  border-radius: var(--r-media); overflow: hidden;
  background: var(--plum-cell); color: var(--on-plum);
  transition: box-shadow var(--t-normal) var(--ease), transform var(--t-normal) var(--ease);
}
.svc-tile:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.svc-tile__media { display: block; aspect-ratio: 9 / 10; overflow: hidden; background: var(--bg-sage); }
.svc-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc-tile:hover .svc-tile__media img { transform: scale(1.05); }
.svc-tile__title {
  flex: 1; display: grid; place-items: center;
  padding: .875rem 1rem; text-align: center;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.2;
  transition: background-color var(--t-normal) var(--ease);
}
.svc-tile:hover .svc-tile__title { background: color-mix(in srgb, var(--plum-cell) 82%, #8E6FA8); }

/* Services page: photo, name, short text, "Detaylı Bilgi" */
.services__grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16.5rem), 1fr));
}
.services__grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.5rem), 1fr)); }
.services__grid > li { display: flex; }
.svc {
  flex: 1; display: flex; flex-direction: column;
  border-radius: var(--r-media); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  transition: box-shadow var(--t-normal) var(--ease), border-color var(--t-normal) var(--ease);
}
.svc:hover { box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.svc__media { display: block; aspect-ratio: 6 / 5; overflow: hidden; background: var(--bg-sage); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc:hover .svc__media img { transform: scale(1.04); }
.svc__body { flex: 1; display: flex; flex-direction: column; gap: .625rem; padding: 1.25rem 1.25rem 1.5rem; }
.svc__title { font-size: clamp(1.5rem, 2vw, 1.75rem); line-height: 1.15; }
.svc__title a { transition: color var(--t-micro) var(--ease); }
.svc__title a:hover { color: var(--accent); }
.svc__text {
  color: var(--ink-soft); font-size: .9375rem;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden;
}
.svc__more { margin-top: auto; align-self: flex-start; }


.bezel {
  padding: .5rem; border-radius: var(--r-outer);
  background: color-mix(in srgb, var(--ink) 5%, transparent);
  border: 1px solid var(--line);
}
.bezel__core {
  position: relative; overflow: hidden;
  border-radius: calc(var(--r-outer) - .5rem);
  background: var(--surface);
  box-shadow: inset 0 1px 1px rgb(255 255 255 / .2);
}

/* ---------- Why: bento ---------- */
.why { padding-block: var(--section); background: var(--bg-sage); }
.why .section-title { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.bento {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(15rem, auto);
}
.bento__cell { position: relative; margin: 0; border-radius: var(--r-media); overflow: hidden; }
.bento__cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bento__cell--image { grid-column: span 5; grid-row: span 2; }
.bento__cell--sage, .bento__cell--plum, .bento__cell--blush {
  display: flex; flex-direction: column; justify-content: flex-end; gap: .75rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.bento__cell h3 { font-size: clamp(1.6rem, 2.4vw, 2.25rem); line-height: 1.15; }
.bento__cell--sage { grid-column: span 4; background: var(--bg); }
.bento__cell--plum { grid-column: span 3; background: var(--plum-cell); color: var(--on-plum); }
.bento__cell--plum p { color: var(--on-plum-soft); }
.bento__cell--blush { grid-column: span 3; background: var(--bg-blush); }
.bento__cell--sage p, .bento__cell--blush p { color: var(--ink-soft); }
.bento__cell--image-wide { grid-column: span 4; }
.bento__cell--image-wide img { object-position: 50% 30%; }

/* ---------- Quote ---------- */
.quote { padding-block: var(--section); }
.quote__inner { max-width: 60rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.75rem; }
.quote__stars { display: flex; gap: .25rem; color: var(--star); }
.quote__stars .icon { width: 1.25rem; height: 1.25rem; }
.quote blockquote { margin: 0; }
.quote blockquote p {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.875rem, 3.6vw, 3rem); line-height: 1.25;
}
.quote__by { font-size: .9375rem; font-weight: 600; color: var(--ink-soft); }

/* ---------- Gallery marquee ---------- */
.gallery { padding-block: 0 var(--section); overflow: hidden; }
.gallery__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.marquee { --gap: 1rem; }
.marquee__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; gap: var(--gap); padding-right: var(--gap); }
.marquee__group li { height: clamp(16rem, 30vw, 24rem); }
.marquee__group img { height: 100%; width: auto; border-radius: var(--r-media); object-fit: cover; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- Contact + booking ---------- */
.contact { padding-block: clamp(3rem, 6vw, 5rem) var(--section); background: var(--bg-blush); }
.contact__info > .booking:first-child { margin-top: 0; }
.contact__grid {
  display: grid; gap: clamp(3rem, 6vw, 6rem);
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  align-items: start;
}
.contact__info .section-title { margin-top: 1rem; max-width: 34rem; }
.booking { margin-top: 2.5rem; display: grid; gap: 1.25rem; max-width: 30rem; }
.field { display: grid; gap: .5rem; }
.field label { font-size: .9375rem; font-weight: 600; }
.field__opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field select {
  width: 100%; min-height: 3.25rem; padding: .75rem 1rem;
  border-radius: var(--r-input);
  border: 1px solid color-mix(in srgb, var(--ink) 28%, transparent);
  background: var(--surface); color: var(--ink);
  font: inherit; font-size: 1rem;
  transition: border-color var(--t-micro) var(--ease), box-shadow var(--t-micro) var(--ease);
}
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%), linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
  background-position: calc(100% - 1.25rem) 52%, calc(100% - .9rem) 52%;
  background-size: 6px 6px; background-repeat: no-repeat;
  padding-right: 2.5rem;
}
.field input::placeholder { color: color-mix(in srgb, var(--ink-soft) 85%, transparent); }
.field input:focus, .field select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent);
}
.field input[aria-invalid="true"] { border-color: var(--error); }
.field__help { font-size: .875rem; color: var(--ink-soft); }
.field__error { font-size: .875rem; font-weight: 600; color: var(--error); }
.booking__submit { justify-self: start; margin-top: .5rem; }
.booking__status { font-size: .9375rem; color: var(--ink-soft); min-height: 1.5em; }

.contact__card .bezel__core { background: var(--surface); }
.map { aspect-ratio: 4 / 3; background: var(--bg-sage); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.02); }
.contact__list { display: grid; gap: 1.25rem; padding: 1.75rem; }
.contact__list li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.contact__list .icon { width: 1.5rem; height: 1.5rem; color: var(--accent); margin-top: .1rem; }
.contact__list a:not(.link-arrow) { font-weight: 600; display: inline-flex; min-height: 44px; align-items: center; margin-block: -.6rem; }
.contact__list a:not(.link-arrow):hover { color: var(--accent); }
.contact__list p { color: var(--ink-soft); }
.contact__list .link-arrow { margin-top: .25rem; }

/* ---------- Footer ---------- */
.footer { padding-block: clamp(4rem, 8vw, 6rem) 2rem; }
.footer__grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr);
  padding-bottom: 3rem; border-bottom: 1px solid var(--line);
}
.footer__brand p { margin-top: 1rem; color: var(--ink-soft); font-size: .9375rem; max-width: 22rem; }
.footer__nav { display: grid; gap: .25rem; align-content: start; }
.footer__nav a { min-height: 40px; display: inline-flex; align-items: center; color: var(--ink-soft); }
.footer__nav a:hover { color: var(--ink); }
.footer__contact { display: grid; gap: 1rem; align-content: start; color: var(--ink-soft); }
.footer__contact a { font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; min-height: 44px; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; font-size: .875rem; color: var(--ink-soft); }
.footer__base a { text-decoration: underline; text-underline-offset: 3px; }
.footer__credits { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }

/* ---------- Inner pages ---------- */
.page-head { padding-block: clamp(8rem, 14vw, 11rem) clamp(2.5rem, 5vw, 4rem); }
.page-head__title {
  margin-top: .75rem;
  font-size: clamp(2.75rem, 6vw, 5rem); line-height: 1.05; letter-spacing: -0.015em;
  padding-bottom: .06em; max-width: 20ch;
}
.page-head__title em { color: var(--accent); }
.page-head__intro { margin-top: 1.25rem; max-width: 36rem; font-size: 1.125rem; color: var(--ink-soft); }
.page-content { padding-bottom: var(--section); }
.empty { color: var(--ink-soft); }

/* Service detail: intro + photo */
.svc-page { padding-block: clamp(7.5rem, 13vw, 10rem) clamp(3.5rem, 7vw, 6rem); }
.svc-page__grid {
  display: grid; gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: 1rem; font-size: .875rem; color: var(--ink-soft); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }
.crumbs a:hover { color: var(--ink); }
.svc-page__intro .page-head__title { margin-top: 0; }
.svc-page__content { margin-top: 1.5rem; max-width: 36rem; color: var(--ink-soft); }
.svc-page__actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.svc-page__media { margin: 0; }
.svc-page__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.btn--plain { padding-inline: 1.375rem; gap: .625rem; }
.btn--plain .icon { color: var(--accent); }

/* Service detail: approach sections + FAQ on a tinted band */
.svc-detail { padding-block: clamp(4rem, 8vw, 6.5rem); background: var(--bg-blush); }
.svc-detail__cols { display: grid; gap: clamp(2.5rem, 5vw, 5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.svc-detail__title { font-size: clamp(1.75rem, 2.8vw, 2.25rem); line-height: 1.15; }
.svc-detail__text { margin-top: .875rem; max-width: 34rem; color: var(--ink-soft); }
.checklist { display: grid; gap: .75rem; margin-top: 1.5rem; }
.checklist li { display: flex; align-items: flex-start; gap: .75rem; }
.checklist__icon {
  display: grid; place-items: center; flex: none;
  width: 1.5rem; height: 1.5rem; margin-top: .05rem; border-radius: 50%;
  background: var(--accent); color: var(--on-accent);
}
.checklist__icon .icon { width: .875rem; height: .875rem; }

.faq {
  margin-top: clamp(3.5rem, 7vw, 6rem);
  padding: clamp(1.75rem, 4vw, 3.5rem);
  border-radius: var(--r-outer);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
}
.faq__title { text-align: center; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.1; padding-bottom: .06em; }
.faq__title em { color: var(--accent); }
.faq__grid { margin-top: clamp(1.75rem, 3.5vw, 2.75rem); display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.faq__col { display: grid; gap: 1rem; }
.faq__item {
  border-radius: var(--r-input); border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color var(--t-micro) var(--ease), box-shadow var(--t-micro) var(--ease);
}
.faq__item:hover, .faq__item[open] { border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.faq__item[open] { box-shadow: var(--shadow-md); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 3.75rem; padding: .875rem 1.25rem;
  font-weight: 600; font-size: .9688rem; cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:focus-visible { outline-offset: -2px; border-radius: var(--r-input); }
.faq__icon { position: relative; flex: none; width: 1rem; height: 1rem; color: var(--accent); }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px;
  background: currentColor; border-radius: 2px;
  transition: transform var(--t-normal) var(--ease-spring);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__item p { padding: 0 1.25rem 1.25rem; color: var(--ink-soft); font-size: .9375rem; }

/* Editor content */
.prose { max-width: 42rem; }
.prose--wide { max-width: none; }
.prose > * + * { margin-top: 1.25em; }
.prose h2 { margin-top: 2em; font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.15; }
.prose h3 { margin-top: 1.75em; font-size: clamp(1.4rem, 2.4vw, 1.75rem); line-height: 1.2; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose img { border-radius: var(--r-media); }
.prose blockquote { margin-inline: 0; padding-left: 1.25rem; border-left: 2px solid var(--accent); font-family: var(--font-display); font-style: italic; font-size: 1.375rem; }
.contact__extra { margin-top: 2.5rem; }

/* Call to action band */
.cta-band { padding-block: var(--section); background: var(--bg-blush); }
.cta-band__inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
.cta-band .section-title { max-width: 40rem; }
.cta-band__actions { margin-top: 1rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 2rem; }

/* Gallery page */
.gallery-page { padding-bottom: var(--section); }
.photo-grid { columns: 3 17rem; column-gap: 1rem; }
.photo-grid li { break-inside: avoid; margin-bottom: 1rem; }
.photo-grid img { width: 100%; border-radius: var(--r-media); }
.gallery-page__more { margin-top: 2.5rem; display: flex; justify-content: center; }

/* Blog fallback + 404 */
.post-list { display: grid; gap: 2rem; max-width: 42rem; }
.post-list__title { font-size: clamp(1.6rem, 2.6vw, 2rem); line-height: 1.2; }
.post-list__title a:hover { color: var(--accent); }
.post-list__meta { margin-block: .25rem .5rem; font-size: .875rem; color: var(--ink-soft); }
.not-found__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* WordPress core classes */
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.alignleft { float: left; margin: .25rem 1.5rem 1rem 0; }
.alignright { float: right; margin: .25rem 0 1rem 1.5rem; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption-text, .wp-element-caption { margin-top: .5rem; font-size: .875rem; color: var(--ink-soft); }
.sticky, .bypostauthor, .gallery-caption { display: revert; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: var(--z-float);
  display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-lg);
  transition: transform var(--t-normal) var(--ease-spring);
}
.wa-float .icon { width: 1.625rem; height: 1.625rem; }
.wa-float:hover { transform: translateY(-2px) scale(1.04); }
/* Hidden while the hero (which has its own CTAs) is on screen. */
.wa-float { transition: transform var(--t-normal) var(--ease-spring), opacity var(--t-normal) var(--ease); }
.js .wa-float.is-hidden { opacity: 0; transform: translateY(1rem); pointer-events: none; }
.wa-float:active { transform: scale(.96); }

/* ---------- Reveal on scroll ---------- */
.js .reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity var(--t-macro) var(--ease), transform var(--t-macro) var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* Hero entrance */
@media (prefers-reduced-motion: no-preference) {
  .hero__img { animation: hero-in 2.4s var(--ease) both; }
  .hero__card { animation: rise 1.2s var(--ease) .25s both; }
}
@keyframes hero-in { from { transform: scale(1.08); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: grid; place-items: center; }
  .nav__pill { height: 3.75rem; padding-left: 1.25rem; }

  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .bento__cell--image { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; }
  .bento__cell--sage, .bento__cell--plum, .bento__cell--blush { grid-column: span 1; min-height: 14rem; }
  .bento__cell--blush { grid-column: span 2; min-height: 0; }
  .bento__cell--image-wide { grid-column: span 2; aspect-ratio: 16 / 9; }

  .contact__grid { grid-template-columns: 1fr; }
  .svc-page__grid { grid-template-columns: 1fr; }
  .svc-page__media { order: -1; }
  .svc-page__media img { aspect-ratio: 16 / 10; }
  .faq__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
}

@media (max-width: 767px) {
  body { font-size: 1rem; }
  .brand__word { font-size: 1.5rem; }
  .svc__media { aspect-ratio: 16 / 10; }
  .services__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .svc-tile__title { padding: .75rem .5rem; font-size: 1.125rem; }
  /* svh = viewport with browser toolbars showing, so the card never slides under them */
  .hero { min-height: 100svh; }
  .hero__inner { padding: 6rem .75rem calc(max(3rem, 10svh) + env(safe-area-inset-bottom)); }
  .hero__card { padding: 1.5rem; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: space-between; }
  .hero__actions .btn--ghost { justify-content: center; }

  .bento { grid-template-columns: 1fr; }
  .bento__cell--image, .bento__cell--sage, .bento__cell--plum, .bento__cell--blush, .bento__cell--image-wide { grid-column: auto; }
  .bento__cell--sage, .bento__cell--plum, .bento__cell--blush { min-height: 0; }

  .booking { max-width: none; }
  .booking__submit { justify-self: stretch; justify-content: space-between; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand { grid-column: auto; }
}

/* ---------- Preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee { overflow-x: auto; }
  .marquee__track { animation: none; }
  .marquee__group[aria-hidden="true"] { display: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav__pill, .hero__card, .menu { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav__pill { background: var(--surface); }
  .hero__card { background: #2B2130; }
  .menu { background: var(--bg); }
}
