/* ═══════════════════════════════════════════════════════
   ENOVATIVE STUDIO — AVANT-GARDE DESIGN SYSTEM
   Creative Director: Full creative freedom mode
   ═══════════════════════════════════════════════════════ */

/* ─── FONTS ─── */
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300;1,9..40,400&display=swap');

/* ─── CUSTOM PROPERTIES ─── */
:root {
  /* Brand Colors */
  --petrol: #004d56;
  --petrol-deep: #002e34;
  --petrol-dark: #001a1e;
  --petrol-light: #006b78;
  --orange: #E65C2D;
  --orange-hot: #FF6B35;
  --orange-glow: rgba(230, 92, 45, 0.15);
  --orange-subtle: rgba(230, 92, 45, 0.06);
  
  /* Neutrals */
  --cream: #F5F0EB;
  --cream-warm: #FAF6F1;
  --off-white: #FDFCFA;
  --slate: #2A3A3E;
  --mist: rgba(0, 77, 86, 0.06);
  
  /* Typography */
  --font-editorial: 'Libre Baskerville', 'Baskerville', 'Georgia', serif;
  --font-system: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 10rem;
  
  /* Layout */
  --page-margin: clamp(1.5rem, 5vw, 6rem);
  --max-content: 1440px;
  
  /* Misc */
  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --transition-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--off-white);
  line-height: 1.7;
  overflow-x: hidden;
  cursor: default;
}

::selection {
  background: var(--orange);
  color: var(--off-white);
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── CUSTOM CURSOR ─── */
.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10000;
  mix-blend-mode: difference;
  transition: transform 0.1s ease;
}

.cursor-ring {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--orange);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10000;
  transition: width 0.3s var(--transition-spring),
              height 0.3s var(--transition-spring),
              border-color 0.3s ease;
  transform: translate(-50%, -50%);
}

.cursor-ring.hover {
  width: 60px;
  height: 60px;
  border-color: var(--orange-hot);
}

@media (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ─── TYPOGRAPHY ─── */
.font-editorial { font-family: var(--font-editorial); }
.font-system {
  font-family: var(--font-system);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
}
.font-body { font-family: var(--font-body); }

h1, h2, h3, h4 {
  font-family: var(--font-editorial);
  font-weight: 700;
  line-height: 1.05;
}

/* ─── PRELOADER ─── */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--petrol-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

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

.preloader-logo {
  width: 80px;
  height: 80px;
  animation: preloaderPulse 1.5s ease-in-out infinite;
}

.preloader-text {
  font-family: var(--font-system);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
}

.preloader-bar {
  width: 120px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}

.preloader-bar-fill {
  height: 100%;
  background: var(--orange);
  width: 0%;
  animation: preloaderFill 2s var(--transition-expo) forwards;
}

@keyframes preloaderPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes preloaderFill {
  to { width: 100%; }
}

/* ─── NAVIGATION ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem var(--page-margin);
  display: flex;
  align-items: center;
  justify-content: space-between;
  mix-blend-mode: difference;
  transition: mix-blend-mode 0.3s ease;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav-logo-text {
  font-family: var(--font-system);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: #fff;
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-system);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.65rem;
  color: #fff;
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--orange);
  transition: width 0.4s var(--transition-expo);
}

.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-family: var(--font-system);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.65rem;
  color: var(--petrol-dark);
  background: var(--orange);
  padding: 0.6rem 1.5rem;
  border-radius: 100px;
  transition: transform 0.3s var(--transition-spring), background 0.3s ease;
  mix-blend-mode: normal;
}

.nav-cta:hover {
  transform: scale(1.05);
  background: var(--orange-hot);
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--petrol-dark);
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  padding: 0 var(--page-margin);
  padding-bottom: clamp(3rem, 8vh, 6rem);
  position: relative;
  overflow: hidden;
}

/* Animated grain texture overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
  animation: grain 8s steps(10) infinite;
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -10%); }
  20% { transform: translate(-15%, 5%); }
  30% { transform: translate(7%, -25%); }
  40% { transform: translate(-5%, 25%); }
  50% { transform: translate(-15%, 10%); }
  60% { transform: translate(15%, 0%); }
  70% { transform: translate(0%, 15%); }
  80% { transform: translate(3%, 35%); }
  90% { transform: translate(-10%, 10%); }
}

/* Floating ambient light leak */
.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

.hero-glow--orange {
  background: var(--orange);
  right: -10%;
  top: -15%;
  animation: glowFloat 12s ease-in-out infinite;
}

.hero-glow--teal {
  background: var(--petrol-light);
  left: -5%;
  bottom: -20%;
  animation: glowFloat 15s ease-in-out infinite reverse;
}

@keyframes glowFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.1); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
}

