/* ================================================================
   TÜLİN PILATES — EDITORIAL WELLNESS DESIGN SYSTEM
   Quiet luxury, warm modernism and intentional motion
   ================================================================ */

:root {
  --ink: #1c1b18;
  --ink-soft: #4d4a43;
  --paper: #f5f1e9;
  --paper-bright: #fcfaf6;
  --sand: #e6ddcf;
  --line: rgba(28, 27, 24, 0.16);
  --coral: #df6042;
  --coral-deep: #b8412a;
  --lime: #dce979;
  --sage: #a8b39b;
  --white: #fffdf8;

  /* Compatibility aliases used by the existing interactions. */
  --primary: var(--coral);
  --primary-dark: var(--coral-deep);
  --text-primary: var(--ink);
  --text-secondary: var(--ink-soft);
  --background: var(--paper);
  --surface: var(--paper-bright);
  --accent-gold: var(--lime);
  --gradient-sunset: linear-gradient(90deg, var(--coral), var(--lime));

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --container: 1380px;
  --gutter: clamp(20px, 4vw, 72px);
  --section-space: clamp(88px, 12vw, 176px);
  --radius-sm: 14px;
  --radius-md: 26px;
  --radius-lg: 46px;
  --shadow-soft: 0 24px 70px rgba(52, 36, 25, 0.12);
  --shadow-lift: 0 32px 80px rgba(28, 27, 24, 0.2);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  background: var(--paper);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 5%, rgba(220, 233, 121, 0.16), transparent 23rem),
    radial-gradient(circle at 92% 20%, rgba(223, 96, 66, 0.11), transparent 30rem),
    var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 99999;
  pointer-events: none;
  opacity: 0.04;
  background-image:
    repeating-radial-gradient(circle at 18% 32%, transparent 0, rgba(28, 27, 24, 0.6) 0.55px, transparent 0.8px, transparent 4px);
  background-size: 7px 7px;
  mix-blend-mode: multiply;
}

::selection {
  color: var(--ink);
  background: var(--lime);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

button {
  color: inherit;
}

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

h1,
h2,
h3,
h4,
p,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

p:last-child {
  margin-bottom: 0;
}

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

.section {
  position: relative;
  padding-block: var(--section-space);
}

.text-center {
  text-align: center;
}

.italic {
  font-style: italic;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 100000;
  padding: 12px 18px;
  color: var(--paper-bright);
  background: var(--ink);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

/* Typography accents */
.gradient-text {
  color: var(--coral);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.section-header {
  max-width: 960px;
  margin: 0 auto clamp(42px, 6vw, 82px);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--coral-deep);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.2;
  text-transform: uppercase;
}

.section-tag::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.section-title,
.studio-content h2 {
  margin-bottom: 0;
  font-size: clamp(3.2rem, 7vw, 7rem);
}

.about-text h2 {
  margin-bottom: 0;
  font-size: clamp(3.2rem, 5.8vw, 6.15rem);
}

.section-marker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.section-marker--center {
  justify-content: center;
}

.section-marker__line {
  width: 56px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
  padding: 15px 25px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  isolation: isolate;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
  transition:
    transform 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out),
    background-color 0.3s ease,
    color 0.3s ease;
}

.btn > * {
  position: relative;
  z-index: 2;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--coral);
  border-radius: inherit;
  transform: translateY(105%);
  transition: transform 0.45s var(--ease-out);
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(28, 27, 24, 0.18);
}

.btn:hover::before {
  transform: translateY(0);
}

.btn:active {
  transform: translateY(-1px) scale(0.98);
}

.btn-black {
  color: var(--paper-bright);
  background: var(--ink);
}

.btn-black:hover {
  color: var(--white);
}

.btn-white {
  color: var(--ink);
  background: rgba(255, 253, 248, 0.62);
  border-color: var(--line);
  backdrop-filter: blur(12px);
}

.btn-white:hover {
  color: var(--white);
  border-color: var(--coral);
}

