/* ==========================================================================
   LANDING PAGE CURSO DE ALFAJORES ARTESANALES
   Modern, Ultra-Responsive Stylesheet (Mobile, Tablet, Desktop)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@400;500;600;700;800&family=Rubik:wght@400;500;600;700;800&display=swap');

:root {
  /* Colors */
  --color-bg-base: #fdf8f2;
  --color-text-dark: #1a0e08;
  --color-text-muted: #523a28;
  --color-text-light: #fdf8f2;
  
  --color-primary: #229938;
  --color-primary-hover: #1b802e;
  --color-primary-light: #eaf7ec;
  --color-primary-border: #a8e0b4;
  
  --color-accent: #b26824;
  --color-accent-dark: #7a3e0c;
  --color-accent-light: #fdf2e4;
  --color-accent-border: #e8c89a;
  
  --color-border: #ebdcd0;
  --color-border-light: #f3e9df;
  --color-card-bg: #ffffff;
  
  --color-danger-bg: #fff4f2;
  --color-danger-border: #f5c4bc;
  --color-danger-text: #8c2a1c;

  /* Typography */
  --font-serif: "Georgia", "Times New Roman", serif;
  --font-sans: "Assistant", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: "Rubik", var(--font-sans);
  
  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(26, 14, 8, 0.04);
  --shadow-sm: 0 2px 8px rgba(26, 14, 8, 0.06);
  --shadow-md: 0 6px 18px rgba(26, 14, 8, 0.07);
  --shadow-lg: 0 12px 30px rgba(26, 14, 8, 0.1);
  --shadow-btn: 0 4px 14px rgba(34, 153, 56, 0.3);
  --shadow-btn-hover: 0 8px 22px rgba(34, 153, 56, 0.42);

  /* Radius */
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;
  
  /* Transitions */
  --transition-fast: all 0.18s ease;
  --transition-normal: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   Reset & Base Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--color-bg-base);
  color: var(--color-text-dark);
  font-family: var(--font-serif);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   Top Bar Banner (Sticky, High Contrast)
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--color-text-dark);
  color: #fff;
  text-align: center;
  font-size: clamp(12px, 2.5vw, 13.5px);
  font-weight: 700;
  padding: 11px 16px;
  letter-spacing: 0.3px;
  font-family: var(--font-sans);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* --------------------------------------------------------------------------
   Layout Containers
   -------------------------------------------------------------------------- */
.main-wrapper {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(16px, 4vw, 36px) clamp(14px, 3.5vw, 24px) 80px;
}

/* --------------------------------------------------------------------------
   Core Card Style
   -------------------------------------------------------------------------- */
.card {
  background: var(--color-card-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 42px) clamp(16px, 4vw, 40px);
  margin-bottom: clamp(18px, 3vw, 28px);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

/* Typography Hierarchy */
.kicker,
.mini-title {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 10px;
  display: inline-block;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--color-text-dark);
  font-weight: 800;
  line-height: 1.2;
}

.card h2 {
  font-size: clamp(20px, 3vw, 26px);
  margin: 0 0 16px;
  letter-spacing: -0.3px;
}

/* --------------------------------------------------------------------------
   Interactive Zoomable Image Container & SVG Badge
   -------------------------------------------------------------------------- */
.zoom-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  background-color: #1a0e08;
  display: block;
}

.zoom-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease, filter 0.2s ease;
}

.zoom-wrapper:hover img {
  transform: scale(1.025);
  filter: brightness(1.02);
}

.zoom-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  background: rgba(26, 14, 8, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 10;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.zoom-btn svg {
  width: 17px;
  height: 17px;
  display: block;
}

.zoom-wrapper:hover .zoom-btn {
  background: var(--color-primary);
  border-color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(34, 153, 56, 0.5);
}

/* --------------------------------------------------------------------------
   Buttons & Call to Actions
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 18px 24px;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: clamp(15px, 2.5vw, 17px);
  font-weight: 800;
  text-align: center;
  font-family: var(--font-sans);
  letter-spacing: 0.3px;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-btn);
  border: none;
  cursor: pointer;
  min-height: 54px;
}

.btn:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-hover);
}

.btn:active {
  transform: translateY(0);
}

.btn-dark {
  background: var(--color-text-dark);
  margin-top: 20px;
  box-shadow: 0 4px 14px rgba(26, 14, 8, 0.25);
}

.btn-dark:hover {
  background: #2e180d;
  box-shadow: 0 8px 22px rgba(26, 14, 8, 0.35);
}

.security-note {
  font-family: var(--font-sans);
  font-size: 12px;
  color: #7d6b5e;
  text-align: center;
  margin-top: 10px;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-card {
  padding: clamp(24px, 4.5vw, 44px) clamp(16px, 4.5vw, 42px);
  border-radius: var(--radius-xl);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: center;
}

.hero-text-content {
  order: 1; /* En móvil: El texto va después de la imagen */
  text-align: center;
}

