/* ============================================
   CENTRO TURING - Masterclass IA en Práctica Médica
   Estilos independientes (no afecta Pruebas Nacionales)
   ============================================ */

/* ---- Variables ---- */
:root {
  --navy: #0F2035;
  --navy-light: #1a3050;
  --white: #FFFFFF;
  --orange: #F2994A;
  --orange-hover: #F57C00;
  --cyan: #4A90E2;
  --cyan-light: #6BA5E7;
  --gray-border: #E0E0E0;
  --gray-bg: #F2F4F8;
  --gray-text: #6B7280;
  --dark-text: #1a1a2e;
  --success: #27AE60;
  --font-heading: 'Inter', 'Montserrat', sans-serif;
  --font-body: 'Montserrat', 'Inter', sans-serif;
  --transition: all 0.3s ease;
  --shadow-sm: 0 2px 8px rgba(15,32,53,0.08);
  --shadow-md: 0 4px 20px rgba(15,32,53,0.12);
  --shadow-lg: 0 8px 40px rgba(15,32,53,0.18);
  --radius: 12px;
  --radius-sm: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--dark-text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; }

.text-cyan { color: var(--cyan); }
.text-orange { color: var(--orange); }
.text-white { color: var(--white); }
.text-navy { color: var(--navy); }
.text-gray { color: var(--gray-text); }

/* ---- Layout ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-navy {
  background: var(--navy);
  color: var(--white);
}

.section-gray {
  background: var(--gray-bg);
}

/* ============================================
   HEADER
   ============================================ */
.header {
  background: var(--navy);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.header .logo img {
  height: 42px;
  width: auto;
}

.header .logo-text {
  display: flex;
  flex-direction: column;
}

.header .logo-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
}

.header .logo-sub {
  font-size: 0.7rem;
  color: var(--cyan);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
}

.header .cta-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.header .cta-header:hover {
  background: var(--orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(242,153,74,0.4);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0a1628 100%);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(74,144,226,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(74,144,226,0.15);
  border: 1px solid rgba(74,144,226,0.3);
  color: var(--cyan);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero h1 {
  color: var(--white);
  font-size: 2.6rem;
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero h1 .highlight {
  color: var(--cyan);
  position: relative;
}

.hero-subtitle {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-visual {
  position: relative;
  z-index: 2;
}

/* Doctor SVG Illustration */
.doctor-illustration {
  background: linear-gradient(135deg, rgba(74,144,226,0.1) 0%, rgba(15,32,53,0.3) 100%);
  border-radius: 20px;
  border: 1px solid rgba(74,144,226,0.2);
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.doctor-illustration::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
}

.doctor-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  background: rgba(74,144,226,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.doctor-icon svg {
  width: 60px;
  height: 60px;
  stroke: var(--cyan);
}

.doctor-illustration h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.doctor-illustration p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 24px;
  justify-content: center;
}

.hero-stat {
  text-align: center;
}

.hero-stat .number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--orange);
}

.hero-stat .label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================
   CTA BUTTON (Global)
   ============================================ */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-hover) 100%);
  color: var(--white);
  padding: 18px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(242,153,74,0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(242,153,74,0.45);
  background: linear-gradient(135deg, var(--orange-hover) 0%, #E65100 100%);
}

.btn-cta svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.btn-cta-full {
  width: 100%;
  text-align: center;
}

.btn-cta-lg {
  padding: 22px 50px;
  font-size: 1.15rem;
}

/* Botón secundario (mobile) — scroll al programa */
.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--orange);
  color: var(--orange);
}

.btn-cta-secondary svg {
  width: 18px;
  height: 18px;
}


/* ============================================
   PAIN SECTION (El Dolor)
   ============================================ */
.pain-section {
  padding: 80px 0;
  background: var(--white);
}

.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 50px;
}

.pain-card {
  background: var(--gray-bg);
  border-radius: var(--radius);
  padding: 30px;
  border-left: 4px solid var(--cyan);
}

.pain-card h4 {
  color: var(--navy);
  margin-bottom: 10px;
}

