/* =============================================================
   PORTALBA — Reusable component classes
   Load order: main.css → components.css → {page}.css
   ============================================================= */

/* ── Layout container ──────────────────────────────────────── */
.site-container {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px)  { .site-container { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .site-container { padding-left: 2rem;   padding-right: 2rem;   } }

/* ── Eyebrow & gold bar ────────────────────────────────────── */
.eyebrow {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.gold-bar {
  width: 2.5rem;
  height: 1px;
  background: var(--accent);
  margin-top: 0.75rem;
  margin-bottom: 1.75rem;
}
.gold-bar--center { margin-left: auto; margin-right: auto; }

/* ── Section header ────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 2.25rem;
  color: var(--text);
  line-height: 1.15;
}
@media (min-width: 640px) { .section-title { font-size: 3rem; } }

/* ── Stat counter ──────────────────────────────────────────── */
.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 3rem;
  color: var(--accent);
}
.stat-label {
  color: var(--text-4);
  font-size: 0.75rem;
  margin-top: 0.5rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ── Arrow link ────────────────────────────────────────────── */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: gap 0.3s ease;
}
.arrow-link:hover { gap: 1.25rem; }

/* ── Badge ─────────────────────────────────────────────────── */
.badge-gold {
  display: inline-block;
  background: var(--accent);
  color: #09090b;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ── Icon box ──────────────────────────────────────────────── */
.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: var(--page-muted);
}
.icon-box--gold { background: rgba(201, 169, 110, 0.1); }
.icon-box--lg   { width: 3.5rem; height: 3.5rem; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary              { background: var(--accent); color: #09090b; }
.btn-primary:hover        { background: var(--accent-hover); }
.btn-outline              { border: 1px solid rgba(255,255,255,0.25); color: white; }
.btn-outline:hover        { border-color: var(--accent); color: var(--accent); }
.btn-dark                 { background: #09090b; color: white; }
.btn-dark:hover           { background: #27272a; }
.btn-dark-outline         { border: 2px solid #09090b; color: #09090b; }
.btn-dark-outline:hover   { background: rgba(9,9,11,0.1); }
.btn-ghost                { border: 1px solid var(--border-strong); color: var(--text-2); }
.btn-ghost:hover          { border-color: var(--accent); color: var(--accent); }

/* Nav CTA */
.btn-nav-cta {
  display: inline-block;
  padding: 0.625rem 1.5rem;
  background: var(--accent);
  color: #09090b;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background 0.3s ease;
}
.btn-nav-cta:hover { background: var(--accent-hover); }

/* Mobile menu full-width CTA */
.btn-mobile-cta {
  display: block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: #09090b;
  font-weight: 700;
  font-size: 0.875rem;
  text-align: center;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ── Logo / brand ──────────────────────────────────────────── */
.logo-mark {
  width: 2rem;
  height: 2rem;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-mark span {
  color: #09090b;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}
.logo-wordmark {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.125rem;
  letter-spacing: 0.15em;
  color: var(--text);
  text-transform: uppercase;
}

/* ── Page hero elements ────────────────────────────────────── */
.page-hero__inner {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding: 5rem 1rem;
}
@media (min-width: 640px)  { .page-hero__inner { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .page-hero__inner { padding-left: 2rem;   padding-right: 2rem;   } }
.page-hero__label {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.page-hero__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 3rem;
  color: white;
  margin-bottom: 1.25rem;
}
@media (min-width: 640px) { .page-hero__title { font-size: 3.75rem; } }
.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #71717a;
}
.page-hero__breadcrumb a {
  text-decoration: none;
  color: #71717a;
  transition: color 0.2s;
}
.page-hero__breadcrumb a:hover { color: var(--accent); }

/* ── CTA banner ────────────────────────────────────────────── */
.cta-banner { padding: 6rem 0; background: var(--accent); }
.cta-banner__inner {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}
@media (min-width: 640px) { .cta-banner__inner { padding: 0 1.5rem; } }
.cta-banner__inner--wide { max-width: 56rem; }
.cta-banner__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 2.25rem;
  color: #09090b;
  margin-bottom: 1rem;
}
@media (min-width: 640px) { .cta-banner__title { font-size: 3rem; } }
.cta-banner__text {
  color: #3f3f46;
  font-size: 1rem;
  margin-bottom: 2.5rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 640px) { .cta-banner__text { font-size: 1.125rem; } }
.cta-banner__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  justify-content: center;
}
@media (min-width: 640px) { .cta-banner__actions { flex-direction: row; } }

/* ── Footer helpers ────────────────────────────────────────── */
.footer-heading {
  color: var(--text);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.footer-link {
  color: var(--text-4);
  font-size: 0.875rem;
  transition: color 0.3s;
}
.footer-link:hover { color: var(--accent); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  margin-top: 4rem;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }

/* ── Social button ─────────────────────────────────────────── */
.social-btn {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--page-muted);
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.social-btn:hover            { background: var(--accent); }
.social-btn svg              { color: var(--text-4); transition: color 0.3s; }
.social-btn:hover svg        { color: #09090b; }

/* ── Team card ─────────────────────────────────────────────── */
.team-card { text-align: center; }
.team-photo {
  width: 10rem;
  height: 10rem;
  margin: 0 auto 1.25rem;
  overflow: hidden;
  background: var(--page-muted);
  position: relative;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1);
  transition: filter 0.5s ease;
}
.team-card:hover .team-photo img { filter: grayscale(0); }
.team-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
}
.team-role {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}
.team-bio {
  color: var(--text-4);
  font-size: 0.875rem;
  margin-top: 0.75rem;
  max-width: 18rem;
  margin-left: auto;
  margin-right: auto;
}

/* ── Content card (mission/vision, generic dark bg card) ───── */
.content-card {
  background: var(--page-bg);
  border: 1px solid var(--border);
  padding: 2.5rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.content-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

/* ── Story / image badge overlay ──────────────────────────── */
.story-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--page-surface);
  border: 1px solid var(--border-strong);
  padding: 2rem;
  display: none;
  max-width: 200px;
}
@media (min-width: 640px) { .story-badge { display: block; } }

/* ── Site navigation ───────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--nav-border);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
@media (min-width: 1024px) { .nav-inner { height: 5rem; } }
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 1024px) { .nav-links { display: flex; } }

/* Right side: theme toggle + cta + hamburger */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-cta { display: none; }
@media (min-width: 1024px) { .nav-cta { display: block; } }
.nav-theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--text-3);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
  padding: 0;
}
.nav-theme-toggle:hover { color: var(--text); }
.nav-hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  color: var(--text-3);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}
.nav-hamburger:hover { color: var(--text); }
@media (min-width: 1024px) { .nav-hamburger { display: none; } }
.nav-mobile {
  display: none;
  background: var(--page-surface);
  border-top: 1px solid var(--border);
  transition: background 0.3s ease;
}
.nav-mobile.is-open { display: block; }
@media (min-width: 1024px) { .nav-mobile { display: none !important; } }
.nav-mobile-inner {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.nav-mobile-link {
  display: block;
  padding: 0.75rem;
  color: var(--text-2);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-mobile-link:hover  { color: var(--accent); }
.nav-mobile-link.active { color: var(--accent); }

/* ── Hero section (home page) ──────────────────────────────── */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1rem;
  max-width: 64rem;
  margin: 0 auto;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.hero-eyebrow-line {
  height: 1px;
  width: 2.5rem;
  background: var(--accent);
}
.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 3.75rem;
  color: rgb(239, 240, 239);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}
@media (min-width: 640px)  { .hero-title { font-size: 6rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 7.5rem; } }
.hero-tagline {
  color: #d8d4d5;
  font-size: 1.125rem;
  font-weight: 300;
  letter-spacing: 0.025em;
  margin-bottom: 0.75rem;
}
@media (min-width: 640px) { .hero-tagline { font-size: 1.5rem; } }
.hero-desc {
  color: #d8d4d5;
  font-size: 0.875rem;
  max-width: 28rem;
  margin: 0 auto 3rem;
}
@media (min-width: 640px) { .hero-desc { font-size: 1rem; } }
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  justify-content: center;
}
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.hero-scroll-line {
  width: 1px;
  height: 3.5rem;
  background: linear-gradient(to bottom, transparent, rgba(201, 169, 110, 0.6), transparent);
}
.hero-scroll-label {
  color: #525b57;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── Section spacing ───────────────────────────────────────── */
.section {
  padding-top: 6rem;
  padding-bottom: 6rem;
}
@media (min-width: 1024px) { .section { padding-top: 8rem; padding-bottom: 8rem; } }
.section--sm {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.section--md {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
@media (min-width: 1024px) { .section--md { padding-top: 7rem; padding-bottom: 7rem; } }

/* Section background modifiers */
.section--dark    { background: var(--page-bg); }
.section--surface { background: var(--page-surface); }
.section--ruled     { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section--ruled-top { border-top: 1px solid var(--border); }

/* ── Site footer ───────────────────────────────────────────── */
.site-footer {
  background: var(--page-bg);
  border-top: 1px solid var(--border-subtle);
}
.footer-inner {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.footer-grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 640px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .footer-brand { grid-column: span 2; } }
.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.footer-desc {
  color: var(--text-4);
  font-size: 0.875rem;
  line-height: 1.625;
  max-width: 24rem;
  margin-bottom: 1.5rem;
}
.footer-nav-list     { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact-list { display: flex; flex-direction: column; gap: 1rem; }
.footer-copy    { color: var(--text-5); font-size: 0.875rem; }
.footer-tagline { color: var(--text-6); font-size: 0.75rem; letter-spacing: 0.025em; }

/* ── Stagger animation delays ──────────────────────────────── */
.delay-1 { transition-delay: 0.05s; }
.delay-2 { transition-delay: 0.1s;  }
.delay-3 { transition-delay: 0.15s; }
.delay-4 { transition-delay: 0.2s;  }
.delay-5 { transition-delay: 0.25s; }
.delay-6 { transition-delay: 0.3s;  }
