@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Inter:wght@400;500;600;700&display=swap");

:root {
  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-surface: #0f172a;
  --color-muted: #475569;
  --color-border: #1e293b;
  --color-light: #e2e8f0;
  --color-background: #f8fafc;
  --shadow-soft: 0 20px 45px rgba(15, 23, 42, 0.12);
  --shadow-card: 0 15px 35px rgba(15, 23, 42, 0.1);
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--color-background);
  color: var(--color-surface);
  line-height: 1.6;
}

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

img {
  max-width: 100%;
  display: block;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(14px);
}

nav {
  margin: 0 auto;
  padding: 18px 32px;
  max-width: var(--max-width);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: #fff;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-weight: 500;
  color: var(--color-light);
}

.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.25s ease;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a:hover::after {
  width: 100%;
}

.cta-button {
  padding: 12px 26px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.35);
}

.cta-button:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.4);
}

.hero {
  padding: 120px 32px 110px;
  background: linear-gradient(125deg, #0f172a 0%, #1e293b 45%, #2563eb 100%);
  color: #f8fafc;
}

.hero-content {
  margin: 0 auto;
  max-width: var(--max-width);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 48px;
  align-items: center;
}

.hero-text h1 {
  font-family: "DM Sans", sans-serif;
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.1rem;
  max-width: 560px;
  color: rgba(226, 232, 240, 0.95);
}

.hero-tags {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.15);
  backdrop-filter: blur(12px);
  font-weight: 500;
  color: #e2e8f0;
}

.hero-media {
  position: relative;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  pointer-events: none;
}

.geometric-badge {
  position: absolute;
  bottom: -18px;
  left: 28px;
  padding: 12px 18px;
  border-radius: 18px;
  background: #0f172a;
  color: #e2e8f0;
  font-size: 0.9rem;
  box-shadow: var(--shadow-soft);
}

.section {
  padding: 92px 32px;
}

.section.light {
  background: #f1f5f9;
}

.container {
  margin: 0 auto;
  max-width: var(--max-width);
}

.section h2 {
  font-family: "DM Sans", sans-serif;
  font-size: clamp(2.1rem, 3vw, 2.8rem);
  margin-bottom: 18px;
  color: var(--color-surface);
}

.section-intro {
  font-size: 1.05rem;
  max-width: 720px;
  color: var(--color-muted);
  margin-bottom: 40px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  padding: 28px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.12);
}

.card h3 {
  margin-top: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 1.25rem;
  margin-bottom: 12px;
}

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

.step {
  padding: 28px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(37, 99, 235, 0.15);
  box-shadow: var(--shadow-card);
  position: relative;
}

.step-number {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 14px;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.benefit {
  display: flex;
  gap: 18px;
  padding: 26px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-card);
}

.benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(37, 99, 235, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.testimonial {
  padding: 30px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-card);
  font-size: 0.98rem;
  color: var(--color-muted);
}

.testimonial strong {
  display: inline-block;
  margin-top: 16px;
  color: var(--color-surface);
}

.cta-section {
  text-align: center;
}

footer {
  padding: 64px 32px 24px;
  background: #0f172a;
  color: #e2e8f0;
}

.footer-content {
  margin: 0 auto 36px;
  max-width: var(--max-width);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 0.95rem;
  color: rgba(226, 232, 240, 0.78);
}

.footer-bottom {
  margin: 0 auto;
  max-width: var(--max-width);
  border-top: 1px solid rgba(226, 232, 240, 0.12);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  font-size: 0.9rem;
  color: rgba(226, 232, 240, 0.72);
}

.page-hero {
  padding: 120px 32px 60px;
  background: linear-gradient(120deg, #0f172a 0%, #1e293b 60%, #2563eb 100%);
  color: #f8fafc;
}

.page-hero h1 {
  font-family: "DM Sans", sans-serif;
  font-size: clamp(2.4rem, 3.3vw, 3.2rem);
  margin-bottom: 12px;
}

.content-grid {
  display: grid;
  gap: 40px;
}

.content-grid.two-columns {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.content-grid ul {
  margin: 0;
  padding-left: 20px;
  color: var(--color-muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 36px;
  align-items: start;
}

.contact-card {
  padding: 26px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-card);
}

.contact-card h3 {
  margin-top: 0;
  font-family: "DM Sans", sans-serif;
}

form {
  display: grid;
  gap: 18px;
}

label {
  font-weight: 600;
  color: var(--color-surface);
}

input,
textarea,
select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

textarea {
  min-height: 160px;
  resize: vertical;
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.table thead {
  background: rgba(37, 99, 235, 0.12);
  color: var(--color-surface);
}

.table th,
.table td {
  padding: 18px 22px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  text-align: left;
}

.table tbody tr:hover {
  background: rgba(226, 232, 240, 0.3);
}

.list-block {
  display: grid;
  gap: 22px;
}

.module-card {
  padding: 26px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(37, 99, 235, 0.15);
  box-shadow: var(--shadow-card);
}

.module-card h3 {
  margin-top: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(37, 99, 235, 0.12);
  color: var(--color-primary);
}

.timeline {
  border-left: 3px solid rgba(37, 99, 235, 0.3);
  padding-left: 24px;
  display: grid;
  gap: 24px;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -35px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.18);
}

.instructors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.instructor-card {
  padding: 28px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.instructor-card h3 {
  margin-top: 0;
}

.badge-neutral {
  background: rgba(71, 85, 105, 0.14);
  color: var(--color-muted);
}

.legal-wrapper {
  display: grid;
  gap: 24px;
}

.legal-section {
  padding: 24px 28px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-card);
}

.legal-section h2,
.legal-section h3 {
  margin-top: 0;
  font-family: "DM Sans", sans-serif;
}

.legal-section p,
.legal-section ul,
.legal-section li {
  color: var(--color-muted);
}

.map-embed iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
}

@media (max-width: 960px) {
  nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  nav {
    padding: 16px;
  }

  .hero {
    padding: 100px 20px 80px;
  }

  .section {
    padding: 72px 20px;
  }

  footer {
    padding: 56px 20px 24px;
  }
}

