*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #2e7d32;
  --primary-fg: #ffffff;
  --bg: #ffffff;
  --fg: #333333;
  --secondary: #f9f9f9;
  --muted: #666666;
  --border: #e5e5e5;
  --gold: #ffc107;
  --whatsapp: #25d366;
  --hl-green: #2e7d32;
  --hl-red: #c62828;
  --hl-blue: #1565c0;
}

body {
  font-family: sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.8;
  font-size: 1.25rem;
}

h1,
h2,
h3,
h4,
h5,
h6,
.btn,
.nav-links,
.logo-text-title,
.logo-text-sub,
.btn-cta-white,
.btn-cta-outline,
button,
input,
textarea {
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
}

.hl-green {
  color: var(--hl-green);
  font-weight: 700;
}
.hl-red {
  color: var(--hl-red);
  font-weight: 700;
}
.hl-blue {
  color: var(--hl-blue);
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}
button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ===== TOP BAR ===== */
.topbar {
  background: var(--primary);
  color: var(--primary-fg);
  padding: 0.5rem 0;
  font-size: 0.875rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar-social {
  display: flex;
  gap: 1rem;
}
.topbar-social a {
  opacity: 0.9;
  transition: opacity 0.2s;
}
.topbar-social a:hover {
  opacity: 1;
}
.topbar-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ===== MAIN NAV ===== */
.main-nav {
  background: var(--bg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}
.main-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.logo svg {
  height: 40px;
  width: 40px;
}
.logo-text-title {
  font-weight: 800;
  font-size: 1rem;
}
.logo-text-sub {
  font-size: 0.75rem;
  color: var(--muted);
}
.nav-links {
  display: flex;
  gap: 1.5rem;
  font-weight: 700;
}
.nav-links a {
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}
.nav-links a.active {
  border-bottom: 2px solid var(--primary);
  padding-bottom: 4px;
}
.menu-btn {
  display: none;
  background: none;
  padding: 0.5rem;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  will-change: auto;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(51, 51, 51, 0.45);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--fg);
  padding: 1rem;
  max-width: 750px;
}
.hero h1 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
  color: #fff;
  letter-spacing: -0.02em;
}
.hero h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  opacity: 0.95;
  color: #fff;
}
.hero p {
  font-size: 1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  color: #fff;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 0.875rem 2.5rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.125rem;
  transition:
    opacity 0.2s,
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.btn-primary {
  background: var(--primary);
  color: var(--primary-fg);
}
.btn-primary:hover {
  opacity: 0.9;
}
.btn-outline {
  border: 2px solid var(--primary-fg);
  color: var(--primary-fg);
  background: transparent;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ===== HERO BADGES & DISCOUNT ===== */
.hero-badges {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: nowrap;
}
.hero-badge {
  border: 2px solid;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 700;
  backdrop-filter: blur(5px);
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: pulse 3s ease-in-out infinite;
  will-change: transform, opacity;
}
.hero-badge::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 70%
  );
  animation: shimmer 4s infinite;
  will-change: transform;
}
.badge-attention {
  border-color: var(--gold);
  color: var(--gold);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  flex: 1;
}
.badge-attention::before {
  animation-delay: 0s;
}
.badge-brand {
  border-color: var(--whatsapp);
  color: var(--whatsapp);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.badge-brand::before {
  animation-delay: 1.5s;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.02);
    opacity: 0.92;
  }
}

