/* ==========================================================================
   Modelo 04: Executivo Keynote & Alabaster Frost
   Design System: The 60-30-10 Proportional Rule & WCAG AAA Contrast
   Inspiration: High-End Bett Brasil Keynote Aesthetics & Contemporary Digital Products
   - 60% Dominant: Alabaster Frost Canvas (#F8FAFC, #FFFFFF, #F1F5F9)
   - 30% Structural: Deep Midnight Navy & Carbon Slate (#0B1528, #0F172A, #334155)
   - 10% Accent: Solar Horizon Flame (#EA580C) + Cosmic Violet (#7C3AED)
   - Typography: Inter Tight (Display) + Plus Jakarta Sans (Body) + JetBrains Mono (Meta)
   - Standards: Strict Zero AI Slop · 100% Vector SVG · WCAG AAA (Contrast > 7:1)
   ========================================================================== */

:root {
  /* 60% Canvas & Background Neutrals (Luminous, Breathable) */
  --bg-dark: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-alt: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --bg-glass: rgba(248, 250, 252, 0.9);

  /* 30% Structural Typography & Dark Frames (WCAG AAA Contrast > 10:1) */
  --text-main: #0b1528;
  --text-muted: #334155;
  --text-subtle: #64748b;

  --navy-deep: #0b1528;
  --navy-surface: #101c36;
  --navy-elevated: #162444;

  /* Architectural Clean Lines */
  --border-subtle: rgba(11, 21, 40, 0.08);
  --border-color: rgba(11, 21, 40, 0.14);
  --border-highlight: rgba(234, 88, 12, 0.35);

  /* 10% Focused Accents (Magnetic CTAs & Interactive Cues) */
  --accent-solar: #ea580c;
  --accent-solar-hover: #c2410c;
  --accent-solar-subtle: rgba(234, 88, 12, 0.08);

  --accent-violet: #7c3aed;
  --accent-violet-subtle: rgba(124, 58, 237, 0.08);

  --accent-ice: #2563eb;
  --accent-ice-subtle: rgba(37, 99, 235, 0.08);

  --accent-emerald: #059669;
  --accent-emerald-subtle: rgba(5, 150, 105, 0.08);

  /* Typography Stack */
  --font-display: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Geometry */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  /* Shadows (Natural Diffuse Daylight) */
  --shadow-sm: 0 1px 3px rgba(11, 21, 40, 0.05);
  --shadow-md: 0 6px 18px -4px rgba(11, 21, 40, 0.08), 0 2px 6px -1px rgba(11, 21, 40, 0.04);
  --shadow-lg: 0 16px 36px -6px rgba(11, 21, 40, 0.12), 0 4px 12px -2px rgba(11, 21, 40, 0.04);

  /* Transitions */
  --transition-fast: 0.16s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
  font-size: 16px;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.68;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--navy-deep);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  z-index: 10000;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 1rem;
}

/* ==========================================================================
   Header & Navigation (Luminous Frost Bar)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color var(--transition-fast);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--navy-deep);
  box-shadow: var(--shadow-sm);
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-deep);
  letter-spacing: -0.02em;
}

.brand-subtitle {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 0.35rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--navy-deep);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-solar);
  transition: width var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.btn-primary {
  background: var(--accent-solar);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent-solar-hover);
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25);
  transform: translateY(-1px);
}

.btn-navy {
  background: var(--navy-deep);
  color: #ffffff;
}

.btn-navy:hover {
  background: var(--navy-surface);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--navy-deep);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--navy-deep);
  background: var(--bg-surface-alt);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--navy-deep);
  cursor: pointer;
}

/* ==========================================================================
   Hero Section: Executive Keynote Theme
   ========================================================================== */
.hero-section {
  padding: 5.5rem 0 4.5rem;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-tags-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: var(--accent-solar-subtle);
  border: 1px solid rgba(234, 88, 12, 0.25);
  font-size: 0.76rem;
  font-family: var(--font-mono);
  color: var(--accent-solar);
  font-weight: 700;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.hero-tag:hover {
  border-color: var(--accent-solar);
  transform: translateY(-1px);
}

.hero-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-solar);
}



.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.4vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--navy-deep);
  margin-bottom: 1.25rem;
}

.hero-title .highlight-accent {
  color: var(--accent-solar);
}

.hero-title .highlight-navy {
  color: var(--navy-deep);
}

.hero-lead {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 620px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-badges-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-weight: 600;
}

.hero-badge-item svg {
  color: var(--accent-solar);
}

/* Portrait Visual Frame */
.hero-visual {
  position: relative;
}

.portrait-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  background: var(--navy-deep);
}

.portrait-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portrait-frame:hover img {
  transform: scale(1.02);
}

.portrait-caption-box {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(11, 21, 40, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.15rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
}

.caption-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-solar);
  font-family: var(--font-mono);
  font-weight: 700;
}

.caption-sub {
  font-size: 0.86rem;
  color: #ffffff;
  font-weight: 700;
}

.caption-badge {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.74rem;
  font-family: var(--font-mono);
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-xs);
  font-weight: 700;
}

/* ==========================================================================
   Metrics Ribbon
   ========================================================================== */
.stats-section {
  padding: 2.5rem 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.stat-item:hover {
  transform: translateY(-2px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-sm);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--navy-deep);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-number.accent { color: var(--accent-solar); }
.stat-number.violet { color: var(--accent-violet); }
.stat-number.ice { color: var(--accent-ice); }

.stat-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 0.2rem;
}

