﻿/* Bentolio + DISKO palette — NATALYA ZUSMANOVA */
:root {
  --background: #030303;
  --orb: #14060f;
  --primary: #161116;
  --secondary: #221820;
  --accent: #e42e9c;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.68);
  --border: rgba(255, 255, 255, 0.14);
  --card-shadow: 0 8px 28px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --rounded: 20px;
  --gap: 12px;
  --max-width: 1440px;
  --font: 'Montserrat', system-ui, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--background);
  color: var(--text);
  line-height: 1.5;
  overflow-x: clip;
  position: relative;
  isolation: isolate;
}

/* Animated blurred orbs */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background: var(--background);
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  background: var(--orb);
  filter: blur(80px);
  opacity: 0.95;
  will-change: transform;
}

.bg-orb--1 {
  width: min(55vw, 520px);
  height: min(55vw, 520px);
  top: -8%;
  left: -6%;
  animation: orb-drift-1 22s ease-in-out infinite alternate;
}

.bg-orb--2 {
  width: min(48vw, 460px);
  height: min(48vw, 460px);
  top: 28%;
  right: -10%;
  animation: orb-drift-2 28s ease-in-out infinite alternate;
}

.bg-orb--3 {
  width: min(60vw, 580px);
  height: min(60vw, 580px);
  bottom: -12%;
  left: 18%;
  animation: orb-drift-3 26s ease-in-out infinite alternate;
}

.bg-orb--4 {
  width: min(36vw, 340px);
  height: min(36vw, 340px);
  top: 55%;
  left: 42%;
  animation: orb-drift-4 20s ease-in-out infinite alternate;
  filter: blur(70px);
}

@keyframes orb-drift-1 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(18vw, 14vh) scale(1.15); }
}

@keyframes orb-drift-2 {
  0%   { transform: translate(0, 0) scale(1.05); }
  100% { transform: translate(-16vw, 12vh) scale(0.9); }
}

@keyframes orb-drift-3 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(12vw, -16vh) scale(1.2); }
}

@keyframes orb-drift-4 {
  0%   { transform: translate(0, 0) scale(0.95); }
  100% { transform: translate(-10vw, -10vh) scale(1.25); }
}

@media (prefers-reduced-motion: reduce) {
  .bg-orb {
    animation: none;
  }
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* Layout */
.page-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--gap);
}

/* Bento grid — hero */
.bento-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
  margin-bottom: 20px;
}

@media (min-width: 1024px) {
  .bento-hero {
    grid-template-columns: 1.2fr 0.75fr 0.85fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "header header header"
      "intro portrait work"
      "about contact socials";
  }

  .bento-header { grid-area: header; }
  .bento-intro { grid-area: intro; min-height: 420px; }
  .bento-portrait { grid-area: portrait; min-height: 420px; }
  .bento-work { grid-area: work; min-height: 420px; }
  .bento-about { grid-area: about; }
  .bento-contact-cta { grid-area: contact; }
  .bento-socials { grid-area: socials; }

  .bento-hero > .bento-about,
  .bento-hero > .bento-contact-cta,
  .bento-hero > .bento-socials {
    align-self: stretch;
    min-height: 200px;
  }
}

