/* =========================================================
   HANDYKLINIK MEPPEN - VENDEDOR INTELIGENTE 24/7
   Diseño ultra claro, comprensible para todos y foco en Ticket Medio
   ========================================================= */

:root {
  --orange: #e26a27;
  --orange-dark: #cc5616;
  --orange-soft: #fff3ec;
  --orange-border: #fed7aa;

  --dark: #1e293b;
  --text-body: #334155;
  --text-muted: #64748b;

  --green: #10b981;
  --green-soft: #ecfdf5;

  --bg-white: #ffffff;
  --bg-soft: #f8fafc;
  --border: #e2e8f0;

  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-white);
  color: var(--text-body);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 820px;
}

.text-center { text-align: center; }
.text-orange { color: var(--orange) !important; }
.text-green { color: var(--green) !important; }
.bg-soft { background-color: var(--bg-soft); }
.bg-orange-soft { background-color: var(--orange-soft); }
.mb-30 { margin-bottom: 26px; }

/* =========================================================
   TOP BAR & HEADER
   ========================================================= */
.top-bar {
  background-color: var(--orange);
  color: #ffffff;
  font-size: 0.85rem;
  padding: 8px 0;
  font-weight: 600;
}
.top-bar-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  flex-direction: column;
}
.logo-main {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
}
.logo-sub {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--dark);
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}
.btn-sm { padding: 8px 18px; font-size: 0.88rem; }
.btn-xl { padding: 16px 36px; font-size: 1.15rem; }
.btn-full { width: 100%; }

.btn-primary {
  background-color: var(--orange);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(226, 106, 39, 0.3);
}
.btn-primary:hover {
  background-color: var(--orange-dark);
  transform: translateY(-2px);
}

.btn-white {
  background-color: #ffffff;
  color: var(--dark);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.btn-white:hover {
  background-color: #f8fafc;
  transform: translateY(-2px);
}

.btn-youtube {
  background-color: #ff0000;
  color: #ffffff;
  padding: 12px 24px;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(255, 0, 0, 0.25);
}
.btn-youtube:hover {
  background-color: #cc0000;
  transform: translateY(-2px);
}

/* =========================================================
   HERO BANNER
   ========================================================= */
.hero {
  background: linear-gradient(150deg, #e26a27 0%, #d85d1f 100%);
  color: #ffffff;
  padding: 60px 0 90px;
  position: relative;
  text-align: center;
}
.hero-container {
  max-width: 840px;
}
.hero-badge {
  display: inline-block;
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero-highlight {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.5);
  text-underline-offset: 6px;
}
.hero-lead {
  font-size: 1.25rem;
  line-height: 1.55;
  opacity: 0.95;
  margin-bottom: 30px;
}

/* Chat Simple en Hero */
.chat-simple-card {
  background: #ffffff;
  color: var(--dark);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: left;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.22);
  margin-bottom: 24px;
}
.chat-bubble {
  padding: 14px 18px;
  font-size: 0.98rem;
  margin-bottom: 12px;
}
.bubble-tag {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.user-bubble {
  background: var(--orange-soft);
  border: 1px solid var(--orange-border);
  border-radius: 14px;
}
.user-bubble .bubble-tag { color: var(--orange); }

.bot-bubble {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 0;
}
.bot-tag { color: var(--orange); }

.chat-upsell-pill {
  background: #ffffff;
  border: 2px dashed var(--orange);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.92rem;
  margin-top: 10px;
  color: var(--dark);
}

.hero-perks {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.95rem;
  font-weight: 700;
}
.hero-perks span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-curve {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
}
.hero-curve svg {
  display: block;
  width: 100%;
  height: 40px;
}

/* =========================================================
   SECCIONES GENERALES
   ========================================================= */
.section {
  padding: 75px 0;
}

.pill {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.pill-orange {
  background: var(--orange-soft);
  color: var(--orange);
  border: 1px solid var(--orange-border);
}
.pill-red {
  background: #fef2f2;
  color: #ef4444;
  border: 1px solid #fecaca;
}
.pill-green {
  background: var(--green-soft);
  color: var(--green);
  border: 1px solid #a7f3d0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 12px;
}
.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.5;
}

.card-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.big-text {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.medium-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.alert-box-red {
  background: #fff5f5;
  border-left: 4px solid #ef4444;
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  font-size: 1.15rem;
  color: #991b1b;
}

/* Query List */
.query-list-simple {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 600px;
  margin: 0 auto 28px;
  text-align: left;
}
.q-item {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--dark);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}
.solution-highlight {
  font-size: 1.15rem;
  color: var(--dark);
}

/* =========================================================
   SECCIÓN ESPECIAL: TICKET MEDIO
   ========================================================= */
.section-ticket-medio {
  background: #ffffff;
}
.ticket-reasons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 36px;
}
.ticket-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 24px;
}
.ticket-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.ticket-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
}
.ticket-card p {
  font-size: 1rem;
  color: var(--text-body);
  margin-bottom: 14px;
}
.acc-mini-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.95rem;
}
.acc-mini-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

