 :root{
    --bg:#F8FAFC;
    --bg-alt:#F1F5F9;
    --card:#FFFFFF;
    --border:#E2E8F0;
    --text:#0F172A;
    --text-muted:#475569;
    --text-soft:#64748B;
    --indigo:#005597;
    --indigo-dark:#003e70;
    --indigo-soft:#e6f7f9;
    --cyan:#0EA5E9;
    --amber:#F59E0B;
    --emerald:#059669;
    --radius-lg:20px;
    --radius-md:14px;
    --radius-sm:10px;
    --shadow-sm:0 1px 2px rgba(15,23,42,0.06);
    --shadow-md:0 8px 24px rgba(15,23,42,0.08);
    --shadow-lg:0 20px 48px rgba(15,23,42,0.12);
    --font-display:'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    --font-body:'Inter', 'Segoe UI', sans-serif;
  }
  [data-bs-theme="dark"]{
    --bg:#0F172A;
    --bg-alt:#111827;
    --card:#1E293B;
    --border:#233047;
    --text:#F1F5F9;
    --text-muted:#CBD5E1;
    --text-soft:#94A3B8;
    --indigo-soft:#123344;
    --shadow-sm:0 1px 2px rgba(0,0,0,0.3);
    --shadow-md:0 8px 24px rgba(0,0,0,0.35);
    --shadow-lg:0 20px 48px rgba(0,0,0,0.45);
  }

  .hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; position:relative; }
  .hero-section p.lead{ font-size:18px; color:var(--text-muted); margin-bottom:30px; max-width:520px; }
  .hero-actions{ display:flex; gap:14px; align-items:center; flex-wrap:wrap; margin-bottom:28px; }
  .trust-row{ display:flex; gap:20px; flex-wrap:wrap; font-size:13.5px; color:var(--text-soft); }
  .trust-row span{ display:flex; align-items:center; gap:6px; }

  .hero-visual{
    position:relative; background:var(--card); border:1px solid var(--border);
    border-radius:var(--radius-lg); box-shadow:var(--shadow-lg); padding:22px; overflow:hidden;
  }
  .browser-bar{ display:flex; gap:6px; margin-bottom:16px; }
  .browser-bar span{ width:10px; height:10px; border-radius:50%; background:var(--border); }
  .mock-hero{
    background:linear-gradient(135deg, var(--indigo-soft), var(--bg-alt));
    border-radius:var(--radius-md); padding:26px; margin-bottom:14px;
  }
  .mock-hero .mock-title{ height:14px; width:70%; background:var(--indigo); opacity:.3; border-radius:6px; margin-bottom:10px;}
  .mock-hero .mock-line{ height:8px; background:var(--text-soft); opacity:.25; border-radius:6px; margin-bottom:8px;}
  .mock-hero .mock-line.short{ width:50%; }
  .mock-row{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
  .mock-card{ background:var(--bg-alt); border-radius:var(--radius-sm); padding:12px; border:1px solid var(--border); }
  .mock-card .dot{ width:22px; height:22px; border-radius:7px; background:var(--cyan); opacity:.7; margin-bottom:8px;}
  .mock-card .mline{ height:6px; background:var(--text-soft); opacity:.3; border-radius:4px; margin-bottom:6px; }

  /* SECTION HEADERS */
  .section{ padding:80px 0; }
  .section-alt{ background:var(--bg-alt); }
  .section-head{ max-width:640px; margin-bottom:48px; }
  .section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
  .section-head h2{ font-size:32px; font-weight:800; margin-bottom:12px; }
  .section-head p{ color:var(--text-muted); font-size:16.5px; }

  /* STATS / WHY */
  .stat-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
  .stat-card{
    background:var(--card); border:1px solid var(--border); border-radius:var(--radius-lg);
    padding:28px; box-shadow:var(--shadow-sm);
  }
  .stat-card .num{ font-size:34px; font-weight:800; color:var(--indigo); margin-bottom:6px; }
  .stat-card p{ color:var(--text-muted); font-size:14.5px; }

  /* PRICING TIERS */
  .tier-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; align-items:stretch; }
  .tier-card{
    background:var(--card); border:1px solid var(--border); border-radius:var(--radius-lg);
    padding:30px; display:flex; flex-direction:column; box-shadow:var(--shadow-sm);
    position:relative; transition:transform .2s ease, box-shadow .2s ease;
  }
  .tier-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); }
  .tier-card.featured{
    border-color:var(--indigo); box-shadow:var(--shadow-lg);
    background:linear-gradient(180deg, var(--indigo-soft), var(--card) 40%);
  }
  .tier-badge{
    position:absolute; top:-13px; left:30px; background:var(--indigo); color:white;
    font-size:12px; font-weight:700; padding:5px 14px; border-radius:999px;
  }
  .tier-icon{ font-size:26px; margin-bottom:14px; }
  .tier-name{ font-size:20px; font-weight:800; margin-bottom:4px; }
  .tier-for{ font-size:13.5px; color:var(--text-soft); margin-bottom:18px; }
  .tier-price{ font-size:30px; font-weight:800; margin-bottom:2px; }
  .tier-price sub{ font-size:14px; font-weight:600; color:var(--text-soft); }
  .tier-time{ font-size:13px; color:var(--indigo); font-weight:700; margin-bottom:20px; }
  .tier-features{ list-style:none; margin-bottom:24px; flex:1; }
  .tier-features li{
    display:flex; gap:9px; align-items:flex-start; font-size:14px; color:var(--text-muted);
    margin-bottom:11px;
  }
  .tier-features li::before{ content:'✓'; color:var(--emerald); font-weight:800; }
  .tier-note{ font-size:12px; color:var(--text-soft); text-align:center; margin-top:20px; }

  /* FEATURES */
  .feat-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
  .feat-card{
    background:var(--card); border:1px solid var(--border); border-radius:var(--radius-lg);
    padding:24px; box-shadow:var(--shadow-sm);
  }
  .feat-card .ic{ font-size:24px; margin-bottom:12px; }
  .feat-card h4{ font-size:15.5px; font-weight:700; margin-bottom:8px; }
  .feat-card p{ font-size:13.5px; color:var(--text-muted); }

  /* PROCESS */
  .process-list{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
  .process-step{ position:relative; padding-left:0; }
  .process-num{
    width:38px; height:38px; border-radius:11px; background:var(--indigo-soft); color:var(--indigo);
    display:flex; align-items:center; justify-content:center; font-weight:800; margin-bottom:14px; font-size:15px;
  }
  .process-step h4{ font-size:15.5px; margin-bottom:6px; }
  .process-step p{ font-size:13.5px; color:var(--text-muted); }


  /* COMPARATIVA ANTES/DESPUES */
  .compare-grid{ display:grid; grid-template-columns:1fr 1fr; gap:24px; }
  .compare-card{ border-radius:var(--radius-lg); padding:30px; border:1px solid var(--border); }
  .compare-card.bad{ background:var(--card); }
  .compare-card.good{ background:linear-gradient(180deg, var(--indigo-soft), var(--card) 60%); border-color:var(--indigo); }
  .compare-card h3{ font-size:18px; margin-bottom:16px; display:flex; align-items:center; gap:8px; }
  .compare-card ul{ list-style:none; }
  .compare-card li{ display:flex; gap:10px; align-items:flex-start; font-size:14.5px; color:var(--text-muted); margin-bottom:12px; }
  .compare-card.bad li::before{ content:'✕'; color:#DC2626; font-weight:800; }
  .compare-card.good li::before{ content:'✓'; color:var(--emerald); font-weight:800; }

  /* TABLA COMPARATIVA DE PLANES */
  .plan-table-wrap{ overflow-x:auto; border:1px solid var(--border); border-radius:var(--radius-lg); background:var(--card); box-shadow:var(--shadow-sm); }
  table.plan-table{ width:100%; border-collapse:collapse; min-width:640px; }
  .plan-table th, .plan-table td{ padding:16px 18px; text-align:center; border-bottom:1px solid var(--border); font-size:14px; }
  .plan-table th{ font-family:var(--font-display); font-weight:800; font-size:14.5px; }
  .plan-table td:first-child, .plan-table th:first-child{ text-align:left; color:var(--text-muted); font-weight:600; }
  .plan-table th:not(:first-child){ background:var(--bg-alt); }
  .plan-table th.mid{ background:var(--indigo-soft); color:var(--indigo); }
  .plan-table td.mid{ background:color-mix(in srgb, var(--indigo-soft) 45%, transparent); }
  .plan-table .yes{ color:var(--emerald); font-weight:800; }
  .plan-table .no{ color:var(--text-soft); }
  .plan-table tr:last-child td{ border-bottom:none; }

  /* CHECKLIST */
  .checklist-card{
    background:var(--card); border:1px solid var(--border); border-radius:var(--radius-lg);
    padding:36px; box-shadow:var(--shadow-sm);
  }
  .checklist-grid{ display:grid; grid-template-columns:1fr 1fr; gap:16px 32px; }
  .check-row{ display:flex; align-items:flex-start; gap:12px; }
  .check-box{
    width:22px; height:22px; border-radius:7px; border:2px solid var(--indigo); flex-shrink:0;
    display:flex; align-items:center; justify-content:center; color:var(--indigo); font-size:13px; font-weight:800; margin-top:1px;
  }
  .check-row h5{ font-size:14.5px; font-weight:700; margin-bottom:2px; }
  .check-row p{ font-size:13px; color:var(--text-soft); }

  /* PORTAFOLIO */
  .port-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
  .port-card{
    background:var(--card); border:1px solid var(--border); border-radius:var(--radius-lg);
    overflow:hidden; box-shadow:var(--shadow-sm); transition:transform .2s ease, box-shadow .2s ease;
  }
  .port-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); }
  .port-thumb{
    height:150px; display:flex; align-items:center; justify-content:center; font-size:36px;
  }
  .port-body{ padding:20px; }
  .port-tag{ font-size:11.5px; font-weight:700; color:var(--indigo); background:var(--indigo-soft); padding:4px 10px; border-radius:999px; display:inline-block; margin-bottom:10px; }
  .port-body h4{ font-size:15.5px; margin-bottom:6px; }
  .port-body p{ font-size:13.5px; color:var(--text-muted); }
  .port-result{ margin-top:12px; font-size:13px; font-weight:700; color:var(--emerald); }

  /* GARANTIAS */
  .guarantee-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
  .guarantee-card{
    text-align:center; padding:30px 22px; background:var(--card); border:1px solid var(--border);
    border-radius:var(--radius-lg); box-shadow:var(--shadow-sm);
  }
  .guarantee-card .ic{
    width:56px; height:56px; border-radius:16px; background:var(--indigo-soft); color:var(--indigo);
    display:flex; align-items:center; justify-content:center; font-size:26px; margin:0 auto 16px;
  }
  .guarantee-card h4{ font-size:15.5px; margin-bottom:8px; }
  .guarantee-card p{ font-size:13.5px; color:var(--text-muted); }

  /* TESTIMONIOS */
  .testi-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
  .testi-card{
    background:var(--card); border:1px solid var(--border); border-radius:var(--radius-lg);
    padding:26px; box-shadow:var(--shadow-sm);
  }
  .testi-stars{ color:var(--amber); margin-bottom:14px; font-size:14px; letter-spacing:2px; }
  .testi-card p.quote{ font-size:14.5px; color:var(--text-muted); margin-bottom:18px; }
  .testi-who{ display:flex; align-items:center; gap:12px; }
  .testi-avatar{
    width:40px; height:40px; border-radius:50%; background:linear-gradient(135deg, var(--indigo), var(--cyan));
    display:flex; align-items:center; justify-content:center; color:white; font-weight:800; font-size:14px;
  }
  .testi-who strong{ display:block; font-size:14px; }
  .testi-who span{ font-size:12.5px; color:var(--text-soft); }

  /* CROSS-SELL BAND */
  .cross-band{
    display:flex; align-items:center; justify-content:space-between; gap:30px; flex-wrap:wrap;
    background:var(--card); border:1px solid var(--border); border-radius:var(--radius-lg);
    padding:34px 38px; box-shadow:var(--shadow-sm);
  }
  .cross-band .left{ display:flex; align-items:center; gap:18px; }
  .cross-band .badge-ic{
    width:52px; height:52px; border-radius:14px; background:var(--indigo-soft); color:var(--indigo);
    display:flex; align-items:center; justify-content:center; font-size:24px; flex-shrink:0;
  }
  .cross-band h4{ font-size:16.5px; margin-bottom:4px; }
  .cross-band p{ font-size:13.5px; color:var(--text-muted); max-width:420px; }


