/* Ajustes de lectura y manejo para tabletas y teléfonos. */
:is(a, button, summary):focus-visible {
  outline: 3px solid #8ebc48;
  outline-offset: 4px;
}

.contact-email {
  min-width: 0;
}
.contact-email span {
  flex: none;
}
.faq-list details p a {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
}

@media (min-width: 901px) and (max-width: 1180px) {
  .nav { gap: 16px; font-size: 12px; }
  .nav-contact { padding-inline: 12px; }
  .nav-contact span { margin-left: 7px; }
}

@media (max-width: 900px) {
  .site-header { height: 72px; }
  .menu-toggle {
    display: flex;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    position: relative;
    z-index: 2;
  }
  .menu-toggle span {
    width: 23px;
    height: 2px;
    background: var(--ink);
    transition: transform .25s ease;
    transform-origin: center;
  }
  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    padding: 12px max(36px, calc((100vw - 1240px) / 2)) 24px;
    background: var(--paper);
    box-shadow: 0 18px 28px rgb(0 0 0 / 12%);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav.open { display: flex; }
  .nav a {
    min-height: 48px;
    padding: 15px 4px;
    border-bottom: 1px solid var(--line);
  }
  .nav-contact {
    margin-top: 12px;
    border: 1px solid var(--ink) !important;
    padding: 14px !important;
  }
}

@media (min-width: 701px) and (max-width: 900px) {
  .container { width: min(100% - 64px, 1240px); }
  .section-pad { padding-block: 88px; }
  .hero { min-height: 620px; }
  .hero-content { padding-block: 80px 104px; }
  h1 { max-width: 690px; font-size: clamp(52px, 7vw, 68px); }
  .intro-grid,
  .method-layout,
  .status-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
  .section-side {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .intro-main h2,
  .method h2,
  .business h2,
  .status h2,
  .faq h2,
  .contact h2 {
    font-size: clamp(40px, 5.5vw, 52px);
  }
  .intro-main h2 { margin-bottom: 36px; }
  .intro-copy-grid { gap: 34px; }
  .principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 54px;
  }
  .principles > div,
  .principles > div + div {
    padding: 26px 24px 24px 0;
    border-bottom: 1px solid var(--line);
  }
  .principles > div:nth-child(2) { border-right: 0; padding-left: 24px; }
  .principles > div:last-child { grid-column: 1 / -1; border-right: 0; }
  .principle-index { margin-bottom: 16px; }
  .method-heading { position: static; }
  .method-heading h2 { max-width: 690px; }
  .steps { margin-top: 12px; }
  .business-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .business-card { min-height: 250px; }
  .business-card:last-child { grid-column: 1 / -1; min-height: 210px; }
  .status-list { margin-top: 14px; }
  .faq-heading h2,
  .faq-heading > p:last-child { max-width: 680px; }
  .contact-card { min-height: 240px; padding: 34px; }
  .contact-email { font-size: clamp(22px, 3.5vw, 29px); }
  .footer-top { flex-wrap: wrap; }
  .footer-bottom { flex-wrap: wrap; row-gap: 16px; }
}

@media (max-width: 700px) {
  .nav { padding-inline: max(19px, calc((100vw - 1240px) / 2)); }
  .hero { min-height: 620px; }
  .hero-content { padding-block: 82px 104px; }
  .hero-actions { align-items: flex-start; }
  .hero-actions .button { min-height: 48px; }
  .hero-actions .text-link { min-height: 44px; display: inline-flex; align-items: center; }
  .eyebrow { margin-bottom: 25px; }
  .section-pad { padding-block: 68px; }
  .intro-grid,
  .method-layout,
  .status-grid,
  .faq-grid,
  .contact-grid { gap: 30px; }
  .intro-main h2,
  .method h2,
  .business h2,
  .status h2,
  .faq h2,
  .contact h2 { font-size: clamp(34px, 8vw, 48px); }
  .business-card { min-height: 205px; }
  .status-list > div { align-items: baseline; }
  .status-list strong { max-width: 46%; }
  .faq-list summary { min-height: 58px; padding-block: 18px; }
  .faq-list summary span { flex: none; }
  .contact-card { min-width: 0; }
  .contact-email { font-size: clamp(18px, 4.8vw, 23px); }
  .footer-top > a:last-child,
  .footer-links a { min-height: 44px; display: inline-flex; align-items: center; }
  .footer-links { flex-wrap: wrap; column-gap: 24px; }
}

@media (max-width: 360px) {
  .container { width: min(100% - 32px, 1240px); }
  h1 { font-size: 40px; }
  .hero-lead { font-size: 15px; }
  .hero-actions { gap: 12px; }
  .contact-card { padding: 22px; }
  .contact-email { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .menu-toggle span { transition: none; }
}
