:root {
  --bg: #f5f7fb;
  --bg-soft: #eef2f8;
  --ink: #0f172a;
  --ink-muted: #475569;
  --accent: #0ea5a4;
  --accent-bright: #38bdf8;
  --accent-warm: #f97316;
  --accent-deep: #1e3a8a;
  --card: rgba(255, 255, 255, 0.86);
  --card-strong: #ffffff;
  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.16);
  --shadow: 0 40px 80px rgba(15, 23, 42, 0.16);
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.08);
  --radius: 24px;
  --radius-sm: 16px;
  --max: 1160px;
  --section-top: clamp(5px, 5vw, 5px);
  --display: "Space Grotesk", "Noto Sans SC", sans-serif;
  --sans: "Noto Sans SC", "Space Grotesk", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: linear-gradient(120deg, #f7f9fc 0%, #eef4ff 45%, #fef4e8 100%);
  min-height: 100vh;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

button {
  font: inherit;
}

p {
  margin: 0 0 1rem;
  color: var(--ink-muted);
  font-size: 1rem;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 1rem;
  font-family: var(--display);
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.8rem, 4.6vw, 4.6rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2.2rem, 3.6vw, 3.4rem);
  font-weight: 600;
}

h3 {
  font-size: 1.45rem;
  font-weight: 600;
}

h4 {
  font-size: 1.15rem;
  font-weight: 600;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

section {
  padding: clamp(64px, 9vw, 120px) 0;
  position: relative;
  scroll-margin-top: 120px;
}

.loading {
  padding: 120px 0;
  text-align: center;
  font-size: 0.95rem;
  color: var(--ink-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.container {
  width: min(92vw, var(--max));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--accent-deep);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  z-index: 5;
}

.skip-link:focus {
  left: 16px;
}

.page-glow {
  position: fixed;
  inset: -20% -10% auto;
  height: 90%;
  background: radial-gradient(circle at 12% 12%, rgba(14, 165, 164, 0.28), transparent 55%),
    radial-gradient(circle at 80% 14%, rgba(56, 189, 248, 0.26), transparent 60%),
    radial-gradient(circle at 70% 80%, rgba(249, 115, 22, 0.22), transparent 65%);
  z-index: -2;
  pointer-events: none;
  opacity: 0.9;
}

.page-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
      90deg,
      rgba(15, 23, 42, 0.06) 0 1px,
      transparent 1px 56px
    ),
    repeating-linear-gradient(0deg, rgba(15, 23, 42, 0.05) 0 1px, transparent 1px 28px);
  opacity: 0.45;
  animation: grid-drift 28s linear infinite;
}

.page-glow::after {
  content: "";
  position: absolute;
  inset: -10% 0 0;
  background: linear-gradient(120deg, transparent 0%, rgba(14, 165, 164, 0.15) 50%, transparent 100%);
  opacity: 0.7;
  animation: glow-sweep 14s ease-in-out infinite;
}

.grain {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='0.12'/></svg>");
  mix-blend-mode: multiply;
  opacity: 0.08;
  pointer-events: none;
  z-index: -1;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
.gallery-item:focus-visible {
  outline: 3px solid rgba(14, 165, 164, 0.4);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 249, 255, 0.85);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(14, 165, 164, 0.45), rgba(249, 115, 22, 0.45), transparent);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-logo {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  object-fit: cover;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.2);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.brand-name {
  font-family: var(--display);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 600;
  white-space: nowrap;
}

.brand-subtitle {
  display: block;
  font-size: 0.95rem;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  text-transform: none;
}

.brand-subtitle:empty {
  display: none;
}

.nav {
  display: flex;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-soft);
}

.nav:empty {
  display: none;
}

.nav a {
  color: rgba(15, 23, 42, 0.68);
  position: relative;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
}

.nav a:hover,
.nav a:focus {
  color: var(--ink);
  background: rgba(14, 165, 164, 0.12);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  position: relative;
  overflow: hidden;
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.45) 50%, transparent 100%);
  transform: translateX(-120%);
  opacity: 0;
  pointer-events: none;
}

