/* === 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: rgba(100, 100, 100, 0.7);
  --border-light: rgba(0, 0, 0, 0.06);
  --radius: 20px;
  --radius-sm: 12px;
  --transition: 0.3s cubic-bezier(0.4, 0, 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;
}

.reveal-mask--rotator {
  display: block;
}

.reveal-text-wrapper {
  overflow: hidden;
  position: relative;
  display: block;
}

.pain .reveal-text-wrapper {
  line-height: 1.3;
}

.scroll-container {
  position: relative;
  width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* === 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: 0.5rem;
  font-size: clamp(0.7rem, 0.8rem, 1rem);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  white-space: nowrap;
}

.section-label::before {
  content: '';
  width: 2rem;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-label::after {
  content: '';
  width: 2rem;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-label--center {
  justify-content: center;
  width: 100%;
}

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

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  cursor: none;
  border: none;
  text-decoration: none;
  will-change: transform, opacity;
}

.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--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);
  transform: translateY(-3px);
}

.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;
}

/* === 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 !important;
    z-index: 2147483647 !important;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform, opacity;
  }
}

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 1000;
  padding: 1.25rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), box-shadow var(--transition);
}
@media (max-width: 768px) {
  .navbar {
    padding: 1rem 1.5rem;
  }
}

.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;
}

@media (max-width: 768px) {
  .navbar__links {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(17, 17, 17, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    padding: 6rem 3rem 3rem !important;
    gap: 0 !important;
    z-index: 999;
    clip-path: circle(0px at calc(100% - 3rem) 3rem);
    visibility: hidden;
    transition: none;
  }
}

.navbar__menu-items {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

@media (max-width: 768px) {
  .navbar__menu-items {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    margin-top: 7rem;
    width: 100%;
  }
}

.navbar__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  transition: color var(--transition);
}

@media (max-width: 768px) {
  .navbar__links a {
    font-size: 1.5rem !important;
    font-weight: 500 !important;
    text-align: left;
    width: 100%;
    color: var(--text-light);
  }
}

.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);
}

@media (max-width: 768px) {
  .navbar__cta {
    background: transparent !important;
    color: var(--text-light) !important;
    padding: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    font-weight: 500 !important;
    font-size: 1.8rem !important;
    margin-top: 0 !important;
    display: block !important;
  }
}

.navbar__cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

@media (max-width: 768px) {

  .navbar__cta:hover {
    transform: none !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--accent) !important;
  }
}

.navbar__cta::after {
  display: none !important;
}

/* Mobile menu */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
@media (max-width: 768px) {
  .navbar__toggle {
    display: flex;
    z-index: 1000;
  }
}

.navbar__toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

@media (max-width: 768px) {

  .navbar.menu-open .navbar__toggle span {
    background: var(--text-light);
  }

  .navbar.menu-open .navbar__toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .navbar.menu-open .navbar__toggle span:nth-child(2) {
    opacity: 0;
  }

  .navbar.menu-open .navbar__toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

#navbar__mobile-logo {
  display: none;
}

@media (max-width: 768px) {
  #navbar__mobile-logo {
    display: block;
    position: absolute;
    top: 5.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-heading);
    font-weight: 700 !important;
    font-size: 2.4rem !important;
    color: var(--text-light) !important;
    letter-spacing: -1px;
    text-align: center !important;
  }
}

@media (max-width: 768px) {

  #navbar__mobile-logo span {
    color: var(--accent);
  }
}

.navbar__socials {
  display: none;
}

@media (max-width: 768px) {
  .navbar__socials {
    display: none;
    gap: 1.5rem;
    position: absolute;
    bottom: 3rem;
    left: 3rem;
  }
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto !important;
}

.social-link svg {
  width: 24px;
  height: 24px;
  color: var(--text-light);
  opacity: 0.7;
  transition: opacity 0.3s;
}

.social-link:hover svg {
  opacity: 1;
  color: var(--accent);
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 2rem 4rem;
  position: relative;
  overflow: hidden;
  background: var(--bg-white);
}
@media (max-width: 768px) {
  .hero {
    padding: 8rem 1.5rem 4rem;
    align-items: flex-start;
    text-align: left;
    justify-content: center;
  }
}

.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;
}

.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;
  }
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
  pointer-events: none;
  will-change: transform, opacity;
}

.hero__orb--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: -200px;
  right: -150px;
}

@media (max-width: 768px) {
  .hero__orb--1 {
    width: 280px !important;
    height: 280px !important;
    top: -80px !important;
    right: -80px !important;
    opacity: 0.55 !important;
  }
}

.hero__orb--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #FF8844 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
}

