/* ============================================
   BAFFIGO DRONE WORKS — STYLESHEET PRINCIPALE
   ============================================ */

:root {
  --black: #0e1929;
  --dark:  #122035;
  --panel: #16273f;
  --border:#1e3450;
  --accent:#4d9fff;
  --accent2:#74b5ff;
  --text:  #f0f5ff;
  --muted: #8daec8;
  --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--text);
  font-family: 'Barlow', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(77,159,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77,159,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 48px; position: relative; z-index: 1; }

/* ── NAV ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 72px;
  background: rgba(8,18,36,0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(77,159,255,0.18);
  box-shadow: 0 2px 24px rgba(0,0,0,0.4);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; gap: 0; }
.nav-logo img {
  height: 62px;
  width: auto;
  filter: brightness(1.2) drop-shadow(0 0 14px rgba(77,159,255,0.55));
  transition: filter 0.3s;
}
.nav-logo img:hover {
  filter: brightness(1.35) drop-shadow(0 0 20px rgba(77,159,255,0.8));
}
.nav-logo-text {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: 1.2rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white);
}
.nav-logo-text span { color: var(--accent); }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 500;
  font-size: 1.14rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text); text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.has-dropdown { position: relative; }
.dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--dark); border: 1px solid var(--border);
  min-width: 220px; list-style: none; padding: 8px 0;
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown li a { display: block; padding: 10px 20px; font-size: 0.8rem; white-space: nowrap; }
.nav-cta {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--white); background: var(--accent);
  border: none; padding: 10px 22px; cursor: pointer; text-decoration: none; transition: background 0.2s;
}
.nav-cta:hover { background: var(--accent2); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); transition: 0.3s; }

/* ── BUTTONS ── */
.btn-primary {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 0.9rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--white); background: var(--accent);
  padding: 15px 34px; text-decoration: none; display: inline-block; transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--accent2); transform: translateY(-1px); }
.btn-ghost {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600;
  font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text); border: 1px solid var(--border);
  padding: 15px 34px; text-decoration: none; display: inline-block; transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-primary-large {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 1.05rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--white); background: var(--accent);
  padding: 18px 52px; text-decoration: none; display: inline-block;
  transition: background 0.2s, transform 0.15s;
  border: none;
}
.btn-primary-large:hover { background: var(--accent2); transform: translateY(-2px); }

/* ── SECTION COMMONS ── */
section { position: relative; z-index: 1; padding: 100px 0; }
.bg-dark { background: var(--dark); }
.section-header { margin-bottom: 60px; }
.section-eyebrow {
  font-family: 'Barlow Condensed', sans-serif; font-size: 0.975rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 16px; display: flex; align-items: center; gap: 12px;
}
.section-eyebrow::before { content: ''; display: block; width: 36px; height: 1px; background: var(--accent); }
.section-title {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 3.8rem); text-transform: uppercase;
  color: var(--white); line-height: 0.95; letter-spacing: -0.01em;
}

/* ── HERO ── */
#hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 160px 0 120px; position: relative; overflow: hidden;
}
#hero > .container { width: 100%; }
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(77,159,255,0.12) 0%, transparent 70%),
              radial-gradient(ellipse 40% 60% at 5% 80%, rgba(77,159,255,0.06) 0%, transparent 60%);
}
.hero-content { position: relative; z-index: 1; max-width: 100%; }
.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif; font-size: 0.975rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 28px; display: flex; align-items: center; gap: 12px;
  animation: fadeUp 0.6s ease both 0.1s;
}
.hero-eyebrow::before { content: ''; display: block; width: 36px; height: 1px; background: var(--accent); }
.hero-title {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: clamp(3.2rem, 8vw, 7rem); line-height: 0.92;
  text-transform: uppercase; color: var(--white); letter-spacing: -0.01em;
  animation: fadeUp 0.7s ease both 0.2s;
}
.hero-title .outline { -webkit-text-stroke: 1.5px rgba(77,159,255,0.6); color: transparent; }
.hero-sub {
  margin-top: 32px; font-size: 1.1rem; font-weight: 400; color: var(--text);
  line-height: 1.75; animation: fadeUp 0.7s ease both 0.35s; max-width: 620px;
}
.hero-actions {
  margin-top: 44px; display: flex; gap: 16px; flex-wrap: wrap;
  animation: fadeUp 0.7s ease both 0.5s;
}
.hero-stats {
  position: fixed;
  right: 48px;
  top: 220px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  z-index: 10;
  animation: fadeUp 0.7s ease both 0.6s;
}
.stat { text-align: right; border-right: 3px solid var(--accent); padding-right: 22px; filter: drop-shadow(0 0 8px rgba(77,159,255,0.4)); }
.stat-num { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 2.8rem; color: var(--accent); line-height: 1; text-shadow: 0 0 18px rgba(77,159,255,0.7); }
.stat-label { font-size: 0.95rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--white); margin-top: 6px; font-weight: 600; }