.bento-card {
  background: var(--primary);
  border: 1px solid var(--border);
  border-radius: var(--rounded);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.bento-portrait:hover {
  transform: none;
  box-shadow: none;
}

.bento-portrait img {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-portrait:hover img {
  transform: scale(1.04);
}

.bento-header:hover {
  transform: none;
  box-shadow: none;
}

.bento-card--secondary {
  background: var(--secondary);
}

/* Header */
.bento-card.bento-header {
  overflow: visible;
  z-index: 5;
}

.bento-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-size: clamp(16px, 2.2vw, 22px);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  min-width: 0;
}

.logo em {
  font-style: italic;
  font-weight: 300;
}

.nav-desktop {
  display: none;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 20px;
  font-size: 13px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nav-desktop a:not(.nav-cta) {
  white-space: nowrap;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.nav-desktop a:not(.nav-cta):hover {
  opacity: 1;
}

.nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease, filter 0.25s ease;
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(228, 46, 156, 0.45);
  opacity: 1;
  filter: brightness(1.05);
}

.mobile-menu-btn {
  background: var(--accent);
  border: none;
  border-radius: 12px;
  width: 44px;
  height: 44px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  position: relative;
  z-index: 6;
  box-shadow: 0 4px 14px rgba(228, 46, 156, 0.4);
}

.mobile-menu-btn:hover {
  filter: brightness(1.05);
}

.mobile-menu-btn .material-symbols-outlined {
  font-size: 24px;
  color: #fff;
}

@media (min-width: 1024px) {
  .bento-header {
    padding: 24px 32px;
  }

  .nav-desktop {
    display: flex;
    gap: 16px 28px;
    font-size: 14px;
  }

  .nav-cta {
    padding: 12px 22px;
    font-size: 13px;
  }

  .mobile-menu-btn {
    display: none;
  }

  .mobile-nav,
  .mobile-nav-overlay {
    display: none !important;
  }
}

/* Intro */
.bento-intro {
  padding: 32px;
  padding-right: 100px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  gap: 24px;
}

.bento-intro-body {
  margin-top: auto;
}

.bento-intro h1 {
  font-size: clamp(28px, 4.2vw, 48px);
  font-weight: 700;
  line-height: 1.08;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  margin-bottom: 16px;
}

.bento-intro h1 em {
  font-style: italic;
  font-weight: 300;
}

.hero-sub {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text);
  max-width: 460px;
  margin-bottom: 12px;
}

.hero-desc {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 460px;
}

.hero-desc + .hero-desc {
  margin-top: 10px;
}

.bento-intro-badge {
  font-size: 14px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  opacity: 0.7;
}

.flower-icon,
.deco-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 48px;
  line-height: 1;
  width: auto;
  height: auto;
  color: var(--accent);
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
  font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 48;
}

.flower-icon,
.deco-icon--lg {
  font-size: 56px;
}

.deco-icon--sm {
  font-size: 36px;
  top: 16px;
  right: 16px;
  opacity: 0.45;
}

.deco-icon--inline {
  position: static;
  top: auto;
  right: auto;
  font-size: 32px;
  opacity: 0.7;
  color: var(--accent);
}

.section-head-card,
.content-card,
.form-card,
.testimonials-block,
.disko-gift-block,
.bento-about,
.bento-socials,
.faq-list-wrap {
  position: relative;
}

.section-head-card,
.content-card,
.form-card,
.testimonials-block,
.faq-list-wrap {
  padding-right: 72px;
}

@media (min-width: 768px) {
  .flower-icon,
  .deco-icon--lg {
    font-size: 72px;
    top: 24px;
    right: 24px;
  }

  .deco-icon:not(.deco-icon--sm):not(.deco-icon--inline) {
    font-size: 56px;
    top: 22px;
    right: 22px;
  }

  .deco-icon--sm:not(.deco-icon--inline) {
    font-size: 40px;
    top: 18px;
    right: 18px;
  }

  .bento-intro {
    padding-right: 120px;
  }

  .section-head-card,
  .content-card,
  .form-card,
  .testimonials-block,
  .faq-list-wrap {
    padding-right: 88px;
  }
}

/* Portrait */
.bento-portrait {
  min-height: 360px;
  position: relative;
}

.bento-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}

