/* ==========================================================================
   RIE MARKETING — 2026 DIGITAL SOLUTIONS
   Visual & Color Reference: BeDesign 4 (MuffinGroup) + RIE Brand System
   Typography: Inter Variable Font (wght 100..900, opsz 14..32)
   Rounded Corners, Softened Borders & Bulletproof Mobile Menu Edition
   ========================================================================== */

:root {
  /* BeDesign 4 & RIE Marketing Core Palette */
  --rie-navy: #141642;
  --rie-indigo: #2d2f8d;
  --rie-crimson: #fa1a44;
  --rie-yellow: #ffc60f;
  --rie-orange: #f68621;
  --rie-teal: #008e78;
  --rie-cyan: #00b2e7;
  --rie-whatsapp: #25d366;
  --rie-whatsapp-dark: #128c7e;

  /* Neutrals & Surfaces */
  --bg-light: #f6f5f2;
  --bg-white: #ffffff;
  --bg-dark: #0f1026;
  --bg-card-dark: #191b4b;
  --text-primary: #11122c;
  --text-secondary: #4a4c6d;
  --text-muted: #767896;
  --text-on-dark: #ffffff;
  --text-on-dark-muted: rgba(255, 255, 255, 0.78);

  /* Softened Borders & Rounded Radii */
  --border-subtle: rgba(20, 22, 66, 0.1);
  --border-soft: rgba(20, 22, 66, 0.14);
  --border-light-glass: rgba(255, 255, 255, 0.18);
  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 30px;
  --radius-pill: 9999px;

  /* Soft, Elevated Shadows */
  --shadow-card: 0 16px 40px rgba(20, 22, 66, 0.08), 0 4px 12px rgba(20, 22, 66, 0.04);
  --shadow-card-hover: 0 22px 48px rgba(20, 22, 66, 0.14), 0 6px 16px rgba(20, 22, 66, 0.06);
  --shadow-accent-yellow: 0 18px 42px rgba(255, 198, 15, 0.22), 0 6px 16px rgba(20, 22, 66, 0.08);
  --shadow-accent-crimson: 0 18px 42px rgba(250, 26, 68, 0.22), 0 6px 16px rgba(20, 22, 66, 0.1);
  --shadow-accent-teal: 0 18px 42px rgba(0, 142, 120, 0.2), 0 6px 16px rgba(20, 22, 66, 0.08);
  --shadow-btn: 0 8px 22px rgba(20, 22, 66, 0.14);
  --shadow-btn-hover: 0 12px 28px rgba(20, 22, 66, 0.22);

  /* Typography — Inter Variable */
  --font-inter: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout & Spacing */
  --container-max: 1320px;
  --header-height: 84px;
  --transition-fast: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  font-family: var(--font-inter);
  font-optical-sizing: auto;
  font-variation-settings: "wght" 400, "opsz" 16;
  color: var(--text-primary);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: var(--font-inter);
  font-optical-sizing: auto;
  max-width: 100%;
}

/* Prevent CSS Grid blowout on mobile */
.hero-grid > *,
.split-impact-grid > *,
.pillars-grid > *,
.facts-bento-grid > *,
.web-plans-grid > *,
.monthly-grid > *,
.infographics-showcase > *,
.roi-calculator-card > *,
.calc-result-grid > *,
.contact-grid > *,
.form-grid-2 > *,
.footer-top > * {
  min-width: 0;
  max-width: 100%;
}

/* ==========================================================================
   INTER VARIABLE TYPOGRAPHY UTILITIES (BeDesign 4 Display Style)
   ========================================================================== */

