/**
 * Home V2 Page Styles
 * Estilos específicos para la nueva home
 * Basado en HOME_V2_REDESIGN_BRIEF.md
 */

/* ===== HERO SECTION ===== */
.homev2-hero {
  position: relative;
  /* Top padding accounts for fixed navbar (118px = 42px top bar + 76px nav) + design spacing */
  padding: calc(118px + var(--space-3xl)) 0 var(--space-4xl) 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(30, 64, 175, 0.12) 100%);
  overflow: hidden;
}

/* Decorative background elements - enhanced with multiple circles */
.homev2-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -5%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle,
    rgba(59, 130, 246, 0.15) 0%,
    rgba(59, 130, 246, 0.08) 40%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.homev2-hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle,
    rgba(30, 64, 175, 0.12) 0%,
    transparent 60%
  );
  border-radius: 50%;
  pointer-events: none;
}

.homev2-hero__container {
  position: relative;
  z-index: 1;
}

.homev2-hero__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.homev2-hero__title {
  font-size: var(--text-5xl);
  font-weight: var(--weight-semibold); /* Reduced from 700 for refinement */
  color: var(--color-text-primary);
  margin: 0 0 var(--space-lg); /* Increased spacing */
  line-height: 1.15; /* Tighter for large display text */
  letter-spacing: -0.02em; /* Slight negative tracking for polish */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Highlight key part of title with gradient */
.homev2-hero__title-highlight {
  display: block;
  font-weight: var(--weight-bold);
  background: var(--gradient-full);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: 4px;
}

.homev2-hero__subtitle {
  font-size: 22px; /* Increased from 20px for better hierarchy */
  font-weight: var(--weight-medium); /* Added medium weight */
  color: #1e293b; /* Darker for better contrast */
  margin: 0 0 var(--space-3xl);
  line-height: 1.6;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.homev2-hero__highlights {
  margin: 0 auto var(--space-3xl);
  padding: var(--space-md);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
  max-width: 960px;
  list-style: none;
  background: rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
}

.homev2-hero__highlight {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  align-items: flex-start;
  border-radius: var(--radius-lg);
  background: rgba(248, 250, 252, 0.92);
  border: 1px solid rgba(59, 130, 246, 0.08);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.homev2-hero__highlight-icon {
  font-size: 28px;
  line-height: 1;
  filter: drop-shadow(0 6px 16px rgba(59, 130, 246, 0.25));
}

.homev2-hero__highlight-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.homev2-hero__highlight-title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
}

.homev2-hero__highlight-desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

/* Service cards grid */
.homev2-hero__services {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  max-width: 1000px;
  margin: 0 auto;
}

/* Primary service (Servicio Completo) */
.homev2-hero__primary {
  width: 100%;
}

/* Secondary service (DS-160 Solo - collapsed initially) */
.homev2-hero__secondary {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  position: relative;
  align-self: stretch;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.homev2-hero__secondary > * {
  position: relative;
  z-index: 1;
}

.ds160-summary-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  padding: var(--space-lg) var(--space-xl);
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.ds160-summary-card__eyebrow {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ds160-summary-card__toggle {
  appearance: none;
  border: none;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  color: inherit;
}

.ds160-summary-card__header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--space-md);
}

.ds160-summary-card__title {
  display: block;
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.ds160-summary-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
}

.ds160-summary-card__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.16);
  font-weight: var(--weight-medium);
}

.ds160-summary-card__pill strong {
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
}

.ds160-summary-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-full-primary);
}

.ds160-summary-card__cta::after {
  content: '→';
  transition: transform var(--transition-fast);
}

.ds160-summary-card__cta[data-state="open"]::after {
  content: '↑';
}

.ds160-summary-card__chevron {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.2);
  color: var(--color-text-muted);
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.ds160-summary-card__toggle:hover .ds160-summary-card__chevron {
  background: rgba(59, 130, 246, 0.18);
  color: var(--color-full-primary);
}

.ds160-summary-card__toggle .ds160-summary-card__cta[data-state="open"],
.ds160-summary-card__toggle.is-open .ds160-summary-card__cta[data-state="closed"] {
  display: none;
}

.ds160-summary-card__toggle.is-open .ds160-summary-card__cta[data-state="open"] {
  display: inline-flex;
  color: var(--color-ds160-primary);
}

