/* ============================================
   ANNA WIATROWSKA FITNESS – Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* --- Flash messages (formularze konta / koszyka) --- */
.flash { border-radius: 12px; padding: 14px 18px; margin-bottom: 20px; font-size: .9rem; line-height: 1.5; }
.flash--err { background: #FDE8E8; color: #C81E1E; }
.flash--ok  { background: #E6F7ED; color: #16794C; }

/* --- Variables --- */
:root {
  --pink:       #E8005A;
  --pink-dark:  #B8004A;
  --pink-light: #FFE8F0;
  --pink-mid:   #FF4D8D;
  --black:      #1A1A1A;
  --gray-900:   #2D2D2D;
  --gray-700:   #555555;
  --gray-400:   #999999;
  --gray-100:   #F7F7F7;
  --white:      #FFFFFF;
  --font-head:  'Outfit', sans-serif;
  --font-body:  'Inter', sans-serif;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow:     0 4px 24px rgba(232,0,90,0.10);
  --shadow-sm:  0 2px 12px rgba(0,0,0,0.08);
  --nav-h:      72px;
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* --- Typography --- */
h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { line-height: 1.7; color: var(--gray-700); }

.section-label {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 0.75rem;
  display: block;
}
.section-title { margin-bottom: 1rem; }
.section-intro { font-size: 1.1rem; color: var(--gray-700); max-width: 580px; line-height: 1.7; }

/* --- Layout Helpers --- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--alt { background: var(--gray-100); }
.section--pink { background: var(--pink-light); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  padding: 14px 32px; border-radius: 100px;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--pink); color: var(--white);
}
.btn--primary:hover { background: var(--pink-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--outline {
  background: transparent; color: var(--pink);
  border: 2px solid var(--pink);
}
.btn--outline:hover { background: var(--pink); color: var(--white); transform: translateY(-2px); }
.btn--white {
  background: var(--white); color: var(--pink);
}
.btn--white:hover { background: var(--pink-light); }

.btn--sm { padding: 8px 18px; font-size: .82rem; }
.btn--danger {
  background: #fff; color: #cc0000; border: 1.5px solid #f3c5c5;
}
.btn--danger:hover { background: #fdecec; border-color: #cc0000; transform: translateY(-1px); }

.btn[disabled],
.btn--danger[disabled] {
  background: #f2f2f2; color: #aaa; border-color: #eee;
  cursor: not-allowed; transform: none; box-shadow: none; pointer-events: auto;
}
.btn--danger[disabled]:hover { background: #f2f2f2; border-color: #eee; transform: none; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232,0,90,0.08);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px;
}
.nav__logo { display: flex; align-items: center; }
.nav__logo img { height: 44px; width: auto; }
.nav__logo-text {
  font-family: var(--font-head); font-weight: 800; font-size: 1.3rem;
  color: var(--pink);
  letter-spacing: -0.02em;
}
.nav__links {
  display: flex; align-items: center; gap: 36px;
}
.nav__links a {
  font-family: var(--font-head); font-size: 0.9rem; font-weight: 500;
  color: var(--gray-700);
  position: relative; padding-bottom: 2px;
  transition: color var(--transition);
}
.nav__links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 2px;
  background: var(--pink); transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.nav__links a:hover { color: var(--pink); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { margin-left: 16px; }
.nav__burger {
  display: none; flex-direction: column; gap: 5px; padding: 8px;
}
.nav__burger span {
  display: block; width: 24px; height: 2px; background: var(--black);
  border-radius: 2px; transition: var(--transition);
}
.nav__burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__burger.active span:nth-child(2) { opacity: 0; }
.nav__burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.nav__mobile {
  position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 999;
  flex-direction: column; align-items: center; justify-content: center; gap: 32px;
  display: none;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 700;
  color: var(--black); transition: color var(--transition);
}
.nav__mobile a:hover { color: var(--pink); }

/* ============================================
   PAGE HERO (sub-page headers: grafik, kalendarz, kontakt, etc.)
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, var(--pink-light) 0%, var(--white) 55%);
  padding: calc(var(--nav-h) + 40px) 0 48px;
  color: var(--black);
  border-bottom: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -8%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: var(--pink-light);
  opacity: .6;
  filter: blur(10px);
  z-index: 0;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero__title {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 8px 0 12px;
  color: var(--black);
}
.page-hero__sub {
  font-size: 1.05rem;
  color: var(--gray-700);
  max-width: 600px;
}

/* --- Breadcrumb --- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--gray-400);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--gray-700); text-decoration: none; }
.breadcrumb a:hover { color: var(--pink); }
.breadcrumb span { color: var(--gray-400); }

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100svh;
  padding-top: var(--nav-h);
  background: var(--white);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center;
}
.hero::before {
  content: '';
  position: absolute; top: 0; right: -5%; width: 55%; height: 100%;
  background: var(--pink);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 0;
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 48px;
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
  width: 100%;
}
.hero__content { padding: 48px 0; }
.hero__eyebrow {
  font-family: var(--font-head); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--pink); margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
}
.hero__eyebrow::before {
  content: ''; display: block; width: 32px; height: 2px; background: var(--pink);
}
.hero__title {
  font-size: clamp(2.8rem, 5.5vw, 4.4rem);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero__title em { font-style: normal; color: var(--pink); }
.hero__subtitle {
  font-size: 1.1rem; line-height: 1.7; color: var(--gray-700);
  max-width: 460px; margin-bottom: 40px;
}
.hero__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero__stats {
  display: flex; gap: 32px; margin-top: 48px;
  padding-top: 32px; border-top: 1px solid rgba(0,0,0,0.08);
}
.hero__stat-num {
  font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--pink);
  line-height: 1;
}
.hero__stat-label { font-size: 0.8rem; color: var(--gray-400); margin-top: 2px; }
.hero__image {
  position: relative; z-index: 1;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 40px 0 0;
}
.hero__image img {
  max-height: 580px; width: auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2));
}
.hero__badge {
  position: absolute; bottom: 40px; left: -20px;
  background: var(--white); border-radius: var(--radius);
  padding: 14px 18px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 10px;
}
.hero__badge-icon { font-size: 1.5rem; }
.hero__badge-text { font-family: var(--font-head); font-size: 0.85rem; font-weight: 600; }
.hero__badge-sub { font-size: 0.75rem; color: var(--gray-400); }

.instr-profile {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}

/* ============================================
   LOKALIZACJE (pills)
   ============================================ */
.locations-bar {
  background: var(--black); padding: 18px 0;
  overflow: hidden;
}
.locations-bar__track {
  display: flex; gap: 12px; align-items: center;
  animation: marquee 20s linear infinite;
  width: max-content;
}
.locations-bar__track:hover { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.locations-bar__item {
  font-family: var(--font-head); font-size: 0.85rem; font-weight: 500;
  color: rgba(255,255,255,0.7); white-space: nowrap;
  padding: 0 16px;
  display: flex; align-items: center; gap: 8px;
}
.locations-bar__item::before {
  content: '✦'; color: var(--pink); font-size: 0.6rem;
}

/* ============================================
   GRAFIK ZAJĘĆ
   ============================================ */
.schedule { padding: 96px 0; background: var(--white); position: relative; z-index: 1; }
.schedule__header { margin-bottom: 48px; }
.schedule__tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.schedule__tab {
  font-family: var(--font-head); font-size: 0.9rem; font-weight: 600;
  padding: 10px 22px; border-radius: 100px;
  min-width: 110px;
  text-align: center;
  border: 1.5px solid rgba(0,0,0,0.12);
  color: var(--gray-700);
  transition: var(--transition);
  cursor: pointer;
  background: var(--white);
}
.schedule__tab:hover { border-color: var(--pink); color: var(--pink); }
.schedule__tab.active {
  background: var(--pink); color: var(--white); border-color: var(--pink);
}

/* Category divider inside location */
.schedule__category-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--pink);
  background: var(--pink-light);
  padding: 4px 12px; border-radius: 100px;
  margin-bottom: 12px;
}

.schedule__panel { display: none; }
.schedule__panel.active { display: block; }

.schedule__location {
  background: var(--white); border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-lg); padding: 28px 32px;
  margin-bottom: 16px;
  transition: box-shadow var(--transition);
}
.schedule__location:hover { box-shadow: var(--shadow-sm); }
.schedule__loc-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; margin-bottom: 20px;
  padding-bottom: 16px; border-bottom: 1px solid rgba(0,0,0,0.06);
}
.schedule__loc-name {
  font-family: var(--font-head); font-size: 1.1rem; font-weight: 700;
  color: var(--black);
}
.schedule__loc-address {
  font-size: 0.82rem; color: var(--gray-400); margin-top: 3px;
  display: flex; align-items: center; gap: 4px;
}
.schedule__classes {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}
.schedule__class {
  background: var(--gray-100); border-radius: var(--radius);
  padding: 14px 16px;
  border-left: 3px solid var(--pink);
}
.schedule__class-name {
  font-family: var(--font-head); font-size: 0.9rem; font-weight: 700;
  color: var(--black); margin-bottom: 6px;
  position: relative;
}
.schedule__class-name.has-tip { cursor: help; }
.info-dot {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; margin-left: 4px;
  border-radius: 50%; background: var(--pink-light); color: var(--pink);
  font-size: 0.66rem; font-weight: 800; font-style: normal;
  font-family: var(--font-head); vertical-align: middle;
  border: 1.5px solid var(--pink);
  transition: var(--transition);
}
.schedule__class-name.has-tip:hover .info-dot,
.schedule__class-name.has-tip:focus .info-dot,
.schedule__class-name.has-tip.tip-open .info-dot {
  background: var(--pink); color: var(--white);
  transform: scale(1.08);
}
.class-tip {
  display: none;
  position: absolute; left: 0; bottom: calc(100% + 10px);
  z-index: 2000; width: 320px; max-width: 80vw;
  background: var(--white); color: var(--gray-900);
  border-radius: var(--radius); box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 14px 16px;
  font-family: var(--font-body); font-weight: 400;
  white-space: normal; line-height: 1.4;
}
.class-tip::after {
  content: ''; position: absolute; top: 100%; left: 16px;
  border: 7px solid transparent; border-top-color: var(--white);
}
.class-tip__desc { font-size: 0.8rem; color: var(--gray-700); }
.class-tip__instr {
  margin-top: 8px;
}
.class-tip__desc + .class-tip__instr { padding-top: 8px; border-top: 1px solid var(--gray-100); }
.class-tip__instr-label {
  display: block; font-size: 0.72rem; font-weight: 700;
  color: var(--pink-dark); text-transform: uppercase;
  letter-spacing: 0.04em; margin-bottom: 6px;
}
.class-tip__instr-list { display: flex; flex-direction: column; gap: 6px; }
.class-tip__instr-link {
  display: flex; align-items: center; gap: 10px;
  color: var(--gray-900); text-decoration: none;
  padding: 6px 5px; border-radius: 10px;
  transition: var(--transition);
}
.class-tip__instr-link:hover {
  background: var(--pink-light); color: var(--pink-dark);
}
.class-tip__instr-avatar {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  overflow: hidden; background: var(--pink-light);
  display: flex; align-items: center; justify-content: center;
}
.class-tip__instr-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.class-tip__instr-avatar span { font-size: 1rem; font-weight: 700; color: var(--pink); }
.class-tip__instr-name { font-size: 0.85rem; font-weight: 600; }
.schedule__class-name.has-tip:hover .class-tip,
.schedule__class-name.has-tip:focus .class-tip,
.schedule__class-name.has-tip.tip-open .class-tip {
  display: block;
}
@media (max-width: 600px) {
  .class-tip { left: 50%; transform: translateX(-50%); }
  .class-tip::after { left: 50%; transform: translateX(-50%); }
}
.schedule__class-times { display: flex; flex-direction: column; gap: 3px; }
.schedule__class-time {
  font-size: 0.8rem; color: var(--gray-700);
  display: flex; align-items: center; gap: 5px;
}
.schedule__class-time::before {
  content: ''; display: block; width: 4px; height: 4px;
  border-radius: 50%; background: var(--pink); flex-shrink: 0;
}
.schedule__class-time-instr {
  color: var(--pink-dark, var(--pink)); font-weight: 600;
  text-decoration: none;
}
.schedule__class-time-instr:hover { text-decoration: underline; }
.schedule__class-time-instr--tbd {
  color: var(--gray-400); font-weight: 400; font-style: italic;
}