.hero-label {
  font-family: var(--font-system);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: clamp(0.6rem, 0.8vw, 0.75rem);
  color: var(--orange);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s var(--transition-expo) 2.2s forwards;
}

.hero-label::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--orange);
}

.hero-title {
  font-size: clamp(3.5rem, 10vw, 9rem);
  color: var(--off-white);
  line-height: 0.92;
  margin-bottom: 2rem;
  position: relative;
}

.hero-title .line {
  display: block;
  overflow: hidden;
}

.hero-title .line-inner {
  display: block;
  transform: translateY(110%);
  animation: heroLineReveal 1s var(--transition-expo) forwards;
}

.hero-title .line:nth-child(1) .line-inner { animation-delay: 2.3s; }
.hero-title .line:nth-child(2) .line-inner { animation-delay: 2.5s; }

.hero-title .accent {
  color: var(--orange);
  font-style: italic;
  font-weight: 400;
}

/* The period dot as a decorative element */
.hero-title .dot {
  display: inline-block;
  width: clamp(12px, 1.5vw, 18px);
  height: clamp(12px, 1.5vw, 18px);
  background: var(--orange);
  border-radius: 50%;
  margin-left: 0.1em;
  vertical-align: baseline;
  position: relative;
  top: -0.08em;
  animation: dotPulse 3s ease-in-out 3.5s infinite;
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(230, 92, 45, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(230, 92, 45, 0); }
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: rgba(255,255,255,0.55);
  max-width: 580px;
  line-height: 1.7;
  font-weight: 300;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s var(--transition-expo) 2.8s forwards;
}

.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 3rem;
  opacity: 0;
  animation: heroFadeUp 0.8s var(--transition-expo) 3s forwards;
}

.hero-scroll {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255,255,255,0.35);
  font-family: var(--font-system);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.6rem;
}

.hero-scroll-line {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
}

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

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

@keyframes heroLineReveal {
  to { transform: translateY(0); }
}

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ─── MARQUEE TICKER ─── */
.marquee {
  background: linear-gradient(90deg, #f0ebe4, #e8e2d9, #f0ebe4);
  padding: 1rem 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.marquee-track {
  display: flex;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}

.marquee-item {
  font-family: var(--font-system);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  color: var(--petrol-dark);
  padding: 0 3rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  font-weight: 600;
}

.marquee-item::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--petrol-dark);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ─── REVEAL ANIMATION SYSTEM ─── */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.9s var(--transition-expo),
              transform 0.9s var(--transition-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.9s var(--transition-expo),
              transform 0.9s var(--transition-expo);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.9s var(--transition-expo),
              transform 0.9s var(--transition-expo);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.stagger-children .reveal:nth-child(1) { transition-delay: 0s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.2s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.3s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.4s; }

/* ─── SECTION: I NOSTRI SERVIZI ─── */
.servizi {
  background: linear-gradient(175deg, var(--petrol-dark) 0%, #00262c 50%, var(--petrol-dark) 100%);
  padding: clamp(5rem, 12vh, 10rem) var(--page-margin);
  position: relative;
  overflow: hidden;
}

.servizi::after {
  content: '';
  position: absolute;
  left: -150px;
  bottom: -150px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 92, 45, 0.06), transparent 70%);
  pointer-events: none;
}

.servizi-header {
  max-width: var(--max-content);
  margin: 0 auto clamp(3rem, 6vh, 5rem);
}

.servizi-label {
  font-family: var(--font-system);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.65rem;
  color: var(--orange);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.servizi-label::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--orange);
}

