/* ================================================
   UNITRED MARKETING — Design System
   Structural Precision. Modern. Clean.
   ================================================ */

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 16px; line-height: 1.6; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; border: none; outline: none; background: none; }
button { cursor: pointer; }

/* === CSS VARIABLES === */
:root {
  /* Colors */
  --red: #D8232A;
  --red-hover: #C01F25;
  --red-light: #FF4A52;
  --red-bg: rgba(216, 35, 42, 0.06);
  --red-border: rgba(216, 35, 42, 0.15);
  --dark: #0F0F1A;
  --dark-soft: #1A1A2E;
  --dark-card: #16162A;
  --gray-900: #1A1A2E;
  --gray-700: #4A4A5A;
  --gray-500: #6E6E80;
  --gray-400: #8A8A9A;
  --gray-300: #B0B0C0;
  --gray-200: #D4D4E0;
  --gray-100: #EEEEF4;
  --bg-alt: #F7F8FC;
  --bg-light: #FAFBFE;
  --white: #FFFFFF;
  --text: #1A1A2E;
  --text-muted: #6E6E80;
  --text-light: rgba(255,255,255,0.85);
  --text-light-muted: rgba(255,255,255,0.55);
  --border: #E8E8F0;
  --border-dark: rgba(255,255,255,0.08);
  --success: #10B981;
  --warning: #F59E0B;

  /* Spacing */
  --section-py: clamp(4rem, 8vw, 7rem);
  --container-px: clamp(1.25rem, 4vw, 2rem);
  --container-max: 1200px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.10);
  --shadow-red: 0 4px 24px rgba(216, 35, 42, 0.25);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.3s var(--ease);
  --transition-fast: all 0.15s var(--ease);
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; color: var(--text); }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
p { color: var(--text-muted); line-height: 1.7; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.8rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-center { text-align: center; }
.text-red { color: var(--red); }
.text-muted { color: var(--text-muted); }

/* Headline with 2-level hierarchy (per feedback) */
.headline-primary { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; color: var(--text); }
.headline-secondary { font-size: clamp(1rem, 2.5vw, 1.3rem); font-weight: 400; color: var(--text-muted); line-height: 1.6; margin-top: 1rem; }

/* Dark section text */
.dark-section .headline-primary,
.dark-section h1, .dark-section h2, .dark-section h3, .dark-section h4 { color: var(--white); }
.dark-section p, .dark-section .headline-secondary { color: var(--text-light-muted); }
.dark-section .text-muted { color: var(--text-light-muted); }

/* === LAYOUT === */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-px); }
.container--narrow { max-width: 800px; }
.container--wide { max-width: 1400px; }
.section { padding: var(--section-py) 0; }
.section--dark { background: var(--dark); color: var(--text-light); }
.section--alt { background: var(--bg-alt); }
.section--red { background: var(--red); color: white; }

/* Flex utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }
.gap-6 { gap: 3rem; }

/* Grid */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* === HEADER / NAV === */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
  background: transparent;
}
.header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
  padding: 0.75rem 0;
}
.header.header--dark.scrolled {
  background: rgba(15,15,26,0.95);
  box-shadow: 0 1px 0 var(--border-dark);
}
.nav { display: flex; align-items: center; justify-content: space-between; }
.nav__logo img { height: 36px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__link {
  font-size: 0.9rem; font-weight: 500; color: var(--gray-700);
  transition: var(--transition-fast);
  position: relative;
}
.nav__link:hover { color: var(--red); }
.nav__link::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--red); transition: var(--transition-fast);
}
.nav__link:hover::after, .nav__link.active::after { width: 100%; }

/* Dark header links */
.header--dark .nav__link { color: var(--text-light); }
.header--dark .nav__link:hover { color: var(--white); }
.header--dark.scrolled .nav__link { color: var(--gray-700); }
.header--dark.scrolled .nav__link:hover { color: var(--red); }