/* Work / Courses preview */
.bento-work {
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.work-featured {
  margin-bottom: 8px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.work-featured-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.work-featured-header h2 {
  font-size: 25px;
  font-weight: 500;
}

.arrow-link {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.arrow-link:hover {
  transform: translate(2px, -2px);
}

.work-featured-image {
  border-radius: 16px;
  overflow: hidden;
  flex: 1;
  min-height: 260px;
  aspect-ratio: 3 / 4;
  max-height: 360px;
  margin-bottom: 24px;
}

.work-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.work-list {
  list-style: none;
  margin-top: auto;
}

.work-item {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 20px 0;
}

.work-item:first-child {
  border-top: none;
}

.work-item button,
.work-item a {
  background: none;
  border: none;
  font-size: 25px;
  font-weight: 500;
  width: 100%;
  text-align: left;
  padding: 0;
  color: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.work-item button:hover,
.work-item a:hover {
  opacity: 1;
  transform: translateX(8px);
}

/* About card */
.bento-about {
  padding: 28px 32px;
  padding-right: 56px;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.circle-icon {
  display: none;
}

.bento-about-label,
.bento-contact-cta-label,
.bento-socials-label {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 10px;
}

.bento-about-text {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.55;
  max-width: 340px;
}

/* Contact CTA */
.bento-contact-cta {
  padding: 28px 32px;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
}

.bento-contact-cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(228, 46, 156, 0.22);
}

.bento-contact-cta-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.bento-contact-cta-top .deco-icon--inline {
  flex-shrink: 0;
}

.bento-contact-cta-body {
  margin-top: auto;
}

.bento-contact-cta-q {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.4;
  margin-bottom: 8px;
  opacity: 0.85;
}

.bento-contact-cta h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-top: 0;
}

.bento-contact-cta a {
  display: block;
}

/* Socials */
.bento-socials {
  padding: 28px 32px;
  padding-right: 56px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  min-height: auto;
}

.bento-socials-label {
  margin-bottom: 16px;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  font-size: 18px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: -0.01em;
  width: 100%;
}

.social-links a {
  display: block;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 0.25s ease, opacity 0.25s ease, color 0.25s ease, padding 0.25s ease;
}

.social-links a:first-child {
  border-top: none;
  padding-top: 0;
}

.social-links a:last-child {
  padding-bottom: 0;
}

.social-links a:hover {
  opacity: 1;
  color: var(--accent);
  transform: translateX(6px);
}

@media (min-width: 1024px) {
  .bento-socials {
    padding: 28px 32px;
  }
}

/* Section blocks below bento */
.section-block {
  padding: 16px 0 28px;
}

.section-block--tight-top {
  padding-top: 4px;
}

.section-head-card,
.content-card,
.courses-shell,
.faq-list-wrap {
  padding: 28px;
  margin-bottom: var(--gap);
}

.section-head-card {
  margin-bottom: 8px;
}

.courses-header {
  margin-bottom: 8px;
}

.section-title--sm {
  font-size: clamp(24px, 3vw, 32px);
}

.block-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
}

.bento-card--inner {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  margin-bottom: 16px;
}

.bento-card--inner:last-child {
  margin-bottom: 0;
}

.courses-shell {
  padding: 28px;
  margin-bottom: 0;
  overflow: visible;
}

.courses-shell.bento-card:hover {
  transform: none;
  border-color: var(--border);
  box-shadow: var(--card-shadow);
}

.courses-shell .course-tabs {
  margin-top: 0;
}

.media-card {
  padding: 0;
  overflow: hidden;
  min-height: 280px;
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.form-lead {
  margin-bottom: 24px;
}

.faq-icon {
  font-size: 40px;
  color: var(--accent);
  font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 48;
  opacity: 0.85;
}

.faq-list-wrap {
  padding: 24px 28px;
  margin-bottom: 0;
}

.faq-list-wrap .faq-item {
  background: var(--background);
}

.content-card {
  padding: 32px;
}

#form .form-card,
#form #contacts {
  margin-bottom: 0;
  height: auto;
}

#form .form-card {
  overflow: visible;
  position: relative;
  z-index: 2;
}

.section-label {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 520px;
}

/* Course tabs */
.course-tabs { margin-top: 0; }

.course-tab-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: visible;
  padding: 6px 4px 10px;
  margin-bottom: 20px;
  scrollbar-width: none;
}

.course-tab-bar::-webkit-scrollbar { display: none; }

