/* Portal B2B — reutiliza las variables de styles.css */

.portal-header .site-nav {
  gap: 1rem;
}

.portal-header .site-nav a:not(.btn) {
  font-size: 0.92rem;
  white-space: nowrap;
}

.portal-header .site-nav a[aria-current="page"] {
  color: var(--blue-dark);
  font-weight: 700;
}

.portal-home .home-hero-lead {
  max-width: 46ch;
}

.portal-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-dark);
}

.portal-section {
  padding: 4rem 0;
}

.portal-section-alt {
  background: #fff;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.portal-section h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  color: var(--gray-900);
  line-height: 1.2;
}

.portal-lead {
  margin: 0 0 1.5rem;
  max-width: 62ch;
  color: var(--text);
  font-size: 1.05rem;
}

.portal-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.portal-stats li {
  margin: 0;
  padding: 1.15rem 1.2rem;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
}

.portal-stats strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--navy);
  font-size: 1.05rem;
}

.portal-service-cards {
  grid-template-columns: 1fr;
}

.portal-service-cards .home-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.portal-service-cards .home-card p {
  flex: 1;
}

.portal-service-cards .home-card a {
  margin-top: 0.9rem;
  font-weight: 700;
}

.portal-industries {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.portal-industries li {
  margin: 0;
  padding: 1rem 1.1rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 700;
}

.portal-page-hero {
  padding: 3.25rem 0 2.5rem;
  background: linear-gradient(135deg, var(--navy) 0%, #0f2744 100%);
  color: #fff;
}

.portal-page-hero .home-hero-kicker {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.portal-page-hero h1 {
  margin: 0 0 0.85rem;
  max-width: 18ch;
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.12;
}

.portal-page-hero p {
  margin: 0;
  max-width: 58ch;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.08rem;
}

.portal-prose {
  max-width: 68ch;
}

.portal-prose p,
.portal-callout p {
  margin: 0 0 1rem;
}

.portal-list {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.portal-list li {
  position: relative;
  margin: 0;
  padding: 0.7rem 0 0.7rem 1.4rem;
  border-bottom: 1px solid var(--gray-200);
}

.portal-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

.portal-callout {
  margin-top: 1.5rem;
  padding: 1.25rem 1.3rem;
  background: var(--blue-light);
  border-radius: var(--radius-lg);
  color: var(--text);
}

.portal-callout h2 {
  margin-top: 0;
}

.portal-faq details {
  margin: 0 0 0.75rem;
  padding: 0.9rem 1rem;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
}

.portal-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
}

.portal-faq details p {
  margin: 0.75rem 0 0;
}

.portal-checkboxes {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.portal-checkboxes legend {
  margin-bottom: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-800);
}

.portal-check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.98rem;
}

.portal-check input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
  accent-color: var(--blue);
}

.portal-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.portal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.portal-footer .footer-inner {
  align-items: flex-start;
}

.portal-footer .footer-zones {
  margin: 0.35rem 0 0;
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.92);
}

.contact-info h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.75rem, 3.2vw, 2.15rem);
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.portal-footer .footer-inner a,
.portal-footer .footer-inner p {
  color: rgba(255, 255, 255, 0.92);
}

.portal-legal h2 {
  margin: 2rem 0 0.6rem;
  font-size: 1.25rem;
}

.portal-legal p,
.portal-legal li {
  max-width: 72ch;
}

.cf-turnstile-slot {
  min-height: 65px;
  margin: 0.5rem 0 1rem;
}

@media (min-width: 700px) {
  .portal-stats,
  .portal-service-cards,
  .portal-industries {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .portal-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .portal-service-cards {
    grid-template-columns: repeat(4, 1fr);
  }

  .portal-industries {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 1040px) {
  .portal-header .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .portal-header .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1rem 1rem;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    z-index: 99;
  }

  .portal-header.is-nav-open .site-nav {
    display: flex;
  }

  .portal-header .site-nav a {
    padding: 0.65rem 0.25rem;
    border-bottom: 1px solid var(--gray-100);
    white-space: normal;
  }

  .portal-header .site-nav a:last-child {
    border-bottom: 0;
  }
}
