/* Soprano — local design system. Colors match the current academy site. */
:root {
  --paper: #faf8f2;
  --paper-2: #fffdf8;
  --ink: #24211c;
  --muted: #686257;
  --line: #e4ded1;
  --accent: #ffcf32;
  --accent-2: #f2bd12;
  --gold: #8a6200;
  --radius: 28px;
  --max: 1180px;
  --shadow: 0 18px 50px rgba(36, 33, 28, 0.08);
  --sans: "Segoe UI", system-ui, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

button, input, select { font: inherit; color: inherit; }

button { cursor: pointer; }

button, a, input, select { -webkit-tap-highlight-color: transparent; }

a, button { touch-action: manipulation; }

:focus-visible {
  outline: 3px solid #a34629;
  outline-offset: 3px;
}

::selection { background: var(--accent); color: var(--ink); }

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

h1 { font-size: clamp(48px, 6vw, 84px); margin-bottom: 22px; }

h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--gold); }

h2 { font-size: clamp(34px, 4vw, 56px); margin-bottom: 16px; }

h3 { font-size: 28px; letter-spacing: -0.03em; margin-bottom: 10px; }

p { margin-bottom: 16px; }

.wrap { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  z-index: 80;
  padding: 12px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
}

.skip:focus { transform: none; }

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px max(20px, calc((100vw - var(--max)) / 2));
  background: rgba(250, 248, 242, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(228, 222, 209, 0.95);
}

.brand { flex-shrink: 0; }

.brand img { width: 158px; height: auto; }

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex: 1;
  font-size: 14px;
  font-weight: 600;
}

.nav a { padding: 8px 0; }

.nav a:hover { color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 16px; }

.langs { display: flex; gap: 2px; font-size: 12px; font-weight: 700; }

.langs a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.langs .current { background: var(--accent); }

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 20px;
  background: var(--accent);
  color: var(--ink);
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  transition: background 0.2s, transform 0.2s;
}

.btn:after { content: "↗"; font-size: 16px; font-weight: 500; }

.btn:hover { background: var(--accent-2); transform: translateY(-2px); }

.btn.ghost {
  background: transparent;
  border-color: #d9d1c2;
}

.btn.ghost:hover { background: #fff1bf; }

.btn.ink {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.btn.ink:hover { background: #3a342c; }

.btn:disabled { opacity: 0.65; cursor: wait; transform: none; }

.menu-btn, .nav-cta { display: none; }

.menu-btn {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s;
}

.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 54px 0 36px;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.eyebrow:before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  border-radius: 50%;
  background: currentColor;
  vertical-align: 1px;
}

.lead, .section-lead { color: var(--muted); max-width: 640px; }

.for { margin: 8px 0 0; font-size: 15px; }

.trial-note {
  margin: 22px 0;
  padding-left: 16px;
  border-left: 3px solid var(--accent);
}

.trial-note p { margin: 6px 0 0; color: var(--muted); font-size: 14px; max-width: 460px; }

.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }

.benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
}

.benefits li:before { content: "✓  "; color: var(--gold); font-weight: 700; }

.hero-photo { position: relative; }

.hero-photo img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  object-position: 42% center;
  border-radius: 180px 28px 28px 28px;
}

.hero-photo:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 28px -16px -16px 28px;
  background: var(--accent);
  border-radius: 180px 28px 28px 28px;
}

.hero-photo:after {
  content: "SOPRANO / KRAKÓW";
  position: absolute;
  top: 28px;
  right: 18px;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.22em;
  writing-mode: vertical-rl;
}

