/* ============================================================
   mrm·seo — Landing Page Styles
   Light Premium Design System
   ============================================================ */

/* ── Google Fonts Import ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,800;0,900;1,700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ============================================================
   1. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --bg:            #F9F5EE;
  --bg-alt:        #F2EDE3;
  --bg-card:       #FDFAF5;
  --indigo:        #8B1A2C;
  --indigo-hover:  #6E1522;
  --indigo-glow:   rgba(139,26,44,0.08);
  --green:         #16A34A;
  --green-light:   rgba(22,163,74,0.10);
  --red:           #DC2626;
  --red-light:     rgba(220,38,38,0.08);
  --text:          #0F172A;
  --text-muted:    #475569;
  --text-subtle:   #94A3B8;
  --border:        #E2E8F0;
  --border-strong: #CBD5E1;
  --font:          'Plus Jakarta Sans', system-ui, sans-serif;
  --font-serif:    'Playfair Display', Georgia, serif;
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:     0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg:     0 8px 24px rgba(0,0,0,0.10);
  --radius-sm:     8px;
  --radius-md:     12px;
  --radius-lg:     16px;
  --transition:    200ms ease;
  --max-width:     1160px;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }

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

ul { list-style: none; }

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  background: none;
}

/* ============================================================
   3. LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 640px) {
  .container { padding-inline: 32px; }
}

@media (min-width: 1024px) {
  .container { padding-inline: 40px; }
}

/* ============================================================
   4. TYPOGRAPHY UTILITIES
   ============================================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--indigo-glow);
  color: var(--indigo);
  border: 1px solid rgba(139,26,44,0.16);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 600px;
}

@media (min-width: 768px) {
  .section-title { font-size: 2.25rem; }
  .section-subtitle { font-size: 1.05rem; }
}

@media (min-width: 1024px) {
  .section-title { font-size: 2.5rem; }
}

/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--indigo);
  color: #fff;
  border: 2px solid var(--indigo);
  box-shadow: 0 2px 8px rgba(139,26,44,0.25);
}

.btn-primary:hover {
  background: var(--indigo-hover);
  border-color: var(--indigo-hover);
  box-shadow: 0 4px 16px rgba(139,26,44,0.35);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--indigo);
  border: 2px solid var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--indigo);
  background: var(--indigo-glow);
  transform: translateY(-1px);
}

.btn-primary--lg,
.btn-ghost--lg {
  padding: 14px 32px;
  font-size: 1rem;
}

/* ============================================================
   6. ANIMATIONS — FADE UP
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  .fade-up.visible { opacity: 1; transform: none; }
}

/* ============================================================
   7. NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(249,245,238,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.navbar__logo {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.navbar__logo .dot {
  color: var(--indigo);
}

.logo-mrm { color: var(--indigo); }
.logo-dot  { color: var(--indigo); }
.logo-seo  { color: #5C4F3D; }

.navbar__links {
  display: none;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.navbar__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}

.navbar__links a:hover {
  color: var(--text);
  background: var(--bg-alt);
}

.navbar__cta {
  display: none;
}

.navbar__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  background: none;
  border: none;
  cursor: pointer;
}

.navbar__hamburger:hover {
  background: var(--bg-alt);
}

.navbar__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}

.navbar__hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar__hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.navbar__hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.navbar__mobile {
  display: none;
  position: absolute;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 16px 20px 24px;
}

.navbar__mobile.open {
  display: block;
}

.navbar__mobile ul {
  list-style: none;
  margin-bottom: 20px;
}

.navbar__mobile ul li a {
  display: block;
  padding: 12px 4px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}

.navbar__mobile ul li a:hover {
  color: var(--indigo);
}

.navbar__mobile .btn-primary {
  width: 100%;
}

@media (min-width: 768px) {
  .navbar__links { display: flex; }
  .navbar__cta { display: inline-flex; }
  .navbar__hamburger { display: none; }
}

/* ============================================================
   8. HERO SECTION
   ============================================================ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 88px;
  padding-bottom: 80px;
  background-color: var(--bg);
  background-image: radial-gradient(rgba(139,26,44,0.10) 1px, transparent 1px);
  background-size: 28px 28px;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

/* ── BLOQUE 1: Big centered headline ── */
.hero__headline {
  text-align: center;
  margin-bottom: 64px;
}