/* ── POSIZIONAMENTO ── */
#posizionamento { padding: 60px 0; background: var(--dark); }
.positioning-box {
  display: flex; gap: 32px; align-items: flex-start;
  border: 1px solid rgba(77,159,255,0.2); padding: 40px;
  background: rgba(77,159,255,0.04);
}
.pos-icon { flex-shrink: 0; margin-top: 4px; }
.pos-title {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 1.4rem; text-transform: uppercase; color: var(--white);
  letter-spacing: 0.03em; margin-bottom: 12px;
}
.pos-desc { font-size: 1.1rem; line-height: 1.85; color: var(--text); }

/* ── TARGET GRID ── */
.target-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
.target-card {
  background: var(--panel); border: 1px solid var(--border);
  text-decoration: none; display: flex; flex-direction: column;
  transition: border-color 0.25s, transform 0.2s; position: relative; overflow: hidden;
}
.target-card:hover { border-color: rgba(232,184,75,0.4); transform: translateY(-2px); }
.target-img {
  height: 200px; background-size: cover; background-position: center;
  position: relative;
}
.target-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,12,15,0.1), rgba(10,12,15,0.7));
}
.target-body { padding: 32px; flex: 1; }
.target-icon { margin-bottom: 20px; }
.target-title {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 1.3rem; text-transform: uppercase; color: var(--white);
  letter-spacing: 0.04em; margin-bottom: 10px;
}
.target-desc { font-size: 1.05rem; line-height: 1.85; color: var(--text); margin-bottom: 20px; font-weight: 400; }
.target-link {
  font-family: 'Barlow Condensed', sans-serif; font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
}

/* ── STEPS ── */
.steps-row {
  display: flex; align-items: flex-start; gap: 0;
  border: 1px solid var(--border);
}
.step { flex: 1; padding: 40px 32px; border-right: 1px solid var(--border); }
.step:last-child { border-right: none; }
.step-arrow {
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--accent); padding: 40px 0; flex-shrink: 0;
  display: none;
}
.step-num {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: 5rem; color: var(--accent); line-height: 1; margin-bottom: 16px;
  text-shadow: 0 0 24px rgba(77,159,255,0.6);
  border-left: 4px solid var(--accent);
  padding-left: 16px;
}
.step-title {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 1.05rem; text-transform: uppercase; color: var(--white);
  letter-spacing: 0.06em; margin-bottom: 10px;
}
.step-desc { font-size: 1.05rem; line-height: 1.85; color: var(--text); }

