:root {
  --navy: #0a1b3d;
  --navy-deep: #061224;
  --navy-light: #1a3358;
  --cream: #faf8f4;
  --cream-dark: #efe9df;
  --gold: #c6a76e;
  --gold-light: #dcc99a;
  --gold-muted: rgba(198, 167, 110, 0.18);
  --red: #a11d21;
  --red-light: #c0353a;
  --red-soft: rgba(161, 29, 33, 0.1);
  --text: #2a3340;
  --text-muted: #667080;
  --white: #ffffff;
  --border: rgba(30, 42, 59, 0.09);
  --shadow: 0 14px 44px rgba(18, 26, 38, 0.09);
  --shadow-lg: 0 28px 64px rgba(18, 26, 38, 0.14);
  --radius: 18px;
  --radius-sm: 12px;
  --font-serif: "Playfair Display", "Times New Roman", Georgia, serif;
  --font-sans: "Source Sans 3", system-ui, sans-serif;
  --header-h: 92px;
  --header-h-shrunk: 76px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text);
  background: var(--cream);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(198, 167, 110, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(166, 61, 86, 0.04), transparent);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Background decorative shapes */
.bg-shapes {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-shape {
  position: absolute;
  display: block;
}

.bg-shape--ring-1 {
  width: min(520px, 90vw);
  height: min(520px, 90vw);
  top: 8%;
  left: -180px;
  border: 1.5px solid rgba(198, 167, 110, 0.2);
  border-radius: 50%;
}

.bg-shape--ring-2 {
  width: min(360px, 70vw);
  height: min(360px, 70vw);
  top: 42%;
  right: -140px;
  border: 1.5px solid rgba(10, 27, 61, 0.07);
  border-radius: 50%;
}

.bg-shape--ring-3 {
  width: 200px;
  height: 200px;
  bottom: 18%;
  left: 8%;
  border: 1.5px solid rgba(161, 29, 33, 0.1);
  border-radius: 50%;
}

.bg-shape--blob-1 {
  width: 320px;
  height: 320px;
  top: 55%;
  left: -100px;
  border-radius: 60% 40% 55% 45% / 45% 55% 45% 55%;
  background: radial-gradient(circle at 30% 30%, rgba(198, 167, 110, 0.09), transparent 68%);
}

.bg-shape--blob-2 {
  width: 280px;
  height: 280px;
  top: 22%;
  right: 5%;
  border-radius: 45% 55% 40% 60% / 55% 45% 60% 40%;
  background: radial-gradient(circle at 70% 40%, rgba(10, 27, 61, 0.05), transparent 70%);
}

.bg-shape--square {
  width: 120px;
  height: 120px;
  top: 30%;
  right: 12%;
  border: 1.5px solid rgba(198, 167, 110, 0.15);
  border-radius: 24px;
  transform: rotate(18deg);
}

.bg-shape--dots {
  width: 140px;
  height: 140px;
  bottom: 28%;
  right: 18%;
  background-image: radial-gradient(rgba(10, 27, 61, 0.12) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 72%);
  opacity: 0.7;
}

.bg-shape--arc {
  width: 240px;
  height: 240px;
  bottom: 8%;
  right: -60px;
  border: 2px solid transparent;
  border-top-color: rgba(161, 29, 33, 0.12);
  border-right-color: rgba(161, 29, 33, 0.08);
  border-radius: 50%;
  transform: rotate(-35deg);
}

.bg-shape--line {
  width: 180px;
  height: 1px;
  top: 68%;
  left: 6%;
  background: linear-gradient(90deg, transparent, rgba(198, 167, 110, 0.35), transparent);
  transform: rotate(-12deg);
}

#icerik,
.site-footer {
  position: relative;
  z-index: 1;
}

.section::before {
  width: 160px;
  height: 160px;
  top: 2rem;
  right: -40px;
  border: 1px solid rgba(198, 167, 110, 0.1);
  border-radius: 50%;
}

.section-alt::before {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
  width: 100px;
  height: 100px;
  bottom: 3rem;
  left: -30px;
  border: 1px solid rgba(10, 27, 61, 0.06);
  border-radius: 20px;
  transform: rotate(25deg);
}

.section > .container,
.section-alt > .container {
  position: relative;
  z-index: 1;
}

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

.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: -100px;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  z-index: 1000;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
}

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.container {
  width: min(1140px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.container.narrow {
  width: min(760px, calc(100% - 2.5rem));
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  transition: height 0.3s, box-shadow 0.3s;
}

.site-header.is-shrunk {
  height: var(--header-h-shrunk);
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: min(1140px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--navy);
  flex-shrink: 0;
}

.logo-img {
  height: 84px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.site-header.is-shrunk .logo-img {
  height: 68px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text);
  transition: color 0.2s;
}

.site-nav a:hover {
  color: var(--red);
}

.site-nav a.is-active {
  color: var(--red);
}

.nav-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white) !important;
  padding: 0.6rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s !important;
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy) 100%) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(30, 42, 59, 0.2);
}

