/*
Theme Name: Lightscaping
Theme URI: https://www.lightscaping.it
Author: Lightscaping — Matteo Appignanesi · Roberto Malagoli
Description: Tema ufficiale Lightscaping — L'arte di scolpire il giardino con la luce
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: lightscaping
*/

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  /* Neon palette */
  --neon:         #c9c535;                /* verde acido logo */
  --neon-bright:  #dfd83e;                /* neon più luminoso */
  --neon-dim:     #8A8510;                /* neon spento / testo su scuro */
  --neon-glow-sm: 0 0 6px rgba(202,197,53,.45), 0 0 14px rgba(202,197,53,.18);
  --neon-glow-md: 0 0 8px rgba(202,197,53,.55), 0 0 20px rgba(202,197,53,.28), 0 0 40px rgba(202,197,53,.1);
  --neon-text:    0 0 5px rgba(202,197,53,.55), 0 0 10px rgba(202,197,53,.28);
  /* Dark backgrounds */
  --bg:           #060801;                /* quasi-nero puro */
  --bg-2:         #0C0F02;                /* sfondo sezione 2 */
  --bg-3:         #111503;                /* sfondo sezione 3 */
  --border-neon:  rgba(202,197,53,.22);
  /* Aliases per compatibilità */
  --dark:         #060801;
  --green:        #0C0F02;
  --gold:         #CAC535;
  --gold-light:   #E2D93E;
  --cream:        #0C0F02;
  --white:        #FFFFFF;
  --text:         rgba(255,255,255,.85);
  --text-light:   rgba(255,255,255,.5);
  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--text); background: var(--bg); line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-weight: 700; line-height: 1.2; }