@media (max-width: 768px) {
  .hero__orb--2 {
    width: 180px !important;
    height: 180px !important;
    bottom: 5rem !important;
    left: -60px !important;
    opacity: 0.3 !important;
  }
}

.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;
}

@media (max-width: 768px) {
  .hero__content {
    align-items: flex-start !important;
    text-align: left !important;
    width: 100%;
    height: max-content;
  }
}

@media (max-width: 768px) {
  .hero__label {
    font-size: 0.65rem !important;
    letter-spacing: 4px !important;
    margin-bottom: 2.5rem !important;
  }
}

.hero__headline {
  font-size: clamp(3rem, calc(1vw + 5vh), 4.5rem);
  margin-bottom: 1rem;
  letter-spacing: -1.5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

@media (max-width: 768px) {
  .hero__headline {
    font-size: clamp(2.5rem, 10.5vw, 3.2rem) !important;
    align-items: flex-start !important;
    letter-spacing: -2px !important;
    margin-bottom: 1.75rem !important;
    width: 100% !important;
  }
}

.hero__headline .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.hero__headline .word-inner {
  display: inline-block;
  will-change: transform, opacity;
}

.hero__line {
  display: block;
  white-space: nowrap;
}

@media (max-width: 768px) {

  .hero__line {
    white-space: normal !important;
    line-height: 1.15 !important;
    display: block !important;
    text-align: left !important;
  }
}

#hero_first_line {
  line-height: 1.3;
}

@media (max-width: 768px) {
  .hero .reveal-mask {
    overflow: visible !important;
  }
}

.hero__rotator {
  position: relative;
  height: 1.3em;
  margin-top: -0.05em;
  overflow: hidden;
  display: inline-grid;
  align-items: center;
  justify-items: center;
}

@media (max-width: 768px) {
  .hero__rotator {
    overflow: visible !important;
    width: 100% !important;
    min-height: 2.5em;
    justify-items: start;
  }
}

.hero__rotator-item {
  grid-area: 1 / 1;
  width: max-content;
  text-align: center;
  line-height: 1.3;
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
}

@media (max-width: 768px) {
  .hero__rotator-item {
    width: 100% !important;
    text-align: left !important;
    white-space: normal !important;
    line-height: 1.15 !important;
  }
}

.hero__rotator-item:first-child {
  opacity: 1;
  visibility: visible;
}