.ds160-summary-card__toggle.is-open .ds160-summary-card__chevron {
  transform: rotate(180deg);
  background: rgba(16, 185, 129, 0.15);
  color: var(--color-ds160-primary);
}

.homev2-hero__ds160-panel {
  margin: var(--space-md) 0 0;
  padding-top: var(--space-lg);
  border-top: 1px dashed rgba(148, 163, 184, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  width: 100%;
}

.homev2-hero__ds160-panel[hidden] {
  display: none;
}

/* Price display in collapsed secondary */
.homev2-hero__ds160-panel .price {
  text-align: center;
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-ds160-primary);
  font-family: var(--font-family-numbers);
}

.homev2-hero__ds160-panel .service-card {
  width: 100%;
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.18);
}

/* Compare link */
.homev2-hero__compare {
  text-align: center;
  margin-top: var(--space-2xl);
}

.homev2-hero__compare a {
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: var(--color-text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  transition: all var(--transition-fast);
}

.homev2-hero__compare a:hover {
  color: var(--color-full-primary);
  transform: translateY(2px);
}

/* ===== COMPARISON SECTION ===== */
.homev2-compare {
  padding: var(--space-5xl) 0;
  background: linear-gradient(180deg, var(--color-bg-primary) 0%, rgba(248, 250, 252, 0.5) 100%);
  position: relative;
  overflow: hidden; /* Contain decorative backgrounds to avoid desktop horizontal scroll */
}

/* Decorative background gradient */
.homev2-compare::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.homev2-compare::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -5%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.homev2-compare__header {
  text-align: center;
  margin-bottom: var(--space-4xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.homev2-compare__title {
  font-size: 44px;
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  margin: 0 0 var(--space-lg);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* Add question mark icon */
.homev2-compare__title::before {
  content: '🤔';
  display: block;
  font-size: 48px;
  margin-bottom: var(--space-md);
}

.homev2-compare__subtitle {
  font-size: 20px;
  font-weight: var(--weight-medium);
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* Remove grid, center table directly */
.homev2-compare__grid {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Enhanced comparison table */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.08),
    0 10px 20px rgba(0, 0, 0, 0.04),
    0 0 0 1px rgba(0, 0, 0, 0.02);
  position: relative;
}

/* Table header styling */
.comparison-table thead {
  position: relative;
}

.comparison-table th {
  padding: 24px 32px;
  font-weight: var(--weight-bold);
  font-size: 16px;
  text-align: center;
  position: relative;
  vertical-align: middle;
}

/* First column header */
.comparison-table th:first-child {
  text-align: left;
  background: var(--color-bg-secondary);
  color: var(--color-text-muted);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: var(--weight-semibold);
}

/* Service column headers */
.comparison-table th:nth-child(2) {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(59, 130, 246, 0.04) 100%);
  color: var(--color-full-primary);
  font-size: 18px;
  padding-top: 40px; /* Reserve space for the badge so it stays visible */
  border-right: 1px solid rgba(59, 130, 246, 0.1);
}

.comparison-table th:nth-child(3) {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.04) 100%);
  color: var(--color-ds160-primary);
  font-size: 18px;
  padding-top: 40px; /* Keep header heights even with the popular badge column */
}

/* Popular badge */
.comparison-table th:nth-child(2)::before {
  content: '⭐ Más popular';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-full);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Table rows */
.comparison-table tbody tr {
  transition: background var(--transition-fast);
}

.comparison-table tbody tr:hover {
  background: rgba(0, 0, 0, 0.01);
}

/* Table cells */
.comparison-table td {
  padding: 20px 32px;
  border-bottom: 1px solid var(--color-bg-muted);
  text-align: center;
  font-size: 15px;
  color: var(--color-text-secondary);
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: var(--weight-medium);
  color: var(--color-text-primary);
  background: var(--color-bg-secondary);
}

.comparison-table td:nth-child(2) {
  background: rgba(59, 130, 246, 0.02);
  border-right: 1px solid rgba(59, 130, 246, 0.05);
}

.comparison-table td:nth-child(3) {
  background: rgba(16, 185, 129, 0.02);
}

/* Last row (pricing) special styling */
.comparison-table tr:last-child td {
  border-bottom: none;
  padding: 24px 32px;
  background: var(--color-bg-secondary);
  font-size: 18px;
}

.comparison-table tr:last-child td:nth-child(2) {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(59, 130, 246, 0.04) 100%);
}