h1,h2 { font-family: 'Bebas Neue', var(--serif); letter-spacing: 0.04em; line-height: 1.05; font-weight: 400; }
h3,h4 { font-family: var(--serif); }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
@media (min-width: 900px) { h1 { font-size: clamp(2.6rem, 4.5vw, 3.8rem); } }
h2 { font-size: clamp(2.3rem, 4.5vw, 4rem); }
h3 { font-size: clamp(1.35rem, 2.6vw, 2.1rem); }
p  { margin-bottom: 1rem; font-size: 1.12rem; line-height: 1.85; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* HEADER — logo centrato su banda gialla, nav su banda nera */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  box-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
/* Banda superiore — gradiente nero→verde→nero, logo al centro */
.header-logo-bar {
  background: radial-gradient(ellipse 75% 140% at 50% 50%, #c9c535 15%, #6b6a00 55%, #060801 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.9rem 2rem;
}
/* Banda inferiore nera — solo nav */
.header-nav-bar {
  background: #060801;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 2rem;
  border-top: 1px solid rgba(201,197,53,0.2);
}
/* header-inner non serve più come flex col, usato solo mobile */
.header-inner { display: contents; }
.site-logo { display: flex; justify-content: center; line-height: 1; }
.site-logo-img { width: 300px; height: auto; display: block; filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(0,0,0,0.7)) drop-shadow(0 1px 12px rgba(0,0,0,0.5)); transition: filter 0.3s; }
.site-logo-img:hover { filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0,0,0,0.8)) drop-shadow(0 1px 16px rgba(0,0,0,0.6)); }
.main-nav ul { display: flex; gap: 2.8rem; list-style: none; align-items: center; margin: 0; padding: 0; flex-wrap: wrap; justify-content: center; }
.main-nav a { color: #c9c535; font-size: 1rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; transition: color 0.2s, text-shadow 0.2s; }
.main-nav a:hover, .main-nav .current-menu-item a { color: #fff; text-shadow: var(--neon-text); }
.main-nav .menu-contatti a { background: #c9c535 !important; color: #060801 !important; border: none; padding: 0.45rem 1.6rem; font-weight: 700; letter-spacing: 0.1em; transition: all 0.25s !important; box-shadow: var(--neon-glow-sm) !important; text-decoration: none !important; }
.main-nav .menu-contatti a:hover { background: #fff !important; color: #060801 !important; box-shadow: none !important; }

/* HERO — neon style */
.hero { min-height: 100vh; background: var(--bg); display: flex; align-items: flex-start; position: relative; overflow: hidden; }
.hero-bg-slides { position: absolute; inset: 0; }
.hero-bg-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s ease; }
.hero-bg-slide.active { opacity: 1; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(6,8,1,0.58) 0%, rgba(12,15,2,0.35) 50%, rgba(6,8,1,0.52) 100%); z-index: 1; }
/* Linea neon orizzontale decorativa */
.hero::after { content:''; position:absolute; bottom:0; left:0; right:0; height:2px; background:linear-gradient(90deg,transparent,var(--neon),transparent); z-index:3; opacity:0.6; }
.hero-content { position: relative; z-index: 2; max-width: 900px; padding-top: clamp(14rem, 24vh, 18rem); }
.slide { display: none; }
.slide.active { display: block; animation: fadeIn 0.7s ease; }
@keyframes fadeIn { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:translateY(0); } }
.hero-eyebrow { display: inline-block; color: var(--neon); font-size: 0.72rem; letter-spacing: 0.38em; text-transform: uppercase; border: 1px solid var(--neon); padding: 0.45rem 1.2rem; margin-bottom: 2rem; box-shadow: var(--neon-glow-sm); text-shadow: var(--neon-text); }
.hero h1 { color: var(--white); margin-bottom: 1.6rem; text-shadow: 0 0 40px rgba(202,197,53,0.08); }
.hero h1 em { color: var(--neon); font-style: italic; text-shadow: var(--neon-text); }
.hero .lead { color: rgba(255,255,255,0.7); font-size: clamp(1rem,2vw,1.15rem); max-width: 620px; margin-bottom: 3rem; line-height: 1.85; }
.hero-controls { display: flex; gap: 1rem; margin-top: 3.5rem; align-items: center; }
.slide-btn { background: transparent; border: 1px solid var(--border-neon); color: var(--neon); width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1.1rem; transition: all 0.2s; }
.slide-btn:hover { background: var(--neon); color: var(--bg); box-shadow: var(--neon-glow-sm); }
.slide-counter { color: rgba(255,255,255,0.35); font-size: 0.82rem; letter-spacing: 0.1em; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 0.6rem; padding: 1rem 2.6rem; font-family: var(--sans); font-size: 0.83rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; transition: all 0.3s; cursor: pointer; border: none; }
.btn-gold { background: var(--neon); color: var(--bg); box-shadow: var(--neon-glow-sm); }
.btn-gold:hover { background: var(--neon-bright); box-shadow: var(--neon-glow-md); transform: translateY(-2px); }
.btn-outline { border: 1px solid var(--neon); color: var(--neon); background: transparent; box-shadow: var(--neon-glow-sm); }
.btn-outline:hover { background: var(--neon); color: var(--bg); box-shadow: var(--neon-glow-md); }

/* SECTIONS */
section { padding: 7rem 0; }
.section-label { display: block; font-size: 0.7rem; letter-spacing: 0.38em; text-transform: uppercase; color: var(--neon); margin-bottom: 1rem; text-shadow: var(--neon-text); }
.section-intro { max-width: 640px; margin-bottom: 4rem; }
.section-intro h2 { margin-bottom: 1rem; color: var(--white); }
.section-intro p { color: var(--text-light); }

/* PHILOSOPHY */
.philosophy { background: var(--bg-2); }
.philosophy-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 5rem; align-items: start; }
.philosophy-text h2 { margin-bottom: 1.5rem; color: var(--white); }
.philosophy-text p { color: var(--text-light); line-height: 1.9; }
.philosophy-pillars { display: flex; flex-direction: column; gap: 2.5rem; }
.pillar { display: flex; gap: 1.5rem; align-items: flex-start; padding: 1.5rem; border: 1px solid var(--border-neon); transition: border-color 0.3s, box-shadow 0.3s; }
.pillar:hover { border-color: var(--neon); box-shadow: var(--neon-glow-sm); }
.pillar-icon { font-size: 1.8rem; min-width: 2.5rem; margin-top: 0.1rem; filter: drop-shadow(0 0 6px rgba(202,197,53,0.6)); }
.pillar-body h3 { font-size: 1rem; font-weight: 600; color: var(--neon); margin-bottom: 0.4rem; font-family: var(--sans); text-shadow: var(--neon-text); }
.pillar-body p { color: var(--text-light); font-size: 0.92rem; margin: 0; line-height: 1.7; }

/* QUOTE */
.quote-band { background: var(--bg-3); padding: 6rem 0; text-align: center; position: relative; overflow: hidden; }
/* Bagliore centrale pulsante */
.quote-band::before { content:''; position:absolute; inset:0; background: radial-gradient(ellipse at center, rgba(202,197,53,0.06) 0%, transparent 70%); }
/* Faretto laterale sinistro — cono di luce dal bordo */
.quote-band::after {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 55%;
  background: conic-gradient(
    from 90deg at 0% 50%,
    transparent 0deg,
    rgba(201,197,53,0.04) 18deg,
    rgba(201,197,53,0.09) 28deg,
    rgba(201,197,53,0.04) 38deg,
    transparent 55deg
  );
  pointer-events: none;
  animation: side-ray 7s ease-in-out infinite;
}
@keyframes side-ray {
  0%,100% { opacity: 0.7; transform: scaleY(1); }
  50%      { opacity: 1;   transform: scaleY(1.04); }
}
.quote-band blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem,2.5vw,1.9rem); color: var(--white); max-width: 840px; margin: 0 auto 1.4rem; line-height: 1.65; position: relative; z-index: 1; }
.quote-band cite { color: var(--neon); font-size: 0.76rem; letter-spacing: 0.25em; text-transform: uppercase; font-style: normal; text-shadow: var(--neon-text); position: relative; z-index: 1; }