.hero__sub {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: clamp(0.9rem, calc(0.7vw + 1vh), 1.3rem);
  color: var(--text-muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: calc(2vh + 0.8vw);
  line-height: clamp(1.2, calc(0.7vw + 1vh), 1.3);
}

@media (max-width: 768px) {
  .hero__sub {
    font-size: 1rem !important;
    text-align: left !important;
    margin: 0 0 2.5rem !important;
    max-width: 100% !important;
    line-height: 1.7 !important;
  }
}

.hero__sub strong {
  color: var(--text-dark);
  font-weight: 700;
}

.hero__sub-br {
  display: block;
}

@media (max-width: 768px) {

  .hero__sub-br {
    display: none !important;
  }
}

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

@media (max-width: 768px) {
  .hero__buttons {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 0.875rem !important;
  }
}

.hero__buttons>.btn {
  padding: 2vh 2rem;
  font-size: clamp(1.1rem, calc(0.5vw + 1.2vh), 1.3rem);
}

@media (max-width: 768px) {

  .hero__buttons .btn {
    width: 100% !important;
    justify-content: center !important;
    font-size: 1rem !important;
    padding: 1.05rem 1.5rem !important;
  }
}

/* Scroll hint */
.hero__scroll-hint {
  position: absolute;
  bottom: 1vh;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}
@media (min-height: 750px) {
    .hero__scroll-hint {
      display: flex;
    }
}
@media (max-width: 768px) {
  .hero__scroll-hint {
    display: none;
  }
}

.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 {
  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;
  will-change: transform, opacity;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.page-hero__title {
  font-size: clamp(3rem, calc(2vw + 4vh), 6rem);
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.page-hero__sub {
  font-size: clamp(1.1rem, calc(0.7vw + 1vh), 1.3rem);
  color: var(--text-muted);
  line-height: 1.7;
}

/* === PAIN POINT SECTION === */
.pain {
  padding: 4rem 2rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 85vh;
  transition: background 0.1s, color 0.1s;
}

.pain__inner {
  max-width: 60%;
}

@media (max-width: 768px) {
  .pain__inner {
    max-width: 95vw;
  }
}

.pain__headline {
  font-size: clamp(2.5rem, calc(0.25vw + 6vh), 4.5rem);
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

@media (max-width: 768px) {
  .pain__headline {
    font-size: 2rem;
  }
}

.pain__text {
  font-size: clamp(1rem, calc(0.5vw + 1.3vh), 1.3rem);
  line-height: 1.7;
  color: var(--text-muted);
  transition: color 0.1s;
}

.pain__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (max-width: 768px) {
  .pain__stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.pain__stat-number {
  font-family: var(--font-heading);
  font-size: calc(2vw + 1vh);
  font-weight: 800;
  color: var(--accent);
}

@media (max-width: 768px) {
  .pain__stat-number {
    font-size: 2rem;
  }
}

.pain__stat-label {
  font-size: clamp(0.9rem, calc(0.5vw + 1.3vh), 1.1rem);
  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.2rem, calc(1vw + 5vh), 4rem);
  letter-spacing: -1px;
}

@media (max-width: 768px) {
  .why-accordion-title {
    font-size: 2.5rem;
  }
}

.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-item:hover .accordion-header {
  color: var(--accent);
}

.accordion-item.is-active {
  color: var(--accent);
}

.accordion-header {
  padding: 2.5rem 0;
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .accordion-header {
    flex-direction: column;
    gap: 0.5rem;
  }
}

.accordion-number {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  opacity: 0.6;
}

.accordion-title {
  font-size: clamp(1.5rem, calc(0.8vw + 5vh), 2.5rem);
  letter-spacing: -1px;
  margin: 0;
}

@media (max-width: 768px) {
  .accordion-title {
    font-size: 2rem;
  }
}

.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;
  }
}

/* === SERVICES — SPLIT SCREEN === */
.services-hz {
  width: 100%;
  padding: 15vh 0;
  background: var(--bg-white);
  position: relative;
  overflow: hidden;
}
@media (min-width: 901px) and (max-height: 700px) {
  .services-hz {
    height: auto !important;
    overflow: visible !important;
    padding: 5rem 0 !important;
  }
}
@media (max-width: 900px) {
  .services-hz {
    height: auto;
    overflow: visible;
    padding: 6rem 0;
  }
}

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

@media (min-width: 901px) and (max-height: 700px) {
  .services-hz__intro {
    margin-bottom: 3rem;
  }
}

@media (max-width: 900px) {
  .services-hz__intro {
    width: 100%;
    padding: 0 2rem;
    margin-bottom: 4rem;
  }
}

@media (min-width: 901px) and (max-height: 1100px) {
  .services-hz__intro {
    margin-bottom: 1.5rem;
  }
}

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

@media (max-width: 900px) {
  .services-hz__title {
    font-size: 2.5rem;
  }
}

@media (min-width: 901px) and (max-height: 1100px) {
  .services-hz__title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    margin-bottom: 0.5rem;
  }
}

.services-hz__desc {
  font-size: clamp(1.2rem, calc(0.5vw + 1.5vh), 1.6rem);
  color: var(--text-muted);
  line-height: 1.6;
}

@media (min-width: 901px) and (max-height: 1100px) {
  .services-hz__desc {
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  }
}

.services-hz__container {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  padding-left: 5vw;
}

@media (min-width: 901px) and (max-height: 700px) {
  .services-hz__container {
    padding-left: 0;
  }
}

@media (max-width: 900px) {
  .services-hz__container {
    flex-direction: column;
    width: 100%;
  }
}

.services-hz__track {
  display: flex;
  gap: 3vw;
  width: max-content;
  padding-right: 10vw;
}

@media (min-width: 901px) and (max-height: 700px) {
  .services-hz__track {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    padding: 0 3vw;
    gap: 2rem;
  }
}

@media (max-width: 900px) {
  .services-hz__track {
    flex-direction: column;
    padding: 0 2rem;
    gap: 2rem;
    width: 100%;
  }
}

.hz-card {
  position: relative;
  width: clamp(380px, 45vw, 680px);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 2.5rem;
  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, opacity, border-color;
  cursor: pointer;
  height: auto;
  min-height: 65vh;
  overflow: hidden;
}

@media (min-width: 901px) and (max-height: 700px) {
  .hz-card {
    width: 100%;
    height: auto;
    min-height: 350px;
    padding: 2rem;
  }
}

@media (max-width: 900px) {
  .hz-card {
    width: 100%;
    height: auto;
    min-height: 280px;
    padding: 2.5rem;
  }
}

@media (min-width: 901px) and (max-height: 1100px) {
  .hz-card {
    height: auto;
    min-height: 75vh;
    padding: 2rem;
  }
}

.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: 1rem;
}