/* Logo swap for dark/scrolled */
.nav__logo .logo-dark { display: block; }
.nav__logo .logo-light { display: none; }
.header--dark .nav__logo .logo-dark { display: none; }
.header--dark .nav__logo .logo-light { display: block; }
.header--dark.scrolled .nav__logo .logo-dark { display: block; }
.header--dark.scrolled .nav__logo .logo-light { display: none; }

/* Mobile menu */
.nav__toggle {
  display: none; flex-direction: column; gap: 5px; padding: 4px;
  cursor: pointer; z-index: 1001;
}
.nav__toggle span {
  display: block; width: 22px; height: 2px; background: var(--text);
  transition: var(--transition-fast); border-radius: 2px;
}
.header--dark .nav__toggle span { background: var(--white); }
.header--dark.scrolled .nav__toggle span { background: var(--text); }
.nav__toggle.active span:nth-child(1) { transform: rotate(45deg) translateY(7px); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: rotate(-45deg) translateY(-7px); }

@media (max-width: 768px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; top: 0; right: -100%; width: 80%; max-width: 320px;
    height: 100vh; background: var(--white);
    flex-direction: column; align-items: flex-start;
    padding: 5rem 2rem 2rem; gap: 0;
    box-shadow: var(--shadow-xl); transition: right 0.35s var(--ease);
  }
  .nav__links.open { right: 0; }
  .nav__link { font-size: 1.1rem; padding: 0.75rem 0; width: 100%; border-bottom: 1px solid var(--gray-100); color: var(--text) !important; }
  .nav__cta { width: 100%; text-align: center; margin-top: 1rem; }
  .mobile-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.4);
    z-index: 999; opacity: 0; pointer-events: none;
    transition: opacity 0.3s var(--ease);
  }
  .mobile-overlay.active { opacity: 1; pointer-events: auto; }
}

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.8rem 1.75rem; border-radius: var(--radius-full);
  font-weight: 600; font-size: 0.95rem;
  transition: var(--transition); white-space: nowrap;
  text-decoration: none; line-height: 1.4;
}
.btn--primary {
  background: var(--red); color: white;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--red-hover);
  box-shadow: var(--shadow-red);
  transform: translateY(-1px);
}
.btn--secondary {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border);
}
.btn--secondary:hover {
  border-color: var(--red); color: var(--red);
  background: var(--red-bg);
}
.btn--white {
  background: white; color: var(--red);
}
.btn--white:hover {
  background: var(--bg-alt);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--ghost {
  background: transparent; color: var(--text-light);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.btn--ghost:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
}
.btn--sm { padding: 0.55rem 1.25rem; font-size: 0.85rem; }
.btn--lg { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn--full { width: 100%; }
.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; }

@media (max-width: 480px) {
  .btn-group { flex-direction: column; }
  .btn-group .btn { width: 100%; }
}

/* === HERO === */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding-top: 5rem; overflow: hidden;
}
.hero--dark { background: var(--dark); }
.hero--dark h1, .hero--dark h2, .hero--dark h3 { color: var(--white); }
.hero--short { min-height: auto; padding: 8rem 0 4rem; }
.hero__content { position: relative; z-index: 2; max-width: 640px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 1rem; border-radius: var(--radius-full);
  background: var(--red-bg); color: var(--red);
  font-size: 0.8rem; font-weight: 600;
  margin-bottom: 1.5rem; border: 1px solid var(--red-border);
}
.hero__title { margin-bottom: 1.25rem; }
.hero__title span { color: var(--red); }
.hero__subtitle {
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  color: var(--text-muted); line-height: 1.7;
  margin-bottom: 2rem;
}
.hero--dark .hero__subtitle { color: var(--text-light-muted); }

/* Hero with image */
.hero__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center; width: 100%;
}
.hero__image {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero__image img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--radius-lg);
}
@media (max-width: 768px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__image { order: -1; max-height: 300px; }
  .hero { min-height: auto; padding: 7rem 0 3rem; }
}