.btn-icon {
  width: 17px;
  height: 17px;
  fill: currentColor;
  transition: transform 0.35s var(--ease-out);
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

.btn-ripple {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  transform: scale(0);
  animation: ripple 0.65s linear;
}

@keyframes ripple {
  to { transform: scale(3.5); opacity: 0; }
}

/* Announcement ticker */
.announcement-ticker {
  position: relative;
  z-index: 1002;
  overflow: hidden;
  height: 34px;
  color: var(--paper);
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ticker-content {
  display: flex;
  width: max-content;
  height: 100%;
  align-items: center;
  gap: 26px;
  padding-inline: 26px;
  white-space: nowrap;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation: ticker-scroll 36s linear infinite;
}

.ticker-content:hover {
  animation-play-state: paused;
}

.ticker-dot {
  color: var(--lime);
  font-size: 1rem;
}

@keyframes ticker-scroll {
  to { transform: translateX(-50%); }
}

/* Header & navigation */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 84px;
  background: rgba(245, 241, 233, 0.8);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px) saturate(130%);
  transition:
    height 0.35s var(--ease-out),
    background-color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

header.scrolled {
  height: 72px;
  background: rgba(252, 250, 246, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 40px rgba(28, 27, 24, 0.07);
}

header .container {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.logo-svg {
  width: 38px;
  height: 38px;
  color: var(--coral);
  transition: transform 0.55s var(--ease-out);
}

.logo:hover .logo-svg {
  transform: rotate(-9deg) scale(1.05);
}

.logo span {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.logo em {
  color: var(--coral);
  font-weight: 400;
}

nav ul {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 38px);
  margin: 0;
  padding: 0;
  list-style: none;
}

nav a {
  position: relative;
  display: inline-block;
  padding-block: 10px;
  color: var(--ink-soft);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}

nav a:hover {
  color: var(--ink);
}

nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta .btn {
  min-height: 46px;
  padding: 12px 20px;
}

.burger-menu {
  display: none;
  width: 48px;
  height: 48px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  background: transparent;
}

.burger-line {
  display: block;
  width: 100%;
  height: 1px;
  margin: 6px 0;
  background: currentColor;
  transition: transform 0.35s var(--ease-out), opacity 0.25s ease;
}

.burger-menu.active .burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger-menu.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 990;
  display: grid;
  visibility: hidden;
  place-items: center;
  color: var(--paper-bright);
  background:
    radial-gradient(circle at 80% 15%, rgba(223, 96, 66, 0.35), transparent 30%),
    var(--ink);
  opacity: 0;
  clip-path: circle(0 at calc(100% - 44px) 78px);
  transition: opacity 0.45s ease, visibility 0.45s ease, clip-path 0.7s var(--ease-out);
}

.mobile-nav.active {
  visibility: visible;
  opacity: 1;
  clip-path: circle(145% at calc(100% - 44px) 78px);
}

.mobile-nav ul {
  margin: 0;
  padding: 0;
  text-align: center;
  list-style: none;
}

.mobile-nav li {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.45s ease, transform 0.55s var(--ease-out);
  transition-delay: calc(var(--i) * 0.055s);
}

.mobile-nav.active li {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav a {
  display: block;
  padding: 8px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 10vw, 4.8rem);
  line-height: 1;
  transition: color 0.25s ease, transform 0.3s var(--ease-out);
}

.mobile-nav a:hover {
  color: var(--lime);
  transform: translateX(8px);
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  min-height: calc(100svh - 118px);
  align-items: center;
  overflow: hidden;
  padding-block: clamp(58px, 7vw, 100px) clamp(76px, 9vw, 130px);
}

.hero::before {
  content: "";
  position: absolute;
  top: 8%;
  left: -8%;
  width: clamp(300px, 38vw, 620px);
  aspect-ratio: 1;
  border: 1px solid rgba(28, 27, 24, 0.11);
  border-radius: 50%;
  box-shadow:
    0 0 0 42px rgba(28, 27, 24, 0.025),
    0 0 0 96px rgba(28, 27, 24, 0.02);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 3vw, 54px);
}

.hero-content {
  position: relative;
  z-index: 2;
  margin-right: clamp(-110px, -7vw, -42px);
  padding-top: 34px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  padding: 9px 13px;
  color: var(--ink-soft);
  background: rgba(252, 250, 246, 0.68);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.3;
  text-transform: uppercase;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--coral);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(223, 96, 66, 0.42);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(223, 96, 66, 0); }
  100% { box-shadow: 0 0 0 0 rgba(223, 96, 66, 0); }
}

.hero-title {
  max-width: 820px;
  margin-bottom: 30px;
  font-size: clamp(4.4rem, 9.1vw, 9.2rem);
  line-height: 0.78;
  letter-spacing: -0.065em;
}

.hero-title .gradient-text {
  display: block;
  margin-top: 0.13em;
  color: var(--coral);
  font-style: italic;
  font-weight: 400;
  transform: translateX(clamp(6px, 1.5vw, 24px));
}

.shimmer-text {
  background: none;
  animation: none;
}