.hz-card__3d {
  position: relative;
  width: clamp(250px, 55%, 60%);
  aspect-ratio: 1;
  object-fit: contain;
  margin: 0 auto;
  transform: translateY(-30px);
  display: block;
  z-index: 10;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.15));
  will-change: transform, opacity;
  flex-shrink: 0;
}

@media (min-width: 901px) and (max-height: 700px) {
  .hz-card__3d {
    width: 170px;
    aspect-ratio: 1;
    margin: 0.5rem auto 1.5rem auto;
  }
}

@media (max-width: 900px) {
  .hz-card__3d {
    width: 180px;
    height: 180px;
    margin: 1rem auto 2rem auto;
  }
}

@media (min-width: 901px) and (max-height: 1100px) {
  .hz-card__3d {
    width: 280px;
    aspect-ratio: 1;
    margin-bottom: 0.5rem;
    transform: translateY(-20px);
  }
}

.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);
}

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

.hz-card__text-container {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 0;
}

.hz-card__title {
  font-size: clamp(1.6rem, 2.5vw, 2.8rem);
  letter-spacing: -1px;
  margin-bottom: 0.75rem;
  line-height: 1.2;
  flex-shrink: 0;
}

@media (min-width: 901px) and (max-height: 700px) {
  .hz-card__title {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
  }
}

@media (max-width: 900px) {
  .hz-card__title {
    font-size: 1.8rem;
  }
}

.hz-card__desc {
  font-size: clamp(1.1rem, 1.3vw, 1.35rem);
  color: var(--text-muted);
  line-height: 1.6;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
}

@media (min-width: 901px) and (max-height: 700px) {
  .hz-card__desc {
    font-size: 0.95rem;
  }
}

@media (max-width: 900px) {
  .hz-card__desc {
    font-size: 1rem;
  }
}

/* === 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;
  transition: opacity 0.4s ease;
}

@media (max-width: 900px) {
  .portfolio-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 0;
    gap: 0.5rem;
  }
}

.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);
}
@media (max-width: 900px) {
  .portfolio-reveal {
    display: none;
  }
}

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

/* Portfolio Grid & Cards */
.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;
}

@media (max-width: 1024px) {
  .portfolio__grid {
    grid-template-columns: 1fr;
  }
}

.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);
  will-change: transform;
}

.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;
}

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

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

@media (max-width: 768px) {
  .about-title {
    font-size: clamp(2.5rem, 9vw, 3.5rem) !important;
  }
}

.about-desc {
  font-size: clamp(1.25rem, 1.5vw, 1.5rem);
  color: var(--text-muted);
  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;
  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%;
  object-fit: cover;
  position: absolute;
  top: -10%;
  left: 0;
  will-change: transform;
}

/* 3D Split Section */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  min-height: 100vh;
  align-items: start;
  padding: 5vh 5vw;
}
@media (max-width: 768px) {
  .about-split {
    grid-template-columns: 1fr !important;
    padding: 4rem 1.5rem !important;
    gap: 3rem !important;
  }
}

.about-split__text {
  position: sticky;
  top: 20vh;
  padding-bottom: 10vh;
}

@media (max-width: 768px) {
  .about-split__text {
    order: -1;
    position: static !important;
  }
}

.about-split__headline {
  font-size: clamp(3rem, calc(2vw + 4vh), 5.2rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.about-split__p {
  font-size: clamp(1.1rem, calc(0.7vw + 1vh), 1.3rem);
  color: var(--text-muted);
  line-height: 1.7;
}

.about-split__p strong {
  color: var(--text-dark);
  font-weight: 700;
}

.about-split__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.floating-3d {
  width: 60%;
  object-fit: contain;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.15));
  will-change: transform, opacity;
}

@media (max-width: 768px) {
  .floating-3d {
    max-width: 300px !important;
  }
}

/* The Shift. Engine (Horizontal Scroll) */
.method-showcase {
  height: 500vh;
  position: relative;
  background-color: var(--bg-dark);
}
@media (max-width: 768px) {
  .method-showcase {
    height: auto !important;
    /* padding-top ridotto, padding-bottom porta lo swipe hint a ~12vh dal bordo */
    padding: 4rem 0 12vh;
  }
}

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

@media (max-width: 768px) {
  .method-sticky {
    height: auto !important;
    position: static !important;
    overflow: visible !important;
    display: block !important;
  }
}

.method-track {
  display: flex;
  width: max-content;
  gap: 8vw;
  padding: 0 12vw;
  align-items: center;
}