/* TEAM */
.team-section { background: var(--bg); }
.team-section .section-label { color: var(--neon); }
.team-section h2 { color: var(--white); }
.team-section .section-intro p { color: var(--text-light); }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.team-card { background: var(--bg-2); border: 1px solid var(--border-neon); transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s; }
.team-card:hover { border-color: var(--neon); box-shadow: var(--neon-glow-sm); transform: translateY(-4px); }
.team-card img { width: 100%; height: 320px; object-fit: cover; object-position: center top; display: block; filter: grayscale(20%); }
.team-card-body { padding: 2rem; }
.team-card h3 { color: var(--neon); margin-bottom: 0.3rem; font-size: 1.3rem; text-shadow: var(--neon-text); }
.team-card .role { color: rgba(255,255,255,0.4); font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 1.2rem; display: block; }
.team-card p { color: var(--text-light); font-size: 0.93rem; line-height: 1.8; margin: 0; }

/* SERVICES */
.services-section { background: var(--bg-2); }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3.5rem; }
.service-card { border: 1px solid var(--border-neon); padding: 2.8rem; background: var(--bg); transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s; }
.service-card:hover { border-color: var(--neon); box-shadow: var(--neon-glow-md); transform: translateY(-4px); }
.service-icon { font-size: 2.4rem; margin-bottom: 1.4rem; filter: drop-shadow(0 0 8px rgba(202,197,53,0.5)); }
.service-card h3 { color: var(--neon); font-size: 1.15rem; margin-bottom: 0.8rem; text-shadow: var(--neon-text); }
.service-card p { color: var(--text-light); font-size: 0.93rem; line-height: 1.8; margin: 0; }

/* CTA */
.cta-section { background: var(--bg-3); text-align: center; padding: 8rem 0; position: relative; overflow: hidden; }
.cta-section::before { content:''; position:absolute; inset:0; background: radial-gradient(ellipse at center bottom, rgba(202,197,53,0.08) 0%, transparent 65%); }
.cta-section h2 { color: var(--white); margin-bottom: 1.2rem; position: relative; }
.cta-section p { color: var(--text-light); max-width: 580px; margin: 0 auto 3rem; font-size: 1.05rem; position: relative; }

/* FOOTER */
.site-footer { background: var(--bg); color: rgba(255,255,255,0.6); padding: 4rem 0 2rem; border-top: 2px solid var(--neon); box-shadow: 0 -2px 30px rgba(202,197,53,0.1); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; align-items: start; margin-bottom: 3rem; }
.footer-logo-img { width: 200px; height: auto; display: block; margin-bottom: 1rem; filter: drop-shadow(0 0 10px rgba(202,197,53,0.3)); }
.footer-tagline { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.38); }
.footer-nav-col .footer-nav { display: flex; flex-direction: column; gap: 0.7rem; list-style: none; padding: 0; margin: 0; }
.footer-nav a { font-size: 0.85rem; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-nav a:hover { color: var(--neon); text-shadow: var(--neon-text); }
.footer-company h4 { font-family: var(--sans); font-size: 0.95rem; font-weight: 700; color: var(--neon); margin-bottom: 0.6rem; letter-spacing: 0.04em; text-shadow: var(--neon-text); }
.footer-company p { font-size: 0.82rem; margin-bottom: 0.2rem; line-height: 1.6; }
.footer-company a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-company a:hover { color: var(--neon); text-shadow: var(--neon-text); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; text-align: center; font-size: 0.75rem; opacity: 0.4; }
.footer-legal { margin-top: 0.4rem; display: flex; justify-content: center; gap: 0.8rem; }
.footer-legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.footer-legal a:hover { opacity: 1; color: var(--neon); }
@media(max-width:768px){
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-logo-img { width: 170px; }
}

/* PAGE HERO */
.page-hero { padding: 17rem 0 5.5rem; background: var(--bg); color: var(--white); position: relative; overflow: hidden; }
.page-hero::before { content:''; position:absolute; inset:0; background: radial-gradient(ellipse at 60% 40%, rgba(202,197,53,0.07) 0%, transparent 65%); pointer-events:none; }
.page-hero::after { content:''; position:absolute; bottom:0; left:0; right:0; height:1px; background:linear-gradient(90deg,transparent,var(--neon),transparent); opacity:0.4; }
.page-hero h1 { color: var(--white); margin-bottom: 1.2rem; position: relative; }
.page-hero .lead { color: rgba(255,255,255,0.6); max-width: 600px; font-size: 1.1rem; line-height: 1.8; position: relative; }

/* CHI SIAMO */
.founders-section { background: var(--bg-2); }
.founders-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.founder-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: center top; margin-bottom: 2rem; filter: grayscale(20%); }
.founder-card h3 { color: var(--white); margin-bottom: 0.3rem; }
.founder-card .role { color: var(--neon); font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; display: block; margin-bottom: 1.2rem; text-shadow: var(--neon-text); }
.founder-card p { color: var(--text-light); line-height: 1.85; font-size: 0.95rem; }
.differentiators { background: var(--bg-3); }
.diff-grid { display: flex; flex-direction: column; gap: 2.5rem; max-width: 760px; }
.diff-item { display: grid; grid-template-columns: 3rem 1fr; gap: 2rem; align-items: start; }
.diff-num { font-family: var(--serif); font-size: 3rem; color: var(--neon); line-height: 1; font-weight: 700; text-shadow: var(--neon-glow-sm); }
.diff-item h3 { font-size: 1rem; font-family: var(--sans); font-weight: 600; color: var(--neon); margin-bottom: 0.5rem; }
.diff-item p { color: var(--text-light); font-size: 0.93rem; line-height: 1.8; margin: 0; }