/* Dance sub-section */
.schedule__section-sep {
  margin: 48px 0 32px;
  display: flex; align-items: center; gap: 16px;
}
.schedule__section-sep span {
  font-family: var(--font-head); font-size: 1rem; font-weight: 700;
  white-space: nowrap; color: var(--gray-900);
}
.schedule__section-sep::before,
.schedule__section-sep::after {
  content: ''; flex: 1; height: 1px; background: rgba(0,0,0,0.1);
}

/* ============================================
   OFERTA – KARTY ZAJĘĆ
   ============================================ */
.offer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.offer__card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.offer__card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--pink);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.offer__card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.offer__card:hover::before { transform: scaleX(1); }
.offer__card-icon {
  width: 48px; height: 48px;
  background: var(--pink-light); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 16px;
}
.offer__card-title {
  font-family: var(--font-head); font-size: 1.1rem; font-weight: 700;
  margin-bottom: 10px; color: var(--black);
}
.offer__card-desc {
  font-size: 0.88rem; line-height: 1.65; color: var(--gray-700);
}
.offer__card--dance { border-color: rgba(232,0,90,0.15); }
.offer__card--dance .offer__card-icon { background: rgba(232,0,90,0.1); }

/* ============================================
   CENNIK
   ============================================ */
.pricing { padding: 96px 0; }
.pricing__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px; margin-top: 48px;
}
.pricing__card {
  background: var(--white); border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-lg); padding: 32px 28px;
  text-align: center; transition: var(--transition);
  display: flex; flex-direction: column; gap: 8px;
  position: relative;
}
.pricing__card:hover { border-color: var(--pink); box-shadow: var(--shadow); }
.pricing__card.popular {
  border-color: var(--pink); border-width: 2px;
  background: linear-gradient(135deg, rgba(232,0,90,0.04), rgba(232,0,90,0.01));
}
.pricing__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--pink); color: var(--white);
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 16px; border-radius: 100px;
  white-space: nowrap;
}
.pricing__plan {
  font-family: var(--font-head); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--pink);
}
.pricing__price {
  font-family: var(--font-head); font-size: 2.6rem; font-weight: 800;
  color: var(--black); line-height: 1.1;
}
.pricing__price span { font-size: 1rem; font-weight: 500; color: var(--gray-400); }
.pricing__desc { font-size: 0.85rem; color: var(--gray-700); line-height: 1.5; }
.pricing__cta { margin-top: auto; padding-top: 20px; }