/* Comparativa Ticket Medio */
.comparison-ticket-box {
  background: #ffffff;
  border: 2px solid var(--orange);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: 0 10px 30px rgba(226, 106, 39, 0.12);
}
.comp-ticket-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 24px;
}
.ticket-vs-grid {
  display: grid;
  grid-template-columns: 1fr auto 1.15fr;
  align-items: center;
  gap: 20px;
}
.ticket-side {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
}
.side-before {
  opacity: 0.85;
}
.side-after {
  background: var(--orange-soft);
  border: 2px solid var(--orange);
}
.side-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  background: #e2e8f0;
  color: var(--dark);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}
.badge-winner {
  background: var(--orange);
  color: #ffffff;
}
.side-amount {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 8px;
}
.side-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.ticket-breakdown {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.92rem;
  color: var(--dark);
  background: #ffffff;
  padding: 10px;
  border-radius: 8px;
  margin: 10px 0;
  border: 1px solid var(--orange-border);
}
.ticket-winner-tag {
  font-size: 0.95rem;
  color: var(--green);
  font-weight: 700;
}
.ticket-arrow {
  font-size: 1.6rem;
  color: var(--orange);
}

/* =========================================================
   3 PASOS PARA TUS 7 TIENDAS
   ========================================================= */
.three-steps-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.step-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}
.step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--orange);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  flex-shrink: 0;
}
.step-content h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
}
.step-content p {
  font-size: 1rem;
  color: var(--text-body);
}

/* =========================================================
   APARTADO PAU MARTÍ (Perfil de Confianza)
   ========================================================= */
.author-profile-card {
  background: #ffffff;
  border: 2px solid var(--orange-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}
.author-photo-side {
  text-align: center;
}
.author-img {
  width: 220px;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 3px solid var(--orange);
  box-shadow: 0 8px 24px rgba(226, 106, 39, 0.2);
  margin-bottom: 12px;
}
.author-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--orange-soft);
  color: var(--dark);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 100px;
}
.author-name {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 4px;
}
.author-role {
  font-size: 1.05rem;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 18px;
}
.author-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--text-body);
}
.highlight-item i {
  font-size: 1.2rem;
  margin-top: 3px;
  flex-shrink: 0;
}
.author-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* FAQ Simple Grid */
.faq-simple-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  text-align: left;
}
.faq-item-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
.faq-item-box strong {
  display: block;
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 6px;
}
.faq-item-box p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Scope Grid */
.scope-grid-clean {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  text-align: left;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
}
.scope-clean-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--dark);
  font-size: 0.98rem;
}

/* =========================================================
   INVERSIÓN
   ========================================================= */