.hero__headline-text {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  max-width: 880px;
  margin-inline: auto;
}

.hero__headline-line1 {
  display: block;
  color: var(--text-muted);
  font-weight: 500;
}

.hero__headline-line2 {
  display: block;
  color: var(--text);
  font-weight: 800;
}

@media (max-width: 767px) {
  .hero__headline-text {
    font-size: 2.2rem;
  }
  .hero__headline {
    margin-bottom: 40px;
  }
}

/* Hero text column */
.hero__text {}

.hero__pill {
  margin-bottom: 24px;
}

.hero__title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.025em;
}

.hero__title .line1 {
  display: block;
  color: var(--text-muted);
  font-weight: 500;
}

.hero__title .line2 {
  display: block;
  color: var(--text);
  font-weight: 800;
}

.hero__subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 500px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

/* Trust badges */
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
}

.trust-badge::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  background: var(--green-light);
  border-radius: 50%;
  border: 1px solid rgba(22,163,74,0.25);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.5l3 3 6-6' stroke='%2316A34A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  flex-shrink: 0;
}

/* Hero visual column */
.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Google Mockup ── */
.google-mockup {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--border);
  overflow: hidden;
  width: 100%;
  max-width: 420px;
  font-family: Arial, sans-serif;
}

.gm-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.gm-search-icon {
  color: #4285F4;
  font-size: 1rem;
  flex-shrink: 0;
}

.gm-search-text {
  font-size: 0.9rem;
  color: #202124;
  font-family: Arial, sans-serif;
}

.gm-search-text strong {
  font-weight: 500;
}

.gm-pack-header {
  padding: 10px 16px 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #70757a;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: #f8f9fa;
  border-bottom: 1px solid var(--border);
}

/* Results list */
.gm-result {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: background var(--transition);
}

.gm-result:last-of-type {
  border-bottom: none;
}

/* First result — highlighted */
.gm-result--first {
  background: linear-gradient(135deg, #f0f4ff 0%, #fff 60%);
  border-left: 3px solid var(--indigo);
}

.gm-result--first:hover {
  background: linear-gradient(135deg, #e8edff 0%, #f8f9fa 60%);
}

.gm-result__rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 0.6875rem;
  font-weight: 700;
  margin-bottom: 6px;
  flex-shrink: 0;
}

.gm-result--first .gm-result__rank {
  background: var(--indigo);
  color: #fff;
}

.gm-result--dim .gm-result__rank {
  background: #dadce0;
  color: #70757a;
}

.gm-result__header {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 4px;
}

.gm-result__name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a0dab;
  line-height: 1.3;
}

.gm-result--first .gm-result__name {
  color: var(--indigo);
}

.gm-result__stars {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 3px;
  font-size: 0.75rem;
}

.gm-stars-value {
  color: #202124;
  font-weight: 600;
}

.gm-stars-icons {
  color: #f9ab00;
  letter-spacing: 1px;
  font-size: 0.7rem;
}

.gm-stars-count {
  color: #70757a;
}

.gm-result__meta {
  font-size: 0.75rem;
  color: #4d5156;
  margin-bottom: 3px;
}

.gm-result__addr {
  font-size: 0.7rem;
  color: #70757a;
  margin-bottom: 8px;
}

.gm-result__btns {
  display: flex;
  gap: 6px;
}

.gm-btn {
  font-size: 0.7rem;
  font-weight: 600;
  color: #1a73e8;
  background: #e8f0fe;
  border: none;
  border-radius: 100px;
  padding: 4px 10px;
  cursor: pointer;
  font-family: Arial, sans-serif;
}

/* Dim results */
.gm-result--dim {
  opacity: 0.55;
  pointer-events: none;
}

.gm-result--dim .gm-placeholder-line {
  height: 9px;
  background: #e8eaed;
  border-radius: 4px;
  margin-bottom: 6px;
}

.gm-result--dim .gm-placeholder-line--wide { width: 75%; }
.gm-result--dim .gm-placeholder-line--mid { width: 55%; }
.gm-result--dim .gm-placeholder-line--short { width: 35%; }

/* Badge below mockup */
.gm-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  background: var(--green-light);
  border-top: 1px solid rgba(22,163,74,0.2);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.01em;
}

/* Desktop hero layout */
@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  .hero__title {
    font-size: 2.875rem;
  }
}

