/* ═══════════════════════════════════════════════════
   DANTE PREMIUM — Inspired by Dante Alighieri
   Colors from logo: Orange #F08A24 + Cyan #00A0E3
   Motifs: Concentric circles (Inferno layers),
   stars (Paradiso), spiral journey, three-part structure
   ═══════════════════════════════════════════════════ */

:root {
  /* Logo colors */
  --orange: #F08A24;
  --orange-light: #F9A84D;
  --orange-dark: #C97210;
  --cyan: #00A0E3;
  --cyan-light: #33C4FF;
  --cyan-dark: #0080B8;

  /* Dark theme */
  --color-bg: #0B0F1A;
  --color-surface: #101626;
  --color-surface-2: #151D33;
  --color-surface-3: #1A2440;
  --color-dark: #070A12;
  --color-text: #F0F2F5;
  --color-muted: #7B8BA8;
  --color-border: rgba(255,255,255,0.07);
  --color-white: #ffffff;

  /* Gradients */
  --grad-brand: linear-gradient(135deg, var(--orange), var(--cyan));
  --grad-warm: linear-gradient(135deg, var(--orange), var(--orange-light));
  --grad-cool: linear-gradient(135deg, var(--cyan), var(--cyan-light));

  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Easings */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* Layout */
  --container: 1280px;
  --container-sm: 800px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --header-h: 80px;
  --radius: 16px;
  --radius-sm: 8px;
}

/* ── RESET ─────────────────────────────── */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{font-size:16px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;scroll-behavior:auto}
body{font-family:var(--font-body);background:var(--color-bg);color:var(--color-text);line-height:1.6;overflow-x:hidden}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
ul{list-style:none}
button{background:none;border:none;color:inherit;cursor:pointer;font-family:inherit}
address{font-style:normal}

/* ── UTILITIES ─────────────────────────── */
.container{max-width:var(--container);margin:0 auto;padding:0 var(--gutter)}
.container-sm{max-width:var(--container-sm);margin:0 auto;padding:0 var(--gutter)}

/* ── CUSTOM CURSOR ─────────────────────── */
.cursor-dot,.cursor-ring{position:fixed;top:0;left:0;pointer-events:none;z-index:9999;border-radius:50%;opacity:0;transition:opacity .3s}
.cursor-dot{width:6px;height:6px;background:var(--orange);transform:translate(-50%,-50%)}
.cursor-ring{width:40px;height:40px;border:1.5px solid rgba(0,160,227,.5);transform:translate(-50%,-50%);mix-blend-mode:difference}
body:hover .cursor-dot,body:hover .cursor-ring{opacity:1}
@media(pointer:coarse){.cursor-dot,.cursor-ring{display:none!important}}

/* ═══════════════════════════════════════════
   DANTE MOTIF: Concentric Circles (background)
   Inspired by the nine circles of Inferno
   ═══════════════════════════════════════════ */
.dante-circles{
  position:absolute;pointer-events:none;
  width:600px;height:600px;
  opacity:.04;
}
.dante-circles::before,.dante-circles::after,
.dante-circles span::before,.dante-circles span::after{
  content:'';position:absolute;border-radius:50%;
  border:1px solid var(--cyan);
  top:50%;left:50%;transform:translate(-50%,-50%);
}
.dante-circles::before{width:100%;height:100%}
.dante-circles::after{width:80%;height:80%}
.dante-circles span::before{width:60%;height:60%;border-color:var(--orange)}
.dante-circles span::after{width:40%;height:40%;border-color:var(--cyan)}

/* Spiral decoration */
.dante-spiral{
  position:absolute;pointer-events:none;
  width:300px;height:300px;
  opacity:.06;
  background:conic-gradient(from 0deg,transparent,var(--cyan),transparent,var(--orange),transparent);
  border-radius:50%;
  mask-image:radial-gradient(circle,transparent 40%,black 41%,black 42%,transparent 43%,transparent 60%,black 61%,black 62%,transparent 63%,transparent 80%,black 81%,black 82%,transparent 83%);
  -webkit-mask-image:radial-gradient(circle,transparent 40%,black 41%,black 42%,transparent 43%,transparent 60%,black 61%,black 62%,transparent 63%,transparent 80%,black 81%,black 82%,transparent 83%);
}

/* Star motif — Paradiso */
.dante-star{
  position:absolute;pointer-events:none;
  width:4px;height:4px;
  background:var(--orange);
  border-radius:50%;
  box-shadow:0 0 6px var(--orange),0 0 12px rgba(240,138,36,.3);
}

/* ═══════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════ */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:1000;
  height:var(--header-h);display:flex;align-items:center;
  transition:background .4s,backdrop-filter .4s,box-shadow .4s;
}
.site-header.scrolled{
  background:rgba(11,15,26,.9);
  backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);
  border-bottom:1px solid var(--color-border);
  box-shadow:0 4px 30px rgba(0,0,0,.3);
}
.header-inner{
  max-width:var(--container);margin:0 auto;padding:0 var(--gutter);
  width:100%;display:flex;align-items:center;justify-content:space-between;
}
.header-logo img{height:48px;width:auto}
.nav-menu{display:flex;gap:2rem}
.nav-link{
  font-size:.875rem;font-weight:500;letter-spacing:.02em;
  color:var(--color-muted);transition:color .3s;position:relative;
}
.nav-link:hover,.nav-link.active{color:var(--color-white)}
.nav-link::after{
  content:'';position:absolute;bottom:-4px;left:0;
  width:0;height:2px;background:var(--grad-brand);
  transition:width .3s var(--ease-out);
}
.nav-link:hover::after,.nav-link.active::after{width:100%}
.header-actions{display:flex;align-items:center;gap:1rem}
.lang-switch{
  font-size:.75rem;font-weight:600;letter-spacing:.1em;
  padding:.35rem .75rem;border:1px solid var(--color-border);
  border-radius:4px;transition:all .3s;
}
.lang-switch:hover{border-color:var(--cyan);color:var(--cyan)}
.btn-header{
  font-size:.8rem;font-weight:600;padding:.6rem 1.5rem;
  border-radius:100px;background:var(--grad-brand);color:var(--color-white);
  transition:transform .3s,box-shadow .3s;
}
.btn-header:hover{transform:translateY(-1px);box-shadow:0 4px 20px rgba(240,138,36,.3)}
.hamburger{display:none;flex-direction:column;gap:5px;width:28px}
.hamburger span{display:block;height:2px;background:var(--color-white);border-radius:2px;transition:all .3s}
.hamburger.active span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.hamburger.active span:nth-child(2){opacity:0}
.hamburger.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* ── MOBILE MENU ───────────────────────── */
.mobile-menu{
  position:fixed;inset:0;z-index:999;
  background:rgba(11,15,26,.98);backdrop-filter:blur(30px);
  display:flex;flex-direction:column;
  justify-content:flex-start;align-items:center;
  padding:var(--header-h) var(--gutter) 1rem;
  overflow-y:auto;-webkit-overflow-scrolling:touch;
  opacity:0;pointer-events:none;transition:opacity .4s;
}
.mobile-menu.open{opacity:1;pointer-events:all}
.mobile-nav{
  display:flex;flex-direction:column;gap:0;
  text-align:center;width:100%;max-width:320px;
}
.mobile-nav a{
  font-family:var(--font-heading);font-size:.95rem;font-weight:600;
  color:var(--color-muted);transition:all .3s;
  padding:0.6rem 0;
  border-bottom:1px solid var(--color-border);
  letter-spacing:.02em;
}
.mobile-nav a:first-child{border-top:1px solid var(--color-border)}
.mobile-nav a:hover{color:var(--orange)}
body.light-mode .mobile-menu{background:rgba(250,250,247,.98)}
body.light-mode .mobile-nav a{color:#5A6070;border-color:rgba(0,0,0,.06)}
body.light-mode .mobile-nav a:hover{color:var(--orange)}

/* ═══════════════════════════════════════════
   HERO — "Nel mezzo del cammin di nostra vita"
   Three concentric circles behind, star field
   ═══════════════════════════════════════════ */
.hero{
  position:relative;min-height:100vh;
  display:flex;align-items:center;justify-content:center;
  overflow:hidden;
}
.hero-bg{position:absolute;inset:0;z-index:0}
.hero-gradient{
  position:absolute;inset:0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%,rgba(0,160,227,.1) 0%,transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 100%,rgba(240,138,36,.06) 0%,transparent 50%);
}
/* Fallback bg when no video */
.hero-bg{background:var(--color-bg)}