.hero-description {
  max-width: 600px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: clamp(0.95rem, 1.25vw, 1.08rem);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-image-wrapper {
  position: relative;
  z-index: 1;
  height: clamp(560px, 70vh, 820px);
  overflow: visible;
  border-radius: 48% 48% 34px 34px / 34% 34% 34px 34px;
  box-shadow: var(--shadow-lift);
  transform: rotate(1.2deg);
}

.hero-image-wrapper::before {
  content: "";
  position: absolute;
  inset: -18px 18px 18px -18px;
  z-index: -1;
  border: 1px solid var(--coral);
  border-radius: inherit;
  opacity: 0.65;
  transition: transform 0.65s var(--ease-out);
}

.hero-image-wrapper::after {
  content: "";
  position: absolute;
  right: -32px;
  bottom: 54px;
  width: 110px;
  aspect-ratio: 1;
  background: var(--lime);
  border-radius: 50%;
  mix-blend-mode: multiply;
  animation: orb-float 5s ease-in-out infinite alternate;
}

.hero-image-wrapper picture {
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 57% center;
  filter: saturate(0.9) contrast(1.03);
  transition: transform 1.1s var(--ease-out), filter 0.7s ease;
}

.hero-image-wrapper:hover::before {
  transform: translate(8px, -8px);
}

.hero-image-wrapper:hover .hero-image {
  transform: scale(1.035);
  filter: saturate(1) contrast(1.03);
}

@keyframes orb-float {
  to { transform: translateY(-20px) rotate(12deg); }
}

/* USP strip */
.hero + .section {
  padding-top: 0;
}

.usp-grid {
  display: grid;
  align-items: stretch;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.usp-card {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  padding: 32px 30px 34px;
  background:
    radial-gradient(circle at 105% 105%, rgba(223, 96, 66, 0.16), transparent 42%),
    var(--paper-bright);
  border: 1px solid rgba(28, 27, 24, 0.11);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 52px rgba(52, 36, 25, 0.07);
  transition:
    filter 0.4s ease,
    box-shadow 0.5s var(--ease-out),
    transform 0.5s var(--ease-out);
}

.usp-card:nth-child(2) {
  color: var(--paper-bright);
  background:
    radial-gradient(circle at 105% 105%, rgba(220, 233, 121, 0.18), transparent 44%),
    var(--ink);
  border-color: var(--ink);
}

.usp-card:nth-child(3) {
  background:
    radial-gradient(circle at 105% 105%, rgba(255, 253, 248, 0.42), transparent 43%),
    var(--lime);
  border-color: rgba(28, 27, 24, 0.16);
}

.usp-card:nth-child(4) {
  color: var(--paper-bright);
  background:
    radial-gradient(circle at 105% 105%, rgba(255, 253, 248, 0.18), transparent 42%),
    var(--coral);
  border-color: var(--coral);
}

.usp-card::after {
  content: "";
  position: absolute;
  right: -58px;
  bottom: -64px;
  width: 170px;
  aspect-ratio: 1;
  pointer-events: none;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.12;
  box-shadow: 0 0 0 25px rgba(255, 255, 255, 0.04);
}

.usp-card::before,
.service-card::before,
.testimonial-card::before,
.equipment-item::before,
.quiz-option-card::before,
.map-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(320px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(220, 233, 121, 0.18), transparent 62%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.usp-card:hover::before,
.service-card:hover::before,
.testimonial-card:hover::before,
.equipment-item:hover::before,
.quiz-option-card:hover::before,
.map-card:hover::before {
  opacity: 1;
}

.usp-card > * {
  position: relative;
  z-index: 1;
}

.usp-card:hover {
  z-index: 2;
  box-shadow: 0 28px 72px rgba(28, 27, 24, 0.2);
  filter: saturate(1.06);
  transform: translateY(-12px) rotate(-0.45deg);
}

.usp-number {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 52px;
  place-items: center;
  color: var(--coral-deep);
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.usp-card:nth-child(2) .usp-number {
  color: var(--lime);
}

.usp-card:nth-child(3) .usp-number {
  color: var(--ink);
}

.usp-card:nth-child(4) .usp-number {
  color: var(--paper-bright);
}

.usp-title {
  margin-bottom: 16px;
  font-size: clamp(1.85rem, 2.35vw, 2.45rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.usp-desc {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.79rem;
  line-height: 1.75;
  transition: color 0.35s ease;
}

.usp-card:nth-child(2) .usp-desc {
  color: rgba(255, 253, 248, 0.72);
}

.usp-card:nth-child(3) .usp-desc {
  color: rgba(28, 27, 24, 0.7);
}

.usp-card:nth-child(4) .usp-desc {
  color: rgba(28, 27, 24, 0.78);
}

.usp-link {
  color: var(--coral-deep);
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}

.usp-card:nth-child(2) .usp-link {
  color: var(--lime);
}

.usp-card:nth-child(4) .usp-link {
  color: var(--ink);
}

/* About */
#about {
  overflow: hidden;
  color: var(--paper-bright);
  background: var(--ink);
}

#about::before {
  content: "";
  position: absolute;
  top: -15%;
  right: -8%;
  width: 42vw;
  aspect-ratio: 1;
  border: 1px solid rgba(220, 233, 121, 0.23);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(220, 233, 121, 0.025), 0 0 0 140px rgba(220, 233, 121, 0.018);
}

.about-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(54px, 9vw, 138px);
}

.about-image-wrapper {
  position: relative;
  height: clamp(600px, 78vh, 850px);
}

.about-image-wrapper::before {
  content: "";
  position: absolute;
  top: 8%;
  right: -22px;
  bottom: -22px;
  left: 22px;
  border: 1px solid var(--lime);
  border-radius: 999px 999px 28px 28px;
  opacity: 0.65;
}

.about-image-wrapper picture {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: 999px 999px 28px 28px;
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.35) contrast(1.05) sepia(0.08);
  transition: transform 1s var(--ease-out), filter 0.6s ease;
}

.about-image-wrapper:hover .about-image {
  transform: scale(1.035);
  filter: grayscale(0) contrast(1.03);
}

#about .section-marker {
  color: rgba(255, 253, 248, 0.48);
}

#about .section-tag {
  color: var(--lime);
}

.about-text h2 {
  max-width: 760px;
  margin-bottom: 38px;
}

#about .gradient-text {
  color: var(--lime);
  font-style: italic;
}

.about-bio {
  max-width: 720px;
  margin-bottom: 19px;
  color: rgba(255, 253, 248, 0.68);
  font-size: 0.94rem;
  line-height: 1.9;
}

.about-bio strong {
  color: var(--paper-bright);
}

.about-quote {
  position: relative;
  margin: 36px 0;
  padding: 28px 30px 26px 38px;
  color: var(--paper-bright);
  border-left: 2px solid var(--coral);
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-style: italic;
  line-height: 1.35;
}