.display-giant {
  font-family: var(--font-inter);
  font-weight: 900;
  font-variation-settings: "wght" 900, "opsz" 32;
  font-size: clamp(2.2rem, 6.2vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

.display-section {
  font-family: var(--font-inter);
  font-weight: 900;
  font-variation-settings: "wght" 900, "opsz" 32;
  font-size: clamp(1.75rem, 4.3vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

.heading-card {
  font-family: var(--font-inter);
  font-weight: 800;
  font-variation-settings: "wght" 800, "opsz" 28;
  font-size: clamp(1.22rem, 2.2vw, 1.75rem);
  line-height: 1.16;
  letter-spacing: -0.03em;
  overflow-wrap: break-word;
}

.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-inter);
  font-weight: 800;
  font-variation-settings: "wght" 800, "opsz" 14;
  font-size: 0.75rem;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 0.95rem;
  background: var(--rie-yellow);
  color: var(--rie-navy);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(20, 22, 66, 0.08);
  max-width: 100%;
}

.eyebrow-tag--crimson {
  background: var(--rie-crimson);
  color: #ffffff;
}

.eyebrow-tag--teal {
  background: var(--rie-teal);
  color: #ffffff;
}

.eyebrow-tag--indigo {
  background: var(--rie-indigo);
  color: #ffffff;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ==========================================================================
   HEADER & RESPONSIVE MENU (Bulletproof Mobile + Desktop Navigation)
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(246, 245, 242, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-soft);
  transition: height var(--transition-fast), box-shadow var(--transition-fast);
}

.site-header.scrolled {
  height: 70px;
  box-shadow: 0 10px 30px rgba(20, 22, 66, 0.08);
}

.header-inner {
  height: 100%;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo img {
  width: 136px;
  height: 46px;
  object-fit: contain;
  object-position: left center;
  transition: transform var(--transition-fast);
}

.brand-logo:hover img {
  transform: scale(1.03);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-link {
  position: relative;
  font-weight: 800;
  font-variation-settings: "wght" 800, "opsz" 16;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rie-navy);
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--rie-crimson);
  background: rgba(250, 26, 68, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--rie-navy);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  padding: 0.55rem 1rem;
  font-weight: 800;
  font-variation-settings: "wght" 800, "opsz" 14;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  flex-shrink: 0;
}

.menu-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}

.menu-toggle-bars span {
  display: block;
  height: 2.5px;
  width: 100%;
  border-radius: var(--radius-pill);
  background: var(--rie-yellow);
  transition: transform var(--transition-fast);
}

/* Mobile Drawer & Overlay — Uses display:none when closed so it NEVER overflows mobile viewports */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 16, 38, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1100;
  display: none;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.mobile-menu-overlay.open {
  display: block;
  opacity: 1;
}

@keyframes drawerSlideIn {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-menu-drawer {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  max-width: 440px;
  margin-left: auto;
  background: var(--rie-navy);
  color: #ffffff;
  z-index: 1200;
  padding: 1.35rem 1.35rem 1.6rem;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  border-radius: var(--radius-xl);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.mobile-menu-drawer.open {
  display: flex;
  animation: drawerSlideIn 0.26s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.mobile-drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.mobile-drawer-top img {
  width: 116px;
  height: 40px;
  object-fit: contain;
  object-position: left center;
}

.mobile-close-btn {
  width: 42px;
  height: 42px;
  background: var(--rie-crimson);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 1.15rem;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.mobile-close-btn:hover {
  background: var(--rie-yellow);
  color: var(--rie-navy);
  transform: rotate(90deg);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin: 1rem 0;
}

.mobile-nav-link {
  font-size: 1.12rem;
  font-weight: 800;
  font-variation-settings: "wght" 800, "opsz" 24;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.68rem 0.9rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  transition: all var(--transition-fast);
}

.mobile-nav-link span {
  color: var(--rie-yellow);
  font-size: 1.05rem;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  color: var(--rie-navy);
  background: var(--rie-yellow);
}

.mobile-nav-link:hover span,
.mobile-nav-link:active span {
  color: var(--rie-navy);
}

.mobile-drawer-footer {
  background: rgba(255, 255, 255, 0.08);
  padding: 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.mobile-drawer-footer p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   BUTTONS & PULSING/BLINKING WHATSAPP CTA ("BOTÓN TITILANTE")
   All buttons have smooth rounded pill corners and soft elevation
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.65rem;
  font-weight: 800;
  font-variation-settings: "wght" 800, "opsz" 16;
  font-size: 0.88rem;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  box-shadow: var(--shadow-btn);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  max-width: 100%;
}

.btn--navy {
  background: var(--rie-navy);
  color: #ffffff;
}

.btn--navy:hover {
  background: var(--rie-crimson);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-btn-hover);
}

.btn--yellow {
  background: var(--rie-yellow);
  color: var(--rie-navy);
  border-color: rgba(20, 22, 66, 0.15);
}

.btn--yellow:hover {
  background: #ffffff;
  color: var(--rie-navy);
  transform: translateY(-3px);
  box-shadow: var(--shadow-btn-hover);
}

.btn--crimson {
  background: var(--rie-crimson);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.btn--crimson:hover {
  background: var(--rie-yellow);
  color: var(--rie-navy);
  transform: translateY(-3px);
  box-shadow: var(--shadow-btn-hover);
}

/* Botón Titilante (Blinking/Pulsing High-Impact WhatsApp CTA) */
@keyframes whatsappBlinkPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.75), 0 10px 24px rgba(20, 22, 66, 0.18);
    background-color: #25d366;
    color: #0b1f13;
  }
  50% {
    transform: scale(1.025);
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0), 0 14px 30px rgba(255, 198, 15, 0.35);
    background-color: #ffc60f;
    color: #141642;
  }
}

@keyframes indicatorBlink {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.25;
    transform: scale(1.3);
  }
}