.badge {
  position: absolute;
  left: -18px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 86%;
  padding: 16px 18px;
  background: var(--accent);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.badge strong {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.badge small { max-width: 110px; font-size: 13px; line-height: 1.3; }

.section-strip {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 0;
  border-block: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-strip span:before { content: "✳"; margin-right: 10px; color: var(--gold); }

.panel { padding: 88px 0; }

.programs, .teachers, .steps, .stats, .gallery, .about, .contact, .cta {
  margin-top: 28px;
}

.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.card {
  display: flex;
  flex-direction: column;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}

.card:hover { transform: translateY(-6px); }

.card img { width: 100%; height: 250px; object-fit: cover; object-position: center 30%; }

.card > div { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }

.tag, .role, .extra {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.card p, .card li, .teacher p { color: var(--muted); font-size: 15px; }

.card ul { margin: 0 0 16px; padding-left: 18px; }

.card .note { margin-bottom: 16px; font-size: 13px; font-weight: 700; color: var(--ink); }

.text-link {
  margin-top: auto;
  align-self: flex-start;
  padding: 4px 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.text-link:hover { color: var(--gold); border-color: var(--gold); }

.trial-band {
  margin-top: 0;
  padding: 56px 48px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 32px;
}

.trial-band .section-lead,
.trial-band p { color: rgba(250, 248, 242, 0.76); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.step { padding-top: 18px; border-top: 1px solid rgba(255, 207, 50, 0.5); }

.num {
  display: block;
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: 40px;
  color: var(--accent);
}

.teachers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.teacher img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 140px 140px 18px 18px;
}

.teacher > div { padding-top: 16px; }

.teacher .role { margin-bottom: 8px; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 8px 0;
  border-block: 1px solid var(--line);
}

.stat { padding: 22px 18px; text-align: center; }

.stat + .stat { border-left: 1px solid var(--line); }

.stat strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.stat span { color: var(--muted); font-size: 14px; }

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 18px;
  align-items: start;
}

.gallery figure { margin: 0; }

.gallery figure:nth-child(2) { margin-top: 48px; }

.gallery img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 24px;
}

.gallery figure:last-child img {
  height: 440px;
  border-radius: 24px 24px 110px 24px;
}

.gallery figcaption { padding-top: 12px; color: var(--muted); font-size: 14px; }

.about {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.about img { width: 100%; height: 420px; object-fit: cover; border-radius: 28px; }

.about p { color: var(--muted); }

.cta {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 36px;
  align-items: center;
  padding: 48px;
  background: var(--accent);
  border-radius: 32px;
}

.cta .eyebrow { color: #6a4e00; }

.cta p { max-width: 520px; }

.points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.points li {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.cta-side .phone a { font-family: var(--serif); font-size: 28px; letter-spacing: -0.03em; }

.wa-link { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.contact {
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.8fr;
  gap: 40px;
  padding: 72px 0 40px;
}

.contact img { width: 150px; margin-bottom: 16px; }

.contact p, .contact h3 { font-family: var(--sans); }

.contact h3 { font-size: 16px; font-weight: 700; letter-spacing: 0; }

.contact p { color: var(--muted); font-size: 15px; }

.contact a:not(.phone) { text-decoration: underline; text-underline-offset: 3px; }

.contact .phone { font-family: var(--serif); font-size: 26px; letter-spacing: -0.03em; text-decoration: none; }

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer img { width: 110px; }

.footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }

.footer a:hover { color: var(--ink); }

.float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: flex;
  gap: 8px;
}

.float a {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--accent);
  border: 1px solid #e4b314;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(36, 33, 28, 0.16);
  font-size: 20px;
}

.float img { width: 26px; height: 26px; }

.lead-dialog {
  width: min(480px, calc(100vw - 28px));
  max-width: calc(100vw - 28px);
  padding: 0;
  border: 0;
  background: transparent;
}

.lead-dialog::backdrop { background: rgba(36, 33, 28, 0.62); }

.lead-card {
  position: relative;
  max-height: min(760px, calc(100vh - 28px));
  overflow: auto;
  padding: 28px 24px 24px;
  background: var(--paper-2);
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(36, 33, 28, 0.28);
}

.lead-card h2 { font-size: clamp(32px, 5vw, 42px); }

.modal-lead { color: var(--muted); font-size: 15px; }

.close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  font-size: 26px;
  line-height: 1;
}

.form { display: grid; gap: 14px; }

.form label:not(.check):not(.hp) {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
}

.form input:not([type="checkbox"]),
.form select {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #e4d7b0;
  border-radius: 14px;
  font-size: 16px;
}

.form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% - 3px), calc(100% - 14px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #574f3d;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); flex-shrink: 0; }

.check a { text-decoration: underline; text-underline-offset: 2px; }

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.status { min-height: 0; margin: 0; font-size: 14px; }

.status:empty { display: none; }

.status.ok { color: #3f5a28; font-weight: 700; }

.status.err { color: #922f23; font-weight: 700; }

.privacy { padding: 48px 0 80px; }

.privacy-top { max-width: 760px; margin-bottom: 28px; }

.privacy-top h1 { font-size: clamp(40px, 5vw, 68px); }

.updated { color: var(--muted); }

.privacy-note, .privacy-binding {
  max-width: 820px;
  margin-bottom: 22px;
  padding: 16px 18px;
  border-left: 3px solid #d9a400;
  background: #fff2c4;
  font-size: 14px;
}

.privacy-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 48px;
  margin-top: 28px;
}

.privacy-toc {
  position: sticky;
  top: 110px;
  align-self: start;
  font-size: 13px;
}

.privacy-toc strong { display: block; margin-bottom: 8px; }

.privacy-toc a { display: block; padding: 6px 0; color: var(--muted); }

.privacy-toc a:hover { color: var(--ink); }

.privacy-copy { max-width: 760px; }

.privacy-copy h2 {
  margin-top: 36px;
  font-family: var(--sans);
  font-size: 24px;
  letter-spacing: -0.03em;
}

.privacy-copy h3 { margin-top: 22px; font-size: 18px; }

.privacy-copy p, .privacy-copy li { color: #574f3d; font-size: 15px; }

.privacy-copy a { text-decoration: underline; text-underline-offset: 2px; }

.privacy-copy ul, .privacy-copy ol { padding-left: 22px; }

@media (max-width: 980px) {
  .header { flex-wrap: wrap; gap: 12px; }
  .header-actions { margin-left: auto; }
  .header-cta { display: none; }
  .menu-btn { display: inline-flex; order: 3; }
  .nav {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin: 0;
  }
  .header.menu-ready .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 8px 20px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .header.menu-ready .nav.is-open { display: flex; }
  .nav-cta { display: inline-flex; margin-top: 8px; }
  .hero, .about, .cta, .contact, .programs { grid-template-columns: 1fr 1fr; }
  .teachers { grid-template-columns: repeat(2, 1fr); }
  .hero-photo img { height: 520px; }
  .trial-band, .cta { padding: 32px 24px; }
  .privacy-layout { grid-template-columns: 1fr; }
  .privacy-toc { position: static; }
}

@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  h1 { font-size: 46px; }
  .panel { padding: 64px 0; }
  .hero, .about, .cta, .contact, .programs, .steps, .gallery, .stats {
    grid-template-columns: 1fr;
  }
  .hero { padding-top: 28px; gap: 28px; }
  .benefits { padding-right: 120px; }
  .hero-photo img { height: 420px; border-radius: 120px 20px 20px 20px; }
  .hero-photo:before { inset: 16px -8px -8px 16px; }
  .badge { left: 12px; }
  .gallery figure:nth-child(2) { margin-top: 0; }
  .gallery figure:last-child img, .gallery img, .about img { height: 280px; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat { display: flex; align-items: center; gap: 16px; text-align: left; }
  .stat strong { min-width: 120px; margin: 0; font-size: 30px; }
  .contact { padding-top: 48px; }
  .footer { align-items: flex-start; padding-bottom: 96px; }
  .hero-buttons .btn, .cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after {
    transition: none !important;
    animation: none !important;
  }
}