.about-quote .italic {
  display: block;
  margin-top: 13px;
  color: var(--lime);
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-badges {
  display: grid;
  margin-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  grid-template-columns: repeat(2, 1fr);
}

.badge-item {
  display: flex;
  flex-direction: column;
  padding: 27px 24px 27px 0;
}

.badge-item + .badge-item {
  padding-left: 32px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.badge-num {
  color: var(--coral);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3rem);
  font-style: italic;
  line-height: 1;
}

.badge-label {
  margin-top: 8px;
  color: rgba(255, 253, 248, 0.54);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

/* Testimonials */
#testimonials {
  overflow: hidden;
}

#testimonials::before {
  content: "“";
  position: absolute;
  top: 30px;
  left: -20px;
  color: rgba(223, 96, 66, 0.07);
  font-family: var(--font-display);
  font-size: 36rem;
  line-height: 1;
}

.testimonial-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: -28px auto 54px;
}

.filter-btn {
  position: relative;
  overflow: hidden;
  padding: 11px 17px;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s var(--ease-out);
}

.filter-btn:hover {
  transform: translateY(-2px);
}

.filter-btn.active {
  color: var(--paper-bright);
  background: var(--ink);
  border-color: var(--ink);
}

.testimonials-grid {
  display: grid;
  align-items: start;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.testimonial-card {
  position: relative;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(26px, 3vw, 40px);
  background: rgba(252, 250, 246, 0.66);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), background-color 0.4s ease;
}

.testimonial-card:nth-child(3n + 2) {
  margin-top: 38px;
}

.testimonial-card:nth-child(4) {
  color: var(--paper-bright);
  background: var(--ink);
}

.testimonial-card > * {
  position: relative;
  z-index: 1;
}

.testimonial-card:hover {
  z-index: 2;
  background: var(--paper-bright);
  box-shadow: var(--shadow-soft);
  transform: translateY(-9px) rotate(-0.6deg);
}

.testimonial-card:nth-child(4):hover {
  color: var(--paper-bright);
  background: #292823;
}

.testimonial-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 34px;
}

.testimonial-badge {
  padding: 7px 10px;
  color: var(--coral-deep);
  background: rgba(223, 96, 66, 0.09);
  border-radius: 999px;
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.testimonial-card:nth-child(4) .testimonial-badge {
  color: var(--lime);
  background: rgba(220, 233, 121, 0.1);
}

.testimonial-stars {
  color: var(--coral);
  font-size: 0.75rem;
  letter-spacing: 0.13em;
  white-space: nowrap;
}

.testimonial-text {
  flex: 1;
  margin-bottom: 30px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.7vw, 1.6rem);
  font-style: italic;
  line-height: 1.35;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  padding-top: 20px;
  border-top: 1px solid currentColor;
}

.author-name {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.author-info {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.64rem;
}

.testimonial-card:nth-child(4) .author-info {
  color: rgba(255, 253, 248, 0.56);
}

/* Services */
#services {
  overflow: hidden;
  background: var(--coral);
}

#services::before,
#services::after {
  content: "";
  position: absolute;
  width: 280px;
  aspect-ratio: 1;
  border: 1px solid rgba(28, 27, 24, 0.24);
  border-radius: 50%;
}

#services::before {
  top: -110px;
  right: -90px;
}

#services::after {
  bottom: -160px;
  left: -100px;
  width: 420px;
}

#services .section-tag,
#services .section-marker {
  color: var(--ink);
}

#services .section-title {
  color: var(--paper-bright);
}

.services-grid {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: 1120px;
  margin: 0 auto;
  align-items: stretch;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  position: relative;
  display: flex;
  min-height: 610px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(32px, 4vw, 58px);
  background: var(--paper-bright);
  border-radius: var(--radius-lg);
  box-shadow: 0 26px 80px rgba(104, 36, 23, 0.17);
  transition: transform 0.55s var(--ease-out), box-shadow 0.55s var(--ease-out);
}

.service-card:nth-child(2) {
  color: var(--paper-bright);
  background: var(--ink);
  transform: translateY(38px);
}

.service-card::after {
  position: absolute;
  top: 25px;
  right: 30px;
  color: rgba(28, 27, 24, 0.1);
  font-family: var(--font-display);
  font-size: 7rem;
  font-style: italic;
  line-height: 1;
}

.service-card:nth-child(1)::after { content: "01"; }
.service-card:nth-child(2)::after { content: "02"; color: rgba(255, 255, 255, 0.1); }

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card:hover {
  box-shadow: 0 34px 90px rgba(83, 28, 18, 0.28);
  transform: translateY(-8px);
}

.service-card:nth-child(2):hover {
  transform: translateY(28px);
}

.service-icon-wrapper {
  display: grid;
  width: 64px;
  height: 64px;
  margin-bottom: 58px;
  place-items: center;
  color: var(--coral);
  border: 1px solid currentColor;
  border-radius: 50%;
}

.service-card:nth-child(2) .service-icon-wrapper {
  color: var(--lime);
}

.service-icon {
  width: 25px;
  height: 25px;
}

.service-title {
  max-width: 430px;
  margin-bottom: 22px;
  font-size: clamp(2.5rem, 4vw, 4rem);
}

.service-description {
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.85;
}