.servizi-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--off-white);
  max-width: 700px;
  line-height: 1.05;
}

.servizi-title-accent {
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
}

/* Accordion container */
.servizi-accordion {
  max-width: var(--max-content);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Individual card */
.servizio-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.4s ease, border-color 0.4s ease;
  overflow: hidden;
}

.servizio-card:hover {
  background: rgba(255, 255, 255, 0.05);
}

.servizio-card.active {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(230, 92, 45, 0.15);
}

/* Trigger row */
.servizio-trigger {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 3rem);
  cursor: pointer;
  user-select: none;
  position: relative;
}

.servizio-trigger::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: clamp(1.5rem, 3vw, 3rem);
  right: clamp(1.5rem, 3vw, 3rem);
  height: 1px;
  background: rgba(255, 255, 255, 0.04);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.servizio-card.active .servizio-trigger::after {
  opacity: 1;
}

/* Number */
.servizio-number {
  font-family: var(--font-editorial);
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: rgba(230, 92, 45, 0.15);
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
  min-width: 60px;
  transition: color 0.4s ease;
}

.servizio-card.active .servizio-number {
  color: rgba(230, 92, 45, 0.35);
}

/* Preview text */
.servizio-preview {
  flex: 1;
}

.servizio-name {
  font-family: var(--font-editorial);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--off-white);
  margin-bottom: 0.4rem;
  font-weight: 700;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.servizio-card:hover .servizio-name {
  color: var(--orange);
}

.servizio-anteprima {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.5;
  font-weight: 300;
}

/* Toggle icon (+/-) */
.servizio-toggle {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease,
              background 0.3s ease;
}

.servizio-toggle svg {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s ease;
}

.servizio-card:hover .servizio-toggle {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--orange);
}

.servizio-card:hover .servizio-toggle svg {
  color: var(--orange);
}

/* Hidden detail (content is extracted into modal via JS) */
.servizio-detail {
  display: none;
}

.servizio-detail-inner {
  /* Used as template for the modal */
}

.servizio-detail-title {
  font-family: var(--font-editorial);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--orange);
  font-style: italic;
  font-weight: 400;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.servizio-detail-intro {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-bottom: 1.2rem;
  font-weight: 300;
}

.servizio-detail-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.servizio-detail-list li {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  font-weight: 300;
  padding-left: 1.2rem;
  position: relative;
}

.servizio-detail-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  background: var(--orange);
  border-radius: 50%;
}

.servizio-detail-list li strong {
  color: var(--off-white);
  font-weight: 600;
}