/* SERVIZI */
.services-intro-quote { background: var(--bg-3); padding: 5rem 0; text-align: center; position: relative; }
.services-intro-quote::before { content:''; position:absolute; inset:0; background: radial-gradient(ellipse at center, rgba(202,197,53,0.06) 0%, transparent 70%); }
.services-intro-quote blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem,2.2vw,1.5rem); color: var(--white); max-width: 720px; margin: 0 auto; line-height: 1.7; position: relative; }
.services-details-wrap { background: var(--bg-2); }
.service-detail { padding: 4rem 0; border-bottom: 1px solid var(--border-neon); }
.service-detail:last-child { border-bottom: none; }
.service-detail-inner { max-width: 780px; }
.service-detail-icon { font-size: 3.2rem; display: block; margin-bottom: 0.5rem; line-height: 1; filter: drop-shadow(0 0 8px rgba(202,197,53,0.5)); }
.service-detail-label { font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--neon); margin-bottom: 0.8rem; display: block; text-shadow: var(--neon-text); }
.service-detail h2 { color: var(--white); margin-bottom: 1.2rem; font-size: clamp(1.3rem,2.5vw,1.8rem); }
.service-detail p { color: rgba(255,255,255,0.65); line-height: 1.9; }
.service-detail .btn { margin-top: 1.5rem; }

