@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Instrument+Serif:ital@0;1&display=swap');

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
a { color: inherit; text-decoration: none; }

/* ============================================================
   TIPOGRAFIA GLOBALE — H1 in Instrument Serif su TUTTE le pagine
   ============================================================ */
h1, .h1, h1.display-1, h1.display-2, h1.display-3, h1.display-4 {
  font-family: 'Instrument Serif', serif !important;
  font-weight: 400 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.05 !important;
}
h1 em, .h1 em { font-style: italic !important; color: #c98a2c !important; }

/* ===== HERO ===== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 140px 32px 100px; overflow: hidden; background: #0a0a0a; }
.hero-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.05); animation: heroZoom 22s ease-in-out infinite alternate; z-index: 0; }
@keyframes heroZoom { from { transform: scale(1.05); } to { transform: scale(1.18) translate(2%, 1%); } }

.hero-bg-video-wrap { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.hero-bg-video {
  position: absolute;
  top: 50%; left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.78vh;
  transform: translate(-50%, -50%) scale(1.2);
  border: 0;
  pointer-events: none;
}

.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,10,5,0.55) 0%, rgba(20,15,10,0.6) 50%, rgba(15,10,5,0.78) 100%); z-index: 1; }
.hero-overlay-2 { position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.4) 100%); z-index: 1; }
.hero-3d { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
#heroCanvas { width: 100%; height: 100%; opacity: 0.95; }
.hero-grain { position: absolute; inset: 0; opacity: 0.06; mix-blend-mode: overlay; pointer-events: none; z-index: 3; }
.hero-inner { position: relative; z-index: 10; max-width: 1280px; margin: 0 auto; text-align: center; width: 100%; color: #fff; }

.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: #fdba4c; padding: 9px 18px; border: 1px solid rgba(253,186,76,0.45); border-radius: 999px; background: rgba(253,186,76,0.12); margin-bottom: 36px; backdrop-filter: blur(10px); opacity: 0; animation: fadeUp 0.8s 0.3s forwards; }
.hero-eyebrow::before { content: ''; width: 6px; height: 6px; background: #fdba4c; border-radius: 50%; box-shadow: 0 0 10px rgba(253,186,76,0.9); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1; transform:scale(1)} 50%{opacity:0.5; transform:scale(0.85)} }

.hero h1 { font-family: 'Instrument Serif', serif; font-size: clamp(56px, 11vw, 144px); font-weight: 400; line-height: 0.92; letter-spacing: -0.035em; color: #fff; margin-bottom: 36px; text-shadow: 0 4px 30px rgba(0,0,0,0.4); }
.hero h1 .word { display: inline-block; opacity: 0; transform: translateY(60px) rotateX(20deg); transform-origin: top; animation: wordReveal 1.1s cubic-bezier(0.19,1,0.22,1) forwards; }
.hero h1 em { font-style: italic; color: #fdba4c !important; position: relative; display: inline-block; }
.hero h1 em::after { content: ''; position: absolute; bottom: 6%; left: -2%; right: -2%; height: 14px; background: rgba(253,186,76,0.30); z-index: -1; transform: scaleX(0); transform-origin: left; animation: highlightExpand 1.2s 1.6s cubic-bezier(0.19,1,0.22,1) forwards; filter: blur(2px); }
@keyframes wordReveal { to { opacity: 1; transform: translateY(0) rotateX(0); } }
@keyframes highlightExpand { to { transform: scaleX(1); } }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

.hero-sub { font-size: clamp(17px, 1.9vw, 22px); color: rgba(255,255,255,0.85); max-width: 720px; margin: 0 auto 12px; line-height: 1.55; opacity: 0; animation: fadeUp 1s 1.7s forwards; text-shadow: 0 2px 14px rgba(0,0,0,0.3); }
.hero-sub strong { color: #fff; font-weight: 600; }
.hero-sub-2 { font-size: clamp(15px, 1.6vw, 18px); color: rgba(255,255,255,0.65); max-width: 640px; margin: 0 auto 56px; opacity: 0; animation: fadeUp 1s 1.85s forwards; text-shadow: 0 2px 14px rgba(0,0,0,0.3); }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; opacity: 0; animation: fadeUp 1s 2s forwards; }

.btn-primary { background: #fdba4c; color: #1a0e00; padding: 18px 32px; border-radius: 12px; font-weight: 700; font-size: 15px; box-shadow: 0 12px 40px rgba(253,186,76,0.45), inset 0 1px 0 rgba(255,255,255,0.4); transition: all 0.4s cubic-bezier(0.2,0.8,0.2,1); display: inline-flex; align-items: center; gap: 10px; border: none; font-family: inherit; }
.btn-primary .arrow { transition: transform 0.3s; }
.btn-primary:hover .arrow { transform: translateX(6px); }
.btn-secondary { background: rgba(255,255,255,0.08); color: #fff; padding: 18px 28px; border-radius: 12px; font-weight: 600; font-size: 15px; border: 1px solid rgba(255,255,255,0.25); transition: all 0.3s; display: inline-flex; align-items: center; gap: 8px; font-family: inherit; backdrop-filter: blur(10px); }
.btn-secondary:hover { border-color: #fff; background: rgba(255,255,255,0.15); }

.hero-scroll-hint { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); font-size: 10px; color: rgba(255,255,255,0.6); letter-spacing: 0.16em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: 0; animation: fadeUp 1s 2.4s forwards; font-weight: 600; z-index: 10; }
.hero-scroll-hint .line { width: 1px; height: 36px; background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.5)); position: relative; overflow: hidden; }
.hero-scroll-hint .line::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 30%; background: #fdba4c; animation: scrollDown 2s ease-in-out infinite; }
@keyframes scrollDown { 0% { top: -30%; } 100% { top: 100%; } }

/* ===== INTRO ===== */
.intro { padding: 160px 32px; max-width: 1240px; margin: 0 auto; }
.section-eyebrow { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: #c98a2c; margin-bottom: 24px; padding-bottom: 10px; border-bottom: 1px solid rgba(253,186,76,0.4); }
.intro-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px; align-items: center; }
.intro h2 { font-family: 'Instrument Serif', serif; font-size: clamp(38px, 5.5vw, 68px); font-weight: 400; line-height: 1.02; letter-spacing: -0.025em; margin-bottom: 32px; }
.intro h2 em { font-style: italic; color: #c98a2c; }
.intro-lead { font-size: 17px; color: #444; line-height: 1.7; margin-bottom: 18px; }
.intro-lead strong { color: #1a1a1a; font-weight: 600; }
.intro-lead em { font-style: italic; color: #555; }
.intro-lead .highlight { background: linear-gradient(180deg, transparent 65%, rgba(253,186,76,0.28) 65%); padding: 0 3px; }
.intro-image-wrap { position: relative; perspective: 1200px; }
.intro-image { width: 100%; aspect-ratio: 4/5; border-radius: 28px; background-image: url('https://www.idraenergiapulita.it/web/image/11217-7c1dd1cb/CFCC12C4-FA4A-45A9-B7FA-AFD182D71B5E.webp'); background-size: cover; background-position: center; box-shadow: 0 24px 80px rgba(0,0,0,0.18); transition: transform 0.6s cubic-bezier(0.2,0.8,0.2,1); transform-style: preserve-3d; }
.intro-image-wrap:hover .intro-image { transform: rotateY(-3deg) rotateX(2deg) scale(1.02); }
.intro-image-2 { position: absolute; bottom: -60px; left: -40px; width: 38%; aspect-ratio: 1/1; border-radius: 22px; background-image: url('https://www.idraenergiapulita.it/web/image/11218-1a7d47d4/AC20B960-09E4-403D-9F6C-0ED4984881F4.webp'); background-size: cover; background-position: center; box-shadow: 0 20px 50px rgba(0,0,0,0.2); border: 4px solid #fefefe; transition: transform 0.6s; }
.intro-image-wrap:hover .intro-image-2 { transform: rotate(-3deg) translateY(-8px); }
.intro-quote { position: absolute; top: 32px; right: -30px; max-width: 280px; background: #fff; border-radius: 16px; padding: 22px; box-shadow: 0 16px 40px rgba(0,0,0,0.12); border-left: 3px solid #fdba4c; transition: transform 0.5s; z-index: 5; }
.intro-image-wrap:hover .intro-quote { transform: translateY(-6px); }
.intro-quote-text { font-family: 'Instrument Serif', serif; font-size: 15px; font-style: italic; color: #1a1a1a; line-height: 1.5; margin-bottom: 12px; }
.intro-quote-author { font-size: 11px; color: #888; line-height: 1.4; }
.intro-quote-author strong { color: #1a1a1a; font-weight: 600; display: block; margin-bottom: 2px; }

/* ===== SILOS ===== */
.silos { padding: 160px 32px; background: linear-gradient(180deg, #fafafa 0%, #fff 100%); position: relative; overflow: hidden; }
.silos-deco { position: absolute; inset: 0; pointer-events: none; }
.silos-deco::before, .silos-deco::after { content: ''; position: absolute; border-radius: 50%; filter: blur(80px); }
.silos-deco::before { top: 10%; left: -10%; width: 500px; height: 500px; background: rgba(253,186,76,0.10); animation: floatA 18s ease-in-out infinite alternate; }
.silos-deco::after { bottom: 10%; right: -10%; width: 600px; height: 600px; background: rgba(105,201,208,0.08); animation: floatA 22s ease-in-out infinite alternate-reverse; }
@keyframes floatA { 0%{transform:translate(0,0) scale(1)} 100%{transform:translate(60px,40px) scale(1.15)} }
.silos-inner { max-width: 1240px; margin: 0 auto; position: relative; z-index: 2; }
.silos-header { text-align: center; max-width: 880px; margin: 0 auto 72px; }
.silos-header h2 { font-family: 'Instrument Serif', serif; font-size: clamp(38px, 5.5vw, 64px); font-weight: 400; line-height: 1.05; margin-bottom: 22px; letter-spacing: -0.02em; }
.silos-header h2 em { font-style: italic; color: #c98a2c; }
.silos-header p.lead { font-size: 18px; color: #555; line-height: 1.6; }
.silos-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.silo { background: #fff; border-radius: 24px; padding: 36px 30px; border: 1px solid #ececec; box-shadow: 0 2px 8px rgba(0,0,0,0.03); position: relative; overflow: hidden; transition: all 0.5s cubic-bezier(0.2,0.8,0.2,1); min-height: 380px; display: flex; flex-direction: column; }
.silo::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle 250px at var(--mx,50%) var(--my,50%), rgba(253,186,76,0.18), transparent 60%); opacity: 0; transition: opacity 0.5s; pointer-events: none; }
.silo:hover { transform: translateY(-10px) scale(1.02); border-color: rgba(253,186,76,0.4); box-shadow: 0 32px 64px rgba(0,0,0,0.08); }
.silo:hover::before { opacity: 1; }
.silo-img { width: 100%; aspect-ratio: 16/10; border-radius: 14px; background-size: cover; background-position: center; margin-bottom: 22px; transition: transform 0.5s; }
.silo:hover .silo-img { transform: scale(1.04); }
.silo-num-tag { position: absolute; top: 24px; right: 24px; font-family: 'Instrument Serif', serif; font-size: 22px; color: #c98a2c; font-style: italic; }
.silo-title { font-size: 13px; font-weight: 700; letter-spacing: 0.18em; color: #1a1a1a; text-transform: uppercase; margin-bottom: 12px; }
.silo-text { font-size: 14.5px; color: #555; line-height: 1.6; flex: 1; }

/* ===== CTA CARD ===== */
.cta-card-section { padding: 80px 32px 120px; max-width: 1240px; margin: 0 auto; }
.cta-card-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; padding: 56px 48px; background: #fff; border-radius: 28px; box-shadow: 0 16px 50px rgba(0,0,0,0.06); position: relative; overflow: hidden; border: 1px solid #ececec; }
.cta-card-grid::before { content: ''; position: absolute; top: -50%; right: -10%; width: 50%; height: 200%; background: radial-gradient(ellipse, rgba(253,186,76,0.10), transparent 60%); pointer-events: none; }
.cta-card-text h2 { font-family: 'Instrument Serif', serif; font-size: clamp(34px, 4.5vw, 52px); font-weight: 400; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 18px; }
.cta-card-text h2 em { font-style: italic; color: #c98a2c; }
.cta-card-text .lead { font-size: 17px; color: #555; line-height: 1.6; }
.cta-card-side { background: linear-gradient(135deg, #fff 0%, #fff7ec 100%); border: 1px solid rgba(253,186,76,0.3); border-radius: 20px; padding: 32px; box-shadow: 0 12px 36px rgba(253,186,76,0.12); }
.cta-card-side h3 { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #c98a2c; margin-bottom: 20px; }
.cta-card-side .features { list-style: none; padding: 0; margin: 0 0 24px; }
.cta-card-side .features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #444; padding: 8px 0; line-height: 1.5; }
.cta-card-side .features li i { color: #fdba4c; font-size: 14px; margin-top: 4px; flex-shrink: 0; }
.cta-card-side .features li strong { color: #1a1a1a; font-weight: 600; }
.cta-card-side .btn-primary { width: 100%; justify-content: center; box-shadow: 0 8px 24px rgba(253,186,76,0.30); }

/* ===== SCENARI ===== */
.scenari { padding: 120px 32px; max-width: 1240px; margin: 0 auto; }
.scenari-header { text-align: center; max-width: 800px; margin: 0 auto 64px; }
.scenari-header h2 { font-family: 'Instrument Serif', serif; font-size: clamp(38px, 5.2vw, 60px); font-weight: 400; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 12px; }
.scenari-header h2 em { font-style: italic; color: #c98a2c; }
.scenari-header .scenari-sub { font-size: 17px; color: #555; margin-top: 22px; line-height: 1.6; }
.scenari-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.scenario { position: relative; background: #fff; border-radius: 24px; padding: 40px 36px; border: 1px solid #ececec; transition: all 0.45s; box-shadow: 0 2px 8px rgba(0,0,0,0.03); display: flex; flex-direction: column; }
.scenario.featured { border-color: rgba(253,186,76,0.45); background: linear-gradient(135deg, #fff7ec 0%, #fff 60%); box-shadow: 0 12px 40px rgba(253,186,76,0.14); transform: translateY(-16px); }
.scenario:hover { transform: translateY(-6px); box-shadow: 0 32px 60px rgba(0,0,0,0.12); }
.scenario.featured:hover { transform: translateY(-22px); }
.scenario-badge { position: absolute; top: -14px; left: 36px; background: #fdba4c; color: #1a0e00; font-size: 10px; font-weight: 800; letter-spacing: 0.18em; padding: 7px 14px; border-radius: 999px; box-shadow: 0 6px 18px rgba(253,186,76,0.45); text-transform: uppercase; }
.scenario-eyebrow { font-size: 11px; color: #999; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 10px; font-weight: 600; }
.scenario h3 { font-family: 'Instrument Serif', serif; font-size: 50px; font-weight: 400; line-height: 1; margin-bottom: 22px; }
.scenario.featured h3 em { font-style: italic; color: #c98a2c; }
.scenario-desc { font-size: 14.5px; color: #555; line-height: 1.6; margin-bottom: 28px; min-height: 100px; }
.scenario-desc strong { color: #1a1a1a; font-weight: 600; }
.scenario-features { list-style: none; padding: 0; margin: 0 0 28px; }
.scenario-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #444; padding: 9px 0; border-bottom: 1px solid #f5f5f5; }
.scenario-features li:last-child { border-bottom: none; }
.scenario-features li i { color: #fdba4c; font-size: 14px; margin-top: 4px; flex-shrink: 0; }
.scenario-cta { margin-top: auto; padding: 14px 24px; background: transparent; color: #1a1a1a; border: 1px solid rgba(0,0,0,0.15); border-radius: 11px; font-weight: 600; font-size: 14px; transition: all 0.3s; font-family: inherit; text-align: center; }
.scenario.featured .scenario-cta { background: #fdba4c; color: #1a0e00; border-color: transparent; box-shadow: 0 6px 18px rgba(253,186,76,0.30); }
.scenario-cta:hover { transform: translateY(-2px); border-color: #1a1a1a; }
.scenario-footer { margin-top: 24px; padding-top: 20px; border-top: 1px solid #f0f0f0; font-size: 12.5px; color: #888; line-height: 1.55; text-align: center; }

/* ===== CHECKUP ===== */
.checkup { padding: 140px 32px; background: linear-gradient(135deg, #0f0f0f 0%, #2a1a05 100%); color: #fff; position: relative; overflow: hidden; }
.checkup-ambient { position: absolute; inset: 0; pointer-events: none; }
.checkup-ambient::before { content: ''; position: absolute; top: -30%; right: -20%; width: 70%; height: 130%; background: radial-gradient(ellipse, rgba(253,186,76,0.30), transparent 60%); animation: floatA 20s ease-in-out infinite alternate; }
.checkup-ambient::after { content: ''; position: absolute; bottom: -30%; left: -20%; width: 60%; height: 100%; background: radial-gradient(ellipse, rgba(105,201,208,0.12), transparent 60%); animation: floatA 26s ease-in-out infinite alternate-reverse; }
#checkupParticles { position: absolute; inset: 0; pointer-events: none; opacity: 0.7; }
.checkup-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; position: relative; z-index: 2; }
.checkup-eyebrow { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: #fdba4c; margin-bottom: 28px; padding: 8px 16px; border: 1px solid rgba(253,186,76,0.35); border-radius: 999px; background: rgba(253,186,76,0.08); }
.checkup h2 { font-family: 'Instrument Serif', serif; font-size: clamp(40px, 6vw, 72px); font-weight: 400; line-height: 1.02; letter-spacing: -0.025em; color: #fff; margin-bottom: 28px; }
.checkup h2 em { font-style: italic; color: #fdba4c; }
.checkup-text { font-size: 17px; color: rgba(255,255,255,0.7); line-height: 1.7; margin-bottom: 24px; }
.checkup-text strong { color: #fff; }
.checkup-text strong.highlight { color: #fdba4c; font-weight: 600; }
.checkup-price-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10); backdrop-filter: blur(24px); border-radius: 28px; padding: 48px 40px; text-align: center; position: relative; }
.checkup-price-label { font-size: 12px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 18px; font-weight: 600; }
.checkup-old-price { font-family: 'Instrument Serif', serif; font-size: 26px; color: rgba(255,255,255,0.4); text-decoration: line-through; margin-bottom: 6px; }
.checkup-price { font-family: 'Instrument Serif', serif; font-size: clamp(80px, 11vw, 120px); font-weight: 400; color: #fdba4c; line-height: 1; margin-bottom: 8px; }
.checkup-price-note { font-size: 13px; color: rgba(255,255,255,0.65); margin-bottom: 32px; line-height: 1.5; }
.checkup-price-note strong { color: #fdba4c; }
.checkup-price-card .btn-primary { width: 100%; justify-content: center; }

/* ===== TESTIMONIANZE ===== */
.testi { padding: 140px 32px; background: linear-gradient(180deg, #fff 0%, #fafafa 100%); }
.testi-inner { max-width: 1240px; margin: 0 auto; }
.testi-header { text-align: center; max-width: 720px; margin: 0 auto 32px; }
.testi-header h2 { font-family: 'Instrument Serif', serif; font-size: clamp(38px, 5vw, 60px); font-weight: 400; line-height: 1.05; letter-spacing: -0.02em; }
.testi-header h2 em { font-style: italic; color: #c98a2c; }
.testi-wrap { position: relative; }
.testi-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 32px 4px 32px; scrollbar-width: none; scroll-behavior: smooth; }
.testi-track::-webkit-scrollbar { display: none; }
.testi-card { flex: 0 0 480px; scroll-snap-align: start; background: #fff; border-radius: 24px; padding: 48px 40px; border: 1px solid #ececec; box-shadow: 0 6px 24px rgba(0,0,0,0.05); position: relative; transition: all 0.4s; }
.testi-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,0.1); }
.testi-quote-mark { font-family: 'Instrument Serif', serif; font-size: 110px; line-height: 0.4; color: #fdba4c; position: absolute; top: 38px; right: 32px; opacity: 0.25; }
.testi-text { font-family: 'Instrument Serif', serif; font-size: 22px; line-height: 1.42; color: #1a1a1a; margin-bottom: 32px; font-weight: 400; }
.testi-text em { font-style: italic; color: #c98a2c; }
.testi-author { display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid #f0f0f0; }
.testi-avatar { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, #fdba4c, #c98a2c); display: flex; align-items: center; justify-content: center; font-weight: 600; color: #1a0e00; font-size: 16px; flex-shrink: 0; }
.testi-name { font-size: 14px; font-weight: 600; color: #1a1a1a; }
.testi-role { font-size: 12px; color: #888; margin-top: 2px; }

.testi-nav { display: flex; gap: 12px; justify-content: center; margin-top: 16px; }
.testi-arrow {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e5e5e5;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #1a1a1a;
  transition: all 0.3s cubic-bezier(0.2,0.8,0.2,1);
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  font-family: inherit;
}
.testi-arrow:hover {
  background: #fdba4c;
  border-color: #fdba4c;
  color: #1a0e00;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(253,186,76,0.35);
}
.testi-arrow:active { transform: translateY(0); }

/* ===== PARTNERS — loghi GROSSI 120px ===== */
.partners { padding: 80px 0 100px; background: #fff; border-top: 1px solid #ececec; overflow: hidden; }
.partners-label { text-align: center; font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: #999; margin-bottom: 16px; }
.partners-link { text-align: center; margin-bottom: 56px; font-size: 14px; }
.partners-link a { color: #c98a2c; font-weight: 600; }
.partners-marquee { display: flex; gap: 110px; align-items: center; animation: marquee 55s linear infinite; width: max-content; padding: 32px 0; }
.partners-marquee:hover { animation-play-state: paused; }
.partner-logo {
  height: 120px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.6);
  transition: all 0.4s ease;
  flex-shrink: 0;
}
.partner-logo:hover { filter: grayscale(0%) opacity(1); transform: scale(1.1); }
@keyframes marquee { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ===== REVEAL ANIMATIONS ===== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s cubic-bezier(0.2,0.8,0.2,1), transform 1s cubic-bezier(0.2,0.8,0.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-l { opacity: 0; transform: translateX(-40px); transition: all 1s cubic-bezier(0.2,0.8,0.2,1); }
.reveal-l.in { opacity: 1; transform: translateX(0); }
.reveal-r { opacity: 0; transform: translateX(40px); transition: all 1s cubic-bezier(0.2,0.8,0.2,1); }
.reveal-r.in { opacity: 1; transform: translateX(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.2,0.8,0.2,1); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.35s; opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .intro-grid, .checkup-inner, .cta-card-grid { grid-template-columns: 1fr; gap: 40px; }
  .intro-image-2 { display: none; }
  .intro-quote { position: relative; top: auto; right: auto; max-width: 100%; margin-top: 20px; }
  .silos-grid { grid-template-columns: repeat(2, 1fr); }
  .scenari-grid { grid-template-columns: 1fr; }
  .scenario.featured { transform: none; }
  .testi-card { flex: 0 0 320px; padding: 32px 26px; }
  .testi-text { font-size: 18px; }
  .partner-logo { height: 80px; max-width: 180px; }
  .partners-marquee { gap: 70px; }
}
@media (max-width: 600px) {
  .hero { padding: 100px 20px 80px; min-height: 90vh; }
  .silos-grid { grid-template-columns: 1fr; }
  .silos, .intro, .scenari, .checkup, .testi, .cta-card-section { padding-left: 20px; padding-right: 20px; padding-top: 80px; padding-bottom: 80px; }
  .partner-logo { height: 60px; max-width: 140px; }
}

/* ============================================================
   MENU IDRA — nessuna regola CSS, gestito 100% dall'editor Odoo
   ============================================================ */

/* ============================================================
   FOOTER IDRA — dark elegant
   IMPORTANTE: tutte le regole sono SCOPED a #bottom (footer Odoo principale)
   per non interferire con cookie bar, modali e altri elementi globali
   ============================================================ */
footer#bottom {
  background: linear-gradient(180deg, #0f0f0f 0%, #1a1408 100%) !important;
  color: rgba(255,255,255,0.85) !important;
  padding: 80px 32px 40px !important;
  border-top: 1px solid rgba(253,186,76,0.15) !important;
  position: relative;
  overflow: hidden;
}

footer#bottom::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(253,186,76,0.10), transparent 60%);
  pointer-events: none;
}

footer#bottom h1, footer#bottom h2, footer#bottom h3, footer#bottom h4, footer#bottom h5, footer#bottom h6 {
  font-family: 'Instrument Serif', serif !important;
  font-weight: 400 !important;
  color: #ffffff !important;
  font-size: 26px !important;
  margin-bottom: 24px !important;
  letter-spacing: -0.01em;
}

footer#bottom p, footer#bottom span, footer#bottom li {
  color: rgba(255,255,255,0.72) !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14.5px !important;
  line-height: 1.7 !important;
}

footer#bottom p strong, footer#bottom span strong, footer#bottom p b {
  color: #ffffff !important;
  font-weight: 600;
}

footer#bottom a {
  color: rgba(255,255,255,0.7) !important;
  text-decoration: none !important;
  transition: color 0.25s ease !important;
}
footer#bottom a:hover {
  color: #fdba4c !important;
}

footer#bottom ul {
  list-style: none !important;
  padding: 0 !important;
}
footer#bottom ul li {
  padding: 6px 0 !important;
  border-bottom: none !important;
}

footer#bottom i.fa { color: #fdba4c !important; margin-right: 10px; }

footer#bottom .o_footer_copyright,
footer#bottom .o_footer_copyright_name,
footer#bottom .text-muted,
footer#bottom small {
  color: rgba(255,255,255,0.4) !important;
  font-size: 12px !important;
}

footer#bottom .o_footer_copyright {
  border-top: 1px solid rgba(255,255,255,0.06) !important;
  padding-top: 28px !important;
  margin-top: 60px !important;
}

footer#bottom a[href*="facebook"],
footer#bottom a[href*="instagram"],
footer#bottom a[href*="linkedin"],
footer#bottom a[href*="youtube"],
footer#bottom a[href*="x.com"],
footer#bottom .o_footer_social a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06) !important;
  margin-right: 8px;
  transition: all 0.3s !important;
  color: #fff !important;
}
footer#bottom a[href*="facebook"]:hover,
footer#bottom a[href*="instagram"]:hover,
footer#bottom a[href*="linkedin"]:hover,
footer#bottom a[href*="youtube"]:hover,
footer#bottom .o_footer_social a:hover {
  background: #fdba4c !important;
  color: #1a0e00 !important;
  transform: translateY(-3px);
}

footer#bottom input[type="email"], footer#bottom input[type="text"] {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  color: #fff !important;
  border-radius: 10px !important;
  padding: 12px 16px !important;
}
footer#bottom input[type="email"]:focus { border-color: #fdba4c !important; outline: none !important; }

footer#bottom button, footer#bottom .btn {
  background: #fdba4c !important;
  color: #1a0e00 !important;
  border: none !important;
  border-radius: 10px !important;
  font-weight: 700 !important;
  padding: 12px 22px !important;
  transition: all 0.3s !important;
}
footer#bottom button:hover, footer#bottom .btn:hover {
  background: #ffc966 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(253,186,76,0.35);
}

@media (max-width: 900px) {
  footer#bottom { padding: 60px 20px 30px !important; }
  footer#bottom h1, footer#bottom h2, footer#bottom h3, footer#bottom h4, footer#bottom h5 { font-size: 22px !important; margin-bottom: 18px !important; }
}

/* ============================================================
   COOKIE BAR — reset di sicurezza per essere certi che sia visibile
   La cookie bar di Odoo (o_cookies_bar / cookies_bar) viene messa
   sopra la pagina come overlay e NON deve mai essere influenzata
   dagli stili del footer del sito.
   ============================================================ */
.o_cookies_bar,
.o_cookies_bar_popup,
.o_cookies_bar_popup_inner,
.o_cookies_bar_text_button {
  display: revert !important;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 2000 !important;
}
.o_cookies_bar p,
.o_cookies_bar span,
.o_cookies_bar li,
.o_cookies_bar h1, .o_cookies_bar h2, .o_cookies_bar h3, .o_cookies_bar h4, .o_cookies_bar h5, .o_cookies_bar h6,
.o_cookies_bar a,
.o_cookies_bar_popup p,
.o_cookies_bar_popup span,
.o_cookies_bar_popup li,
.o_cookies_bar_popup a {
  color: revert !important;
  font-family: inherit !important;
  font-size: revert !important;
  background: revert !important;
}
.o_cookies_bar button,
.o_cookies_bar .btn,
.o_cookies_bar_popup button,
.o_cookies_bar_popup .btn {
  background: revert !important;
  color: revert !important;
  border: revert !important;
  border-radius: revert !important;
  font-weight: revert !important;
  padding: revert !important;
  transform: none !important;
  box-shadow: revert !important;
}