/* ── PERCHÉ ── */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.why-list { display: flex; flex-direction: column; gap: 28px; }
.why-item { display: flex; gap: 20px; align-items: flex-start; }
.why-bullet {
  width: 32px; height: 32px; flex-shrink: 0;
  background: rgba(232,184,75,0.1); border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
}
.why-item-title {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 1rem; text-transform: uppercase; color: var(--white);
  letter-spacing: 0.04em; margin-bottom: 6px;
}
.why-item-text { font-size: 1.05rem; line-height: 1.85; color: var(--text); }
.disclaimer-box {
  background: var(--panel); border: 1px solid var(--border); padding: 40px;
}
.disclaimer-title {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 1rem; text-transform: uppercase; color: var(--white);
  letter-spacing: 0.08em; margin-bottom: 24px; padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.disc-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.88rem; color: var(--text); padding: 10px 0;
  border-bottom: 1px solid rgba(30,38,48,0.5);
}
.disc-x { color: var(--muted); font-size: 0.9rem; }
.disclaimer-note { font-size: 0.82rem; line-height: 1.7; color: var(--muted); margin-top: 20px; font-style: italic; }

/* ── VIDEO ── */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.video-wrap { background: var(--panel); border: 1px solid var(--border); }
.video-wrap iframe { width: 100%; aspect-ratio: 16/9; display: block; }
.video-label {
  font-family: 'Barlow Condensed', sans-serif; font-size: 0.78rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  padding: 14px 16px;
}