/* Hero background effects */
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
}
.hero__bg-gradient {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%; filter: blur(120px); opacity: 0.15;
}
.hero__bg-gradient--1 { background: var(--red); top: -20%; right: -10%; }
.hero__bg-gradient--2 { background: var(--red-light); bottom: -30%; left: -15%; opacity: 0.08; }

/* === SECTION HEADERS === */
.section-header { text-align: center; max-width: 700px; margin: 0 auto 3.5rem; }
.section-header__tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--red);
  margin-bottom: 0.75rem;
}
.section-header__tag::before {
  content: ''; width: 20px; height: 2px; background: var(--red); border-radius: 1px;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; }

/* === CARDS === */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: var(--transition); position: relative;
}
.card:hover {
  border-color: var(--gray-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card__icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.25rem;
  background: var(--red-bg); color: var(--red);
}
.card__title { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text); }
.card__text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
.card__footer { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--gray-100); }

/* Card dark variant */
.dark-section .card {
  background: var(--dark-card); border-color: var(--border-dark);
}
.dark-section .card:hover { border-color: rgba(255,255,255,0.12); }
.dark-section .card__title { color: var(--white); }
.dark-section .card__text { color: var(--text-light-muted); }

/* Card highlighted */
.card--featured {
  border-color: var(--red); border-width: 2px;
  box-shadow: 0 0 0 1px var(--red-border);
}
.card--featured::before {
  content: 'Recomendado'; position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%); background: var(--red); color: white;
  padding: 0.2rem 1rem; border-radius: var(--radius-full);
  font-size: 0.75rem; font-weight: 600;
}

/* === PRODUCT LADDER === */
.ladder { display: flex; flex-direction: column; gap: 0; }
.ladder__step {
  display: grid; grid-template-columns: 120px 1fr; gap: 1.5rem;
  align-items: center; padding: 1.25rem 0;
  border-bottom: 1px solid var(--gray-100);
  transition: var(--transition-fast);
}
.ladder__step:hover { background: var(--bg-light); border-radius: var(--radius-md); padding-left: 1rem; }
.ladder__level {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--gray-400);
  text-align: right; padding-right: 1.5rem;
  border-right: 2px solid var(--gray-200);
}
.ladder__level--active { color: var(--red); border-right-color: var(--red); }
.ladder__info { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.ladder__name { font-weight: 700; color: var(--text); font-size: 1rem; }
.ladder__desc { font-size: 0.85rem; color: var(--text-muted); }
.ladder__price {
  font-weight: 700; color: var(--red); font-size: 0.95rem; white-space: nowrap;
}

@media (max-width: 640px) {
  .ladder__step { grid-template-columns: 1fr; gap: 0.5rem; }
  .ladder__level { text-align: left; border-right: none; border-bottom: 2px solid var(--gray-200); padding: 0 0 0.5rem; }
  .ladder__level--active { border-bottom-color: var(--red); }
}

/* === PRICING TABLE === */
.pricing-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.5rem 2rem;
  display: flex; flex-direction: column; height: 100%;
}
.pricing-card--featured {
  border: 2px solid var(--red); position: relative;
  box-shadow: var(--shadow-lg);
}
.pricing-card__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: white; padding: 0.3rem 1.25rem;
  border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 600;
  white-space: nowrap;
}
.pricing-card__name { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.25rem; }
.pricing-card__desc { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.pricing-card__price {
  display: flex; align-items: baseline; gap: 0.25rem;
  margin-bottom: 0.25rem;
}
.pricing-card__amount { font-size: 2.5rem; font-weight: 800; color: var(--text); line-height: 1; }
.pricing-card__period { font-size: 0.9rem; color: var(--text-muted); }
.pricing-card__regular {
  font-size: 0.85rem; color: var(--gray-400);
  text-decoration: line-through; margin-bottom: 1.5rem;
}
.pricing-card__features {
  flex: 1; margin-bottom: 2rem; display: flex; flex-direction: column; gap: 0.75rem;
}
.pricing-card__feature {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.9rem; color: var(--gray-700);
}
.pricing-card__feature::before {
  content: ''; width: 18px; height: 18px; min-width: 18px;
  border-radius: 50%; background: var(--red-bg);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.5 3L9 1' stroke='%23D8232A' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

/* === STATS === */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat { text-align: center; }
.stat__number {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 800;
  color: var(--red); line-height: 1;
}
.stat__label { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.5rem; font-weight: 500; }
.dark-section .stat__label { color: var(--text-light-muted); }

@media (max-width: 768px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } }

/* === COMPARISON TABLE === */
.comparison {
  width: 100%; border-collapse: separate; border-spacing: 0;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border);
}
.comparison th {
  background: var(--bg-alt); padding: 1rem 1.25rem;
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em;
  font-weight: 700; color: var(--gray-500); text-align: left;
  border-bottom: 1px solid var(--border);
}
.comparison td {
  padding: 0.85rem 1.25rem; border-bottom: 1px solid var(--gray-100);
  font-size: 0.9rem; vertical-align: middle;
}
.comparison tr:last-child td { border-bottom: none; }
.comparison .check { color: var(--success); font-weight: 700; }
.comparison .cross { color: var(--gray-300); }
.comparison .highlight-col { background: var(--red-bg); }

