:root {
  --bg-dark: #0f172a;
  --bg-dark-2: #18233f;
  --bg-soft: #f8f6f1;
  --white: #ffffff;
  --text: #1f2937;
  --text-soft: #6b7280;
  --primary: #e7c166;
  --primary-hover: #d7ae4f;
  --whatsapp: #25d366;
  --whatsapp-hover: #1fbb59;

  --samples-btn-bg: #20345f;
  --samples-btn-border: #3b5185;
  --samples-btn-text: #ffffff;
  --samples-btn-hover: #2b4377;

  --comments-btn-bg: #2f3f63;
  --comments-btn-border: #4f628f;
  --comments-btn-text: #ffffff;
  --comments-btn-hover: #3b4d76;

  --youtube: #ff0000;
  --youtube-hover: #d60000;

  --example-btn-bg: #ffffff;
  --example-btn-text: #1f2937;
  --example-btn-border: #d7dde7;
  --example-btn-hover: #f3f4f6;

  --border: #e5e7eb;
  --shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  --radius: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.narrow {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.section {
  padding: 5rem 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 2.8rem;
}

.section-heading h2,
.hero h1,
.final-cta h2,
.emotional-section h2 {
  font-family: "Playfair Display", serif;
  line-height: 1.1;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0.5rem 0 1rem;
}

.section-heading p,
.section-text {
  color: var(--text-soft);
}

.eyebrow {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.center {
  text-align: center;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--white);
}

.brand-logo-placeholder {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px dashed rgba(255, 255, 255, 0.35);
  font-size: 0.8rem;
  font-weight: 700;
}

.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 14px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 1rem;
}

.brand-text span {
  font-size: 0.85rem;
  opacity: 0.85;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  color: var(--white);
}

.nav-menu a:not(.btn) {
  opacity: 0.92;
  transition: 0.2s ease;
}

.nav-menu a:not(.btn):hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 42px;
  height: 42px;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: white;
  margin: 5px auto;
  border-radius: 999px;
  transition: 0.25s ease;
}

/* BOTONES */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.25s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: #111827;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: white;
}

.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
}

.btn-samples {
  background: var(--samples-btn-bg);
  color: var(--samples-btn-text);
  border: 1px solid var(--samples-btn-border);
}

.btn-samples:hover {
  background: var(--samples-btn-hover);
  transform: translateY(-2px);
}

.btn-comments {
  background: var(--comments-btn-bg);
  color: var(--comments-btn-text);
  border: 1px solid var(--comments-btn-border);
}

.btn-comments:hover {
  background: var(--comments-btn-hover);
  transform: translateY(-2px);
}

.btn-youtube {
  background: var(--youtube);
  color: white;
}

.btn-youtube:hover {
  background: var(--youtube-hover);
  transform: translateY(-2px);
}

.btn-example {
  background: var(--example-btn-bg);
  color: var(--example-btn-text);
  border: 1px solid var(--example-btn-border);
  margin-top: 1.2rem;
  width: 100%;
}

.btn-example:hover {
  background: var(--example-btn-hover);
}

/* HERO */
.hero {
  background:
    radial-gradient(circle at top left, rgba(231, 193, 102, 0.14), transparent 30%),
    linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
  color: var(--white);
  padding: 5.2rem 0 4.8rem;
  min-height: 620px;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.2rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin: 0 0 1rem;
  max-width: 730px;
}

.hero-text {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 1.5rem;
}

.hero-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding: 0;
  margin: 0;
}

.hero-points li {
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
}

.hero-card {
  background: transparent;
  border-radius: var(--radius);
  padding: 0.2rem;
}

.hero-image-placeholder {
  min-height: 390px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.75);
  font-weight: 700;
}

.hero-image {
  width: 100%;
  height: 390px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* SECCIONES */
.emotional-section {
  background: var(--bg-soft);
}

.emotional-section h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 0 0 1rem;
}

.steps-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.step-card,
.price-card,
.samples-card,
.samples-placeholder {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.step-number {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: #111827;
  font-weight: 800;
  margin-bottom: 1rem;
}

/* MUESTRAS */
.samples-section {
  background: var(--bg-soft);
}

.samples-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  align-items: stretch;
}

.samples-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.samples-placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fff4d1, #f2f7ff);
}

.placeholder-box {
  width: 100%;
  min-height: 240px;
  border: 2px dashed #cfd6e2;
  border-radius: 16px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--text-soft);
  font-weight: 700;
  padding: 1rem;
}

.samples-image {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  border-radius: 16px;
}

/* PRECIOS */
.price-card {
  display: flex;
  flex-direction: column;
}

.price-card h3 {
  margin-top: 0;
}

.price {
  font-size: 2rem;
  font-weight: 800;
  margin: 0.5rem 0 1rem;
}

.price span {
  font-size: 1rem;
  color: var(--text-soft);
}

.price-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-soft);
}

.featured {
  border: 2px solid var(--primary);
  transform: translateY(-6px);
  position: relative;
}

.featured-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary);
  color: #111827;
  font-size: 0.78rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
}

.pricing-bottom-action {
  text-align: center;
  margin-top: 2.5rem;
}

.btn-lower {
  min-width: 260px;
}

/* FORMULARIO */
.custom-form {
  max-width: 980px;
  margin: 0 auto;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.full-width {
  grid-column: 1 / -1;
}

label {
  margin-bottom: 0.5rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  font: inherit;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  padding: 0.95rem 1rem;
  background: white;
  transition: 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(231, 193, 102, 0.2);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.form-actions,
.center-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

/* CTA FINAL */
.final-cta {
  background: linear-gradient(180deg, var(--bg-dark-2) 0%, var(--bg-dark) 100%);
  color: var(--white);
  text-align: center;
}

.final-cta h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-top: 0;
}

/* FOOTER */
.site-footer {
  background: #0b1120;
  color: rgba(255, 255, 255, 0.84);
  padding: 2.5rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.site-footer h3,
.site-footer h4 {
  color: white;
}

.social-icons {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.social-icon-placeholder {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-weight: 700;
  border: 1px dashed rgba(255, 255, 255, 0.3);
}

.social-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-grid,
  .steps-grid,
  .pricing-grid,
  .samples-box,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 4.6rem 0 4.2rem;
  }

  .featured {
    transform: none;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #101827;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }

  .nav-menu.active {
    display: flex;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 4rem 0;
  }

  .hero {
    padding: 4.2rem 0 3.8rem;
  }

  .hero-actions,
  .form-actions,
  .center-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-points {
    flex-direction: column;
  }

  .hero-image-placeholder,
  .hero-image {
    min-height: 290px;
    height: 290px;
  }
}