/* ===== SECTIONS ===== */
.section {
  padding: 4rem 0;
}
.section-gray {
  background: var(--secondary);
}
.section-title {
  font-size: 2.5rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.section-subtitle {
  text-align: center;
  color: var(--muted);
  max-width: 800px;
  margin: 0 auto 3.5rem;
  font-size: 1.125rem;
}
/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-text p {
  color: var(--muted);
  margin-bottom: 1.25rem;
  font-size: 1.125rem;
  line-height: 1.8;
}
.about-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.about-portrait {
  position: relative;
}
.about-portrait-bg1 {
  position: absolute;
  inset: -1rem;
  background: rgba(27, 138, 58, 0.1);
  border-radius: 1.5rem;
  transform: rotate(3deg);
  transition: transform 0.4s ease;
}
.about-portrait-bg2 {
  position: absolute;
  inset: -1rem;
  background: rgba(232, 163, 23, 0.1);
  border-radius: 1.5rem;
  transform: rotate(-3deg);
  transition: transform 0.4s ease;
}
.about-portrait:hover .about-portrait-bg1 {
  transform: rotate(6deg) scale(1.02);
}
.about-portrait:hover .about-portrait-bg2 {
  transform: rotate(-6deg) scale(1.02);
}
.about-portrait img {
  position: relative;
  width: 288px;
  height: 288px;
  object-fit: contain;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.stat-item {
  text-align: center;
}
.stat-num {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--primary);
}
.stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 0.25rem;
}
.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--primary-fg);
  padding: 0.75rem 2rem;
  border-radius: 0.75rem;
  font-weight: 700;
  box-shadow: var(--shadow-primary);
  transition: opacity 0.3s;
}
.btn-call:hover {
  opacity: 0.9;
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.service-card .icon {
  color: var(--primary);
  margin-bottom: 1.25rem;
  transition: transform 0.3s ease;
}
.service-card:hover .icon {
  transform: scale(1.1) translateY(-4px);
}
.service-card h3 {
  color: var(--primary);
  font-weight: 900;
  font-size: 1.125rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}
.service-card p {
  color: var(--muted);
  font-size: 1rem;
}

/* ===== NUMBERED POINTS ===== */
.points-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}
.point-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}
.point-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.08);
}
.point-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-fg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 4px 6px rgba(46, 125, 50, 0.3);
}
.point-card p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

#teachingPoints .point-card p {
  color: var(--fg);
  font-weight: bold;
}

/* ===== HOW WE WORK ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.step {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.step:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px -5px rgba(0, 0, 0, 0.1);
}
.step img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-bottom: 2px solid var(--primary);
}
.step p {
  padding: 1.25rem 1rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--fg);
  text-align: center;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.feature {
  text-align: center;
}
.feature img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  margin: 0 auto 1rem;
}
.feature p {
  color: var(--fg);
  font-size: 0.85rem;
  font-weight: bold;
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--border);
  aspect-ratio: 1;
  background: var(--secondary);
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s;
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-ribbon {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(--primary);
  color: var(--primary-fg);
  padding: 4px 12px;
  font-size: 0.85rem;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 2;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s;
}
.gallery-ribbon:hover {
  background-color: var(--whatsapp);
}
.gallery-item .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(51, 51, 51, 0.6);
  color: #fff;
  text-align: center;
  padding: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  transform: translateY(100%);
  transition: transform 0.3s;
}
.gallery-item:hover .overlay {
  transform: translateY(0);
}

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.lightbox.active {
  display: flex;
}
.lightbox-inner {
  position: relative;
  max-width: 800px;
  width: 100%;
}
.lightbox-inner img {
  width: 100%;
  border-radius: 8px;
}
.lightbox-caption {
  text-align: center;
  color: #fff;
  margin-top: 1rem;
  font-weight: 600;
}
.lightbox-close {
  position: absolute;
  top: -40px;
  left: 0;
  background: none;
  color: #fff;
  font-size: 1.5rem;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-prev {
  right: -50px;
}
.lightbox-next {
  left: -50px;
}

/* ===== TESTIMONIALS ===== */
.testimonial-wrapper {
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}
.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 1rem;
}
.testimonial-card .text {
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}
.testimonial-card .name {
  font-weight: 700;
}
.testimonial-card .role {
  color: var(--muted);
  font-size: 0.85rem;
}
.testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: background 0.2s;
}
.testimonial-nav:hover {
  background: var(--secondary);
}
.testimonial-prev {
  right: -50px;
}
.testimonial-next {
  left: -50px;
}
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.testimonial-dots button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: transparent;
  border: none;
  position: relative;
  cursor: pointer;
  padding: 0;
}
.testimonial-dots button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--border);
  border-radius: 50%;
  transition: background 0.2s;
}
.testimonial-dots button.active::after {
  background: var(--primary);
}