.course-tab {
  flex-shrink: 0;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: var(--background);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.course-tab:hover:not(.active) {
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(228, 46, 156, 0.15);
}

.course-tab.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.course-tab-panel { display: none; }
.course-tab-panel.active { display: block; }

.segmented-control {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px 4px 4px;
}

.segment-btn {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: var(--background);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.segment-btn:hover:not(.active) {
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(228, 46, 156, 0.15);
}

.segment-btn.active {
  background: var(--accent);
  color: #fff;
}

.segment-panel { display: none; }
.segment-panel.active { display: block; }

.course-panel {
  background: rgba(0, 0, 0, 0.22);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.course-panel:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
  border-color: rgba(228, 46, 156, 0.15);
}

.course-panel:last-child {
  margin-bottom: 0;
}

.course-level {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.5;
  margin-bottom: 8px;
  display: block;
}

.course-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 4px;
}

.course-subtitle {
  font-size: 15px;
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 16px;
}

.course-desc {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.course-panel-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.course-price-chip {
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  background: var(--primary);
  border-radius: 999px;
}

.course-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease, background 0.25s ease, filter 0.25s ease;
}

.course-cta:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(228, 46, 156, 0.45);
  filter: brightness(1.05);
}

.course-cta-link {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.course-cta-link:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.course-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  padding: 4px 12px;
  background: var(--secondary);
  border-radius: 999px;
  margin-bottom: 12px;
}

.disko-gift-block {
  padding: 28px;
  padding-right: 56px;
  margin-bottom: 16px;
}

.disko-benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0;
}

.disko-benefits-list li {
  padding-left: 20px;
  position: relative;
  font-weight: 300;
}

.disko-benefits-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.disko-benefits-more summary {
  font-weight: 500;
  cursor: pointer;
  color: var(--accent);
  list-style: none;
}

.disko-benefits-more summary::-webkit-details-marker { display: none; }

.course-timeline-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
}

.course-timeline-list {
  list-style: none;
}

.course-timeline-grid {
  display: grid;
  gap: 0;
}

@media (min-width: 768px) {
  .course-timeline-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
  }
}

.course-timeline-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.course-timeline-num {
  font-size: 16px;
  font-weight: 700;
  opacity: 0.35;
  min-width: 40px;
}

.course-timeline-item strong {
  display: block;
  font-weight: 500;
  margin-bottom: 4px;
}

.course-timeline-item p {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted);
}

.course-timeline-bonus {
  border-left: 3px solid var(--accent);
  padding-left: 13px;
}

/* Certification */
.cert-grid {
  align-items: stretch;
}

.cert-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 0;
  height: 100%;
}

.cert-gallery {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  margin-bottom: 0;
  min-height: 320px;
  background: var(--primary);
  position: relative;
}

.cert-main {
  flex: 1;
  border: none;
  padding: 0;
  margin: 0;
  background: var(--background);
  border-radius: 14px;
  overflow: hidden;
  cursor: zoom-in;
  height: 100%;
  min-height: 280px;
  max-height: 420px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cert-main:hover {
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.14);
}

.cert-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  min-height: 280px;
  max-height: 420px;
  background: var(--background);
  border-radius: 0;
}

.cert-nav {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--background);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 1;
}

.cert-nav:hover {
  background: var(--secondary);
  transform: scale(1.05);
}

.cert-nav .material-symbols-outlined {
  font-size: 24px;
}

.cert-counter {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.85);
  padding: 4px 12px;
  border-radius: 999px;
  pointer-events: none;
}

/* Certificate lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 56px;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}

.lightbox-figure {
  position: relative;
  z-index: 1;
  max-width: min(900px, 92vw);
  max-height: 85vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.lightbox-figure img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 12px;
  background: var(--background);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.lightbox-figure figcaption {
  color: #fff;
  font-size: 14px;
  font-weight: 300;
  opacity: 0.85;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--primary);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--primary);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }

.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--secondary);
}

/* Two column sections */
.split-grid {
  display: grid;
  gap: var(--gap);
  align-items: stretch;
}

@media (min-width: 768px) {
  .split-grid { grid-template-columns: 1fr 1fr; }
}

