/* ==========================================================================
   Fyzioterapie Bila - Main Stylesheet
   Czech physiotherapy clinic one-page WordPress theme
   Light theme | Blue accent (#0693e3) | Inter variable font
   ========================================================================== */


/* ==========================================================================
   1. CUSTOM PROPERTIES
   ========================================================================== */

:root {
  /* Brand Colors */
  --primary: #0693e3;
  --primary-dark: #0574b8;
  --primary-light: rgba(6, 147, 227, 0.1);

  /* Backgrounds */
  --bg-base: #ffffff;
  --bg-section: #f8fafc;
  --bg-card: #ffffff;

  /* Text */
  --text-primary: #1a1a2e;
  --text-body: #4a5568;
  --text-muted: #94a3b8;

  /* Borders & Shadows */
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  /* Layout */
  --header-height: 72px;
  --container-width: 1200px;

  /* Transitions */
  --transition: 0.3s ease;
}


/* ==========================================================================
   2. FONT FACE
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter/Inter-VariableFont_slnt,wght.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}


/* ==========================================================================
   3. RESET & BASE
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-body);
  background-color: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Links */
a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 2px;
}

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

/* Lists */
ul,
ol {
  list-style: none;
}

/* Form elements */
button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* Remove default fieldset styles */
fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

/* Selection */
::selection {
  background-color: var(--primary);
  color: #ffffff;
}


/* ==========================================================================
   4. TYPOGRAPHY
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.375rem;
}

h4 {
  font-size: 1.125rem;
}

p {
  margin-bottom: 1rem;
}

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

strong,
b {
  font-weight: 600;
}

/* Section Titles */
.section__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}

.section__title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--primary);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

.section__subtitle {
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--text-muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

/* Tablet */
@media (min-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .section__title {
    font-size: 2rem;
  }

  .section__subtitle {
    font-size: 1.125rem;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .section__title {
    font-size: 2.25rem;
  }
}


/* ==========================================================================
   5. LAYOUT
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Sections */
.section {
  padding: 4rem 0;
}

/* Alternating section backgrounds */
.section--alt {
  background-color: var(--bg-section);
}

/* Tablet */
@media (min-width: 768px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .section {
    padding: 5rem 0;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .section {
    padding: 6rem 0;
  }
}


/* ==========================================================================
   6. HEADER
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: #0574b8;
  z-index: 1000;
  transition: box-shadow var(--transition);
}

/* Scrolled state — shadow appears */
.site-header--scrolled {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--text-primary);
  z-index: 10;
}

.header__logo-img {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
}

.header__logo-text {
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.header__logo-text span {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
}

/* Desktop Navigation */
.header__nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.header__link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.875rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background-color var(--transition);
  position: relative;
  white-space: nowrap;
}

.header__link:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.15);
}

.header__link:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

/* Active nav link — white underline */
.header__link--active {
  color: #ffffff;
}

.header__link--active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.875rem;
  right: 0.875rem;
  height: 2px;
  background-color: #ffffff;
  border-radius: 1px;
}

/* Phone Button in Header */
.header__phone {
  display: none !important;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #ffffff;
  background-color: var(--primary);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  white-space: nowrap;
}

.site-header .header__phone {
  background-color: #ffffff;
  color: var(--primary);
  border: 1px solid #ffffff;
}

.site-header .header__phone:hover {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-1px);
  box-shadow: none;
}

.header__phone:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.header__phone-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Hamburger Button */
.header__hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  z-index: 10;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition);
}

.header__hamburger:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.header__hamburger:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.header__hamburger-icon {
  position: relative;
  width: 24px;
  height: 18px;
}

.header__hamburger-icon span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.header__hamburger-icon span:nth-child(1) {
  top: 0;
}

.header__hamburger-icon span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.header__hamburger-icon span:nth-child(3) {
  bottom: 0;
}

/* Hamburger open state */
.header__hamburger--open .header__hamburger-icon span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.header__hamburger--open .header__hamburger-icon span:nth-child(2) {
  opacity: 0;
}

.header__hamburger--open .header__hamburger-icon span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* Tablet — show phone button */
@media (min-width: 768px) {
  .header__inner {
    padding: 0 2rem;
  }

  .header__phone {
    display: inline-flex !important;
  }
}

/* Desktop — show full nav, hide hamburger */
@media (min-width: 1024px) {
  .header__nav {
    display: flex;
  }

  .header__hamburger {
    display: none;
  }
}


/* ==========================================================================
   7. MOBILE MENU
   ========================================================================== */

/* Backdrop overlay */
.mobile-menu__backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.mobile-menu__backdrop--visible {
  opacity: 1;
  visibility: visible;
}

/* Slide-in panel */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  height: 100dvh;
  background-color: var(--bg-base);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mobile-menu--open {
  transform: translateX(0);
}

/* Offset mobile menu for WP admin bar */
body.admin-bar .mobile-menu {
  top: 32px;
  height: calc(100vh - 32px);
  height: calc(100dvh - 32px);
}

@media (max-width: 782px) {
  body.admin-bar .mobile-menu {
    top: 46px;
    height: calc(100vh - 46px);
    height: calc(100dvh - 46px);
  }
}

/* Mobile menu header */
.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border);
  min-height: auto;
  flex-shrink: 0;
}

/* Close button */
.mobile-menu__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition);
  color: var(--text-primary);
}

.mobile-menu__close:hover {
  background-color: var(--primary-light);
}

.mobile-menu__close:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.mobile-menu__close-icon {
  width: 24px;
  height: 24px;
}