.button:focus-visible {
  outline: 3px solid rgba(14, 165, 164, 0.35);
  outline-offset: 4px;
}

.button.small {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

.button.primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-bright));
  color: #fff;
  box-shadow: 0 16px 32px rgba(14, 165, 164, 0.35);
}

.button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(14, 165, 164, 0.45);
}

.button.primary:hover::after {
  animation: button-shine 1.2s ease forwards;
}

.button.ghost {
  border-color: var(--border-strong);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.button.ghost:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-1px);
}

.hero {
  padding-top: var(--section-top);
  background: linear-gradient(145deg, rgba(238, 244, 255, 0.9) 0%, rgba(254, 245, 232, 0.85) 100%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% 0 0;
  background: radial-gradient(circle at 12% 20%, rgba(14, 165, 164, 0.18), transparent 55%),
    radial-gradient(circle at 85% 10%, rgba(249, 115, 22, 0.18), transparent 60%),
    repeating-linear-gradient(0deg, rgba(15, 23, 42, 0.05) 0 1px, transparent 1px 24px);
  opacity: 0.8;
  animation: staff-drift 16s linear infinite;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -40%;
  height: 60%;
  background: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.25), transparent 70%);
  opacity: 0.8;
  animation: wave-rise 10s ease-in-out infinite;
  z-index: 0;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: center;
}

.hero-copy {
  max-width: 560px;
}

.hero-copy .lead {
  font-size: 1.1rem;
  color: var(--ink-muted);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin: 2.2rem 0 2.6rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.stat {
  display: grid;
  gap: 0.3rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.stat-number {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-deep);
  font-family: var(--display);
}

.stat-label {
  font-size: 0.78rem;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-card {
  background: var(--card);
  border-radius: calc(var(--radius) + 6px);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.7);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(18px);
  animation: float-card 12s ease-in-out infinite;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(14, 165, 164, 0.12), transparent 60%),
    repeating-linear-gradient(90deg, rgba(15, 23, 42, 0.06) 0 1px, transparent 1px 16px);
  opacity: 0.6;
  pointer-events: none;
  animation: equalizer 18s linear infinite;
}

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

.piano-panel {
  border-radius: calc(var(--radius) - 4px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(230, 238, 252, 0.9));
  padding: 1.6rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.piano-keys {
  height: 220px;
  border-radius: 18px;
  background: repeating-linear-gradient(
      90deg,
      #f8fafc 0 20px,
      #f8fafc 20px 28px,
      #0f172a 28px 34px,
      #f8fafc 34px 52px
    ),
    linear-gradient(180deg, #ffffff, #e2e8f0);
  box-shadow: inset 0 -10px 22px rgba(15, 23, 42, 0.18);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.piano-keys::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(14, 165, 164, 0.18), transparent 65%);
  opacity: 0.7;
  animation: glow-sweep 12s ease-in-out infinite;
}

.piano-keys-photo {
  background-color: #f3f6fb;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.piano-caption {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.piano-caption span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.piano-caption strong {
  font-size: 1.1rem;
  color: var(--ink);
}

.hero-badges {
  display: grid;
  gap: 0.8rem;
}

.badge {
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.88);
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.badge-title {
  font-weight: 600;
  display: block;
}

.badge-subtitle {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-deep);
  margin-bottom: 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-warm));
}

.trusted {
  padding-top: 0;
  background: linear-gradient(120deg, rgba(238, 244, 255, 0.9), rgba(255, 248, 238, 0.85));
}

.trusted-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.trusted-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.trusted-cards .card {
  text-align: center;
  display: grid;
  gap: 0.6rem;
  align-content: center;
}

.trusted-cards .card h3,
.trusted-cards .card p {
  margin: 0;
}