.split-grid img {
  border-radius: var(--rounded);
  width: 100%;
}

.check-list {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 400;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.check-list li:hover {
  transform: translateX(4px);
}

.check-list .material-symbols-outlined {
  color: var(--accent);
  font-size: 22px;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 0;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, minmax(200px, 260px));
  }
  .gallery-item-large {
    grid-column: span 2;
    grid-row: span 2;
  }
  .gallery-item-wide {
    grid-column: span 1;
    grid-row: span 1;
  }
}

.gallery-item {
  border-radius: var(--rounded);
  overflow: hidden;
  background: var(--primary);
  min-height: 200px;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 200px;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

/* FAQ */
.faq-layout {
  display: grid;
  gap: var(--gap);
}

@media (min-width: 992px) {
  .faq-layout { grid-template-columns: 4fr 8fr; }
}

.faq-aside {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  min-height: 280px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

.faq-aside--dark {
  background: linear-gradient(160deg, #221820 0%, #14060f 100%) !important;
  color: #fff;
}

.faq-aside-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 80% 15%, rgba(228, 46, 156, 0.35) 0%, transparent 40%),
    radial-gradient(circle at 10% 85%, rgba(248, 175, 166, 0.2) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
}

.faq-aside--dark .section-title,
.faq-aside--dark .faq-icon {
  color: #fff;
}

.faq-aside-desc {
  color: rgba(255, 255, 255, 0.75) !important;
  max-width: 100%;
}

.faq-aside--dark .faq-cta {
  background: var(--accent);
  color: #fff;
  border: none;
}

.faq-aside--dark .faq-cta:hover {
  opacity: 0.9;
}

.faq-aside-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-aside .section-desc {
  max-width: 100%;
}

.faq-cta {
  width: fit-content;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.faq-cta .material-symbols-outlined {
  font-size: 18px;
}

.faq-group-title {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin: 24px 0 12px;
}

.faq-group-title:first-child { margin-top: 0; }

.faq-item {
  background: rgba(0, 0, 0, 0.22);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.1);
  border-color: rgba(228, 46, 156, 0.2);
}

.faq-item.active {
  border-color: rgba(228, 46, 156, 0.35);
  box-shadow: 0 8px 24px rgba(228, 46, 156, 0.1);
}

.accordion-header span:first-child {
  flex: 1;
  padding-right: 8px;
  line-height: 1.4;
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}

.accordion-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .accordion-body {
  grid-template-rows: 1fr;
}

.accordion-answer {
  overflow: hidden;
  min-height: 0;
  font-size: 15px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
  transition: padding 0.35s ease;
}

.faq-item.active .accordion-answer {
  padding-top: 14px;
}

.faq-item .material-symbols-outlined {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: var(--accent);
}

.faq-item.active .material-symbols-outlined {
  transform: rotate(180deg);
}

/* Testimonials */
.testimonials-block {
  padding: 28px;
}

.testimonials-block .section-label {
  margin-bottom: 8px;
}

.testimonials-block .section-title {
  margin-bottom: 24px;
}

.testimonials-wrap {
  position: relative;
  overflow: hidden;
  padding: 20px 52px 12px;
  background: transparent;
  border-radius: 16px;
}

.testimonials-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.testimonials-controls {
  display: contents;
}

.testimonial-slide {
  flex: 0 0 100%;
  padding: 0 8px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .testimonial-slide {
    flex: 0 0 33.333%;
  }
}

.testimonial-card {
  background: var(--secondary);
  border-radius: 14px;
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1);
}

.testimonial-card .material-symbols-outlined {
  color: var(--accent);
  font-size: 32px;
  margin-bottom: 12px;
}

.testimonial-card blockquote {
  font-style: italic;
  font-weight: 300;
  margin-bottom: 16px;
  line-height: 1.55;
  font-size: 15px;
}

.testimonial-footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
}