@media (max-width: 768px) {
  .method-track {
    overflow-x: auto;
    width: auto !important;
    transform: none !important;
    scroll-snap-type: x mandatory;
    /* Padding verticale: 2rem sopra/sotto per headroom bounce */
    padding: 2rem 1.5rem 2rem;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {

  .method-track::-webkit-scrollbar {
    display: none;
  }
}

/* Mobile Swipe Hint */
.method-swipe-hint {
  display: none;
}
@media (max-width: 768px) {
  .method-swipe-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 2rem 0 1rem;
    color: rgba(255, 255, 255, 0.5);
  }
}

@media (max-width: 768px) {

  .method-swipe-hint__icon {
    display: flex;
    gap: 0;
    color: #FF5500;
    animation: swipeChevronPulse 1.6s ease-in-out infinite;
  }

  .method-swipe-hint__icon svg:first-child {
    opacity: 0.4;
  }

  .method-swipe-hint__text {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.35);
  }
}

@keyframes swipeChevronPulse {

  0%,
  100% {
    transform: translateX(0);
    opacity: 1;
  }

  50% {
    transform: translateX(5px);
    opacity: 0.6;
  }
}

.method-intro-card {
  width: 450px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .method-intro-card {
    width: 85vw;
    gap: 1rem;
    scroll-snap-align: center;
  }
}

.method-intro-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -2px;
  color: var(--text-light);
  text-transform: uppercase;
}

.method-intro-desc {
  font-size: clamp(1.1rem, 1.3vw, 1.25rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
}

.method-card {
  width: 520px;
  height: 380px;
  padding: 3.5rem 3rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: box-shadow 0.4s ease, border-color var(--transition), background var(--transition);
  cursor: pointer;
}

@media (max-width: 768px) {
  .method-card {
    width: 85vw;
    height: auto;
    min-height: 320px;
    padding: 2.5rem 2rem;
    scroll-snap-align: center;
  }
}

/* Hover — solo effetto arancione, nessun scale */
.method-card:hover {
  box-shadow: 0 15px 40px rgba(255, 85, 0, 0.15);
  border-color: rgba(255, 85, 0, 0.6);
  background: rgba(255, 85, 0, 0.04);
}

/* Feedback tattile al click — gestito da GSAP bounce in JS */
.method-card:active {
  border-color: #FF5500;
}

/* Stato attivo persistente dopo il click */
.method-card.is-active {
  border-color: #FF5500;
  background: rgba(255, 85, 0, 0.07);
  /* Glow 100% inset: non può essere clippato dall'overflow del container */
  box-shadow:
    0 0 0 1px rgba(255, 85, 0, 0.5) inset,
    0 0 60px rgba(255, 85, 0, 0.18) inset,
    0 0 20px rgba(255, 85, 0, 0.25) inset;
  /* Lo scale viene applicato via GSAP per poter fare il bounce */
}

.method-card__bg-num {
  font-family: var(--font-heading);
  font-size: clamp(15rem, 20vw, 24rem);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 85, 0, 0.1);
  position: absolute;
  bottom: -4rem;
  right: -2rem;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.method-card__content {
  position: relative;
  z-index: 2;
}

.method-card__num {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #FF5500;
  font-weight: 800;
  display: block;
  margin-bottom: 1rem;
}

.method-card__title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--text-light);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .method-card__title {
    font-size: 1.5rem;
  }
}

.method-card__desc {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
  .method-card__desc {
    font-size: 0.95rem;
  }
}

.about-hero__line {
  display: inline-block;
  will-change: transform, opacity;
}

.about-hero__line--accent {
  color: var(--accent);
}



/* Manifesto */
.about-manifesto {
  padding: 15vh 5vw;
  background: var(--bg-white);
  color: var(--text-dark);
}
@media (max-width: 900px) {
  .about-manifesto {
    padding: 8rem 1.5rem;
  }
}

.about-manifesto__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 8rem;
  align-items: start;
}