/* ── AREA ── */
.area-grid { display: grid; grid-template-columns: 1fr; max-width: 560px; }
.area-desc { font-size: 1.05rem; line-height: 1.85; color: var(--text); margin: 24px 0 32px; }
.trasferta-table { border: 1px solid var(--border); }
.tr-row {
  display: grid; grid-template-columns: 1fr 1fr;
  padding: 14px 20px; border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.tr-row:last-child { border-bottom: none; }
.tr-row.header {
  font-family: 'Barlow Condensed', sans-serif; font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
  background: rgba(30,38,48,0.5);
}
.tr-free { color: var(--accent); font-weight: 500; }

/* ── CTA FINALE ── */
.bg-accent-section { background: linear-gradient(135deg, #0a1628 0%, #071120 100%); border-top: 3px solid var(--accent); }
.cta-container { text-align: center; padding: 80px 48px; }
.cta-title {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.5rem); text-transform: uppercase;
  color: var(--white); line-height: 0.95; margin-bottom: 20px;
  text-align: center;
}
.cta-desc { font-size: 1.05rem; color: var(--text); margin-bottom: 40px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ── PAGE HERO (interni pagine) ── */
.page-hero {
  padding: 140px 0 80px; border-bottom: 1px solid var(--border);
  background: var(--dark); position: relative; z-index: 1;
}
.page-hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif; font-size: 0.975rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 20px; display: flex; align-items: center; gap: 12px;
}
.page-hero-eyebrow::before { content: ''; display: block; width: 36px; height: 1px; background: var(--accent); }
.page-hero-title {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: clamp(2.8rem, 7vw, 6rem); line-height: 0.92;
  text-transform: uppercase; color: var(--white);
}
.page-hero-sub {
  margin-top: 28px; font-size: 1.05rem; line-height: 1.85;
  color: var(--text); max-width: 560px;
}
.page-hero-cta { margin-top: 36px; }

/* ── CONTENT SECTIONS ── */
.content-section { padding: 80px 0; }
.content-section + .content-section { border-top: 1px solid var(--border); }
.content-title {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 1.5rem; text-transform: uppercase; color: var(--white);
  letter-spacing: 0.04em; margin-bottom: 20px;
}
.content-text { font-size: 1rem; line-height: 1.85; color: var(--text); max-width: 700px; }
.content-text + .content-text { margin-top: 16px; }

/* ── BENEFIT LIST ── */
.benefit-list { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.benefit-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; background: var(--panel); border: 1px solid var(--border);
}
.benefit-check { color: var(--accent); font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.benefit-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 0.95rem; text-transform: uppercase; color: var(--white); margin-bottom: 4px; letter-spacing: 0.04em; }
.benefit-desc { font-size: 1.05rem; line-height: 1.85; color: var(--text); font-weight: 400; }

/* ── PACCHETTI PREZZI ── */
.prezzi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2px; }
.pacchetto {
  background: var(--panel); border: 1px solid var(--border); padding: 36px 32px;
  position: relative; transition: border-color 0.25s;
}
.pacchetto:hover { border-color: rgba(255,255,255,0.2); }
.pacchetto::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.pacchetto:hover::before { transform: scaleX(1); }
.pack-name {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 1.15rem; text-transform: uppercase; color: var(--white);
  letter-spacing: 0.04em; margin-bottom: 8px;
}
.pack-price {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: 1.8rem; color: var(--accent); margin-bottom: 16px;
}
.pack-price span { font-size: 0.9rem; font-weight: 400; color: var(--muted); }
.pack-desc-OLD { font-size: 0.95rem; line-height: 1.7; color: var(--text); margin-bottom: 20px; }
.pack-includes { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.pack-includes li { font-size: 0.83rem; color: var(--text); display: flex; gap: 10px; align-items: flex-start; }
.pack-includes li::before { content: '▸'; color: var(--accent); flex-shrink: 0; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 1.3rem; text-transform: uppercase; color: var(--white);
  letter-spacing: 0.05em; padding: 28px 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--accent); }
.faq-item.open .faq-q { color: var(--accent); }
.faq-q .faq-icon { font-size: 1.4rem; color: var(--accent); flex-shrink: 0; transition: transform 0.3s; }
.faq-a {
  font-size: 1.05rem; line-height: 1.85; color: var(--text); font-weight: 400;
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s;
}
.faq-item.open .faq-a { max-height: 600px; padding-bottom: 28px; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ── CONTACT FORM ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.contact-intro { font-size: 1.05rem; line-height: 1.85; color: var(--text); margin-bottom: 36px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.contact-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(232,184,75,0.08); border: 1px solid rgba(232,184,75,0.2);
  display: flex; align-items: center; justify-content: center;
}
.contact-label {
  font-family: 'Barlow Condensed', sans-serif; font-size: 0.7rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px;
}
.contact-value { font-size: 0.92rem; color: var(--white); }
.form-grid { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-label {
  font-family: 'Barlow Condensed', sans-serif; font-size: 0.7rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}
.form-input, .form-select, .form-textarea {
  background: var(--panel); border: 1px solid var(--border);
  color: var(--text); font-family: 'Barlow', sans-serif; font-size: 0.9rem;
  padding: 12px 16px; outline: none; transition: border-color 0.2s; width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--accent); }
.form-select { appearance: none; cursor: pointer; }
.form-textarea { resize: vertical; min-height: 120px; }
.form-input::placeholder, .form-textarea::placeholder { color: rgba(110,122,138,0.4); }

/* ── CHI SONO ── */
.chisono-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.photo-placeholder {
  background: var(--panel); border: 1px solid var(--border);
  aspect-ratio: 3/4; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px;
}
.photo-placeholder-icon { opacity: 0.2; }
.photo-placeholder-text { font-size: 0.8rem; color: var(--muted); text-align: center; }

/* ── METODO ── */
.metodo-steps { display: flex; flex-direction: column; gap: 0; }
.metodo-step {
  display: grid; grid-template-columns: 80px 1fr;
  gap: 32px; padding: 40px 0; border-bottom: 1px solid var(--border);
  align-items: start;
}
.metodo-step:last-child { border-bottom: none; }
.metodo-num {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: 5rem; color: var(--accent); line-height: 1; text-align: right;
  text-shadow: 0 0 24px rgba(77,159,255,0.6), 0 0 60px rgba(77,159,255,0.25);
  border-right: 3px solid var(--accent);
  padding-right: 20px;
}
.metodo-title {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 1.2rem; text-transform: uppercase; color: var(--white);
  letter-spacing: 0.04em; margin-bottom: 12px;
}
.metodo-text { font-size: 1.05rem; line-height: 1.85; color: var(--text); }

/* ── FOOTER ── */
footer { background: var(--black); border-top: 1px solid var(--border); position: relative; z-index: 1; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 64px; padding: 60px 0; }
.footer-logo-img {
  height: 52px;
  width: auto;
  display: block;
  margin-bottom: 16px;
  filter: brightness(1.1) drop-shadow(0 0 10px rgba(77,159,255,0.35));
  opacity: 0.95;
}
.footer-logo {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: 1.2rem; letter-spacing: 0.1em; color: var(--white); text-transform: uppercase; margin-bottom: 8px;
}
.footer-logo span { color: var(--accent); }
.footer-tagline { font-size: 0.82rem; color: var(--muted); margin-bottom: 16px; }
.footer-legal { font-size: 0.78rem; color: rgba(141,174,200,0.55); line-height: 1.6; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title {
  font-family: 'Barlow Condensed', sans-serif; font-size: 0.72rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 6px; padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.footer-col a { font-size: 0.85rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border); padding: 20px 0;
  font-size: 0.78rem; color: rgba(110,122,138,0.5); text-align: center;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  #navbar { padding: 0 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; position: fixed;
    top: 64px; left: 0; right: 0; background: var(--dark);
    border-bottom: 1px solid var(--border); padding: 24px;
    gap: 16px; align-items: flex-start;
  }
  .nav-links.open .nav-cta-mobile {
    display: block; background: var(--accent); color: var(--white);
    padding: 12px 24px; font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700; font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase;
    text-decoration: none; margin-top: 8px;
  }
  .dropdown { display: none !important; }
  .container { padding: 0 24px; }
  section { padding: 72px 0; }
  #hero { padding: 120px 24px 72px; }
  .hero-stats { display: none; }
  .target-grid { grid-template-columns: 1fr; }
  .steps-row { flex-direction: column; }
  .step { border-right: none; border-bottom: 1px solid var(--border); }
  .step:last-child { border-bottom: none; }
  .why-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .chisono-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
  .positioning-box { flex-direction: column; }
  .metodo-step { grid-template-columns: 60px 1fr; gap: 20px; }
}

/* ── LOGO HERO HOME ── */
.hero-logo-display {
  position: fixed;
  left: 48px;
  top: 220px;
  z-index: 10;
  animation: fadeUp 0.8s ease both 0.3s;
}
.hero-logo-img {
  width: 260px;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 28px rgba(77,159,255,0.5)) drop-shadow(0 0 70px rgba(77,159,255,0.25));
}

/* ── RESPONSIVE LOGO HERO ── */
@media (max-width: 900px) {
  .hero-logo-display {
    position: fixed;
    left: 12px;
    top: 140px;
    animation: none;
  }
  .hero-logo-img { width: 70px; }
  .hero-stats { display: none; }
}

/* ── ADMIN ACCESS LINK (footer) ── */
.admin-access-link {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  margin-top: 10px !important;
  font-size: 0.72rem !important;
  color: #4a6a8a !important;
  opacity: 0.7;
  border: 1px solid #1e3450;
  padding: 5px 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: 'Barlow Condensed', sans-serif !important;
  font-weight: 600 !important;
  transition: opacity 0.2s, border-color 0.2s, color 0.2s;
  text-decoration: none !important;
}
.admin-access-link:hover {
  opacity: 1;
  border-color: #4d9fff;
  color: #4d9fff !important;
}

/* ── ADMIN LINK IN NAVBAR ── */
.nav-admin-link {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  color: var(--muted) !important;
  border: 1px solid var(--border);
  padding: 5px 12px !important;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: border-color 0.2s, color 0.2s;
}
.nav-admin-link:hover {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}

/* ══════════════════════════════
   PORTFOLIO — VIDEO CARDS
══════════════════════════════ */
.portfolio-video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 40px;
}
.portfolio-video-card {
  display: block;
  text-decoration: none;
  background: var(--panel);
  border: 1px solid var(--border);
  transition: border-color 0.25s, transform 0.25s;
  overflow: hidden;
}
.portfolio-video-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.pv-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  background-color: #0a1020;
  overflow: hidden;
}
.pv-overlay {
  position: absolute; inset: 0;
  background: rgba(10,18,32,0.45);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px;
  transition: background 0.25s;
}
.portfolio-video-card:hover .pv-overlay {
  background: rgba(10,18,32,0.2);
}
.pv-play {
  transition: transform 0.2s;
}
.portfolio-video-card:hover .pv-play {
  transform: scale(1.15);
}
.pv-yt-badge {
  display: flex; align-items: center; gap: 7px;
  background: rgba(0,0,0,0.7);
  padding: 6px 14px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--white);
}
.pv-body {
  padding: 18px 20px 20px;
}
.pv-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 6px;
}
.pv-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: 1.05rem;
  color: var(--white); margin-bottom: 5px;
  letter-spacing: 0.02em;
}
.pv-desc {
  font-size: 0.8rem; color: var(--muted); line-height: 1.55;
}