/* BLOG */
.blog-section { background: var(--bg); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px,1fr)); gap: 2.5rem; }
.blog-card { background: var(--bg-2); border: 1px solid var(--border-neon); transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s; overflow: hidden; }
.blog-card:hover { border-color: var(--neon); transform: translateY(-5px); box-shadow: var(--neon-glow-sm); }
.blog-card-body { padding: 2.2rem; }
.blog-card-tag { font-size: 0.68rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--neon); display: block; margin-bottom: 0.8rem; text-shadow: var(--neon-text); }
.blog-card h3 { font-size: 1.08rem; color: var(--white); margin-bottom: 0.8rem; line-height: 1.45; }
.blog-card p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 1.5rem; line-height: 1.7; }
.blog-card-link { color: var(--neon); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

/* ARTICOLO */
.article-wrapper { max-width: 780px; margin: 0 auto; padding: 5rem 2rem 6rem; }
.article-meta { color: var(--neon); font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase; margin-bottom: 2rem; display: block; text-shadow: var(--neon-text); }
.article-wrapper h1 { margin-bottom: 2.5rem; color: var(--white); }
.article-body h2 { color: var(--neon); font-size: clamp(1.15rem,2vw,1.45rem); margin: 2.8rem 0 1rem; text-shadow: var(--neon-text); }
.article-body h3 { color: var(--white); font-size: 1.1rem; margin: 2rem 0 0.8rem; }
.article-body p { color: var(--text-light); line-height: 1.9; margin-bottom: 1.5rem; }
.article-body ul { margin: 0 0 1.5rem 1.8rem; }
.article-body li { margin-bottom: 0.6rem; line-height: 1.8; color: var(--text-light); }
.article-body blockquote { border-left: 3px solid var(--neon); box-shadow: -3px 0 12px rgba(202,197,53,0.3); padding: 1rem 1.5rem; margin: 2rem 0; font-style: italic; color: var(--text-light); }
.article-cta { background: var(--bg-2); border-left: 3px solid var(--neon); box-shadow: -3px 0 16px rgba(202,197,53,0.25); padding: 2.5rem; margin-top: 3.5rem; text-align: center; }
.article-cta p { margin-bottom: 1.2rem; font-style: italic; color: var(--text-light); }

/* CONTATTI */
.contact-section { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 1.4rem; }
.contact-form label { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; display: block; margin-bottom: 0.4rem; color: var(--neon); }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 0.95rem 1.2rem; border: 1px solid var(--border-neon); font-family: var(--sans); font-size: 0.95rem; background: var(--bg-2); color: var(--white); outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--neon); box-shadow: var(--neon-glow-sm); }
.contact-form select option { background: var(--bg-2); }
.contact-form textarea { min-height: 160px; resize: vertical; }
.consent-block { margin-top: 0.5rem; }
.consent-label { display: flex; gap: 0.8rem; align-items: flex-start; cursor: pointer; text-transform: none; font-weight: normal; letter-spacing: 0; font-size: 0.88rem; color: var(--text-light); line-height: 1.6; }
.consent-label input[type="checkbox"] { width: auto; min-width: 18px; height: 18px; margin-top: 2px; accent-color: var(--neon); flex-shrink: 0; }
.consent-label a { color: var(--neon); }
.form-feedback { padding: 1.2rem 1.5rem; margin-bottom: 1rem; }
.form-success { background: rgba(202,197,53,0.08); border-left: 4px solid var(--neon); color: var(--neon); box-shadow: var(--neon-glow-sm); }
.form-error { background: rgba(180,40,40,0.06); border-left: 4px solid #ff4444; color: #ff6666; }

/* GALLERY PAGE */
.gallery-section { background: var(--bg); padding: 5rem 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.gallery-item { position: relative; overflow: hidden; aspect-ratio: 4/3; background: var(--bg-2); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease, filter 0.3s; filter: brightness(.85); }
.gallery-item:hover img { transform: scale(1.05); filter: brightness(1); }
.gallery-overlay { position: absolute; inset: 0; background: rgba(6,8,1,0.5); opacity: 0; display: flex; align-items: center; justify-content: center; transition: opacity 0.3s ease; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-zoom { color: var(--neon); font-size: 2.5rem; font-weight: 300; line-height: 1; text-shadow: var(--neon-glow-md); }
.gallery-link { display: block; width: 100%; height: 100%; }

/* HOME GALLERY CAROUSEL — marquee 3-up */
.home-gallery-section { background: var(--bg); padding: 6rem 0; }
.home-gallery-section .section-intro { text-align: center; margin-bottom: 3rem; }
.home-gallery-section .section-intro h2 { color: var(--white); }
.home-gallery-section .section-intro p { color: var(--text-light); }
.hg-marquee-wrap { overflow: hidden; width: 100%; }
.hg-marquee-track { display: flex; animation: hg-loop 24s linear infinite; width: max-content; }
.hg-marquee-track:hover { animation-play-state: paused; }
.hg-marquee-slide { width: calc(100vw / 3); flex-shrink: 0; height: 420px; padding: 0 4px; }
.hg-marquee-slide img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(.8); transition: filter .3s; }
.hg-marquee-slide:hover img { filter: brightness(1); }
@keyframes hg-loop { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* THANK YOU PAGE */
.thankyou-section { min-height: 70vh; display: flex; align-items: center; background: var(--bg); padding: 8rem 0; }
.thankyou-inner { max-width: 680px; margin: 0 auto; text-align: center; }
.thankyou-icon { font-size: 4rem; display: block; margin-bottom: 1.5rem; filter: drop-shadow(0 0 12px rgba(202,197,53,0.7)); }
.thankyou-inner .section-label { margin-bottom: 1.2rem; }
.thankyou-inner h1 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); color: var(--white); margin-bottom: 1.5rem; line-height: 1.25; }
.thankyou-lead { color: var(--text-light); font-size: 1.05rem; line-height: 1.8; margin-bottom: 2.5rem; }
.thankyou-links { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; }

/* RESPONSIVE */
/* TABLET LANDSCAPE (900px–1100px) */
@media (min-width: 900px) and (max-width: 1100px) {
  .site-logo-img { width: 210px; }
  .main-nav ul { gap: 1.6rem; }
  .main-nav a { font-size: 0.88rem; }
  .main-nav .menu-contatti a { padding: 0.45rem 1.1rem; font-size: 0.82rem; }
  .container { padding: 0 1.5rem; }
  .team-grid, .services-grid { grid-template-columns: repeat(2,1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hg-marquee-slide { width: 50vw; }
}

/* HAMBURGER: gestito interamente nell'inline <style> di header.php */

/* MOBILE LAYOUTS ≤900px */
@media (max-width: 900px) {
  .philosophy-grid, .team-grid, .founders-grid, .services-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-detail-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  section { padding: 4.5rem 0; }
  .page-hero { padding: 9rem 0 4rem; }
  .hg-marquee-slide { width: 85vw; }
  .gallery-grid { grid-template-columns: repeat(2,1fr) !important; }
}

@media (max-width: 900px) {
  /* Blog grid: 1 colonna su mobile (override inline styles) */
  .blog-section .container > div,
  section > .container > div[style*="grid-template-columns:repeat(2"],
  section > .container > div[style*="grid-template-columns: repeat(2"] {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr !important; }
  /* Colonna singola anche per griglie a 3 colonne inline */
  section > .container > div[style*="grid-template-columns:repeat(3"],
  section > .container > div[style*="grid-template-columns: repeat(3"] {
    grid-template-columns: 1fr !important;
  }
}

/* ═══════════════════════════════════════════════
   LIGHT EFFECTS & ANIMATIONS
═══════════════════════════════════════════════ */

/* ── 1. CURSOR SPOTLIGHT (via CSS var settata da JS) ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(circle 380px at var(--mx, -999px) var(--my, -999px),
    rgba(202,197,53,0.055) 0%,
    transparent 70%);
  pointer-events: none;
  z-index: 9998;
  transition: background 0.08s ease;
}

/* ── 2. HERO — RAGGIO DI LUCE DIAGONALE ── */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    108deg,
    transparent 0%,
    transparent 38%,
    rgba(202,197,53,0.055) 45%,
    rgba(202,197,53,0.085) 50%,
    rgba(202,197,53,0.055) 55%,
    transparent 62%,
    transparent 100%
  );
  z-index: 2;
  pointer-events: none;
  animation: ray-sweep 9s cubic-bezier(0.4,0,0.6,1) infinite;
}

@keyframes ray-sweep {
  0%   { transform: translateX(-120%) skewX(-12deg); opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { transform: translateX(120%) skewX(-12deg); opacity: 0; }
}

/* ── 3. HERO — SECONDO RAGGIO (ritardato, più sottile) ── */
.hero-content::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    95deg,
    transparent 0%,
    transparent 60%,
    rgba(202,197,53,0.04) 68%,
    rgba(202,197,53,0.06) 72%,
    rgba(202,197,53,0.04) 76%,
    transparent 84%,
    transparent 100%
  );
  pointer-events: none;
  animation: ray-sweep-2 13s cubic-bezier(0.4,0,0.6,1) infinite 4s;
  z-index: 0;
}