.hero-grid-overlay{
  position:absolute;inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.02) 1px,transparent 1px);
  background-size:60px 60px;
  mask-image:radial-gradient(ellipse 70% 70% at 50% 50%,black 20%,transparent 70%);
  -webkit-mask-image:radial-gradient(ellipse 70% 70% at 50% 50%,black 20%,transparent 70%);
}
/* Dante circles behind hero */
.hero .dante-circles{
  top:50%;left:50%;transform:translate(-50%,-50%);
  width:min(800px,90vw);height:min(800px,90vw);
  opacity:.05;
}
.hero-particles{position:absolute;inset:0}
.hero-particle{
  position:absolute;width:3px;height:3px;
  border-radius:50%;opacity:.4;
}
.hero-particle--orange{background:var(--orange);box-shadow:0 0 4px var(--orange)}
.hero-particle--cyan{background:var(--cyan);box-shadow:0 0 4px var(--cyan)}

.hero-content{
  position:relative;z-index:1;text-align:center;
  max-width:900px;padding:0 var(--gutter);
}
.hero-badge{
  display:inline-flex;align-items:center;gap:.5rem;
  font-size:.8rem;font-weight:500;letter-spacing:.15em;text-transform:uppercase;
  color:var(--orange);margin-bottom:2rem;opacity:0;
}
.hero-badge-dot{
  width:8px;height:8px;background:var(--orange);
  border-radius:50%;animation:pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot{
  0%,100%{opacity:1;transform:scale(1)}
  50%{opacity:.5;transform:scale(1.5)}
}
.hero-title{
  font-family:var(--font-heading);
  font-size:clamp(3rem,8vw,6.5rem);
  font-weight:700;line-height:1.05;letter-spacing:-.03em;
  margin-bottom:1.5rem;
}
.hero-line{display:block;overflow:hidden;opacity:0;clip-path:inset(0 0 100% 0)}
.hero-line--accent{
  background:var(--grad-brand);
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
}
.hero-subtitle{
  font-size:clamp(1rem,2vw,1.25rem);color:var(--color-muted);
  max-width:600px;margin:0 auto 2.5rem;opacity:0;
}
.hero-ctas{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap;opacity:0}

/* Buttons */
.btn{
  display:inline-flex;align-items:center;gap:.5rem;
  font-family:var(--font-body);font-size:.9rem;font-weight:600;
  padding:1rem 2rem;border-radius:100px;
  transition:all .4s var(--ease-out);cursor:pointer;border:none;
  position:relative;overflow:hidden;
}
.btn::before{
  content:'';position:absolute;inset:0;
  background:linear-gradient(135deg,rgba(255,255,255,.1),transparent);
  opacity:0;transition:opacity .3s;
}
.btn:hover::before{opacity:1}
.btn-primary{background:var(--grad-brand);color:var(--color-white)}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 8px 30px rgba(240,138,36,.3)}
.btn-ghost{background:transparent;color:var(--color-white);border:1px solid var(--color-border)}
.btn-ghost:hover{border-color:var(--cyan);color:var(--cyan)}
.btn-white{background:var(--color-white);color:var(--color-bg)}
.btn-white:hover{transform:translateY(-2px);box-shadow:0 8px 30px rgba(255,255,255,.2)}
.btn-ghost-light{background:transparent;color:var(--color-white);border:1px solid rgba(255,255,255,.3)}
.btn-ghost-light:hover{border-color:var(--color-white)}
.btn-orange{background:var(--orange);color:var(--color-white)}
.btn-orange:hover{background:var(--orange-light);transform:translateY(-2px);box-shadow:0 8px 30px rgba(240,138,36,.4)}