.service-card:nth-child(2) .service-description {
  color: rgba(255, 253, 248, 0.66);
}

.service-feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-feature-list li {
  position: relative;
  padding: 11px 0 11px 24px;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.service-card:nth-child(2) .service-feature-list li {
  border-color: rgba(255, 255, 255, 0.14);
}

.service-feature-list li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 2px;
  width: 7px;
  height: 7px;
  background: var(--coral);
  border-radius: 50%;
  transform: translateY(-50%);
}

.service-card:nth-child(2) .service-feature-list li::before {
  background: var(--lime);
}

.service-cta-wrapper {
  margin-top: 46px;
}

.service-card:nth-child(2) .btn-black {
  color: var(--ink);
  background: var(--lime);
}

.pricing-anchor {
  position: relative;
  z-index: 1;
  max-width: max-content;
  margin: 88px auto 0;
  padding: 13px 20px;
  color: var(--paper-bright);
  background: var(--ink);
  border-radius: 999px;
}

.pricing-anchor-text {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* Gallery */
#gallery {
  background: var(--paper-bright);
}

.gallery-grid {
  display: grid;
  min-height: 860px;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

button.gallery-card {
  position: relative;
  display: grid;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  text-align: left;
  background: var(--paper);
  border: 0;
  border-radius: var(--radius-md);
  cursor: zoom-in;
  grid-template-rows: minmax(0, 1fr) auto;
  transition: transform 0.55s var(--ease-out), box-shadow 0.55s var(--ease-out);
}

button.gallery-card:first-child {
  grid-row: 1 / span 2;
}

button.gallery-card:hover {
  z-index: 2;
  box-shadow: var(--shadow-lift);
  transform: translateY(-8px);
}

.gallery-image-wrapper {
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.gallery-image-wrapper::after {
  content: "+";
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--ink);
  background: rgba(252, 250, 246, 0.82);
  border-radius: 50%;
  backdrop-filter: blur(12px);
  font-family: var(--font-display);
  font-size: 1.7rem;
  transition: color 0.3s ease, background-color 0.3s ease, transform 0.45s var(--ease-out);
}

button.gallery-card:hover .gallery-image-wrapper::after {
  color: var(--paper-bright);
  background: var(--coral);
  transform: rotate(90deg);
}

.gallery-image-wrapper picture {
  display: block;
  height: 100%;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out), filter 0.6s ease;
}

button.gallery-card:hover .gallery-image {
  transform: scale(1.045);
}

.gallery-info {
  padding: 24px 25px 26px;
  background: var(--paper);
}

.gallery-item-title {
  margin-bottom: 8px;
  font-size: clamp(1.65rem, 2.4vw, 2.4rem);
}

.gallery-item-desc {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.74rem;
  line-height: 1.7;
}

/* Studio */
#studio {
  overflow: hidden;
  color: var(--paper-bright);
  background: #26241f;
}

#studio::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 82%, rgba(220, 233, 121, 0.13), transparent 30rem),
    linear-gradient(110deg, transparent 0 64%, rgba(255, 255, 255, 0.025) 64% 64.15%, transparent 64.15%);
}

.studio-grid {
  position: relative;
  display: grid;
  align-items: stretch;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(54px, 7vw, 110px);
}

#studio .section-marker {
  color: rgba(255, 253, 248, 0.45);
}

#studio .section-tag {
  color: var(--lime);
}

.studio-content h2 {
  margin-bottom: 34px;
}

#studio .gradient-text {
  color: var(--coral);
  font-style: italic;
}

.studio-desc {
  max-width: 690px;
  margin-bottom: 44px;
  color: rgba(255, 253, 248, 0.64);
  font-size: 0.92rem;
  line-height: 1.9;
}

.equipment-list {
  display: grid;
  margin-bottom: 36px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.equipment-item {
  position: relative;
  overflow: hidden;
  padding: 25px 22px 25px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.equipment-item:nth-child(even) {
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.equipment-item > * {
  position: relative;
  z-index: 1;
}

.equipment-name {
  margin-bottom: 9px;
  color: var(--paper-bright);
  font-size: 1.55rem;
}

.equipment-desc {
  margin-bottom: 0;
  color: rgba(255, 253, 248, 0.5);
  font-size: 0.7rem;
  line-height: 1.65;
}

.residence-badge {
  display: grid;
  margin: 38px 0;
  align-items: center;
  padding: 13px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-sm);
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 20px;
}

.residence-badge-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.residence-badge-title {
  margin-bottom: 7px;
  color: var(--lime);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.residence-badge-desc {
  margin-bottom: 0;
  color: rgba(255, 253, 248, 0.51);
  font-size: 0.66rem;
  line-height: 1.55;
}

#studio .btn-black {
  color: var(--ink);
  background: var(--lime);
}

.studio-image-wrapper {
  position: sticky;
  top: 112px;
  height: min(76vh, 820px);
  overflow: hidden;
  align-self: start;
  border-radius: 999px 999px 30px 30px;
  box-shadow: var(--shadow-lift);
}

.studio-image-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(28, 27, 24, 0.42), transparent 42%);
}

.studio-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}

.studio-image-wrapper:hover .studio-image {
  transform: scale(1.035);
}

/* FAQ */
#faq {
  background: var(--sand);
}

#faq .container {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(50px, 8vw, 130px);
}

