/* ============================================
   DESIGN SYSTEM — CSS Variables
   ============================================ */
:root {
  --accent: #FF5500;
  --accent-hover: #E64A00;
  --accent-glow: rgba(255, 85, 0, 0.35);
  --bg-white: #FFFFFF;
  --bg-off: #F8F9FA;
  --bg-dark: #111111;
  --text-dark: #111111;
  --text-light: #FFFFFF;
  --text-muted: #6B7280;
  --border-light: rgba(0,0,0,0.06);
  --radius: 20px;
  --radius-sm: 12px;
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

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

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

a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

/* Reveal Mask for Text Animations */
.reveal-mask {
  overflow: hidden;
  display: inline-block;
  vertical-align: top;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.1; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.hero__highlight { color: var(--accent); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.8rem 1.8rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  cursor: none;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
}
.btn--primary {
  background: var(--accent);
  color: var(--text-light);
  box-shadow: 0 4px 14px rgba(255,85,0,0.3);
}
.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}
.btn--secondary {
  background: transparent;
  color: var(--text-dark);
  border: 1px solid rgba(0,0,0,0.1);
}
.btn--secondary:hover {
  background: var(--bg-off);
  border-color: rgba(0,0,0,0.2);
}
.btn--big {
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
}
.btn--full { width: 100%; padding: 1.2rem; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 24px rgba(0,0,0,0.06);
}
.navbar__logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2rem;
  color: var(--text-dark);
  letter-spacing: -1px;
}
.navbar__logo span { color: var(--accent); }

.navbar__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.navbar__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  transition: color var(--transition);
}
.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width var(--transition);
}
.navbar__links a:hover { color: var(--accent); }
.navbar__links a:hover::after { width: 100%; }

/* Active link */
.navbar__link--active { color: var(--accent) !important; }
.navbar__link--active::after { width: 100% !important; }

.navbar__cta {
  padding: 0.65rem 1.5rem;
  background: var(--accent);
  color: var(--text-light) !important;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.navbar__cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}
.navbar__cta::after { display: none !important; }

/* Mobile menu */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.navbar__toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  overflow: hidden;
  background: var(--bg-white);
}

/* Animated grid background */
.hero__grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-template-rows: repeat(8, 1fr);
  gap: 1px;
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
}
.hero__grid-cell {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 2px;
  transition: background-color 0.8s ease;
}

/* Floating particles */
.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.hero__particle {
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.2;
  animation: particleFloat linear infinite;
}
@keyframes particleFloat {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: 0.25; }
  90%  { opacity: 0.15; }
  100% { transform: translateY(-120px) translateX(40px); opacity: 0; }
}

/* Decorative gradient orbs */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
  pointer-events: none;
  will-change: transform;
}
.hero__orb--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: -200px; right: -150px;
}
.hero__orb--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #FF8844 0%, transparent 70%);
  bottom: -100px; left: -100px;
}
.hero__orb--3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, #FFAA66 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.2;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
}

.hero__headline {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  margin-bottom: 1.5rem;
  letter-spacing: -1.5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.hero__line {
  display: block;
  white-space: nowrap;
}
#hero_first_line {
  line-height: 1.3;
}
.hero__rotator {
  position: relative;
  height: 1.3em;
  margin-top: -0.05em;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
}
.hero__rotator-item {
  position: absolute;
  width: max-content;
  text-align: center;
  line-height: 1.3;
  opacity: 0;
  visibility: hidden;
}
.hero__rotator-item:first-child {
  opacity: 1;
  visibility: visible;
  position: relative;
}
.hero__headline .word { 
  display: inline-block; 
  overflow: hidden; 
  vertical-align: bottom; 
}
.hero__headline .word-inner {
  display: inline-block;
  will-change: transform;
}

.hero__sub {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}
.hero__sub strong {
  color: var(--text-dark);
  font-weight: 700;
}
.hero__sub-br {
  display: block;
}

.hero__buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}
.btn--primary {
  background: var(--accent);
  color: var(--text-light);
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px var(--accent-glow);
}
.btn--outline {
  background: transparent;
  color: var(--text-dark);
  border: 2px solid var(--border-light);
}
.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}
.btn--big {
  padding: 1.25rem 3rem;
  font-size: 1.15rem;
  border-radius: 60px;
}
.btn--full { width: 100%; justify-content: center; }