.pricing__info {
  background: var(--gray-100); border-radius: var(--radius-lg);
  padding: 32px; margin-top: 40px;
}
.pricing__info h4 {
  font-family: var(--font-head); font-size: 1rem; font-weight: 700;
  margin-bottom: 16px;
}
.pricing__info ol {
  list-style: decimal; padding-left: 20px; display: flex; flex-direction: column; gap: 8px;
}
.pricing__info li { font-size: 0.88rem; line-height: 1.6; color: var(--gray-700); }

/* ============================================
   INSTRUKTORKI
   ============================================ */
.instructors { padding: 96px 0; background: var(--gray-100); }
.instructors__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px; margin-top: 48px;
}
.instructor__card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; transition: var(--transition);
}
.instructor__card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.instructor__img {
  position: relative; aspect-ratio: 4/5; overflow: hidden;
  background: var(--pink-light);
}
.instructor__img img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform 0.4s ease;
}
.instructor__card:hover .instructor__img img { transform: scale(1.04); }
.instructor__img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; opacity: 0.3;
}
.instructor__accent {
  position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
  background: var(--pink);
}
.instructor__info { padding: 20px 24px 24px; }
.instructor__name {
  font-family: var(--font-head); font-size: 1.15rem; font-weight: 700;
  margin-bottom: 4px;
}
.instructor__title { font-size: 0.8rem; color: var(--pink); font-weight: 500; margin-bottom: 10px; }
.instructor__bio { font-size: 0.85rem; line-height: 1.65; color: var(--gray-700); }
.instructor__classes {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px;
}
.instructor__class-tag {
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 600;
  background: var(--pink-light); color: var(--pink);
  padding: 3px 10px; border-radius: 100px;
}