/* PORTFOLIO RESPONSIVE */
@media (max-width: 900px) {
  .portfolio-video-grid { grid-template-columns: 1fr; }
  .portfolio-video-card:hover { transform: none; }
}

/* ── ELEMENTI DA NON GIUSTIFICARE ── */
h1, h2, h3, h4, h5, h6,
.hero-title, .page-hero-title, .section-title, .cta-title,
nav, .nav-links, .nav-cta, .nav-logo, .nav-admin-link,
.btn-primary, .btn-primary-large, .btn-ghost,
.hero-eyebrow, .section-eyebrow, .page-hero-eyebrow,
.admin-hero-eyebrow, .section-eyebrow,
.stat, .stat-num, .stat-label,
.target-title, .target-link,
.step-num, .step-title,
.pack-name, .pack-price,
.file-type-badge, .admin-badge,
.footer-bottom, .footer-col-title,
.tr-row, .pv-tag, .pv-title,
.login-brand, .login-sub, .login-label,
.info-box-label, .info-box-value,
.upload-title, .s-eyebrow,
input, select, textarea, button,
.why-item-title, .pos-title,
.positioning-box .pos-title {
  text-align: left;
  hyphens: none;
  -webkit-hyphens: none;
}

/* Elementi centrati: mantieni centrati */
.cta-container, .section-header,
.admin-hero-eyebrow, .upload-zone,
.login-box {
  text-align: center;
  hyphens: none;
  -webkit-hyphens: none;
}