.testimonial-author {
  font-weight: 500;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.testimonial-role {
  font-size: 12px;
  color: var(--accent);
}

.testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--accent);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(228, 46, 156, 0.45);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.testimonial-nav .material-symbols-outlined {
  font-size: 28px;
  font-weight: 500;
}

.testimonial-prev { left: 0; }
.testimonial-next { right: 0; }

.testimonial-nav:hover {
  background: #ff4db8;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 28px rgba(228, 46, 156, 0.6);
}

.testimonial-nav:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

#testimonialDots {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  position: relative;
}

.testimonial-dot::before {
  content: '';
  position: absolute;
  inset: -10px;
}

.testimonial-dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

/* Form */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.form-card {
  padding: 32px;
  overflow: visible;
}

.form-card.bento-card:hover {
  overflow: visible;
}

.form-group input,
.form-group select {
  width: 100%;
  background: var(--background);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 300;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(228, 46, 156, 0.12);
}

/* Custom select dropdown */
.custom-select {
  position: relative;
  width: 100%;
  z-index: 1;
}

.custom-select.is-open {
  z-index: 60;
}

.custom-select-native {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.custom-select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--background);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 300;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.custom-select-trigger:hover {
  border-color: rgba(228, 46, 156, 0.35);
}

.custom-select.is-open .custom-select-trigger,
.custom-select-trigger:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(228, 46, 156, 0.12);
  outline: none;
}

.custom-select-value.is-placeholder {
  color: var(--text-muted);
}

.custom-select-chevron {
  font-size: 22px;
  color: var(--accent);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.custom-select.is-open .custom-select-chevron {
  transform: rotate(180deg);
}

.custom-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 50;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--background);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(255, 255, 255, 0.14);
  max-height: none;
  overflow: visible;
  animation: selectDrop 0.2s ease;
}

.custom-select-menu[hidden] {
  display: none !important;
}