/* ============================================
   KONTAKT
   ============================================ */
.contact { padding: 96px 0; background: var(--white); }
.contact__grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px;
  align-items: start; margin-top: 48px;
}
.contact__info { display: flex; flex-direction: column; gap: 20px; }
.contact__card {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px; background: var(--gray-100); border-radius: var(--radius);
}
.contact__card-icon {
  width: 44px; height: 44px; background: var(--pink-light);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.contact__card-label {
  font-family: var(--font-head); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-400);
  margin-bottom: 4px;
}
.contact__card-value {
  font-family: var(--font-head); font-size: 1rem; font-weight: 600; color: var(--black);
}
.contact__card-value a { color: var(--pink); }
.contact__card-sub { font-size: 0.8rem; color: var(--gray-400); margin-top: 2px; }

.contact__how { margin-top: 32px; }
.contact__how h4 {
  font-family: var(--font-head); font-size: 1rem; font-weight: 700;
  margin-bottom: 16px;
}
.contact__steps { display: flex; flex-direction: column; gap: 12px; }
.contact__step {
  display: flex; align-items: flex-start; gap: 14px;
}
.contact__step-num {
  width: 28px; height: 28px; background: var(--pink); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 0.8rem; font-weight: 700;
  flex-shrink: 0; margin-top: 1px;
}
.contact__step p { font-size: 0.88rem; line-height: 1.6; }