/* ══════════════════════════════════════
   LOGO GRANDE NEL PAGE-HERO (pagine interne)
══════════════════════════════════════ */
.page-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
.page-hero-text {
  flex: 1;
  min-width: 0;
  padding: 0 !important; /* override container padding */
}
.page-hero-logo-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-hero-logo-img {
  width: 260px;
  height: auto;
  filter: drop-shadow(0 0 28px rgba(77,159,255,0.45))
          drop-shadow(0 0 60px rgba(77,159,255,0.18));
  animation: fadeUp 0.8s ease both 0.3s;
}

/* Override: page-hero container non deve avere padding proprio */
.page-hero .container.page-hero-text {
  max-width: none;
  padding: 0;
}

/* Responsive: logo sotto il testo su mobile */
@media (max-width: 900px) {
  .page-hero-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 24px;
    gap: 28px;
  }
  .page-hero-logo-wrap {
    align-self: center;
  }
  .page-hero-logo-img {
    width: 160px;
  }
}

/* ══ TESTI DESCRITTIVI GLOBALI (tutte le pagine) ══ */
.content-text {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text);
}
.pack-desc {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 16px;
}
.step-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
}
.why-item-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
}
.area-desc {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text);
}

/* ══ POSIZIONAMENTO CENTRATO (dopo i 4 settori) ══ */
.positioning-box-centered {
  text-align: center;
  width: 100%;
  padding: 56px 48px;
  border: 1px solid rgba(77,159,255,0.25);
  background: rgba(77,159,255,0.04);
  position: relative;
}
.positioning-box-centered::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(77,159,255,0.08);
  pointer-events: none;
}
.pos-icon-centered {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.pos-title-centered {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  line-height: 1.05;
}
.pos-desc-centered {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text);
  max-width: 600px;
  margin: 0 auto 32px;
}