/* Service components inherit typography, navigation and buttons from style.css. */
.web-service { line-height: 1.6; }
.web-service main { color: var(--text); }
.hero-grid > *, .tier-grid > *, .feat-grid > * { min-width: 0; }
.hero-section .hero-title { font-size: clamp(2rem, 3.8vw, 3.5rem); }
.hero-section .hero-title span { display: inline; }
.hero-actions .btn { text-decoration: none; }
.trust-row { color: var(--text-muted); }
.section-head h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
.section-head:not(.center) .section-divider { margin-left: 0; }
.feat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tier-features, .compare-card ul { padding-left: 0; }
.tier-price { color: var(--indigo); font-size: 2rem; line-height: 1.3; }
.tier-price sub { display: block; position: static; line-height: 1.7; }
.tier-card > .btn { margin-top: auto; }
[data-bs-theme="dark"] .tier-price,
[data-bs-theme="dark"] .tier-time,
[data-bs-theme="dark"] .stat-card .num,
[data-bs-theme="dark"] .plan-table th.mid { color: #67d8e1; }
[data-bs-theme="dark"] .web-service .feat-badge { color: #6ee7b7; }
[data-bs-theme="dark"] .compare-card.bad { background: #2c202b; }
[data-bs-theme="dark"] .compare-card.good { background: #14342f; border-color: #237a68; }
.process-num { background: linear-gradient(135deg, #005597, #00bac7); color: white; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: 14px; margin-bottom: 12px; }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px; cursor: pointer; font-weight: 600; list-style: none; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q:focus-visible { outline: 3px solid #00bac7; outline-offset: 3px; border-radius: 14px; }
.faq-q .chev { font-size: 1.5rem; flex-shrink: 0; }
.faq-item[open] .chev { transform: rotate(45deg); }
.faq-a-inner { padding: 0 20px 20px; color: var(--text-muted); }
.cta-band { padding: 56px; border-radius: 24px; text-align: center; color: white; background: linear-gradient(135deg, #005597, #0f172a); }
.cta-band h2 { font-weight: 800; }
.cta-band p { margin: 16px auto 28px; max-width: 600px; opacity: .85; }
.web-service .footer a { overflow-wrap: anywhere; }
@media (max-width: 1199.98px) {
    .web-service .navbar-nav { margin-left: 8px; }
    .web-service .navbar-nav .nav-item { margin-inline: 2px; }
    .web-service .navbar-actions > .btn { padding-inline: 16px; }
}
@media (max-width: 991.98px) {
    .hero-grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
    .hero-section p.lead { max-width: 680px; margin-inline: auto; }
    .hero-actions, .trust-row { justify-content: center; }
    .hero-visual { width: 100%; max-width: 580px; margin-inline: auto; }
    .tier-grid { grid-template-columns: 1fr; max-width: 600px; margin: auto; gap: 32px; }
    .feat-grid, .process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .guarantee-grid { grid-template-columns: 1fr; }
    .section { padding: 56px 0; }
}
@media (max-width: 575.98px) {
    .stat-grid, .compare-grid, .checklist-grid, .feat-grid, .process-list { grid-template-columns: 1fr; }
    .section-head { margin-bottom: 32px; }
    .tier-card, .compare-card, .checklist-card, .cross-band { padding: 24px; }
    .cta-band { padding: 32px 20px; }
    .cross-band .left { align-items: flex-start; }
    .cross-band > .btn { width: 100%; }
    .hero-visual { padding: 16px; }
    .web-service .navbar-actions > .btn { padding-inline: 10px; }
}