.btn-titilante {
  background: var(--rie-whatsapp);
  color: #0b1f13;
  border: 1.5px solid rgba(20, 22, 66, 0.18);
  border-radius: var(--radius-pill);
  font-weight: 900;
  font-variation-settings: "wght" 900, "opsz" 16;
  animation: whatsappBlinkPulse 1.8s infinite ease-in-out;
  position: relative;
}

.btn-titilante:hover {
  animation-play-state: paused;
  background: var(--rie-yellow);
  color: var(--rie-navy);
  transform: translateY(-3px);
}

.blink-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rie-crimson);
  display: inline-block;
  flex-shrink: 0;
  animation: indicatorBlink 0.9s infinite;
}

/* Floating Titilante WhatsApp Button (Icon-Only Circular Button) */
.whatsapp-float-wrapper {
  position: fixed;
  bottom: 1.4rem;
  right: 1.4rem;
  z-index: 990;
}

.whatsapp-float-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  background: var(--rie-whatsapp);
  color: #071e10;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.85);
  animation: whatsappBlinkPulse 1.6s infinite ease-in-out;
  cursor: pointer;
}

.whatsapp-float-btn:hover {
  animation-play-state: paused;
  transform: scale(1.08);
}

.whatsapp-float-btn svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

/* ==========================================================================
   HERO SECTION — BEDESIGN 4 ARCHITECTURAL GEOMETRY + IMPACT
   ========================================================================== */

.hero-section {
  margin-top: var(--header-height);
  position: relative;
  background: var(--rie-indigo);
  color: #ffffff;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light-glass);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-image: url('img/fondo 1 hor@2x.png');
  background-size: cover;
  background-position: left center;
  opacity: 0.96;
  z-index: 0;
}

.hero-backdrop-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    95deg,
    rgba(20, 22, 66, 0.9) 0%,
    rgba(45, 47, 141, 0.84) 52%,
    rgba(20, 22, 66, 0.94) 100%
  );
  z-index: 1;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 3rem;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.hero-title {
  margin: 1rem 0 1.35rem;
  color: #ffffff;
}

.hero-title .accent-yellow {
  color: var(--rie-yellow);
  display: block;
}

.hero-title .accent-crimson {
  background: var(--rie-crimson);
  color: #ffffff;
  padding: 0.06em 0.34em;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-top: 0.1em;
  box-shadow: 0 10px 24px rgba(250, 26, 68, 0.3);
}

.hero-lead {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 500;
  font-variation-settings: "wght" 500, "opsz" 18;
  color: rgba(255, 255, 255, 0.92);
  max-width: 620px;
  margin-bottom: 2rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

/* Impact Metrics Bar inside Hero */
.hero-impact-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(20, 22, 66, 0.88);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-accent-yellow);
  overflow: hidden;
}