/* Navigation links */
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0;
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu__link {
  display: block;
  padding: 0.75rem 1.5rem;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text-body);
  text-decoration: none;
  transition: color var(--transition), background-color var(--transition);
  border-left: 3px solid transparent;
}

.mobile-menu__link:hover {
  color: var(--primary);
  background-color: var(--primary-light);
}

.mobile-menu__link--active {
  color: var(--primary);
  border-left-color: var(--primary);
  background-color: var(--primary-light);
}

.mobile-menu__link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}

.mobile-menu__footer {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

/* Mobile menu phone CTA */
.mobile-menu__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem 1.25rem;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background-color: var(--primary);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background-color var(--transition);
}

.mobile-menu__phone:hover {
  background-color: var(--primary-dark);
  color: #ffffff;
}

.mobile-menu__phone-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Body scroll lock when menu is open */
body.menu-open {
  overflow: hidden;
}

/* Hide mobile menu on desktop */
@media (min-width: 1024px) {
  .mobile-menu,
  .mobile-menu__backdrop {
    display: none;
  }
}


/* ==========================================================================
   8. HERO
   ========================================================================== */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 85vh;
  padding: calc(var(--header-height) + 2rem) 1.25rem 3rem;
  overflow: hidden;
  background: linear-gradient(135deg, #0574b8 0%, #0693e3 50%, #3aabe8 100%);
}

/* Background image — decorative anatomical illustration */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.55;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Dark overlay for text readability */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(3, 50, 100, 0.55);
}

/* Content wrapper — centered */
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

/* Hero badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  margin-bottom: 1.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__badge svg {
  width: 16px;
  height: 16px;
}

/* Hero title */
.hero__title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.hero__title span {
  color: #ffffff;
}

/* Hero author name + role — frosted pill */
.hero__author {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  margin-bottom: 1.75rem;
}

.hero__role {
  font-weight: 400;
  color: #ffffff;
}

/* Hero subtitle / description */
.hero__subtitle {
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

/* Hero CTA group */
.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* Hero trust indicators */
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #ffffff;
}

.hero__trust-item svg {
  width: 20px;
  height: 20px;
  color: #ffffff;
  flex-shrink: 0;
}

/* Tablet */
@media (min-width: 768px) {
  .hero {
    padding: calc(var(--header-height) + 4rem) 2rem 4rem;
  }

  .hero__title {
    font-size: 2.75rem;
  }

  .hero__subtitle {
    font-size: 1.125rem;
  }

  .hero__cta {
    flex-direction: row;
    justify-content: center;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .hero {
    padding: calc(var(--header-height) + 5rem) 2rem 5rem;
  }

  .hero__title {
    font-size: 3.25rem;
  }

  .hero__subtitle {
    font-size: 1.1875rem;
    max-width: 700px;
  }
}

/* Wide */
@media (min-width: 1280px) {
  .hero__title {
    font-size: 3.5rem;
  }
}


/* ==========================================================================
   9. BUTTONS
   ========================================================================== */

/* Base button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color var(--transition),
              color var(--transition),
              border-color var(--transition),
              transform var(--transition),
              box-shadow var(--transition);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Primary button — blue bg, white text */
.btn--primary {
  color: #ffffff;
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn--primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(6, 147, 227, 0.35);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Outline button — border only */
.btn--outline {
  color: var(--primary);
  background-color: transparent;
  border-color: var(--primary);
}

.btn--outline:hover {
  color: #ffffff;
  background-color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-1px);
}

.btn--outline:active {
  transform: translateY(0);
}

/* White button variant */
.btn--white {
  color: var(--text-primary);
  background-color: #ffffff;
  border-color: #ffffff;
}

.btn--white:hover {
  color: var(--primary);
  background-color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* White outline — for use on dark/blue backgrounds */
.btn--hero-outline {
  color: #ffffff;
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--hero-outline:hover {
  color: var(--primary);
  background-color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-1px);
}

/* Large button */
.btn--lg {
  padding: 0.9375rem 2rem;
  font-size: 1.0625rem;
  border-radius: var(--radius-md);
}

/* Small button */
.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

/* Full width button */
.btn--full {
  width: 100%;
}

/* Tablet */
@media (min-width: 768px) {
  .btn--lg {
    padding: 1rem 2.25rem;
    font-size: 1.0625rem;
  }
}


/* ==========================================================================
   10. SERVICES
   ========================================================================== */

.services {
  background-color: var(--bg-base);
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* Service Card */
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition),
              box-shadow var(--transition),
              border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

/* Service card icon */
.service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
}

.service-card__icon svg {
  width: 56px;
  height: 56px;
}

/* Service card title */
.service-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0;
  line-height: 1.4;
}

/* Service card description */
.service-card__desc {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.6;
  flex: 1;
}

/* Service card link/arrow */
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: gap var(--transition);
}

.service-card__link:hover {
  gap: 0.625rem;
}

.service-card__link-icon {
  width: 18px;
  height: 18px;
  transition: transform var(--transition);
}

.service-card__link:hover .service-card__link-icon {
  transform: translateX(2px);
}

/* Tablet — 2 columns */
@media (min-width: 768px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .service-card {
    padding: 2rem;
  }
}

/* Desktop — 3 columns */
@media (min-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .service-card {
    padding: 2.25rem;
  }
}


/* ==========================================================================
   11. GALLERY
   ========================================================================== */

.gallery {
  background-color: var(--bg-section);
}

/* Gallery Slider */
.gallery-slider {
  position: relative;
}

.gallery-slider__viewport {
  overflow: hidden;
  border-radius: var(--radius-md);
  margin: 0 3rem;
}

.gallery-slider__track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.gallery-slider__slide {
  flex: 0 0 100%;
  min-width: 0;
  margin: 0;
  padding: 0 0.375rem;
  box-sizing: border-box;
}