.comparison-table tr:last-child td:nth-child(3) {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.04) 100%);
}

.comparison-table tr:last-child strong {
  font-size: 24px;
  font-weight: var(--weight-bold);
  font-family: var(--font-family-numbers);
  letter-spacing: -0.02em;
}

.comparison-table tr:last-child td:nth-child(2) strong {
  color: var(--color-full-primary);
}

.comparison-table tr:last-child td:nth-child(3) strong {
  color: var(--color-ds160-primary);
}

/* Comparison CTA section */
.comparison-cta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
  padding: 0 var(--space-lg);
}

.comparison-cta__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-2xl);
  background: white;
  border-radius: 16px;
  border: 2px solid transparent;
  transition: all var(--transition-base);
  text-align: center;
}

.comparison-cta__item--full {
  background: linear-gradient(white, white) padding-box,
              linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(59, 130, 246, 0.1)) border-box;
  border-color: transparent;
}

.comparison-cta__item--full:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}

.comparison-cta__item--ds160 {
  background: linear-gradient(white, white) padding-box,
              linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(16, 185, 129, 0.1)) border-box;
  border-color: transparent;
}

.comparison-cta__item--ds160:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.15);
}

.comparison-cta__content {
  flex: 1;
}

.comparison-cta__title {
  margin: 0 0 var(--space-xs);
  font-size: 20px;
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
  line-height: 1.2;
}

.comparison-cta__desc {
  margin: 0;
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.4;
}

.comparison-cta .btn {
  width: 100%;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: var(--weight-semibold);
  border-radius: 12px;
}

.comparison-cta .btn--primary {
  background: var(--gradient-full);
  color: white;
  border: none;
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.comparison-cta .btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.comparison-cta .btn--secondary {
  background: var(--gradient-ds160);
  color: white;
  border: none;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.comparison-cta .btn--secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

/* Help deciding section */
.comparison-help {
  text-align: center;
  margin-top: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--color-bg-muted);
}

.comparison-help__text {
  margin: 0;
  font-size: 16px;
  color: var(--color-text-secondary);
}

.comparison-help__link {
  color: var(--color-full-primary);
  font-weight: var(--weight-semibold);
  text-decoration: none;
  margin-left: var(--space-xs);
  transition: all var(--transition-fast);
}

.comparison-help__link:hover {
  color: var(--color-full-dark);
  text-decoration: underline;
}

/* ===== STEPS SECTION ===== */
.homev2-steps {
  padding: var(--space-4xl) 0;
  background: var(--color-bg-secondary);
}

.homev2-steps__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.homev2-steps__title {
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
  margin: 0 0 var(--space-md);
}

.homev2-steps__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-2xl);
  max-width: 1200px;
  margin: 0 auto;
}

.step-item {
  position: relative;
  text-align: center;
  padding: var(--space-xl);
}

.step-item::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--color-full-primary), transparent);
  z-index: 0;
}

.step-item:last-child::before {
  display: none;
}

.step-number {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-full);
  color: white;
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1;
}

.step-title {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
  margin: 0 0 var(--space-sm);
}

.step-description {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  margin: 0;
}

/* ===== IA CALC SECTION ===== */
.homev2-iacalc {
  padding: var(--space-4xl) 0;
  background: var(--gradient-full);
  color: white;
  position: relative;
  overflow: hidden;
}

.homev2-iacalc::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="40" height="40" xmlns="http://www.w3.org/2000/svg"><circle cx="1" cy="1" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

.homev2-iacalc__container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.homev2-iacalc__title {
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  color: white;
  margin: 0 0 var(--space-md);
}

.homev2-iacalc__subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 var(--space-2xl);
}

/* ===== FAQ SECTION ===== */
.homev2-faq {
  padding: var(--space-2xl) 0;
}

.homev2-faq__title {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
  margin: 0 0 var(--space-lg);
  text-align: center;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  background: white;
  border: 1px solid var(--color-bg-muted);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item summary {
  padding: var(--space-lg);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition-fast);
  user-select: none;
}

.faq-item summary:hover {
  background: var(--color-bg-secondary);
}

.faq-item summary::after {
  content: '+';
  font-size: var(--text-2xl);
  line-height: 1;
  transition: transform var(--transition-fast);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  margin: 0;
}