.nav-cta.is-active {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-light) 100%);
  color: var(--white) !important;
  box-shadow: 0 6px 20px rgba(166, 61, 86, 0.25);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--navy);
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  margin: 6px 0;
  border-radius: 2px;
  transition: transform 0.3s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-backdrop {
  display: none;
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 3rem) 0 3rem;
  background: linear-gradient(145deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-light) 100%);
  color: var(--white);
  text-align: center;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 120%, rgba(198, 167, 110, 0.12), transparent);
  pointer-events: none;
}

.page-hero .section-eyebrow {
  color: var(--gold);
}

.page-hero .section-title {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.page-hero .section-intro {
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
}

.page-content {
  padding-top: 3rem;
}

/* Home preview cards */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.preview-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s, box-shadow 0.3s;
}

.preview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.preview-visual {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.preview-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: radial-gradient(circle at 20% 80%, currentColor 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, currentColor 0%, transparent 45%);
}

.preview-visual::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0.08;
  top: -40px;
  right: -30px;
}

.preview-visual-svg {
  position: relative;
  z-index: 1;
  width: 55%;
  max-width: 130px;
  height: auto;
  color: var(--navy);
  transition: transform 0.3s;
}

.preview-card:hover .preview-visual-svg {
  transform: scale(1.06);
}

.preview-card--about .preview-visual {
  background: linear-gradient(135deg, #eef2f8 0%, #dce4f0 100%);
  color: var(--navy);
}

.preview-card--services .preview-visual {
  background: linear-gradient(135deg, #faf5eb 0%, #f0e6d4 100%);
  color: #8a6d3b;
}

.preview-card--exam .preview-visual {
  background: linear-gradient(135deg, #f8ecee 0%, #edd8dc 100%);
  color: var(--red);
}

.preview-card--faq .preview-visual {
  background: linear-gradient(135deg, #eef0f5 0%, #dde2ec 100%);
  color: var(--navy-light);
}

.preview-card--reviews .preview-visual {
  background: linear-gradient(135deg, #f5f0e8 0%, #ebe0d0 100%);
  color: #9a7b42;
}

.preview-card--contact .preview-visual {
  background: linear-gradient(135deg, #edf2f8 0%, #dce8f4 100%);
  color: var(--navy);
}

.preview-card-body {
  padding: 1.5rem;
}

.preview-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--navy);
  margin: 0 0 0.5rem;
}

.preview-card-body p {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.preview-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--red);
}

.cta-banner {
  background: linear-gradient(145deg, var(--navy-deep) 0%, var(--navy) 50%, var(--navy-light) 100%);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
  color: var(--white);
  border: 1px solid rgba(198, 167, 110, 0.12);
  box-shadow: var(--shadow-lg);
}

.cta-banner h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 1rem;
}

.cta-banner p {
  margin: 0 0 1.75rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 520px;
  margin-inline: auto;
}

.cta-banner .btn-primary {
  margin: 0 0.5rem;
}

/* Testimonials grid (full page) */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonials-grid .testimonial-card {
  flex: unset;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(26, 39, 68, 0.88) 0%, rgba(15, 24, 41, 0.78) 50%, rgba(26, 39, 68, 0.68) 100%),
    url('images/hero.jpg') center/cover no-repeat;
  z-index: 0;
}

@supports (background-image: url("images/hero.webp")) {
  .hero-bg {
    background:
      linear-gradient(135deg, rgba(26, 39, 68, 0.88) 0%, rgba(15, 24, 41, 0.78) 50%, rgba(26, 39, 68, 0.68) 100%),
      url('images/hero.webp') center/cover no-repeat;
  }
}

@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) {
  @supports (background-image: url("images/hero@2x.webp")) {
    .hero-bg {
      background:
        linear-gradient(135deg, rgba(26, 39, 68, 0.88) 0%, rgba(15, 24, 41, 0.78) 50%, rgba(26, 39, 68, 0.68) 100%),
        url('images/hero@2x.webp') center/cover no-repeat;
    }
  }
}