.hero-text-content h1 {
  font-size: clamp(24px, 4.8vw, 40px);
  margin: 0 0 14px;
  letter-spacing: -0.6px;
  color: var(--color-text-dark);
}

.hero-sub {
  font-size: clamp(14.5px, 2.2vw, 16.5px);
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0 0 20px;
  font-family: var(--font-sans);
}

.pills-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 22px;
}

.pill-tag {
  background: var(--color-accent-light);
  border: 1.5px solid var(--color-accent-border);
  color: var(--color-accent-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
}

.price-box {
  background: var(--color-text-dark);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin: 0 auto 16px;
  max-width: 400px;
  text-align: center;
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.price-box strong {
  display: block;
  font-size: clamp(34px, 5.5vw, 44px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin: 3px 0 6px;
  font-family: var(--font-sans);
  letter-spacing: -0.5px;
}

.price-box span {
  display: block;
  font-family: var(--font-sans);
  font-size: 13px;
  color: #d1c7bd;
}

.hero-img-container {
  order: -1; /* En móvil: La foto aparece primero al inicio de la página */
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

/* --------------------------------------------------------------------------
   Story Section
   -------------------------------------------------------------------------- */
.story-card {
  background: #fffaf5;
}

.story-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3.5vw, 36px);
  margin-top: 10px;
  align-items: center;
}

.story-img-container {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

.story-img-container .img-box {
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.img-caption {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent);
  text-align: center;
  margin-top: 8px;
  letter-spacing: 0.4px;
}

.story-text-content h2 {
  font-size: clamp(19px, 2.8vw, 24px);
  margin-bottom: 14px;
}

.story-body p {
  font-family: var(--font-sans);
  font-size: clamp(14px, 2vw, 15.5px);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0 0 12px;
}

.story-body strong {
  color: var(--color-text-dark);
}

.story-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

/* --------------------------------------------------------------------------
   Target Audience Section (Para quién es / no es)
   -------------------------------------------------------------------------- */
.checks-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 18px;
}

.check-item {
  background: var(--color-primary-light);
  border: 1.5px solid var(--color-primary-border);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  font-family: var(--font-sans);
  font-size: clamp(13.5px, 2vw, 15px);
  font-weight: 700;
  color: #123616;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.check-item::before {
  content: "✓";
  color: var(--color-primary);
  font-weight: 900;
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
}

.not-for-box {
  background: var(--color-danger-bg);
  border: 1.5px solid var(--color-danger-border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.not-for-title {
  font-family: var(--font-sans);
  font-weight: 800;
  color: var(--color-danger-text);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin: 0 0 8px;
  font-size: 11px;
}

.not-for-content p {
  font-family: var(--font-sans);
  font-size: clamp(13px, 1.9vw, 14.5px);
  color: var(--color-danger-text);
  font-weight: 600;
  margin: 4px 0 0;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Deliverables Banner Image (Qué recibes)
   -------------------------------------------------------------------------- */
.deliverables-banner-card {
  padding: 0 !important;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--color-border);
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.deliverables-banner-card .zoom-wrapper {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 0;
  border: none;
  cursor: zoom-in;
  overflow: hidden;
}

.deliverables-banner-card picture {
  display: block;
  width: 100%;
}

.deliverables-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 1.5px);
  transition: transform var(--transition-normal);
}

.deliverables-banner-card .zoom-wrapper:hover .deliverables-banner-img {
  transform: scale(1.012);
}

@media (max-width: 640px) {
  .deliverables-banner-card .zoom-btn {
    display: none !important;
  }
}

.deliverables-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 10px;
}

.deliverable-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fdf9f4;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  transition: var(--transition-normal);
}

.deliverable-card:hover {
  transform: translateY(-2px);
  border-color: #cbab8f;
  box-shadow: var(--shadow-sm);
  background: #ffffff;
}

.deliverable-icon {
  font-size: 24px;
  flex-shrink: 0;
  line-height: 1.1;
}

.deliverable-info strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 800;
  color: var(--color-text-dark);
  margin-bottom: 3px;
}