/* ===== CTA FINAL SECTION ===== */
.homev2-cta-final {
  padding: var(--space-4xl) 0;
  background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
  color: white;
  text-align: center;
}

.homev2-cta-final__title {
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  color: white;
  margin: 0 0 var(--space-md);
}

.homev2-cta-final__subtitle {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 var(--space-2xl);
}

.homev2-cta-final__buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

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

/* Tablet landscape and small desktops */
@media (max-width: 992px) {
  .homev2-hero {
    /* On tablet/mobile, navbar is only 64px (no top bar) */
    padding: calc(64px + var(--space-2xl)) 0 var(--space-3xl) 0;
  }

  .homev2-hero__title {
    font-size: 36px;
  }

  .homev2-hero__services {
    gap: var(--space-lg);
    align-items: stretch;
  }

  .homev2-hero__secondary {
    max-width: 100%;
  }

  .ds160-summary-card {
    max-width: 100%;
  }

  .ds160-summary-card__header {
    grid-template-columns: 1fr auto;
  }

  .homev2-compare__grid {
    grid-template-columns: 1fr;
  }

  .step-item::before {
    display: none;
  }

  .trust-list {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

/* Mobile and tablet portrait */
@media (max-width: 768px) {
  .homev2-hero__title {
    font-size: 32px;
    line-height: 1.2;
  }

  .homev2-hero__highlights {
    grid-template-columns: 1fr;
    margin: 0 auto var(--space-2xl);
    padding: var(--space-md);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
  }

  .homev2-hero__title-highlight {
    margin-top: 8px;
    font-size: 28px;
  }

  .homev2-hero__subtitle {
    font-size: 18px;
  }

  .homev2-hero__services {
    gap: var(--space-xl);
  }

  .homev2-hero__secondary {
    order: 2;
  }

  .ds160-summary-card {
    width: 100%;
    padding: var(--space-lg);
  }

  .ds160-summary-card__header {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .ds160-summary-card__chevron {
    justify-self: flex-start;
  }

  .service-card__title {
    font-size: 24px;
  }

  .service-card__price-amount {
    font-size: 36px;
  }

  .homev2-steps__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .comparison-table {
    font-size: 13px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: var(--space-md);
  }

  /* Enhanced responsive comparison section */
  .homev2-compare {
    padding: var(--space-3xl) 0;
  }

  .homev2-compare__title {
    font-size: 32px;
  }

  .homev2-compare__title::before {
    font-size: 36px;
  }

  .homev2-compare__subtitle {
    font-size: 18px;
  }

  .comparison-table {
    font-size: 14px;
  }

  .comparison-table th {
    padding: 16px 12px;
    font-size: 14px;
  }

  .comparison-table th:nth-child(2)::before {
    display: none; /* Hide "Más popular" badge on mobile */
  }

  .comparison-table td {
    padding: 12px;
    font-size: 13px;
  }

  .comparison-table td:first-child {
    font-size: 13px;
  }

  .comparison-table tr:last-child strong {
    font-size: 18px;
  }

  .comparison-badge {
    font-size: 11px;
    padding: 4px 8px;
  }

  /* Hide decorative backgrounds on mobile */
  .homev2-compare::before,
  .homev2-compare::after {
    display: none;
  }

  /* Comparison CTA responsive */
  .comparison-cta {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    padding: 0;
  }

  .comparison-cta__item {
    padding: var(--space-lg);
  }

  .comparison-cta__title {
    font-size: 18px;
  }

  .comparison-cta__desc {
    font-size: 13px;
  }

  .comparison-help__text {
    font-size: 14px;
  }

  .homev2-cta-final__buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .homev2-cta-final__buttons .btn {
    width: 100%;
  }
}

/* Small phones */
@media (max-width: 576px) {
  .homev2-hero__title {
    font-size: 28px;
  }

  .homev2-hero__title-highlight {
    font-size: 24px;
  }

  .homev2-hero__subtitle {
    font-size: 16px;
  }

  .homev2-hero__highlights {
    margin: 0 auto var(--space-xl);
  }

  .service-card {
    padding: var(--space-lg);
  }

  .service-card__benefits {
    font-size: var(--text-sm);
  }
}

/* Large desktops */
@media (min-width: 1400px) {
  .container-homev2 {
    max-width: 1320px;
  }

  .homev2-hero__title {
    font-size: 52px;
  }
}
