/* ═══════════════════════════════════════
   ESTÚDIO FONTÉ — Dark Glassmorphism
   ═══════════════════════════════════════ */

:root {
  --bg-dark: #050505;
  --bg-section: #0a0a0a;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.07);
  --glass-shadow: rgba(0, 0, 0, 0.3);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.55);
  --text-muted: rgba(255, 255, 255, 0.3);
  --nav-scrolled-bg: rgba(5, 5, 5, 0.85);
  --nav-scrolled-border: rgba(255, 255, 255, 0.05);
  --overlay-top: rgba(5, 5, 5, 0);
  --overlay-mid: rgba(5, 5, 5, 0.05);
  --overlay-bot: rgba(5, 5, 5, 0.8);
  --overlay-end: rgba(5, 5, 5, 1);
  --input-bg: rgba(255, 255, 255, 0.035);
  --input-border: rgba(255, 255, 255, 0.07);
  --input-focus-bg: rgba(255, 255, 255, 0.05);
  --btn-submit-bg: #ffffff;
  --btn-submit-color: #050505;
  --select-option-bg: #111;
  --hamburger-color: #ffffff;
  --mobile-menu-bg: rgba(5, 5, 5, 0.97);
  --font-body: 'Poppins', 'Inter', sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  --radius-card: 20px;
  --radius-form: 24px;
}

/* ═══════════ LIGHT MODE ═══════════ */
[data-theme="light"] {
  --bg-dark: #f5f2ee;
  --bg-section: #ebe7e2;
  --glass-bg: rgba(0, 0, 0, 0.025);
  --glass-border: rgba(0, 0, 0, 0.08);
  --glass-shadow: rgba(0, 0, 0, 0.08);
  --text-primary: #1a1a1a;
  --text-secondary: rgba(0, 0, 0, 0.55);
  --text-muted: rgba(0, 0, 0, 0.35);
  --nav-scrolled-bg: rgba(245, 242, 238, 0.88);
  --nav-scrolled-border: rgba(0, 0, 0, 0.06);
  --overlay-top: rgba(245, 242, 238, 0);
  --overlay-mid: rgba(245, 242, 238, 0.05);
  --overlay-bot: rgba(245, 242, 238, 0.85);
  --overlay-end: rgba(245, 242, 238, 1);
  --input-bg: rgba(0, 0, 0, 0.03);
  --input-border: rgba(0, 0, 0, 0.1);
  --input-focus-bg: rgba(0, 0, 0, 0.05);
  --btn-submit-bg: #1a1a1a;
  --btn-submit-color: #f5f2ee;
  --select-option-bg: #f5f2ee;
  --hamburger-color: #1a1a1a;
  --mobile-menu-bg: rgba(245, 242, 238, 0.97);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ═══════════ GLASS CARD ═══════════ */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  box-shadow: 0 4px 24px var(--glass-shadow);
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}

/* ═══════════ NAVBAR ═══════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 14px 0;
  background: transparent;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.scrolled {
  padding: 10px 0;
  background: var(--nav-scrolled-bg);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-bottom: 1px solid var(--nav-scrolled-border);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-primary);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  transition: color 0.3s;
  text-transform: uppercase;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-social {
  color: var(--text-secondary);
  transition: color 0.3s;
  display: flex;
  align-items: center;
}

.nav-social:hover {
  color: var(--text-primary);
}

.nav-cta {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 10px 24px;
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  transition: all 0.3s;
  color: var(--text-primary);
}

.nav-cta:hover {
  background: var(--glass-bg);
  border-color: var(--text-secondary);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--hamburger-color);
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ═══════════ THEME TOGGLE ═══════════ */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}

.theme-toggle:hover {
  color: var(--text-primary);
  border-color: var(--text-muted);
  background: var(--glass-bg);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  position: absolute;
  transition: opacity 0.3s, transform 0.3s;
}

/* Dark mode (default): show sun icon (to switch to light) */
.theme-toggle .icon-sun {
  opacity: 1;
  transform: rotate(0deg);
}