@keyframes ray-sweep-2 {
  0%   { transform: translateX(-150%); opacity: 0; }
  6%   { opacity: 1; }
  94%  { opacity: 1; }
  100% { transform: translateX(150%); opacity: 0; }
}

/* ── 4. SECTION LABEL — NEON FLICKER ── */
.section-label {
  animation: neon-flicker 8s ease-in-out infinite;
}

@keyframes neon-flicker {
  0%,  48%, 52%, 100% { opacity: 1; }
  49%                  { opacity: 0.7; text-shadow: none; }
  50%                  { opacity: 1; }
  51%                  { opacity: 0.75; }
  /* secondo flicker */
  72%, 76%             { opacity: 1; }
  73%                  { opacity: 0.6; text-shadow: none; }
  74%                  { opacity: 1; }
  75%                  { opacity: 0.8; }
}

/* ── 5. QUOTE BAND — BAGLIORE PULSANTE ── */
.quote-band::before {
  animation: glow-pulse 5s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.15); }
}

/* ── 6. CTA SECTION — BAGLIORE PULSANTE ── */
.cta-section::before {
  animation: glow-pulse 6s ease-in-out infinite 1s;
}

/* ── 7. CARD SHINE AL HOVER (team, service, blog) ── */
.team-card,
.service-card,
.blog-card {
  overflow: hidden;
  position: relative;
}

.team-card::after,
.service-card::after,
.blog-card::after {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(202,197,53,0.07) 50%,
    transparent
  );
  transform: skewX(-15deg);
  transition: none;
  pointer-events: none;
  opacity: 0;
}

.team-card:hover::after,
.service-card:hover::after,
.blog-card:hover::after {
  animation: card-shine 0.6s ease forwards;
}

@keyframes card-shine {
  0%   { left: -75%; opacity: 1; }
  100% { left: 125%; opacity: 1; }
}

/* ── 8. PILLAR CARD GLOW ENTRATA ── */
.pillar {
  animation: border-breathe 6s ease-in-out infinite;
}

.pillar:nth-child(2) { animation-delay: 2s; }
.pillar:nth-child(3) { animation-delay: 4s; }

@keyframes border-breathe {
  0%, 100% { border-color: rgba(202,197,53,0.22); }
  50%       { border-color: rgba(202,197,53,0.45); box-shadow: 0 0 16px rgba(202,197,53,0.1); }
}

/* ── 9. FOOTER BORDER — LINEA NEON ANIMATA ── */
.site-footer {
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: -2px; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--neon) 30%,
    rgba(202,197,53,0.9) 50%,
    var(--neon) 70%,
    transparent 100%
  );
  animation: border-scan 4s ease-in-out infinite;
  box-shadow: 0 0 12px rgba(202,197,53,0.5);
}

@keyframes border-scan {
  0%, 100% { background-position: -100% 0; opacity: 0.6; }
  50%       { background-position: 100% 0; opacity: 1; }
}

/* ── 10. PAGE HERO — FASCIO DI LUCE ANGOLARE ── */
.page-hero::before {
  animation: page-ray 12s ease-in-out infinite;
}

@keyframes page-ray {
  0%, 100% { opacity: 0.5; transform: scale(1) rotate(-2deg); }
  50%       { opacity: 1; transform: scale(1.1) rotate(2deg); }
}

/* ═══════════════════════════════════════════════
   HERO TEXT TICKER — tutti i dispositivi
═══════════════════════════════════════════════ */

/* nasconde i paragrafi lead dentro lo slider (ci pensa il ticker) */
.hero-lead-desktop { display: none !important; }

.hero-text-ticker {
  background: rgba(6,8,1,0.97);
  border-top: 1px solid rgba(201,197,53,0.3);
  border-bottom: 1px solid rgba(201,197,53,0.3);
  padding: 2.8rem 2rem 2.6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* linea neon superiore animata */
.hero-text-ticker::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon), transparent);
  box-shadow: 0 0 10px rgba(201,197,53,0.5);
  animation: border-scan 4s ease-in-out infinite;
}