/* Scroll indicator */
.hero-scroll-indicator{
  position:absolute;bottom:2rem;left:50%;transform:translateX(-50%);
  display:flex;flex-direction:column;align-items:center;gap:.75rem;opacity:0;
}
.scroll-line{
  width:1px;height:60px;
  background:linear-gradient(to bottom,var(--orange),var(--cyan),transparent);
  animation:scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse{
  0%{transform:scaleY(0);transform-origin:top}
  50%{transform:scaleY(1);transform-origin:top}
  51%{transform-origin:bottom}
  100%{transform:scaleY(0);transform-origin:bottom}
}
.hero-scroll-indicator span{
  font-size:.7rem;letter-spacing:.2em;text-transform:uppercase;color:var(--color-muted)
}

/* ═══════════════════════════════════════════
   SECTION COMMON
   ═══════════════════════════════════════════ */
.section-label{
  display:inline-block;font-size:.75rem;font-weight:600;
  letter-spacing:.2em;text-transform:uppercase;
  color:var(--orange);margin-bottom:1rem;
}
.section-title{
  font-family:var(--font-heading);
  font-size:clamp(2rem,5vw,3.5rem);font-weight:700;
  line-height:1.1;letter-spacing:-.02em;margin-bottom:1rem;
}
.section-title em{
  font-style:normal;
  background:var(--grad-brand);
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
}
.section-subtitle{
  font-size:1.1rem;color:var(--color-muted);
  max-width:600px;line-height:1.7;
}
.section-divider{
  width:60px;height:3px;
  background:var(--grad-brand);
  border-radius:2px;margin:1.5rem 0;
}

/* ═══════════════════════════════════════════
   SERVICES — Three Realms (Tre Regni)
   Horizontal scroll with Dante circle borders
   ═══════════════════════════════════════════ */
.services{padding:8rem 0 0;position:relative}
.services-header{text-align:center;padding:0 var(--gutter);margin-bottom:4rem}
.services-track-wrapper{overflow:hidden}
.services-track{display:flex;gap:2rem;padding:2rem var(--gutter);width:max-content}
.service-card{
  width:clamp(320px,30vw,420px);flex-shrink:0;
  background:var(--color-surface);
  border:1px solid var(--color-border);
  border-radius:var(--radius);padding:2.5rem;
  position:relative;overflow:hidden;
  transition:border-color .4s,transform .4s,box-shadow .4s;
}
/* Dante circle decoration in card corner */
.service-card::after{
  content:'';position:absolute;
  top:-40px;right:-40px;width:120px;height:120px;
  border-radius:50%;border:1px solid var(--accent,var(--orange));
  opacity:.08;transition:opacity .4s;
}
.service-card:hover::after{opacity:.15}
.service-card::before{
  content:'';position:absolute;top:0;left:0;right:0;
  height:3px;background:linear-gradient(90deg,var(--accent,var(--orange)),var(--cyan));
  transform:scaleX(0);transform-origin:left;transition:transform .6s var(--ease-out);
}
.service-card:hover::before{transform:scaleX(1)}
.service-card:hover{
  border-color:rgba(255,255,255,.12);
  transform:translateY(-4px);
  box-shadow:0 20px 50px rgba(0,0,0,.3);
}
.service-number{
  font-family:var(--font-heading);font-size:4rem;font-weight:700;
  color:rgba(255,255,255,.03);position:absolute;top:1.5rem;right:1.5rem;
}
.service-icon{color:var(--accent,var(--orange));margin-bottom:1.5rem}
.service-card[data-accent="orange"]{--accent:var(--orange)}
.service-card[data-accent="cyan"]{--accent:var(--cyan)}
.service-card[data-accent="emerald"]{--accent:#4ecdc4}
.service-card[data-accent="coral"]{--accent:#ff6b6b}
.service-card[data-accent="violet"]{--accent:#a78bfa}
.service-badge{
  display:inline-block;font-size:.65rem;font-weight:700;
  letter-spacing:.25em;text-transform:uppercase;
  color:var(--accent,var(--orange));
  padding:.3rem .75rem;border:1px solid currentColor;
  border-radius:100px;margin-bottom:1rem;opacity:.7;
}
.service-title{font-family:var(--font-heading);font-size:1.5rem;font-weight:600;margin-bottom:.75rem}
.service-desc{font-size:.9rem;color:var(--color-muted);line-height:1.7;margin-bottom:1.5rem}
.service-link{
  display:inline-flex;align-items:center;gap:.5rem;
  font-size:.85rem;font-weight:600;
  color:var(--accent,var(--orange));transition:gap .3s;
}
.service-link:hover{gap:.75rem}

/* ═══════════════════════════════════════════
   NAV DROPDOWN — Services hover menu
   ═══════════════════════════════════════════ */
.nav-item{position:relative}
.nav-item .nav-link{display:flex;align-items:center;gap:.3rem}
.nav-item .nav-link::before{content:none} /* no underline for dropdown trigger */
.dropdown-menu{
  position:absolute;top:100%;left:50%;transform:translateX(-50%) translateY(8px);
  min-width:220px;padding:.75rem 0;
  background:var(--color-surface);border:1px solid var(--color-border);
  border-radius:var(--radius-sm);
  box-shadow:0 15px 40px rgba(0,0,0,.3);
  opacity:0;visibility:hidden;
  transition:opacity .3s,transform .3s,visibility .3s;
  z-index:100;
}
.nav-item:hover .dropdown-menu{
  opacity:1;visibility:visible;transform:translateX(-50%) translateY(0);
}
.dropdown-menu a{
  display:block;padding:.6rem 1.25rem;
  font-size:.85rem;color:var(--color-muted);
  transition:color .2s,background .2s;
}
.dropdown-menu a:hover{color:var(--color-text);background:rgba(255,255,255,.04)}
body.light-mode .dropdown-menu{
  background:var(--color-surface);box-shadow:0 15px 40px rgba(0,0,0,.1);
}
body.light-mode .dropdown-menu a:hover{background:rgba(0,0,0,.03)}
/* Dropdown arrow */
.nav-link .dropdown-arrow{
  width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;
  border-top:4px solid currentColor;transition:transform .3s;
}
.nav-item:hover .dropdown-arrow{transform:rotate(180deg)}

/* ═══════════════════════════════════════════
   VIDEO HERO
   ═══════════════════════════════════════════ */
.hero-video{
  position:absolute;inset:0;z-index:0;overflow:hidden;
}
.hero-video video{
  width:100%;height:100%;object-fit:cover;
  filter:brightness(.55) saturate(1.1);
}
.hero-video::after{
  content:'';position:absolute;inset:0;
  background:linear-gradient(to bottom,rgba(11,15,26,.25) 0%,rgba(11,15,26,.5) 60%,rgba(11,15,26,.8) 100%);
}
body.light-mode .hero-video video{filter:blur(3px) brightness(.7)}
body.light-mode .hero-video::after{
  background:linear-gradient(to bottom,rgba(245,246,250,.5),rgba(245,246,250,.8));
}

/* ═══════════════════════════════════════════
   STATS — Circle-enclosed numbers
   ═══════════════════════════════════════════ */
.stats{
  padding:8rem 0;position:relative;
  background:var(--color-surface);
  border-top:1px solid var(--color-border);
  border-bottom:1px solid var(--color-border);
}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:2rem;text-align:center}
.stat-item{padding:2rem 1rem;position:relative}
/* Dante circle around stat */
.stat-item::before{
  content:'';position:absolute;
  top:50%;left:50%;transform:translate(-50%,-50%);
  width:140px;height:140px;border-radius:50%;
  border:1px solid var(--color-border);opacity:.5;
}
.stat-number{
  font-family:var(--font-heading);
  font-size:clamp(2.5rem,5vw,4rem);font-weight:700;
  background:linear-gradient(135deg,var(--orange),var(--cyan));
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
}
.stat-suffix{
  font-family:var(--font-heading);font-size:clamp(2rem,4vw,3rem);
  font-weight:700;color:var(--orange);
}
.stat-label{
  display:block;font-size:.85rem;color:var(--color-muted);
  margin-top:.5rem;letter-spacing:.05em;
}
/* Stats row variant for sub pages */
.stats-row{
  display:grid;grid-template-columns:repeat(4,1fr);gap:2rem;
  text-align:center;margin-top:3rem;
}
.stats-row .stat-item{padding:2rem 1rem;position:relative}
.stats-row .stat-item::before{
  content:'';position:absolute;
  top:50%;left:50%;transform:translate(-50%,-50%);
  width:130px;height:130px;border-radius:50%;
  border:1px solid var(--color-border);opacity:.5;
}

/* ═══════════════════════════════════════════
   ABOUT — Journey theme with parallax images
   ═══════════════════════════════════════════ */
.about{padding:10rem 0;overflow:hidden;position:relative}
.about-grid{display:grid;grid-template-columns:55% 45%;gap:4rem;align-items:center}
.about-title{margin-bottom:2rem}
.about-title .word-wrap{display:block;overflow:hidden}
.about-lead{font-size:1.15rem;line-height:1.7;margin-bottom:1.5rem}
.about-body{font-size:.95rem;color:var(--color-muted);line-height:1.8;margin-bottom:2rem}
.about-values{display:flex;flex-wrap:wrap;gap:.75rem}
.value-chip{
  font-size:.8rem;font-weight:500;padding:.5rem 1.25rem;
  border:1px solid var(--color-border);border-radius:100px;
  color:var(--color-muted);transition:all .3s;
}
.value-chip:hover{border-color:var(--orange);color:var(--orange)}
.about-visual{position:relative;height:500px}
.about-img{
  position:absolute;border-radius:var(--radius);overflow:hidden;
  box-shadow:0 20px 60px rgba(0,0,0,.4);
}
.about-img img{width:100%;height:100%;object-fit:cover}
.about-img--back{width:70%;height:80%;top:0;left:0}
.about-img--front{
  width:60%;height:65%;bottom:0;right:0;
  border:3px solid var(--color-bg);
}
/* Dante spiral decoration behind images */
.about-visual .dante-spiral{
  top:-50px;right:-50px;width:250px;height:250px;
  opacity:.08;animation:spin-slow 30s linear infinite;
}
@keyframes spin-slow{to{transform:rotate(360deg)}}

.about-float-stat{
  position:absolute;bottom:2rem;left:2rem;
  background:var(--grad-brand);color:var(--color-white);
  padding:1.25rem 1.75rem;border-radius:var(--radius-sm);
  text-align:center;z-index:2;
}
.about-float-number{
  display:block;font-family:var(--font-heading);
  font-size:2rem;font-weight:700;line-height:1;
}
.about-float-label{
  font-size:.7rem;font-weight:500;letter-spacing:.1em;
  text-transform:uppercase;opacity:.9;
}

/* ═══════════════════════════════════════════
   TIMELINE — Dante's Journey through time
   Vertical line = the path through circles
   ═══════════════════════════════════════════ */
.timeline-section{
  padding:10rem 0;background:var(--color-surface);
  overflow:hidden;position:relative;
}
.timeline-header{text-align:center;margin-bottom:5rem}
.timeline{position:relative;max-width:900px;margin:0 auto}
.timeline-line{
  position:absolute;top:0;bottom:0;left:50%;
  width:2px;background:var(--color-border);transform:translateX(-50%);
}
.timeline-line-fill{
  width:100%;height:0%;
  background:linear-gradient(to bottom,var(--orange),var(--cyan));
  transition:height .1s linear;
}
.timeline-item{position:relative;display:flex;width:50%;padding:0 3rem 4rem}
.timeline-item--left{justify-content:flex-end;padding-right:3rem;text-align:right}
.timeline-item--right{margin-left:50%;padding-left:3rem}
.timeline-dot{
  position:absolute;top:.5rem;width:16px;height:16px;
  background:var(--color-bg);
  border:2px solid var(--orange);border-radius:50%;z-index:2;
  transform:scale(0);
}
/* Outer ring — Dante circle motif */
.timeline-dot::after{
  content:'';position:absolute;
  top:-4px;left:-4px;right:-4px;bottom:-4px;
  border-radius:50%;border:1px solid var(--cyan);opacity:.5;
}
.timeline-item--left .timeline-dot{right:-8px}
.timeline-item--right .timeline-dot{left:-8px}
.timeline-card{opacity:0}
.timeline-year{
  display:inline-block;font-family:var(--font-heading);
  font-size:.75rem;font-weight:700;letter-spacing:.15em;
  background:var(--grad-brand);
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
  padding:.3rem .75rem;
  border:1px solid var(--orange);border-radius:100px;margin-bottom:.75rem;
}
.timeline-card h4{font-family:var(--font-heading);font-size:1.15rem;font-weight:600;margin-bottom:.5rem}
.timeline-card p{font-size:.875rem;color:var(--color-muted);line-height:1.7}

/* ═══════════════════════════════════════════
   CLIENTS — Marquee with brand typography
   ═══════════════════════════════════════════ */
.clients{padding:8rem 0;text-align:center;overflow:hidden}
.clients .section-title{margin-bottom:4rem}
.marquee-wrapper{display:flex;flex-direction:column;gap:1.5rem}
.marquee{overflow:hidden;width:100%}
.marquee-track{display:flex;gap:3rem;width:max-content;animation:marquee-scroll 30s linear infinite}
.marquee--reverse .marquee-track{animation-direction:reverse}
@keyframes marquee-scroll{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}
.marquee-item{
  font-family:var(--font-heading);font-size:clamp(1.5rem,3vw,2.5rem);
  font-weight:700;white-space:nowrap;cursor:default;padding:.5rem 0;
  color:rgba(255,255,255,.08);transition:color .4s;
}
.marquee-item:hover{color:rgba(255,255,255,.35)}
/* Alternating orange/cyan on hover */
.marquee-item:nth-child(odd):hover{color:rgba(240,138,36,.4)}
.marquee-item:nth-child(even):hover{color:rgba(0,160,227,.4)}

/* ═══════════════════════════════════════════
   REFERENCES — Logo Grid
   ═══════════════════════════════════════════ */
.references{padding:8rem 0;text-align:center;background:var(--color-surface)}
.references .section-title{margin-bottom:1rem}
.references .section-subtitle{margin:0 auto 3rem;text-align:center}
.ref-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:1.5rem;
  max-width:1000px;margin:0 auto;
}
.ref-card{
  background:var(--color-surface-2);
  border:1px solid var(--color-border);
  border-radius:var(--radius-sm);
  padding:2rem 1.5rem;
  display:flex;align-items:center;justify-content:center;
  min-height:100px;
  transition:all .4s var(--ease-out);
  position:relative;overflow:hidden;
}
.ref-card::before{
  content:'';position:absolute;inset:0;
  background:var(--grad-brand);opacity:0;
  transition:opacity .4s;
}
.ref-card:hover{
  border-color:rgba(240,138,36,.2);
  transform:translateY(-4px);
  box-shadow:0 12px 30px rgba(0,0,0,.15);
}
.ref-card:hover::before{opacity:.06}
.ref-card span{
  font-family:var(--font-heading);
  font-size:1rem;font-weight:700;
  color:var(--color-muted);
  letter-spacing:.03em;
  position:relative;z-index:1;
  transition:color .3s;
}
.ref-card:hover span{color:var(--color-text)}

/* Light mode refs */
body.light-mode .references{background:#F5F3EE}
body.light-mode .ref-card{
  background:#fff;border-color:rgba(0,0,0,.06);
  box-shadow:0 1px 4px rgba(0,0,0,.03);
}
body.light-mode .ref-card:hover{
  border-color:rgba(240,138,36,.2);
  box-shadow:0 12px 30px rgba(240,138,36,.08);
}
body.light-mode .ref-card:hover span{color:var(--orange-dark)}

/* Responsive */
@media(max-width:768px){.ref-grid{grid-template-columns:repeat(3,1fr);gap:1rem}}
@media(max-width:480px){.ref-grid{grid-template-columns:repeat(2,1fr)}}

/* ═══════════════════════════════════════════
   CTA — "E quindi uscimmo a riveder le stelle"
   Star-like radial burst
   ═══════════════════════════════════════════ */
.cta{position:relative;padding:10rem 0;text-align:center;overflow:hidden}
.cta-bg{position:absolute;inset:0}
.cta-gradient{
  position:absolute;inset:0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%,rgba(240,138,36,.12) 0%,transparent 50%),
    radial-gradient(ellipse 40% 40% at 70% 60%,rgba(0,160,227,.08) 0%,transparent 40%),
    var(--color-bg);
}
/* Star burst circles */
.cta .dante-circles{
  top:50%;left:50%;transform:translate(-50%,-50%);
  width:min(700px,90vw);height:min(700px,90vw);opacity:.04;
}
.cta-content{position:relative;z-index:1}
.cta-title{
  font-family:var(--font-heading);
  font-size:clamp(2.5rem,6vw,4.5rem);font-weight:700;
  line-height:1.1;letter-spacing:-.03em;margin-bottom:1.5rem;
}
.cta-title .word-wrap{display:block;overflow:hidden}
.cta-subtitle{
  font-size:1.15rem;color:var(--color-muted);
  margin-bottom:3rem;max-width:500px;margin-left:auto;margin-right:auto;
}
.cta-buttons{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.site-footer{
  padding:5rem 0 2rem;background:var(--color-dark);
  border-top:1px solid var(--color-border);
}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1.5fr;gap:3rem;margin-bottom:4rem}
.footer-logo{display:inline-block;margin-bottom:1.25rem}
.footer-logo img{height:44px}
.footer-desc{font-size:.875rem;color:var(--color-muted);line-height:1.7;margin-bottom:1.5rem}
.footer-social{display:flex;gap:.75rem}
.footer-social a{
  width:40px;height:40px;display:flex;align-items:center;justify-content:center;
  border:1px solid var(--color-border);border-radius:50%;
  color:var(--color-muted);transition:all .3s;
}
.footer-social a:hover{border-color:var(--orange);color:var(--orange)}
.footer-heading{
  font-family:var(--font-heading);font-size:.85rem;
  font-weight:600;letter-spacing:.05em;margin-bottom:1.25rem;
}
.footer-links li{margin-bottom:.75rem}
.footer-links a{font-size:.875rem;color:var(--color-muted);transition:color .3s}
.footer-links a:hover{color:var(--color-white)}
.footer-contact p{font-size:.875rem;color:var(--color-muted);line-height:1.7;margin-bottom:.75rem}
.footer-contact a{color:var(--color-muted);transition:color .3s}
.footer-contact a:hover{color:var(--orange)}
.footer-bottom{
  border-top:1px solid var(--color-border);padding-top:2rem;
  text-align:center;font-size:.8rem;color:var(--color-muted);
}

/* ═══════════════════════════════════════════
   SUB PAGES — Shared styles for detail pages
   ═══════════════════════════════════════════ */

/* Page Hero (inner pages) */
.page-hero{
  position:relative;min-height:50vh;
  display:flex;align-items:center;overflow:hidden;
  padding-top:var(--header-h);
}
.page-hero-bg{
  position:absolute;inset:0;
  background-size:cover;background-position:center;
}
.page-hero-bg::after{
  content:'';position:absolute;inset:0;
  background:
    linear-gradient(to bottom,rgba(11,15,26,.7),rgba(11,15,26,.9)),
    radial-gradient(ellipse 70% 60% at 50% 30%,rgba(240,138,36,.08) 0%,transparent 50%);
}
body.light-mode .page-hero-bg::after{
  background:
    linear-gradient(to bottom,rgba(245,246,250,.6),rgba(245,246,250,.85)),
    radial-gradient(ellipse 70% 60% at 50% 30%,rgba(240,138,36,.05) 0%,transparent 50%);
}
.page-hero-content{position:relative;z-index:1;max-width:700px}
.page-hero .dante-circles{
  top:50%;right:-100px;transform:translateY(-50%);
  width:400px;height:400px;opacity:.05;
}
.breadcrumb{
  display:flex;align-items:center;gap:.5rem;
  font-size:.8rem;color:var(--color-muted);margin-bottom:1.5rem;
}
.breadcrumb a{transition:color .3s}
.breadcrumb a:hover{color:var(--orange)}
.breadcrumb .separator{color:var(--color-border)}

/* Content sections for sub pages */
.content-section{padding:6rem 0}
.content-section:nth-child(even){background:var(--color-surface)}

/* Feature grid */
.feature-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:2rem;margin-top:3rem}
.feature-card{
  background:var(--color-surface);border:1px solid var(--color-border);
  border-radius:var(--radius);padding:2rem;
  transition:border-color .3s,transform .3s,box-shadow .3s;
  position:relative;overflow:hidden;
}
.feature-card:hover{
  border-color:rgba(255,255,255,.12);transform:translateY(-4px);
  box-shadow:0 15px 40px rgba(0,0,0,.3);
}
.feature-card::before{
  content:'';position:absolute;top:0;left:0;right:0;height:2px;
  background:var(--grad-brand);transform:scaleX(0);
  transform-origin:left;transition:transform .5s var(--ease-out);
}
.feature-card:hover::before{transform:scaleX(1)}
.feature-icon{
  width:56px;height:56px;border-radius:12px;
  background:rgba(240,138,36,.1);color:var(--orange);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:1.25rem;transition:background .3s;
}
.feature-card:hover .feature-icon{background:rgba(240,138,36,.15)}
.feature-card h3{
  font-family:var(--font-heading);font-size:1.15rem;
  font-weight:600;margin-bottom:.5rem;
}
.feature-card p{font-size:.875rem;color:var(--color-muted);line-height:1.7}

/* Two-column layout */
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center}
.two-col-text h3{
  font-family:var(--font-heading);font-size:1.75rem;
  font-weight:600;margin-bottom:1rem;
}
.two-col-text p{color:var(--color-muted);line-height:1.8;margin-bottom:1rem}
.two-col-image{border-radius:var(--radius);overflow:hidden;box-shadow:0 20px 50px rgba(0,0,0,.3)}
.two-col-image img{width:100%;height:auto;display:block}

