:root {
    --azul-oscuro: #1e293b;
    --azul: #1e3a8a;
    --celeste: #1d4ed8;
    --celeste-soft: #dbeafe;
    --gris-fondo: #f4f4f5;
    --gris-card: #ffffff;
    --gris-texto: #4b5563;
    --gris-muted: #9ca3af;
    --borde-suave: #e5e7eb;
    --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.12);
    --radius-lg: 18px;
    --radius-pill: 999px;
  }
  
  /* Reset básico */
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  html,
  body {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
      "Segoe UI", sans-serif;
    background: radial-gradient(circle at top left, #e0f2fe 0, #f4f4f5 45%, #f9fafb 100%);
    color: var(--gris-texto);
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  /* ========= NAV FLOTANTE ========= */
  
  .nav-shell {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(18px);
    padding-inline: 8px; /* mejora margen lateral en mobile */
  }
  
  .nav-pill {
    max-width: 1120px;
    margin: 12px auto 0;
    height: 82px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 26px 55px rgba(15, 23, 42, 0.16);
    border: 1px solid rgba(226, 232, 240, 0.9);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    gap: 24px;
  }
  
  .brand {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  .brand-text-block {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  
  /* Nombre tipo app */
  .brand-app {
    font-weight: 800;
    font-size: 24px;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    color: #0f172a;
    white-space: nowrap;
  }
  
  .brand-gradient {
    background: linear-gradient(90deg, #3aa0ff, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .brand-tagline {
    margin-top: 2px;
    font-size: 12px;
    color: var(--gris-muted);
    white-space: nowrap;
  }
  
  .nav-links {
    display: flex;
    gap: 18px;
    font-size: 13px;
    color: var(--gris-muted);
    align-items: center;
    white-space: nowrap;
  }
  
  .nav-links a {
    padding: 5px 10px;
    border-radius: 999px;
    transition: background 0.15s ease, color 0.15s ease;
  }
  
  .nav-links a:hover {
    background: rgba(226, 232, 240, 0.7);
    color: var(--azul-oscuro);
  }
  
  .nav-cta {
    background: #2563eb;
    color: #f9fafb !important;
    padding: 9px 20px;
    font-weight: 600;
    border-radius: 999px;
    box-shadow: 0 10px 26px rgba(37, 99, 235, 0.5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  .nav-cta:hover {
    background: #1d4ed8;
  }
  
  /* ========= HERO ========= */
  
  main {
    padding-top: 16px;
  }
  
  .hero {
    max-width: 1120px;
    margin: 0 auto;
    padding: 40px 20px 70px;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
  }
  
  .hero h1 {
    font-size: 2.8rem;
    line-height: 1.12;
    color: var(--azul-oscuro);
    margin-bottom: 14px;
  }
  
  .hero-highlight {
    background: linear-gradient(120deg, #3b82f6, #0ea5e9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  
  .hero p {
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 540px;
    color: var(--gris-texto);
  }
  
  .hero-meta {
    margin-top: 14px;
    font-size: 12px;
    color: var(--gris-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
  }
  
  .hero-pill {
    border-radius: var(--radius-pill);
    background: rgba(219, 234, 254, 0.8);
    border: 1px solid var(--celeste-soft);
    padding: 4px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #1d4ed8;
  }
  
  .hero-pill-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.7);
  }
  
  .btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
  }
  
  .btn {
    padding: 11px 22px;
    font-size: 0.95rem;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    transition: transform 0.16s ease-out, box-shadow 0.16s ease-out,
      background 0.16s ease-out, color 0.16s ease-out;
    font-weight: 600;
    white-space: nowrap;
  }
  
  .btn-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.45);
  }
  
  .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 50px rgba(37, 99, 235, 0.55);
  }
  
  .btn-secondary {
    background: #ffffff;
    color: var(--azul);
    border: 1px solid #d1d5db;
  }
  
  .btn-secondary:hover {
    background: #f3f4f6;
  }
  
  .hero-fineprint {
    margin-top: 10px;
    font-size: 11px;
    color: var(--gris-muted);
  }
  
  /* MOCKUP PANEL */
  
  .hero-mockup-wrapper {
    display: flex;
    justify-content: center;
  }
  
  .hero-mockup {
    width: 100%;
    max-width: 380px;
    background: var(--gris-card);
    border-radius: 26px;
    box-shadow: var(--shadow-soft);
    padding: 18px 18px 20px;
    border: 1px solid rgba(148, 163, 184, 0.4);
  }
  
  .hero-mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
  }
  
  .mockup-title {
    font-size: 13px;
    color: var(--gris-muted);
  }
  
  .mockup-destino {
    font-size: 14px;
    font-weight: 600;
    color: var(--azul-oscuro);
  }
  
  .mockup-pill {
    border-radius: var(--radius-pill);
    padding: 3px 9px;
    font-size: 10px;
    background: #ecfeff;
    border: 1px solid #bae6fd;
    color: #0369a1;
  }
  
  .mockup-card {
    margin-top: 4px;
    background: #f9fafb;
    border-radius: 14px;
    padding: 10px 11px;
    border: 1px solid #e5e7eb;
    font-size: 12px;
  }
  
  .mockup-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
  }
  
  .mockup-name {
    font-weight: 600;
    color: var(--azul-oscuro);
  }
  
  .mockup-badge {
    border-radius: var(--radius-pill);
    padding: 2px 8px;
    font-size: 10px;
    background: rgba(22, 163, 74, 0.08);
    color: #047857;
    border: 1px solid rgba(22, 163, 74, 0.5);
  }
  
  .mockup-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
  }
  
  .mockup-chip {
    border-radius: var(--radius-pill);
    border: 1px solid #e5e7eb;
    padding: 3px 7px;
    font-size: 10px;
    background: #ffffff;
    color: #4b5563;
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }
  
  .mockup-legend {
    margin-top: 12px;
    font-size: 11px;
    color: var(--gris-muted);
    line-height: 1.5;
  }
  
  /* ========= SECCIONES ========= */
  
  section[id] {
    scroll-margin-top: 110px; /* sticky nav no tapa el título */
  }
  
  .section {
    max-width: 1120px;
    margin: 0 auto 40px;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(226, 232, 240, 0.8);
  }
  
  .section-header {
    text-align: center;
    margin-bottom: 28px;
  }
  
  .section h2 {
    font-size: 2rem;
    color: var(--azul-oscuro);
    margin-bottom: 6px;
  }
  
  .section p {
    max-width: 720px;
    margin: 0 auto;
    font-size: 0.98rem;
  }
  
  /* FEATURES GRID */
  
  .features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 26px;
  }
  
  .feature {
    background: #f9fafb;
    padding: 18px 18px 20px;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    text-align: left;
  }
  
  .feature h3 {
    color: var(--azul);
    font-size: 1rem;
    margin-bottom: 6px;
  }
  
  .feature p {
    margin: 0;
    font-size: 0.94rem;
    color: var(--gris-texto);
  }
  
  /* PUBLICIDAD */
  
  .ads-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 26px;
  }
  
  .ad-slot {
    border-radius: 18px;
    border: 1px dashed #cbd5f5;
    background: #eff6ff;
    padding: 18px;
    font-size: 0.9rem;
    color: #1d4ed8;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
    justify-content: center;
  }
  
  .ad-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #93c5fd;
  }
  
  /* DONACIONES */
  
  .donar-box {
    margin-top: 24px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    padding: 18px 20px;
    border-radius: 18px;
    background: #0f172a;
    color: #e5e7eb;
    text-align: left;
  }
  
  .donar-box h3 {
    margin-bottom: 6px;
    font-size: 1rem;
    color: #e5e7eb;
  }
  
  .donar-box p {
    font-size: 0.92rem;
    margin-bottom: 10px;
    color: #cbd5f5;
  }
  
  .donar-box .btn-primary {
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.65);
  }
  
  /* FOOTER + redes sociales */
  
  .site-footer {
    max-width: 1120px;
    margin: 0 auto;
    padding: 26px 20px 24px;
    font-size: 11px;
    color: var(--gris-muted);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(148, 163, 184, 0.3);
    margin-top: 10px;
  }
  
  .site-footer strong {
    color: var(--azul-oscuro);
  }
  
  .footer-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  
  .footer-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
  }
  
  .footer-social-label {
    font-weight: 600;
    color: #4b5563;
  }
  
  .footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.03);
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
  }
  
  .footer-social-link:hover {
    background: #111827;
    color: #f9fafb;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.25);
  }
  
  .footer-social-icon {
    font-size: 0.9rem;
  }
  
  /* === Branding unificado =================== */
  
  /* Subtítulo bajo brand */
  .brand-tagline {
    font-size: 1.05rem;
    line-height: 1.5;
    color: #6b7280;
  }
  
  /* Links del menú superior */
  .nav-links a {
    font-size: 1rem;
    font-weight: 500;
  }
  
  /* Botón "Abrir buscador" del header */
  .nav-cta {
    font-size: 1rem;
    font-weight: 600;
  }
  
  /* ========= RESPONSIVE ========= */
  
  /* Tablet landscape / desktop pequeño */
  @media (max-width: 960px) {
    .nav-pill {
      max-width: 100%;
      margin-top: 10px;
    }
  
    .hero {
      grid-template-columns: minmax(0, 1fr);
      padding-top: 24px;
      gap: 30px;
    }
  
    .hero-mockup-wrapper {
      order: -1;
    }
  
    .hero {
      text-align: left;
    }
  
    .hero p {
      max-width: 100%;
    }
  }
  
  /* Tablet y móviles medianos */
  @media (max-width: 768px) {
    .nav-pill {
      padding: 8px 16px;
      height: auto;
      gap: 12px;
      flex-wrap: wrap;              /* brand + links + cta en varias líneas */
      align-items: flex-start;
    }
  
    .brand-app {
      font-size: 20px;
    }
  
    .brand-tagline {
      display: none; /* para que no se apriete tanto en mobile */
    }
  
    .nav-links {
      flex-wrap: wrap;
      row-gap: 6px;
      column-gap: 10px;
      font-size: 13px;
    }
  
    .nav-links a {
      padding-inline: 8px;
    }
  
    .nav-cta {
      padding: 8px 16px;
    }
  
    .hero {
      padding-inline: 14px;
    }
  
    .section {
      margin-inline: 12px;
      padding-inline: 16px;
    }
  
    .features {
      grid-template-columns: minmax(0, 1fr);
    }
  
    .ads-grid {
      grid-template-columns: minmax(0, 1fr);
    }
  
    .hero h1 {
      font-size: 2.1rem;
    }
  
    .site-footer {
      padding-inline: 16px;
    }
  }
  
  /* Móviles pequeños (iPhone SE, Android chico) */
  @media (max-width: 480px) {
    .nav-shell {
      padding-inline: 6px;
    }
  
    .nav-pill {
      padding-inline: 14px;
      gap: 8px;
    }
  
    .brand-app {
      font-size: 18px;
    }
  
    .nav-links {
      width: 100%;
      justify-content: flex-start;
      overflow-x: auto;           /* menú tipo chips desplazable */
      padding-bottom: 2px;
    }
  
    .nav-links::-webkit-scrollbar {
      display: none;
    }
  
    .nav-cta {
      width: 100%;
      justify-content: center;
    }
  
    .hero {
      padding: 28px 12px 50px;
    }
  
    .hero h1 {
      font-size: 1.9rem;
    }
  
    .hero-meta {
      font-size: 11px;
    }
  
    .btn {
      width: 100%;
      justify-content: center;
    }
  
    .section {
      padding: 28px 14px;
      margin-bottom: 24px;
    }
  
    .section h2 {
      font-size: 1.6rem;
    }
  
    .mockup-legend {
      font-size: 10px;
    }
  
    .site-footer {
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
    }
  }
  
  /* Móviles ultra pequeños / modo split-screen */
  @media (max-width: 360px) {
    .nav-pill {
      padding-inline: 10px;
    }
  
    .nav-links a {
      font-size: 0.9rem;
      padding-inline: 6px;
    }
  
    .hero h1 {
      font-size: 1.7rem;
    }
  
    .hero p {
      font-size: 0.95rem;
    }
  }
  

  :root {
    --azul-oscuro: #1e293b;
    --azul: #1e3a8a;
    --celeste: #1d4ed8;
    --celeste-soft: #dbeafe;
    --gris-fondo: #f4f4f5;
    --gris-card: #ffffff;
    --gris-texto: #4b5563;
    --gris-muted: #9ca3af;
    --borde-suave: #e5e7eb;
    --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.12);
    --radius-lg: 18px;
    --radius-pill: 999px;
  }
  
  /* Reset básico */
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  html,
  body {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden; /* evita desbordes horizontales en mobile */
  }
  
  body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
      "Segoe UI", sans-serif;
    background: radial-gradient(circle at top left, #e0f2fe 0, #f4f4f5 45%, #f9fafb 100%);
    color: var(--gris-texto);
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  /* ========= NAV FLOTANTE ========= */
  
  .nav-shell {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(18px);
    padding-inline: 8px; /* mejora margen lateral en mobile */
  }
  
  .nav-pill {
    max-width: 1120px;
    width: 100%;
    margin: 12px auto 0;
    height: 82px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 26px 55px rgba(15, 23, 42, 0.16);
    border: 1px solid rgba(226, 232, 240, 0.9);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    gap: 24px;
  }
  
  .brand {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  .brand-text-block {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  
  /* Nombre tipo app */
  .brand-app {
    font-weight: 800;
    font-size: 24px;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    color: #0f172a;
    white-space: nowrap;
  }
  
  .brand-gradient {
    background: linear-gradient(90deg, #3aa0ff, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .brand-tagline {
    margin-top: 2px;
    font-size: 12px;
    color: var(--gris-muted);
    white-space: nowrap;
  }
  
  .nav-links {
    display: flex;
    gap: 18px;
    font-size: 13px;
    color: var(--gris-muted);
    align-items: center;
    white-space: nowrap;
  }
  
  .nav-links a {
    padding: 5px 10px;
    border-radius: 999px;
    transition: background 0.15s ease, color 0.15s ease;
  }
  
  .nav-links a:hover {
    background: rgba(226, 232, 240, 0.7);
    color: var(--azul-oscuro);
  }
  
  .nav-cta {
    background: #2563eb;
    color: #f9fafb !important;
    padding: 9px 20px;
    font-weight: 600;
    border-radius: 999px;
    box-shadow: 0 10px 26px rgba(37, 99, 235, 0.5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  .nav-cta:hover {
    background: #1d4ed8;
  }
  
  /* ========= HERO ========= */
  
  main {
    padding-top: 16px;
  }
  
  .hero {
    max-width: 1120px;
    margin: 0 auto;
    padding: 40px 20px 70px;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
  }
  
  .hero h1 {
    font-size: 2.8rem;
    line-height: 1.12;
    color: var(--azul-oscuro);
    margin-bottom: 14px;
  }
  
  .hero-highlight {
    background: linear-gradient(120deg, #3b82f6, #0ea5e9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  
  .hero p {
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 540px;
    color: var(--gris-texto);
  }
  
  .hero-meta {
    margin-top: 14px;
    font-size: 12px;
    color: var(--gris-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
  }
  
  .hero-pill {
    border-radius: var(--radius-pill);
    background: rgba(219, 234, 254, 0.8);
    border: 1px solid var(--celeste-soft);
    padding: 4px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #1d4ed8;
  }
  
  .hero-pill-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.7);
  }
  
  .btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
  }
  
  .btn {
    padding: 11px 22px;
    font-size: 0.95rem;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    transition: transform 0.16s ease-out, box-shadow 0.16s ease-out,
      background 0.16s ease-out, color 0.16s ease-out;
    font-weight: 600;
    white-space: nowrap;
  }
  
  .btn-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.45);
  }
  
  .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 50px rgba(37, 99, 235, 0.55);
  }
  
  .btn-secondary {
    background: #ffffff;
    color: var(--azul);
    border: 1px solid #d1d5db;
  }
  
  .btn-secondary:hover {
    background: #f3f4f6;
  }
  
  .hero-fineprint {
    margin-top: 10px;
    font-size: 11px;
    color: var(--gris-muted);
  }
  
  /* MOCKUP PANEL */
  
  .hero-mockup-wrapper {
    display: flex;
    justify-content: center;
  }
  
  .hero-mockup {
    width: 100%;
    max-width: 380px;
    background: var(--gris-card);
    border-radius: 26px;
    box-shadow: var(--shadow-soft);
    padding: 18px 18px 20px;
    border: 1px solid rgba(148, 163, 184, 0.4);
  }
  
  .hero-mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
  }
  
  .mockup-title {
    font-size: 13px;
    color: var(--gris-muted);
  }
  
  .mockup-destino {
    font-size: 14px;
    font-weight: 600;
    color: var(--azul-oscuro);
  }
  
  .mockup-pill {
    border-radius: var(--radius-pill);
    padding: 3px 9px;
    font-size: 10px;
    background: #ecfeff;
    border: 1px solid #bae6fd;
    color: #0369a1;
  }
  
  .mockup-card {
    margin-top: 4px;
    background: #f9fafb;
    border-radius: 14px;
    padding: 10px 11px;
    border: 1px solid #e5e7eb;
    font-size: 12px;
  }
  
  .mockup-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
  }
  
  .mockup-name {
    font-weight: 600;
    color: var(--azul-oscuro);
  }
  
  .mockup-badge {
    border-radius: var(--radius-pill);
    padding: 2px 8px;
    font-size: 10px;
    background: rgba(22, 163, 74, 0.08);
    color: #047857;
    border: 1px solid rgba(22, 163, 74, 0.5);
  }
  
  .mockup-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
  }
  
  .mockup-chip {
    border-radius: var(--radius-pill);
    border: 1px solid #e5e7eb;
    padding: 3px 7px;
    font-size: 10px;
    background: #ffffff;
    color: #4b5563;
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }
  
  .mockup-legend {
    margin-top: 12px;
    font-size: 11px;
    color: var(--gris-muted);
    line-height: 1.5;
  }
  
  /* ========= SECCIONES ========= */
  
  section[id] {
    scroll-margin-top: 110px; /* sticky nav no tapa el título */
  }
  
  .section {
    max-width: 1120px;
    margin: 0 auto 40px;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(226, 232, 240, 0.8);
  }
  
  .section-header {
    text-align: center;
    margin-bottom: 28px;
  }
  
  .section h2 {
    font-size: 2rem;
    color: var(--azul-oscuro);
    margin-bottom: 6px;
  }
  
  .section p {
    max-width: 720px;
    margin: 0 auto;
    font-size: 0.98rem;
  }
  
  /* FEATURES GRID */
  
  .features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 26px;
  }
  
  .feature {
    background: #f9fafb;
    padding: 18px 18px 20px;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    text-align: left;
  }
  
  .feature h3 {
    color: var(--azul);
    font-size: 1rem;
    margin-bottom: 6px;
  }
  
  .feature p {
    margin: 0;
    font-size: 0.94rem;
    color: var(--gris-texto);
  }
  
  /* PUBLICIDAD */
  
  .ads-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 26px;
  }
  
  .ad-slot {
    border-radius: 18px;
    border: 1px dashed #cbd5f5;
    background: #eff6ff;
    padding: 18px;
    font-size: 0.9rem;
    color: #1d4ed8;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
    justify-content: center;
  }
  
  .ad-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #93c5fd;
  }
  
  /* DONACIONES */
  
  .donar-box {
    margin-top: 24px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    padding: 18px 20px;
    border-radius: 18px;
    background: #0f172a;
    color: #e5e7eb;
    text-align: left;
  }
  
  .donar-box h3 {
    margin-bottom: 6px;
    font-size: 1rem;
    color: #e5e7eb;
  }
  
  .donar-box p {
    font-size: 0.92rem;
    margin-bottom: 10px;
    color: #cbd5f5;
  }
  
  .donar-box .btn-primary {
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.65);
  }
  
  /* FOOTER + redes sociales */
  
  .site-footer {
    max-width: 1120px;
    margin: 0 auto;
    padding: 26px 20px 24px;
    font-size: 11px;
    color: var(--gris-muted);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(148, 163, 184, 0.3);
    margin-top: 10px;
  }
  
  .site-footer strong {
    color: var(--azul-oscuro);
  }
  
  .footer-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  
  .footer-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
  }
  
  .footer-social-label {
    font-weight: 600;
    color: #4b5563;
  }
  
  .footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.03);
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
  }
  
  .footer-social-link:hover {
    background: #111827;
    color: #f9fafb;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.25);
  }
  
  .footer-social-icon {
    font-size: 0.9rem;
  }
  
  /* === Branding unificado =================== */
  
  /* Esta regla la dejo pero la acoto para no romper el nav */
  .hero .brand-tagline {
    font-size: 1.05rem;
    line-height: 1.5;
    color: #6b7280;
  }
  
  /* Refuerzo el tamaño correcto en el header */
  .nav-pill .brand-tagline {
    font-size: 12px;
    line-height: 1.3;
    color: var(--gris-muted);
  }
  
  /* Links del menú superior */
  .nav-links a {
    font-size: 1rem;
    font-weight: 500;
  }
  
  /* Botón "Abrir buscador" del header */
  .nav-cta {
    font-size: 1rem;
    font-weight: 600;
  }
  
  /* ========= RESPONSIVE ========= */
  
  /* Tablet landscape / desktop pequeño */
  @media (max-width: 960px) {
    .nav-pill {
      max-width: 100%;
      margin-top: 10px;
    }
  
    .hero {
      grid-template-columns: minmax(0, 1fr);
      padding-top: 24px;
      gap: 30px;
    }
  
    .hero-mockup-wrapper {
      order: -1;
    }
  
    .hero {
      text-align: left;
    }
  
    .hero p {
      max-width: 100%;
    }
  
    /* En tablets dejo 2 columnas para que no se vean tan apretadas */
    .features {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  
  /* Tablet y móviles medianos */
  @media (max-width: 768px) {
    .nav-pill {
      padding: 8px 16px;
      height: auto;
      gap: 12px;
      flex-wrap: wrap;              /* brand + links + cta en varias líneas */
      align-items: flex-start;
    }
  
    .brand-app {
      font-size: 20px;
    }
  
    .nav-pill .brand-tagline {
      display: none; /* para que no se apriete tanto en mobile */
    }
  
    .nav-links {
      flex-wrap: wrap;
      row-gap: 6px;
      column-gap: 10px;
      font-size: 13px;
    }
  
    .nav-links a {
      padding-inline: 8px;
    }
  
    .nav-cta {
      padding: 8px 16px;
    }
  
    .hero {
      padding-inline: 14px;
    }
  
    .section {
      margin-inline: 12px;
      padding-inline: 16px;
    }
  
    .features {
      grid-template-columns: minmax(0, 1fr); /* en mobile: 1 columna */
    }
  
    .ads-grid {
      grid-template-columns: minmax(0, 1fr);
    }
  
    .hero h1 {
      font-size: 2.1rem;
    }
  
    .site-footer {
      padding-inline: 16px;
    }
  }
  
  /* Móviles pequeños (iPhone SE, Android chico) */
  @media (max-width: 480px) {
    .nav-shell {
      padding-inline: 6px;
    }
  
    .nav-pill {
      padding-inline: 14px;
      gap: 8px;
    }
  
    .brand-app {
      font-size: 18px;
    }
  
    .nav-links {
      width: 100%;
      justify-content: flex-start;
      overflow-x: auto;           /* menú tipo chips desplazable */
      padding-bottom: 2px;
    }
  
    .nav-links::-webkit-scrollbar {
      display: none;
    }
  
    .nav-cta {
      width: 100%;
      justify-content: center;
    }
  
    .hero {
      padding: 28px 12px 50px;
    }
  
    .hero h1 {
      font-size: 1.9rem;
    }
  
    .hero-meta {
      font-size: 11px;
    }
  
    .btn {
      width: 100%;
      justify-content: center;
    }
  
    .section {
      padding: 28px 14px;
      margin-bottom: 24px;
    }
  
    .section h2 {
      font-size: 1.6rem;
    }
  
    .mockup-legend {
      font-size: 10px;
    }
  
    .site-footer {
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
    }
  }
  
  /* Móviles ultra pequeños / modo split-screen */
  @media (max-width: 360px) {
    .nav-pill {
      padding-inline: 10px;
    }
  
    .nav-links a {
      font-size: 0.9rem;
      padding-inline: 6px;
    }
  
    .hero h1 {
      font-size: 1.7rem;
    }
  
    .hero p {
      font-size: 0.95rem;
    }
  }
  

  /* ============================================
   FIX HEADER MOBILE
   ============================================ */

@media (max-width: 768px) {
    .nav-pill {
      width: 100% !important;
      max-width: 100% !important;
      height: auto !important;           /* elimina altura fija que rompe todo */
      padding: 10px 16px !important;
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-start;
      gap: 10px;
    }
  
    /* Elimina el gap enorme entre el icono y los links */
    .brand {
      flex: 0 0 100%;
      justify-content: flex-start;
    }
  
    /* Los links ahora fluyen a 2 líneas sin romper contenedor */
    .nav-links {
      flex: 0 0 100%;
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: -4px;
    }
  
    /* CTA se mueve abajo limpio */
    .nav-cta {
      flex: 0 0 100%;
      text-align: center;
      justify-content: center;
      margin-top: 4px;
    }
  }
  
  /* Móviles pequeños */
  @media (max-width: 480px) {
    .nav-pill {
      padding: 8px 12px !important;
      border-radius: 24px;              /* más compacto en móviles */
    }
  
    .brand-app {
      font-size: 18px;
    }
  
    .nav-links a {
      font-size: 13px;
      padding: 4px 8px;
    }
  }
  

  /* ========= NAV FLOTANTE (REVISADO) ========= */

.nav-shell {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  padding-inline: 8px;
}

.nav-pill {
  max-width: 1120px;
  width: 100%;
  margin: 12px auto 0;
  /* Cambio: min-height en vez de height fija para que crezca en mobile */
  min-height: 82px; 
  height: auto; 
  border-radius: 999px; /* Se ajustará automáticamente en mobile */
  background: #ffffff;
  box-shadow: 0 26px 55px rgba(15, 23, 42, 0.16);
  border: 1px solid rgba(226, 232, 240, 0.9);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 28px;
  gap: 20px;
}
/* ========= CONFIGURACIÓN DE BARRA (NAV) ========= */

.nav-shell {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 10px 0; /* Espacio superior para que la pill no pegue al borde */
}

.nav-pill {
  max-width: 1120px;
  margin: 0 auto;
  min-height: 70px; /* Altura mínima base */
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12);
  border-radius: 999px; /* Estilo cápsula por defecto */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 24px;
  gap: 15px;
  transition: all 0.3s ease;
}

.brand-app {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.nav-links {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gris-texto);
  padding: 6px 12px;
  border-radius: 999px;
  transition: 0.2s;
}

.nav-links a:hover {
  background: var(--gris-fondo);
  color: var(--azul);
}

.nav-cta {
  background: #2563eb;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
  white-space: nowrap;
}

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

/* Tablets y pantallas medianas */
@media (max-width: 960px) {
  .nav-pill {
    padding: 10px 20px;
  }
}

/* Móviles (Aquí es donde se "rompía") */
@media (max-width: 768px) {
  .nav-pill {
    border-radius: 28px; /* Reducimos el radio para que al crecer hacia abajo no parezca un círculo */
    flex-wrap: wrap; /* Permite que los elementos bajen de línea */
    justify-content: center;
    padding: 15px;
    gap: 10px;
  }

  .brand {
    flex: 0 0 100%; /* El logo ocupa toda la línea superior */
    display: flex;
    justify-content: center;
    margin-bottom: 5px;
  }

  .nav-links {
    order: 2; /* Los links van al medio */
    justify-content: center;
    width: 100%;
    gap: 5px;
  }

  .nav-links a {
    font-size: 13px;
    padding: 4px 8px;
  }

  .nav-cta {
    order: 3; /* El botón de acción va abajo */
    width: 100%;
    text-align: center;
    margin-top: 5px;
  }
}

/* Móviles muy pequeños */
@media (max-width: 400px) {
  .nav-links a {
    font-size: 12px;
  }
  
  .brand-app {
    font-size: 19px;
  }
}

/* Corrección para la lista numerada en las tarjetas */
.feature-list {
  margin-top: 12px;
  margin-bottom: 12px;
  padding-left: 1.2rem; /* Espacio justo para el número */
  list-style-position: outside; /* Mantiene el texto alineado a la derecha del número */
}

.feature-list li {
  font-size: 0.94rem;
  line-height: 1.5;
  margin-bottom: 8px;
  color: var(--gris-texto);
  padding-left: 5px; /* Separación entre el número y el texto */
}

.feature-list li strong {
  color: var(--azul-oscuro);
}

/* Ajuste responsivo para que no se vea apretado */
@media (max-width: 480px) {
  .feature-list {
    padding-left: 1.1rem;
  }
  .feature-list li {
    font-size: 0.9rem;
  }
}

.footer-legal a {
  color: #1d4ed8;          /* azul Bopyt */
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.footer-legal a:hover {
  color: #1e40af;
  text-decoration-thickness: 2px;
}

.footer-legal a {
  color: #1d4ed8;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed rgba(29,78,216,.4);
}

.footer-legal a:hover {
  border-bottom-style: solid;
}