@media (max-width: 900px) {
  .about-manifesto__inner {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

.about-manifesto__header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-manifesto__headline {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.8rem, 4.2vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 1.1;
  color: var(--text-dark);
}

.about-manifesto__body {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 1rem;
}

.about-manifesto__body p {
  font-size: clamp(1.05rem, 1.2vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.7;
}

.about-manifesto__body .lead-text {
  font-size: clamp(1.2rem, 1.5vw, 1.4rem);
  color: var(--text-dark);
  line-height: 1.6;
  font-weight: 500;
}

.highlight-orange {
  color: #FF5500;
  font-weight: inherit;
}

.about-manifesto__cta {
  align-self: flex-start;
  margin-top: 1.5rem;
}

/* Final CTA Section */
.about-cta-section {
  padding: 20vh 5vw;
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  text-align: center;
  color: var(--text-dark) !important;
}
@media (max-width: 600px) {
  .about-cta-section {
    text-align: left;
  }
}
@media (max-width: 900px) {
  .about-cta-section {
    padding: 6rem 1.5rem;
  }
}

.about-cta__inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 600px) {
  .about-cta__inner {
    align-items: flex-start;
  }
}

.about-cta__headline {
  font-family: var(--font-heading);
  font-size: clamp(3rem, calc(2vw + 4vh), 6rem);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.about-cta__sub {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.about-cta__btn {
  font-size: 1.1rem;
  padding: 1.1rem 2.5rem;
}

/* === ABOUT HERO — Awwwards Layout === */
.about-hero {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 2rem;
  min-height: 90vh;
  padding: 15vh 5vw 0;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-white);
}
@media (max-width: 768px) {
  .about-hero {
    padding: 10vh 1.5rem 5rem;
    row-gap: 3rem;
  }
}
@media (max-width: 1024px) {
  .about-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 12vh 5vw 6rem;
    row-gap: 4rem;
  }
}

.about-hero__content {
  grid-column: 1 / 8;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

@media (max-width: 1024px) {
  .about-hero__content {
    grid-column: 1 / -1;
  }
}

.about-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.about-hero__headline {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(3.5rem, calc(6vw + 1.5vh), 6.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  margin: 0;
}

@media (max-width: 768px) {
  .about-hero__headline {
    font-size: clamp(2.8rem, 10vw, 4rem);
  }
}

.about-hero__desc {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 520px;
}

@media (max-width: 768px) {
  .about-hero__desc {
    max-width: 100%;
  }
}

.hero-3d-wrapper {
  grid-column: 8 / 13;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  /* Spazio aggiuntivo per il glow che non clippi */
  padding: 3rem 1rem;
}

@media (max-width: 1024px) {
  .hero-3d-wrapper {
    grid-column: 1 / -1;
    order: -1;
    padding: 2rem 0;
  }
}

/* Alone arancione sfumato dietro il soggetto */
.hero-3d-glow {
  position: absolute;
  width: 70%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(255, 85, 0, 0.22) 0%, rgba(255, 85, 0, 0.08) 45%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

/* Immagine principale */
.about-hero__visual {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
  /* mix-blend-mode rimuove lo sfondo bianco dell'immagine integrandola col layout */
  mix-blend-mode: multiply;
  will-change: transform;
  /* Leggera ombra calda sotto per ancorare il soggetto */
  filter: drop-shadow(0 20px 40px rgba(255, 85, 0, 0.18)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
}
@media (max-width: 480px) {
  .about-hero__visual {
    max-width: 220px;
  }
}
@media (max-width: 768px) {
  .about-hero__visual {
    max-width: 260px;
  }
}
@media (max-width: 1024px) {
  .about-hero__visual {
    max-width: 360px;
  }
}

/* Scroll Indicator */
.scroll-indicator {
  grid-column: 1 / 8;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding-bottom: 3rem;
  align-self: end;
}
@media (max-width: 768px) {
  .scroll-indicator {
    display: none;
  }
}
@media (max-width: 1024px) {
  .scroll-indicator {
    grid-column: 1 / -1;
  }
}

.scroll-indicator__text {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: horizontal-tb;
}

.scroll-indicator__line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, #111111 0%, rgba(17, 17, 17, 0.35) 60%, transparent 100%);
  transform-origin: top;
  will-change: transform;
}

/* === ABOUT STATS BAR — Premium Dark Strip === */
.about-stats-bar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 5rem 5vw;
  background-color: #111111;
  position: relative;
}
@media (max-width: 768px) {
  .about-stats-bar {
    flex-direction: column;
    gap: 3rem;
    padding: 5rem 1.5rem;
  }
}

.about-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.about-stat-item__num {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #FF5500;
}

.about-stat-item:nth-child(3) .about-stat-item__num {
  color: #FFFFFF;
}

.about-stat-item:nth-child(5) .about-stat-item__num {
  color: rgba(255, 255, 255, 0.6);
}

.about-stat-item__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.about-stat-item__divider {
  width: 1px;
  height: 3rem;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .about-stat-item__divider {
    width: 3rem;
    height: 1px;
  }
}

/* === CONTACT PAGE === */
.contact {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 3rem 4rem;
  background: var(--bg-white);
}
@media (max-width: 768px) {
  .contact {
    padding: 6rem 1.5rem 3rem;
  }
}

.contact__wrapper {
  max-width: 1100px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

@media (max-width: 1024px) {
  .contact__wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.contact__title {
  font-size: clamp(3rem, calc(2vw + 3.5vh), 6rem);
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.contact__sub {
  font-size: clamp(1.1rem, calc(0.7vw + 1vh), 1.3rem);
  color: var(--text-muted);
  line-height: 1.6;
  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;
}

/* === FORM STATUS === */
.form-status {
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  margin-top: 1rem;
  display: none;
  text-align: center;
}

.form-status.is-visible {
  display: block;
}

.form-status--success {
  background-color: rgba(0, 200, 100, 0.1);
  color: #00C864;
  border: 1px solid rgba(0, 200, 100, 0.2);
}

.form-status--error {
  background-color: rgba(255, 85, 0, 0.1);
  color: #FF5500;
  border: 1px solid rgba(255, 85, 0, 0.2);
}


/* === SOCIAL PROOF (Parlano di Noi) === */
.social-proof {
  padding: 6rem 5vw;
  background: var(--bg-off);
}
@media (max-width: 768px) {
  .social-proof {
    padding: 4rem 5vw;
  }
}

.social-proof__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.social-proof__header {
  text-align: center;
  margin-bottom: 4rem;
}

.social-proof__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
}

@media (max-width: 768px) {
  .social-proof__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.case-study {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .case-study {
    max-width: 90vw;
    width: 100%;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
  }
}

.case-study__client {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.case-study__icon {
  width: 50px;
  height: 50px;
  background: var(--bg-dark);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-study__client-info h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text-dark);
}

@media (max-width: 768px) {
  .case-study__client-info h4 {
    font-size: clamp(1.05rem, 5vw, 1.25rem);
  }
}

.case-study__client-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .case-study__client-info p {
    font-size: clamp(0.75rem, 3.5vw, 0.85rem);
  }
}

.case-study__quote {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-dark);
  font-weight: 500;
  font-style: italic;
}

@media (max-width: 768px) {
  .case-study__quote {
    font-size: clamp(0.95rem, 4.5vw, 1.15rem);
    line-height: 1.6;
  }
}

.case-study__results {
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  padding-top: 1.5rem;
}

.case-study__results ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.case-study__results li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .case-study__results li {
    font-size: clamp(0.85rem, 4vw, 0.95rem);
    line-height: 1.5;
  }
}

.case-study__results li svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* === CTA / FOOTER === */
.cta {
  padding: 8rem 2rem;
  background: var(--bg-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta__orb {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  filter: blur(120px);
  opacity: 0;
  /* posizionamento iniziale gestito da GSAP gsap.set() */
  top: 130%;
  left: 50%;
  pointer-events: none;
  will-change: transform, opacity, top;
}

.cta__inner {
  position: relative;
  z-index: 2;
  max-width: 60vw;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .cta__inner {
    max-width: 95vw;
  }
}

.cta__headline {
  font-size: clamp(2.5rem, calc(1vw + 4vh), 4rem);
  color: var(--text-light);
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

@media (max-width: 768px) {
  .cta__headline {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {

  .cta__headline br {
    display: none;
  }
}

.cta__sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .cta__sub {
    font-size: 1rem;
  }
}

.cta__btn-wrap {
  display: block;
}

@media (max-width: 768px) {
  .cta__btn-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 768px) {

  .cta__btn-wrap a {
    width: 90% !important;
    max-width: 400px !important;
    white-space: normal !important;
    font-size: clamp(0.9rem, 4vw, 1.15rem) !important;
    padding: 1rem !important;
    display: inline-flex !important;
    text-align: center !important;
    justify-content: center !important;
    margin: 0 auto;
    height: auto !important;
    line-height: 1.3 !important;
  }
}

.footer {
  background-color: 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;
}

@media (max-width: 768px) {
  .footer {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

.footer a {
  color: var(--accent);
  transition: color var(--transition);
}

.footer a:hover {
  color: #FF8844;
}

.fat-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: -1;
  background-color: var(--bg-dark);
  color: var(--text-muted);
  padding: 5rem 5vw 2rem;
}

@media (max-width: 900px) {
  .fat-footer {
    position: relative;
    z-index: 1;
    padding: 4rem 1.5rem 2rem;
  }
}

.fat-footer__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (max-width: 600px) {
  .fat-footer__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 900px) {
  .fat-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.fat-footer__col-brand .fat-footer__logo {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

.fat-footer__col-brand p {
  line-height: 1.6;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
}

.fat-footer__title {
  color: var(--text-light);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.fat-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.fat-footer__list a,
.fat-footer__list span {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--transition);
}

.fat-footer__list a:hover {
  color: var(--accent);
}

.fat-footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 600px) {
  .fat-footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

.main-wrapper {
  background-color: var(--bg-white) !important;
  position: relative;
  z-index: 2;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .main-wrapper {
    margin-bottom: 0 !important;
  }
}

/* === UTILITY CLASSES === */
.u-hide {
  display: none !important;
}

/* === ROI CALCULATOR SECTION === */
.roi-calculator {
  padding: 8rem 2rem;
  background-color: var(--bg-white);
  position: relative;
  z-index: 2;
}
@media (max-width: 768px) {
  .roi-calculator {
    padding: 5rem 1.5rem;
  }
}

.roi-calculator__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.roi-calculator__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .roi-calculator__grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
}

.roi-calculator__inputs {
  display: flex;
  flex-direction: column;
}

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

.roi-calculator__lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 3rem;
}

.roi-calculator__field {
  margin-bottom: 2.5rem;
}

.roi-calculator__field-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.roi-calculator__field-label {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
}

.roi-calculator__field-value {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--accent);
}

/* Custom styling for range input */
.roi-calculator__slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.08);
  outline: none;
}

.roi-calculator__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 2px 10px var(--accent-glow);
  transition: transform 0.15s ease-out;
}

.roi-calculator__slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.roi-calculator__slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 10px var(--accent-glow);
  transition: transform 0.15s ease-out;
}

.roi-calculator__slider::-moz-range-thumb:hover {
  transform: scale(1.2);
}

/* Glassmorphism output display */
.roi-display {
  background: rgba(17, 17, 17, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}
@media (max-width: 480px) {
  .roi-display {
    padding: 2rem 1.5rem;
  }
}

.roi-display::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.roi-display>* {
  position: relative;
  z-index: 1;
}

.roi-display__label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1rem;
}

.roi-display__value {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.roi-display__sub {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  margin-bottom: 2rem;
}

.roi-display__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
}

.roi-display__details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.roi-display__details li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

.roi-display__detail-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 50%;
}

/* === ENGINEERING FAQ SECTION === */
.engineering-faq {
  padding: 8rem 2rem;
  background-color: var(--bg-off);
  position: relative;
  z-index: 2;
}
@media (max-width: 768px) {
  .engineering-faq {
    padding: 5rem 1.5rem;
  }
}

.engineering-faq__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.engineering-faq__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 6rem;
}

@media (max-width: 900px) {
  .engineering-faq__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.engineering-faq__header {
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 120px;
  height: fit-content;
}

@media (max-width: 900px) {
  .engineering-faq__header {
    position: relative;
    top: 0;
  }
}

.engineering-faq__title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 1.5rem;
  letter-spacing: -1.5px;
}

.engineering-faq__lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.engineering-faq__accordion {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding-bottom: 1.5rem;
}

.faq-item__trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.2rem;
  gap: 1.5rem;
  transition: color var(--transition);
}

.faq-item__trigger:hover {
  color: var(--accent);
}

.faq-item__icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  background-color: currentColor;
  transition: transform 0.3s ease;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Horizontal line */
.faq-item__icon::before {
  width: 14px;
  height: 2px;
}

/* Vertical line */
.faq-item__icon::after {
  width: 2px;
  height: 14px;
}

/* Rotation animation when open */
.faq-item.is-active .faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-active .faq-item__icon::before {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-active .faq-item__trigger {
  color: var(--accent);
}

.faq-item__panel {
  height: 0;
  overflow: hidden;
  will-change: height;
}

.faq-item__inner {
  padding-top: 1rem;
}

.faq-item__inner p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* === SPLASH SCREEN PRELOADER (PREMIUM) === */
.shift-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #111111;
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.8s;
  visibility: visible;
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {

  .shift-preloader {
    display: none !important;
  }
}

.shift-preloader.is-loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.shift-preloader__loader {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 85, 0, 0.2);
  border-top-color: #FF5500;
  border-radius: 50%;
  animation: shiftSpin 1s linear infinite;
}

@keyframes shiftSpin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* === DISINNESCO CONFLITTI CSSOM (GSAP FIX) === */
html.is-loading .shift-animated-section,
html.is-loading .shift-animated-section * {
  transition: none !important;
}

html.is-loading .shift-animated-section {
  visibility: hidden;
}

/* === FALLBACK ACCESSIBILITÀ (PREFERS REDUCED MOTION) === */
@media (prefers-reduced-motion: reduce) {

  .shift-animated-section,
  .shift-animated-section * {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    transition: none !important;
  }
}