.ticker-slide {
  display: none;
  animation: ticker-in 0.55s ease;
  max-width: 820px;
  margin: 0 auto;
}
.ticker-slide.active { display: block; }

@keyframes ticker-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ticker-slide p {
  color: rgba(255,255,255,0.85);
  font-size: 1.28rem;
  line-height: 1.85;
  margin: 0 0 1.2rem;
  font-style: italic;
}

.ticker-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
}

.ticker-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(201,197,53,0.2);
  transition: background 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.ticker-dot.active {
  background: var(--neon);
  box-shadow: 0 0 8px rgba(201,197,53,0.7);
}

@media (max-width: 900px) {
  .hero-text-ticker { padding: 1.6rem 1.4rem 1.4rem; }
  .ticker-slide p { font-size: 1.05rem; }
}

@media (max-width: 600px) {
  .ticker-slide p { font-size: 1rem; }
}

/* ═══════════════════════════════════════════════
   TICKER SPOTLIGHT — effetto faretto dall'alto
═══════════════════════════════════════════════ */

/* Fascio conico principale */
.ticker-spotlight {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;

  /* Cono di luce: stretto in alto, si allarga in basso */
  background: linear-gradient(180deg,
    rgba(201,197,53,0.38) 0%,
    rgba(201,197,53,0.14) 30%,
    rgba(201,197,53,0.04) 65%,
    transparent 100%
  );
  clip-path: polygon(44% 0%, 56% 0%, 84% 100%, 16% 100%);
  animation: spotlight-breathe 5s ease-in-out infinite;
}

/* Punto sorgente — il "faretto" vero */
.ticker-spotlight::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 6px  3px rgba(201,197,53,1),
    0 0 18px 8px rgba(201,197,53,0.6),
    0 0 40px 16px rgba(201,197,53,0.25);
  animation: source-pulse 2.5s ease-in-out infinite;
}

/* Bagliore ambientale diffuso attorno al cono */
.hero-text-ticker::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 90% at 50% 0%,
    rgba(201,197,53,0.1) 0%,
    rgba(201,197,53,0.03) 45%,
    transparent 72%
  );
  pointer-events: none;
  z-index: 0;
  animation: glow-breathe 5s ease-in-out infinite;
}

/* Il testo del ticker deve stare sopra lo spotlight */
.ticker-track, .ticker-dots {
  position: relative;
  z-index: 1;
}

/* Animazioni */
@keyframes spotlight-breathe {
  0%, 100% {
    opacity: 0.85;
    clip-path: polygon(44% 0%, 56% 0%, 84% 100%, 16% 100%);
  }
  50% {
    opacity: 1;
    clip-path: polygon(45% 0%, 55% 0%, 81% 100%, 19% 100%);
  }
}

@keyframes source-pulse {
  0%, 100% {
    box-shadow:
      0 0 6px  3px rgba(201,197,53,1),
      0 0 18px 8px rgba(201,197,53,0.6),
      0 0 40px 16px rgba(201,197,53,0.25);
  }
  50% {
    box-shadow:
      0 0 8px  5px rgba(201,197,53,1),
      0 0 24px 12px rgba(201,197,53,0.75),
      0 0 55px 22px rgba(201,197,53,0.35);
  }
}

@keyframes glow-breathe {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 1; }
}


/* ═══════════════════════════════════════════════
   LUCI DIFFUSE — bagliori soffusi per ogni sezione
   Nessun punto fisso: solo luce ambientale che
   sembra provenire da un faretto fuori campo.
   Alternanza sinistra / destra / sinistra...
═══════════════════════════════════════════════ */

@keyframes glow-soft-l {
  0%,100% { opacity: 0.55; }
  50%      { opacity: 0.9; }
}
@keyframes glow-soft-r {
  0%,100% { opacity: 0.5; }
  50%      { opacity: 0.85; }
}

/* ── LOGO BAR — spotlight dall'alto sul logo ── */
.header-logo-bar { position: relative; overflow: hidden; }
.header-logo-bar::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 45% 200% at 50% -20%,
    rgba(255,255,255,0.28) 0%,
    rgba(255,255,255,0.06) 45%,
    transparent 72%);
  pointer-events: none; z-index: 0;
  animation: logo-spot 5s ease-in-out infinite;
}
@keyframes logo-spot {
  0%,100% { opacity: 0.7; }
  50%      { opacity: 1; }
}
.site-logo { position: relative; z-index: 1; }

/* ── PHILOSOPHY → luce da SINISTRA ── */
.philosophy { position: relative; overflow: hidden; }
.philosophy::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 55% 70% at -8% 40%,
    rgba(201,197,53,0.18) 0%,
    rgba(201,197,53,0.06) 40%,
    transparent 72%);
  animation: glow-soft-l 7s ease-in-out infinite;
}
.philosophy .container { position: relative; z-index: 1; }