@media (min-width: 768px) {
  .hero__title {
    font-size: 2.5rem;
  }
}

/* ============================================================
   9. SECTION PAIN (.pain)
   ============================================================ */
.pain {
  background: var(--bg-alt);
  padding: 80px 0;
}

.pain__header {
  text-align: center;
  margin-bottom: 48px;
}

.pain__header .section-subtitle {
  margin-inline: auto;
}

.pain__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .pain__grid { grid-template-columns: 1fr 1fr; }
}

.pain-block {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  border-top: 3px solid transparent;
  padding: 28px 28px 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-top-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.pain-block:hover {
  border-top-color: var(--indigo);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.pain-block__num {
  position: absolute;
  top: -10px;
  right: 16px;
  font-size: 5rem;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  z-index: 0;
}

.pain-block__content {
  position: relative;
  z-index: 1;
}

.pain-block__icon {
  width: 44px;
  height: 44px;
  background: var(--indigo-glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--indigo);
}

.pain-block__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
}

.pain-block__text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   10. SECTION PROCESS (.process)
   ============================================================ */
.process {
  background: var(--bg);
  padding: 80px 0;
}

.process__header {
  text-align: center;
  margin-bottom: 56px;
}

.process__header .section-subtitle {
  margin-inline: auto;
}

.process__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  position: relative;
}

@media (min-width: 768px) {
  .process__steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }

  /* Dotted connector line between steps */
  .process__steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(12.5% + 20px);
    right: calc(12.5% + 20px);
    height: 2px;
    background: repeating-linear-gradient(
      90deg,
      var(--border) 0,
      var(--border) 6px,
      transparent 6px,
      transparent 14px
    );
    z-index: 0;
  }
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 0 12px;
}

.step-card__circle {
  width: 56px;
  height: 56px;
  background: var(--indigo);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--indigo-glow);
  flex-shrink: 0;
}

.step-card__body {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  box-shadow: var(--shadow-sm);
  width: 100%;
  transition: box-shadow var(--transition), transform var(--transition);
}

.step-card__body:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.step-card__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.step-card__text {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Mobile: vertical connector */
@media (max-width: 767px) {
  .step-card:not(:last-child)::after {
    content: '';
    display: block;
    width: 2px;
    height: 24px;
    background: repeating-linear-gradient(
      180deg,
      var(--border) 0,
      var(--border) 5px,
      transparent 5px,
      transparent 11px
    );
    margin: 8px auto 0;
  }
}

/* ============================================================
   11. SECTION SERVICES (.services)
   ============================================================ */
.services {
  background: var(--bg-alt);
  padding: 80px 0;
}

.services__header {
  text-align: center;
  margin-bottom: 48px;
}

.services__header .section-subtitle {
  margin-inline: auto;
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .services__grid { grid-template-columns: 1fr 1fr; }
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

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

.service-card--featured {
  border-color: var(--indigo);
  border-width: 2px;
  box-shadow: 0 0 0 1px var(--indigo), var(--shadow-md);
  position: relative;
}

.service-card--featured:hover {
  box-shadow: 0 0 0 1px var(--indigo), var(--shadow-lg);
}

.service-card__badge-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.service-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--indigo-glow);
  color: var(--indigo);
  border: 1px solid rgba(139,26,44,0.16);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
}

.service-card__featured-badge {
  background: var(--indigo);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 100px;
}

.service-card__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.service-card__subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.service-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.service-card__list li::before {
  content: '→';
  color: var(--indigo);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================================
   11b. SECTION SISTEMA MRM (.sistema)
   ============================================================ */
.sistema {
  background: var(--bg-alt);
  padding: 80px 0;
}

.sistema__header {
  text-align: center;
  margin-bottom: 56px;
}

.sistema__header .section-subtitle {
  margin-inline: auto;
}

.sistema__brand {
  color: var(--indigo);
  font-size: 2.75rem;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .sistema__brand { font-size: 3.25rem; }
}

.sistema__subtitle {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.45;
  max-width: 600px;
  margin: 0 auto 20px;
}

.sistema__intro {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 680px;
  margin-inline: auto;
}

/* Grid: 2 columns on tablet+, 1 on mobile */
.sistema__grid {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
}

@media (min-width: 768px) {
  .sistema__grid { grid-template-columns: 1fr 1fr; }
}

/* Each block */
.sistema-block {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 32px 28px;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.sistema-block:hover {
  background: var(--bg-alt);
}

/* Mobile: last block has no border */
@media (max-width: 767px) {
  .sistema-block:last-child { border-bottom: none; }
}

/* Desktop: last two blocks (bottom row) have no border; right column has left border */
@media (min-width: 768px) {
  .sistema-block:nth-last-child(-n+2) { border-bottom: none; }
  .sistema-block:nth-child(2n) { border-left: 1px solid var(--border); }
}

.sistema-block__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--indigo-glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--indigo);
}