.cert-logo {
  width: 240px;
  max-width: 70%;
  height: 110px;
  margin: 0 auto 0.8rem;
  display: block;
  object-fit: contain;
  filter: grayscale(0.1);
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.8rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.card.small {
  padding: 1.4rem;
}

.section-heading {
  max-width: 640px;
  margin-bottom: 2.2rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.8rem;
}

.programs,
.gallery,
.contact {
  padding-top: var(--section-top);
  isolation: isolate;
  overflow: hidden;
}

.programs::before,
.gallery::before,
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 18%, rgba(14, 165, 164, 0.18), transparent 60%),
    radial-gradient(circle at 82% 12%, rgba(56, 189, 248, 0.18), transparent 58%),
    radial-gradient(circle at 50% 90%, rgba(249, 115, 22, 0.14), transparent 62%);
  opacity: 0.7;
  filter: blur(6px);
  pointer-events: none;
  z-index: 0;
  transform-origin: center;
  animation: section-shadow 18s ease-in-out infinite;
}

.programs > .container,
.gallery > .container,
.contact > .container {
  position: relative;
  z-index: 1;
}

.program-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}

.program-media {
  width: 100%;
  min-height: 240px;
  border-radius: 0;
  background: linear-gradient(135deg, rgba(14, 165, 164, 0.25), rgba(56, 189, 248, 0.25));
  background-size: cover;
  background-position: center;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-muted);
  padding: 0.5rem;
}

.program-media-note {
  pointer-events: none;
}

.program-details h3 {
  margin-top: 0;
}

.program-details {
  padding: 1.6rem 1.8rem;
}

.list {
  display: grid;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--ink-muted);
  margin-top: 1.2rem;
}

.list li {
  padding-left: 1.6rem;
  position: relative;
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--accent), var(--accent-warm));
  box-shadow: 0 0 0 4px rgba(14, 165, 164, 0.12);
}

.approach {
  background: linear-gradient(120deg, rgba(240, 246, 255, 0.95) 0%, rgba(254, 246, 233, 0.9) 100%);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.6rem;
}

.pillar {
  padding: 1.4rem 1.5rem;
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.pillar::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-warm));
}

.pillar-title {
  font-weight: 600;
  display: block;
  margin-bottom: 0.4rem;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.outcome-list {
  display: grid;
  gap: 1.2rem;
  margin-top: 1.8rem;
}

.outcomes-panel {
  display: grid;
  gap: 1.2rem;
}

.panel-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.panel-card ul {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.8rem;
  color: var(--ink-muted);
}

.panel-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-deep);
}

.gallery {
  background: linear-gradient(130deg, rgba(14, 165, 164, 0.08), rgba(56, 189, 248, 0.16), rgba(249, 115, 22, 0.08));
}

.gallery-rows {
  display: grid;
  gap: 2rem;
}

.gallery-row {
  display: grid;
  gap: 0.9rem;
}

.gallery-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.gallery-row-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.gallery-row-track {
  --gallery-card-width: clamp(200px, 28vw, 260px);
  --gallery-card-height: clamp(150px, 22vw, 190px);
  display: flex;
  gap: 1.4rem;
  overflow-x: auto;
  padding-bottom: 0.6rem;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(14, 165, 164, 0.4) transparent;
}

.gallery-row-track::-webkit-scrollbar {
  height: 8px;
}

.gallery-row-track::-webkit-scrollbar-thumb {
  background: rgba(14, 165, 164, 0.4);
  border-radius: 999px;
}

.gallery-row-track::-webkit-scrollbar-track {
  background: transparent;
}

.gallery-item {
  border-radius: var(--radius-sm);
  flex: 0 0 var(--gallery-card-width, 220px);
  height: var(--gallery-card-height, 160px);
  background: linear-gradient(135deg, rgba(14, 165, 164, 0.3), rgba(30, 58, 138, 0.25));
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.03em;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.gallery-add {
  flex: 0 0 var(--gallery-card-width, 220px);
  height: var(--gallery-card-height, 160px);
  border: 1px dashed rgba(15, 23, 42, 0.25);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink-muted);
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
}

.gallery-add-row,
.gallery-remove-row {
  border: 1px dashed rgba(15, 23, 42, 0.28);
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink-muted);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}