/* Testo flashing in risalto */
@keyframes textPulse {
  0%, 100% {
    color: var(--accent);
    text-shadow: 0 0 16px rgba(77,159,255,0.8), 0 0 40px rgba(77,159,255,0.4);
    letter-spacing: 0.02em;
  }
  50% {
    color: #fff;
    text-shadow: 0 0 8px rgba(77,159,255,0.3);
    letter-spacing: 0.01em;
  }
}
.pos-flash-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  text-transform: uppercase;
  animation: textPulse 2.4s ease-in-out infinite;
  color: var(--accent);
  padding: 20px 24px;
  border-top: 1px solid rgba(77,159,255,0.2);
  margin-top: 8px;
  display: block;
}

@media (max-width: 768px) {
  .positioning-box-centered { padding: 36px 24px; }
  .pos-flash-text { font-size: 1.1rem; }
}

/* ══ RIQUADRO POSIZIONAMENTO DENTRO LA HERO ══ */
.hero-positioning-box {
  margin-top: 48px;
  padding: 36px 40px;
  border: 1px solid rgba(77,159,255,0.25);
  background: rgba(77,159,255,0.05);
  text-align: center;
  width: 100%;
  animation: fadeUp 0.8s ease both 0.55s;
}
.hero-positioning-box .pos-title-centered {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 14px;
}
.hero-positioning-box .pos-desc-centered { font-size: 1.05rem; line-height: 1.85; color: var(--text); margin-bottom: 20px; font-weight: 400; }
.hero-positioning-box .pos-icon-centered {
  margin-bottom: 16px;
}
@media (max-width: 768px) {
  .hero-positioning-box { padding: 24px 20px; margin-top: 32px; }
}

/* ── CTA FINALE: titolo e testo centrati ── */
#cta-finale .cta-title,
#cta-finale .cta-desc {
  text-align: center !important;
}

/* ══ LOGO E STATS FISSI — PAGINE INTERNE ══ */
.fixed-logo-display {
  position: fixed;
  left: 48px;
  top: 220px;
  z-index: 10;
  transition: opacity 0.4s ease;
}
.fixed-logo-img {
  width: 260px;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 28px rgba(77,159,255,0.5))
          drop-shadow(0 0 70px rgba(77,159,255,0.25));
}
.fixed-stats {
  position: fixed;
  right: 48px;
  top: 220px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  z-index: 10;
  transition: opacity 0.4s ease;
}
.fixed-logo-display.hidden,
.fixed-stats.hidden {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 900px) {
  .fixed-logo-display { left: 12px; top: 140px; }
  .fixed-logo-img { width: 70px; }
  .fixed-stats { display: none; }
}

/* ══ GRIGLIE RESPONSIVE ══ */

/* 2 colonne testo — gap ampio */
.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