.servizio-detail-closing {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  font-weight: 300;
  font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
  .servizio-trigger {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .servizio-number {
    min-width: auto;
    font-size: 1.5rem;
  }

  .servizio-detail-inner {
    padding-left: clamp(1.5rem, 3vw, 3rem);
  }

  .servizio-toggle {
    width: 30px;
    height: 30px;
  }
}

/* ─── SECTION: LOGO MEANING (Redesigned) ─── */
.logo-section {
  background: linear-gradient(170deg, var(--petrol-dark) 0%, #003039 50%, var(--petrol-dark) 100%);
  padding: clamp(5rem, 10vh, 8rem) var(--page-margin);
  position: relative;
  overflow: hidden;
}

.logo-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
}

/* Header: centered label + large heading */
.logo-header {
  text-align: center;
  margin-bottom: clamp(3rem, 7vh, 5rem);
}

.logo-label {
  font-family: var(--font-system);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.logo-label::before,
.logo-label::after {
  content: '';
  width: 30px;
  height: 1px;
  background: rgba(255,255,255,0.15);
}

.logo-heading {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  color: var(--off-white);
  line-height: 1.1;
  margin-top: 1rem;
}

.logo-heading-accent {
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
}

/* Three-column layout */
.logo-columns {
  max-width: var(--max-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.logo-col {
  padding-top: 0.5rem;
}

.logo-col-label {
  font-family: var(--font-system);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.55rem;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1rem;
  display: block;
}

.logo-col-title {
  font-family: var(--font-editorial);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--off-white);
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.logo-col-accent {
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
}

.logo-col-text {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  font-weight: 300;
}

.logo-col--left {
  text-align: right;
}

.logo-col--right {
  text-align: left;
}

/* Center column: logo image */
.logo-col--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1rem;
}

.logo-center-img {
  width: clamp(120px, 14vw, 180px);
  height: auto;
  filter: drop-shadow(0 10px 40px rgba(230, 92, 45, 0.15));
  transition: transform 0.8s var(--transition-expo);
}

.logo-col--center:hover .logo-center-img {
  transform: scale(1.05);
}

.logo-center-name {
  font-family: var(--font-system);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.55rem;
  color: rgba(255,255,255,0.25);
}

/* Responsive */
@media (max-width: 768px) {
  .logo-columns {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  
  .logo-col--left,
  .logo-col--right {
    text-align: center;
  }

  .logo-col--center {
    order: -1;
  }
}

/* ─── SECTION: MANIFESTO ─── */
.manifesto {
  background: var(--petrol-dark);
  padding: clamp(5rem, 12vh, 10rem) var(--page-margin);
  position: relative;
  overflow: hidden;
}

.manifesto::after {
  content: '';
  position: absolute;
  right: -200px;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 92, 45, 0.08), transparent 70%);
  pointer-events: none;
}

.manifesto-header {
  max-width: var(--max-content);
  margin: 0 auto clamp(3rem, 6vh, 5rem);
}

.manifesto-label {
  font-family: var(--font-system);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.65rem;
  color: var(--orange);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.manifesto-label::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--orange);
}

.manifesto-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--off-white);
  max-width: 700px;
  line-height: 1.05;
}

.manifesto-title .italic {
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
}

.manifesto-grid {
  max-width: var(--max-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.manifesto-card {
  background: rgba(255,255,255,0.03);
  padding: clamp(2rem, 4vw, 3.5rem);
  position: relative;
  overflow: hidden;
  transition: background 0.5s ease;
  border: 1px solid rgba(255,255,255,0.04);
}

.manifesto-card:hover {
  background: rgba(255,255,255,0.06);
}

.manifesto-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--transition-expo);
}

.manifesto-card:hover::before {
  transform: scaleX(1);
}

.manifesto-number {
  font-family: var(--font-editorial);
  font-size: clamp(3rem, 5vw, 5rem);
  color: rgba(230, 92, 45, 0.12);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.manifesto-card-title {
  font-family: var(--font-editorial);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--off-white);
  margin-bottom: 1rem;
  font-style: italic;
  line-height: 1.3;
}

.manifesto-card-text {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  font-weight: 300;
}

/* ─── SECTION: FOUNDERS ─── */
.founders {
  background: linear-gradient(170deg, #f0ebe4 0%, #e8e2d9 50%, #f2ede6 100%);
  padding: clamp(5rem, 12vh, 10rem) var(--page-margin);
  position: relative;
}

.founders-header {
  max-width: var(--max-content);
  margin: 0 auto clamp(3rem, 8vh, 6rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
}

.founders-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--petrol);
  line-height: 1.05;
}

.founders-intro {
  font-size: 1.05rem;
  color: var(--slate);
  line-height: 1.8;
  font-weight: 300;
  max-width: 500px;
  align-self: end;
}

.founders-grid {
  max-width: var(--max-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
}

.founder-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--cream);
  transition: transform 0.5s var(--transition-expo);
}

.founder-card:hover {
  transform: translateY(-8px);
}

.founder-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  max-height: 380px;
}

.founder-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.8s var(--transition-expo);
}