.gallery-add-row {
  margin-top: 0.6rem;
}

.gallery-remove-row {
  font-size: 0.9rem;
}

.gallery-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 2;
}

.gallery-item:hover,
.gallery-item:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(27, 23, 19, 0.35);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.45) 100%);
}

.gallery-item span {
  position: relative;
  z-index: 1;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.gallery-item em {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  margin-top: 0.3rem;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.gallery-item.video {
  padding: 0;
  background: #0f172a;
}

.gallery-item.video::after {
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
}

.gallery-item.video iframe,
.gallery-item.video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
}

.gallery-item.video span,
.gallery-item.video em {
  position: absolute;
  left: 1rem;
  z-index: 1;
}

.gallery-item.video span {
  bottom: 1.8rem;
}

.gallery-item.video em {
  bottom: 0.9rem;
}

.gallery-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 25, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2.5rem);
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.gallery-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.gallery-overlay-content {
  width: min(95vw, 900px);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  background: #0f172a;
  position: relative;
  color: #f8fafc;
}

.gallery-overlay-close {
  position: absolute;
  top: 0.8rem;
  right: 0.9rem;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-overlay-media {
  min-height: clamp(220px, 45vh, 460px);
  background: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-overlay-media img,
.gallery-overlay-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-overlay-details {
  padding: 1.2rem 1.4rem 1.5rem;
  background: #0b1020;
  line-height: 1.5;
}

.gallery-overlay-details strong {
  display: block;
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
  letter-spacing: 0.04em;
}

.gallery-overlay-details p {
  margin: 0;
  color: rgba(248, 250, 252, 0.9);
  font-size: 0.95rem;
}

.gallery-overlay-details p:empty {
  display: none;
}

.testimonials {
  background: linear-gradient(120deg, rgba(244, 246, 255, 0.9) 0%, rgba(255, 244, 234, 0.95) 100%);
}

.card.quote {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quote-name {
  font-weight: 600;
  color: var(--accent-deep);
}

.lessons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.lesson-cards {
  display: grid;
  gap: 1.4rem;
}

.price {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-warm);
  margin: 1rem 0;
}

.card.highlight {
  border: 1px solid rgba(14, 165, 164, 0.4);
  box-shadow: 0 26px 60px rgba(14, 165, 164, 0.2);
  position: relative;
  overflow: hidden;
}

.card.highlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(56, 189, 248, 0.15), transparent 60%);
  pointer-events: none;
}

.text-link {
  color: var(--accent-deep);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.faq {
  background: linear-gradient(120deg, rgba(240, 246, 255, 0.95) 0%, rgba(255, 245, 235, 0.95) 100%);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2.5rem;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.3rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.faq-list summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--accent-deep);
}

.faq-list details[open] summary::after {
  content: "-";
}

.contact {
  padding-bottom: 90px;
  background: linear-gradient(135deg, rgba(244, 246, 255, 0.95) 0%, rgba(255, 245, 235, 0.95) 100%);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.contact-info {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  border: none;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  margin-top: 0.4rem;
  grid-auto-flow: dense;
  align-items: stretch;
}

.contact-details span {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--accent-deep);
}

.contact-details strong {
  display: block;
  margin-top: 0.3rem;
  font-size: 1rem;
  font-weight: 600;
}

.contact-item {
  padding: 1.2rem 1.3rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-item-wide {
  grid-column: 1 / -1;
}

.contact-left {
  grid-column: auto;
}

.contact-right {
  grid-column: auto;
  grid-row: auto;
  align-self: stretch;
}

.contact-combo-card {
  gap: 0.75rem;
}

.contact-line {
  display: grid;
  gap: 0.15rem;
}

.contact-compact-block .compact-line {
  display: grid;
  gap: 0.2rem;
}

.compact-line strong {
  font-size: 1rem;
}

.contact-social-card {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
  grid-column: auto;
  justify-content: center;
}

.contact-social-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  width: 100%;
}