.sistema-block__content { flex: 1; }

.sistema-block__title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--text);
  margin-bottom: 6px;
}

.sistema-block__accent {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--indigo);
  margin-bottom: 8px;
  line-height: 1.3;
}

.sistema-block__text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   11c. BENTO GRID — Sistema MRM cards con spotlight
   ============================================================ */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .bento-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(3, 1fr); }
}

.bento-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  --mouse-x: 50%;
  --mouse-y: 50%;
}

.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mouse-x) var(--mouse-y), rgba(139,26,44,0.07), transparent 60%);
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
  border-radius: inherit;
}

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

.bento-card:hover::before {
  opacity: 1;
}

@media (min-width: 1024px) {
  .bento-card--span2 { grid-column: span 2; }
  .bento-card--span3 { grid-column: span 3; }
}

/* Dark full-width card (Gestión Dedicada) */
.bento-card--dark {
  background: var(--indigo);
  border-color: transparent;
}

.bento-card--dark .bento-card__icon {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.bento-card--dark .bento-card__title {
  color: rgba(249,245,238,0.60);
}

.bento-card--dark .bento-card__accent {
  color: #fff;
  font-size: 1.0625rem;
}

.bento-card--dark .bento-card__text {
  color: rgba(249,245,238,0.80);
  font-size: 1rem;
  line-height: 1.7;
}

.bento-card--dark::before {
  background: radial-gradient(
    500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255,255,255,0.06),
    transparent 60%
  );
}

.bento-card__icon {
  width: 48px;
  height: 48px;
  background: var(--indigo-glow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--indigo);
  margin-bottom: 20px;
  flex-shrink: 0;
}

.bento-card__icon svg,
.bento-card__icon i {
  width: 22px;
  height: 22px;
  stroke-width: 1.75;
}

.bento-card__content { flex: 1; }

.bento-card__title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 6px;
}

.bento-card__accent {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--indigo);
  margin-bottom: 8px;
  line-height: 1.3;
}

.bento-card__text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Dark card horizontal layout on desktop */
@media (min-width: 1024px) {
  .bento-card--dark {
    display: flex;
    align-items: center;
    gap: 40px;
  }

  .bento-card--dark .bento-card__icon {
    margin-bottom: 0;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
  }

  .bento-card--dark .bento-card__icon svg,
  .bento-card--dark .bento-card__icon i {
    width: 28px;
    height: 28px;
  }
}

/* ============================================================
   12. SECTION RESULTS (.results)
   ============================================================ */
.results {
  background: var(--bg);
  padding: 80px 0;
}

.results__header {
  text-align: center;
  margin-bottom: 48px;
}

.results__header .section-subtitle {
  margin-inline: auto;
}

.results__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .results__grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .results__grid { grid-template-columns: repeat(3, 1fr); }
}

.result-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

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

.result-card__ref {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--indigo);
  background: var(--indigo-glow);
  border: 1px solid rgba(139,26,44,0.14);
  border-radius: 100px;
  padding: 3px 10px;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}

.result-card__before {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 6px;
}

.result-card__before-value {
  text-decoration: line-through;
  opacity: 0.8;
}

.result-card__after {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1.1;
  margin-bottom: 6px;
  letter-spacing: -0.03em;
}

.result-card__label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 14px;
}

