/* ==========================================================================
   Gabriel Gadelha da Silva - Portfolio Stylesheet
   Leo Carter Inspired High-End Dark UI (Royal Blue Glow & Glass Badges)
   Zero Layout Shift + Circular Flags + Animated Sliding Blue Indicator
   Colmeia Agência Digital Custom Visuals
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-primary: #06070a;
  --bg-secondary: #0a0d16;
  --bg-card: rgba(18, 24, 40, 0.65);
  --bg-card-hover: rgba(26, 35, 58, 0.85);
  --border-color: rgba(255, 255, 255, 0.1);
  --border-subtle: rgba(255, 255, 255, 0.05);

  /* Royal Blue Accent Tokens */
  --blue-primary: #0052ff;
  --blue-hover: #1a66ff;
  --blue-glow: rgba(0, 82, 255, 0.4);

  /* Secondary Accents */
  --accent-orange: #ff5e36;
  --accent-purple: #a855f7;
  --accent-green: #10b981;
  --accent-gold: #f59e0b;
  
  /* Text Tokens */
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;

  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', sans-serif;

  /* Border Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-blue-btn: 0 8px 25px rgba(0, 82, 255, 0.4);
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

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

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

.section {
  padding: 6rem 0;
  position: relative;
  z-index: 2;
}

/* Ambient Backlight Glow */
.hero-blue-glow {
  position: absolute;
  top: -100px;
  right: -50px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--blue-glow) 0%, transparent 68%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 1;
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-full);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
}

.btn-blue-pill {
  background: var(--blue-primary);
  color: #ffffff;
  box-shadow: var(--shadow-blue-btn);
}

.btn-blue-pill:hover {
  background: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 82, 255, 0.6);
}

.btn-dark-glass {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-dark-glass:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.95rem 2.2rem;
  font-size: 0.98rem;
  min-width: 160px;
}

.btn-block { width: 100%; }

/* ==========================================================================
   FLOATING CAPSULE NAVBAR (Leo Carter Style - Spacious & Bouncy Spring Indicator)
   ========================================================================== */
.navbar-wrapper {
  position: fixed;
  top: 1.5rem;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 1rem;
}

.navbar-capsule {
  width: 100%;
  max-width: 1100px;
  height: 60px;
  background: rgba(14, 18, 28, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 0 0.8rem 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55);
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-link {
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  min-width: 105px;
  text-align: center;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 6px 0;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.navbar-right .btn-blue-pill {
  min-width: 145px;
  height: 44px;
  padding: 0 1.5rem;
  text-align: center;
  justify-content: center;
  white-space: nowrap;
}

/* CIRCULAR LANGUAGE SWITCHER WITH SLIDING BLUE INDICATOR */
.lang-switcher {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 4px;
  width: 115px;
  height: 38px;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.4);
}

/* Smooth Springy Sliding Blue Circle */
.lang-indicator {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue-primary);
  box-shadow: 0 0 14px rgba(0, 82, 255, 0.8);
  transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1;
  pointer-events: none;
}