#faq .section-header {
  position: sticky;
  top: 124px;
  margin: 0;
  text-align: left;
}

#faq .section-marker--center {
  justify-content: flex-start;
}

#faq .section-title {
  font-size: clamp(3.8rem, 6.5vw, 6.8rem);
}

.faq-wrapper {
  counter-reset: faq;
  border-top: 1px solid var(--ink);
}

.faq-item {
  counter-increment: faq;
  border-bottom: 1px solid rgba(28, 27, 24, 0.28);
  transition: background-color 0.3s ease;
}

.faq-item:hover,
.faq-item.active {
  background: rgba(252, 250, 246, 0.35);
}

.faq-question {
  position: relative;
  display: grid;
  width: 100%;
  align-items: center;
  padding: 25px 4px;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  gap: 16px;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 500;
  line-height: 1.2;
}

.faq-question::before {
  content: counter(faq, decimal-leading-zero);
  color: var(--coral-deep);
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.faq-icon {
  position: relative;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(28, 27, 24, 0.34);
  border-radius: 50%;
  transition: color 0.3s ease, background-color 0.3s ease, transform 0.45s var(--ease-out);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease-out);
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.active .faq-icon {
  color: var(--paper-bright);
  background: var(--coral);
  border-color: var(--coral);
  transform: rotate(0deg);
}

.faq-item.active .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.55s var(--ease-out);
}

.faq-answer p {
  max-width: 720px;
  margin: 0;
  padding: 0 58px 30px;
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.85;
}

/* Contact */
#contact {
  overflow: hidden;
  background: var(--lime);
}

#contact::after {
  content: "";
  position: absolute;
  top: -180px;
  right: -140px;
  width: 520px;
  aspect-ratio: 1;
  border: 1px solid rgba(28, 27, 24, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(28, 27, 24, 0.025), 0 0 0 140px rgba(28, 27, 24, 0.02);
}

#contact .section-header {
  position: relative;
  z-index: 1;
  max-width: none;
  margin: 0 0 60px;
}

#contact .section-tag {
  color: var(--ink);
}

#contact .section-title {
  font-size: clamp(4.6rem, 10.5vw, 10.5rem);
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: stretch;
  grid-template-columns: minmax(0, 0.7fr) minmax(420px, 1.3fr);
  gap: 18px;
}

.contact-info {
  display: flex;
  min-height: 560px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(30px, 4vw, 52px);
  color: var(--paper-bright);
  background: var(--ink);
  border-radius: var(--radius-md);
}

.contact-details {
  display: grid;
  gap: 30px;
}

.contact-method-title {
  margin-bottom: 10px;
  color: rgba(255, 253, 248, 0.48);
  font-family: var(--font-body);
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-method-value {
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 2.35rem);
  line-height: 1.2;
}

.contact-address {
  color: rgba(255, 253, 248, 0.78);
  font-size: clamp(1.15rem, 1.8vw, 1.65rem);
  line-height: 1.38;
}

.contact-method-value a {
  transition: color 0.25s ease;
}

.contact-method-value a:hover {
  color: var(--lime);
}

