/* =========================================
   КАПІТАН — Школа судноводіїв
   Main Stylesheet
   ========================================= */

/* --- CSS Variables --- */
:root {
  --navy:       #0a1628;
  --navy-mid:   #0f2547;
  --navy-light: #1a3a6b;
  --accent:     #00c9ff;
  --accent-2:   #0080b3;
  --gold:       #f0a500;
  --white:      #ffffff;
  --off-white:  #f4f8ff;
  --gray-light: #e8eef8;
  --gray:       #8a9ab8;
  --text:       #1a2a45;
  --text-light: #4a5c7a;
  --success:    #22c55e;
  --error:      #ef4444;
  --tinted:     #f0f5ff;

  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Manrope', sans-serif;

  --radius:    12px;
  --radius-lg: 20px;
  --shadow:    0 4px 24px rgba(10, 22, 40, 0.10);
  --shadow-lg: 0 12px 48px rgba(10, 22, 40, 0.18);

  --container: 1200px;
  --transition: 0.25s ease;
}

/* --- Reset & Base --- */
*, *::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(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; transition: color var(--transition); }

ul { list-style: none; }

address { font-style: normal; }

/* --- Container --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn--primary {
  background: var(--accent);
  color: var(--navy);
  border-color: var(--accent);
}
.btn--primary:hover {
  background: #33d4ff;
  border-color: #33d4ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 201, 255, 0.40);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy-light);
}
.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.btn--header {
  background: var(--accent);
  color: var(--navy);
  border-color: var(--accent);
  padding: 10px 22px;
  font-size: 14px;
}
.btn--header:hover {
  background: #33d4ff;
  transform: translateY(-1px);
}

.btn--lg { padding: 16px 36px; font-size: 16px; border-radius: 10px; }
.btn--sm { padding: 8px 18px; font-size: 13px; }
.btn--full { width: 100%; }

.btn__loader { display: none; }
.btn.loading .btn__text { opacity: 0.6; }
.btn.loading .btn__loader {
  display: block;
  width: 18px; height: 18px;
  border: 2px solid rgba(10,22,40,0.3);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --- Section Shared --- */
.section { padding: 90px 0; }
.section--dark { background: var(--navy); color: var(--white); }
.section--tinted { background: var(--tinted); }

.section-header { text-align: center; max-width: 680px; margin: 0 auto 60px; }
.section-header--light .section-title,
.section-header--light .section-desc { color: var(--white); }
.section-header--light .section-eyebrow { color: var(--accent); }

.section-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.7;
}

/* =========================================
   HEADER
   ========================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background var(--transition);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo__icon { width: 40px; height: 40px; flex-shrink: 0; }
.logo__icon svg { width: 100%; height: 100%; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__main {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.1em;
  color: var(--white);
}
.logo__sub {
  font-size: 10px;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Nav */
.nav { flex: 1; display: flex; justify-content: center; }
.nav__list { display: flex; gap: 8px; }
.nav__link {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  border-radius: 6px;
  transition: all var(--transition);
}
.nav__link:hover { color: var(--white); background: rgba(255,255,255,0.08); }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 16px 0;
}
.mobile-nav.open { display: block; }
.mobile-nav__list { padding: 0 24px; }
.mobile-nav__link {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color var(--transition);
}
.mobile-nav__link:hover { color: var(--accent); }
.mobile-nav__cta {
  margin-top: 12px;
  color: var(--accent) !important;
  font-weight: 700;
  border-bottom: none !important;
}

/* =========================================
   HERO
   ========================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, #0d2d52 100%);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(0,120,180,0.25) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(0,201,255,0.10) 0%, transparent 50%);
}

/* Animated waves */
.hero__waves { position: absolute; bottom: 0; left: 0; right: 0; height: 200px; overflow: hidden; }
.wave {
  position: absolute;
  bottom: 0; left: -50%;
  width: 200%;
  height: 100%;
  border-radius: 40%;
  opacity: 0.06;
}
.wave--1 {
  background: var(--accent);
  animation: wave 9s linear infinite;
  bottom: -40px;
}
.wave--2 {
  background: var(--accent);
  animation: wave 12s linear infinite reverse;
  bottom: -60px;
  opacity: 0.04;
}
@keyframes wave {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Hero content */
.hero__content {
  position: relative;
  z-index: 2;
  padding: 80px 0;
  max-width: 680px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  animation: fadeInDown 0.7s ease both;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 7rem);
  letter-spacing: 0.04em;
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 24px;
  animation: fadeInDown 0.7s 0.1s ease both;
}
.hero__title--accent { color: var(--accent); }