.impact-stat-box {
  padding: 1.2rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.impact-stat-box:last-child {
  border-right: none;
}

.impact-stat-number {
  font-weight: 900;
  font-variation-settings: "wght" 900, "opsz" 32;
  font-size: clamp(1.5rem, 2.3vw, 2.2rem);
  line-height: 1;
  color: var(--rie-yellow);
  letter-spacing: -0.04em;
}

.impact-stat-box:nth-child(2) .impact-stat-number {
  color: #4cd97b;
}

.impact-stat-box:nth-child(3) .impact-stat-number {
  color: var(--rie-orange);
}

.impact-stat-box:nth-child(4) .impact-stat-number {
  color: var(--rie-cyan);
}

.impact-stat-label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.86);
  margin-top: 0.35rem;
  line-height: 1.25;
}

/* Hero Right Visual Collage (Rounded Editorial Frame) */
.hero-visual-card {
  position: relative;
  background: var(--bg-white);
  color: var(--rie-navy);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 60px rgba(10, 12, 38, 0.38);
  padding: 1.35rem;
}

.hero-visual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-bottom: 0.85rem;
  margin-bottom: 0.9rem;
  border-bottom: 1px solid var(--border-soft);
}

.hero-visual-header span {
  font-weight: 900;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-visual-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
}

.hero-visual-img-wrap img {
  width: 100%;
  height: auto;
  transition: transform var(--transition-smooth);
}

.hero-visual-card:hover .hero-visual-img-wrap img {
  transform: scale(1.02);
}

.hero-visual-caption {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: var(--rie-yellow);
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 0.82rem;
}

/* ==========================================================================
   SECTION 2: BEDESIGN 4 STICKY SPLIT SHOWCASE (IMPACTO & IA)
   ========================================================================== */

.split-impact-section {
  padding: 6rem 0;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-soft);
}

.split-impact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 3.5rem;
  align-items: start;
}

.sticky-column {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
  background: var(--rie-navy);
  color: #ffffff;
  padding: 2.75rem 2.4rem;
  border-radius: var(--radius-xl);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-accent-yellow);
  background-image: url('img/fondo 1.png');
  background-size: cover;
  background-position: top right;
  overflow: hidden;
}

.sticky-column-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(20, 22, 66, 0.93) 25%, rgba(45, 47, 141, 0.95) 100%);
  z-index: 0;
}

.sticky-column-content {
  position: relative;
  z-index: 1;
}

.sticky-column .display-section {
  margin: 0.95rem 0 1.25rem;
  color: #ffffff;
}

.sticky-column .display-section span {
  color: var(--rie-yellow);
}

.sticky-column p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.02rem;
  margin-bottom: 1.65rem;
}

.sticky-want-more {
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.sticky-want-more small {
  display: block;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rie-yellow);
  margin-bottom: 0.45rem;
}

/* Scrolling Right Column Cards */
.scrolling-cards-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.impact-stage-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  overflow: hidden;
}

.impact-stage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.stage-card-banner {
  padding: 1.3rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  color: #ffffff;
}

.impact-stage-card:nth-child(1) .stage-card-banner {
  background: var(--rie-indigo);
}
.impact-stage-card:nth-child(2) .stage-card-banner {
  background: var(--rie-teal);
}
.impact-stage-card:nth-child(3) .stage-card-banner {
  background: var(--rie-orange);
  color: var(--rie-navy);
}
.impact-stage-card:nth-child(4) .stage-card-banner {
  background: var(--rie-crimson);
}

.stage-number {
  font-weight: 900;
  font-variation-settings: "wght" 900, "opsz" 28;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.stage-kpi-pill {
  background: var(--rie-navy);
  color: var(--rie-yellow);
  padding: 0.38rem 0.85rem;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.stage-card-body {
  padding: 1.85rem 1.75rem;
}

.stage-card-meta {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.stage-card-body h3 {
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.stage-card-body p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.stage-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.35rem;
}

.stage-feature-tags span {
  background: var(--bg-light);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  padding: 0.32rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.stage-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 900;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--rie-crimson);
}

.stage-card-link:hover {
  color: var(--rie-indigo);
}

/* ==========================================================================
   SECTION 3: "¿POR QUÉ ELEGIR A RIE?"
   ========================================================================== */

.why-rie-section {
  padding: 5.5rem 0;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-soft);
}

.why-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.75rem;
  margin-bottom: 3rem;
}