/* ── QUOTE BAND → luce da DESTRA ── */
/* ::before usato per radial centrale, integro nel ::after */
.quote-band::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 55% 70% at 108% 40%,
    rgba(201,197,53,0.16) 0%,
    rgba(201,197,53,0.05) 42%,
    transparent 70%);
  animation: glow-soft-r 8s ease-in-out infinite 1s;
}
.quote-band blockquote, .quote-band cite { position: relative; z-index: 1; }

/* ── TEAM SECTION → luce da SINISTRA ── */
.team-section { position: relative; overflow: hidden; }
.team-section::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 52% 65% at -6% 35%,
    rgba(201,197,53,0.17) 0%,
    rgba(201,197,53,0.05) 42%,
    transparent 70%);
  animation: glow-soft-l 6.5s ease-in-out infinite 2s;
}
.team-section .container { position: relative; z-index: 1; }

/* ── SERVICES SECTION → luce da DESTRA ── */
.services-section { position: relative; overflow: hidden; }
.services-section::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 54% 68% at 108% 38%,
    rgba(201,197,53,0.16) 0%,
    rgba(201,197,53,0.05) 40%,
    transparent 70%);
  animation: glow-soft-r 7s ease-in-out infinite 0.5s;
}
.services-section .container { position: relative; z-index: 1; }

/* ── HOME GALLERY → luce da SINISTRA ── */
.home-gallery-section { position: relative; overflow: hidden; }
.home-gallery-section::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 50% 60% at -5% 30%,
    rgba(201,197,53,0.14) 0%,
    rgba(201,197,53,0.04) 40%,
    transparent 68%);
  animation: glow-soft-l 9s ease-in-out infinite 1.5s;
}
.home-gallery-section .container,
.home-gallery-section .section-intro { position: relative; z-index: 1; }

/* ── BLOG SECTION → luce da DESTRA ── */
.blog-section { position: relative; overflow: hidden; }
.blog-section::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 55% 65% at 108% 32%,
    rgba(201,197,53,0.15) 0%,
    rgba(201,197,53,0.05) 42%,
    transparent 70%);
  animation: glow-soft-r 7.5s ease-in-out infinite 3s;
}
.blog-section .container { position: relative; z-index: 1; }

/* ── CTA SECTION → luce da SINISTRA ── */
.cta-section::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 52% 70% at -5% 40%,
    rgba(201,197,53,0.14) 0%,
    rgba(201,197,53,0.04) 42%,
    transparent 70%);
  animation: glow-soft-l 8s ease-in-out infinite 0.8s;
}
.cta-section .container { position: relative; z-index: 1; }

/* ── FOUNDERS SECTION → luce da SINISTRA ── */
.founders-section { position: relative; overflow: hidden; }
.founders-section::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 50% 65% at -6% 35%,
    rgba(201,197,53,0.15) 0%,
    rgba(201,197,53,0.05) 40%,
    transparent 68%);
  animation: glow-soft-l 7s ease-in-out infinite 2.5s;
}
.founders-section .container { position: relative; z-index: 1; }

/* ── DIFFERENTIATORS → luce da DESTRA ── */
.differentiators { position: relative; overflow: hidden; }
.differentiators::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 54% 65% at 108% 30%,
    rgba(201,197,53,0.16) 0%,
    rgba(201,197,53,0.05) 40%,
    transparent 70%);
  animation: glow-soft-r 8.5s ease-in-out infinite 1s;
}
.differentiators .container { position: relative; z-index: 1; }

/* ── SERVICES DETAILS → luce da SINISTRA ── */
.services-details-wrap { position: relative; overflow: hidden; }
.services-details-wrap::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 50% 60% at -5% 25%,
    rgba(201,197,53,0.14) 0%,
    rgba(201,197,53,0.04) 42%,
    transparent 68%);
  animation: glow-soft-l 9s ease-in-out infinite 0.3s;
}
.services-details-wrap .container { position: relative; z-index: 1; }

/* ── CONTACT SECTION → luce da DESTRA ── */
.contact-section { position: relative; overflow: hidden; }
.contact-section::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 52% 65% at 108% 35%,
    rgba(201,197,53,0.14) 0%,
    rgba(201,197,53,0.04) 40%,
    transparent 70%);
  animation: glow-soft-r 7s ease-in-out infinite 1.8s;
}
.contact-section .container { position: relative; z-index: 1; }

/* ── GALLERY PAGE → luce da SINISTRA ── */
.gallery-section { position: relative; overflow: hidden; }
.gallery-section::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 50% 60% at -5% 30%,
    rgba(201,197,53,0.13) 0%,
    rgba(201,197,53,0.04) 40%,
    transparent 68%);
  animation: glow-soft-l 10s ease-in-out infinite;
}
.gallery-section .container { position: relative; z-index: 1; }

/* ── THANK YOU → luce da DESTRA ── */
.thankyou-section { position: relative; overflow: hidden; }
.thankyou-section::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 54% 70% at 108% 35%,
    rgba(201,197,53,0.15) 0%,
    rgba(201,197,53,0.05) 40%,
    transparent 70%);
  animation: glow-soft-r 7s ease-in-out infinite;
}
.thankyou-section .container { position: relative; z-index: 1; }
