/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Montserrat", sans-serif;
  color: #1a1a2e;
  line-height: 1.6;
  background: #f8f9fa;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}

/* ===== UTILITIES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.btn {
  display: inline-block;
  padding: 18px 48px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}
.btn-primary {
  background: linear-gradient(135deg, #c2325d, rgb(255, 15, 87));
  color: #fff;
  box-shadow: 0 8px 24px rgba(214, 48, 49, 0.35);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(214, 48, 49, 0.5);
}
.btn-secondary {
  background: #fff;
  color: #d63031;
  border: 2px solid #d63031;
}
.btn-secondary:hover {
  background: #d63031;
  color: #fff;
}
.tag {
  display: inline-block;
  background: #ffedd5;
  color: #c2410c;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.section-title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 16px;
  color: #1a1a2e;
  text-transform: uppercase;
  line-height: 1;
}
.section-sub {
  text-align: center;
  color: #64748b;
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto 48px;
}

/* ===== HERO ===== */
.hero,
.intro,
.solution-section,
.price-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 80px 0 60px;

  background-image: url("/assets/background-autocad.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* desktop */
  background-attachment: fixed;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(214, 48, 49, 0.15) 0%,
    transparent 70%
  );
  border-radius: 50%;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero .tag {
  background: rgba(255, 255, 255, 0.1);
  color: #fca5a5;
}
.hero h1 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin: 16px 0 20px;
}
.hero h1 span {
  color: #fca5a5;
}
.hero .headline-sub {
  color: #cbd5e1;
  font-size: 1.15rem;
  margin-bottom: 24px;
  max-width: 520px;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-stat {
  text-align: center;
}
.hero-stat .num {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fca5a5;
}
.hero-stat .label {
  font-size: 0.85rem;
  color: #94a3b8;
}
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-video-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: #0d0d0d;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
}
.hero-video-placeholder .play-icon {
  width: 72px;
  height: 72px;
  background: #d63031;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: transform 0.3s;
}
.hero-video-placeholder:hover .play-icon {
  transform: scale(1.08);
}
.hero-video-placeholder .play-icon::after {
  content: "▶";
  color: #fff;
  font-size: 1.6rem;
  margin-left: 4px;
}
.hero-video-placeholder span {
  color: #94a3b8;
  font-size: 0.9rem;
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: #fff;
  padding: 28px 0;
  border-bottom: 1px solid #e2e8f0;
}
.trust-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #475569;
  font-size: 0.9rem;
  font-weight: 500;
}
.trust-item .icon {
  width: 20px;
  height: 20px;
  background: #22c55e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.7rem;
  flex-shrink: 0;
}
.intro .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.intro-text {
  flex: 1;
  flex-direction: column;
  gap: 1rem;
  display: flex;
}
.intro-text h2 {
  font-size: 3rem;
}
.intro-text p {
  font-size: 1.1rem;
}
.intro-text p strong {
  color: rgb(255, 15, 87);
}
.intro-img {
  flex: 1;
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
}
.intro h2 {
  line-height: 1;
}
/* ===== SECTIONS ===== */
section {
  padding: 72px 0;
}

/* ===== DOR / PROBLEMA ===== */
.pain-section {
  background: #fff;
}
.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.pain-card {
  background: #1f1f1f;
  border-left: 4px solid #c2325d;
  padding: 20px 24px;
  border-radius: 8px;
  margin-bottom: 16px;
  color: #b1b1b1;
}
.pain-card h4 {
  color: #c2325d;
  margin-bottom: 4px;
  text-transform: uppercase;
}