.contact-hours .hours-list {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 0.5rem;
  row-gap: 0.25rem;
  font-weight: 600;
  align-items: baseline;
}

.contact-hours .hours-list li {
  display: contents;
}

.hours-day {
  text-transform: uppercase;
  white-space: nowrap;
}

.hours-time {
  text-indent: 0.1rem;
  white-space: nowrap;
}

.map-launch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.4rem;
  font-size: 0.9rem;
}

.map-launch a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink);
  font-weight: 600;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.18);
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  text-decoration: none;
  margin-top: 0.3rem;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.contact-icon.whatsapp {
  color: #25d366;
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.35);
}

.contact-icon.call {
  color: var(--accent);
  background: rgba(14, 165, 164, 0.12);
  border-color: rgba(14, 165, 164, 0.35);
}

.contact-icon.facebook {
  color: #1877f2;
  background: rgba(24, 119, 242, 0.12);
  border-color: rgba(24, 119, 242, 0.35);
}

.contact-icon.save {
  color: var(--accent-warm);
  background: rgba(249, 115, 22, 0.12);
  border-color: rgba(249, 115, 22, 0.35);
}

.contact-label {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--accent-deep);
}

.contact-social {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.contact-link-button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  margin-top: 0.3rem;
}

.contact-form {
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1.2rem;
}

.contact-form label {
  font-size: 0.9rem;
  color: var(--ink-muted);
  display: grid;
  gap: 0.5rem;
}

.contact-form input,
.contact-form textarea {
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  padding: 0.7rem 0.9rem;
  font-family: var(--sans);
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.9);
}

.form-note {
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 44px 0 24px;
  background-color: #0b1020;
  color: #f8fafc;
  line-height: 1.5;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(11, 16, 32, 0.88), rgba(11, 16, 32, 0.88)),
    var(
      --footer-bg-image,
      url("https://scontent.fkul5-2.fna.fbcdn.net/v/t39.30808-6/480838053_1171051791615421_4300724275327446319_n.jpg?_nc_cat=103&ccb=1-7&_nc_sid=cc71e4&_nc_ohc=MpZEqJl2LpsQ7kNvwF_Id-r&_nc_oc=AdlmmqfwgQWyIgH2orc9fZf1p7E6_QyYgFDEgtXU7HqfN_MFcLmU6d1u1PfM2kGXq3mUZpXEQhwOidyOCWWmIIp4&_nc_zt=23&_nc_ht=scontent.fkul5-2.fna&_nc_gid=Lpstk05DmY5ogef0dq9RrQ&oh=00_AfovFO849CQnDZ-WDjJerc-0PbBbIcOutvpJFgW_ScuyiQ&oe=69656DE2")
    );
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
      0deg,
      rgba(248, 250, 252, 0.06) 0 1px,
      transparent 1px 22px
    ),
    radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.18), transparent 40%);
  opacity: 0.5;
  z-index: 0;
}

.site-footer > * {
  position: relative;
  z-index: 1;
}

.site-footer p {
  color: rgba(248, 250, 252, 0.78);
  margin: 0 0 0.6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.7fr;
  gap: 2.5rem;
  align-items: start;
}

.footer-brand {
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
}

.footer-links a {
  color: rgba(248, 250, 252, 0.9);
}

.footer-meta {
  display: grid;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: rgba(248, 250, 252, 0.75);
}

.footer-hours {
  display: grid;
  gap: 0.25rem;
}

.footer-hours-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.65rem;
  color: rgba(248, 250, 252, 0.65);
}

.footer-hours-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 0.5rem;
  row-gap: 0.2rem;
  align-items: baseline;
}

.footer-hours-list li {
  display: contents;
}

.footer-bottom {
  border-top: 1px solid rgba(248, 250, 252, 0.1);
  margin-top: 1.2rem;
  padding-top: 0.7rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(248, 250, 252, 0.6);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

@keyframes section-shadow {
  0% {
    transform: translate3d(0, -1%, 0) scale(1);
    opacity: 0.55;
  }
  50% {
    transform: translate3d(1%, 1%, 0) scale(1.02);
    opacity: 0.85;
  }
  100% {
    transform: translate3d(0, -1%, 0) scale(1);
    opacity: 0.55;
  }
}

@keyframes grid-drift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 240px 0, 0 240px;
  }
}