.gallery-slider__slide img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2.6;
  object-fit: cover;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform 0.4s ease;
}

.gallery-slider__slide img:hover {
  transform: scale(1.03);
}

/* Arrows */
.gallery-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  box-shadow: 0 2px 12px rgba(6, 147, 227, 0.2);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), color var(--transition);
}

.gallery-slider__arrow:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
}

.gallery-slider__arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.gallery-slider__arrow--prev {
  left: -0.25rem;
}

.gallery-slider__arrow--next {
  right: -0.25rem;
}

.gallery-slider__arrow svg {
  width: 22px;
  height: 22px;
}

/* Dots */
.gallery-slider__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.25rem 0 0.5rem;
}

.gallery-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.gallery-slider__dot--active {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.2);
}

.gallery-slider__dot:hover {
  border-color: var(--primary);
}

/* Tablet — 2 slides visible */
@media (min-width: 768px) {
  .gallery-slider__slide {
    flex: 0 0 50%;
  }

  .gallery-slider__arrow {
    width: 48px;
    height: 48px;
  }

}

/* Desktop — 3 slides visible */
@media (min-width: 1024px) {
  .gallery-slider__slide {
    flex: 0 0 33.333%;
    padding: 0 0.5rem;
  }
}


/* --------------------------------------------------------------------------
   Lightbox
   -------------------------------------------------------------------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

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

/* Lightbox image */
.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  transform: scale(0.9);
  transition: transform var(--transition);
}

.lightbox--open .lightbox__img {
  transform: scale(1);
}

/* Lightbox close button */
.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color var(--transition);
  color: #ffffff;
}

.lightbox__close:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.lightbox__close:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.lightbox__close-icon {
  width: 24px;
  height: 24px;
}

/* Lightbox navigation arrows */
.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color var(--transition);
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
}

.lightbox__prev:hover,
.lightbox__next:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.lightbox__prev:focus-visible,
.lightbox__next:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.lightbox__prev {
  left: 1rem;
}

.lightbox__next {
  right: 1rem;
}

/* Lightbox caption */
.lightbox__caption {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  max-width: 80%;
}

/* Tablet */
@media (min-width: 768px) {
  .lightbox__close {
    top: 1.5rem;
    right: 1.5rem;
  }

  .lightbox__nav--prev {
    left: 1.5rem;
  }

  .lightbox__nav--next {
    right: 1.5rem;
  }
}


/* ==========================================================================
   12. ABOUT
   ========================================================================== */

.about {
  background-color: var(--bg-base);
}

/* Two-column layout */
.about__layout {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Image column */
.about__image {
  position: relative;
  width: 100%;
}

.about__image::before {
  content: '';
  position: absolute;
  top: 12px;
  left: -10px;
  right: 10px;
  bottom: -10px;
  border: 3px solid var(--primary);
  border-radius: var(--radius-lg);
  z-index: 0;
}

.about__image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Text column */
.about__text {
  flex: 1;
}

.about__name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.about__credentials {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.about__bio {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 1.5rem;
}

/* Education section */
.about__education {
  margin-top: 2rem;
  padding: 1.75rem;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(6, 147, 227, 0.12), 0 1px 4px rgba(0, 0, 0, 0.06);
  border-top: 3px solid var(--primary);
}

.about__education-title {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.about__education-title svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.about__education-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about__education-list li {
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
  color: var(--text-primary);
  line-height: 1.6;
  font-weight: 500;
  background-color: var(--bg-section);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--primary);
}

/* Methods section */
.about__methods {
  margin-top: 5rem;
  scroll-margin-top: var(--header-height);
}

.about__methods-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 2rem;
}

.about__methods-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* Method card */
.method-card {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.method-card:hover {
  box-shadow: 0 12px 36px rgba(6, 147, 227, 0.12);
  transform: translateY(-4px);
  border-color: var(--primary);
}

.method-card__image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.method-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 1rem;
  transition: transform 0.4s ease;
}

.method-card:hover .method-card__image img {
  transform: scale(1.05);
}

.method-card__body {
  padding: 1.5rem;
  flex: 1;
  border-top: 3px solid var(--primary);
}

.method-card__title {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.method-card__subtitle {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.method-card__desc {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* Courses list */
.about__courses {
  margin-top: 5rem;
}

.about__courses-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 2rem;
}

.about__courses-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.about__courses-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.5;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

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

.about__course-title {
  flex: 1;
}

.about__course-year {
  flex-shrink: 0;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.875rem;
}

/* Courses toggle */
.about__courses-item--hidden {
  display: none;
}

.about__courses-list--expanded .about__courses-item--hidden {
  display: flex;
}

.about__courses-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.5rem auto 0;
  font-size: 0.9375rem;
}

.about__courses-toggle svg {
  transition: transform 0.3s ease;
}

.about__courses-toggle--expanded svg {
  transform: rotate(180deg);
}

/* Tablet — two columns for about layout */
@media (min-width: 768px) {
  .about__layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 3rem;
  }

  .about__image {
    width: 45%;
    flex-shrink: 0;
    position: sticky;
    top: calc(var(--header-height) + 2rem);
  }

  .about__image img {
    aspect-ratio: 3 / 4;
  }

  .about__text {
    flex: 1;
  }

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

/* Desktop — 3 column method cards */
@media (min-width: 1024px) {
  .about__layout {
    gap: 4rem;
  }

  .about__methods-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}


/* ==========================================================================
   12b. TEAM
   ========================================================================== */

.team {
  background-color: var(--bg-base);
}

.team__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Tablet — 2 columns */
@media (min-width: 768px) {
  .team__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Team Card */
.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition),
              box-shadow var(--transition),
              border-color var(--transition);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.team-card__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%);
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.team-card:hover .team-card__photo img {
  transform: scale(1.05);
}

.team-card__body {
  padding: 1.5rem;
  background-color: var(--primary);
}

.team-card__name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.team-card__role {
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
}

.team-card__bio {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin: 0;
}

/* Team card — linked variant */
.team-card--linked {
  position: relative;
  cursor: pointer;
}

.team-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1rem;
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--primary);
  text-decoration: none;
  border: none;
  border-radius: 100px;
  background: #ffffff;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.team-card--linked:hover .team-card__link {
  background: rgba(255, 255, 255, 0.75);
  color: var(--text-primary);
}