.deliverable-info p {
  font-family: var(--font-sans);
  font-size: 12.5px;
  color: var(--color-text-muted);
  line-height: 1.45;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Tapitas Section (Lo que vas a aprender)
   -------------------------------------------------------------------------- */
.tapitas-sub {
  font-family: var(--font-sans);
  font-size: clamp(14px, 2vw, 15.5px);
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0 0 22px;
}

.tapitas-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tapitas-imgs {
  order: 1; /* En móvil: Las 2 imágenes arriba */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}

.tapitas-imgs .img-box {
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #ffffff;
}

.tapitas-imgs img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.tapitas-content {
  order: 2; /* En móvil: Las tarjetas de texto abajo */
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.tapita-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fdf8f2;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  transition: var(--transition-fast);
}

.tapita-item:hover {
  background: #ffffff;
  border-color: #cbab8f;
}

.tapita-item .item-icon {
  font-size: 22px;
  flex-shrink: 0;
  line-height: 1.2;
}

.tapita-item strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 800;
  color: var(--color-text-dark);
  margin-bottom: 4px;
}

.tapita-item p {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Feedback Section (Mensajes Reales de Clientes / Smartphone Mockups)
   -------------------------------------------------------------------------- */
.feedback-sub {
  font-family: var(--font-sans);
  font-size: clamp(14px, 2vw, 15.5px);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0 auto 24px;
  max-width: 580px;
}

.phones-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.phone-mockup {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-border);
  box-shadow: var(--shadow-md);
  background: #111111;
  transition: var(--transition-normal);
}

.phone-mockup:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feedback-action-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  width: 100%;
}

.verified-badge {
  font-family: var(--font-sans);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-primary-light);
  border: 1.5px solid var(--color-primary-border);
  color: #1a5030;
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
  text-align: center;
}

.feedback-action-box .btn {
  margin-top: 0;
}

/* --------------------------------------------------------------------------
   Middle CTA Counter Card
   -------------------------------------------------------------------------- */
.cta-middle-card {
  background: var(--color-text-dark);
  border-radius: var(--radius-xl);
  padding: clamp(34px, 6vw, 60px) clamp(18px, 4vw, 48px);
  margin-bottom: clamp(20px, 3.5vw, 28px);
  text-align: center;
  color: var(--color-text-light);
  box-shadow: var(--shadow-lg);
}

.cta-num {
  font-size: clamp(64px, 11vw, 100px);
  font-weight: 800;
  color: #38c854;
  line-height: 1;
  font-family: var(--font-heading);
  margin-bottom: 8px;
  letter-spacing: -2px;
}

.cta-num-label {
  font-family: var(--font-sans);
  font-size: clamp(15px, 2.5vw, 18px);
  color: #ebdcd0;
  font-weight: 700;
  margin: 0 0 12px;
}

.cta-num-sub {
  font-family: var(--font-sans);
  font-size: clamp(14px, 2.2vw, 16px);
  color: #c4b4a6;
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto 24px;
}

/* --------------------------------------------------------------------------
   Testimonials Grid (Alumnas - Natural Aspect Ratio & Crystal Clear Display)
   -------------------------------------------------------------------------- */
.testimonials-sub {
  font-family: var(--font-sans);
  font-size: clamp(14px, 2vw, 15.5px);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0 0 22px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.test-card {
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  background: #111111;
  transition: var(--transition-normal);
}

.test-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.test-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #cbab8f;
}

/* --------------------------------------------------------------------------
   Bonus & Warranty Cards
   -------------------------------------------------------------------------- */
.bonus-card {
  background: #fdf2d8;
  border-color: #ebd090;
  text-align: center;
}

.bonus-label {
  color: var(--color-accent-dark);
}

.bonus-card p {
  font-family: var(--font-sans);
  font-size: clamp(14.5px, 2vw, 16px);
  color: #52340e;
  line-height: 1.65;
  max-width: 600px;
  margin: 0 auto;
}

.guarantee-card {
  background: #f0faf2;
  border-color: #a4ddb3;
  text-align: center;
}

.guarantee-icon {
  font-size: 46px;
  margin-bottom: 10px;
  line-height: 1;
}

.guarantee-card h2 {
  color: #123e1d;
}