.why-quote-box {
  background: var(--rie-yellow);
  border: 1.5px solid rgba(20, 22, 66, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.65rem;
  max-width: 440px;
  box-shadow: var(--shadow-accent-yellow);
}

.why-quote-box blockquote {
  font-weight: 900;
  font-variation-settings: "wght" 900, "opsz" 20;
  font-size: 1rem;
  text-transform: uppercase;
  line-height: 1.28;
  color: var(--rie-navy);
}

.why-quote-box cite {
  display: block;
  margin-top: 0.45rem;
  font-style: normal;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--rie-indigo);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.pillar-card {
  background: var(--bg-light);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.85rem;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.pillar-icon-wrap {
  width: 66px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: 1.35rem;
  box-shadow: 0 8px 20px rgba(20, 22, 66, 0.1);
}

.pillar-card:nth-child(1) .pillar-icon-wrap {
  background: var(--rie-yellow);
}
.pillar-card:nth-child(2) .pillar-icon-wrap {
  background: var(--rie-crimson);
  color: #ffffff;
}
.pillar-card:nth-child(3) .pillar-icon-wrap {
  background: var(--rie-indigo);
  color: #ffffff;
}

.pillar-card h3 {
  margin-bottom: 0.7rem;
  text-transform: uppercase;
}

.pillar-card p {
  color: var(--text-secondary);
}

/* ==========================================================================
   SECTION 4: BEDESIGN 4 COLOR-BLOCK FACTS MATRIX (Rounded Bento Cards)
   ========================================================================== */

.facts-matrix-section {
  padding: 5.5rem 0;
  background: var(--rie-navy);
  color: #ffffff;
  background-image: url('img/fondo 3 hor@2x.png');
  background-size: cover;
  background-position: center;
  position: relative;
}

.facts-matrix-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 16, 38, 0.88);
}

.facts-matrix-inner {
  position: relative;
  z-index: 1;
}

.facts-matrix-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.6rem;
}

.facts-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
}

.fact-tile {
  padding: 2.2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 255px;
  border-radius: var(--radius-xl);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.fact-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.32);
}

.fact-tile--yellow {
  background: var(--rie-yellow);
  color: var(--rie-navy);
}

.fact-tile--crimson {
  background: var(--rie-crimson);
  color: #ffffff;
}

.fact-tile--teal {
  background: var(--rie-teal);
  color: #ffffff;
}

.fact-tile--indigo {
  background: var(--rie-indigo);
  color: #ffffff;
}

