:root {
  --dp-yellow: #FFD43B;
  --dp-blue: #165DCC;
  --dp-white: #FFFFFF;
  --dp-dark: #102A43;
  --dp-gray: #F5F7FB;
  --dp-text: #20314d;
  --dp-border: rgba(16, 42, 67, 0.08);
  --dp-shadow: 0 20px 45px rgba(17, 35, 57, 0.12);
  --dp-radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", Tahoma, sans-serif;
  background: var(--dp-white);
  color: var(--dp-text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(16, 42, 67, 0.05);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 80px;
  gap: 24px;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  color: var(--dp-dark);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--dp-yellow), #ffda6d);
  color: var(--dp-dark);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  box-shadow: var(--dp-shadow);
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.primary-nav a {
  font-size: 0.96rem;
  color: var(--dp-dark);
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  opacity: 1;
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav-toggle {
  display: none;
  background: transparent;
  color: var(--dp-dark);
  border: 1px solid var(--dp-border);
}

.btn,
button,
input[type="submit"],
input[type="button"] {
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.4rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
button:hover,
input[type="submit"]:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--dp-yellow);
  color: var(--dp-dark);
  box-shadow: 0 12px 24px rgba(255, 212, 59, 0.35);
}

.btn-secondary {
  background: var(--dp-blue);
  color: var(--dp-white);
  box-shadow: 0 12px 24px rgba(22, 93, 204, 0.25);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(16, 42, 67, 0.14);
  color: var(--dp-dark);
}

.hero {
  padding: 70px 0 40px;
  background: linear-gradient(180deg, rgba(255, 212, 59, 0.1), #fff 35%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 36px;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 4vw, 4.3rem);
  line-height: 1.1;
  color: var(--dp-dark);
  margin: 0 0 18px;
}

.hero-copy p {
  font-size: 1.08rem;
  max-width: 620px;
  margin: 0 0 28px;
  color: rgba(32, 49, 77, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.hero-stats {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  color: var(--dp-dark);
}

.stat {
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--dp-border);
  min-width: 120px;
}

.stat strong {
  display: block;
  font-size: 1.4rem;
}

.hero-visual {
  position: relative;
}

.preview-card {
  background: linear-gradient(160deg, #122a46, #1a4aa4);
  color: var(--dp-white);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--dp-shadow);
  position: relative;
  overflow: hidden;
}

.preview-card::before {
  content: "";
  position: absolute;
  inset: auto -30px -30px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 212, 59, 0.25);
}

.preview-card h3 {
  font-size: 1.5rem;
  margin: 0 0 18px;
}

.session-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
  padding: 16px 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.32rem 0.72rem;
  font-size: 0.8rem;
  background: rgba(255, 212, 59, 0.15);
  color: var(--dp-yellow);
  font-weight: 700;
}

.section {
  padding: 86px 0;
}

.section-header {
  margin-bottom: 28px;
  max-width: 700px;
}

.section-header h2 {
  margin: 0 0 10px;
  color: var(--dp-dark);
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.section-header p {
  margin: 0;
  color: rgba(32, 49, 77, 0.82);
}

.grid-3,
.grid-4 {
  display: grid;
  gap: 22px;
}

.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--dp-white);
  border: 1px solid var(--dp-border);
  border-radius: var(--dp-radius);
  padding: 24px;
  box-shadow: 0 14px 30px rgba(16, 42, 67, 0.05);
}

.icon-badge {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: rgba(22, 93, 204, 0.08);
  border-radius: 16px;
  color: var(--dp-blue);
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.card h3 {
  margin: 0 0 10px;
  color: var(--dp-dark);
}

.card p,
.card li {
  color: rgba(32, 49, 77, 0.82);
}

.course-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.course-card .meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(16,42,67,0.75);
}

.course-card ul {
  margin: 0;
  padding-left: 18px;
}

.course-card .course-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.course-price {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--dp-dark);
}

.accent-band {
  background: linear-gradient(135deg, rgba(255,212,59,0.14), rgba(22,93,204,0.08));
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 22px;
}