/* Form */
.contact__form {
  background: var(--gray-100); border-radius: var(--radius-lg);
  padding: 36px;
}
.contact__form h3 {
  font-family: var(--font-head); font-size: 1.3rem; font-weight: 700;
  margin-bottom: 24px;
}
.form__group { margin-bottom: 18px; }
.form__label {
  display: block; font-size: 0.82rem; font-weight: 500; color: var(--gray-700);
  margin-bottom: 6px;
}
.form__input, .form__select, .form__textarea {
  width: 100%; padding: 12px 16px;
  background: var(--white); border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: 10px; font-family: var(--font-body); font-size: 0.92rem;
  color: var(--black); outline: none;
  transition: border-color var(--transition);
}
.form__input:focus, .form__select:focus, .form__textarea:focus {
  border-color: var(--pink);
}
.form__textarea { resize: vertical; min-height: 110px; }
.form__select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__message {
  display: none; padding: 12px 16px; border-radius: 10px;
  font-size: 0.88rem; font-weight: 500; margin-top: 14px;
}
.form__message.success { background: #e8f5e9; color: #2e7d32; display: block; }
.form__message.error   { background: #fce4ec; color: #c62828; display: block; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--gray-900); color: var(--white);
  padding: 56px 0 32px;
}
.footer__grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}
.footer__brand p {
  font-size: 0.88rem; line-height: 1.7;
  color: rgba(255,255,255,0.55); margin-top: 16px;
  max-width: 280px;
}
.footer__logo img { height: 40px; width: auto; display: block; margin-bottom: 4px; }
.footer__heading {
  font-family: var(--font-head); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-bottom: 16px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  font-size: 0.88rem; color: rgba(255,255,255,0.65);
  transition: color var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.footer__links a i { width: 14px; text-align: center; color: rgba(255,255,255,0.4); }
.footer__links a:hover i { color: var(--pink); }
.footer__links a:hover { color: var(--pink); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer__copy { font-size: 0.8rem; color: rgba(255,255,255,0.35); }
.footer__policy a { font-size: 0.8rem; color: rgba(255,255,255,0.35); transition: color var(--transition); }
.footer__policy a:hover { color: var(--pink); }
.footer__credit {
  color: var(--pink) !important;
  font-weight: 600;
  text-decoration: none;
}
.footer__credit:hover { text-decoration: underline; }
.footer__social a {
  color: rgba(255,255,255,0.6); font-size: .85rem;
  transition: color var(--transition);
}
.footer__social a:hover { color: var(--pink); }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero::before { right: 0; clip-path: none; width: 100%; opacity: 0.06; }
  .hero__inner { display: flex; flex-direction: column; }
  .hero__content { order: 2; padding: 24px 0 48px; }
  .hero__image { order: 1; padding: 24px 0 0; }
  .hero__image img { max-height: 420px; }
  .hero__eyebrow { justify-content: center; }
  .hero__subtitle { margin: 0 auto 40px; }
  .hero__actions { justify-content: center; }
  .hero__stats { justify-content: center; }
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .schedule { padding: 64px 0; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .schedule__classes { grid-template-columns: 1fr; }
  .schedule__tab { font-size: 0.82rem; padding: 8px 16px; }
  .pricing__grid { grid-template-columns: 1fr 1fr; }
  .instructors__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .form__grid { grid-template-columns: 1fr; }
  .instr-profile { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  :root { --nav-h: 64px; }
  h1 { font-size: 2.2rem; }
  .hero__image img { max-height: 320px; }
  .hero__stats { flex-direction: column; gap: 16px; }
  .pricing__grid { grid-template-columns: 1fr; }
  .instructors__grid { grid-template-columns: 1fr; }
  .offer__grid { grid-template-columns: 1fr; }
  .schedule__loc-header { flex-direction: column; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .locations-bar__track { animation: none; }
}

/* ============================================
   QUICK LINKS (homepage shortcut grid)
   ============================================ */
.quick-links { padding: 56px 0; }
.quick-links__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.quick-links__card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg, 16px);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.quick-links__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(232,0,90,.12);
  border-color: var(--pink-light);
}
.quick-links__icon {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--pink-light);
  color: var(--pink);
  font-size: 1.15rem;
  transition: var(--transition);
}
.quick-links__card:hover .quick-links__icon {
  background: var(--pink);
  color: var(--white);
}
.quick-links__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.quick-links__label {
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: .95rem;
  white-space: nowrap;
}
.quick-links__sub {
  font-size: .78rem;
  color: var(--gray-400);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.quick-links__arrow {
  margin-left: auto;
  color: var(--gray-400);
  font-size: .85rem;
  transition: var(--transition);
  flex: 0 0 auto;
}
.quick-links__card:hover .quick-links__arrow {
  color: var(--pink);
  transform: translateX(3px);
}

@media (max-width: 1024px) {
  .quick-links__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .quick-links__grid { grid-template-columns: repeat(2, 1fr); }
  .quick-links__card { padding: 16px; gap: 10px; }
  .quick-links__sub { display: none; }
  .quick-links__arrow { display: none; }
}
@media (max-width: 480px) {
  .quick-links__grid { grid-template-columns: 1fr; }
}

/* ============================================
   INSTRUCTORS PREVIEW (homepage)
   ============================================ */
.instructors-preview__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.instructors-preview__card {
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: block;
}
.instructors-preview__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 14px;
  background: var(--pink-light);
}
.instructors-preview__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}
.instructors-preview__card:hover .instructors-preview__photo img {
  transform: scale(1.06);
}
.instructors-preview__placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem;
  color: var(--pink);
  opacity: .5;
}
.instructors-preview__name {
  font-weight: 700;
  font-family: var(--font-heading);
}
.instructors-preview__title {
  font-size: .8rem;
  color: var(--gray-400);
  margin-top: 4px;
}

@media (max-width: 768px) {
  .instructors-preview__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .instructors-preview__photo { width: 96px; height: 96px; }
}