.team-card__link svg {
  width: 16px;
  height: 16px;
}

/* Stretched link — makes entire card clickable */
.team-card__link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* ==========================================================================
   13. PRICING
   ========================================================================== */

.pricing {
  background-color: var(--bg-section);
}

.pricing__table {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

/* Table header */
.pricing__header {
  display: none;
  padding: 1rem 1.5rem;
  background-color: var(--primary);
  color: #ffffff;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing__header-name,
.pricing__header-price {
  padding: 0.25rem 0;
}

.pricing__header-price {
  text-align: right;
}

/* Pricing row */
.pricing__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  transition: background-color var(--transition);
}

.pricing__row:last-child {
  border-bottom: none;
}

/* Alternating row backgrounds */
.pricing__row:nth-child(even) {
  background-color: var(--bg-section);
}

.pricing__row:hover {
  background-color: var(--primary-light);
}

/* Row cells */
.pricing__name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.pricing__price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  text-align: right;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Mobile label prefix */
.pricing__label {
  display: inline;
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.8125rem;
  margin-right: 0.25rem;
}

/* Pricing note */
.pricing__note {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.6;
  background-color: var(--primary-light);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--primary);
}

/* Category heading inside pricing */
.pricing__category {
  padding: 0.875rem 1.25rem;
  background-color: var(--primary);
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.02em;
}

/* Tablet — row layout */
@media (min-width: 768px) {
  .pricing__header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
  }

  .pricing__row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    flex-direction: row;
    padding: 1rem 1.5rem;
  }

  .pricing__label {
    display: none;
  }

  .pricing__name {
    font-size: 1.25rem;
  }

  .pricing__price {
    font-size: 1.4rem;
    text-align: right;
    white-space: nowrap;
  }

  .pricing__category {
    padding: 0.875rem 1.5rem;
  }
}


/* ==========================================================================
   14. FAQ (Accordion)
   ========================================================================== */

.faq {
  background-color: var(--bg-base);
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* FAQ item */
.faq__item {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq__item:hover {
  border-color: rgba(6, 147, 227, 0.3);
}

.faq__item--open {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

/* FAQ question header */
.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.125rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition);
  gap: 1rem;
  line-height: 1.4;
}

.faq__question:hover {
  color: var(--primary);
}

.faq__question:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
  border-radius: var(--radius-md);
}

/* Chevron icon */
.faq__chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--transition), color var(--transition);
}

.faq__item--open .faq__chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

/* FAQ answer — collapsible */
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq__answer-inner {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-body);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.faq__answer-inner p {
  margin-bottom: 0.75rem;
}

.faq__answer-inner p:last-child {
  margin-bottom: 0;
}

.faq__answer-inner ul {
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
}

.faq__answer-inner ul li {
  position: relative;
  padding-left: 0.25rem;
  margin-bottom: 0.375rem;
  list-style: disc;
  color: var(--text-body);
}

/* Tablet */
@media (min-width: 768px) {
  .faq__question {
    padding: 1.25rem 1.5rem;
    font-size: 1.0625rem;
  }

  .faq__answer-inner {
    padding: 0 1.5rem 1.5rem;
    padding-top: 1.125rem;
  }
}


/* ==========================================================================
   15. BOOKING (Contact Form + Map)
   ========================================================================== */

.booking {
  background-color: rgba(6, 147, 227, 0.05);
  text-align: center;
}

.booking__header {
  margin-bottom: 2.5rem;
}

.booking__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.booking__title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.booking__desc {
  font-size: 1.0625rem;
  color: var(--text-body);
  line-height: 1.6;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* 50/50 grid: form + map */
.booking__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: left;
}

/* Form card */
.booking__form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
}

.booking__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.booking__field {
  display: flex;
  flex-direction: column;
}

.booking__field--full {
  margin-bottom: 1.5rem;
}

.booking__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.booking__required {
  color: #e53e3e;
}

.booking__input,
.booking__select,
.booking__textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--text-primary);
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.booking__input::placeholder,
.booking__textarea::placeholder {
  color: var(--text-muted);
}

.booking__input:focus,
.booking__select:focus,
.booking__textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.booking__input.booking__input--error,
.booking__select.booking__input--error,
.booking__textarea.booking__input--error {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

/* Select arrow */
.booking__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
  cursor: pointer;
}

.booking__textarea {
  resize: vertical;
  min-height: 100px;
}

.booking__submit {
  text-align: left;
}

.booking__btn {
  min-width: 220px;
}

.booking__btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Success / error message */
.booking__message {
  margin-top: 1rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.booking__message--success {
  background: #f0fff4;
  color: #276749;
  border: 1px solid #c6f6d5;
}

.booking__message--error {
  background: #fff5f5;
  color: #c53030;
  border: 1px solid #fed7d7;
}

/* Map */
.booking__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 400px;
  border: 1px solid var(--border);
}