.pain-card p {
  color: var(--gray-text);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.pain-icon-circle {
  width: 50px;
  height: 50px;
  background: rgba(74,144,226,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.pain-icon-circle svg {
  width: 24px;
  height: 24px;
  stroke: var(--cyan);
}

/* Quote Block */
.quote-block {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius);
  padding: 40px 50px;
  position: relative;
  text-align: center;
}

.quote-block::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: 30px;
  font-size: 80px;
  color: var(--cyan);
  opacity: 0.3;
  font-family: Georgia, serif;
  line-height: 1;
}

.quote-block p {
  color: var(--white);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 10px;
}

.quote-block .quote-highlight {
  color: var(--cyan);
  font-weight: 700;
  font-style: normal;
}

.quote-block .quote-source {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  font-style: normal;
}

/* ============================================
   5 AREAS CLINICAS
   ============================================ */
.areas-section {
  padding: 80px 0;
  background: var(--gray-bg);
}

.areas-section .section-title {
  text-align: center;
  margin-bottom: 50px;
}

.areas-section .section-title h2 {
  color: var(--navy);
  margin-bottom: 12px;
}

.areas-section .section-title p {
  color: var(--gray-text);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.area-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.area-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--cyan);
  transform: scaleX(0);
  transition: var(--transition);
}

.area-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--cyan);
}

.area-card:hover::before {
  transform: scaleX(1);
}

.area-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  background: rgba(15,32,53,0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.area-icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--navy);
  fill: none;
  stroke-width: 1.5;
}

.area-card h4 {
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 10px;
  line-height: 1.3;
}

.area-card p {
  color: var(--gray-text);
  font-size: 0.8rem;
  line-height: 1.5;
  margin-bottom: 0;
}

/* ============================================
   PROMISE SECTION (Masterclass de Elite)
   ============================================ */
.promise-section {
  padding: 80px 0;
  background: var(--white);
}

.promise-section .section-title {
  text-align: center;
  margin-bottom: 50px;
}

.promise-section .section-title h2 {
  color: var(--navy);
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.promise-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 35px 25px;
  text-align: center;
  transition: var(--transition);
}

.promise-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.promise-card .promise-label {
  display: inline-block;
  background: var(--gray-bg);
  color: var(--cyan);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.promise-card h3 {
  color: var(--navy);
  font-size: 1.4rem;
  margin-bottom: 12px;
  line-height: 1.3;
}

.promise-card p {
  color: var(--gray-text);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.promise-card.highlight-card {
  background: var(--navy);
  border-color: var(--navy);
}

.promise-card.highlight-card .promise-label {
  background: rgba(74,144,226,0.2);
  color: var(--cyan);
}

.promise-card.highlight-card h3 {
  color: var(--orange);
  font-size: 1.8rem;
}

.promise-card.highlight-card p {
  color: rgba(255,255,255,0.7);
}

.promise-details {
  text-align: center;
  margin-top: 35px;
  padding: 25px;
  background: var(--gray-bg);
  border-radius: var(--radius);
}

.promise-details p {
  color: var(--gray-text);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.promise-details strong {
  color: var(--navy);
}

/* ============================================
   BONUS SECTION
   ============================================ */
.bonus-section {
  padding: 80px 0;
  background: var(--gray-bg);
}

.bonus-section .section-title {
  text-align: center;
  margin-bottom: 50px;
}

.bonus-section .section-title h2 {
  color: var(--navy);
}

.bonus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.bonus-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 35px;
  display: flex;
  gap: 20px;
  transition: var(--transition);
}

.bonus-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.bonus-icon {
  flex-shrink: 0;
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, rgba(74,144,226,0.1) 0%, rgba(74,144,226,0.05) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bonus-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--cyan);
  fill: none;
}

.bonus-card h4 {
  color: var(--navy);
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.bonus-card p {
  color: var(--gray-text);
  font-size: 0.9rem;
  margin-bottom: 0;
  line-height: 1.6;
}

/* ============================================
   CTA SECTION (Registro Final)
   ============================================ */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--navy) 0%, #0a1628 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(74,144,226,0.08) 0%, transparent 70%);
}

.cta-section h2 {
  color: var(--white);
  font-size: 2.2rem;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}

.cta-section .cta-subtitle {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  margin-bottom: 35px;
  position: relative;
  z-index: 2;
}

.cta-section .btn-cta {
  position: relative;
  z-index: 2;
}

.cta-limited {
  color: var(--orange);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 20px;
  position: relative;
  z-index: 2;
}

/* Inline CTA between sections */
.inline-cta {
  text-align: center;
  padding: 40px 0;
  background: var(--white);
}

.urgency-badge {
  display: inline-block;
  background: #fff0f0;
  color: #c0392b;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 8px 20px;
  border-radius: 30px;
  border: 2px solid #e74c3c;
  margin-bottom: 15px;
  letter-spacing: 0.3px;
  animation: urgencyPulse 2s ease-in-out infinite;
}