.contact-social-title {
  margin-top: 36px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-link {
  padding: 10px 15px;
  color: var(--paper-bright);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s var(--ease-out);
}

.social-link:hover {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
  transform: translateY(-3px);
}

.map-wrapper {
  min-height: 560px;
  overflow: hidden;
  background: var(--sand);
  border: 10px solid var(--paper-bright);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.contact-map-iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 540px;
  border: 0;
  filter: grayscale(1) contrast(1.05) sepia(0.08);
  transition: filter 0.5s ease;
}

.map-wrapper:hover .contact-map-iframe {
  filter: grayscale(0.35) contrast(1.02);
}

/* Footer */
footer {
  padding-block: 34px;
  color: rgba(255, 253, 248, 0.56);
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-copy,
.footer-tagline {
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-tagline {
  color: var(--lime);
}

/* Quiz modal */
.quiz-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  visibility: hidden;
  padding: 20px;
  place-items: center;
  background: rgba(28, 27, 24, 0.78);
  backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.quiz-modal-backdrop.active {
  visibility: visible;
  opacity: 1;
}

.quiz-modal-box {
  position: relative;
  width: min(100%, 720px);
  max-height: calc(100svh - 40px);
  overflow-y: auto;
  padding: clamp(30px, 5vw, 60px);
  background: var(--paper-bright);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.34);
  transform: translateY(28px) scale(0.96);
  transition: transform 0.5s var(--ease-out);
}

.quiz-modal-backdrop.active .quiz-modal-box {
  transform: translateY(0) scale(1);
}

.quiz-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1;
  transition: color 0.25s ease, background-color 0.25s ease, transform 0.35s var(--ease-out);
}

.quiz-close-btn:hover {
  color: var(--paper-bright);
  background: var(--coral);
  transform: rotate(90deg);
}

.quiz-progress-bar-wrap {
  width: calc(100% - 56px);
  height: 3px;
  margin-bottom: 48px;
  overflow: hidden;
  background: var(--sand);
  border-radius: 999px;
}

.quiz-progress-fill {
  width: 33%;
  height: 100%;
  background: var(--coral);
  border-radius: inherit;
  transition: width 0.5s var(--ease-out);
}

.quiz-step-title {
  margin-bottom: 12px;
  font-size: clamp(2.35rem, 5vw, 3.7rem);
}

.quiz-step-desc {
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.quiz-options-grid {
  display: grid;
  gap: 10px;
}

.quiz-option-card {
  position: relative;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  padding: 20px 22px;
  text-align: left;
  background: var(--paper);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.35s var(--ease-out);
}

.quiz-option-card > * {
  position: relative;
  z-index: 1;
}

.quiz-option-card:hover {
  background: var(--white);
  border-color: var(--coral);
  transform: translateX(6px);
}

.quiz-option-title {
  margin-bottom: 5px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}

.quiz-option-subtitle {
  color: var(--ink-soft);
  font-size: 0.7rem;
  line-height: 1.5;
}

.quiz-result-box {
  padding: clamp(24px, 4vw, 38px);
  background: var(--sand);
  border-radius: var(--radius-md);
}

.quiz-result-badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 11px;
  color: var(--paper-bright);
  background: var(--coral);
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quiz-result-title {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.quiz-result-desc {
  margin-bottom: 26px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.7;
}

/* Gallery lightbox */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  visibility: hidden;
  place-items: center;
  color: var(--paper-bright);
  background: rgba(18, 17, 15, 0.95);
  backdrop-filter: blur(18px);
  opacity: 0;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.lightbox-modal.active {
  visibility: visible;
  opacity: 1;
}

.lightbox-content {
  width: min(88vw, 1080px);
  max-height: 86svh;
}

.lightbox-figure {
  display: grid;
  max-height: inherit;
  margin: 0;
  grid-template-rows: minmax(0, 1fr) auto;
}

.lightbox-img {
  width: 100%;
  max-height: 68svh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox-caption {
  max-width: 720px;
  padding-top: 20px;
}

.lightbox-title {
  margin-bottom: 7px;
  color: var(--lime);
  font-size: 2rem;
}

.lightbox-desc {
  margin-bottom: 0;
  color: rgba(255, 253, 248, 0.58);
  font-size: 0.76rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 52px;
  height: 52px;
  padding: 0;
  place-items: center;
  color: var(--paper-bright);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  cursor: pointer;
  transition: color 0.3s ease, background-color 0.3s ease, transform 0.35s var(--ease-out);
}

.lightbox-close {
  top: 26px;
  right: 26px;
  font-family: var(--font-display);
  font-size: 2rem;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev { left: 28px; }
.lightbox-next { right: 28px; }

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
}

.lightbox-close:hover { transform: rotate(90deg); }
.lightbox-prev:hover { transform: translate(-4px, -50%); }
.lightbox-next:hover { transform: translate(4px, -50%); }

/* Floating actions */
.whatsapp-pill {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 800;
  display: flex;
  visibility: hidden;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  color: var(--paper-bright);
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  box-shadow: 0 18px 50px rgba(28, 27, 24, 0.28);
  opacity: 0;
  transform: translateY(24px);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.45s var(--ease-out), background-color 0.3s ease;
}

.whatsapp-pill.visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.whatsapp-pill:hover {
  color: var(--ink);
  background: var(--lime);
  transform: translateY(-4px);
}

.whatsapp-pill-icon {
  width: 20px;
  height: 20px;
}

.back-to-top-btn {
  position: fixed;
  right: 30px;
  bottom: 94px;
  z-index: 780;
  display: grid;
  visibility: hidden;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  color: var(--ink);
  background: var(--paper-bright);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 14px 40px rgba(28, 27, 24, 0.14);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.35s var(--ease-out), background-color 0.3s ease;
}

.back-to-top-btn.visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  color: var(--paper-bright);
  background: var(--coral);
  transform: translateY(-4px);
}

.scroll-progress-bar {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--coral), var(--lime));
}

/* Reveal choreography */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.11s; }
.reveal-delay-2 { transition-delay: 0.22s; }
.reveal-delay-3 { transition-delay: 0.33s; }

.hero .reveal {
  opacity: 1;
  transform: none;
  animation: hero-enter 1.05s var(--ease-out) both;
}

.hero .reveal-delay-2 {
  animation-delay: 0.14s;
}

@keyframes hero-enter {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}

body.menu-open {
  overflow: hidden;
}

/* Responsive */
@media (max-width: 1180px) {
  nav ul { gap: 18px; }
  nav a { font-size: 0.59rem; }
  .hero-content { margin-right: -72px; }
  .hero-title { font-size: clamp(4.2rem, 9.2vw, 7.4rem); }
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  nav,
  .nav-cta { display: none; }
  .burger-menu { display: block; }

  .hero {
    min-height: auto;
    padding-top: 52px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-content {
    margin-right: 0;
    padding-top: 0;
  }

  .hero-title {
    max-width: 850px;
    font-size: clamp(4rem, 13.5vw, 7.6rem);
  }

  .hero-description { max-width: 680px; }
  .hero-image-wrapper { height: min(78vw, 720px); }

  .about-grid,
  .studio-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-image-wrapper {
    width: min(100%, 660px);
    height: min(105vw, 760px);
    margin-inline: auto;
  }

  .about-text { max-width: 780px; }

  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonial-card:nth-child(3n + 2) { margin-top: 0; }
  .testimonial-card:nth-child(even) { margin-top: 28px; }

  .studio-image-wrapper {
    position: relative;
    top: auto;
    width: min(100%, 680px);
    height: min(110vw, 760px);
    margin-inline: auto;
  }

  #faq .container {
    grid-template-columns: 1fr;
  }

  #faq .section-header {
    position: relative;
    top: auto;
    max-width: 720px;
  }

  .contact-grid { gap: 14px; }
  .contact-info { min-height: 520px; }
  .map-wrapper { min-height: 480px; }
  .contact-map-iframe { min-height: 460px; }
}