/* ─── EDITORIAL QUOTE ─── */
.editorial-quote {
  padding: clamp(4rem, 8vh, 7rem) var(--page-margin);
  background: linear-gradient(180deg, var(--petrol-dark) 0%, #012a30 100%);
  text-align: center;
  position: relative;
}

.editorial-quote blockquote {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  color: rgba(255,255,255,0.75);
  line-height: 1.3;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  padding: 0 2rem;
}

.editorial-quote blockquote::before {
  content: '\201C';
  position: absolute;
  top: -0.4em;
  left: -0.3em;
  font-size: 4em;
  color: var(--orange);
  opacity: 0.3;
  font-family: var(--font-editorial);
  line-height: 1;
}

.editorial-quote-line {
  width: 50px;
  height: 2px;
  background: var(--orange);
  margin: 1.5rem auto 0;
  border-radius: 2px;
}

.founder-card:hover .founder-image-wrap img {
  transform: scale(1.05);
}

.founder-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 29, 30, 0.7) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

.founder-role {
  font-family: var(--font-system);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.6rem;
  color: var(--orange);
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.1);
}

.founder-info {
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.founder-name {
  font-family: var(--font-editorial);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  color: var(--petrol);
  margin-bottom: 0.3rem;
  line-height: 1.2;
}

.founder-subtitle {
  font-family: var(--font-system);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.6rem;
  color: var(--orange);
  margin-bottom: 1rem;
}

.founder-bio {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.75;
  font-weight: 300;
}

/* ─── SECTION: PORTFOLIO ─── */
.portfolio {
  background: linear-gradient(175deg, #eae5de 0%, #f5f0e9 40%, #e6e0d7 100%);
  padding: clamp(5rem, 12vh, 10rem) var(--page-margin);
  position: relative;
}

.portfolio-header {
  max-width: var(--max-content);
  margin: 0 auto clamp(3rem, 6vh, 5rem);
}

.portfolio-label {
  font-family: var(--font-system);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.65rem;
  color: var(--orange);
  margin-bottom: 1.5rem;
}

.portfolio-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--petrol);
  line-height: 1.05;
}

.portfolio-grid {
  max-width: var(--max-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: auto auto;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--petrol-dark);
  cursor: pointer;
  group: portfolio-item;
}

.portfolio-item:first-child {
  grid-row: 1 / 3;
}

.portfolio-item-inner {
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 350px;
  height: 100%;
  position: relative;
  z-index: 2;
  transition: transform 0.5s var(--transition-expo);
}

.portfolio-item:hover .portfolio-item-inner {
  transform: translateY(-8px);
}

.portfolio-bg-number {
  position: absolute;
  top: -10%;
  right: -5%;
  font-family: var(--font-editorial);
  font-size: clamp(10rem, 20vw, 20rem);
  color: rgba(255,255,255,0.03);
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  z-index: 1;
}

.portfolio-client {
  font-family: var(--font-system);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.6rem;
  color: var(--orange);
  margin-bottom: 1rem;
}

.portfolio-problem-label {
  font-family: var(--font-system);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.55rem;
  color: rgba(255,255,255,0.3);
  margin-bottom: 0.5rem;
}

.portfolio-problem {
  font-family: var(--font-editorial);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: var(--off-white);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.portfolio-solution-label {
  font-family: var(--font-system);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.55rem;
  color: var(--orange);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.portfolio-solution-label::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--orange);
}

.portfolio-solution {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  font-weight: 300;
}

/* Hover gradient overlay */
.portfolio-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(230, 92, 45, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}

.portfolio-item:hover::after {
  opacity: 1;
}

/* Individual item accent colors */
.portfolio-item:nth-child(1) {
  background: linear-gradient(160deg, var(--petrol-dark), var(--petrol));
}