@keyframes urgencyPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #060d1a;
  padding: 40px 0 25px;
  text-align: center;
}

.footer .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer .logo img {
  height: 35px;
  width: auto;
}

.footer .logo-name {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.footer .logo-sub {
  color: var(--cyan);
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.footer p {
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
}

.footer a {
  color: var(--cyan);
}

/* ============================================
   LP2: CHECKOUT PAGE
   ============================================ */
.checkout-header {
  background: var(--white);
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-border);
}

.checkout-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.checkout-header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.checkout-header .logo img {
  height: 40px;
}

.checkout-header .logo-text {
  display: flex;
  flex-direction: column;
}

.checkout-header .logo-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
}

.checkout-header .logo-sub {
  font-size: 0.65rem;
  color: var(--gray-text);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.checkout-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  text-align: right;
}

/* Checkout Body */
.checkout-body {
  padding: 40px 0;
  background: var(--gray-bg);
  min-height: calc(100vh - 100px);
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

/* Left Panel - Resumen */
.summary-panel {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-border);
  overflow: hidden;
}

.summary-header {
  background: var(--navy);
  padding: 18px 25px;
}

.summary-header h3 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
}

.summary-items {
  padding: 25px;
}

.summary-item {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-bg);
}

.summary-item:last-child {
  border-bottom: none;
}

.summary-item-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(74,144,226,0.1) 0%, rgba(15,32,53,0.05) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.summary-item-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--cyan);
  fill: none;
}

.summary-item-icon.orange svg {
  stroke: var(--orange);
}

.summary-item h4 {
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 5px;
}

.summary-item .price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 5px;
}

.summary-item .price-currency {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-text);
}

.summary-item p {
  color: var(--gray-text);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 0;
}

.summary-footer {
  padding: 20px 25px;
  background: var(--gray-bg);
  text-align: center;
}

.summary-footer p {
  color: var(--gray-text);
  font-size: 0.8rem;
  margin-bottom: 0;
  line-height: 1.5;
}

/* Right Panel - Formulario */
.form-panel {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-border);
  overflow: hidden;
}

.form-panel-header {
  padding: 18px 25px;
  border-bottom: 1px solid var(--gray-border);
}

.form-panel-header h3 {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 600;
}

/* Steps */
.checkout-step {
  display: none;
}

.checkout-step.active {
  display: block;
}

.step-content {
  padding: 25px;
}

.step-box {
  background: var(--navy);
  border-radius: var(--radius-sm);
  padding: 25px;
  margin-bottom: 0;
}

.step-box-white {
  background: var(--white);
  border: 1px solid var(--gray-border);
}

.step-box h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.step-box-white h4 {
  color: var(--navy);
}

/* Form Fields */
.form-field {
  margin-bottom: 15px;
}

.form-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
}

.step-box-white .form-field label {
  color: var(--gray-text);
}

.form-field input,
.form-field select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--dark-text);
  transition: var(--transition);
}

.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(74,144,226,0.15);
}

.form-field input::placeholder {
  color: #aaa;
}

.form-field .field-icon {
  position: relative;
}

.form-field .field-icon input,
.form-field .field-icon select {
  padding-left: 42px;
}

.form-field .field-icon svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  stroke: #999;
  fill: none;
}

/* Progress Bar */
.step-progress {
  padding: 15px 25px;
  background: var(--gray-bg);
}

.progress-bar-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.progress-bar {
  flex: 1;
  height: 6px;
  background: var(--gray-border);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--cyan-light) 100%);
  border-radius: 3px;
  transition: width 0.4s ease;
}

.progress-text {
  font-size: 0.75rem;
  color: var(--gray-text);
  font-weight: 600;
  white-space: nowrap;
}

/* Step Navigation */
.step-nav {
  display: flex;
  gap: 12px;
  padding: 20px 25px;
  border-top: 1px solid var(--gray-bg);
}

.btn-step-back {
  flex: 0 0 auto;
  background: var(--gray-bg);
  color: var(--gray-text);
  border: 1px solid var(--gray-border);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-step-back:hover {
  background: var(--gray-border);
}

.btn-step-next {
  flex: 1;
  background: var(--cyan);
  color: var(--white);
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-step-next:hover {
  background: var(--cyan-light);
}

.btn-pay {
  flex: 1;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-hover) 100%);
  color: var(--white);
  border: none;
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-pay:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(242,153,74,0.4);
}