.stat-sub {
  font-size: 0.76rem;
  color: var(--text-subtle);
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: var(--bg-surface-alt);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-solar);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: var(--navy-deep);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.7;
}

/* ==========================================================================
   Philosophy & Pillars Grid
   ========================================================================== */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.pillar-card:hover {
  border-color: var(--border-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.pillar-icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: var(--accent-solar-subtle);
  border: 1px solid rgba(234, 88, 12, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-solar);
  margin-bottom: 1.5rem;
}

.pillar-card:nth-child(2) .pillar-icon-box {
  background: var(--accent-violet-subtle);
  border-color: rgba(124, 58, 237, 0.2);
  color: var(--accent-violet);
}

.pillar-card:nth-child(3) .pillar-icon-box {
  background: var(--accent-ice-subtle);
  border-color: rgba(37, 99, 235, 0.2);
  color: var(--accent-ice);
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy-deep);
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
}

.pillar-text {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   Trajectory & Timeline
   ========================================================================== */
.timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px;
  width: 2px;
  background: var(--border-color);
}

.timeline-item {
  position: relative;
  padding-left: 68px;
  margin-bottom: 2.75rem;
}

.timeline-dot {
  position: absolute;
  left: 17px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--accent-solar);
  box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.15);
}

.timeline-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.timeline-card:hover {
  border-color: var(--navy-deep);
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-solar);
  margin-bottom: 0.35rem;
}

.timeline-role {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy-deep);
  margin-bottom: 0.25rem;
}

.timeline-org {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.timeline-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   Certifications Badges Grid
   ========================================================================== */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.cert-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.cert-card:hover {
  border-color: var(--navy-deep);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.cert-badge-img {
  width: 104px;
  height: 104px;
  object-fit: contain;
  margin-bottom: 1.25rem;
  transition: transform 0.3s ease;
}

.cert-card:hover .cert-badge-img {
  transform: scale(1.06);
}

.cert-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy-deep);
  margin-bottom: 0.4rem;
}

.cert-issuer {
  font-size: 0.8rem;
  color: var(--accent-solar);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cert-year {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-subtle);
}

/* ==========================================================================
   Projects Grid & Filters
   ========================================================================== */
.filter-nav {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: var(--navy-deep);
  border-color: var(--navy-deep);
}

.filter-btn.active {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: #ffffff;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.project-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.project-card:hover {
  border-color: var(--navy-deep);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.project-thumb-box {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #0b1528;
}

.project-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .project-thumb-box img {
  transform: scale(1.05);
}

.project-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--accent-solar);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.project-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-deep);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.project-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.project-link {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.project-link:hover {
  color: var(--accent-solar);
}

/* ==========================================================================
   Bett Brasil Spotlight
   ========================================================================== */
.spotlight-card {
  background: var(--navy-deep);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}

.spotlight-title {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.spotlight-lead {
  font-size: 1.05rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.spotlight-quote {
  border-left: 3px solid var(--accent-solar);
  padding-left: 1.25rem;
  font-style: italic;
  color: #e2e8f0;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.spotlight-img-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 240px;
  border: 1px solid var(--border-subtle);
  background: #0b1528;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 21, 40, 0.92) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
}

.gallery-item-sub {
  font-size: 0.76rem;
  color: var(--accent-solar);
  font-family: var(--font-mono);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-card.open {
  border-color: var(--navy-deep);
}

.faq-trigger {
  width: 100%;
  padding: 1.35rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  color: var(--navy-deep);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--accent-solar);
  transition: transform 0.3s ease;
}

.faq-card.open .faq-icon {
  transform: rotate(45deg);
  color: var(--navy-deep);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.75rem;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.faq-card.open .faq-answer {
  max-height: 300px;
  padding-bottom: 1.35rem;
}

/* ==========================================================================
   Contact & WebMCP Section
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-xs);
  background: var(--bg-surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-solar);
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.78rem;
  color: var(--text-subtle);
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-weight: 600;
}

.contact-val {
  font-size: 0.95rem;
  color: var(--navy-deep);
  font-weight: 700;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  margin-bottom: 1.15rem;
}

.field-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
}

.field-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xs);
  color: var(--navy-deep);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.field-input:focus {
  outline: none;
  border-color: var(--accent-solar);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.12);
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: #ffffff;
  padding: 4rem 0 2.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy-deep);
  margin-bottom: 1.15rem;
  letter-spacing: 0.02em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-link:hover {
  color: var(--accent-solar);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
}

.credit-link {
  color: var(--navy-deep);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--border-subtle);
  text-underline-offset: 3px;
  transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

.credit-link:hover {
  color: var(--accent-solar);
  text-decoration-color: var(--accent-solar);
}

.footer-protocol-badges {
  display: flex;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.protocol-badge {
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-xs);
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  color: var(--navy-deep);
  font-weight: 600;
}

/* Toast */
.toast-box {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--navy-deep);
  color: #ffffff;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  z-index: 10000;
  opacity: 0;
  transform: translateY(15px);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-box.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(11, 21, 40, 0.95);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox-modal[hidden] {
  display: none !important;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.lightbox-caption {
  margin-top: 1rem;
  color: #ffffff;
  font-size: 0.92rem;
}

.lightbox-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.75rem;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .philosophy-grid { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .spotlight-card { grid-template-columns: 1fr; padding: 2.25rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .main-nav.active { display: flex; }
  .mobile-toggle { display: block; }
  .stats-grid { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .timeline::before { left: 12px; }
  .timeline-item { padding-left: 42px; }
  .timeline-dot { left: 5px; }
}