.hero-photo,
.about-image,
.contact-image,
.gallery-row-photo img,
.footer-logo {
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.hero-bg::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--cream), transparent);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-block: 4rem 5rem;
}

.hero-content {
  color: var(--white);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.hero-eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--gold);
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.hero-title {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.hero-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  border-left: 3px solid var(--gold);
  padding-left: 1.25rem;
  margin: 0 0 2rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy-deep);
  box-shadow: 0 4px 18px rgba(198, 167, 110, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, #ead4a8 100%);
  box-shadow: 0 6px 24px rgba(198, 167, 110, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-navy {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(30, 42, 59, 0.2);
}

.btn-navy:hover {
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy) 100%);
  box-shadow: 0 6px 24px rgba(30, 42, 59, 0.28);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-photo-wrap {
  position: relative;
  width: min(380px, 100%);
}

.hero-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center 18%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.hero-photo-frame {
  position: absolute;
  inset: -12px -12px 12px 12px;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
}

.hero-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--white);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-badge-icon {
  width: 44px;
  height: 44px;
  background: var(--red-soft);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
}

.hero-badge-text strong {
  display: block;
  font-size: 1.5rem;
  font-family: var(--font-serif);
  color: var(--navy);
  line-height: 1;
}

.hero-badge-text span {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Stats bar */
.stats-bar {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: -3rem;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}

.stat-item {
  padding: 1.75rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Success stats */
.success-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.success-stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

.success-stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.success-stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.success-stat-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Credentials */
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.credential-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: transform 0.25s, border-color 0.25s;
}

.credential-card:hover {
  transform: translateY(-3px);
  border-color: rgba(198, 167, 110, 0.35);
}

.credential-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.credential-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--white);
  margin: 0 0 0.65rem;
}

.credential-card p {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
}

.credential-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-light);
  background: rgba(198, 167, 110, 0.15);
  border: 1px solid rgba(198, 167, 110, 0.25);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.credentials-note {
  margin: 2rem 0 0;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}

/* Legal pages */
.legal-content h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--navy);
  margin: 2rem 0 0.75rem;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
}

.legal-content ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.25rem;
}

.legal-content li {
  margin-bottom: 0.35rem;
}

.legal-content a {
  color: var(--red);
}

.legal-updated {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

/* Sections */
.section {
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}

.section-alt {
  background: rgba(255, 255, 255, 0.82);
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.section-dark .section-eyebrow {
  color: var(--gold);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 1rem;
  color: var(--navy);
}

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

.section-intro {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.7;
}

.section-dark .section-intro {
  color: rgba(255, 255, 255, 0.75);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: start;
}

.about-image-wrap {
  position: relative;
}

.about-image {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-image-accent {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
}

.about-content .prose {
  margin: 0 0 1.25rem;
  color: var(--text);
}

.about-content .prose:last-child {
  margin-bottom: 0;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--cream);
  border-radius: var(--radius-sm);
}

.highlight-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--red-soft);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--red);
  font-size: 1rem;
}

.highlight-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 0.15rem;
}

.highlight-item span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Why cards */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.why-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.why-card-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--gold-light);
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 14px rgba(30, 42, 59, 0.15);
}

.why-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--navy);
  margin: 0 0 0.75rem;
}

.why-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 2rem;
  transition: background 0.3s, transform 0.3s;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.service-level {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  background: var(--gold-muted);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
  color: var(--white);
}

