:root {
  --red: #b3141a;
  --red-dark: #8c0f14;
  --black: #14110f;
  --gold: #d9a441;
  --gold-dark: #b8860f;
  --cream: #fdfaf3;
  --paper: #f6f1e6;
  --ink: #2a2320;
  --ink-soft: #5c5249;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 17, 15, 0.12);
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--black);
  margin: 0 0 0.5em;
  line-height: 1.2;
}

p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-block { width: 100%; }

.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); box-shadow: 0 8px 20px rgba(179,20,26,0.35); }

.btn-outline { border-color: #fff; color: #fff; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,0.15); }

.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-dark); box-shadow: 0 8px 20px rgba(217,164,65,0.4); }

.btn-whatsapp { background: #22c35e; color: #fff; }
.btn-whatsapp:hover { background: #1ba851; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 250, 243, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(20,17,15,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: 'Poppins', sans-serif; font-size: 1.05rem; color: var(--black); }
.brand-text em { font-style: normal; font-size: 0.75rem; letter-spacing: 2px; color: var(--red); font-weight: 600; }

.main-nav { display: flex; gap: 28px; }
.main-nav a { font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.main-nav a:hover { color: var(--red); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .btn-whatsapp { padding: 9px 18px; font-size: 0.85rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--black); border-radius: 2px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--black) 0%, #241c17 55%, var(--red-dark) 130%);
  color: #fff;
  padding: 96px 0 72px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(217,164,65,0.35), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(179,20,26,0.4), transparent 50%);
  pointer-events: none;
}
.hero-inner { position: relative; text-align: center; max-width: 780px; }
.eyebrow {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gold);
  background: rgba(217,164,65,0.12);
  border: 1px solid rgba(217,164,65,0.4);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
  font-size: 0.85rem;
}
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); color: #fff; margin-bottom: 20px; }
.hero-sub { font-size: 1.08rem; color: rgba(255,255,255,0.85); max-width: 640px; margin: 0 auto 32px; }
.hero-ctas { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-flags { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

.flag-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
}
.flag-de { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.25); }
.flag-jp { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.25); }

/* ===== Career banner ===== */
.career-banner { background: var(--gold); color: var(--black); }
.career-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 24px;
  flex-wrap: wrap;
}
.career-icon { font-size: 2.4rem; }
.career-inner p { margin: 0; }
.career-sub { font-size: 0.9rem; color: #4a3a12; }
.career-inner .btn { margin-left: auto; background: var(--black); color: #fff; }
.career-inner .btn:hover { background: #000; }

/* ===== Sections ===== */
.section { padding: 84px 0; }
.section-alt { background: var(--paper); }
.section-eyebrow {
  color: var(--red);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin-bottom: 8px;
}
.section-eyebrow-light { color: var(--gold); }
.section h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-sub { color: var(--ink-soft); max-width: 640px; font-size: 1.02rem; }

/* ===== Courses ===== */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 36px;
}
.course-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--red);
}
.course-card:nth-child(2) { border-top-color: var(--gold); }
.course-flag { font-size: 2.2rem; margin-bottom: 8px; }
.course-cert { color: var(--ink-soft); font-weight: 600; margin-bottom: 18px; }
.course-list { margin-bottom: 26px; }
.course-list li {
  padding: 9px 0;
  border-bottom: 1px dashed rgba(20,17,15,0.12);
  font-size: 0.95rem;
}
.course-list li:last-child { border-bottom: none; }

/* ===== Why us ===== */
.badge-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin: 32px 0 48px;
}
.badge-card {
  flex: 1;
  min-width: 220px;
  background: #fff;
  border: 1px solid rgba(217,164,65,0.4);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
}
.badge-stars { color: var(--gold-dark); font-size: 1.2rem; margin-bottom: 8px; }
.badge-card h4 { margin: 0; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.feature {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.feature-icon { font-size: 1.8rem; margin-bottom: 12px; }
.feature h4 { margin-bottom: 8px; font-size: 1.05rem; }
.feature p { color: var(--ink-soft); font-size: 0.93rem; margin: 0; }

/* ===== Radio hook ===== */
.radio-section {
  background: linear-gradient(135deg, var(--red-dark), var(--red) 60%, #7d1a1a);
  color: #fff;
  padding: 90px 0;
}
.radio-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.radio-copy h2 { color: #fff; }
.radio-copy p { color: rgba(255,255,255,0.9); }
.radio-features { margin: 20px 0 28px; }
.radio-features li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: rgba(255,255,255,0.92);
}
.radio-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
.radio-note { font-size: 0.82rem; color: rgba(255,255,255,0.65); margin: 10px 0 0; }

.radio-mock {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 26px;
  backdrop-filter: blur(6px);
}
.radio-mock-bar {
  width: 60%;
  height: 10px;
  background: var(--gold);
  border-radius: 999px;
  margin-bottom: 22px;
}
.radio-mock-wave {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
  margin-bottom: 22px;
}
.radio-mock-wave span {
  flex: 1;
  background: rgba(255,255,255,0.85);
  border-radius: 4px;
  animation: wave 1.2s ease-in-out infinite;
}
.radio-mock-wave span:nth-child(odd) { height: 40%; animation-delay: 0.15s; }
.radio-mock-wave span:nth-child(even) { height: 75%; animation-delay: 0.35s; }
.radio-mock-wave span:nth-child(3n) { height: 55%; animation-delay: 0.55s; }
@keyframes wave {
  0%, 100% { transform: scaleY(0.6); }
  50% { transform: scaleY(1); }
}
.radio-mock-line { height: 10px; background: rgba(255,255,255,0.35); border-radius: 999px; margin-bottom: 10px; }
.radio-mock-line.short { width: 65%; }

/* ===== Schedule ===== */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 32px 0 24px;
}
.schedule-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  text-align: center;
}
.schedule-card .flag-chip { background: var(--paper); color: var(--ink); border: none; margin-bottom: 14px; }
.schedule-level { font-size: 1.3rem; font-weight: 700; color: var(--black); margin-bottom: 4px; }
.schedule-duration { color: var(--ink-soft); margin: 0; }

.schedule-banner, .fee-banner {
  background: var(--black);
  color: #fff;
  border-radius: var(--radius);
  padding: 20px 26px;
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.schedule-banner p, .fee-banner p { margin: 0; }
.fee-banner { background: var(--gold); color: var(--black); }

/* ===== Contact ===== */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-list { margin: 24px 0 28px; }
.contact-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(20,17,15,0.1);
  font-size: 0.98rem;
}
.contact-label { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1px; color: var(--red); font-weight: 700; margin-bottom: 2px; }

.contact-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 8px;
  border: 1px solid rgba(20,17,15,0.2);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--cream);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--red);
  outline-offset: 1px;
}
.form-status { text-align: center; font-size: 0.9rem; margin-top: 12px; min-height: 1.2em; }
.form-status.success { color: #1a7a3d; }
.form-status.error { color: var(--red); }

/* ===== Footer ===== */
.site-footer { background: var(--black); color: rgba(255,255,255,0.75); padding: 36px 0; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand strong { color: #fff; display: block; }
.footer-brand p { margin: 0; font-size: 0.85rem; }
.footer-copy { font-size: 0.82rem; margin: 0; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .radio-inner, .contact-inner { grid-template-columns: 1fr; }
  .radio-visual { order: -1; }
}

@media (max-width: 760px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-whatsapp { display: none; }
  .career-inner .btn { margin-left: 0; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 16px 24px 24px;
    gap: 14px;
    box-shadow: var(--shadow);
  }
}

@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .hero { padding: 76px 0 56px; }
}