@keyframes glow-sweep {
  0% {
    transform: translateX(-20%);
  }
  50% {
    transform: translateX(10%);
  }
  100% {
    transform: translateX(-20%);
  }
}

@keyframes wave-rise {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6%);
  }
}

@keyframes staff-drift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 160px;
  }
}

@keyframes equalizer {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 220px 0, 0 0;
  }
}

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

@keyframes button-shine {
  0% {
    transform: translateX(-120%);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    transform: translateX(120%);
    opacity: 0;
  }
}

@media (max-width: 1024px) {
  .nav {
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
  }

  .hero-grid,
  .outcomes-grid,
  .lessons-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .trusted-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 2.5rem;
  }

  .section-heading {
    margin-bottom: 1.8rem;
  }
}

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

  .program-card {
    grid-template-columns: 1fr;
  }

  .program-media {
    min-height: 200px;
  }

  .program-details {
    padding: 1.4rem 1.6rem;
  }
}

@media (max-width: 768px) {
  .nav-wrap {
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.25rem;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
  }

  .nav a {
    padding: 0.35rem 0.65rem;
  }

  .brand-logo {
    width: 58px;
    height: 58px;
  }

  .brand-name {
    font-size: clamp(0.95rem, 3vw, 1.05rem);
  }

  .brand-subtitle {
    font-size: 0.85rem;
  }

  section {
    padding: 56px 0;
  }

  .hero {
    padding-top: var(--section-top);
  }

  .hero-grid {
    gap: 2rem;
  }

  .hero-actions {
    margin: 1.6rem 0 2rem;
  }

  .hero-stats {
    gap: 1rem;
  }

  .piano-panel {
    padding: 1.2rem;
  }

  .piano-keys {
    height: 180px;
  }

  .card {
    padding: 1.5rem;
  }

  .section-heading {
    margin-bottom: 1.6rem;
  }

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

  .contact-item {
    padding: 1.05rem 1.15rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links,
  .footer-meta {
    justify-items: center;
  }
}

@media (max-width: 540px) {
  .brand-logo {
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }

  .brand-name {
    font-size: 0.9rem;
  }

  .brand-subtitle {
    font-size: 0.78rem;
    letter-spacing: 0.02em;
  }

  .nav {
    font-size: 0.7rem;
    letter-spacing: 0.04em;
  }

  .nav a {
    padding: 0.3rem 0.5rem;
  }

  section {
    padding: 48px 0;
  }

  .hero-grid {
    gap: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin: 1.3rem 0 1.6rem;
  }

  .button {
    width: 100%;
  }

  .hero-card {
    padding: 1.2rem;
  }

  .piano-panel {
    padding: 1rem;
  }

  .piano-keys {
    height: 150px;
  }

  .section-heading {
    margin-bottom: 1.2rem;
  }

  .card-grid {
    gap: 1.4rem;
  }

  .program-media {
    min-height: 170px;
  }

  .program-details {
    padding: 1.2rem;
  }

  .gallery-row-track {
    --gallery-card-width: clamp(160px, 75vw, 210px);
    --gallery-card-height: clamp(120px, 55vw, 165px);
    gap: 1rem;
  }

  .contact-item {
    padding: 0.95rem 1rem;
  }

  .site-footer {
    padding: 36px 0 20px;
  }

  .footer-grid {
    gap: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .nav a,
  .reveal,
  .gallery-item,
  .page-glow::before,
  .page-glow::after,
  .hero::before,
  .hero::after,
  .hero-card,
  .hero-card::before,
  .piano-keys::after,
  .programs::before,
  .gallery::before,
  .contact::before {
    transition: none;
    animation: none;
  }

  .gallery-row-track {
    scroll-behavior: auto;
  }
}