.result-card__desc {
  font-size: 0.8125rem;
  color: var(--text-subtle);
  line-height: 1.55;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

/* ============================================================
   12b. SECTION RESULTADOS — DOS BLOQUES
   ============================================================ */

/* Wrapper without own padding */
.resultados-wrap { }

/* ── BLOQUE SUPERIOR: Datos del sector — fondo oscuro ── */
.stats-block {
  background: #1A1209;
  padding: 60px 0;
}

@media (min-width: 768px) { .stats-block { padding: 80px 0; } }
@media (min-width: 1024px) { .stats-block { padding: 120px 0; } }

/* Dark text overrides */
.stats-block .section-label {
  background: rgba(249,245,238,0.10);
  border-color: rgba(249,245,238,0.15);
  color: rgba(249,245,238,0.70);
}

.stats-block .section-title {
  color: #F9F5EE;
}

.stats-block .section-subtitle {
  color: rgba(249,245,238,0.60);
}

.stats-block .stat-card {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.10);
}

.stats-block .stat-card:hover {
  background: rgba(255,255,255,0.08);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}

.stats-block .stat-card__number {
  color: #D4718A;
}

.stats-block .stat-card__text {
  color: rgba(249,245,238,0.60);
}

.stats-block__header {
  text-align: center;
  margin-bottom: 48px;
}

.stats-block__header .section-subtitle {
  margin-inline: auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
  }
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

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

.stat-card__number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--indigo);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

@media (min-width: 768px) { .stat-card__number { font-size: 3.5rem; } }

.stat-card__text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Separador visual ── */
.stats-divider {
  height: 1px;
  background: var(--border);
}

/* ── BLOQUE INFERIOR: Auditoría gratuita ── */
.audit-block {
  background: var(--bg);
  padding: 60px 0;
}

@media (min-width: 768px) { .audit-block { padding: 80px 0; } }
@media (min-width: 1024px) { .audit-block { padding: 120px 0; } }

.audit-block__header {
  text-align: center;
  margin-bottom: 48px;
}

.audit-block__header .section-subtitle {
  margin-inline: auto;
}

.audit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .audit-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .audit-grid { gap: 20px; }
}

.audit-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.audit-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.audit-item__check {
  flex-shrink: 0;
  margin-top: 1px;
}

.audit-item__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
  line-height: 1.4;
}

.audit-item__subtitle {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.audit-cta {
  text-align: center;
}

/* ============================================================
   13. SECTION PRICING (.pricing)
   ============================================================ */
.pricing {
  background: var(--bg-alt);
  padding: 80px 0;
}

.pricing__header {
  text-align: center;
  margin-bottom: 48px;
}

.pricing__header .section-subtitle {
  margin-inline: auto;
}

.pricing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

@media (min-width: 768px) {
  .pricing__grid { grid-template-columns: repeat(3, 1fr); }
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}

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

/* Stretched link: entire card clickable */
.pricing-card .stretched-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.pricing-card--featured {
  border-color: var(--indigo);
  border-width: 2px;
  box-shadow: 0 0 0 1px var(--indigo), var(--shadow-lg);
}

@media (min-width: 768px) {
  .pricing-card--featured {
    transform: scale(1.02);
    z-index: 2;
  }

  .pricing-card--featured:hover {
    transform: scale(1.02) translateY(-2px);
  }
}

.pricing-card__top-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--indigo);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-card__plan {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 8px;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}

.pricing-card__price-value {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--indigo);
  letter-spacing: -0.04em;
}

.pricing-card__price-from {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-right: 2px;
}

.pricing-card__price-period {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.pricing-card__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.pricing-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.pricing-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.pricing-check {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--indigo);
}

.pricing-card__cta {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition);
  display: block;
}

.pricing-card__cta--solid {
  background: var(--indigo);
  color: #fff;
  border: 2px solid var(--indigo);
  box-shadow: 0 2px 8px rgba(139,26,44,0.25);
}

.pricing-card__cta--solid:hover {
  background: var(--indigo-hover);
  border-color: var(--indigo-hover);
  box-shadow: 0 4px 16px rgba(139,26,44,0.35);
  transform: translateY(-1px);
}

.pricing-card__cta--outline {
  background: transparent;
  color: var(--indigo);
  border: 2px solid var(--border-strong);
}

.pricing-card__cta--outline:hover {
  border-color: var(--indigo);
  background: var(--indigo-glow);
  transform: translateY(-1px);
}

.pricing__note {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-subtle);
  margin-top: 32px;
}

/* ============================================================
   14. SECTION FAQ (.faq)
   ============================================================ */
.faq {
  background: var(--bg);
  padding: 80px 0;
}

.faq__header {
  text-align: center;
  margin-bottom: 48px;
}

.faq__list {
  max-width: 760px;
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  text-align: left;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--indigo);
}