/* Scroll hint */
.hero__scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================
   PAGE HERO (sub-pages)
   ============================================ */
.page-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10rem 2rem 4rem;
  position: relative;
  overflow: hidden;
  background: var(--bg-off);
}
.page-hero__orb {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  filter: blur(120px);
  opacity: 0.15;
  top: -100px; right: -100px;
  pointer-events: none;
}
.page-hero__content { position: relative; z-index: 2; max-width: 700px; }
.page-hero__title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-bottom: 1rem;
  letter-spacing: -1px;
}
.page-hero__sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   PAIN POINT SECTION
   ============================================ */
.pain {
  padding: 8rem 2rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  transition: background 0.1s, color 0.1s;
}
.pain__inner { max-width: 800px; }

.pain__headline {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.pain__text {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.8;
  color: var(--text-muted);
  transition: color 0.1s;
}

.pain__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}
.pain__stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--accent);
}
.pain__stat-label {
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* ============================================
   WHY US — ACCORDION
   ============================================ */
.why-accordion-section {
  padding: 8rem 2rem;
  background: var(--bg-off);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.why-accordion-header {
  text-align: center;
  margin-bottom: 4rem;
}
.why-accordion-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  letter-spacing: -1px;
}
.why-accordion {
  width: 100%;
  max-width: 900px;
  border-top: 1px solid var(--border-light);
}
.accordion-item {
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  transition: color 0.4s ease;
  color: var(--text-dark);
}
.accordion-header {
  padding: 2.5rem 0;
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
}
.accordion-item:hover .accordion-header {
  color: var(--accent);
}
.accordion-item.is-active {
  color: var(--accent);
}
.accordion-number {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  opacity: 0.6;
}
.accordion-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -1px;
  margin: 0;
}
.accordion-content {
  height: 0;
  overflow: hidden;
}
.accordion-inner {
  padding-bottom: 2.5rem;
  padding-left: 3.5rem;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 700px;
}
@media (max-width: 768px) {
  .accordion-inner { padding-left: 0; }
  .accordion-header { flex-direction: column; gap: 0.5rem; }
}

/* ============================================
   SERVICES — SPLIT SCREEN
   ============================================ */
.services-hz {
  width: 100%;
  height: 100vh; /* Pinned */
  background: var(--bg-white);
  overflow: hidden; 
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.services-hz__intro {
  text-align: center;
  margin: 0 auto 3rem auto;
  padding: 0 2rem;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services-hz__title {
  font-size: clamp(2.5rem, 4vw, 4rem);
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.services-hz__desc {
  font-size: clamp(1.1rem, 1.2vw, 1.25rem);
  color: var(--text-muted);
  line-height: 1.6;
}

.services-hz__container {
  width: 100%;
  max-width: 100%; /* allows full bleed track */
  display: flex;
  flex-direction: column;
  padding-left: 5vw; /* Start padding for the track */
}

.services-hz__track {
  display: flex;
  gap: 3vw;
  width: max-content; /* allows children to sit horizontally */
  padding-right: 10vw; /* End padding */
}

.hz-card {
  position: relative;
  width: clamp(380px, 45vw, 700px);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, border-color;
  cursor: pointer;
  /* Fixed height or aspect ratio makes them look premium */
  height: clamp(400px, 50vh, 600px);
}

.hz-card:hover {
  border-color: var(--accent);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
  transform: translateY(-10px);
}

.hz-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: auto;
}

.hz-card__3d {
  position: relative;
  width: 250px;
  height: 250px;
  object-fit: contain;
  margin: auto auto 3rem auto;
  display: block;
  z-index: 10;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,0.15));
  will-change: transform;
}

.hz-card__num {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 800;
  color: var(--text-muted);
  opacity: 0.5;
  line-height: 1;
}