@keyframes selectDrop {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.custom-select-menu li {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.custom-select-menu li:hover,
.custom-select-menu li.is-focused {
  background: var(--primary);
  color: var(--text);
}

.custom-select-menu li.is-selected {
  background: var(--secondary);
  color: var(--text);
  font-weight: 500;
}

.custom-select-menu li.is-selected::after {
  content: 'check';
  font-family: 'Material Symbols Outlined';
  float: right;
  color: var(--accent);
  font-size: 18px;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease, filter 0.25s ease;
}

.btn-submit:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(228, 46, 156, 0.45);
  filter: brightness(1.05);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.contact-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: var(--background);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-row:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.contact-row .material-symbols-outlined {
  color: var(--accent);
  font-size: 22px;
  flex-shrink: 0;
}

.contact-row strong {
  display: block;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.contact-row span {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted);
}

.map-wrap {
  border-radius: 16px;
  overflow: hidden;
  height: 220px;
  margin-top: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer */
.site-footer {
  margin-top: 8px;
  padding: 32px var(--gap) 40px;
  background: var(--primary);
  border-radius: var(--rounded) var(--rounded) 0 0;
  border-top: none;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  font-weight: 300;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.footer-links a {
  transition: opacity 0.2s ease, color 0.2s ease;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent);
}

.footer-logo {
  margin-bottom: 8px;
}

.footer-copy {
  font-size: 14px;
  font-weight: 300;
  opacity: 0.65;
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  padding: 16px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--background);
  border-radius: var(--rounded);
  max-width: 800px;
  width: 100%;
  max-height: 95vh;
  overflow-y: auto;
  padding: 32px;
  padding-top: 48px;
  position: relative;
  transform: scale(0.94) translateY(12px);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.modal-card::-webkit-scrollbar {
  display: none;
}

.modal-overlay.active .modal-card {
  transform: scale(1) translateY(0);
}

.modal-card h3 {
  font-size: 28px;
  font-weight: 700;
}

.modal-section h4 {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}

.modal-subtitle {
  color: var(--accent);
  font-size: 13px;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.modal-section {
  margin-bottom: 20px;
}

.modal-text,
.modal-list {
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
}

.modal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.modal-list .material-symbols-outlined {
  font-size: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.modal-program-item p {
  font-size: 14px;
  margin-top: 4px;
  color: var(--text-muted);
  font-weight: 300;
}

.modal-price {
  font-weight: 500;
  color: var(--text);
}

.modal-form {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-body {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.policy-body p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
}

.policy-body strong {
  color: var(--text);
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
}

.policy-body em {
  font-style: normal;
  font-weight: 500;
  color: var(--text);
}

.modal-program-item {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-program-num {
  font-weight: 700;
  opacity: 0.4;
  min-width: 32px;
}

.modal-image-container {
  margin: 16px 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--primary);
}

.modal-image-container img {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  margin: 0 auto;
}

.close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--text);
  border: none;
  border-radius: 50%;
  font-weight: 500;
  transition: background 0.2s, transform 0.2s;
  z-index: 2;
}

.close-btn:hover {
  background: var(--secondary);
  transform: scale(1.05);
}

.close-btn .material-symbols-outlined {
  font-size: 22px;
}

/* Mobile nav */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav {
  position: fixed;
  top: 12px;
  left: 12px;
  right: 12px;
  background: var(--primary);
  border: 1px solid var(--border);
  padding: 16px 20px 24px;
  z-index: 210;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-radius: var(--rounded);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, visibility 0.3s;
}

.mobile-nav[hidden],
.mobile-nav-overlay[hidden] {
  display: none !important;
}

.mobile-nav.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-nav-title {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.6;
}

.mobile-nav-close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  flex-shrink: 0;
}

.mobile-nav-close .material-symbols-outlined {
  font-size: 22px;
}

.mobile-nav a {
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.mobile-nav a:last-of-type,
.mobile-nav a.nav-cta {
  border-bottom: none;
}

.mobile-nav a.nav-cta {
  margin-top: 12px;
  padding: 14px 20px;
  text-align: center;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 500;
  font-size: 14px;
}

body.mobile-menu-open {
  overflow: hidden;
}

/* Animations */
.bento-card.hero-animate {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.65s ease forwards;
}

.bento-card.hero-animate:nth-child(1) { animation-delay: 0.05s; }
.bento-card.hero-animate:nth-child(2) { animation-delay: 0.12s; }
.bento-card.hero-animate:nth-child(3) { animation-delay: 0.19s; }
.bento-card.hero-animate:nth-child(4) { animation-delay: 0.26s; }
.bento-card.hero-animate:nth-child(5) { animation-delay: 0.33s; }
.bento-card.hero-animate:nth-child(6) { animation-delay: 0.40s; }
.bento-card.hero-animate:nth-child(7) { animation-delay: 0.47s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.bento-card,
.course-panel,
.faq-item,
.contact-row,
.testimonial-card,
.section-head-card,
.content-card,
.courses-shell,
.form-card,
.testimonials-block,
.faq-list-wrap,
.faq-aside {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
}

.section-head-card:hover,
.content-card:hover,
.form-card:hover,
.testimonials-block:hover,
.faq-list-wrap:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.courses-shell:hover {
  transform: none;
  border-color: var(--border);
  box-shadow: var(--card-shadow);
}

.faq-aside--dark:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
}

.course-tab,
.segment-btn,
.course-cta,
.btn-submit,
.nav-cta,
.testimonial-nav,
.testimonial-dot,
.mobile-nav-close,
.close-btn {
  transition: background 0.25s ease, border-color 0.25s ease, opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.course-cta:active,
.btn-submit:active,
.nav-cta:active,
.course-tab:active,
.segment-btn:active {
  transform: translateY(0) scale(0.97);
}

@media (hover: none) {
  .bento-card:hover,
  .course-panel:hover,
  .faq-item:hover,
  .section-head-card:hover,
  .content-card:hover {
    transform: none;
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .bento-card.hero-animate,
  .section-animate,
  .animate-in {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .testimonials-track,
  .accordion-body,
  .modal-card,
  .modal-overlay {
    transition: none;
  }
}

@media (max-width: 767px) {
  .page-wrap {
    padding: 8px;
  }

  .bento-hero {
    margin-bottom: 8px;
    gap: 8px;
  }

  .bento-header {
    padding: 16px 20px;
  }

  .bento-intro {
    padding: 24px;
    padding-right: 56px;
    min-height: 240px;
  }

  .bento-intro h1 {
    font-size: clamp(24px, 7vw, 32px);
  }

  .bento-portrait {
    min-height: 280px;
  }

  .bento-portrait img {
    min-height: 280px;
  }

  .bento-work {
    padding: 20px;
  }

  .work-featured-image {
    min-height: 200px;
    max-height: 280px;
    margin-bottom: 16px;
  }

  .work-item {
    padding: 14px 0;
  }

  .work-item button {
    font-size: 20px;
  }

  .bento-about,
  .bento-contact-cta,
  .bento-socials {
    padding: 24px;
  }

  .bento-about-text {
    font-size: 16px;
    max-width: none;
  }

  .social-links {
    font-size: 17px;
  }

  .bento-socials {
    justify-content: flex-end;
    align-items: stretch;
  }

  .section-block {
    padding: 10px 0 20px;
  }

  .section-head-card,
  .content-card,
  .courses-shell,
  .faq-list-wrap,
  .form-card,
  .testimonials-block {
    padding: 16px;
    margin-bottom: 8px;
  }

  .courses-header {
    margin-bottom: 8px;
  }

  .section-title {
    font-size: clamp(22px, 6vw, 28px);
  }

  .course-tab,
  .segment-btn {
    font-size: 12px;
    padding: 8px 14px;
  }

  .course-tab-bar {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .course-tab {
    flex: 1 1 auto;
    min-width: calc(33.333% - 8px);
    text-align: center;
  }

  .course-panel {
    padding: 20px;
  }

  .course-title {
    font-size: 22px;
  }

  .course-panel-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .course-cta {
    justify-content: center;
    width: 100%;
  }

  .cert-gallery {
    min-height: 240px;
    padding: 12px 8px 28px;
    gap: 4px;
  }

  .cert-main {
    min-height: 200px;
    max-height: 280px;
  }

  .cert-main img {
    min-height: 200px;
    max-height: 280px;
  }

  .cert-nav {
    width: 36px;
    height: 36px;
  }

  .lightbox {
    padding: 56px 12px 24px;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
  }

  .lightbox-prev { left: 4px; }
  .lightbox-next { right: 4px; }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .gallery-item-large,
  .gallery-item-wide {
    grid-column: span 1;
  }

  .gallery-item {
    min-height: 180px;
  }

  .gallery-item img {
    min-height: 180px;
  }

  .faq-layout {
    gap: 8px;
  }

  .faq-aside {
    min-height: auto;
    padding: 24px;
  }

  .faq-list-wrap {
    padding: 20px;
  }

  .accordion-header {
    font-size: 15px;
  }

  .testimonials-wrap {
    padding: 8px 0 4px;
  }

  .testimonials-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
  }

  .testimonial-nav {
    position: static;
    transform: none;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
  }

  .testimonial-nav:hover,
  .testimonial-nav:focus-visible {
    transform: scale(1.06);
  }

  .testimonial-prev,
  .testimonial-next {
    left: auto;
    right: auto;
  }

  #testimonialDots {
    margin-top: 0;
    flex: 1;
    max-width: 180px;
  }

  .testimonial-card {
    padding: 20px;
  }

  .bento-intro .deco-icon--lg {
    font-size: 40px;
  }

  .split-grid {
    gap: 8px;
  }

  .map-wrap {
    height: 180px;
  }

  .site-footer {
    padding: 24px 12px 32px;
    border-radius: 16px 16px 0 0;
  }

  .footer-inner {
    gap: 16px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .modal-card {
    padding: 24px;
    padding-top: 48px;
    max-height: 90vh;
  }

  .bento-contact-cta h2 {
    font-size: clamp(24px, 8vw, 32px);
  }
}