.faq-question__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--indigo-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--indigo);
  transition: background var(--transition), color var(--transition);
}

.faq-question__icon svg {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}

.faq-item.open .faq-question__icon {
  background: var(--indigo);
  color: #fff;
}

/* Lucide plus/minus toggle */
.faq-question__icon .lucide-minus { display: none; }
.faq-question__icon .lucide-plus  { display: block; }
.faq-item.open .faq-question__icon .lucide-plus  { display: none; }
.faq-item.open .faq-question__icon .lucide-minus { display: block; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 350ms ease, padding 350ms ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  padding-bottom: 20px;
}

/* ============================================================
   15. SECTION CONTACT (.contact)
   ============================================================ */
.contact {
  background: var(--text);
  padding: 80px 0;
}

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

@media (min-width: 1024px) {
  .contact__inner {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }
}

/* Left column */
.contact__info {}

.contact__info .section-label {
  background: rgba(139,26,44,0.18);
  border-color: rgba(139,26,44,0.32);
  color: #F0A0AD;
}

.contact__title {
  font-size: 1.875rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .contact__title { font-size: 2.25rem; }
}

.contact__subtitle {
  font-size: 1rem;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact__trust-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
}

.contact__trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.contact__trust-list li::before {
  content: '→';
  color: #F0A0AD;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Form card */
.contact__form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  max-width: 560px;
  width: 100%;
}

@media (min-width: 1024px) {
  .contact__form-card { max-width: none; }
}

.form-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-family: 'Courier New', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-input,
.form-select {
  width: 100%;
  padding: 11px 14px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%2394A3B8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
}