.step {
  background: var(--dp-gray);
  border: 1px solid var(--dp-border);
  border-radius: 24px;
  padding: 22px;
}

.step-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--dp-yellow);
  color: var(--dp-dark);
  font-weight: 800;
}

.review-wrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.review-card {
  background: var(--dp-white);
  border: 1px solid var(--dp-border);
  border-radius: 22px;
  padding: 24px;
}

.review-card .stars {
  color: var(--dp-yellow);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.faq-list {
  display: grid;
  gap: 18px;
}

.faq-item {
  background: var(--dp-gray);
  border: 1px solid var(--dp-border);
  border-radius: 20px;
  padding: 20px 22px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.contact-box {
  background: var(--dp-gray);
  border: 1px solid var(--dp-border);
  border-radius: 22px;
  padding: 28px;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.form-grid input,
.form-grid textarea,
.form-grid select,
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border: 1px solid rgba(16,42,67,0.12);
  background: var(--dp-white);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  font: inherit;
  color: var(--dp-text);
}

.site-footer {
  background: var(--dp-dark);
  color: rgba(255,255,255,0.85);
  padding: 32px 0 14px;
}

.site-footer .container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
  gap: 24px;
}

.site-footer h4,
.site-footer h3 {
  color: var(--dp-white);
  margin-top: 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  background: #25D366;
  color: var(--dp-white);
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  box-shadow: 0 18px 30px rgba(37, 211, 102, 0.35);
}

.page-shell,
.content-shell {
  padding: 64px 0 80px;
}

.page-shell .card,
.content-shell .card {
  padding: 34px;
}

.form-shell {
  max-width: 800px;
  margin: 0 auto;
}

.auth-card {
  background: var(--dp-white);
  border: 1px solid var(--dp-border);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--dp-shadow);
}

.auth-card h2 {
  margin-top: 0;
  color: var(--dp-dark);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.notice {
  border-radius: 16px;
  padding: 0.9rem 1rem;
  margin-bottom: 18px;
  font-weight: 600;
}

.notice-success {
  background: rgba(39, 174, 96, 0.1);
  color: #136a3d;
}

.notice-error {
  background: rgba(220, 38, 38, 0.08);
  color: #9b1c1c;
}

.notice-warning {
  background: rgba(255, 212, 59, 0.2);
  color: var(--dp-dark);
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.checkbox-field input {
  width: auto;
  margin-top: 0.4rem;
}

.dp-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.inline-form {
  display: inline-flex;
  margin: 0 0.5rem;
}

.inline-form .btn {
  padding: 0.45rem 0.8rem;
  font-size: 0.85rem;
}

.lesson-list,
.student-list {
  padding-left: 1.25rem;
}

.lesson-list li,
.student-list li {
  margin-bottom: 1rem;
}

.review-placeholder {
  text-align: center;
  color: rgba(32, 49, 77, 0.82);
}

.dp-demo-warning {
  margin-bottom: 24px;
  border-color: #b42318;
  background: #fff4f2;
}

.dp-demo-warning h1 {
  color: #8a1c13;
}

.dp-demo-meet {
  min-height: 420px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--dp-dark);
}

.dp-live-wrap {
  min-height: 100vh;
  padding: 24px;
  background: var(--dp-gray);
}

#dp-jitsi-frame {
  width: min(1200px, 100%);
  height: min(75vh, 800px);
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  background: var(--dp-dark);
}

.dp-live-wrap h1,
.dp-live-wrap > p {
  width: min(1200px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.mini-panel {
  background: var(--dp-gray);
  border: 1px solid var(--dp-border);
  border-radius: 18px;
  padding: 22px;
}

@media (max-width: 900px) {
  .grid-3,
  .grid-4,
  .steps,
  .review-wrap,
  .site-footer .container,
  .dashboard-grid,
  .contact-grid,
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .header-actions {
    margin-left: auto;
  }

  .nav-toggle {
    display: inline-flex;
    padding: 0.7rem 1rem;
  }

  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 16px;
    background: var(--dp-white);
    border-bottom: 1px solid var(--dp-border);
    box-shadow: var(--dp-shadow);
  }

  .primary-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .site-header .container {
    position: relative;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