.portfolio-item:nth-child(2) {
  background: linear-gradient(160deg, #1a1a2e, #16213e);
}

.portfolio-item:nth-child(3) {
  background: linear-gradient(160deg, #2d1b2e, #1a0f1e);
}

/* ─── SECTION: SERVICES TICKER ─── */
.services-ticker {
  background: var(--petrol);
  padding: 2rem 0;
  overflow: hidden;
}

.services-ticker-track {
  display: flex;
  animation: marqueeScroll 40s linear infinite;
  width: max-content;
}

.services-ticker-item {
  font-family: var(--font-editorial);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: rgba(255,255,255,0.15);
  white-space: nowrap;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  font-style: italic;
  transition: color 0.3s ease;
}

.services-ticker-item:hover {
  color: var(--orange);
}

.services-ticker-item::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
  font-style: normal;
}

/* ─── SECTION: CONTACT ─── */
.contact {
  background: var(--petrol-dark);
  padding: clamp(5rem, 12vh, 10rem) var(--page-margin);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  left: -200px;
  bottom: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 92, 45, 0.06), transparent 70%);
  pointer-events: none;
}

.contact-content {
  max-width: var(--max-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.contact-left {
  position: sticky;
  top: 6rem;
}

.contact-label {
  font-family: var(--font-system);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.65rem;
  color: var(--orange);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-label::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--orange);
}

.contact-title {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  color: var(--off-white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.contact-title .italic {
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
}

.contact-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.8;
  font-weight: 300;
  max-width: 450px;
}

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

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.2rem 0;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.4s ease;
  resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.25);
  font-style: italic;
  font-family: var(--font-editorial);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--orange);
}

.form-group label {
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-system);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.55rem;
  color: rgba(255,255,255,0.3);
  transform: translateY(-0.5rem);
}

.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-system);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  color: var(--petrol-dark);
  background: var(--orange);
  padding: 1.2rem 2.5rem;
  border-radius: 100px;
  margin-top: 1rem;
  transition: transform 0.3s var(--transition-spring),
              background 0.3s ease,
              gap 0.3s var(--transition-spring);
  font-weight: 600;
  align-self: flex-start;
}

.form-submit:hover {
  transform: scale(1.03);
  background: var(--orange-hot);
  gap: 1.5rem;
}

.form-submit svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--transition-spring);
}

.form-submit:hover svg {
  transform: translateX(4px);
}

/* Success state */
.form-success {
  display: none;
  text-align: center;
  padding: 3rem;
}

.form-success.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  animation: heroFadeUp 0.6s var(--transition-expo) forwards;
}

.form-success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.form-success h3 {
  color: var(--off-white);
  font-size: 1.5rem;
}

.form-success p {
  color: rgba(255,255,255,0.5);
  font-weight: 300;
}

/* ─── FOOTER ─── */
.footer {
  background: var(--petrol-dark);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 3rem var(--page-margin);
}

.footer-content {
  max-width: var(--max-content);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.footer-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.footer-copy {
  font-family: var(--font-system);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.6rem;
  color: rgba(255,255,255,0.3);
}

.footer-phone {
  font-family: var(--font-system);
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  color: var(--orange);
  transition: color 0.3s ease;
}

.footer-phone:hover {
  color: var(--orange-hot);
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-family: var(--font-system);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.6rem;
  color: rgba(255,255,255,0.3);
  transition: color 0.3s ease;
}

.footer-links a:hover { color: var(--orange); }

/* Footer Legal Links */
.footer-legal {
  max-width: var(--max-content);
  margin: 0 auto;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.footer-legal a {
  font-family: var(--font-system);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.55rem;
  color: rgba(255,255,255,0.25);
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--orange);
}

.footer-legal-sep {
  color: rgba(255,255,255,0.1);
  font-size: 0.55rem;
}

/* ─── CTA BUTTON "Lavoriamo insieme" ─── */
.section-cta-wrap {
  display: flex;
  justify-content: center;
  padding-top: clamp(2.5rem, 5vh, 4rem);
}

.btn-cta {
  font-family: var(--font-system);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--off-white);
  background: transparent;
  border: 1px solid rgba(230, 92, 45, 0.4);
  padding: 1rem 2.5rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease, border-color 0.4s ease, transform 0.3s ease;
}

.btn-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.btn-cta:hover {
  color: var(--petrol-dark);
  border-color: var(--orange);
  transform: translateY(-2px);
}

.btn-cta:hover::before {
  transform: scaleX(1);
}