/* Service detail list */
.detail-list{list-style:none;margin-top:1.5rem}
.detail-list li{
  padding:.75rem 0;border-bottom:1px solid var(--color-border);
  display:flex;align-items:center;gap:.75rem;
  font-size:.95rem;color:var(--color-muted);
}
.detail-list li::before{
  content:'';width:8px;height:8px;border-radius:50%;flex-shrink:0;
  background:var(--grad-brand);
}

/* CTA Banner (sub pages) */
.page-cta{
  padding:6rem 0;text-align:center;position:relative;
  background:var(--color-surface);overflow:hidden;
}
.page-cta::before{
  content:'';position:absolute;
  top:50%;left:50%;transform:translate(-50%,-50%);
  width:500px;height:500px;border-radius:50%;
  border:1px solid var(--color-border);opacity:.3;
}
.page-cta h2{
  font-family:var(--font-heading);font-size:clamp(2rem,4vw,3rem);
  font-weight:700;margin-bottom:1rem;
}
.page-cta p{color:var(--color-muted);margin-bottom:2rem;max-width:500px;margin-left:auto;margin-right:auto}

/* ── CONTACT PAGE ──────────────────────── */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:4rem}
.form-group{margin-bottom:1.5rem}
.form-label{
  display:block;font-size:.8rem;font-weight:500;
  color:var(--color-muted);margin-bottom:.5rem;letter-spacing:.05em;
}
.form-input,.form-select,.form-textarea{
  width:100%;padding:.875rem 1rem;
  background:var(--color-surface-2);border:1px solid var(--color-border);
  border-radius:var(--radius-sm);color:var(--color-text);
  font-family:var(--font-body);font-size:.9rem;
  transition:border-color .3s,box-shadow .3s;outline:none;
}
.form-input:focus,.form-select:focus,.form-textarea:focus{
  border-color:var(--orange);box-shadow:0 0 0 3px rgba(240,138,36,.1);
}
.form-textarea{resize:vertical;min-height:140px}
.form-select{appearance:none;cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%237B8BA8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 1rem center;
}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.form-btn{
  width:100%;padding:1rem;border:none;border-radius:var(--radius-sm);
  background:var(--grad-brand);color:var(--color-white);
  font-weight:600;font-size:.9rem;cursor:pointer;
  transition:transform .3s,box-shadow .3s;
}
.form-btn:hover{transform:translateY(-2px);box-shadow:0 8px 25px rgba(240,138,36,.3)}