.booking__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 400px;
}

/* Tablet */
@media (min-width: 768px) {
  .booking__row {
    grid-template-columns: 1fr 1fr;
  }

  .booking__title {
    font-size: 2rem;
  }

  .booking__form {
    padding: 2.5rem;
  }
}

/* Desktop — 50/50 split */
@media (min-width: 1024px) {
  .booking__grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .booking__title {
    font-size: 2.25rem;
  }

  .booking__form {
    padding: 2.5rem;
  }

  .booking__map {
    min-height: 0;
  }

  .booking__map iframe {
    min-height: 100%;
  }
}


/* ==========================================================================
   16. CONTACT
   ========================================================================== */

.contact {
  background-color: var(--bg-base);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

/* Contact info card */
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.75rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.contact-card:hover {
  box-shadow: 0 8px 30px rgba(6, 147, 227, 0.1);
  border-color: var(--primary);
  transform: translateY(-3px);
}

/* Contact card icon */
.contact-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 50%;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(6, 147, 227, 0.25);
}

.contact-card__icon svg {
  width: 24px;
  height: 24px;
}

/* Contact card content */
.contact-card__content {
  flex: 1;
  min-width: 0;
}

.contact-card__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.contact-card__value {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
  overflow-wrap: break-word;
}

.contact-card__value a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition);
}

.contact-card__value a:hover {
  color: var(--primary);
}

.contact-card__detail {
  font-size: 0.875rem;
  color: var(--text-body);
  margin-top: 0.375rem;
  line-height: 1.6;
}

/* Featured contact card (phone) */
.contact-card--featured {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-color: transparent;
}

.contact-card--featured:hover {
  box-shadow: 0 12px 36px rgba(6, 147, 227, 0.3);
  border-color: transparent;
}

.contact-card--featured .contact-card__icon {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.contact-card--featured .contact-card__label {
  color: rgba(255, 255, 255, 0.8);
}

.contact-card--featured .contact-card__value,
.contact-card--featured .contact-card__value a {
  color: #ffffff;
  font-size: 1.275rem;
}

.contact-card--featured .contact-card__detail {
  color: rgba(255, 255, 255, 0.75);
}

/* Hours table inside contact card */
.contact-card__hours {
  margin-top: 0.375rem;
}

.contact-card__hours-row {
  display: flex;
  justify-content: space-between;
  padding: 0.25rem 0;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--border);
}

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

.contact-card__hours-day {
  color: var(--text-body);
  font-weight: 500;
}

.contact-card__hours-time {
  color: var(--text-primary);
  font-weight: 600;
}

/* Social links */
.contact__social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.contact__social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-body);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition),
              background-color var(--transition),
              border-color var(--transition),
              transform var(--transition);
}

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

.contact__social-link:hover {
  color: #ffffff;
  background-color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.contact__social-link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Map container */
.contact__map {
  margin-top: 2.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.contact__map iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: none;
}

/* Tablet — 2 column grid */
@media (min-width: 768px) {
  .contact__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .contact__map iframe {
    height: 400px;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .contact__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  /* Span full width for wider cards if needed */
  .contact-card--wide {
    grid-column: span 2;
  }

  .contact__map iframe {
    height: 450px;
  }
}


/* ==========================================================================
   17. FOOTER
   ========================================================================== */

.site-footer {
  background-color: #1a1a2e;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 2.5rem 1.25rem;
}

.site-footer__inner {
  max-width: var(--container-width);
  margin: 0 auto;
}

.site-footer__name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.375rem;
}

.site-footer__desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1rem;
}

.site-footer__divider {
  width: 60px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.15);
  margin: 1.25rem auto;
}

.site-footer__links {
  margin-bottom: 1rem;
}

.site-footer__links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--transition);
}

.site-footer__links a:hover {
  color: #ffffff;
}

.site-footer__copy {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.5;
}

.site-footer__copy a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--transition);
}

.site-footer__copy a:hover {
  color: #ffffff;
}

/* Tablet */
@media (min-width: 768px) {
  .site-footer {
    padding: 3rem 2rem;
  }
}


/* ==========================================================================
   18. SCROLL REVEAL
   ========================================================================== */

/* Only hide .reveal elements when JS has loaded (html.js-ready) */
html.js-ready .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

html.js-ready .reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delay variants for staggered animations */
.reveal--delay-1 {
  transition-delay: 0.1s;
}

.reveal--delay-2 {
  transition-delay: 0.2s;
}

.reveal--delay-3 {
  transition-delay: 0.3s;
}

.reveal--delay-4 {
  transition-delay: 0.4s;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  html.js-ready .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* ==========================================================================
   19. MODAL
   ========================================================================== */

.modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.modal--open {
  opacity: 1;
  visibility: visible;
}

/* Modal backdrop */
.modal__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

/* Modal content */
.modal__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  background-color: var(--bg-base);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2rem;
  transform: scale(0.95) translateY(10px);
  transition: transform var(--transition);
}

.modal--open .modal__content {
  transform: scale(1) translateY(0);
}

/* Modal close button */
.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color var(--transition), border-color var(--transition);
  color: var(--text-body);
}

.modal__close:hover {
  background-color: var(--border);
  border-color: var(--border);
}

.modal__close:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.modal__close-icon {
  width: 18px;
  height: 18px;
}

/* Modal header */
.modal__header {
  margin-bottom: 1.5rem;
  padding-right: 2.5rem;
}

.modal__title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  padding-right: 2.5rem;
}

.modal__subtitle {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* Modal body */
.modal__body {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-body);
}

.modal__body p {
  margin-bottom: 1rem;
}

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