.hz-card__arrow {
  color: var(--accent);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hz-card:hover .hz-card__arrow {
  opacity: 1;
  transform: translateX(0);
}

.hz-card__title {
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  letter-spacing: -1px;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hz-card__desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Fallback for Mobile (Stack vertically, no horizontal pin) */
@media (max-width: 900px) {
  .services-hz {
    height: auto;
    overflow: visible;
    padding: 6rem 0;
  }
  .services-hz__container {
    flex-direction: column;
    width: 100%;
  }
  .services-hz__intro {
    width: 100%;
    padding: 0 2rem;
    margin-bottom: 4rem;
  }
  .services-hz__track {
    flex-direction: column;
    padding: 0 2rem;
    gap: 2rem;
    width: 100%;
  }
  .hz-card {
    width: 100%;
    height: auto;
    min-height: 300px;
    padding: 2.5rem;
  }
}

/* ============================================
   PORTFOLIO (Realizzazioni)
   ============================================ */
.portfolio-page {
  padding-top: 15vh;
  min-height: 100vh;
  background: var(--bg-white);
}

.portfolio-hero {
  padding: 0 5vw;
  margin-bottom: 4rem;
}

.portfolio-title {
  font-size: clamp(3rem, 8vw, 7rem);
  letter-spacing: -2px;
  line-height: 1.1;
  text-transform: uppercase;
  font-weight: 800;
}

.portfolio-list-section {
  padding: 0 5vw 10vh;
}

.portfolio-list {
  border-top: 2px solid var(--border-light);
}

.portfolio-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 0;
  border-bottom: 2px solid var(--border-light);
  cursor: none; /* override default cursor */
  transition: opacity 0.4s ease;
}

.portfolio-item__name {
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 700;
  letter-spacing: -1px;
}

.portfolio-item__cat {
  font-size: 1.25rem;
  color: var(--text-muted);
}

/* Hover Image Reveal Box */
.portfolio-reveal {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  pointer-events: none;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
  will-change: transform, opacity;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.portfolio-reveal__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .portfolio-reveal {
    display: none; /* Disable on mobile */
  }
  .portfolio-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 0;
    gap: 0.5rem;
  }
}

/* ============================================
   ABOUT (Chi Siamo)
   ============================================ */
.about-page {
  padding-top: 15vh;
  padding-bottom: 5rem;
  min-height: 100vh;
  background: var(--bg-white);
}

.about-hero {
  padding: 0 5vw;
  margin-bottom: 6rem;
}

.about-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  letter-spacing: -1.5px;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 2rem;
}

.about-desc {
  font-size: clamp(1.25rem, 2vw, 2rem);
  color: var(--text-muted);
  max-width: 800px;
  line-height: 1.5;
}

.about-text-block {
  padding: 8rem 5vw;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-text-block h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  margin-bottom: 2rem;
  letter-spacing: -1px;
}

.about-text-block p {
  font-size: clamp(1.1rem, 1.5vw, 1.5rem);
  color: var(--text-muted);
  line-height: 1.6;
}

/* Parallax Container */
.parallax-section {
  padding: 0 5vw;
}

.parallax-container {
  width: 100%;
  height: 70vh; /* Fixed height for effect */
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
}

.parallax-container--small {
  max-width: 1000px;
  height: 50vh;
  margin: 0 auto;
}

.parallax-img {
  width: 100%;
  height: 120%; /* Taller than container to allow scrolling */
  object-fit: cover;
  position: absolute;
  top: -10%; /* Start slightly above */
  left: 0;
  will-change: transform;
}

/* ----------------------------------
   OLD PORTFOLIO (Realizzazioni)
   ---------------------------------- */
/* ============================================
   CUSTOM CURSOR
   ============================================ */
@media (pointer: fine) {
  * {
    cursor: none !important;
  }
  .custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--accent);
    pointer-events: none;
    z-index: 9999;
    /* initial state invisible to avoid top-left corner glitch */
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform, opacity;
  }
}
.portfolio {
  padding: 4rem 2rem 6rem;
  background: var(--bg-white);
}
.portfolio__grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  gap: 3rem;
}

.portfolio-card {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-white);
  box-shadow: 0 4px 32px rgba(0,0,0,0.06);
  border: 1px solid var(--border-light);
  transition: transform var(--transition), box-shadow var(--transition);
  will-change: transform, opacity;
}
.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.portfolio-card__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.portfolio-card__img-wrap img {
  width: 100%;
  height: 110%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s cubic-bezier(.4,0,.2,1);
}
.portfolio-card:hover .portfolio-card__img-wrap img {
  transform: scale(1.05);
}