.fact-big-num {
  font-weight: 900;
  font-variation-settings: "wght" 900, "opsz" 32;
  font-size: clamp(2.5rem, 4.2vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.fact-desc {
  font-weight: 800;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.35;
  margin: 1rem 0;
}

.fact-arrow {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 900;
  align-self: flex-end;
}

.fact-tile--yellow .fact-arrow {
  background: rgba(20, 22, 66, 0.12);
}

/* ==========================================================================
   SECTION 5: PLANES DE DISEÑO WEB & COMPARATIVA
   ========================================================================== */

.plans-section {
  padding: 6rem 0;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-soft);
}

.section-header-block {
  max-width: 780px;
  margin-bottom: 3rem;
}

.section-header-block .display-section {
  margin: 0.85rem 0 0.95rem;
}

.section-header-block p {
  font-size: 1.06rem;
  color: var(--text-secondary);
}

/* Web Plans 4-Column Grid */
.web-plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.plan-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: var(--shadow-card);
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.plan-card--popular {
  border: 2px solid var(--rie-crimson);
  box-shadow: var(--shadow-accent-crimson);
  transform: translateY(-6px);
}

.plan-badge {
  position: absolute;
  top: -13px;
  right: 18px;
  background: var(--rie-yellow);
  color: var(--rie-navy);
  border: 1.5px solid rgba(20, 22, 66, 0.15);
  border-radius: var(--radius-pill);
  padding: 0.28rem 0.85rem;
  font-weight: 900;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(20, 22, 66, 0.12);
}

.plan-badge--crimson {
  background: var(--rie-crimson);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.plan-card-header {
  padding: 1.9rem 1.5rem 1.4rem;
  border-bottom: 1px solid var(--border-soft);
  border-radius: calc(var(--radius-xl) - 2px) calc(var(--radius-xl) - 2px) 0 0;
}

.plan-card--dark-top .plan-card-header {
  background: var(--rie-navy);
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.plan-tier-type {
  font-size: 0.73rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rie-crimson);
  margin-bottom: 0.35rem;
}

.plan-card--dark-top .plan-tier-type {
  color: var(--rie-yellow);
}

.plan-name {
  font-weight: 900;
  font-variation-settings: "wght" 900, "opsz" 24;
  font-size: 1.3rem;
  line-height: 1.15;
  margin-bottom: 0.9rem;
}

.plan-price {
  font-weight: 900;
  font-variation-settings: "wght" 900, "opsz" 32;
  font-size: clamp(1.8rem, 2.2vw, 2.3rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--rie-indigo);
}

.plan-card--dark-top .plan-price {
  color: var(--rie-yellow);
}

.plan-price-note {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.plan-card--dark-top .plan-price-note {
  color: rgba(255, 255, 255, 0.76);
}

.plan-card-body {
  padding: 1.5rem 1.5rem;
  flex-grow: 1;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.plan-check {
  color: var(--rie-teal);
  font-weight: 900;
  flex-shrink: 0;
}

.plan-card-footer {
  padding: 0 1.5rem 1.5rem;
}

.plan-card-footer .btn {
  width: 100%;
}

/* Comparison Table (PDF Page 5) */
.comparison-box {
  background: var(--bg-white);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.comparison-box-header {
  background: var(--rie-navy);
  color: #ffffff;
  padding: 1.5rem 1.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.comparison-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.92rem;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
  font-weight: 800;
  color: var(--rie-navy);
}

.comparison-table thead th {
  background: #f0efe9;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  border-bottom: 1.5px solid var(--border-soft);
}

.comparison-table .highlight-col {
  background: rgba(45, 47, 141, 0.06);
  font-weight: 800;
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--rie-teal);
  color: #ffffff;
  font-weight: 900;
  border-radius: 50%;
  font-size: 0.78rem;
}

/* ==========================================================================
   SECTION 6: ADMINISTRACIÓN Y MARKETING MENSUAL
   ========================================================================== */

.monthly-marketing-section {
  padding: 6rem 0;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-soft);
  position: relative;
}

.monthly-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.monthly-card {
  background: var(--bg-light);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.monthly-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.monthly-card--recommended {
  background: var(--rie-navy);
  color: #ffffff;
  border-color: rgba(255, 198, 15, 0.35);
  box-shadow: var(--shadow-accent-yellow);
}

.monthly-card--recommended .plan-features li {
  color: #ffffff;
}

.monthly-card--recommended .plan-check {
  color: var(--rie-yellow);
}

.monthly-price {
  font-weight: 900;
  font-variation-settings: "wght" 900, "opsz" 32;
  font-size: clamp(1.9rem, 2.8vw, 2.65rem);
  letter-spacing: -0.04em;
  color: var(--rie-crimson);
  margin: 0.7rem 0 0.25rem;
}

.monthly-card--recommended .monthly-price {
  color: var(--rie-yellow);
}

.monthly-price span {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.monthly-card--recommended .monthly-price span {
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   SECTION 7: VISUAL STRATEGY & INTERACTIVE ROI SIMULATOR
   ========================================================================== */

.strategy-showcase-section {
  padding: 6rem 0;
  background: var(--rie-navy);
  color: #ffffff;
  background-image: url('img/fondo 2 hor@2x.png');
  background-size: cover;
  background-position: center;
  position: relative;
}

.strategy-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 16, 38, 0.92) 0%, rgba(20, 22, 66, 0.96) 100%);
}

.strategy-inner {
  position: relative;
  z-index: 1;
}

.infographics-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.2rem;
  margin-top: 2.6rem;
}

.infographic-frame {
  background: var(--bg-white);
  color: var(--rie-navy);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.infographic-frame img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  background: #0d0f29;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  cursor: pointer;
}

.infographic-caption {
  padding-top: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

/* Interactive Impact Calculator */
.roi-calculator-card {
  margin-top: 3.5rem;
  background: var(--bg-white);
  color: var(--rie-navy);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
  padding: 2.4rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.25rem;
  align-items: center;
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.calc-field label {
  display: block;
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.45rem;
}

.calc-field input[type="range"] {
  width: 100%;
  accent-color: var(--rie-crimson);
  height: 8px;
  border-radius: var(--radius-pill);
  cursor: pointer;
}

.calc-field select {
  width: 100%;
  max-width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--bg-light);
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.calc-results-panel {
  background: var(--rie-navy);
  color: #ffffff;
  padding: 1.85rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.calc-result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.15rem 0 1.4rem;
}

.calc-metric-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 1rem;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--rie-yellow);
}

.calc-metric-item strong {
  display: block;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 900;
  color: var(--rie-yellow);
  line-height: 1.15;
  overflow-wrap: break-word;
}

.calc-metric-item span {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.82);
  display: block;
  margin-top: 0.2rem;
}

/* ==========================================================================
   SECTION 8: WHATSAPP CONTACT FORM (+573197419113)
   ========================================================================== */

.contact-section {
  padding: 6rem 0;
  background: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-panel {
  background: var(--rie-crimson);
  color: #ffffff;
  padding: 2.6rem 2.25rem;
  border-radius: var(--radius-xl);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-accent-crimson);
}

.contact-info-panel .display-section {
  margin: 0.85rem 0 1.1rem;
}

.contact-direct-list {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.contact-direct-item {
  background: rgba(20, 22, 66, 0.9);
  padding: 1.05rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  gap: 0.9rem;
  transition: transform var(--transition-fast);
}

.contact-direct-item:hover {
  transform: translateY(-2px);
}

.contact-direct-item small {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rie-yellow);
  font-weight: 800;
}

.contact-direct-item strong {
  font-size: 1.02rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

/* WhatsApp Form Box */
.whatsapp-form-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: 2.5rem;
}

.whatsapp-form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.15rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-soft);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
  color: var(--rie-navy);
}

