:root {
  --blue: #dc2626;
  --cyan: #e11d48;
  --red: #f43f5e;
  --dark: #ffffff;
  --dark2: #f8fafc;
  --white: #0f172a;
  --muted: #475569;
  --line: rgba(225, 29, 72, 0.15);
  --card-bg: #fff1f2;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: #ffffff;
  color: #0f172a;
  line-height: 1.6;
}

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin: auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -1.2px;
  color: #0f172a;
}

.brand-mark {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  font-weight: 1000;
  font-size: 1.6rem;
  line-height: 1;
  color: #ffffff;
  background: linear-gradient(135deg, #e11d48, #f43f5e);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
}

.brand .next {
  color: #e11d48;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #334155;
  font-size: 0.92rem;
  font-weight: 500;
}

nav a:hover, nav a.active {
  color: #e11d48;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 9px;
  background: linear-gradient(110deg, #e11d48, #f43f5e);
  color: #ffffff;
  font-weight: 700;
  border: 0;
  transition: 0.2s;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.25);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(225, 29, 72, 0.35);
}

.menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: #0f172a;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 1.2rem;
  cursor: pointer;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 90px;
  background: radial-gradient(ellipse at 80% 25%, #ffe4e6 0, transparent 40%),
              radial-gradient(ellipse at 10% 90%, #fff1f2 0, transparent 40%),
              #ffffff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 55px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: #e11d48;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.eyebrow:before {
  content: "";
  width: 26px;
  height: 2px;
  background: #f43f5e;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.3rem);
  line-height: 1.03;
  letter-spacing: -3px;
  margin: 20px 0;
  color: #0f172a;
}

.typed-text {
  border-right: 3px solid #e11d48;
  white-space: nowrap;
  animation: blink 0.75s step-end infinite;
}

@keyframes blink {
  from, to { border-color: transparent }
  50% { border-color: #e11d48; }
}

.gradient {
  background: linear-gradient(100deg, #e11d48, #f43f5e 60%, #fb7185);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p, .page-header p {
  max-width: 600px;
  color: #475569;
  font-size: 1.08rem;
  margin-bottom: 30px;
}

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-outline {
  border: 1px solid #cbd5e1;
  color: #0f172a;
  padding: 11px 19px;
  border-radius: 9px;
  font-weight: 700;
  background: #ffffff;
}

.btn-outline:hover {
  border-color: #e11d48;
  color: #e11d48;
  background: #fff1f2;
}

.hero-card {
  border: 1px solid rgba(225, 29, 72, 0.15);
  background: linear-gradient(145deg, #ffffff, #fff1f2);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 20px 60px rgba(225, 29, 72, 0.08);
  transform: rotate(1deg);
}

.orbit {
  height: 250px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle, #fff1f2 0, #ffe4e6 55%, #fecdd3 100%);
}

.big-x {
  font-size: 8rem;
  font-weight: 1000;
  line-height: 1;
  background: linear-gradient(135deg, #e11d48, #f43f5e 55%, #fb7185);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 10px 20px rgba(225, 29, 72, 0.15));
}

.card-caption {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 600;
}

section {
  padding: 82px 0;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 44px;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -1.5px;
  margin: 10px 0;
  color: #0f172a;
}

.section-head p {
  color: #475569;
}

.services {
  background: #fff5f5;
  border-top: 1px solid rgba(225, 29, 72, 0.08);
  border-bottom: 1px solid rgba(225, 29, 72, 0.08);
}

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

.service {
  padding: 27px;
  border: 1px solid rgba(225, 29, 72, 0.15);
  border-radius: 16px;
  background: #ffffff;
  transition: 0.25s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.service:hover {
  transform: translateY(-5px);
  border-color: #e11d48;
  box-shadow: 0 12px 30px rgba(225, 29, 72, 0.1);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  color: #e11d48;
  background: #fff1f2;
  border: 1px solid rgba(225, 29, 72, 0.2);
  margin-bottom: 18px;
}

.service h3 {
  font-size: 1.15rem;
  margin-bottom: 9px;
  color: #0f172a;
}

.service p {
  color: #475569;
  font-size: 0.92rem;
}

.training {
  background: linear-gradient(110deg, #fff1f2, #ffffff 55%, #ffe4e6);
}

.training-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.training h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin: 14px 0;
  color: #0f172a;
}

.training p {
  color: #334155;
  margin-bottom: 22px;
}

.course-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.course {
  padding: 15px;
  background: #ffffff;
  border: 1px solid rgba(225, 29, 72, 0.15);
  border-radius: 12px;
  font-weight: 650;
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.course span {
  display: block;
  color: #e11d48;
  font-size: 0.75rem;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-header {
  padding: 80px 0 40px;
  background: radial-gradient(ellipse at 50% 0%, #fff1f2 0, transparent 70%), #ffffff;
  text-align: center;
  border-bottom: 1px solid rgba(225, 29, 72, 0.08);
}

.page-header h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -2px;
  margin: 15px 0;
  color: #0f172a;
}

.content-section {
  padding: 60px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-card {
  background: #ffffff;
  border: 1px solid rgba(225, 29, 72, 0.15);
  padding: 35px;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.contact-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #0f172a;
}

.contact-card p {
  color: #475569;
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #0f172a;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  color: #0f172a;
  font-family: inherit;
  font-size: 0.95rem;
}

.form-control:focus {
  outline: none;
  border-color: #e11d48;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.1);
}

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

.cta {
  padding: 65px 25px;
  text-align: center;
  border: 1px solid rgba(225, 29, 72, 0.2);
  border-radius: 22px;
  background: radial-gradient(ellipse at 15% 0, #fff1f2 0, transparent 60%),
              radial-gradient(ellipse at 90% 100%, #ffe4e6 0, transparent 60%),
              #ffffff;
  box-shadow: 0 10px 30px rgba(225, 29, 72, 0.05);
}

.cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
  color: #0f172a;
}

.cta p {
  color: #475569;
  margin-bottom: 24px;
}

footer {
  padding: 35px 0;
  border-top: 1px solid rgba(225, 29, 72, 0.15);
  background: #f8fafc;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

footer p, footer a {
  color: #64748b;
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  gap: 20px;
}

@media (max-width: 800px) {
  nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid rgba(225, 29, 72, 0.15);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  }
  nav.open {
    display: flex;
  }
  .menu-btn {
    display: block;
  }
  .nav > .btn {
    display: none;
  }
  .hero {
    padding: 72px 0;
  }
  .hero-grid, .training-wrap, .contact-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .hero-card {
    max-width: 520px;
    width: 100%;
    margin: auto;
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 30px, 1160px);
  }
  .brand {
    font-size: 1.3rem;
  }
  .hero h1 {
    letter-spacing: -2px;
  }
  section {
    padding: 62px 0;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .course-list {
    grid-template-columns: 1fr 1fr;
  }
  .hero-card {
    padding: 16px;
  }
  .orbit {
    height: 210px;
  }
  .big-x {
    font-size: 6rem;
  }
  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }
}