.theme-toggle .icon-moon {
  opacity: 0;
  transform: rotate(-90deg);
}

/* Light mode: show moon icon (to switch to dark) */
[data-theme="light"] .theme-toggle .icon-sun {
  opacity: 0;
  transform: rotate(90deg);
}

[data-theme="light"] .theme-toggle .icon-moon {
  opacity: 1;
  transform: rotate(0deg);
}

/* ═══════════ NAV LOGO WITH IMAGE ═══════════ */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-img {
  height: 24px;
  width: auto;
  object-fit: contain;
  /* Logo is dark on transparent — invert for dark mode */
  filter: invert(1);
  transition: filter 0.4s;
}

[data-theme="light"] .nav-logo-img {
  filter: invert(0);
}

/* Global transition for theme switching */
body,
body * {
  transition-property: background-color, color, border-color, box-shadow;
  transition-duration: 0s;
}

body.theme-transitioning,
body.theme-transitioning * {
  transition-duration: 0.4s !important;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 35%,
    var(--overlay-mid) 55%,
    var(--overlay-bot) 80%,
    var(--overlay-end) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 40px 80px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.hero-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.hero-headline em {
  font-style: italic;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.btn-glass {
  display: inline-block;
  padding: 14px 36px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  color: var(--text-primary);
  transition: all 0.3s;
}

.btn-glass:hover {
  background: var(--input-focus-bg);
  border-color: var(--text-secondary);
  transform: translateY(-2px);
}

.btn-ghost {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.btn-ghost:hover {
  color: var(--text-primary);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.scroll-indicator span {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: var(--glass-border);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--text-primary);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0% { top: -100%; }
  50% { top: 0; }
  100% { top: 100%; }
}

/* ═══════════ SECTIONS ═══════════ */
.section {
  padding: 120px 0;
}

.section--dark {
  background: var(--bg-dark);
}

.section--alt {
  background: var(--bg-section);
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-primary);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

/* ═══════════ ABOUT ═══════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 80px;
}

.about-right p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.9;
}

.about-right p:last-child {
  margin-bottom: 0;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stat-card {
  padding: 40px 32px;
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 56px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1;
}

.stat-number::after {
  content: '+';
  font-size: 36px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ═══════════ SERVICES ═══════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.service-card {
  padding: 40px 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #8b5cf6, #06b6d4, #22c55e);
  opacity: 0.6;
  transition: opacity 0.4s;
}

.service-card::after {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3), rgba(6, 182, 212, 0.15), transparent);
  filter: blur(12px);
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--text-muted);
  box-shadow: 0 8px 40px var(--glass-shadow);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover::after {
  opacity: 1;
}

.service-num {
  display: block;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 48px;
  font-weight: 400;
  color: var(--glass-border);
  margin-bottom: 24px;
  line-height: 1;
}

.service-card h3 {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.service-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ═══════════ ROADMAP ═══════════ */
.roadmap {
  padding: 48px 40px;
}

.roadmap-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 400;
  text-align: center;
  margin-bottom: 48px;
  color: var(--text-primary);
}

.roadmap-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.roadmap-track::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 12px;
  right: 12px;
  height: 1px;
  background: var(--glass-border);
}

.roadmap-step {
  position: relative;
}

.step-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--glass-border);
  border: 2px solid var(--glass-border);
  margin-bottom: 20px;
  transition: all 0.3s;
}

.roadmap-step.active .step-dot {
  background: var(--text-primary);
  border-color: var(--text-primary);
  box-shadow: 0 0 12px var(--glass-shadow);
}

.step-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.roadmap-step h4 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.roadmap-step p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ═══════════ PORTFOLIO ═══════════ */
.portfolio-section {
  padding-bottom: 0;
}

.portfolio-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.portfolio-track {
  display: flex;
  gap: 32px;
  padding: 0 40px;
  will-change: transform;
}