.contact-info-card{
  background:var(--color-surface);border:1px solid var(--color-border);
  border-radius:var(--radius);padding:1.5rem;margin-bottom:1.25rem;
  display:flex;align-items:flex-start;gap:1rem;
  transition:border-color .3s;
}
.contact-info-card:hover{border-color:rgba(255,255,255,.12)}
.contact-info-icon{
  width:44px;height:44px;border-radius:10px;flex-shrink:0;
  background:rgba(240,138,36,.1);color:var(--orange);
  display:flex;align-items:center;justify-content:center;
}
.contact-info-card h4{font-size:.9rem;font-weight:600;margin-bottom:.25rem}
.contact-info-card p,.contact-info-card a{font-size:.875rem;color:var(--color-muted)}
.contact-info-card a:hover{color:var(--orange)}

.map-wrapper{
  border-radius:var(--radius);overflow:hidden;
  border:1px solid var(--color-border);margin-top:1.5rem;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media(max-width:1024px){
  .about-grid,.two-col,.contact-grid{grid-template-columns:1fr;gap:3rem}
  .about-visual{height:400px;max-width:500px;margin:0 auto}
  .footer-grid{grid-template-columns:1fr 1fr;gap:2rem}
}
@media(max-width:768px){
  :root{--header-h:60px}
  .nav-menu,.btn-header{display:none}
  .hamburger{display:flex}

  /* Header mobile */
  .header-logo img{height:36px}
  .header-actions{gap:.6rem}
  .lang-switch{font-size:.65rem;padding:.25rem .5rem}
  .theme-toggle{width:32px;height:32px}
  .theme-toggle .icon-sun,.theme-toggle .icon-moon{width:15px;height:15px}

  /* Hero mobile */
  .hero{min-height:100svh}
  .hero-title{font-size:clamp(2.2rem,9vw,3rem)}
  .hero-subtitle{font-size:.9rem}
  .hero-badge{font-size:.65rem;margin-bottom:1.25rem}
  .hero-ctas{flex-direction:column;align-items:center;gap:.75rem}
  .hero-ctas .btn{width:100%;max-width:280px;justify-content:center;padding:.85rem 1.5rem;font-size:.85rem}
  .hero-scroll-indicator{display:none}

  /* Services mobile */
  .services{padding:5rem 0 0}
  .services-header{margin-bottom:2rem}
  .services-track-wrapper{overflow:visible}
  .services-track{flex-direction:column;width:auto;padding:0 var(--gutter);gap:1rem}
  .service-card{width:100%;padding:1.75rem}
  .service-number{font-size:2.5rem}

  /* Stats mobile */
  .stats{padding:5rem 0}
  .stats-grid,.stats-row{grid-template-columns:1fr 1fr;gap:1rem}
  .stat-item{padding:1.25rem .5rem}
  .stat-item::before{width:90px;height:90px}
  .stat-number{font-size:2rem}

  /* About mobile */
  .about{padding:5rem 0}
  .about-grid{gap:2rem}
  .about-lead{font-size:1rem}

  /* Timeline mobile */
  .timeline-section{padding:5rem 0}
  .timeline-item,.timeline-item--right{
    width:100%;margin-left:0;padding-left:2.5rem;padding-right:0;text-align:left;padding-bottom:2.5rem;
  }
  .timeline-item--left{justify-content:flex-start;padding-right:0;text-align:left}
  .timeline-line{left:0;transform:none}
  .timeline-item--left .timeline-dot,.timeline-item--right .timeline-dot{left:-8px;right:auto}

  /* Clients mobile */
  .clients{padding:5rem 0}

  /* References mobile */
  .references{padding:5rem 0}

  /* CTA mobile */
  .cta{padding:5rem 0}
  .cta-title{font-size:clamp(1.8rem,6vw,2.5rem)}
  .cta-buttons{flex-direction:column;align-items:center;gap:.75rem}
  .cta-buttons .btn{width:100%;max-width:280px;justify-content:center}

  /* Footer mobile */
  .footer-grid{grid-template-columns:1fr;gap:2rem}
  .site-footer{padding:3rem 0 1.5rem}

  /* Sub pages mobile */
  .feature-grid{grid-template-columns:1fr;gap:1rem}
  .feature-card{padding:1.5rem}
  .form-row{grid-template-columns:1fr}
  .page-hero{min-height:35vh;padding-top:calc(var(--header-h) + 1rem)}
  .page-hero .section-title{font-size:clamp(2rem,7vw,3rem)!important}
  .two-col{gap:2rem}
  .contact-grid{gap:2rem}
  .section-title{font-size:clamp(1.6rem,5vw,2.5rem)}

  /* General spacing */
  .content-section{padding:4rem 0}
}

@media(max-width:480px){
  .stats-grid,.stats-row{grid-template-columns:1fr 1fr}
  .about-visual{height:280px}
  .hero-title{font-size:clamp(1.8rem,8vw,2.5rem)}
  .ref-grid{gap:.75rem}
  .ref-card{padding:1.25rem 1rem;min-height:80px}
  .ref-card span{font-size:.85rem}
}

/* ═══════════════════════════════════════════
   LIGHT MODE — Dante Corporate Colors
   Warm cream base with orange/cyan accents
   ═══════════════════════════════════════════ */
body.light-mode{
  --color-bg: #FAFAF7;
  --color-surface: #FFFFFF;
  --color-surface-2: #F3F1EC;
  --color-surface-3: #EBE8E1;
  --color-dark: #1A1D2B;
  --color-text: #1A1D2B;
  --color-muted: #5A6070;
  --color-border: rgba(0,0,0,0.1);
  --color-white: #ffffff;
}

/* ── HERO: Video visible with readable text overlay ── */
body.light-mode .hero{color:#fff}
body.light-mode .hero-video video{
  filter:brightness(.5) saturate(1.3);
}
body.light-mode .hero-video::after{
  background:linear-gradient(to bottom,rgba(11,15,26,.3) 0%,rgba(11,15,26,.5) 50%,rgba(11,15,26,.75) 100%);
}
body.light-mode .hero-subtitle{color:rgba(255,255,255,.8);text-shadow:0 1px 8px rgba(0,0,0,.4)}
body.light-mode .hero-line{color:#fff;text-shadow:0 2px 15px rgba(0,0,0,.5)}
body.light-mode .btn-ghost{border-color:rgba(255,255,255,.35);color:#fff}
body.light-mode .hero .btn-ghost:hover{border-color:#fff;color:#fff}
body.light-mode .hero-gradient{
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%,rgba(0,160,227,.06) 0%,transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 100%,rgba(240,138,36,.04) 0%,transparent 50%);
}
body.light-mode .hero-grid-overlay{
  background-image:
    linear-gradient(rgba(0,0,0,.04) 1px,transparent 1px),
    linear-gradient(90deg,rgba(0,0,0,.04) 1px,transparent 1px);
}
body.light-mode .hero-line{color:var(--color-text)}
body.light-mode .hero-line--accent{-webkit-text-fill-color:transparent}
body.light-mode .hero-subtitle{color:#4A5060}
body.light-mode .hero-badge{color:var(--orange-dark)}
body.light-mode .hero-particle--orange{background:var(--orange);box-shadow:0 0 6px rgba(240,138,36,.4)}
body.light-mode .hero-particle--cyan{background:var(--cyan);box-shadow:0 0 6px rgba(0,160,227,.4)}

/* ── HEADER: Warm with brand accent ── */
body.light-mode .site-header.scrolled{
  background:rgba(250,250,247,.92);
  box-shadow:0 1px 0 rgba(240,138,36,.15),0 4px 20px rgba(0,0,0,.06);
  border-bottom-color:rgba(240,138,36,.1);
}
body.light-mode .nav-link{color:#5A6070}
body.light-mode .nav-link:hover,
body.light-mode .nav-link.active{color:var(--orange-dark)}
body.light-mode .nav-link::after{background:var(--grad-brand)}
body.light-mode .hamburger span{background:var(--color-text)}
body.light-mode .mobile-menu{background:rgba(250,250,247,.98)}
body.light-mode .btn-ghost{border-color:rgba(0,0,0,.15);color:var(--color-text)}
body.light-mode .btn-ghost:hover{border-color:var(--orange);color:var(--orange)}

/* ── SERVICE CARDS: Subtle orange top accent ── */
body.light-mode .service-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  box-shadow:0 2px 8px rgba(0,0,0,.04),0 0 0 1px rgba(240,138,36,.03);
}
body.light-mode .service-card:hover{
  border-color:rgba(240,138,36,.2);
  box-shadow:0 12px 35px rgba(240,138,36,.08),0 4px 12px rgba(0,0,0,.06);
  transform:translateY(-4px);
}
body.light-mode .service-card::after{border-color:rgba(240,138,36,.12)}
body.light-mode .service-number{color:rgba(240,138,36,.08)}

/* ── STATS: Warm cream background with orange ring ── */
body.light-mode .stats{
  background:linear-gradient(135deg,rgba(240,138,36,.04),rgba(0,160,227,.03));
  border-color:rgba(240,138,36,.1);
}
body.light-mode .stat-number{
  background:linear-gradient(135deg,var(--orange-dark),var(--cyan-dark));
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
}
body.light-mode .stat-item::before{border-color:rgba(240,138,36,.15)}
body.light-mode .stat-label{color:#5A6070}

/* ── ABOUT section ── */
body.light-mode .about-img{box-shadow:0 20px 50px rgba(0,0,0,.1)}
body.light-mode .about-img--front{border-color:var(--color-bg)}
body.light-mode .about-float-stat{box-shadow:0 8px 25px rgba(240,138,36,.25)}
body.light-mode .value-chip{border-color:rgba(240,138,36,.2);color:#5A6070}
body.light-mode .value-chip:hover{border-color:var(--orange);color:var(--orange);background:rgba(240,138,36,.04)}

/* ── TIMELINE: Orange accented ── */
body.light-mode .timeline-section{
  background:linear-gradient(180deg,#F5F3EE,var(--color-bg));
  border:none;
}
body.light-mode .timeline-dot{background:var(--color-bg);border-color:var(--orange)}
body.light-mode .timeline-dot::after{border-color:rgba(0,160,227,.3)}
body.light-mode .timeline-line{background:rgba(240,138,36,.12)}
body.light-mode .timeline-card h4{color:var(--color-text)}

/* ── CLIENTS MARQUEE ── */
body.light-mode .marquee-item{color:rgba(0,0,0,.07)}
body.light-mode .marquee-item:hover{color:rgba(0,0,0,.3)}
body.light-mode .marquee-item:nth-child(odd):hover{color:rgba(240,138,36,.6)}
body.light-mode .marquee-item:nth-child(even):hover{color:rgba(0,160,227,.6)}

/* ── CTA: Warm gradient background ── */
body.light-mode .cta{background:linear-gradient(135deg,#0D1220,#0F1838)}
body.light-mode .cta .cta-title,
body.light-mode .cta .cta-subtitle{color:#fff}
body.light-mode .cta .cta-subtitle{color:rgba(255,255,255,.7)}
body.light-mode .cta .section-title em{-webkit-text-fill-color:transparent}
body.light-mode .cta .btn-white{background:var(--orange);color:#fff}
body.light-mode .cta .btn-white:hover{box-shadow:0 8px 30px rgba(240,138,36,.4)}
body.light-mode .cta .btn-ghost-light{border-color:rgba(255,255,255,.4);color:#fff}
body.light-mode .cta-gradient{
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%,rgba(240,138,36,.15) 0%,transparent 50%),
    radial-gradient(ellipse 40% 40% at 70% 60%,rgba(0,160,227,.1) 0%,transparent 40%);
}

/* ── FOOTER: Keep dark in light mode ── */
body.light-mode .site-footer{
  background:var(--color-dark);
  color:#E0E2E8;
  --color-muted:#8892b0;
  --color-border:rgba(255,255,255,.07);
}
body.light-mode .footer-heading{color:#fff}
body.light-mode .footer-links a{color:#8892b0}
body.light-mode .footer-links a:hover{color:#fff}
body.light-mode .footer-contact p,
body.light-mode .footer-contact a{color:#8892b0}
body.light-mode .footer-contact a:hover{color:var(--orange)}
body.light-mode .footer-desc{color:#8892b0}
body.light-mode .footer-social a{border-color:rgba(255,255,255,.1);color:#8892b0}
body.light-mode .footer-social a:hover{border-color:var(--orange);color:var(--orange)}
body.light-mode .footer-bottom{color:#6B7590;border-color:rgba(255,255,255,.07)}

/* ── DANTE MOTIFS ── */
body.light-mode .dante-circles::before,
body.light-mode .dante-circles::after{border-color:rgba(0,160,227,.12)}
body.light-mode .dante-circles span::before{border-color:rgba(240,138,36,.12)}
body.light-mode .dante-circles span::after{border-color:rgba(0,160,227,.12)}
body.light-mode .dante-spiral{
  background:conic-gradient(from 0deg,transparent,rgba(0,160,227,.2),transparent,rgba(240,138,36,.2),transparent);
}

/* ── CURSOR ── */
body.light-mode .cursor-dot{background:var(--orange)}
body.light-mode .cursor-ring{border-color:rgba(240,138,36,.4);mix-blend-mode:normal}

/* ── SUB PAGES ── */
body.light-mode .page-hero-bg::after{
  background:
    linear-gradient(to bottom,rgba(250,250,247,.2) 0%,rgba(250,250,247,.65) 50%,rgba(250,250,247,.95) 100%);
}
body.light-mode .feature-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  box-shadow:0 2px 8px rgba(0,0,0,.04);
}
body.light-mode .feature-card:hover{
  box-shadow:0 12px 35px rgba(240,138,36,.08),0 4px 12px rgba(0,0,0,.06);
  border-color:rgba(240,138,36,.15);
}
body.light-mode .feature-icon{background:rgba(240,138,36,.08)}
body.light-mode .feature-card:hover .feature-icon{background:rgba(240,138,36,.12)}
body.light-mode .contact-info-card{
  background:#fff;border:1px solid rgba(0,0,0,.06);
  box-shadow:0 2px 8px rgba(0,0,0,.04);
}
body.light-mode .contact-info-card:hover{border-color:rgba(240,138,36,.2)}
body.light-mode .contact-info-icon{background:rgba(240,138,36,.08)}
body.light-mode .form-input,
body.light-mode .form-select,
body.light-mode .form-textarea{
  background:#fff;border-color:rgba(0,0,0,.1);color:var(--color-text);
}
body.light-mode .form-input:focus,
body.light-mode .form-select:focus,
body.light-mode .form-textarea:focus{
  border-color:var(--orange);box-shadow:0 0 0 3px rgba(240,138,36,.08);
}
body.light-mode .page-cta{
  background:linear-gradient(135deg,rgba(240,138,36,.06),rgba(0,160,227,.04));
}
body.light-mode .page-cta::before{border-color:rgba(240,138,36,.1)}
body.light-mode .two-col-image{box-shadow:0 20px 50px rgba(0,0,0,.08)}
body.light-mode .detail-list li{border-color:rgba(0,0,0,.06)}
body.light-mode .dropdown-menu{
  background:#fff;border-color:rgba(0,0,0,.08);
  box-shadow:0 12px 35px rgba(0,0,0,.08);
}
body.light-mode .dropdown-menu a:hover{background:rgba(240,138,36,.04);color:var(--orange-dark)}

/* ── CONTENT SECTION ALT BG ── */
body.light-mode .content-section:nth-child(even){
  background:linear-gradient(135deg,rgba(240,138,36,.03),rgba(0,160,227,.02));
}
body.light-mode .stats-row .stat-item::before{border-color:rgba(240,138,36,.12)}

/* Theme toggle button */
.theme-toggle{
  width:36px;height:36px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  border:1px solid var(--color-border);
  transition:all .3s;cursor:pointer;
  color:var(--color-muted);
}
.theme-toggle:hover{border-color:var(--orange);color:var(--orange)}
.theme-toggle .icon-sun,
.theme-toggle .icon-moon{width:18px;height:18px;transition:transform .3s,opacity .3s}
.theme-toggle .icon-sun{display:none}
.theme-toggle .icon-moon{display:block}
body.light-mode .theme-toggle .icon-sun{display:block}
body.light-mode .theme-toggle .icon-moon{display:none}
/* Logo swap */
.logo-dark{display:block}
.logo-light{display:none}
body.light-mode .logo-dark{display:none}
body.light-mode .logo-light{display:block}

/* Smooth theme transition */
body{transition:background-color .4s,color .4s}
.site-header,.service-card,.feature-card,.contact-info-card,
.form-input,.form-select,.form-textarea,.stats,.timeline-section,
.content-section:nth-child(even),.page-cta,.site-footer{
  transition:background-color .4s,border-color .4s,color .4s,box-shadow .4s;
}

/* ── REDUCED MOTION ────────────────────── */
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  .marquee-track{animation:none!important}
}
