/* ============================================
   VERANGO LANDING · Mobile Optimizations
   Media queries progresivas — tablet → phone
   ============================================ */

/* ============================================
   TABLET (< 900px)
   ============================================ */
@media (max-width: 900px) {
  :root {
    --sp-3xl: 5rem;
    --sp-2xl: 4rem;
    --sp-xl: 3rem;
  }

  /* Nav: eliminar links, dejar solo logo + botón CTA compacto */
  .nav-links {
    display: flex !important;
    gap: 0.75rem;
  }
  .nav-links a:not(.btn) {
    display: none;
  }
  .nav-links .btn-primary {
    padding: 0.55rem 0.9rem !important;
    font-size: 0.75rem !important;
  }
}

/* ============================================
   PHONE (< 700px) — el gran pase mobile
   ============================================ */
@media (max-width: 700px) {

  /* ==================== NAV ==================== */
  .nav {
    padding: 0.75rem 0;
  }
  .nav-brand img.nav-bayer-logo {
    height: 36px;
  }
  .nav-links .btn-primary .arrow { display: none; }

  /* ==================== HERO ==================== */
  .hero {
    min-height: auto;
  }
  .hero-sky {
    height: 45%;
    background-position: center center;
  }
  .hero-soil {
    height: 60%;
    background-position: center 20%;
  }
  .hero-horizon-line { top: 38%; }
  
  .hero-content {
    padding-block: 6rem 3rem;
  }
  .hero-inner {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
  }
  .hero-eyebrow {
    font-size: 0.65rem;
    margin-bottom: 1rem;
    gap: 0.5rem;
  }
  .hero-eyebrow::before { width: 24px; }
  
  .hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.25rem) !important;
    line-height: 1;
  }
  .hero h1 br { display: none; }
  .hero h1 .accent { display: inline; }
  
  .hero-sub {
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
    line-height: 1.5;
  }
  .hero-cta { flex-direction: column; gap: 0.6rem; }
  .hero-cta .btn { 
    width: 100%; 
    justify-content: center; 
    padding: 0.9rem 1rem;
    font-size: 0.9rem;
  }

  /* Hero stat card compacto */
  .hero-stat-card {
    padding: 1.5rem 1.25rem;
  }
  .hero-stat-card .label {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
  }
  .hero-stat-card .big-num {
    font-size: 4.5rem !important;
  }
  .hero-stat-card .desc {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }
  .hero-stat-card .source {
    font-size: 0.6rem;
    padding-top: 0.85rem;
  }

  .scroll-hint {
    bottom: 1rem;
    font-size: 0.6rem;
    letter-spacing: 0.15em;
  }
  .scroll-hint .line { height: 26px; }

  /* ==================== SECTION HEADS ==================== */
  .section-title {
    font-size: clamp(1.85rem, 8vw, 2.5rem) !important;
    line-height: 1.05;
  }
  .section-title br { display: none; }
  .section-title .accent { display: inline; }
  .section-lead {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  .section-eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    margin-bottom: 0.9rem;
  }
  .section-eyebrow::before { width: 22px; }

  /* ==================== ENEMY SECTION ==================== */
  .enemy-inner {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
  .enemy-facts {
    gap: 0.65rem;
    margin-top: 1.5rem;
  }
  .enemy-fact {
    padding: 0.85rem 1rem;
    gap: 0.75rem;
  }
  .enemy-fact .num {
    font-size: 0.7rem;
    min-width: 24px;
  }
  .enemy-fact .txt {
    font-size: 0.85rem;
  }
  
  .enemy-visual {
    max-width: 320px;
    margin-bottom: 80px !important;
  }
  .petri-labels .lbl {
    font-size: 0.6rem;
  }
  .lbl-1 { top: 8%; right: -10%; }
  .lbl-1::before { left: -20px; width: 15px; }
  .lbl-2 { bottom: 15%; left: -15%; }
  .lbl-2::before { right: -20px; width: 15px; }
  
  .petri-scale {
    bottom: -55px;
    font-size: 0.6rem;
  }
  .petri-scale::before, 
  .petri-scale::after { width: 25px; }

  /* ==================== CICLO DE VIDA ==================== */
  .cycle-wrap {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .cycle-diagram {
    max-width: 320px;
  }
  .cycle-node text { font-size: 11px; }
  .cycle-center .days {
    font-size: 2.25rem;
  }
  .cycle-center .days-lbl {
    font-size: 0.6rem;
    letter-spacing: 0.15em;
  }
  .cycle-panel {
    padding: 1.5rem 1.25rem;
    min-height: auto;
  }
  .cycle-panel .step-title {
    font-size: 1.35rem;
  }
  .cycle-panel .step-desc {
    font-size: 0.9rem;
  }
  .cycle-panel .step-meta {
    gap: 1rem;
    flex-wrap: wrap;
  }
  .cycle-panel .meta-item .v {
    font-size: 0.95rem;
  }
  .cycle-nav {
    gap: 0.5rem;
    margin-top: 1.25rem;
  }
  .cycle-nav button {
    padding: 0.55rem 1rem;
    font-size: 0.8rem;
    flex: 1;
  }

  /* ==================== SÍNTOMAS ==================== */
  .compare {
    aspect-ratio: 4/5;
    border-radius: 12px;
  }
  .compare-labels {
    top: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
  .compare-labels .lbl {
    padding: 0.4rem 0.75rem;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
  }
  .compare-labels .lbl.after {
    align-self: flex-end;
  }
  .compare-handle::before {
    width: 40px;
    height: 40px;
  }
  .compare-handle::after {
    font-size: 1.25rem;
  }

  .symptoms-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    margin-top: 2rem;
  }
  .symptoms-col h3 { font-size: 1.15rem; }
  .symptoms-col li {
    font-size: 0.85rem;
    padding: 0.55rem 0;
  }

  /* ==================== IMPACT ==================== */
  .impact-slider {
    padding: 1.5rem 1.25rem;
  }
  .impact-slider-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .impact-density {
    font-size: 2.25rem;
  }
  .impact-loss {
    text-align: left;
    align-self: flex-start;
  }
  .impact-loss .n {
    font-size: 3.5rem;
  }
  .impact-range input[type="range"]::-webkit-slider-thumb {
    width: 32px; height: 32px;
    margin-top: -13px;
  }
  .impact-marks {
    font-size: 0.6rem;
  }
  .impact-note {
    font-size: 0.75rem;
    padding-top: 1.5rem;
    margin-top: 1.75rem;
  }

  /* ==================== SOLUCIÓN ==================== */
  .solution-head { margin-bottom: 2.5rem; }
  .solution-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .solution-video .play-btn {
    width: 64px; height: 64px;
  }
  .solution-video .play-btn svg {
    width: 24px; height: 24px;
  }
  .video-caption {
    font-size: 0.6rem !important;
    bottom: 0.85rem !important;
    left: 0.85rem !important;
  }
  
  .benefit {
    padding: 1.15rem 1.25rem;
    gap: 1rem;
  }
  .benefit .num {
    font-size: 2.15rem;
  }
  .benefit .content h4 {
    font-size: 0.95rem;
  }
  .benefit .content p {
    font-size: 0.8rem;
    line-height: 1.35;
  }

  /* ==================== APLICACIÓN ==================== */
  .apply-steps {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.85rem !important;
  }
  .step-card {
    padding: 1.35rem 0.9rem;
  }
  .step-card .step-n {
    font-size: 0.55rem;
    top: 0.65rem; right: 0.85rem;
  }
  .step-card .step-icon {
    width: 40px; height: 40px;
    font-size: 1rem;
    margin-bottom: 0.85rem;
  }
  .step-card h4 { font-size: 0.9rem; }
  .step-card p { 
    font-size: 0.75rem; 
    line-height: 1.4;
  }
  .step-card .step-meta {
    font-size: 0.6rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
  }

  /* ==================== CTA FINAL ==================== */
  .cta-final h2 {
    font-size: clamp(2rem, 8vw, 2.75rem);
    margin-bottom: 1rem;
  }
  .cta-final p {
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
  }
  .cta-final .btn-primary {
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  /* ==================== FOOTER ==================== */
  .footer .container {
    gap: 1.5rem !important;
  }
  .footer-top {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .footer-brand { justify-content: center; }
  .footer-brand img { height: 42px; }
  .footer-region {
    font-size: 0.6rem;
  }
  .legal-country {
    font-size: 0.8rem;
  }
  .legal-text {
    font-size: 0.68rem;
  }
  .footer-general {
    font-size: 0.65rem;
    line-height: 1.55;
  }
}

/* ============================================
   SMALL PHONE (< 400px) — iPhone SE, plegables
   ============================================ */
@media (max-width: 400px) {
  .hero h1 {
    font-size: 2rem !important;
  }
  .hero-stat-card .big-num {
    font-size: 3.75rem !important;
  }
  .section-title {
    font-size: 1.75rem !important;
  }
  .apply-steps {
    grid-template-columns: 1fr !important;
  }
  .cycle-diagram {
    max-width: 260px;
  }
  .enemy-visual {
    max-width: 260px;
  }
}

/* ============================================
   TOUCH DEVICES — mejorar targets táctiles
   ============================================ */
@media (hover: none) and (pointer: coarse) {
  /* Botones + handles más grandes para dedos */
  .cycle-node circle.dot {
    r: 10; /* aumenta target de click */
  }
  .compare-handle::before {
    width: 56px !important;
    height: 56px !important;
  }
  .petri-dot {
    width: 12px; height: 12px;
    padding: 4px;
    margin: -4px;
  }
  .petri-dot.active {
    width: 28px;
  }
  /* Quitar hover animations que se quedan pegadas en touch */
  .benefit:hover { transform: none; }
  .step-card:hover { transform: none; }
}

/* ============================================
   LANDSCAPE MOBILE — evitar hero saltarín
   ============================================ */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 500px) {
  .hero-content {
    padding-block: 5rem 2rem;
  }
  .hero h1 {
    font-size: 2.25rem !important;
  }
}