.lang-btn {
  position: relative;
  z-index: 2;
  background: transparent;
  border: none;
  padding: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.lang-btn:hover {
  transform: scale(1.08);
}

/* Circular Flag Images */
.flag-img {
  width: 22px;
  height: 22px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.dropdown-flag {
  width: 18px;
  height: 18px;
  object-fit: cover;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
}

.inline-flag {
  width: 18px;
  height: 18px;
  object-fit: cover;
  border-radius: 50%;
  vertical-align: middle;
  margin-left: 6px;
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.3rem;
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION (Leo Carter Style Layout)
   ========================================================================== */
.hero-section {
  padding-top: 10.5rem;
  padding-bottom: 6rem;
  position: relative;
  z-index: 2;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.title-greeting {
  font-weight: 400;
  color: #e2e8f0;
}

.title-highlight {
  font-weight: 800;
  font-style: italic;
  display: block;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 540px;
  line-height: 1.65;
}

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

/* CV Dropdown */
.cv-dropdown {
  position: relative;
}

.cv-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 6px;
  min-width: 170px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  display: none;
  z-index: 20;
}

.cv-menu.show {
  display: flex;
  flex-direction: column;
}

.cv-menu a {
  padding: 8px 12px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}

.cv-menu a:hover {
  background: rgba(0, 82, 255, 0.2);
  color: #ffffff;
}

/* HERO PORTRAIT STAGE & FLOATING BADGES (LEO CARTER MATCH) */
.hero-portrait-stage {
  position: relative;
  width: 100%;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blue-radial-bg {
  position: absolute;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(0, 82, 255, 0.45) 0%, transparent 75%);
  border-radius: 50%;
  pointer-events: none;
}

.circle-backdrop {
  width: 340px;
  height: 420px;
  border-radius: 170px 170px 0 0;
  overflow: hidden;
  position: relative;
  background: rgba(10, 14, 25, 0.85);
  border: 1px solid rgba(0, 82, 255, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.portrait-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  filter: contrast(1.05);
}

/* 4 Floating Badges */
.badge-card {
  position: absolute;
  padding: 1rem 1.4rem;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  z-index: 10;
  border-radius: var(--radius-md);
  background: rgba(16, 22, 38, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  transition: var(--transition-smooth);
}

.badge-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 82, 255, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 82, 255, 0.3);
}

.badge-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 2px;
}

.badge-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Precise Placement of 4 Badges */
.badge-top-left {
  top: 40px;
  left: -20px;
}

.badge-top-right {
  top: 15px;
  right: -20px;
}

.badge-bottom-left {
  bottom: 50px;
  left: -30px;
}

.badge-bottom-right {
  bottom: 25px;
  right: -20px;
}

/* MARQUEE TICKER */
.ticker-section {
  padding: 1.4rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  gap: 3rem;
  animation: scrollMarquee 32s linear infinite;
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-track span {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ticker-track span i {
  color: var(--blue-primary);
}

/* SECTION HEADERS */
.section-header {
  margin-bottom: 4rem;
}

.section-subtitle {
  font-family: var(--font-main);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue-primary);
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 0.4rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.2;
}

.section-line {
  width: 60px;
  height: 4px;
  background: var(--blue-primary);
  margin: 1rem auto 0;
  border-radius: var(--radius-full);
}

/* ABOUT SECTION */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
}

.about-card, .about-stats-matrix {
  padding: 2.4rem;
}

.card-headline {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.text-blue { color: var(--blue-primary); }
.text-gold { color: var(--accent-gold); }

.about-card p {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  font-size: 1rem;
}

.about-highlights {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.highlight-item i {
  font-size: 1.3rem;
  color: var(--blue-primary);
  margin-top: 2px;
}

.highlight-item h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
}

.highlight-item p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

.stats-rows {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 1.8rem;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 0.5rem;
  font-size: 0.9rem;
}

.stat-lbl { color: var(--text-muted); }
.stat-val { font-weight: 600; }
.stat-val a { color: var(--blue-primary); }

.highlight-green { color: var(--accent-green); }
.highlight-agency { color: #fbbf24; font-weight: 700; }

.ai-badge-box {
  background: rgba(0, 82, 255, 0.1);
  border: 1px solid rgba(0, 82, 255, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.85rem;
  color: #93c5fd;
}

.ai-badge-box i {
  font-size: 1.1rem;
  color: var(--blue-primary);
}

/* EXPERIENCE TIMELINE */
.timeline {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 18px;
  width: 2px;
  background: var(--blue-primary);
}

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

.timeline-dot {
  position: absolute;
  left: 11px;
  top: 24px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 4px solid var(--blue-primary);
  box-shadow: 0 0 12px var(--blue-primary);
}

.timeline-dot-agency {
  border-color: var(--accent-gold);
  box-shadow: 0 0 14px var(--accent-gold);
}

.timeline-content {
  padding: 1.8rem;
}

.agency-highlight-card {
  border-color: rgba(245, 158, 11, 0.35);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.07) 0%, rgba(18, 24, 40, 0.8) 100%);
}

.company-external-link {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-left: 4px;
}

.company-external-link:hover {
  color: #fbbf24;
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.company-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
}

.job-role {
  font-size: 0.98rem;
  color: var(--blue-primary);
  font-weight: 600;
}

.period-badge {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.contract-tag {
  font-size: 0.72rem;
  padding: 2px 8px;
  background: rgba(255, 94, 54, 0.12);
  color: var(--accent-orange);
  border: 1px solid rgba(255, 94, 54, 0.25);
  border-radius: var(--radius-sm);
  vertical-align: middle;
}

.founder-tag {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.experience-list {
  margin-bottom: 1.2rem;
}

.experience-list li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  font-size: 0.93rem;
}

.experience-list li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--blue-primary);
}

.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tech-tag {
  background: rgba(0, 82, 255, 0.1);
  border: 1px solid rgba(0, 82, 255, 0.25);
  color: #93c5fd;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
}

.tech-tag-gold {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

/* PROJECTS SECTION */
.filter-controls {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.8rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.55rem 1.3rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--blue-primary);
  color: #ffffff;
  border-color: var(--blue-primary);
  box-shadow: var(--shadow-blue-btn);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.8rem;
}

.project-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.project-card-agency {
  border-color: rgba(245, 158, 11, 0.35);
}

.project-card-agency:hover {
  border-color: #f59e0b;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(245, 158, 11, 0.25);
}

.project-card.hide {
  display: none;
}

.project-banner {
  height: 140px;
  position: relative;
  padding: 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.project-banner-img {
  height: 180px;
  overflow: hidden;
  padding: 0;
  position: relative;
  background: #0d0f17;
}

.project-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-preview-img {
  transform: scale(1.06);
}

.project-banner-img .project-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 5;
}

.project-bg-colmeia { background: linear-gradient(135deg, #1e1b4b 0%, #311b92 50%, #4527a0 100%); }
.project-bg-1 { background: linear-gradient(135deg, #0a2540 0%, #154575 100%); }
.project-bg-2 { background: linear-gradient(135deg, #135058 0%, #205072 100%); }
.project-bg-3 { background: linear-gradient(135deg, #3a1c71 0%, #5f2c82 100%); }
.project-bg-4 { background: linear-gradient(135deg, #0d503c 0%, #11998e 100%); }
.project-bg-5 { background: linear-gradient(135deg, #0f2027 0%, #2c5364 100%); }

.project-badge {
  background: rgba(6, 7, 10, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  padding: 4px 11px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-main);
}

.badge-gold {
  background: rgba(15, 18, 28, 0.88);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.5);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

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

.project-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.7rem;
}

.project-external-btn {
  color: var(--text-muted);
  font-size: 1.1rem;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
}

.project-external-btn:hover {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.2);
}

.project-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

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

.project-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.2rem;
  font-size: 0.82rem;
  color: var(--text-main);
}

/* SERVICES SECTION */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 1.8rem;
}

.service-card { padding: 2rem; }

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(0, 82, 255, 0.1);
  border: 1px solid rgba(0, 82, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--blue-primary);
  margin-bottom: 1.2rem;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* SKILLS MATRIX SECTION */
.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
}

.skill-category { padding: 1.8rem; }
.span-full { grid-column: 1 / -1; }

.category-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pill:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
}

.pill-primary { border-color: rgba(0, 82, 255, 0.4); color: #93c5fd; }
.pill-orange { border-color: rgba(255, 94, 54, 0.3); color: var(--accent-orange); }
.pill-purple { border-color: rgba(168, 85, 247, 0.3); color: var(--accent-purple); }
.pill-blue { border-color: rgba(0, 82, 255, 0.4); color: var(--blue-primary); }
.pill-gradient {
  background: rgba(0, 82, 255, 0.15);
  border-color: rgba(0, 82, 255, 0.3);
  color: #ffffff;
  font-weight: 600;
}

/* FAQ ACCORDION */
.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item { overflow: hidden; }

.faq-question {
  width: 100%;
  padding: 1.3rem 1.8rem;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  color: var(--blue-primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1.8rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.8rem 1.3rem 1.8rem;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* CONTACT SECTION */
.contact-box { padding: 3rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.8rem;
  align-items: center;
}

.contact-title {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.contact-desc {
  color: var(--text-muted);
  margin-bottom: 1.8rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.highlight-agency-item {
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.05);
}

.highlight-agency-item:hover {
  border-color: #f59e0b;
  background: rgba(245, 158, 11, 0.12);
}

.contact-item:hover {
  border-color: var(--blue-primary);
  background: rgba(0, 82, 255, 0.08);
}

.c-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.c-icon-gold {
  background: #f59e0b;
}

.c-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: block;
}

.c-val {
  font-weight: 600;
  font-size: 0.92rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: rgba(6, 7, 10, 0.7);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition-smooth);
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--blue-primary);
  box-shadow: 0 0 15px rgba(0, 82, 255, 0.3);
}

.form-feedback {
  margin-top: 1rem;
  font-size: 0.88rem;
  text-align: center;
}

/* FOOTER */
.footer {
  padding: 2.5rem 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  position: relative;
  z-index: 2;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.8rem;
}

.footer-agency {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.footer-agency a {
  color: #fbbf24;
  font-weight: 600;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-subtle);
  margin-top: 0.3rem;
}

.footer-cv-links {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-cv-links a {
  padding: 3px 9px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.footer-cv-links a:hover {
  color: var(--blue-primary);
  border-color: var(--blue-primary);
}

.hero-socials {
  display: flex;
  gap: 0.8rem;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
}

.social-icon:hover {
  background: var(--blue-primary);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(0, 82, 255, 0.5);
}

.social-icon-gold:hover {
  background: #f59e0b;
  color: #ffffff;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.6);
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-title { font-size: 2.6rem; }

  .hero-description {
    margin: 0 auto 2.5rem auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-portrait-stage {
    margin-top: 2rem;
  }

  .about-grid, .skills-grid, .contact-grid {
    grid-template-columns: 1fr;
  }

  .span-full { grid-column: auto; }
}

@media (max-width: 768px) {
  .navbar-wrapper {
    top: 0;
    padding: 0;
  }

  .navbar-capsule {
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
    padding: 0.8rem 1.2rem;
    height: auto;
  }

  .nav-links {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 60px);
    background: rgba(6, 7, 10, 0.98);
    backdrop-filter: blur(25px);
    flex-direction: column;
    justify-content: center;
    gap: 1.8rem;
    transition: var(--transition-smooth);
  }

  .nav-links.active { left: 0; }
  .mobile-toggle { display: block; }

  .hero-title { font-size: 2.2rem; }

  .circle-backdrop { width: 270px; height: 340px; }
  .badge-card { padding: 0.8rem 1rem; min-width: 120px; }
  .badge-num { font-size: 1.4rem; }
  .badge-lbl { font-size: 0.72rem; }

  .badge-top-left { left: -10px; top: 10px; }
  .badge-top-right { right: -10px; top: -10px; }
  .badge-bottom-left { left: -10px; bottom: 10px; }
  .badge-bottom-right { right: -10px; bottom: -10px; }

  .contact-box { padding: 1.6rem; }
  .footer-container { flex-direction: column; text-align: center; }
}