/* Dark section variant */
.manifesto .btn-cta,
.servizi .btn-cta {
  border-color: rgba(230, 92, 45, 0.3);
}

/* Light section variant */
.founders .btn-cta,
.portfolio .btn-cta {
  color: var(--petrol);
  border-color: rgba(0, 77, 86, 0.3);
}

.founders .btn-cta:hover,
.portfolio .btn-cta:hover {
  color: var(--off-white);
  border-color: var(--orange);
}

/* Service/Timeline Modal CTA variant */
.service-modal .btn-cta {
  background: var(--orange);
  color: var(--off-white);
  border-color: var(--orange);
}

.service-modal .btn-cta:hover {
  color: var(--orange);
  background: transparent;
  border-color: var(--orange);
}

.service-modal .btn-cta::before {
  display: none;
}

/* ─── CONTACT MODAL ─── */
.contact-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(0, 20, 22, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.contact-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.contact-modal {
  background: var(--petrol-dark);
  border: 1px solid rgba(255, 255, 255, 0.06);
  width: 90vw;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 12px;
  padding: clamp(2rem, 4vw, 3rem);
  position: relative;
  transform: translateY(30px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.contact-modal-overlay.active .contact-modal {
  transform: translateY(0) scale(1);
}

.contact-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: var(--off-white);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.3s ease, transform 0.3s ease;
}

.contact-modal-close svg {
  width: 16px;
  height: 16px;
}

.contact-modal-close:hover {
  background: var(--orange);
  transform: rotate(90deg);
}

.contact-modal-header {
  margin-bottom: 2rem;
}

.contact-modal-title {
  font-family: var(--font-editorial);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--off-white);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-modal-subtitle {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 300;
  line-height: 1.5;
}

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

.contact-modal-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.contact-modal-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-modal-field label {
  font-family: var(--font-system);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 600;
}

.contact-modal-field input,
.contact-modal-field textarea {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--off-white);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 0.8rem 1rem;
  transition: border-color 0.3s ease, background 0.3s ease;
  outline: none;
  resize: vertical;
}

.contact-modal-field input::placeholder,
.contact-modal-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.contact-modal-field input:focus,
.contact-modal-field textarea:focus {
  border-color: var(--orange);
  background: rgba(230, 92, 45, 0.04);
}

.contact-modal-submit {
  font-family: var(--font-system);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--petrol-dark);
  background: var(--orange);
  border: none;
  padding: 1rem 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 0.5rem;
  transition: background 0.3s ease, transform 0.3s ease;
  border-radius: 6px;
}

.contact-modal-submit svg {
  width: 16px;
  height: 16px;
}

.contact-modal-submit:hover {
  background: var(--orange-hot);
  transform: translateY(-2px);
}

.contact-modal-success {
  display: none;
  text-align: center;
  padding: 2rem 0;
}

.contact-modal-success.visible {
  display: block;
}

.contact-modal-success-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--petrol-dark);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.contact-modal-success h3 {
  font-family: var(--font-editorial);
  color: var(--off-white);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.contact-modal-success p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 300;
}

@media (max-width: 768px) {
  .contact-modal-row {
    grid-template-columns: 1fr;
  }
  
  .contact-modal {
    padding: 1.5rem;
    max-height: 85vh;
  }
}