.form-control {
  width: 100%;
  max-width: 100%;
  padding: 0.88rem 1rem;
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--rie-navy);
  text-overflow: ellipsis;
  transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--rie-crimson);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(250, 26, 68, 0.12);
}

textarea.form-control {
  min-height: 105px;
  resize: vertical;
}

/* Payment Methods Strip (PDF Page 7) */
.payment-methods-strip {
  margin-top: 3rem;
  background: var(--bg-white);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 1.4rem 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pay-pill {
  padding: 0.38rem 0.85rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--bg-light);
}

/* ==========================================================================
   FOOTER (BeDesign 4 Style)
   ========================================================================== */

.site-footer {
  background: var(--bg-dark);
  color: #ffffff;
  padding: 4rem 0 2.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo {
  width: 140px;
  height: 48px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 1rem;
}

.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Lightbox Modal for Infographics */
.image-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 16, 38, 0.92);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.image-modal.open {
  display: flex;
  opacity: 1;
}

.image-modal img {
  max-height: 88vh;
  max-width: 94vw;
  border-radius: var(--radius-lg);
  border: 2px solid var(--rie-yellow);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.image-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 46px;
  height: 46px;
  background: var(--rie-crimson);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 1.3rem;
  font-weight: 900;
  cursor: pointer;
}

/* ==========================================================================
   RESPONSIVE DESIGN — TABLET & MOBILE (<= 1120px and <= 768px)
   ========================================================================== */