.guarantee-card p {
  font-family: var(--font-sans);
  font-size: clamp(14.5px, 2vw, 16px);
  color: #1d4e28;
  line-height: 1.65;
  max-width: 600px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   FAQ Accordion
   -------------------------------------------------------------------------- */
.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.faq-item {
  background: #fdf8f2;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item[open] {
  border-color: var(--color-accent);
  background: #ffffff;
  box-shadow: var(--shadow-xs);
}

.faq-item summary {
  font-family: var(--font-sans);
  padding: 16px 18px;
  font-size: clamp(14px, 2vw, 15px);
  font-weight: 700;
  color: var(--color-text-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  user-select: none;
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--color-accent);
  font-weight: 800;
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  font-family: var(--font-sans);
  padding: 0 18px 16px;
  font-size: clamp(13.5px, 1.9vw, 14.5px);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

.faq-item[open] summary ~ * {
  animation: faqSweep 0.25s ease-out;
}

@keyframes faqSweep {
  0% { opacity: 0; transform: translateY(-6px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   Closure Section (Cierre / Oferta Final)
   -------------------------------------------------------------------------- */
.closure-card {
  text-align: center;
  background: #ffffff;
  border-radius: var(--radius-xl);
}

.closure-card h2 {
  font-size: clamp(22px, 3.5vw, 30px);
  margin: 0 0 20px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background: #ffffff;
  border-top: 1.5px solid var(--color-border);
  margin-top: 40px;
  padding: 40px 16px 50px;
}

.footer-content {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.footer h3 {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 800;
  color: var(--color-accent-dark);
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer p {
  font-family: var(--font-sans);
  font-size: 13px;
  color: #777777;
  line-height: 1.6;
  margin: 0 0 12px;
}

.footer .disclaimer {
  font-size: 11px;
  color: #999999;
  margin-top: 24px;
  border-top: 1px solid #f0f0f0;
  padding-top: 16px;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   FULLSCREEN LIGHTBOX MODAL COMPONENT
   -------------------------------------------------------------------------- */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
  padding: 16px;
  box-sizing: border-box;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(12, 7, 4, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
}

.lightbox-content {
  position: relative;
  z-index: 100000;
  max-width: 92vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: scale(0.94);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active .lightbox-content {
  transform: scale(1);
}

.lightbox-image-wrapper {
  max-width: 100%;
  max-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7);
  background: #000;
}

.lightbox-image-wrapper img {
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.lightbox-caption {
  font-family: var(--font-sans);
  color: #f5ede4;
  font-size: 13.5px;
  margin-top: 12px;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.2px;
  max-width: 600px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

.lightbox-close {
  position: absolute;
  top: -46px;
  right: 0;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: scale(1.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 100001;
}

.lightbox-nav:hover {
  background: var(--color-primary);
  border-color: #ffffff;
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: -58px;
}

.lightbox-next {
  right: -58px;
}

@media (max-width: 768px) {
  .lightbox-prev {
    left: 8px;
  }
  .lightbox-next {
    right: 8px;
  }
  .lightbox-close {
    top: -42px;
    right: 4px;
  }
}

/* --------------------------------------------------------------------------
   RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */

/* Small Tablets & Large Phones (min-width: 580px) */
@media (min-width: 580px) {
  .deliverables-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

/* Tablets (min-width: 768px) */
@media (min-width: 768px) {
  .hero-inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    text-align: left;
  }

  .hero-text-content {
    order: 1;
    text-align: left;
  }

  .hero-img-container {
    order: 2;
  }

  .pills-group {
    justify-content: flex-start;
  }

  .hero-text-content .price-box {
    margin-left: 0;
  }

  .hero-text-content .btn {
    margin-left: 0;
  }

  .hero-text-content .security-note {
    text-align: left;
  }

  .story-inner {
    grid-template-columns: 280px 1fr;
    gap: 36px;
    align-items: start;
  }

  .checks-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .deliverables-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .tapitas-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
  }

  .tapitas-content {
    order: 1; /* En PC/Tablet: Las tarjetas de texto arriba */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    width: 100%;
  }

  .tapitas-imgs {
    order: 2; /* En PC/Tablet: Las 2 imágenes lado a lado abajo */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    width: 100%;
  }

  .tapitas-imgs img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .phones-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    align-items: start;
  }

  .phone-mockup:nth-child(2) {
    transform: translateY(20px);
  }

  .phone-mockup:nth-child(2):hover {
    transform: translateY(16px);
  }

  .phone-mockup:nth-child(3) {
    transform: translateY(10px);
  }

  .phone-mockup:nth-child(3):hover {
    transform: translateY(6px);
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

/* Desktop & Laptop (min-width: 1024px) */
@media (min-width: 1024px) {
  .main-wrapper {
    padding-top: 40px;
  }

  .hero-inner {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
  }

  .hero-img-container {
    max-width: 380px;
  }

  .story-inner {
    grid-template-columns: 300px 1fr;
    gap: 44px;
  }
}