/* Modal footer */
.modal__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.modal__text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 1.75rem;
}

.modal__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.modal__actions .btn {
  width: 100%;
}

@media (min-width: 576px) {
  .modal__actions {
    flex-direction: row;
  }

  .modal__actions .btn {
    flex: 1 1 0;
    width: auto;
  }
}

/* Focus trap — prevent background elements from being focusable */
body.modal-open {
  overflow: hidden;
}

/* Tablet */
@media (min-width: 768px) {
  .modal__content {
    padding: 2.5rem;
  }

  .modal__title {
    font-size: 1.5rem;
  }
}


/* ==========================================================================
   20. UTILITY CLASSES
   ========================================================================== */

/* Screen reader only — visually hidden but accessible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Text alignment */
.text-center {
  text-align: center;
}

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

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

/* Spacing utilities */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* Visually hidden skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  width: auto;
  height: auto;
  z-index: 9999;
}


/* ==========================================================================
   21. SCROLL TO TOP BUTTON
   ========================================================================== */

.scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition),
              visibility var(--transition),
              transform var(--transition),
              background-color var(--transition);
  z-index: 100;
}

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

.scroll-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

.scroll-top:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.scroll-top__icon {
  width: 20px;
  height: 20px;
}


/* ==========================================================================
   22. COOKIE NOTICE
   ========================================================================== */

.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5000;
  padding: 1rem 1.25rem;
  background-color: var(--bg-card);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-notice--visible {
  transform: translateY(0);
}

.cookie-notice__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: var(--container-width);
  margin: 0 auto;
  text-align: center;
}

.cookie-notice__text {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.5;
}

.cookie-notice__text a {
  color: var(--primary);
  text-decoration: underline;
}

.cookie-notice__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Tablet */
@media (min-width: 768px) {
  .cookie-notice__inner {
    flex-direction: row;
    text-align: left;
  }

  .cookie-notice__text {
    flex: 1;
  }
}


/* ==========================================================================
   23. LOADING / SKELETON
   ========================================================================== */

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

.skeleton {
  background: linear-gradient(
    90deg,
    var(--bg-section) 25%,
    var(--border) 50%,
    var(--bg-section) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-sm);
}


/* ==========================================================================
   24. PRINT STYLES
   ========================================================================== */

@media print {
  /* Hide non-essential elements */
  .site-header,
  .mobile-menu,
  .mobile-menu__backdrop,
  .hero__bg,
  .hero__overlay,
  .hero__badge,
  .hero__trust,
  .lightbox,
  .modal,
  .scroll-top,
  .cookie-notice,
  .booking,
  .header__hamburger,
  .gallery-slider__arrow,
  .gallery-slider__dots {
    display: none !important;
  }

  /* Reset colors for print */
  body {
    color: #000000;
    background: #ffffff;
    font-size: 12pt;
    line-height: 1.5;
  }

  h1, h2, h3, h4, h5, h6 {
    color: #000000;
    page-break-after: avoid;
  }

  /* Force backgrounds off */
  .section,
  .section--alt,
  .service-card,
  .contact-card,
  .team-card,
  .faq__item,
  .pricing__table {
    background: #ffffff !important;
    box-shadow: none !important;
    border: 1px solid #cccccc !important;
  }

  /* Show URLs for links */
  a[href]::after {
    content: ' (' attr(href) ')';
    font-size: 0.8em;
    color: #666666;
  }

  /* Avoid page breaks inside cards */
  .service-card,
  .contact-card,
  .team-card,
  .faq__item,
  .pricing__row {
    page-break-inside: avoid;
  }

  /* Hero minimal in print */
  .hero {
    min-height: auto;
    padding: 2rem 0;
  }

  .hero__content {
    max-width: 100%;
  }

  /* Hide buttons */
  .btn {
    border: 1px solid #000000 !important;
    color: #000000 !important;
    background: none !important;
  }

  /* Pricing table */
  .pricing__row {
    display: grid;
    grid-template-columns: 1fr 140px 120px;
  }

  .pricing__label {
    display: none;
  }

  /* Gallery — show all slides stacked for print */
  .gallery-slider__track {
    flex-wrap: wrap;
  }

  .gallery-slider__slide {
    flex: 0 0 33.333%;
    page-break-inside: avoid;
  }

  /* Contact map */
  .contact__map {
    display: none;
  }
}


/* ==========================================================================
   25. FOCUS VISIBLE GLOBAL STYLES
   ========================================================================== */

/* Enhanced focus styles for keyboard navigation */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Remove focus outline for mouse users */
:focus:not(:focus-visible) {
  outline: none;
}


/* ==========================================================================
   26. WORDPRESS SPECIFIC
   ========================================================================== */

/* WordPress alignment classes */
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

/* WordPress captions */
.wp-caption {
  max-width: 100%;
  margin-bottom: 1rem;
}

.wp-caption img {
  border-radius: var(--radius-sm);
}

.wp-caption-text {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.5rem;
  font-style: italic;
}

/* WordPress admin bar offset */
.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

/* ==========================================================================
   13. TESTIMONIALS
   ========================================================================== */

.testimonials {
  background: var(--bg-section);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.testimonials__card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.testimonials__card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.testimonials__card::before {
  content: '\201C';
  position: absolute;
  top: -0.25rem;
  right: 1rem;
  font-size: 5rem;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
  pointer-events: none;
}

.testimonials__stars {
  display: flex;
  gap: 0.125rem;
  margin-bottom: 0.75rem;
  color: #f59e0b;
}

.testimonials__stars svg {
  width: 18px;
  height: 18px;
}

.testimonials__text {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-body);
  font-style: italic;
  margin-bottom: 1.25rem;
}