@media (max-width: 1120px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-grid,
  .split-impact-grid,
  .roi-calculator-card,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .sticky-column {
    position: relative;
    top: 0;
  }

  .web-plans-grid,
  .facts-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 68px;
    --radius-lg: 20px;
    --radius-xl: 24px;
  }

  .container,
  .header-inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .brand-logo img {
    width: 110px;
    height: 38px;
  }

  .header-actions .btn-header-wa {
    display: none;
  }

  .menu-toggle {
    padding: 0.5rem 0.9rem;
    font-size: 0.75rem;
  }

  /* Compact, balanced typography on mobile */
  .display-giant {
    font-size: clamp(1.95rem, 8.2vw, 2.55rem);
    line-height: 1.04;
    letter-spacing: -0.035em;
  }

  .display-section {
    font-size: clamp(1.55rem, 6.5vw, 2.05rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
  }

  .heading-card {
    font-size: 1.18rem;
    line-height: 1.22;
  }

  .eyebrow-tag {
    font-size: 0.66rem;
    letter-spacing: 0.05em;
    padding: 0.38rem 0.75rem;
  }

  /* Section vertical spacing on mobile */
  .hero-grid {
    padding-top: 2rem;
    padding-bottom: 2.5rem;
    gap: 1.85rem;
  }

  .split-impact-section,
  .why-rie-section,
  .facts-matrix-section,
  .plans-section,
  .monthly-marketing-section,
  .strategy-showcase-section,
  .contact-section {
    padding: 3.25rem 0;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
    margin-bottom: 1.85rem;
  }

  .hero-cta-group .btn {
    width: 100%;
    padding: 0.88rem 1rem;
    font-size: 0.8rem;
  }

  /* Hero KPI Strip 2x2 */
  .hero-impact-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .impact-stat-box {
    padding: 0.9rem 0.8rem;
  }

  .impact-stat-box:nth-child(2) {
    border-right: none;
  }

  .impact-stat-box:nth-child(1),
  .impact-stat-box:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .plan-card--popular {
    transform: none;
  }

  /* Stack card headers cleanly on mobile */
  .hero-visual-header,
  .hero-visual-caption,
  .stage-card-banner,
  .infographic-caption,
  .comparison-box-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
  }

  .infographic-caption .btn,
  .comparison-box-header .btn {
    width: 100%;
  }

  /* All multi-column grids become 1-column on mobile */
  .pillars-grid,
  .web-plans-grid,
  .monthly-grid,
  .facts-bento-grid,
  .infographics-showcase,
  .calc-result-grid,
  .form-grid-2,
  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  /* Compact Fact Tiles on Mobile */
  .fact-tile {
    min-height: auto;
    padding: 1.5rem 1.3rem;
  }

  /* Mobile-friendly Comparison Table */
  .comparison-table th,
  .comparison-table td {
    padding: 0.55rem 0.25rem;
    font-size: 0.68rem;
  }

  .comparison-table thead th {
    font-size: 0.62rem;
    letter-spacing: -0.01em;
  }

  .check-icon {
    width: 19px;
    height: 19px;
    font-size: 0.65rem;
  }

  /* Padding adjustments inside cards on mobile */
  .sticky-column,
  .stage-card-body,
  .pillar-card,
  .plan-card-header,
  .plan-card-body,
  .monthly-card,
  .roi-calculator-card,
  .calc-results-panel,
  .contact-info-panel,
  .whatsapp-form-card,
  .payment-methods-strip {
    padding: 1.35rem 1.15rem;
  }

  .plan-card-footer {
    padding: 0 1.15rem 1.3rem;
  }

  /* Sleek, non-intrusive Circular Floating WhatsApp Icon on Mobile */
  .whatsapp-float-wrapper {
    bottom: 1rem;
    right: 1rem;
  }

  .whatsapp-float-btn {
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  }

  .whatsapp-float-btn svg {
    width: 28px;
    height: 28px;
  }

  .site-footer {
    padding: 3rem 0 5rem;
  }
}