.portfolio-card {
  flex-shrink: 0;
  width: 420px;
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover {
  transform: scale(1.02);
}

.portfolio-img {
  height: 280px;
  overflow: hidden;
}

.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .portfolio-img img {
  transform: scale(1.05);
}

.portfolio-info {
  padding: 24px;
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  border-top: none;
}

.portfolio-cat {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.portfolio-info h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.portfolio-info p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ═══════════ FOUNDER ═══════════ */
.founder-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: center;
}

.founder-photo {
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
}

.founder-photo img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(0.2);
  transition: filter 0.4s;
}

.founder-photo:hover img {
  filter: grayscale(0);
}

.founder-content .section-heading {
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 4px;
}

.founder-role {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.founder-quote {
  margin-bottom: 24px;
}

.founder-quote p {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-primary);
}

.founder-bio {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ═══════════ TESTIMONIALS ═══════════ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  padding: 36px 28px;
}

.testimonial-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.testimonial-author span {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ═══════════ CONTACT ═══════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 24px 0 36px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.contact-link:hover {
  color: var(--text-primary);
}

.contact-link svg {
  flex-shrink: 0;
}

.contact-form {
  padding: 40px;
  border-radius: var(--radius-form);
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #8b5cf6, #06b6d4, #22c55e);
  opacity: 0.6;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-primary);
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 14px;
  outline: none;
  transition: all 0.3s;
  -webkit-appearance: none;
}

.form-group select {
  cursor: pointer;
}

.form-group select option {
  background: var(--select-option-bg);
  color: var(--text-primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--text-muted);
  box-shadow: 0 0 0 3px var(--glass-bg);
  background: var(--input-focus-bg);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--btn-submit-color);
  background: var(--btn-submit-bg);
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-submit:hover {
  opacity: 0.85;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--glass-shadow);
}

/* ═══════════ FOOTER ═══════════ */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--glass-border);
  background: var(--bg-dark);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-primary);
}

.footer-brand .nav-logo-img {
  height: 22px;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: var(--text-muted);
  transition: color 0.3s;
  display: flex;
  align-items: center;
}

.footer-social a:hover {
  color: var(--text-primary);
}

/* ═══════════ FADE-UP ANIMATION ═══════════ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════ PORTFOLIO LINK FIX ═══════════ */
a.portfolio-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* ═══════════ PROJECT DETAIL PAGE ═══════════ */
.project-hero {
  position: relative;
  height: 70vh;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.project-hero-bg {
  position: absolute;
  inset: 0;
}

.project-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--overlay-mid) 0%, var(--overlay-bot) 80%, var(--overlay-end) 100%);
}

.project-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px 60px;
  width: 100%;
}

.project-hero-content .section-tag {
  margin-bottom: 12px;
}

.project-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.project-meta {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.project-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.project-meta-item span:first-child {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.project-meta-item span:last-child {
  font-size: 15px;
  color: var(--text-secondary);
}

.project-gallery {
  padding: 80px 0;
}

.project-gallery .container {
  max-width: 1280px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.gallery-item {
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.3s;
  margin-bottom: 48px;
}

.back-link:hover {
  color: var(--text-primary);
}

.back-link svg {
  transition: transform 0.3s;
}

.back-link:hover svg {
  transform: translateX(-4px);
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .contact-grid,
  .founder-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .portfolio-card {
    width: 350px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--mobile-menu-bg);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 999;
    transform: none;
    position: fixed;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 18px;
    color: var(--text-primary);
  }

  .hamburger {
    display: flex;
    z-index: 1001;
  }

  .nav-cta {
    display: none;
  }

  .hero-content {
    padding: 0 20px 60px;
  }

  .hero-headline {
    font-size: clamp(28px, 8vw, 42px);
  }

  .section {
    padding: 80px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .roadmap-track {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .roadmap-track::before {
    display: none;
  }

  .stats-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .portfolio-card {
    width: 300px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .philosophy-card {
    padding: 40px 28px;
  }

  .contact-form {
    padding: 28px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .scroll-indicator {
    display: none;
  }

  .founder-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .founder-photo {
    max-width: 300px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.wide {
    grid-column: span 1;
  }

  .project-hero-content {
    padding: 0 20px 40px;
  }

  .project-meta {
    gap: 20px;
  }
}