.hero__desc {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 36px;
  animation: fadeInDown 0.7s 0.2s ease both;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
  animation: fadeInDown 0.7s 0.3s ease both;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 24px;
  animation: fadeInDown 0.7s 0.4s ease both;
}
.stat { display: flex; flex-direction: column; }
.stat__num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  line-height: 1;
}
.stat__label { font-size: 12px; color: rgba(255,255,255,0.55); font-weight: 500; margin-top: 4px; }
.stat__divider { width: 1px; height: 40px; background: rgba(255,255,255,0.15); }

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================================
   TRUST BAR
   ========================================= */
.trust-bar {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
}
.trust-bar__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.trust-bar__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  white-space: nowrap;
}
.trust-bar__items { display: flex; gap: 12px; flex-wrap: wrap; flex: 1; }
.trust-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
}

/* =========================================
   COURSES
   ========================================= */
.courses__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.course-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-light);
  background: var(--white);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.course-card--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent), var(--shadow);
}

.course-card__img {
  position: relative;
  height: 200px;
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.course-card__img-placeholder {
  color: rgba(255,255,255,0.4);
  font-size: 12px;
  text-align: center;
  padding: 16px;
  font-style: italic;
  line-height: 1.5;
  max-width: 80%;
}

.course-card__badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.course-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.course-card__level {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}

.course-card__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 10px;
}

.course-card__desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

.course-card__features {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
  flex: 1;
}
.course-card__features li {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

.course-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--gray-light);
  padding-top: 20px;
}

.course-card__price { display: flex; flex-direction: column; }
.price__old {
  font-size: 13px;
  color: var(--gray);
  text-decoration: line-through;
}
.price__new {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  color: var(--navy);
}

/* =========================================
   HOW IT WORKS
   ========================================= */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.step {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: background var(--transition);
}
.step:hover { background: rgba(255,255,255,0.08); }

.step__num {
  font-family: var(--font-display);
  font-size: 3rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 8px;
}
.step__icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.step__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 10px;
}
.step__desc {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.step__arrow {
  font-size: 1.4rem;
  color: var(--accent);
  opacity: 0.5;
  margin-top: 60px;
  flex-shrink: 0;
}

/* =========================================
   BENEFITS
   ========================================= */
.benefits__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.benefit-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.benefit-item__icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tinted);
  border-radius: 10px;
}
.benefit-item__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.benefit-item__desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

.benefits__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.benefits__img-placeholder {
  height: 480px;
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.35);
  font-size: 13px;
  text-align: center;
  padding: 32px;
  font-style: italic;
  line-height: 1.6;
  border-radius: var(--radius-lg);
}

.benefits__badge-float {
  position: absolute;
  bottom: 24px; left: -20px;
  background: var(--white);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  text-align: center;
}
.badge-float__num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--accent-2);
  letter-spacing: 0.04em;
  line-height: 1;
}
.badge-float__text {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-light);
  line-height: 1.4;
  margin-top: 4px;
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.testimonial-card--featured {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.testimonial-card__stars {
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 0.1em;
}

.testimonial-card__text {
  font-size: 15px;
  line-height: 1.7;
  color: inherit;
  flex: 1;
}
.testimonial-card--featured .testimonial-card__text { color: rgba(255,255,255,0.85); }

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-card__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy-light);
  flex-shrink: 0;
}
.testimonial-card--featured .testimonial-card__avatar { background: rgba(255,255,255,0.15); color: var(--white); }

.testimonial-card__name {
  font-size: 14px;
  font-weight: 700;
  font-style: normal;
  display: block;
}
.testimonial-card__course {
  font-size: 12px;
  color: var(--gray);
  display: block;
  margin-top: 2px;
}
.testimonial-card--featured .testimonial-card__course { color: rgba(255,255,255,0.5); }

/* =========================================
   CONTACT FORM
   ========================================= */
.form-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-start;
}

.form-perks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
}
.form-perk {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-2);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}

.form-group { margin-bottom: 20px; }
.form-group--checkbox { display: flex; flex-direction: column; gap: 6px; }

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.required { color: var(--error); }

.form-input {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--off-white);
  border: 1.5px solid var(--gray-light);
  border-radius: 8px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-input:focus {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(0, 128, 179, 0.15);
  background: var(--white);
}
.form-input.invalid { border-color: var(--error); }
.form-input.valid { border-color: var(--success); }