.service-card p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
}

/* Method */
.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.method-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.method-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
}

.method-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--navy);
  margin: 0 0 0.5rem;
}

.method-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Philosophy */
.philosophy-box {
  background: linear-gradient(145deg, var(--navy-deep) 0%, var(--navy) 60%, #2a3d52 100%);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(198, 167, 110, 0.15);
}

.philosophy-box::before {
  content: "\201C";
  position: absolute;
  top: -20px;
  left: 30px;
  font-family: var(--font-serif);
  font-size: 10rem;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
}

.philosophy-text {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-style: italic;
  line-height: 1.7;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Testimonials */
.testimonials-section {
  overflow: hidden;
}

.carousel-wrap {
  position: relative;
}

.carousel-track-wrap {
  overflow: hidden;
  margin: 0 -0.5rem;
  padding: 0.5rem;
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: 0;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

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

.testimonial-text {
  flex: 1;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
  margin: 0 0 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: grid;
  place-items: center;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
}

.testimonial-meta strong {
  display: block;
  font-size: 0.9rem;
  color: var(--navy);
}

.testimonial-meta span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.testimonial-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--red);
  background: var(--red-soft);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  transition: background 0.2s, border-color 0.2s;
}

.carousel-btn:hover:not(:disabled) {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.carousel-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.carousel-dot.is-active {
  background: var(--navy);
  transform: scale(1.2);
}

/* Gallery */
.gallery-section {
  padding-top: 0;
}

.gallery-section .container {
  max-width: 980px;
}

.gallery-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(10, 27, 61, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.gallery-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  gap: 1.5rem;
  align-items: center;
  padding: 1.35rem 1.5rem;
  border-bottom: 1px solid rgba(10, 27, 61, 0.08);
}

.gallery-row:last-child {
  border-bottom: none;
}

.gallery-row:nth-child(even) {
  background: rgba(248, 245, 240, 0.65);
}

.gallery-row-copy {
  min-width: 0;
}

.gallery-row-num {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.gallery-row-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}

.gallery-row-title {
  margin: 0 0 0.55rem;
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
}

.gallery-row-desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 52ch;
}

.gallery-row-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 1px solid rgba(10, 27, 61, 0.08);
  border-radius: calc(var(--radius-sm) + 2px);
  overflow: hidden;
  cursor: pointer;
  background: var(--cream-dark);
  box-shadow: 0 8px 20px rgba(10, 27, 61, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.gallery-row-photo:hover,
.gallery-row-photo:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(10, 27, 61, 0.12);
  border-color: rgba(198, 167, 110, 0.45);
  outline: none;
}

.gallery-row-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s ease;
}

.gallery-row-photo:hover img {
  transform: scale(1.04);
}

.gallery-row-zoom {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(10, 27, 61, 0.15);
  pointer-events: none;
}

/* Schedule */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.schedule-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  text-align: center;
}

.schedule-card.featured {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.schedule-duration {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.schedule-card.featured .schedule-duration {
  color: var(--gold);
}

.schedule-frequency {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.schedule-card.featured .schedule-frequency {
  color: rgba(255, 255, 255, 0.7);
}

.schedule-card p {
  margin: 0;
  font-size: 0.95rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.contact-info h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--navy);
  margin: 0 0 1rem;
}

.contact-info p {
  color: var(--text-muted);
  margin: 0 0 2rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
}

.contact-card:hover {
  box-shadow: var(--shadow);
  transform: translateX(4px);
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--red-soft);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--red);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-value {
  display: block;
  font-weight: 700;
  color: var(--navy);
}

.contact-visual {
  position: relative;
}

.contact-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.contact-cta-box {
  position: absolute;
  bottom: -24px;
  left: 24px;
  right: 24px;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  text-align: center;
  box-shadow: var(--shadow);
}

.contact-cta-box strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.75);
}

.footer-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem 0;
}