/* ─── SERVICE MODAL (Light Theme) ─── */
.service-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(0, 20, 22, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.service-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.service-modal {
  background: var(--cream);
  width: 90vw;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 12px;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem);
  position: relative;
  transform: translateY(30px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.service-modal-overlay.active .service-modal {
  transform: translateY(0) scale(1);
}

.service-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(0, 77, 86, 0.08);
  color: var(--petrol);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.service-modal-close svg {
  width: 16px;
  height: 16px;
}

.service-modal-close:hover {
  background: var(--orange);
  color: var(--off-white);
  transform: rotate(90deg);
}

.service-modal-content .servizio-detail-title {
  font-family: var(--font-editorial);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--petrol);
  font-style: italic;
  font-weight: 400;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.service-modal-content .servizio-detail-intro {
  font-size: 1rem;
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.service-modal-content .servizio-detail-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.service-modal-content .servizio-detail-list li {
  font-size: 0.95rem;
  color: var(--slate);
  line-height: 1.6;
  font-weight: 300;
  padding-left: 1.5rem;
  position: relative;
}

.service-modal-content .servizio-detail-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
}

.service-modal-content .servizio-detail-list li strong {
  color: var(--petrol);
  font-weight: 600;
}

.service-modal-content .servizio-detail-closing {
  font-size: 1rem;
  color: var(--slate);
  line-height: 1.7;
  font-weight: 300;
  font-style: italic;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 77, 86, 0.1);
}

@media (max-width: 768px) {
  .service-modal {
    padding: 2.5rem 1.5rem 1.5rem;
  }
}

.service-modal-actions {
  margin-top: 2.5rem;
  display: flex;
  justify-content: flex-start;
}

/* ─── TIMELINE MODAL ─── */
.timeline-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10002;
  background: rgba(0, 20, 22, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.timeline-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.timeline-modal-overlay.active .timeline-modal {
  transform: translateY(0) scale(1);
}

.timeline-modal-title {
  font-family: var(--font-editorial);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--petrol);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.timeline-modal-subtitle {
  font-size: 1rem;
  color: var(--slate);
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.timeline-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  position: relative;
}

.timeline-list::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 14px;
  width: 2px;
  background: rgba(0, 77, 86, 0.1);
}

.timeline-list li {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.timeline-list li:last-child {
  margin-bottom: 0;
}

.timeline-num {
  font-family: var(--font-editorial);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--off-white);
  background: var(--petrol);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 4px var(--cream);
}

.timeline-text {
  font-size: 0.95rem;
  color: var(--petrol);
  line-height: 1.5;
  padding-top: 5px;
  font-weight: 500;
}

/* ─── POLICY MODAL ─── */
.policy-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 20, 22, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.policy-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.policy-modal {
  background: var(--off-white);
  width: 90vw;
  max-width: 800px;
  height: 85vh;
  max-height: 700px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transform: translateY(30px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.policy-modal-overlay.active .policy-modal {
  transform: translateY(0) scale(1);
}

.policy-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--petrol);
  color: var(--off-white);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.3s ease, transform 0.3s ease;
}

.policy-modal-close svg {
  width: 16px;
  height: 16px;
}

.policy-modal-close:hover {
  background: var(--orange);
  transform: rotate(90deg);
}

.policy-modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(0, 77, 86, 0.08);
  flex-shrink: 0;
}

.policy-modal-title {
  font-family: var(--font-editorial);
  font-size: 1.4rem;
  color: var(--petrol);
  font-weight: 700;
}

.policy-modal-iframe {
  flex: 1;
  width: 100%;
  border: none;
  background: #fff;
}

@media (max-width: 768px) {
  .policy-modal {
    width: 95vw;
    height: 90vh;
    max-height: none;
    border-radius: 8px;
  }

  .policy-modal-header {
    padding: 1.2rem 1.5rem;
  }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .manifesto-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .founders-header {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .portfolio-item:first-child {
    grid-row: auto;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-left {
    position: static;
  }
  
  .logo-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  
  .nav-toggle { display: flex; }
  
  .founders-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: clamp(2.5rem, 12vw, 4.5rem);
  }
  
  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  .footer-left {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ─── MOBILE MENU OVERLAY ─── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--petrol-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-family: var(--font-editorial);
  font-size: clamp(2rem, 6vw, 3rem);
  color: var(--off-white);
  transition: color 0.3s ease;
}

.mobile-menu a:hover { color: var(--orange); }

/* ─── NOISE TEXTURE GLOBAL ─── */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* ─── SMOOTH SCROLL PROGRESS ─── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--orange);
  z-index: 10001;
  transition: width 0.1s linear;
}

/* ─── BACK TO TOP ─── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--petrol);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s var(--transition-spring);
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--orange);
  transform: translateY(-4px);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
  color: var(--off-white);
}