.form-select { cursor: pointer; 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='%238a9ab8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }

.form-textarea { resize: vertical; min-height: 88px; }

.form-error {
  font-size: 12px;
  color: var(--error);
  font-weight: 500;
  display: block;
  margin-top: 5px;
  min-height: 16px;
}

/* Checkbox */
.form-group--checkbox { flex-direction: row; align-items: flex-start; gap: 10px; }
.form-checkbox {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--accent-2);
}
.form-checkbox-label {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
  cursor: pointer;
  margin: 0;
}
.form-checkbox-label a { color: var(--accent-2); text-decoration: underline; }
.form-checkbox-label a:hover { color: var(--navy); }

/* Success state */
.form-success {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  box-shadow: var(--shadow);
  text-align: center;
}
.form-success__icon { font-size: 3rem; margin-bottom: 16px; }
.form-success__title {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 12px;
}
.form-success__text { font-size: 16px; color: var(--text-light); line-height: 1.6; }

/* =========================================
   CONTACTS
   ========================================= */
.contacts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.contact-block {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: background var(--transition);
}
.contact-block:hover { background: rgba(255,255,255,0.08); }

.contact-block__icon { font-size: 2rem; margin-bottom: 12px; }

.contact-block__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 10px;
}

.contact-block__value {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
  transition: color var(--transition);
}
.contact-block__value:hover { color: var(--accent); }
.contact-block__messenger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 5px 14px;
  font-size: 13px;
  margin: 3px;
  transition: background var(--transition);
}
.contact-block__messenger:hover { background: var(--accent); color: var(--navy) !important; }

.contact-block__note {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
  margin-top: 8px;
}

.contacts__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 280px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
}

.contacts__map-placeholder {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgba(255,255,255,0.35);
  font-size: 16px;
  line-height: 2;
}
.contacts__map-placeholder small { font-size: 13px; opacity: 0.7; }

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: #060f1f;
  color: var(--white);
  padding: 64px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer__brand {}
.footer__tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  margin-top: 16px;
  max-width: 280px;
}

.logo--footer .logo__main { font-size: 20px; }

.footer__social {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.social-link {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.07);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
  transition: all var(--transition);
}
.social-link:hover { background: var(--accent); color: var(--navy); }

.footer__nav-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer__nav-list { display: flex; flex-direction: column; gap: 10px; }
.footer__nav-list a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer__nav-list a:hover { color: var(--accent); }

.footer__address {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__address a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer__address a:hover { color: var(--accent); }
.footer__address p { font-size: 13px; color: rgba(255,255,255,0.45); }

/* Footer bottom */
.footer__bottom {
  padding: 20px 0;
  background: rgba(0,0,0,0.2);
}
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__copy { font-size: 13px; color: rgba(255,255,255,0.35); }
.footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__legal a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
.footer__legal a:hover { color: var(--accent); }

/* =========================================
   COOKIE BANNER
   ========================================= */
.cookie-banner {
  position: fixed;
  bottom: 20px; left: 20px; right: 20px;
  max-width: 640px;
  margin: 0 auto;
  background: var(--navy);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
  z-index: 9999;
  animation: slideUp 0.5s ease both;
  flex-wrap: wrap;
}
.cookie-banner.hidden { display: none !important; }

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.cookie-banner__title { font-weight: 700; }
.cookie-banner__content {
  flex: 1;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  min-width: 200px;
}
.cookie-banner__content a { color: var(--accent); text-decoration: underline; }

.cookie-banner__actions { display: flex; gap: 10px; flex-shrink: 0; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .courses__grid { grid-template-columns: 1fr 1fr; }
  .benefits__inner { grid-template-columns: 1fr; gap: 48px; }
  .benefits__visual { max-width: 500px; }
  .steps { flex-wrap: wrap; }
  .step { min-width: calc(50% - 8px); }
  .step__arrow { display: none; }
  .contacts__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav { display: none; }
  .btn--header { display: none; }
  .burger { display: flex; }

  .hero__content { padding: 48px 0; }
  .hero__stats { gap: 16px; }
  .stat__num { font-size: 1.6rem; }

  .courses__grid { grid-template-columns: 1fr; }

  .testimonials__grid { grid-template-columns: 1fr; }

  .form-section__inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-form { padding: 24px; }

  .contacts__grid { grid-template-columns: 1fr 1fr; }

  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
  .footer__legal { justify-content: center; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .btn--lg { width: 100%; }
  .hero__stats { flex-wrap: wrap; gap: 12px; }
  .stat__divider { display: none; }
  .step { min-width: 100%; }
  .contacts__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .cookie-banner { bottom: 10px; left: 10px; right: 10px; }
  .trust-bar__items { flex-direction: column; gap: 8px; }
}