.footer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-cta-text strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.footer-cta-text span {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-main {
  padding: 3.5rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 2.5rem;
}

.footer-col {
  min-width: 0;
}

.footer-brand-col .social-links {
  margin-top: 1.25rem;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 1rem;
  background: transparent;
}

.footer-logo {
  height: auto;
  width: 100%;
  max-width: 220px;
  object-fit: contain;
  display: block;
  background: transparent;
}

.footer-tagline {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  max-width: 280px;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.footer-badges span {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-light);
  background: rgba(198, 167, 110, 0.12);
  border: 1px solid rgba(198, 167, 110, 0.2);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}

.footer-heading {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}

.footer-list,
.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-list a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s, padding-left 0.2s;
}

.footer-list a:hover,
.footer-contact a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-contact-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--gold-light);
}

.footer-contact-icon svg {
  width: 16px;
  height: 16px;
}

.footer-note {
  margin: 1.25rem 0 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  font-style: italic;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  background: rgba(0, 0, 0, 0.15);
}

.footer-bottom-inner {
  text-align: center;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin: 0.75rem 0;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--gold-light);
}

.footer-copy {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-copy-sub {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6, 18, 36, 0.94);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-figure {
  margin: 0;
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.lightbox img {
  max-width: 100%;
  max-height: calc(88vh - 3rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.lightbox figcaption {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  text-align: center;
  max-width: 60ch;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
}

body.lightbox-open {
  overflow: hidden;
}

/* Reveal & animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(32px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-32px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

@keyframes headerSlide {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Page load — hero */
body:not(.page-loaded) .site-header {
  opacity: 0;
  transform: translateY(-100%);
}

body.page-loaded .site-header {
  animation: headerSlide 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body:not(.page-loaded) .hero-content > * {
  opacity: 0;
  transform: translateY(24px);
}

body.page-loaded .hero-content > * {
  animation: fadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body.page-loaded .hero-content > *:nth-child(1) { animation-delay: 0.15s; }
body.page-loaded .hero-content > *:nth-child(2) { animation-delay: 0.28s; }
body.page-loaded .hero-content > *:nth-child(3) { animation-delay: 0.4s; }
body.page-loaded .hero-content > *:nth-child(4) { animation-delay: 0.52s; }
body.page-loaded .hero-content > *:nth-child(5) { animation-delay: 0.64s; }

body:not(.page-loaded) .hero-visual {
  opacity: 0;
  transform: translateX(40px);
}

body.page-loaded .hero-visual {
  animation: fadeInRight 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}

body.page-loaded .hero-badge {
  animation: float 4s ease-in-out 1.2s infinite;
}

/* Page hero (inner pages) */
body:not(.page-loaded) .page-hero .container > * {
  opacity: 0;
  transform: translateY(20px);
}

body.page-loaded .page-hero .container > * {
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body.page-loaded .page-hero .container > *:nth-child(1) { animation-delay: 0.12s; }
body.page-loaded .page-hero .container > *:nth-child(2) { animation-delay: 0.24s; }
body.page-loaded .page-hero .container > *:nth-child(3) { animation-delay: 0.36s; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  transform: translateX(-32px);
}

.reveal-left.is-visible {
  transform: translateX(0);
}

.reveal-right {
  transform: translateX(32px);
}

.reveal-right.is-visible {
  transform: translateX(0);
}

.reveal-scale {
  transform: scale(0.94);
}

.reveal-scale.is-visible {
  transform: scale(1);
}

/* Nav link underline */
.site-nav a:not(.nav-cta) {
  position: relative;
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-nav a:not(.nav-cta):hover::after,
.site-nav a:not(.nav-cta).is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Button shine */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.18) 50%, transparent 60%);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover::after {
  opacity: 1;
  animation: shimmer 0.8s ease;
}

/* Card lift */
.preview-card,
.why-card,
.service-card,
.testimonial-card,
.credential-card,
.success-stat {
  will-change: transform;
}

.preview-link {
  display: inline-block;
  transition: transform 0.25s, letter-spacing 0.25s;
}

.preview-card:hover .preview-link {
  transform: translateX(4px);
  letter-spacing: 0.02em;
}

/* Stat counter pulse */
.success-stat-num.is-counted {
  animation: scaleIn 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1;
    transform: none;
  }

  body:not(.page-loaded) .hero-content > *,
  body:not(.page-loaded) .hero-visual,
  body:not(.page-loaded) .page-hero .container > *,
  body:not(.page-loaded) .site-header {
    opacity: 1;
    transform: none;
  }
}

/* Desktop nav — outside header so fixed drawer is not clipped by header transform */
@media (min-width: 1025px) {
  .site-nav {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(1140px, calc(100% - 2.5rem));
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.75rem;
    z-index: 101;
    pointer-events: none;
    background: transparent;
    visibility: visible;
  }

  .site-nav a {
    pointer-events: auto;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  :root {
    --header-h: 80px;
    --header-h-shrunk: 68px;
  }

  .nav-toggle {
    display: block;
    position: relative;
    z-index: 113;
  }

  .site-header {
    z-index: 112;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(10, 27, 61, 0.45);
    z-index: 110;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    pointer-events: none;
  }

  .nav-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(100%, 320px);
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: calc(var(--header-h) + 1.25rem) 1.25rem 2rem;
    transform: translate3d(100%, 0, 0);
    transition: transform 0.35s ease, visibility 0.35s;
    visibility: hidden;
    z-index: 111;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    pointer-events: auto;
    box-shadow: -8px 0 32px rgba(10, 27, 61, 0.12);
  }

  .site-nav.is-open {
    transform: translate3d(0, 0, 0);
    visibility: visible;
  }

  .site-nav a {
    font-size: 1.05rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
  }

  .site-nav a.nav-cta {
    margin-top: 0.75rem;
    text-align: center;
    border-bottom: none;
  }

  body.nav-open {
    overflow: hidden;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .hero-eyebrow {
    justify-content: center;
  }

  .hero-quote {
    border-left: none;
    border-top: 3px solid var(--gold);
    padding-left: 0;
    padding-top: 1rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-badge {
    left: 50%;
    transform: translateX(-50%);
    bottom: -24px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item:nth-child(1),
  .stat-item:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }

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

  .why-grid,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .testimonial-card {
    flex: 0 0 calc(50% - 0.75rem);
  }

  .gallery-row {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.15rem 1.1rem;
  }

  .gallery-row-photo {
    max-width: 360px;
    margin-inline: auto;
  }

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

@media (max-width: 768px) {
  .logo-img {
    height: 58px;
    max-width: 210px;
  }

  .header-inner {
    width: calc(100% - 1.25rem);
  }

  .bg-shape--ring-1,
  .bg-shape--ring-2,
  .bg-shape--ring-3,
  .bg-shape--blob-1,
  .bg-shape--blob-2,
  .bg-shape--arc,
  .bg-shape--square,
  .bg-shape--dots,
  .bg-shape--line {
    display: none;
  }

  .section::before,
  .section-alt::before {
    display: none;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-header {
    margin-bottom: 2.25rem;
  }

  .page-hero {
    padding: calc(var(--header-h) + 2rem) 0 2.25rem;
  }

  .page-content {
    padding-top: 2rem;
  }

  .container {
    width: calc(100% - 1.25rem);
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-block: 2.5rem 3.5rem;
    gap: 2rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .hero-title {
    font-size: 0.92rem;
    line-height: 1.65;
    max-width: 22rem;
    margin-inline: auto;
  }

  .hero-quote {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-photo-wrap {
    width: min(300px, 88vw);
    margin-inline: auto;
    padding-bottom: 3.25rem;
  }

  .hero-badge {
    bottom: 0;
  }

  .stats-bar {
    margin-top: -1.5rem;
  }

  .stat-item {
    padding: 1.25rem 1rem;
  }

  .stat-number {
    font-size: 1.85rem;
  }

  .gallery-section .container {
    width: 100%;
    max-width: none;
    padding-inline: 0.75rem;
  }

  .gallery-list {
    border-radius: var(--radius-sm);
  }

  .gallery-row {
    padding: 1rem 0.85rem;
  }

  .gallery-row-desc {
    max-width: none;
  }

  .carousel-track-wrap {
    margin: 0;
    padding: 0;
  }

  .exam-cta {
    padding: 1.75rem 1.25rem;
  }

  .exam-cta .btn + .btn {
    margin-left: 0 !important;
    margin-top: 0.65rem;
  }

  .exam-cta .btn {
    display: block;
    width: 100%;
  }

  .philosophy-box {
    padding: 1.5rem 1.25rem;
  }

  .philosophy-text {
    font-size: 1.05rem;
  }

  .why-grid,
  .services-grid,
  .method-grid,
  .schedule-grid,
  .preview-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    flex: 0 0 100%;
  }

  .gallery-row-photo {
    max-width: none;
    width: 100%;
  }

  .lightbox-nav {
    display: none;
  }

  .footer-cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand-col {
    grid-column: span 2;
    text-align: center;
  }

  .footer-tagline {
    max-width: none;
    margin-inline: auto;
  }

  .footer-badges {
    justify-content: center;
  }

  .footer-brand-col .social-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  :root {
    --header-h: 72px;
  }

  .logo-img {
    height: 52px;
    max-width: 185px;
  }

  .site-header.is-shrunk .logo-img {
    height: 46px;
  }

  .stats-bar {
    grid-template-columns: 1fr;
    margin-inline: 0;
  }

  .stat-item {
    border-right: none !important;
    border-bottom: 1px solid var(--border);
  }

  .stat-item:last-child {
    border-bottom: none;
  }

  .hero-photo-wrap {
    width: min(280px, 86vw);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: min(280px, 100%);
    margin-inline: auto;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-title {
    font-size: 0.86rem;
  }

  .preview-card-body {
    padding: 1.15rem 1rem 1.25rem;
  }

  .testimonial-card {
    padding: 1.35rem;
  }

  .footer-cta-inner {
    gap: 1rem;
  }

  .footer-bottom-inner {
    padding-inline: 0.5rem;
  }
}

/* Social links */
.social-links {
  display: flex;
  gap: 0.65rem;
  margin-top: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.social-link--instagram {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
  color: var(--white);
}

.social-link--facebook {
  background: #1877f2;
  color: var(--white);
}

.social-link--email {
  background: var(--navy);
  color: var(--white);
}

.social-link:hover {
  transform: translateY(-2px);
}

.contact-social {
  margin-top: 2rem;
}

.contact-social h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--navy);
  margin: 0 0 1rem;
}

.contact-social .social-links {
  margin-top: 0;
}

.contact-social .social-link {
  width: 48px;
  height: 48px;
}

.contact-social .social-link svg {
  width: 22px;
  height: 22px;
}

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--red);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 0.3s, background 0.2s;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: var(--navy);
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.is-open .faq-answer {
  max-height: 400px;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

.faq-answer-inner p {
  margin: 0;
}

/* Exam guide */
.exam-intro {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.75;
}

.exam-levels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.exam-level-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.exam-level-card.featured {
  background: linear-gradient(145deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--white);
  border-color: var(--navy);
}

.exam-level-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  background: var(--red-soft);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.exam-level-card.featured .exam-level-badge {
  color: var(--gold-light);
  background: var(--gold-muted);
}

.exam-level-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
  color: var(--navy);
}

.exam-level-card.featured h3 {
  color: var(--white);
}

.exam-level-card p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.exam-level-card.featured p {
  color: rgba(255, 255, 255, 0.78);
}

.exam-level-card ul {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.exam-level-card.featured ul {
  color: rgba(255, 255, 255, 0.75);
}

.exam-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.exam-step {
  text-align: center;
  padding: 1.5rem;
  background: var(--cream-dark);
  border-radius: var(--radius-sm);
}

.exam-step-num {
  width: 44px;
  height: 44px;
  margin: 0 auto 1rem;
  background: var(--navy);
  color: var(--gold-light);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
}

.exam-step h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--navy);
  margin: 0 0 0.5rem;
}

.exam-step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.exam-cta {
  text-align: center;
  padding: 2.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.exam-cta h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--navy);
  margin: 0 0 0.75rem;
}

.exam-cta p {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .exam-levels,
  .exam-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand-col {
    grid-column: span 1;
  }

  .success-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .credentials-grid {
    grid-template-columns: 1fr;
  }
}