.pricing-super-card {
  background: #ffffff;
  border: 2px solid var(--orange);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
}
.price-split-boxes {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 24px;
}
.price-side {
  text-align: center;
}
.price-label {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
}
.price-huge {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
}
.price-month {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 600;
}
.price-sub-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--orange);
  background: var(--orange-soft);
  padding: 3px 12px;
  border-radius: 100px;
  margin: 6px 0 10px;
}
.badge-green-sub {
  color: var(--green);
  background: var(--green-soft);
}
.price-side-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.price-plus {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--orange);
}

.price-per-store {
  margin-top: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
  background: #ffffff;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
}

/* Tarjeta ROI y Rentabilidad Garantizada */
.roi-guarantee-card {
  background: #ffffff;
  border: 2px solid var(--orange-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  margin-bottom: 28px;
  text-align: left;
}
.roi-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.roi-header i {
  font-size: 1.4rem;
}
.roi-header h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
}
.roi-points-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 22px;
}
.roi-point-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.roi-point-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.roi-point-item strong {
  font-size: 1.05rem;
  color: var(--dark);
  display: block;
  margin-bottom: 3px;
}
.roi-point-item p {
  font-size: 0.94rem;
  color: var(--text-body);
  line-height: 1.5;
}
.roi-conclusion-badge {
  background: var(--green-soft);
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--dark);
}
.roi-conclusion-badge i {
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* =========================================================
   DIE TRANSFORMATION (VORHER VS. NACHHER)
   ========================================================= */
.transformation-cards-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}
.trans-card {
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}
.trans-before {
  background: #ffffff;
  border: 2px solid #fecaca;
}
.trans-after {
  background: #ffffff;
  border: 2px solid var(--orange);
  box-shadow: 0 10px 30px rgba(226, 106, 39, 0.12);
}
.trans-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
  margin-bottom: 20px;
}
.trans-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 8px;
}
.tag-before {
  background: #fef2f2;
  color: #ef4444;
}
.tag-after {
  background: var(--orange-soft);
  color: var(--orange);
}
.trans-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--dark);
}
.trans-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.trans-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.95rem;
}
.trans-list li i {
  font-size: 1.15rem;
  margin-top: 3px;
  flex-shrink: 0;
}
.text-red { color: #ef4444 !important; }
.trans-list li strong {
  color: var(--dark);
  display: block;
  font-size: 1rem;
  margin-bottom: 2px;
}
.trans-list li p {
  color: var(--text-body);
  font-size: 0.92rem;
  line-height: 1.45;
}

.trans-summary-box {
  background: var(--orange-soft);
  border: 1px solid var(--orange-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}
.trans-summary-box i {
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.trans-summary-box h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
}
.trans-summary-box p {
  font-size: 0.98rem;
  color: var(--dark);
}

/* =========================================================
   CIERRE FINAL
   ========================================================= */
.section-closing-final {
  background: linear-gradient(150deg, #e26a27 0%, #cc5616 100%);
  color: #ffffff;
  padding: 85px 0;
}
.closing-title-big {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
}
.closing-quote-text {
  font-size: 1.25rem;
  line-height: 1.6;
  opacity: 0.95;
  margin-bottom: 36px;
}
.closing-question {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 20px;
}

/* Footer */
.footer {
  background: var(--dark);
  color: #94a3b8;
  padding: 24px 0;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 820px) {
  .author-profile-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .author-photo-side {
    margin: 0 auto;
  }
  .highlight-item {
    text-align: left;
  }
  .author-cta-row {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.1rem; }
  .section-title { font-size: 1.7rem; }
  .top-bar-flex { justify-content: center; }
  .ticket-reasons-grid,
  .faq-simple-grid,
  .scope-grid-clean { grid-template-columns: 1fr; }
  .ticket-vs-grid { grid-template-columns: 1fr; }
  .ticket-arrow { transform: rotate(90deg); margin: 6px 0; }
  .price-split-boxes { grid-template-columns: 1fr; gap: 16px; }
  .price-plus { display: none; }
  .step-box { flex-direction: column; gap: 12px; }
  .closing-title-big { font-size: 2rem; }
}
