/* ============================================
   TENNIS COACH LANDING — CSS
   ============================================ */

:root {
  --green: #4CAF50;
  --green-dark: #388E3C;
  --green-light: #E8F5E9;
  --orange: #FF6B35;
  --orange-light: #FFF3E0;
  --blue: #2196F3;
  --dark: #1a1a2e;
  --dark-soft: #2d2d44;
  --gray-900: #212121;
  --gray-700: #616161;
  --gray-400: #BDBDBD;
  --gray-200: #EEEEEE;
  --gray-100: #F5F5F5;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section--alt {
  background: var(--gray-100);
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  color: var(--dark);
}

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

.section__lead {
  text-align: center;
  color: var(--gray-700);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 60px;
}

/* ===== HEADER ===== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: var(--transition);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--dark);
}

.logo__icon {
  color: var(--green);
  font-size: 1.5rem;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav__link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-700);
  transition: var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: var(--transition);
}

.nav__link:hover {
  color: var(--green);
}

.nav__link:hover::after {
  width: 100%;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== BUTTONS ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(76,175,80,0.35);
}

.btn--primary:hover {
  background: var(--green-dark);
  box-shadow: 0 6px 24px rgba(76,175,80,0.45);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}

.btn--outline:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--header {
  background: var(--green);
  color: var(--white);
  padding: 10px 24px;
  font-size: 0.85rem;
}

.btn--header:hover {
  background: var(--green-dark);
}

.btn--lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

/* ===== HERO ===== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26,26,46,0.3) 0%,
    rgba(26,26,46,0.65) 60%,
    rgba(26,26,46,0.9) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  padding-top: 120px;
  padding-bottom: 80px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  line-height: 1.5;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
}

/* ===== ДЛЯ КОГО ===== */

.for-whom__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.for-whom__card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow);
  border-top: 4px solid transparent;
  transition: var(--transition);
}

.for-whom__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.for-whom__card--kids {
  border-top-color: var(--green);
}

.for-whom__card--adults {
  border-top-color: var(--orange);
}

.for-whom__card-icon {
  margin-bottom: 20px;
}

.for-whom__card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--dark);
}

.for-whom__card-title span {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--gray-700);
  margin-left: 8px;
}

.for-whom__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.for-whom__list li strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--dark);
}

.for-whom__list li p {
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.55;
}

.for-whom__photo-hint,
.why-us__photo-hint,
.trust__photo-hint {
  display: none;
}

/* ===== ПОЧЕМУ МЫ ===== */

.why-us__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.why-us__card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.why-us__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.why-us__icon {
  margin-bottom: 20px;
}

.why-us__card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--dark);
}

.why-us__card p {
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.55;
}

.why-us__coach-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--green-dark);
  margin-bottom: 8px;
}

/* ===== ПРОГРАММЫ ===== */

.programs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.programs__card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.programs__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.programs__card--popular {
  border: 2px solid var(--green);
  box-shadow: var(--shadow-lg);
}

.programs__badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 18px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.programs__label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  margin-bottom: 8px;
}

.programs__name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--dark);
  margin-bottom: 16px;
}

.programs__price {
  font-size: 1rem;
  color: var(--gray-700);
  margin-bottom: 16px;
}

.programs__price strong {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--dark);
}

.programs__desc {
  color: var(--gray-700);
  font-size: 0.93rem;
  line-height: 1.55;
  margin-bottom: 20px;
}

.programs__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex-grow: 1;
}

.programs__features li {
  position: relative;
  padding-left: 24px;
  color: var(--gray-700);
  font-size: 0.9rem;
}

.programs__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.programs__card .btn {
  width: 100%;
}

/* ===== БЛОК ДОВЕРИЯ ===== */

.trust__inner {
  max-width: 800px;
}

.trust__content {
  text-align: left;
}

.trust__text {
  color: var(--gray-700);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.trust__stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

.trust__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.trust__stat-number {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 2rem;
  color: var(--green);
}

.trust__stat-label {
  font-size: 0.85rem;
  color: var(--gray-700);
  max-width: 140px;
}

/* ===== CTA ===== */

.cta {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-soft) 100%);
  text-align: center;
}

.cta__inner {
  max-width: 680px;
  margin: 0 auto;
}

.cta__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.2;
}

.cta__subtitle {
  color: rgba(255,255,255,0.7);
  font-size: 1.15rem;
  margin-bottom: 40px;
}

.cta__form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cta__form-group {
  display: flex;
  gap: 12px;
  width: 100%;
}

.cta__input {
  flex: 1;
  padding: 16px 20px;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.cta__input::placeholder {
  color: rgba(255,255,255,0.45);
}

.cta__input:focus {
  border-color: var(--green);
  background: rgba(255,255,255,0.12);
}

.cta__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='white' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.cta__select option {
  background: var(--dark);
  color: var(--white);
}

.cta__note {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  margin-top: 4px;
}

/* ===== FOOTER ===== */

.footer {
  background: var(--dark);
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
}

.footer__brand .logo__icon {
  color: var(--green);
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.footer__contacts a {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
}

.footer__contacts a:hover {
  color: var(--green);
}

.footer__contacts span {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}

.footer__copy {
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
}

.footer__dev {
  color: rgba(255,255,255,0.25);
  font-size: 0.7rem;
  transition: var(--transition);
}

.footer__dev:hover {
  color: rgba(255,255,255,0.5);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 968px) {
  .for-whom__grid,
  .why-us__grid,
  .programs__grid {
    grid-template-columns: 1fr;
  }

  .trust__stats {
    flex-direction: column;
    gap: 24px;
  }

  .cta__form-group {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    padding: 24px;
    gap: 20px;
    box-shadow: var(--shadow-lg);
  }

  .nav.open {
    display: flex;
  }

  .btn--header {
    display: none;
  }

  .burger {
    display: flex;
  }

  .hero__content {
    padding-top: 100px;
    padding-bottom: 60px;
    align-items: center;
    text-align: center;
  }

  .hero__title {
    text-align: center;
  }

  .hero__badges {
    justify-content: center;
  }

  .for-whom__card {
    padding: 28px 24px;
  }

  .footer__inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2rem;
  }

  .btn--lg {
    padding: 16px 28px;
    font-size: 0.95rem;
  }

  .programs__price strong {
    font-size: 1.4rem;
  }
}