.btn-pay svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Payment Logos */
.payment-logos {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
  justify-content: center;
}

.payment-logo {
  height: 28px;
  opacity: 0.7;
}

.ssl-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--success);
  font-size: 0.75rem;
  font-weight: 600;
}

.ssl-badge svg {
  width: 16px;
  height: 16px;
  fill: var(--success);
}

/* Trust Seal */
.trust-seal {
  text-align: center;
  padding: 15px 25px 20px;
  border-top: 1px solid var(--gray-bg);
}

.trust-seal p {
  color: var(--gray-text);
  font-size: 0.75rem;
  margin-bottom: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-visual {
    max-width: 500px;
    margin: 0 auto;
  }

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

  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .checkout-title {
    text-align: left;
    font-size: 1rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.2rem; }

  .section {
    padding: 50px 0;
  }

  .header .cta-header {
    padding: 8px 16px;
    font-size: 0.75rem;
  }

  .hero {
    padding: 50px 0 60px;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .pain-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .areas-grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  .promise-grid {
    grid-template-columns: 1fr;
  }

  .bonus-grid {
    grid-template-columns: 1fr;
  }

  .btn-cta {
    padding: 16px 30px;
    font-size: 0.95rem;
    width: 100%;
  }

  .btn-cta-lg {
    padding: 18px 30px;
  }

  .quote-block {
    padding: 30px 25px;
  }

  .quote-block p {
    font-size: 1.05rem;
  }

  .checkout-header .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .checkout-title {
    text-align: left;
    font-size: 0.95rem;
  }

  .hero-stats {
    gap: 20px;
  }

  .hero-stat .number {
    font-size: 1.4rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.3rem; }

  .container {
    padding: 0 16px;
  }

  .areas-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    gap: 12px;
  }

  .header .logo-name {
    font-size: 1rem;
  }

  .header .cta-header span {
    display: none;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* ============================================
   CONFIRMATION PAGE
   ============================================ */

.confirmation-page {
  min-height: 100vh;
  background: var(--gray-bg);
  padding: 40px 20px 60px;
}

.confirmation-card {
  max-width: 650px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 16px;
  padding: 50px 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  text-align: center;
}

.confirmation-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--success), #2ecc71);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

.confirmation-card h1 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--navy);
  margin: 0 0 12px;
}

.confirmation-subtitle {
  color: var(--gray-text);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Transaction Details */
.transaction-details {
  background: var(--gray-bg);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 35px;
  text-align: left;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.9rem;
}

.detail-value {
  color: var(--dark-text);
  font-size: 0.9rem;
  text-align: right;
  word-break: break-all;
}

/* Next Steps */
.next-steps {
  text-align: left;
  margin-bottom: 35px;
}

.next-steps h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 20px;
  text-align: center;
}

.next-step-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 15px;
  background: var(--gray-bg);
  border-radius: 10px;
  margin-bottom: 10px;
}

.next-step-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
}

.next-step-item h4 {
  font-size: 0.95rem;
  color: var(--navy);
  margin: 0 0 4px;
}

.next-step-item p {
  font-size: 0.85rem;
  color: var(--gray-text);
  margin: 0;
  line-height: 1.5;
}

/* Buttons */
.confirmation-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.btn-social-ig {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D, #F56040, #F77737, #FCAF45, #FFDC80);
  color: #fff;
  padding: 14px 30px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.3s, box-shadow 0.3s;
  width: 100%;
  max-width: 300px;
  justify-content: center;
}

.btn-social-ig:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(193,53,132,0.3);
}

.btn-back {
  display: inline-block;
  color: var(--gray-text);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 10px;
  transition: color 0.3s;
}

.btn-back:hover {
  color: var(--navy);
}

/* Confirmation Responsive */
@media (max-width: 480px) {
  .confirmation-card {
    padding: 35px 20px;
  }

  .confirmation-card h1 {
    font-size: 1.4rem;
  }

  .detail-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
  }

  .detail-value {
    text-align: left;
  }

  .next-step-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}


/* ============================================
   Visibilidad Mobile/Desktop (al final para mayor especificidad)
   ============================================ */
.show-mobile { display: none !important; }
.hide-mobile { display: inline-flex; }

@media (max-width: 768px) {
  a.hide-mobile,
  div.hide-mobile,
  .hide-mobile { display: none !important; }
  .show-mobile { display: inline-flex !important; }
}