.form-input::placeholder {
  color: var(--text-subtle);
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(139,26,44,0.12);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-submit {
  width: 100%;
  padding: 14px 24px;
  background: var(--indigo);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  margin-top: 8px;
  box-shadow: 0 2px 8px rgba(139,26,44,0.3);
}

.form-submit:hover {
  background: var(--indigo-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(139,26,44,0.4);
}

.form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* ============================================================
   16. FOOTER — fondo oscuro
   ============================================================ */
.footer {
  background: #1A1209;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 48px 0 32px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .footer__inner { grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
}

.footer__brand {}

.footer__logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: #F9F5EE;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.footer__logo .dot {
  color: var(--indigo);
}

.footer__tagline {
  font-size: 0.875rem;
  color: rgba(249,245,238,0.55);
  line-height: 1.6;
  max-width: 280px;
  margin-bottom: 20px;
}

.footer__infra {
  font-size: 0.8rem;
  color: rgba(249,245,238,0.40);
}

.footer__infra strong {
  color: rgba(249,245,238,0.60);
}

.footer__col-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(249,245,238,0.40);
  margin-bottom: 16px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.footer__links a {
  font-size: 0.875rem;
  color: rgba(249,245,238,0.55);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: #F9F5EE;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 40px;
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8125rem;
  color: rgba(249,245,238,0.35);
}

.footer__bottom a {
  color: rgba(249,245,238,0.35);
  transition: color var(--transition);
}

.footer__bottom a:hover {
  color: #F9F5EE;
}

/* ============================================================
   17. SECTION PADDING UTILITIES
   ============================================================ */
section {
  scroll-margin-top: 80px;
}

/* ============================================================
   19. RESPONSIVE — REQUISITOS OBLIGATORIOS POR DISPOSITIVO
   ============================================================ */

/* ── No horizontal scroll at any width ── */
body {
  overflow-x: hidden;
}

/* ── Section padding: 48px mobile / 80px tablet / 120px desktop ── */
.pain,
.process,
.sistema,
.results,
.faq,
.contact {
  padding-block: 48px;
}

@media (min-width: 768px) {
  .pain,
  .process,
  .sistema,
  .results,
  .faq,
  .contact {
    padding-block: 80px;
  }
}

@media (min-width: 1024px) {
  .pain,
  .process,
  .sistema,
  .results,
  .faq,
  .contact {
    padding-block: 120px;
  }
}

/* ── Buttons & interactive elements: 48px touch target on mobile ── */
@media (max-width: 767px) {
  .btn-primary,
  .btn-ghost,
  .pricing-card__cta,
  .form-submit {
    min-height: 48px;
  }

  .faq-question {
    min-height: 48px;
    align-items: center;
  }
}

/* ── Form inputs: 16px min to prevent iOS auto-zoom ── */
.form-input,
.form-select {
  font-size: 1rem;
}

/* ── Process steps: timeline layout on mobile ── */
@media (max-width: 767px) {
  .process__steps {
    gap: 0;
  }

  /* Vertical left connecting line */
  .process__steps::before {
    content: '';
    position: absolute;
    left: 27px;
    top: 56px;
    bottom: 28px;
    width: 2px;
    background: repeating-linear-gradient(
      180deg,
      var(--border) 0,
      var(--border) 6px,
      transparent 6px,
      transparent 14px
    );
  }

  .step-card {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 16px;
    padding: 0 0 28px 0;
  }

  .step-card:last-child {
    padding-bottom: 0;
  }

  .step-card__circle {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  /* Remove old centered vertical connector */
  .step-card:not(:last-child)::after {
    display: none;
  }
}

/* ── Hero: text-first stacking confirmed on mobile ── */
@media (max-width: 767px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__text { order: 1; }
  .hero__visual { order: 2; }
}

/* ── Pricing: single column on mobile, featured card not scaled ── */
@media (max-width: 767px) {
  .pricing__grid {
    grid-template-columns: 1fr;
  }

  .pricing-card--featured {
    transform: none;
  }

  .pricing-card--featured:hover {
    transform: translateY(-2px);
  }
}

/* ── Form row: stack on mobile ── */
@media (max-width: 639px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   18. MISCELLANEOUS / HELPERS
   ============================================================ */
.text-center { text-align: center; }
.text-indigo { color: var(--indigo); }
.text-green  { color: var(--green); }
.text-red    { color: var(--red); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ============================================================
   20. TIPOGRAFÍA — ESCALA AMPLIADA
   ============================================================ */

/* ── Playfair Display en titulares ── */
h1,
h2,
.hero__title,
.section-title,
.hero__headline-text,
.contact__title,
.sistema__brand {
  font-family: var(--font-serif);
}

/* ── Body: line-height y font-size base ── */
body {
  line-height: 1.75;
}

@media (min-width: 1024px) {
  body { font-size: 1.1rem; }
}

/* ── Hero headline (BLOQUE 1) ── */
.hero__headline-text {
  font-size: 2.4rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .hero__headline-text { font-size: 3.2rem; }
}

@media (min-width: 1024px) {
  .hero__headline-text { font-size: 4.5rem; }
}

/* ── Hero H1 ── */
.hero__title {
  font-size: 1.8rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .hero__title { font-size: 2.2rem; }
}

@media (min-width: 1024px) {
  .hero__title { font-size: 2.8rem; }
}

/* ── Section H2 titles ── */
.section-title {
  font-size: 1.6rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .section-title { font-size: 2rem; }
}

@media (min-width: 1024px) {
  .section-title { font-size: 2.4rem; }
}

/* ── Contact H2 (own class) ── */
.contact__title {
  font-size: 1.6rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .contact__title { font-size: 2rem; }
}

@media (min-width: 1024px) {
  .contact__title { font-size: 2.4rem; }
}

/* ── Section subtitles under H2 ── */
@media (min-width: 768px) {
  .section-subtitle { font-size: 1.05rem; }
}

@media (min-width: 1024px) {
  .section-subtitle { font-size: 1.2rem; }
}

/* ── Section labels / badges ── */
.section-label { font-size: 0.9rem; }

/* ── Section vertical padding: 60px on mobile ── */
@media (max-width: 767px) {
  .pain,
  .process,
  .sistema,
  .results,
  .faq,
  .contact {
    padding-block: 60px;
  }
}

/* ── Card padding minimums ── */
@media (min-width: 1024px) {
  .pain-block        { padding: 32px; }
  .step-card__body   { padding: 32px 28px; }
  .result-card       { padding: 32px 28px; }
}

@media (max-width: 767px) {
  .pain-block        { padding: 24px; }
  .step-card__body   { padding: 24px 20px; }
  .result-card       { padding: 24px 20px; }
}

/* ── Grid gaps: 32px desktop / 20px mobile ── */
@media (min-width: 1024px) {
  .pain__grid    { gap: 32px; }
  .results__grid { gap: 32px; }
}

@media (max-width: 767px) {
  .pain__grid    { gap: 20px; }
  .results__grid { gap: 20px; }
}