.testimonials__author {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-primary);
}

.testimonials__author::before {
  content: '— ';
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* ==========================================================================
   TEAM MEMBER DETAIL PAGE  (mp- = member-profile)
   ========================================================================== */

.site-main--single-team {
  padding-top: var(--header-height);
}

/* ── HERO ─────────────────────────────────────────────────────────────────── */

.mp-hero {
  background: linear-gradient(160deg, #0a2540 0%, #0b3d6b 45%, #0574b8 100%);
  color: #ffffff;
  padding: 0 0 3.5rem;
  overflow: hidden;
  position: relative;
}

.mp-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), rgba(6, 147, 227, 0.3), var(--primary));
}

/* Breadcrumb */
.mp-hero__breadcrumb {
  padding: 1.75rem 0 2rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

.mp-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color var(--transition);
}

.mp-hero__breadcrumb a:hover {
  color: #ffffff;
}

.mp-hero__breadcrumb-sep {
  margin: 0 0.375rem;
}

.mp-hero__grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Photo */
.mp-hero__photo-col {
  display: flex;
  justify-content: center;
}

.mp-hero__photo-wrap {
  position: relative;
  width: 260px;
  flex-shrink: 0;
}

.mp-hero__photo-wrap::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 24px;
  background: radial-gradient(ellipse at center, rgba(6, 147, 227, 0.25) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.mp-hero__photo-wrap::after {
  content: '';
  position: absolute;
  inset: -6px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  pointer-events: none;
  z-index: 1;
}

.mp-hero__img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Info */
.mp-hero__info-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mp-hero__name {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.625rem;
  color: #ffffff;
}

.mp-hero__badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.3rem 0.875rem;
  border-radius: 100px;
  margin-bottom: 1rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.mp-hero__quote {
  margin: 0 0 1.75rem;
  padding: 0;
  border: none;
}

.mp-hero__quote p {
  font-size: 1rem;
  font-style: italic;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* Stats */
.mp-hero__stats {
  display: flex;
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.mp-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.125rem;
  padding: 1rem 0.5rem;
  background: rgba(255, 255, 255, 0.05);
}

.mp-stat__number {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
}

.mp-stat__label {
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.6);
}

/* Hero CTA */
.mp-hero__cta {
  align-self: flex-start;
  background: #ffffff;
  color: var(--primary);
  border-color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.mp-hero__cta:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

/* ── SHARED SECTION HEAD ──────────────────────────────────────────────────── */

.mp-section-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.mp-section-head__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--primary);
  color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(6, 147, 227, 0.25);
}

.mp-section-head__icon svg {
  width: 22px;
  height: 22px;
}

.mp-section-head__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.mp-section-head__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--primary);
  border-radius: 100px;
  padding: 0 0.5rem;
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* ── ABOUT ────────────────────────────────────────────────────────────────── */

.mp-about {
  background: var(--bg-base);
}

.mp-about__body {
  max-width: 760px;
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--text-body);
}

.mp-about__body p {
  margin-bottom: 1.25rem;
}

.mp-about__body p:last-child {
  margin-bottom: 0;
}

/* ── APPROACH BANNER ──────────────────────────────────────────────────────── */

.mp-approach {
  padding: 4rem 0;
  background: var(--bg-section);
}

.mp-approach__inner {
  max-width: 960px;
  margin: 0 auto;
}

.mp-approach__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.mp-approach__title svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
  flex-shrink: 0;
}

.mp-approach__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.mp-approach__card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.75rem 1.75rem 4rem;
  transition: box-shadow var(--transition), transform var(--transition);
}

.mp-approach__card:hover {
  box-shadow: 0 8px 24px rgba(6, 147, 227, 0.12);
  transform: translateY(-2px);
}

.mp-approach__num {
  position: absolute;
  top: 1.5rem;
  left: 1.25rem;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 800;
  color: #ffffff;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(6, 147, 227, 0.3);
}

.mp-approach__card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.375rem;
}

.mp-approach__card-desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-body);
  margin: 0;
}

/* ── SPECIALIZATIONS ──────────────────────────────────────────────────────── */

.mp-specs {
  background: var(--bg-base);
}

.mp-specs__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.mp-spec-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.mp-spec-card:hover {
  border-color: var(--primary);
  box-shadow: 0 6px 24px rgba(6, 147, 227, 0.12);
  transform: translateY(-2px);
}

.mp-spec-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.375rem;
}

.mp-spec-card__desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* ── EDUCATION ────────────────────────────────────────────────────────────── */

.mp-edu {
  background: var(--bg-section);
}

.mp-edu__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 760px;
}

.mp-edu__item {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--primary);
  background: var(--bg-card);
  border-radius: 0 var(--radius-md, 8px) var(--radius-md, 8px) 0;
  margin-bottom: 0.5rem;
  transition: background var(--transition), box-shadow var(--transition);
}

.mp-edu__item:hover {
  background: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.mp-edu__year {
  flex-shrink: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary);
  min-width: 3rem;
}

.mp-edu__text {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-body);
}

/* ── METHODS ──────────────────────────────────────────────────────────────── */

.mp-methods {
  background: var(--bg-base);
}

/* ── COURSES ──────────────────────────────────────────────────────────────── */

.mp-courses {
  background: var(--bg-section);
}

/* ── GALLERY ──────────────────────────────────────────────────────────────── */

.mp-gallery {
  background: var(--bg-base);
}

.mp-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.mp-gallery__item {
  border-radius: var(--radius-md, 8px);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s ease;
}

.mp-gallery__item:hover {
  box-shadow: var(--shadow-lg);
}