/* === FAQ === */
.faq { max-width: 760px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__question {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 1.25rem 0; cursor: pointer;
  font-weight: 600; font-size: 1rem; color: var(--text);
  text-align: left; transition: var(--transition-fast); gap: 1rem;
}
.faq__question:hover { color: var(--red); }
.faq__icon {
  width: 24px; height: 24px; min-width: 24px;
  border-radius: 50%; background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s var(--ease);
  font-size: 1.2rem; color: var(--gray-500); line-height: 1;
}
.faq__item.active .faq__icon { transform: rotate(45deg); background: var(--red-bg); color: var(--red); }
.faq__answer {
  max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease);
}
.faq__answer-inner {
  padding: 0 0 1.25rem; font-size: 0.95rem; color: var(--text-muted); line-height: 1.7;
}

/* === FORMS === */
.form { display: flex; flex-direction: column; gap: 1.25rem; }
.form__group { display: flex; flex-direction: column; gap: 0.4rem; }
.form__label { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.form__input, .form__textarea, .form__select {
  padding: 0.8rem 1rem; border: 1.5px solid var(--border);
  border-radius: var(--radius-md); font-size: 0.95rem;
  color: var(--text); background: var(--white);
  transition: var(--transition-fast);
  width: 100%; min-width: 0;
}
.form__input:focus, .form__textarea:focus, .form__select:focus {
  border-color: var(--red); box-shadow: 0 0 0 3px var(--red-bg);
}
.form__input::placeholder, .form__textarea::placeholder { color: var(--gray-400); }
.form__textarea { resize: vertical; min-height: 120px; }
.form__select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236E6E80' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 480px) { .form__row { grid-template-columns: 1fr; } }
.form__note { font-size: 0.8rem; color: var(--gray-400); }

/* Error visible al usuario cuando el envio falla (estandar de formularios,
   25-jul-2026). Va oculto con [hidden] y lo muestra el handler de main.js. */
.form__error {
  margin: 0 0 0.75rem; padding: 0.75rem 1rem;
  background: var(--red-bg); border-left: 3px solid var(--red);
  border-radius: 4px; font-size: 0.9rem; color: var(--red);
}
.form__error[hidden] { display: none; }

/* Estado de error de los campos: `:user-invalid`, NO `:invalid`. Los requeridos
   estan vacios al cargar, asi que `:invalid` los pintaria en rojo de entrada,
   como si el formulario ya viniera con fallos. */
.form__input:user-invalid,
.form__select:user-invalid,
.form__textarea:user-invalid { border-color: var(--red); }

/* === CHECKLIST === */
.checklist { display: flex; flex-direction: column; gap: 0.75rem; }
.checklist__item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.95rem; color: var(--gray-700);
}
.checklist__icon {
  width: 22px; height: 22px; min-width: 22px; border-radius: 50%;
  background: var(--red-bg); margin-top: 1px;
  display: flex; align-items: center; justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l2.5 3L9 1' stroke='%23D8232A' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.dark-section .checklist__item { color: var(--text-light); }

/* === BADGE === */
.badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.3rem 0.85rem; border-radius: var(--radius-full);
  font-size: 0.75rem; font-weight: 600;
}
.badge--red { background: var(--red-bg); color: var(--red); border: 1px solid var(--red-border); }
.badge--green { background: rgba(16,185,129,0.08); color: var(--success); border: 1px solid rgba(16,185,129,0.15); }
.badge--dark { background: var(--dark); color: white; }