.portfolio-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.portfolio-card:hover .portfolio-card__overlay { opacity: 1; }

.portfolio-card__visit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: var(--text-light);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transform: translateY(10px);
  transition: transform var(--transition);
}
.portfolio-card:hover .portfolio-card__visit { transform: translateY(0); }

.portfolio-card__info {
  padding: 1.75rem 2rem 2rem;
}
.portfolio-card__title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.portfolio-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.portfolio-card__tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.portfolio-card__tag {
  padding: 0.3rem 0.75rem;
  background: var(--bg-off);
  color: var(--text-muted);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 3rem 4rem;
  background: var(--bg-white);
}
.contact__wrapper {
  max-width: 1100px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.contact__title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 1rem;
  letter-spacing: -1px;
}
.contact__sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact__detail {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.contact__detail-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--bg-off);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.contact__detail-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}
.contact__detail-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: color var(--transition);
}
a.contact__detail-value:hover { color: var(--accent); }

/* Contact Form */
.contact__form-wrap {
  background: var(--bg-off);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: 0 4px 32px rgba(0,0,0,0.04);
}
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact__form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.contact__form-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.contact__form-input {
  padding: 0.85rem 1rem;
  border: 2px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--bg-white);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.contact__form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.contact__form-input::placeholder { color: #C4C9D0; }
.contact__form-textarea { resize: vertical; min-height: 100px; }

/* ============================================
   CTA / FOOTER
   ============================================ */
.cta {
  padding: 8rem 2rem;
  background: var(--bg-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta__orb {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  filter: blur(120px);
  opacity: 0.2;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta__inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}
.cta__headline {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  color: var(--text-light);
  margin-bottom: 1rem;
  letter-spacing: -1px;
}
.cta__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 3rem;
}

.footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255,255,255,0.35);
  font-size: 0.85rem;
}
.footer a { color: var(--accent); transition: color var(--transition); }
.footer a:hover { color: #FF8844; }

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-hero {
  padding: 12rem 2rem 6rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.about-title {
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 2rem;
}
.about-hero__line {
  display: inline-block;
  will-change: transform;
}
.about-desc {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* 3D Split Section */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  min-height: 100vh;
  align-items: start;
  padding: 8rem 5vw;
}
.about-split__text {
  position: sticky;
  top: 35vh;
}
.about-split__headline {
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}
.about-split__p {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.about-split__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.floating-3d {
  width: 100%;
  max-width: 500px;
  object-fit: contain;
  filter: drop-shadow(0 40px 60px rgba(0,0,0,0.15));
  will-change: transform;
}

/* The Shift Method */
.about-method {
  padding: 10rem 5vw;
  background-color: var(--bg-dark);
  color: var(--text-light);
  min-height: 100vh;
}
.about-method__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.about-method__title {
  font-size: clamp(3rem, 5vw, 5rem);
  letter-spacing: -2px;
  margin-bottom: 5rem;
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}
.method-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3rem 2rem;
  border-radius: var(--radius);
  transition: border-color var(--transition), transform var(--transition), background var(--transition);
}
.method-item:hover {
  border-color: var(--accent);
  background: rgba(255, 85, 0, 0.05);
  transform: translateY(-10px);
}
.method-item__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.method-item__num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--accent);
  font-weight: 800;
  line-height: 1;
}
.method-item__title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.method-item__desc {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  font-size: 1.05rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .why { height: auto; }
  .why__cards { grid-template-columns: 1fr; height: auto; }
  #whyCard2, #whyCard3 { grid-column: auto; }
  .services__grid { grid-template-columns: 1fr; }
  .contact__wrapper { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .navbar { padding: 1rem 1.5rem; }
  .navbar__links { 
    display: none; 
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  }
  .navbar__links--open { display: flex; }
  .navbar__toggle { display: flex; }
  .pain__stats { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero { padding: 7rem 1.5rem 3rem; }
  .footer { flex-direction: column; gap: 0.5rem; text-align: center; }
  .portfolio__grid { grid-template-columns: 1fr; }
  .contact { padding: 6rem 1.5rem 3rem; }
}