/* 2 colonne immagini — gap stretto */
.grid-2col-img {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* Tabella Trasparenza: 4 colonne */
.trasparenza-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

/* ── DROPDOWN MOBILE: accordion ── */
@media (max-width: 900px) {
  .has-dropdown.mobile-open > .dropdown {
    display: flex !important;
    flex-direction: column;
    padding: 8px 0 8px 16px;
    gap: 0;
    border-left: 2px solid var(--accent);
    margin-top: 4px;
  }
  .has-dropdown.mobile-open > .dropdown li a {
    padding: 8px 12px;
    font-size: 0.9rem;
    color: var(--muted);
    white-space: normal;
  }
  .has-dropdown > a { cursor: pointer; }
}

/* ══ MEDIA QUERY 900px ══ */
@media (max-width: 900px) {
  /* Griglie testo → colonna singola */
  .grid-2col { grid-template-columns: 1fr; gap: 32px; }
  .grid-2col-img { grid-template-columns: 1fr; gap: 8px; }
  
  /* Trasparenza 4col → 2col su tablet */
  .trasparenza-grid { grid-template-columns: repeat(2, 1fr); }
  
  /* Logo fixed nascosto — non copre il contenuto */
  .fixed-logo-display { display: none; }
  .hero-logo-display { display: none; }

  /* Hero padding */
  #hero { padding: 160px 0 72px; }

  /* Page hero */
  .page-hero { padding: 110px 0 60px; }

  /* Pacchetti */
  .pack-name { font-size: 1.1rem; }
  .pack-price { font-size: 1.2rem; }

  /* Metodo */
  .metodo-step { grid-template-columns: 56px 1fr; gap: 16px; }
  .metodo-num { font-size: 3.5rem; }

  /* FAQ */
  .faq-q { font-size: 1.1rem; }
  .faq-a { font-size: 1rem; }

  /* CTA */
  .cta-container { padding: 60px 24px; }
  .cta-title { font-size: clamp(1.8rem, 6vw, 2.8rem) !important; }
}

/* ══ MEDIA QUERY 480px ══ */
@media (max-width: 480px) {
  /* Trasparenza → 1 colonna */
  .trasparenza-grid { grid-template-columns: 1fr; }

  /* Prezzi → 1 colonna */
  .prezzi-grid { grid-template-columns: 1fr; }
  
  /* Tipografia */
  .hero-title { font-size: clamp(2.4rem, 10vw, 3.5rem); }
  .section-title { font-size: clamp(1.8rem, 7vw, 2.8rem); }

  /* Spaziature */
  .container { padding: 0 16px; }
  section { padding: 56px 0; }
}

/* ══ MOBILE — LOGO E STATS: transizione opacity per overlap detection ══
   Attivo solo su ≤ 1024px. Desktop: nessuna modifica.
   Il JS in main.js imposta opacity:0/1 in base alla sovrapposizione con le sezioni.
   La transizione rende il passaggio fluido in entrambe le direzioni.        */
@media (max-width: 1024px) {
  .fixed-logo-display,
  .hero-logo-display {
    transition: opacity 0.4s ease;
    pointer-events: none;
  }
  .fixed-stats,
  .hero-stats {
    transition: opacity 0.4s ease;
    pointer-events: none;
  }
}

/* ── BREAKPOINT CALCOLATI: nasconde logo e stats prima che si sovrappongano ── */
@media (max-width: 1640px) {
  .fixed-stats,
  .hero-stats {
    display: none;
  }
}

@media (max-width: 1760px) {
  .fixed-logo-display,
  .hero-logo-display {
    left: 24px;
  }
  .hero-logo-img,
  .fixed-logo-img {
    width: 140px;
  }
}

@media (max-width: 1460px) {
  .fixed-logo-display,
  .hero-logo-display {
    display: none;
  }
}

/* ══ CHI SONO — FOTO TRIPTYCH ══ */
.chisono-photo-section {
  padding: 0 0 0 0;
  background: #0a1628;
}
.chisono-triptych-wrap {
  margin: 0;
  padding: 0;
  display: block;
  position: relative;
}
.chisono-triptych-img {
  width: 100%;
  display: block;
  max-height: 560px;
  object-fit: cover;
  object-position: center top;
}
.chisono-triptych-caption {
  background: rgba(10, 22, 40, 0.88);
  color: #b0bdd0;
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.6;
  text-align: center;
  padding: 18px 24px;
  border-top: 2px solid #2e80c8;
}
@media (max-width: 768px) {
  .chisono-triptych-img {
    max-height: 340px;
    object-position: center center;
  }
  .chisono-triptych-caption {
    font-size: 0.85rem;
    padding: 14px 16px;
  }
}

/* ══ CHI SONO — CENTRATURA CONTENUTI ══ */
.chisono-content .content-title { text-align: center; }
.chisono-content .content-text  { text-align: center; }
.chisono-content .benefit-list  { max-width: 600px; margin: 0 auto; text-align: left; }
.chisono-content .btn-primary   { display: inline-block; }