/* === PRICE DISPLAY === */
.price-display { display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; }
.price-current { font-size: 2rem; font-weight: 800; color: var(--red); }
.price-period { font-size: 0.9rem; color: var(--text-muted); }
.price-regular { font-size: 1rem; color: var(--gray-400); text-decoration: line-through; }
.price-savings {
  font-size: 0.8rem; font-weight: 600; color: var(--success);
  background: rgba(16,185,129,0.08); padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

/* === PROCESS STEPS === */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: step; }
.step { position: relative; text-align: center; counter-increment: step; }
.step__number {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--red-bg); color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem;
  margin: 0 auto 1rem;
}
.step__number::before { content: counter(step); }
.step__title { font-weight: 700; font-size: 1rem; margin-bottom: 0.4rem; }
.step__text { font-size: 0.85rem; color: var(--text-muted); }
/* Connector line between steps */
.step:not(:last-child)::after {
  content: ''; position: absolute; top: 24px;
  left: calc(50% + 32px); right: calc(-50% + 32px);
  height: 2px; background: var(--gray-200);
}
@media (max-width: 768px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
}

/* === VERTICAL CARDS === */
.vertical-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem;
  transition: var(--transition); cursor: default;
}
.vertical-card:hover {
  border-color: var(--red-border); box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.vertical-card__icon { font-size: 2rem; margin-bottom: 0.75rem; }
.vertical-card__title { font-weight: 700; font-size: 1.05rem; margin-bottom: 0.35rem; color: var(--text); }
.vertical-card__text { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

/* === DIFFERENTIATOR PILLS === */
.diff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.diff-item { text-align: center; }
.diff-item__icon {
  width: 56px; height: 56px; border-radius: var(--radius-md);
  background: var(--red-bg); color: var(--red);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem; font-size: 1.5rem;
}
.dark-section .diff-item__icon { background: rgba(216,35,42,0.15); }
.diff-item__title { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.25rem; }
.diff-item__text { font-size: 0.8rem; color: var(--text-muted); }
.dark-section .diff-item__title { color: var(--white); }
.dark-section .diff-item__text { color: var(--text-light-muted); }

@media (max-width: 768px) { .diff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .diff-grid { grid-template-columns: 1fr; } }

/* === TESTIMONIALS === */
.testimonial {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
}
.testimonial__text {
  font-size: 1rem; color: var(--text); line-height: 1.7;
  font-style: italic; margin-bottom: 1.25rem;
  position: relative; padding-left: 1.5rem;
}
.testimonial__text::before {
  content: '\201C'; position: absolute; left: 0; top: -0.25rem;
  font-size: 2rem; color: var(--red); font-style: normal; font-weight: 800; line-height: 1;
}
.testimonial__author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--red-bg); display: flex; align-items: center; justify-content: center;
  color: var(--red); font-weight: 700; font-size: 1rem;
}
.testimonial__name { font-weight: 600; font-size: 0.9rem; color: var(--text); }
.testimonial__role { font-size: 0.8rem; color: var(--text-muted); }