@media (max-width: 760px) {
  :root {
    --gutter: 20px;
    --section-space: 92px;
  }

  .announcement-ticker { height: 30px; }
  .ticker-content { font-size: 0.56rem; }
  header { height: 72px; }
  header.scrolled { height: 66px; }
  .logo-svg { width: 32px; height: 32px; }
  .logo span { font-size: 1.45rem; }

  .hero {
    min-height: auto;
    padding-block: 44px 76px;
  }

  .hero::before { display: none; }
  .hero-tag { margin-bottom: 24px; font-size: 0.54rem; }
  .hero-title { font-size: clamp(3.8rem, 19vw, 6rem); }
  .hero-title .gradient-text { transform: translateX(18px); }
  .hero-description { font-size: 0.88rem; line-height: 1.78; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .btn { width: 100%; }

  .hero-image-wrapper {
    height: min(125vw, 650px);
    margin: 0 7px;
    border-radius: 46% 46% 24px 24px / 28% 28% 24px 24px;
  }

  .hero-image-wrapper::after {
    right: -12px;
    bottom: 30px;
    width: 72px;
  }

  .usp-grid { grid-template-columns: 1fr; }
  .usp-card {
    min-height: 290px;
    padding: 28px 26px 30px;
  }
  .usp-number { margin-bottom: 38px; }

  .section-title,
  .about-text h2,
  .studio-content h2 {
    font-size: clamp(3.2rem, 15vw, 5.1rem);
  }

  .about-grid { gap: 60px; }
  .about-image-wrapper { height: min(125vw, 680px); }
  .about-image-wrapper::before { right: -10px; bottom: -12px; left: 10px; }
  .about-quote { padding: 24px 18px 22px 24px; }
  .about-badges { grid-template-columns: 1fr; }
  .badge-item + .badge-item {
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 0;
  }

  .testimonial-filters {
    justify-content: flex-start;
    margin-top: -20px;
  }

  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card,
  .testimonial-card:nth-child(even) { margin-top: 0; }
  .testimonial-card { min-height: 290px; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 560px; border-radius: 30px; }
  .service-card:nth-child(2) { transform: none; }
  .service-card:nth-child(2):hover { transform: translateY(-8px); }
  .service-icon-wrapper { margin-bottom: 44px; }
  .pricing-anchor { margin-top: 40px; }

  .gallery-grid {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  button.gallery-card:first-child { grid-row: auto; }
  .gallery-image-wrapper { height: 340px; }

  .equipment-list { grid-template-columns: 1fr; }
  .equipment-item:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }
  .residence-badge { grid-template-columns: 62px minmax(0, 1fr); }
  .residence-badge-img { width: 62px; height: 62px; }

  .faq-question {
    padding-block: 22px;
    grid-template-columns: 28px minmax(0, 1fr) 36px;
    gap: 10px;
  }
  .faq-icon { width: 34px; height: 34px; }
  .faq-answer p { padding: 0 4px 26px 38px; }

  #contact .section-title { font-size: clamp(4rem, 19vw, 7rem); }
  .contact-info { min-height: 500px; padding: 30px 24px; }
  .map-wrapper { min-height: 390px; border-width: 6px; }
  .contact-map-iframe { min-height: 378px; }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .whatsapp-pill {
    right: 0;
    bottom: 0;
    left: 0;
    justify-content: center;
    width: 100%;
    padding: 16px;
    border-width: 1px 0 0;
    border-radius: 0;
    transform: translateY(100%);
  }
  .whatsapp-pill.visible { transform: translateY(0); }
  .back-to-top-btn { right: 16px; bottom: 76px; }

  .lightbox-prev,
  .lightbox-next {
    top: auto;
    bottom: 24px;
    width: 44px;
    height: 44px;
    transform: none;
  }
  .lightbox-prev { left: 24px; }
  .lightbox-next { right: 24px; }
  .lightbox-prev:hover { transform: translateX(-3px); }
  .lightbox-next:hover { transform: translateX(3px); }
  .lightbox-close { top: 18px; right: 18px; }
  .lightbox-caption { padding-right: 60px; }
}

@media (max-width: 430px) {
  .hero-title { font-size: 3.75rem; }
  .hero-image-wrapper { height: 520px; }
  .gallery-image-wrapper { height: 300px; }
  .testimonial-header { align-items: flex-start; flex-direction: column; gap: 12px; }
  .service-card { min-height: 520px; padding: 30px 24px; }
  .contact-method-value { overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .reveal,
  .hero .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .announcement-ticker,
  header,
  .mobile-nav,
  .whatsapp-pill,
  .back-to-top-btn,
  .quiz-modal-backdrop,
  .lightbox-modal {
    display: none !important;
  }
  body { background: #fff; }
  .section { padding-block: 42px; }
  .reveal { opacity: 1; transform: none; }
}