/* ===== CONTACT PAGE ===== */
.contact-methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.contact-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: translateY(-8px);
}
.contact-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: transform 0.2s;
}
.contact-card:hover .contact-icon {
  transform: scale(1.1);
}
.contact-icon-green {
  background: var(--whatsapp);
}
.contact-icon-primary {
  background: var(--primary);
}
.contact-card h3 {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.contact-card p {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}
.contact-card .phone {
  color: var(--primary);
  font-weight: 700;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--primary);
  padding: 3rem 0;
  text-align: center;
}
.cta-banner h2 {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--primary-fg);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-fg);
  color: var(--primary);
  padding: 0.875rem 2rem;
  border-radius: 0.75rem;
  font-weight: 700;
  transition: opacity 0.3s;
}
.btn-cta-white:hover {
  opacity: 0.9;
}
.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: var(--primary-fg);
  padding: 0.875rem 2rem;
  border-radius: 0.75rem;
  font-weight: 700;
  background: transparent;
  transition: all 0.3s;
}
.btn-cta-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--fg);
  color: var(--primary-fg);
  padding: 3rem 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  text-align: center;
}
.footer-grid > div:first-child {
  text-align: right;
}
.footer-grid > div:nth-child(2) {
  text-align: right;
}
.footer-grid > div:last-child {
  text-align: right;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.footer-logo svg {
  height: 36px;
  width: 36px;
}
.footer-logo-title {
  font-weight: 700;
  font-size: 1.125rem;
}
.footer-logo-sub {
  font-size: 0.75rem;
  opacity: 0.6;
}
.footer p.desc {
  opacity: 0.6;
  font-size: 0.875rem;
  line-height: 1.7;
}
.footer h3 {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  opacity: 0.7;
  transition: all 0.3s;
}
.footer-links a:hover {
  opacity: 1;
  color: var(--gold);
}
.footer-social-icons {
  display: flex;
  gap: 0.75rem;
}
.footer-social-icons a {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.footer-social-icons a:hover {
  background: var(--gold);
  color: var(--fg);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  text-align: center;
  opacity: 0.85;
  font-size: 0.85rem;
}

/* ===== FLOATING BUTTONS ===== */
.floating-btns {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}
.floating-btn:hover {
  transform: scale(1.1);
}
.floating-wa {
  background: var(--whatsapp);
}
.floating-call {
  background: var(--primary);
}

/* ===== VIDEOS ===== */
.videos-section {
  padding: 4rem 0;
  background-color: var(--bg);
}
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.video-card {
  text-align: center;
}
.video-card h3 {
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  font-weight: 800;
}
.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 177.77%; /* 16:9 vertical */
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background: var(--surface);
}
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== QUIZ CTA SECTION (Homepage) ===== */
.quiz-cta-section {
  background: linear-gradient(135deg, #f0faf0 0%, #e8f5e9 50%, #f1f8e9 100%);
}
.quiz-cta-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--bg);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 8px 32px rgba(46, 125, 50, 0.1);
  border: 1px solid rgba(46, 125, 50, 0.12);
}
.quiz-cta-icon {
  color: var(--primary);
  margin-bottom: 1rem;
}
.quiz-cta-content p {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
}
.quiz-cta-visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.quiz-cta-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.quiz-cta-stat {
  text-align: center;
  background: var(--secondary);
  border-radius: 12px;
  padding: 1.25rem 0.75rem;
  border: 1px solid var(--border);
}
.quiz-cta-stat-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--primary);
}
.quiz-cta-stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.25rem;
  font-weight: 600;
}
.quiz-cta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.quiz-cta-tag {
  background: rgba(46, 125, 50, 0.08);
  color: var(--primary);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid rgba(46, 125, 50, 0.15);
}

/* ===== QUIZ PAGE ===== */
.quiz-hero-section {
  background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 40%, #43a047 100%);
  padding: 3rem 0;
  text-align: center;
}
.quiz-hero-content {
  max-width: 650px;
  margin: 0 auto;
}
.quiz-hero-icon {
  color: rgba(255,255,255,0.9);
  margin-bottom: 1rem;
}
.quiz-hero-section h1 {
  color: #fff;
  font-size: 2.25rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
}
.quiz-hero-section p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  line-height: 1.8;
}

.quiz-wrapper {
  max-width: 720px;
  margin: 0 auto;
}

.quiz-progress-bar {
  margin-bottom: 2rem;
}
.quiz-progress-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
}
.quiz-progress-track {
  height: 8px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
}
.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #43a047);
  border-radius: 100px;
  transition: width 0.4s ease;
}