/* === FOOTER === */
.footer {
  background: var(--dark); color: var(--text-light);
  padding: 4rem 0 2rem;
}
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer__brand p { color: var(--text-light-muted); font-size: 0.9rem; margin-top: 1rem; max-width: 280px; }
.footer__title { font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1rem; color: var(--white); }
.footer__link {
  display: block; color: var(--text-light-muted); font-size: 0.9rem;
  padding: 0.3rem 0; transition: var(--transition-fast);
}
.footer__link:hover { color: var(--white); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2rem; border-top: 1px solid var(--border-dark);
  font-size: 0.8rem; color: var(--text-light-muted);
}
.footer__social { display: flex; gap: 1rem; }
.footer__social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.06); border: 1px solid var(--border-dark);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light-muted); transition: var(--transition-fast);
  font-size: 0.9rem;
}
.footer__social a:hover { background: var(--red); border-color: var(--red); color: white; }

@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* === WHATSAPP FLOAT === */
.wa-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 900;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transition: var(--transition);
  text-decoration: none;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45); }
.wa-float svg { width: 28px; height: 28px; fill: white; }

/* === CTA SECTION === */
.cta-section {
  background: var(--dark); color: white; text-align: center;
  padding: var(--section-py) 0;
  position: relative; overflow: hidden;
}
.cta-section h2 { color: white; margin-bottom: 1rem; }
.cta-section p { color: var(--text-light-muted); margin-bottom: 2rem; font-size: 1.1rem; }
.cta-section .btn-group { justify-content: center; }

/* === ANIMATIONS === */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-d1 { transition-delay: 0.1s; }
.fade-up-d2 { transition-delay: 0.2s; }
.fade-up-d3 { transition-delay: 0.3s; }
.fade-up-d4 { transition-delay: 0.4s; }
.fade-up-d5 { transition-delay: 0.5s; }
.fade-up-d6 { transition-delay: 0.6s; }

/* === OFFER HIGHLIGHT === */
.offer-tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--red); color: white;
  padding: 0.3rem 0.85rem; border-radius: var(--radius-full);
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
}

/* === RESPONSIVE HELPERS === */
.hide-mobile { display: block; }
.show-mobile { display: none; }
@media (max-width: 768px) {
  .hide-mobile { display: none; }
  .show-mobile { display: block; }
}

/* === ITBIS NOTE === */
.itbis-note {
  font-size: 0.75rem; color: var(--gray-400);
  margin-top: 0.5rem;
}

/* === LOGO BAR === */
.logo-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 3rem; flex-wrap: wrap; opacity: 0.5;
  filter: grayscale(1); transition: var(--transition);
}
.logo-bar:hover { opacity: 0.8; filter: grayscale(0.5); }
.logo-bar img { height: 32px; width: auto; }

/* === PAGE HERO (for subpages) === */
.page-hero {
  background: var(--dark); padding: 8rem 0 4rem;
  position: relative; overflow: hidden;
}
.page-hero h1 { color: white; margin-bottom: 0.75rem; }
.page-hero p { color: var(--text-light-muted); font-size: 1.1rem; max-width: 600px; }
.page-hero .hero__bg-gradient { opacity: 0.1; }

/* Breadcrumb */
.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; color: var(--text-light-muted);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--text-light-muted); transition: var(--transition-fast); }
.breadcrumb a:hover { color: white; }
.breadcrumb__sep { color: var(--text-light-muted); opacity: 0.5; }

/* === SPLIT SECTION (text + image) === */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }
.split__image { border-radius: var(--radius-lg); overflow: hidden; }
.split__image img { width: 100%; border-radius: var(--radius-lg); }
@media (max-width: 768px) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split--reverse { direction: ltr; }
  .split__image { order: -1; }
}

/* === PRINT === */
@media print {
  .header, .footer, .wa-float { display: none; }
  .hero { min-height: auto; padding: 2rem 0; }
  body { font-size: 12pt; }
}