/* ===== SOLUTION ===== */
.solution-section {
  color: #0d0d0d;
}
.solution-section h2 {
  color: #fff;
}
.solution-section h2 strong {
  color: #c2325d;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.benefit-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
.benefit-card .icon-bg {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #f04e30, #d63031);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
}
.benefit-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.benefit-card p {
  color: #64748b;
  font-size: 0.95rem;
}

/* ===== CURRÍCULO ===== */
.curriculum-section {
  background: #fff;
}
.curriculum-section h2 {
  font-weight: 700;
}
.curriculum-section .container h2 strong {
  color: #c2325d;
}
.curriculum-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}
.curriculum-item {
  background: #1f1f1f;
  padding: 16px 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  color: #fff;
  gap: 12px;
  font-weight: 500;
  transition: background 0.2s;
  min-width: 350px;
  width: 100%;
}
.curriculum-text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 10px;
}
.curriculum-text h3 {
  color: #c2325d;
  text-transform: uppercase;
  line-height: 1;
}
.curriculum-title {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.curriculum-title p {
  font-size: 1.5rem;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: underline 5px #c2325d;
}
.curriculum-item:hover {
  background: #e2e8f0;
  color: #0d0d0d;
  border: 1px solid #c2325d;
}
.curriculum-item .num {
  background: #c2325d;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== PRICE ===== */
.price-section {
  color: #fff;
  text-align: center;
}
.price-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 56px 40px;
  max-width: 560px;
  margin: 0 auto;
  backdrop-filter: blur(10px);
}
.price-old {
  color: #94a3b8;
  text-decoration: line-through;
  font-size: 1.4rem;
  margin-bottom: 4px;
}
.price-current {
  font-size: 3.2rem;
  font-weight: 800;
  color: #fff;
}
.price-current small {
  font-size: 1rem;
  font-weight: 400;
  color: #94a3b8;
}
.price-parcel {
  font-size: 1.2rem;
  color: #cbd5e1;
  margin: 8px 0 24px;
}
.price-card .btn-primary {
  font-size: 1.2rem;
  padding: 20px 56px;
}
.price-card .guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  color: #94a3b8;
  font-size: 0.9rem;
}
.price-card .guarantee .shield {
  font-size: 1.2rem;
}
.price-payment {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  color: #64748b;
  font-size: 0.85rem;
  flex-wrap: wrap;
}

/* ===== FAQ ===== */
.faq-section {
  background: #f8f9fa;
}
.faq-grid {
  max-width: 720px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.faq-item summary {
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: #d63031;
  transition: transform 0.3s;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item .answer {
  margin-top: 12px;
  color: #475569;
  font-size: 0.95rem;
}

/* ===== FINAL CTA ===== */
.final-cta {
  background: #fff;
  text-align: center;
  padding: 64px 0;
}
.final-cta h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
.final-cta p {
  color: #64748b;
  margin-bottom: 28px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== FOOTER ===== */
footer {
  background: #1a1a2e;
  color: #64748b;
  padding: 32px 0;
  text-align: center;
  font-size: 0.85rem;
}
footer a {
  color: #94a3b8;
}
footer a:hover {
  color: #fff;
}
footer .domain {
  color: #fca5a5;
  font-weight: 600;
}

/* ===== COOKIE CONSENT SIMPLES ===== */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a1a2e;
  color: #cbd5e1;
  padding: 14px 24px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 999;
  flex-wrap: wrap;
  font-size: 0.85rem;
}
.cookie-bar .btn-cookie {
  background: #d63031;
  color: #fff;
  border: none;
  padding: 8px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero .headline-sub {
    margin: 0 auto 24px;
  }
  .hero-stats {
    justify-content: center;
  }
  .pain-grid {
    grid-template-columns: 1fr;
  }
  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }
  .curriculum-list {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 1.7rem;
  }
}
@media (max-width: 600px) {
  .hero {
    padding: 48px 0 40px;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
  .intro .container {
    flex-direction: column;
  }
  .btn {
    padding: 14px 28px;
    font-size: 0.95rem;
    width: 100%;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .price-current {
    font-size: 2.4rem;
  }
  .price-card {
    padding: 32px 20px;
  }
  .trust-bar .container {
    justify-content: center;
  }
}