.quiz-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.quiz-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.quiz-q-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}
h3.quiz-q-tag,
.quiz-q-tag {
  background: rgba(46,125,50,0.08);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  margin: 0;
}
.quiz-q-text {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--fg);
  margin: 0;
  line-height: 1.7;
}
.quiz-q-context {
  background: var(--secondary);
  border-right: 4px solid var(--primary);
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--fg);
}
.quiz-q-image {
  text-align: center;
  margin-bottom: 1.25rem;
  background: var(--secondary);
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid var(--border);
}
.quiz-q-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 0 auto;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.quiz-option {
  width: 100%;
  text-align: right;
  padding: 1rem 1.25rem;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fg);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.quiz-option-label {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(46, 125, 50, 0.08);
  border: 1.5px solid rgba(46, 125, 50, 0.25);
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 800;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.quiz-option:hover .quiz-option-label {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.quiz-option-correct .quiz-option-label {
  background: #2e7d32 !important;
  border-color: #2e7d32 !important;
  color: #fff !important;
}
.quiz-option-wrong .quiz-option-label {
  background: #c62828 !important;
  border-color: #c62828 !important;
  color: #fff !important;
}
.quiz-option:hover {
  border-color: var(--primary);
  background: rgba(46,125,50,0.03);
  transform: translateX(-4px);
}
.quiz-option-correct {
  border-color: #2e7d32 !important;
  background: rgba(46,125,50,0.08) !important;
  color: #1b5e20 !important;
}
.quiz-option-wrong {
  border-color: #c62828 !important;
  background: rgba(198,40,40,0.06) !important;
  color: #b71c1c !important;
}

.quiz-nav-btns {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}
.quiz-next-btn {
  min-width: 200px;
  text-align: center;
}
.quiz-next-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.quiz-result {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.quiz-result h2 {
  font-size: 2rem;
  font-weight: 900;
  margin: 1rem 0 0.5rem;
}
.quiz-result-score {
  font-size: 1.25rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.quiz-result-bar-wrap {
  height: 12px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
  margin: 0 auto 0.5rem;
  max-width: 400px;
}
.quiz-result-bar {
  height: 100%;
  border-radius: 100px;
  transition: width 1s ease;
}
.quiz-result-pct {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  margin: 0.5rem 0;
}
.quiz-result-msg {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 500px;
  margin: 1rem auto 0;
}
.quiz-result-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

@keyframes quizSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== PERFORMANCE ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.section-gray,
.steps-grid,
.services-grid,
.features-grid,
.gallery-grid,
.videos-section,
.cta-banner,
.footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid,
  .features-grid,
  .steps-grid,
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .lightbox-prev {
    right: 10px;
  }
  .lightbox-next {
    left: 10px;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 2.5rem 0;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero h2 {
    font-size: 1.125rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .about-grid,
  .contact-methods {
    grid-template-columns: 1fr;
  }
  .points-grid {
    grid-template-columns: 1fr;
  }
  .quiz-cta-card {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
    text-align: center;
  }
  .quiz-cta-card .section-title {
    text-align: center !important;
  }
  .quiz-cta-stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .quiz-hero-section h1 {
    font-size: 1.75rem;
  }
  .quiz-card {
    padding: 1.5rem 1rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-grid > div:first-child,
  .footer-grid > div:nth-child(2),
  .footer-grid > div:last-child {
    text-align: center;
  }
  .footer-logo {
    justify-content: center;
  }
  .footer-social-icons {
    justify-content: center;
  }
  .footer-links {
    align-items: center;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-links {
    display: none;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    background: var(--bg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    align-items: center;
    gap: 1rem;
  }
  .menu-btn {
    display: block;
  }
  .testimonial-prev {
    right: -15px;
  }
  .testimonial-next {
    left: -15px;
  }
}
@media (max-width: 640px) {
  .services-grid,
  .features-grid,
  .steps-grid,
  .videos-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .hero-btns {
    flex-direction: column;
    width: 100%;
    align-items: center;
  }
  .hero-btns .btn {
    width: fit-content;
  }
  .contact-methods {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  .cta-btns {
    flex-direction: column;
  }
  .hero-badges {
    flex-direction: column;
    gap: 0.5rem;
  }
  .hero-badge {
    padding: 0.5rem 1rem;
    font-size: 1.1rem;
  }
}