.mp-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.mp-gallery__item:hover img {
  transform: scale(1.05);
}

/* ── TESTIMONIALS ─────────────────────────────────────────────────────────── */

.mp-testimonials {
  background: var(--bg-section);
}

.mp-testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.mp-review {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  overflow: hidden;
}

.mp-review::before {
  content: '\201C';
  position: absolute;
  top: -0.25rem;
  right: 1rem;
  font-size: 5rem;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
  pointer-events: none;
}

.mp-review__stars {
  display: flex;
  gap: 0.125rem;
  margin-bottom: 0.75rem;
  color: #f59e0b;
}

.mp-review__stars svg {
  width: 18px;
  height: 18px;
}

.mp-review__text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-body);
  font-style: italic;
  margin-bottom: 1rem;
}

.mp-review__author {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-primary);
}

.mp-review__author::before {
  content: '— ';
  color: var(--text-muted);
}

/* ── PRACTICAL INFO ───────────────────────────────────────────────────────── */

.mp-practical {
  background: var(--bg-base);
}

.mp-practical__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.mp-practical__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.mp-practical__card-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.mp-practical__card-title svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.mp-practical__card-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mp-practical__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.5rem 0.625rem;
  border-radius: 6px;
  transition: background var(--transition);
}

.mp-practical__row:hover {
  background: var(--primary-light);
}

.mp-practical__day {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.mp-practical__time {
  font-size: 0.875rem;
  color: var(--text-body);
}

.mp-practical__ins {
  font-size: 0.875rem;
  color: var(--text-body);
  padding: 0.375rem 0;
  border-bottom: 1px solid var(--border);
}

.mp-practical__ins:last-child {
  border-bottom: none;
}

/* ── CTA ──────────────────────────────────────────────────────────────────── */

.mp-cta {
  background: linear-gradient(160deg, #0a2540 0%, #0b3d6b 45%, #0574b8 100%);
  padding: 4.5rem 0;
  position: relative;
}

.mp-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), rgba(6, 147, 227, 0.3), var(--primary));
}

.mp-cta__inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.mp-cta__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.mp-cta__text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.mp-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.mp-cta__actions .btn--primary {
  background: #ffffff;
  color: var(--primary);
  border-color: #ffffff;
}

.mp-cta__actions .btn--primary:hover {
  background: rgba(255, 255, 255, 0.9);
}

.mp-cta__actions .btn--outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.mp-cta__actions .btn--outline:hover {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.1);
}

/* ── RESPONSIVE ───────────────────────────────────────────────────────────── */

@media (min-width: 768px) {
  .mp-hero {
    padding-bottom: 4.5rem;
  }

  .mp-hero__grid {
    flex-direction: row;
    align-items: center;
    gap: 3.5rem;
  }

  .mp-hero__photo-col {
    justify-content: flex-start;
  }

  .mp-hero__photo-wrap {
    width: 300px;
  }

  .mp-hero__name {
    font-size: 2.75rem;
  }

  .mp-stat__number {
    font-size: 1.75rem;
  }

  .mp-approach__grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .mp-gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .mp-testimonials__grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .mp-cta {
    padding: 5rem 0;
  }

  .mp-cta__title {
    font-size: 2rem;
  }

  .mp-cta__actions {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  .mp-hero__photo-wrap {
    width: 340px;
  }

  .mp-hero__name {
    font-size: 3rem;
  }

  .mp-hero__grid {
    gap: 5rem;
  }

  .mp-specs__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .mp-gallery__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .mp-section-head__title {
    font-size: 1.75rem;
  }
}

/* ==========================================================================
   GENERIC PAGE LAYOUT (GDPR, etc.)
   ========================================================================== */

.site-main--page {
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 4rem;
  min-height: 60vh;
}

.page-content__title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--primary);
}

.page-content__body {
  max-width: 800px;
  color: var(--text-body);
  line-height: 1.8;
  font-size: 0.9375rem;
}

.page-content__body h2,
.page-content__body h3,
.page-content__body h4 {
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.page-content__body h2 {
  font-size: 1.375rem;
  font-weight: 700;
}

.page-content__body h3 {
  font-size: 1.125rem;
  font-weight: 600;
}

.page-content__body p {
  margin-bottom: 1rem;
}

.page-content__body ul,
.page-content__body ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.page-content__body li {
  margin-bottom: 0.5rem;
}

.page-content__body a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-content__body a:hover {
  color: var(--primary-dark);
}

.page-content__body strong,
.page-content__body b {
  color: var(--text-primary);
  font-weight: 600;
}

.page-content__body em,
.page-content__body i {
  font-style: italic;
}

@media (min-width: 768px) {
  .site-main--page {
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 5rem;
  }

  .page-content__title {
    font-size: 2.5rem;
  }

  .page-content__body {
    font-size: 1rem;
  }
}

/* Screen reader text (WordPress default class) */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.screen-reader-text:focus {
  display: block;
  width: auto;
  height: auto;
  padding: 0.75rem 1.5rem;
  clip: auto;
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  z-index: 100000;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-sm);
}


/* ==========================================================================
   404 ERROR PAGE
   ========================================================================== */

.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 70vh;
  padding: 8rem 1.5rem 4rem;
}

.error-page__code {
  font-size: 8rem;
  font-weight: 700;
  line-height: 1;
  color: var(--primary);
  opacity: 0.15;
  margin-bottom: -1rem;
}

.error-page__title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.error-page__text {
  font-size: 1.125rem;
  color: var(--text-body);
  max-width: 28rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .error-page__code {
    font-size: 12rem;
    margin-bottom: -2rem;
  }

  .error-page__title {
    font-size: 2.5rem;
  }
}
