/*
Theme Name:  Cresio Studio
Theme URI:   https://cresiostudio.it
Author:      Cresio Studio
Description: Tema custom per Cresio Studio — collettivo di comunicazione Roma.
Version:     1.0.0
License:     GNU General Public License v2 or later
Text Domain: cresio
*/

/* ══════════════════════════════════════════════════════════
   Cresio Studio — main.css
   Stili fedeli al design originale della landing page.
   ══════════════════════════════════════════════════════════ */

/* ─── VARIABILI ──────────────────────────────────────────── */
:root {
  --dark:        #0a0f0d;
  --dark2:       #111814;
  --green:       #6b8f71;
  --green-light: #8aab8f;
  --teal:        #1e3d3a;
  --teal-dark:   #163230;
  --cream:       #f4f0e8;
  --cream2:      #ede9e0;
  --text-dark:   #1a1a1a;
  --text-muted:  #6b6b6b;
  --text-light:  #c8c4bb;
  --accent:      #b5895a;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--dark);
  color: var(--cream);
  overflow-x: hidden;
}
/* ─── WORDPRESS WRAPPER RESET ────────────────────────────
   WordPress inietta automaticamente questi wrapper. Li
   azzeriamo per permettere alle sezioni di essere full-width.
─────────────────────────────────────────────────────────── */
#page,
.site,
.site-content,
#content,
.wp-site-blocks,
.entry-content,
.post-content {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Nasconde elementi WordPress non necessari nella homepage */
.site-header,
.site-footer,
.page-header,
.entry-header,
.entry-footer,
.comments-area,
.navigation.post-navigation,
.wp-block-template-part {
  display: none !important;
}

/* Assicura che il body non abbia padding da temi figlio */
body.page,
body.home,
body.single-lavoro-page,
body.has-promo-bar,
body.has-promo-bar.promo-docked {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* WordPress admin bar: evita che sposti il layout con margin-top sul body */
.admin-bar {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.admin-bar #nav-main {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar #nav-main { top: 46px; }
}
#wpadminbar { position: fixed !important; }

/* ─── NAV ─────────────────────────────────────────────────── */
#nav-main {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 4rem;
  background: rgba(10,15,13,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(107,143,113,0.1);
}
.nav-logo { display: flex; align-items: center; gap: 0.8rem; }
.nav-logo svg { width: 32px; height: 32px; }
.nav-logo-text {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300; letter-spacing: 0.2em; font-size: 0.8rem;
  color: var(--green-light);
}
/* WordPress aggiunge un tag <a> dentro custom logo */
.custom-logo-link { display: flex; align-items: center; }
.custom-logo { max-height: 40px; width: auto; }

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  color: var(--text-light); text-decoration: none;
  font-size: 0.78rem; letter-spacing: 0.12em;
  font-weight: 400; transition: color 0.3s;
  font-family: 'DM Mono', monospace;
}
.nav-links a:hover { color: var(--green-light); }
.nav-cta {
  background: var(--green); color: var(--dark) !important;
  padding: 0.5rem 1.2rem; border-radius: 2px;
  font-family: 'DM Mono', monospace; font-size: 0.78rem;
  letter-spacing: 0.1em; text-decoration: none;
  transition: background 0.3s;
}
.nav-cta:hover { background: var(--green-light) !important; }

/* ─── HERO ────────────────────────────────────────────────── */
#hero {
  min-height: 100vh; display: grid; place-items: center;
  position: relative; overflow: hidden;
  background: var(--dark); padding: 8rem 4rem 4rem;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(30,61,58,0.4) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(107,143,113,0.08) 0%, transparent 60%);
}
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(107,143,113,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107,143,113,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
}
.hero-content { position: relative; z-index: 1; max-width: 900px; text-align: left; }
.hero-eyebrow {
  font-family: 'DM Mono', monospace; font-size: 0.72rem;
  letter-spacing: 0.25em; color: var(--green); text-transform: uppercase;
  margin-bottom: 2rem; display: block;
  opacity: 0; animation: fadeUp 0.8s 0.2s forwards;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 7vw, 6.5rem); font-weight: 300; line-height: 1.05;
  color: var(--cream); margin-bottom: 1.5rem;
  opacity: 0; animation: fadeUp 0.8s 0.4s forwards;
}
.hero-title em { font-style: italic; color: var(--green-light); }
.hero-title .lang-en {
  display: block; font-size: 0.55em; color: var(--text-light);
  font-weight: 300; margin-top: 0.3em; letter-spacing: 0.02em;
}
.hero-sub {
  font-size: 1rem; color: var(--text-light); max-width: 520px;
  line-height: 1.8; margin-bottom: 3rem; font-weight: 300;
  opacity: 0; animation: fadeUp 0.8s 0.6s forwards;
}
.hero-actions {
  display: flex; gap: 1.2rem; align-items: center;
  opacity: 0; animation: fadeUp 0.8s 0.8s forwards;
}
.btn-primary {
  background: var(--green); color: var(--dark);
  padding: 0.9rem 2rem; border: none;
  font-family: 'DM Sans', sans-serif; font-size: 0.82rem;
  letter-spacing: 0.1em; cursor: pointer;
  text-decoration: none; display: inline-block;
  transition: all 0.3s; font-weight: 500;
}
.btn-primary:hover { background: var(--green-light); transform: translateY(-1px); }
.btn-ghost {
  color: var(--text-light); font-size: 0.82rem; letter-spacing: 0.1em;
  text-decoration: none; border-bottom: 1px solid rgba(200,196,187,0.3);
  padding-bottom: 2px; transition: all 0.3s;
  font-family: 'DM Mono', monospace;
}
.btn-ghost:hover { color: var(--cream); border-color: var(--cream); }

.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  opacity: 0; animation: fadeIn 1s 1.5s forwards;
}
.hero-scroll span {
  font-family: 'DM Mono', monospace; font-size: 0.6rem;
  letter-spacing: 0.2em; color: var(--text-muted); text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--green), transparent);
  animation: scrollPulse 2s infinite;
}

/* ─── SEZIONI BASE ───────────────────────────────────────── */
section { padding: 8rem 4rem; }
.section-light  { background: var(--cream);     color: var(--text-dark); }
.section-cream2 { background: var(--cream2);    color: var(--text-dark); }
.section-dark   { background: var(--dark2);      color: var(--cream); }
.section-teal   { background: var(--teal-dark);  color: var(--cream); }

.container { max-width: 1200px; margin: 0 auto; }

.section-label {
  font-family: 'DM Mono', monospace; font-size: 0.68rem;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--green); margin-bottom: 1rem; display: block;
}
.section-label-light { color: var(--teal); }

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.8rem); font-weight: 300;
  line-height: 1.15; margin-bottom: 1rem;
}
.section-title em { font-style: italic; color: var(--green); }
.section-title-light em { color: var(--teal); }

.section-sub { font-size: 0.95rem; line-height: 1.9; color: var(--text-muted); max-width: 540px; font-weight: 300; }
.section-sub-dark { color: var(--text-light); }

/* ─── MISSION ────────────────────────────────────────────── */
#mission .container { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
.mission-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 300;
  line-height: 1.4; color: var(--cream); margin: 2rem 0;
}
.mission-body { font-size: 0.92rem; line-height: 1.9; color: var(--text-light); font-weight: 300; }
.mission-body em { font-style: italic; color: var(--green-light); }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1rem; }
.value-card {
  padding: 1.5rem; border: 1px solid rgba(107,143,113,0.15);
  background: rgba(107,143,113,0.04); transition: border-color 0.3s, background 0.3s;
}
.value-card:hover { border-color: rgba(107,143,113,0.4); background: rgba(107,143,113,0.08); }
.value-num { font-family: 'DM Mono', monospace; font-size: 0.6rem; letter-spacing: 0.2em; color: var(--green); display: block; margin-bottom: 0.5rem; }
.value-name { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 400; color: var(--cream); margin-bottom: 0.4rem; }
.value-desc { font-size: 0.78rem; color: var(--text-light); line-height: 1.6; font-weight: 300; }

/* ─── CHI SIAMO ──────────────────────────────────────────── */
#chi-siamo .container { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.team-cards { display: flex; flex-direction: column; gap: 1.5rem; }
.team-card {
  display: flex; align-items: center; gap: 1.5rem; padding: 1.8rem;
  background: white; border-left: 3px solid var(--green);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.team-avatar {
  width: 56px; height: 56px; border-radius: 50%; background: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: var(--cream); flex-shrink: 0;
}
.team-name { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; color: var(--text-dark); margin-bottom: 0.2rem; }
.team-role { font-size: 0.75rem; color: var(--text-muted); font-family: 'DM Mono', monospace; letter-spacing: 0.08em; }
.team-quote {
  padding: 1.2rem 1.5rem;
  background: rgba(107,143,113,0.06);
  border-left: 2px solid rgba(107,143,113,0.3);
  font-size: 0.78rem; color: var(--text-muted); line-height: 1.7;
  font-family: 'DM Mono', monospace; letter-spacing: 0.03em;
  font-style: normal;
}
.artigiani-badge {
  display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 2rem;
  padding: 0.7rem 1.2rem; border: 1px solid rgba(30,61,58,0.2);
  background: rgba(30,61,58,0.05); font-size: 0.78rem;
  font-family: 'DM Mono', monospace; letter-spacing: 0.1em; color: var(--teal);
}
.artigiani-badge::before { content: '◆'; color: var(--green); font-size: 0.6rem; }

/* ─── PERCHÉ ─────────────────────────────────────────────── */
.perche-header { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-bottom: 4rem; align-items: end; }
.perche-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.perche-item {
  padding: 2.5rem 2rem;
  border-top: 1px solid rgba(107,143,113,0.15);
  border-right: 1px solid rgba(107,143,113,0.15);
  transition: background 0.3s;
}
.perche-item:nth-child(3n) { border-right: none; }
.perche-item:hover { background: rgba(107,143,113,0.04); }
.perche-icon { font-size: 1.5rem; margin-bottom: 1rem; display: block; }
.perche-title { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; color: var(--cream); margin-bottom: 0.6rem; }
.perche-desc { font-size: 0.8rem; color: var(--text-light); line-height: 1.7; font-weight: 300; }

/* ─── LAVORI ─────────────────────────────────────────────── */
#lavori .section-label { color: var(--teal); }
.lavori-header { display: flex; justify-content: space-between; align-items: end; margin-bottom: 3.5rem; }
.lavori-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.project-card {
  background: white; overflow: hidden; cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none; color: inherit; display: block;
}
.project-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.12); }
.project-thumb { height: 220px; position: relative; overflow: hidden; }
.project-thumb-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.project-thumb-inner {
  position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: center; flex-direction: column; gap: 0.5rem;
}
.project-thumb-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; color: rgba(255,255,255,0.15);
  font-weight: 300; letter-spacing: 0.05em;
  line-height: 1.2; word-break: break-word;
  max-width: 100%;
}
.project-thumb-tag { font-family: 'DM Mono', monospace; font-size: 0.6rem; letter-spacing: 0.25em; color: rgba(255,255,255,0.3); text-transform: uppercase; }
.project-overlay {
  position: absolute; inset: 0; background: rgba(10,15,13,0.6);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s;
}
.project-card:hover .project-overlay { opacity: 1; }
.project-overlay span {
  font-family: 'DM Mono', monospace; font-size: 0.72rem; letter-spacing: 0.2em;
  color: var(--cream); border-bottom: 1px solid var(--green); padding-bottom: 3px;
}
.project-info { padding: 1.5rem; }
.project-category { font-family: 'DM Mono', monospace; font-size: 0.62rem; letter-spacing: 0.2em; color: var(--teal); text-transform: uppercase; margin-bottom: 0.4rem; }
.project-name { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: var(--text-dark); margin-bottom: 0.3rem; }
.project-desc { font-size: 0.78rem; color: var(--text-muted); line-height: 1.6; }
.project-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1rem; }
.tag { font-size: 0.65rem; font-family: 'DM Mono', monospace; padding: 0.2rem 0.6rem; background: var(--cream2); color: var(--text-muted); border: 1px solid rgba(0,0,0,0.08); }

/* ─── PACCHETTI ──────────────────────────────────────────── */
#pacchetti { background: var(--dark); }
.pacchetti-header { text-align: center; margin-bottom: 4rem; }
.pacchetti-header .section-sub { margin: 0 auto; text-align: center; }
.pacchetti-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* 5 righe: header | prezzo | desc | features | footer */
  grid-template-rows: auto auto auto 1fr auto;
  gap: 1px;
  background: rgba(107,143,113,0.1);
  border: 1px solid rgba(107,143,113,0.1);
}
.pacchetto {
  background: var(--dark2);
  padding: 2.5rem 2rem;
  position: relative;
  transition: background 0.3s;
  /* subgrid: ogni card si aggancia alle 5 righe del parent */
  grid-row: span 5;
  display: grid;
  grid-template-rows: subgrid;
}
.pacchetto:hover { background: rgba(30,61,58,0.2); }
.pacchetto.featured { background: var(--teal-dark); border: 1px solid rgba(107,143,113,0.3); margin: -1px; z-index: 1; }
.pacchetto.featured:hover { background: rgba(30,61,58,0.5); }
.featured-badge {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: var(--dark); font-family: 'DM Mono', monospace;
  font-size: 0.6rem; letter-spacing: 0.15em; padding: 0.3rem 1rem; white-space: nowrap;
}
/* ── Header: icona + numero + titolo ── */
.pack-header { margin-bottom: 0; }
.pack-icon { font-size: 1.4rem; margin-bottom: 1.2rem; display: block; }
.pack-name { font-family: 'DM Mono', monospace; font-size: 0.65rem; letter-spacing: 0.2em; color: var(--green); text-transform: uppercase; margin-bottom: 0.5rem; }
.pack-title { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--cream); margin-bottom: 0.8rem; line-height: 1.2; }
.pack-subtitle { font-size: 0.8em; color: var(--text-light); font-family: 'DM Sans', sans-serif; font-weight: 300; }
/* ── Prezzo ── */
.pack-price { margin-bottom: 1.5rem; }
.pack-price .amount { font-family: 'Cormorant Garamond', serif; font-size: 2.8rem; color: var(--cream); font-weight: 300; line-height: 1; }
.pack-price .currency { font-size: 1.2rem; vertical-align: super; color: var(--green-light); }
.pack-price .note { display: block; font-size: 0.7rem; color: var(--text-muted); margin-top: 0.3rem; font-family: 'DM Mono', monospace; letter-spacing: 0.05em; }
.coming-soon-price { font-size: 1.8rem !important; color: var(--text-muted) !important; line-height: 1.3 !important; }
/* ── Body: desc (altezza fissa) + features ── */
.pack-body { flex: 1; display: flex; flex-direction: column; }
.pack-desc {
  font-size: 0.8rem; color: var(--text-light); line-height: 1.7;
  font-weight: 300; margin-bottom: 1.5rem;
  height: 6.8rem;   /* ~5 righe — tieni le descrizioni entro 25 parole */
  overflow: hidden;
}
.pack-features { list-style: none; margin-bottom: 0; }
.pack-features li {
  font-size: 0.75rem; color: var(--text-light); padding: 0.4rem 0;
  border-bottom: 1px solid rgba(107,143,113,0.1);
  display: flex; align-items: flex-start; gap: 0.6rem; line-height: 1.5;
}
.pack-features li::before { content: '—'; color: var(--green); font-family: 'DM Mono', monospace; font-size: 0.65rem; flex-shrink: 0; margin-top: 0.1rem; }
.pack-features .coming-soon { color: var(--text-muted); font-style: italic; }
/* ── Footer: tempistica + CTA sempre in fondo ── */
.pack-footer { margin-top: auto; padding-top: 1.5rem; }
.pack-tempistica { font-size: 0.68rem; color: var(--text-muted); font-family: 'DM Mono', monospace; margin-bottom: 1rem; display: block; }
.pack-cta {
  display: block; text-align: center; padding: 0.8rem;
  border: 1px solid rgba(107,143,113,0.3); color: var(--green-light);
  text-decoration: none; font-family: 'DM Mono', monospace;
  font-size: 0.72rem; letter-spacing: 0.1em; transition: all 0.3s;
}
.pack-cta:hover { background: var(--green); color: var(--dark); border-color: var(--green); }
.pack-cta.primary-cta { background: var(--green); color: var(--dark); border-color: var(--green); }
.pack-cta.primary-cta:hover { background: var(--green-light); }
.pack-tbd { display: flex; align-items: center; justify-content: center; flex: 1; padding: 2rem 0; }
.tbd-inner { text-align: center; }
.tbd-icon { font-size: 2rem; opacity: 0.3; }
.tbd-label { font-family: 'DM Mono', monospace; font-size: 0.65rem; letter-spacing: 0.2em; color: var(--text-muted); display: block; margin-top: 0.5rem; }
.payment-note { text-align: center; margin-top: 2rem; font-family: 'DM Mono', monospace; font-size: 0.68rem; letter-spacing: 0.1em; color: var(--text-muted); }
.payment-note span { color: var(--green); }
.pacchetti-note { margin-top: 2rem; padding: 1.5rem 2rem; border: 1px solid rgba(107,143,113,0.1); background: rgba(107,143,113,0.03); }
.pacchetti-note p { font-size: 0.78rem; color: var(--text-muted); line-height: 1.8; font-family: 'DM Mono', monospace; letter-spacing: 0.03em; }
.note-label { color: var(--green); }

/* ─── PROMO ──────────────────────────────────────────────── */
#promo { background: var(--teal-dark); position: relative; overflow: hidden; }
#promo::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(107,143,113,0.08) 0%, transparent 70%);
}
.promo-container { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.promo-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: rgba(181,137,90,0.15); border: 1px solid rgba(181,137,90,0.3);
  padding: 0.4rem 1rem; margin-bottom: 1.5rem;
}
.promo-badge::before { content: '★'; color: var(--accent); font-size: 0.7rem; }
.promo-badge span { font-family: 'DM Mono', monospace; font-size: 0.65rem; letter-spacing: 0.2em; color: var(--accent); text-transform: uppercase; }
.promo-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 3.5vw, 3.2rem); font-weight: 300; line-height: 1.2; color: var(--cream); margin-bottom: 1.5rem; }
.promo-title em { font-style: italic; color: var(--accent); }
.promo-desc { font-size: 0.88rem; color: var(--text-light); line-height: 1.9; font-weight: 300; margin-bottom: 2rem; }
.promo-pricing { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 2rem; }
.promo-old-price { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; color: var(--text-muted); text-decoration: line-through; }
.promo-new-price { font-family: 'Cormorant Garamond', serif; font-size: 3.5rem; color: var(--accent); font-weight: 300; line-height: 1; }
.promo-new-price .curr { font-size: 1.5rem; vertical-align: super; }
.promo-save { background: rgba(181,137,90,0.15); border: 1px solid rgba(181,137,90,0.3); padding: 0.4rem 0.8rem; font-family: 'DM Mono', monospace; font-size: 0.65rem; letter-spacing: 0.1em; color: var(--accent); }
.spots-left { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.spots-dots { display: flex; gap: 0.4rem; }
.spot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(107,143,113,0.5); }
.spot.taken { background: rgba(107,143,113,0.2); box-shadow: none; }
.spots-text { font-family: 'DM Mono', monospace; font-size: 0.68rem; letter-spacing: 0.1em; color: var(--text-light); }
.spots-text strong { color: var(--green); }
.promo-fine-print { font-size: 0.75rem; color: var(--text-muted); font-family: 'DM Mono', monospace; letter-spacing: 0.05em; line-height: 1.8; }

/* Form */
.promo-form-card { background: rgba(10,15,13,0.6); border: 1px solid rgba(107,143,113,0.2); padding: 1.5rem; backdrop-filter: blur(10px); }
.form-title { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; color: var(--cream); margin-bottom: 0.3rem; }
.form-sub { font-size: 0.78rem; color: var(--text-muted); font-family: 'DM Mono', monospace; letter-spacing: 0.05em; margin-bottom: 1.8rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-family: 'DM Mono', monospace; font-size: 0.62rem; letter-spacing: 0.2em; color: var(--text-muted); text-transform: uppercase; margin-bottom: 0.4rem; }
.form-group input,
.form-group select {
  width: 100%; background: rgba(107,143,113,0.05); border: 1px solid rgba(107,143,113,0.15);
  color: var(--cream); padding: 0.8rem 1rem; font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem; outline: none; transition: border-color 0.3s; -webkit-appearance: none;
}
.form-group select option { background: var(--dark2); color: var(--cream); }
.form-group input:focus, .form-group select:focus { border-color: var(--green); }
.form-group input::placeholder { color: rgba(200,196,187,0.3); }
.form-submit {
  width: 100%; background: var(--green); color: var(--dark); border: none; padding: 1rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.82rem; letter-spacing: 0.12em;
  font-weight: 500; cursor: pointer; transition: background 0.3s; margin-top: 0.5rem;
}
.form-submit:hover { background: var(--green-light); }
.form-note { font-size: 0.65rem; color: var(--text-muted); text-align: center; margin-top: 1rem; font-family: 'DM Mono', monospace; line-height: 1.6; }
.form-success { display: none; text-align: center; padding: 2rem 0; }
.form-success-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.form-success h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; color: var(--cream); margin-bottom: 0.5rem; }
.form-success p { font-size: 0.82rem; color: var(--text-light); line-height: 1.7; }

/* REGOLE FORM HOME PAGE PERSONALI */
form.wpcf7-form.init>p>label { display: block; font-family: 'DM Mono', monospace; font-size: 0.62rem; letter-spacing: 0.2em; color: var(--text-muted); text-transform: uppercase; margin-bottom: 0.4rem; }
span.wpcf7-form-control-wrap>input { width: 100%; background: rgba(107, 143, 113, 0.05); border: 1px solid rgba(107, 143, 113, 0.15); color: var(--cream); padding: 0.8rem 1rem; font-family: 'DM Sans', sans-serif; font-size: 0.85rem; outline: none; transition: border-color 0.3s; -webkit-appearance: none; margin-top: 0.4rem; }
span.wpcf7-form-control-wrap>input:focus{ border-color: var(--green); }
select.opzione-pacchetto{ width: 100%; background: rgba(107, 143, 113, 0.05); border: 1px solid rgba(107, 143, 113, 0.15); color: var(--cream); padding: 0.8rem 1rem; font-family: 'DM Sans', sans-serif; font-size: 0.85rem; outline: none; transition: border-color 0.3s; -webkit-appearance: none; margin-top: 0.4rem; }
input#submit{ width: 100%; background: var(--green); color: var(--dark); border: none; padding: 1rem; font-family: 'DM Sans', sans-serif; font-size: 0.82rem; letter-spacing: 0.12em; font-weight: 500; cursor: pointer; transition: background 0.3s; margin-top: 0.5rem; }
input#submit:hover{ background: var(--green-light); }

/* ─── SINGLE LAVORO ──────────────────────────────────────── */
.single-lavoro { margin-top: 70px; /* offset nav fissa */ }
.lavoro-hero { position: relative; height: 60vh; min-height: 400px; overflow: hidden; background: var(--teal-dark); display: flex; align-items: flex-end; }
.lavoro-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lavoro-hero-overlay { position: absolute; inset: 0; background: rgba(10,15,13,0.5); }
.lavoro-hero-content { position: relative; z-index: 1; padding: 3rem 4rem; }
.lavoro-categoria { font-family: 'DM Mono', monospace; font-size: 0.7rem; letter-spacing: 0.25em; color: var(--green-light); text-transform: uppercase; display: block; margin-bottom: 1rem; }
.lavoro-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 5vw, 4rem); font-weight: 300; color: var(--cream); margin-bottom: 1rem; }
.lavoro-body { padding: 5rem 4rem; }
.lavoro-body-grid { display: grid; grid-template-columns: 1fr 280px; gap: 4rem; }
.lavoro-desc { font-size: 0.95rem; line-height: 1.9; color: var(--text-muted); }
.lavoro-desc p { margin-bottom: 1.2rem; }
.lavoro-meta { display: flex; flex-direction: column; gap: 1.5rem; }
.meta-item { border-bottom: 1px solid rgba(0,0,0,0.08); padding-bottom: 1rem; }
.meta-label { font-family: 'DM Mono', monospace; font-size: 0.62rem; letter-spacing: 0.2em; color: var(--text-muted); text-transform: uppercase; display: block; margin-bottom: 0.3rem; }
.meta-value { font-size: 0.88rem; color: var(--text-dark); }
.lavoro-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 4rem; }
.lavoro-gallery-item { margin: 0; }
.lavoro-gallery-item img { width: 100%; height: 250px; object-fit: cover; display: block; }

/* ─── FOOTER ─────────────────────────────────────────────── */
footer {
  background: var(--dark); border-top: 1px solid rgba(107,143,113,0.1);
  padding: 3rem 4rem;
}
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.footer-logo { display: flex; align-items: center; gap: 0.8rem; }
.footer-logo-text { font-family: 'DM Sans', sans-serif; font-size: 0.75rem; letter-spacing: 0.2em; color: var(--text-muted); }
.footer-copy { font-family: 'DM Mono', monospace; font-size: 0.65rem; color: var(--text-muted); letter-spacing: 0.05em; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { font-family: 'DM Mono', monospace; font-size: 0.65rem; color: var(--text-muted); text-decoration: none; letter-spacing: 0.1em; transition: color 0.3s; }
.footer-links a:hover { color: var(--green-light); }

/* ─── ANIMATIONS ─────────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes scrollPulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
/* ─── HAMBURGER + OVERLAY MOBILE ────────────────────────── */
.nav-right {
  display: flex; align-items: center; gap: 1rem;
}
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px; background: none; border: none;
  cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--green-light);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10,15,13,0.96);
  backdrop-filter: blur(16px);
  flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s;
}
.mobile-menu-overlay.is-open {
  display: flex; opacity: 1;
}
.mobile-menu-close {
  position: absolute; top: 1.4rem; right: 1.5rem;
  background: none; border: none; color: var(--text-muted);
  font-size: 1.4rem; cursor: pointer; line-height: 1;
  transition: color 0.2s;
}
.mobile-menu-close:hover { color: var(--green-light); }
.mobile-menu-nav { text-align: center; }
.mobile-nav-links { list-style: none; margin-bottom: 2.5rem; }
.mobile-nav-links li { margin-bottom: 0.5rem; }
.mobile-nav-links a {
  display: block; padding: 0.8rem 1rem;
  font-family: 'DM Mono', monospace; font-size: 0.85rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-light); text-decoration: none;
  transition: color 0.2s;
}
.mobile-nav-links a:hover { color: var(--green-light); }
.mobile-nav-cta {
  display: inline-block;
  background: var(--green); color: var(--dark) !important;
  padding: 0.75rem 2rem; border-radius: 2px;
  font-family: 'DM Mono', monospace; font-size: 0.78rem;
  letter-spacing: 0.1em; text-decoration: none;
  transition: background 0.3s;
}
.mobile-nav-cta:hover { background: var(--green-light); }

/* ─── SCROLL TO TOP ──────────────────────────────────────── */
.scroll-top-btn {
  position: fixed; bottom: 1.8rem; right: 1.8rem; z-index: 90;
  width: 42px; height: 42px;
  background: rgba(10,15,13,0.85); backdrop-filter: blur(8px);
  border: 1px solid rgba(107,143,113,0.3);
  color: var(--green-light); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, background 0.3s;
}
.scroll-top-btn.visible { opacity: 1; pointer-events: auto; }
.scroll-top-btn:hover { background: var(--green); color: var(--dark); border-color: var(--green); }

/* ─── BARRA PROMO MOBILE (fissa in basso) ───────────────── */
.mobile-promo-bar {
  display: none; /* visibile solo su mobile via media query */
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 95;
  background: var(--green); color: var(--dark);
  text-align: center;
  font-family: 'DM Mono', monospace; font-size: 0.72rem;
  letter-spacing: 0.12em; text-decoration: none;
  padding: 0.75rem 1rem;
  transition: background 0.3s;
}
/* Quando il footer entra nel viewport: si sposta sotto la navbar */
.mobile-promo-bar.is-docked {
  bottom: auto;
  top: var(--nav-offset, 60px);
}
.mobile-promo-bar:hover { background: var(--green-light); }
body.has-promo-bar { padding-bottom: 46px; }

@media (max-width: 900px) {
  #nav-main { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-cta { display: none; } /* sostituita dalla barra fissa in basso */
  section { padding: 5rem 1.5rem; }
  #hero { padding: 7rem 1.5rem 4rem; }
  #mission .container,
  #chi-siamo .container,
  .promo-container,
  .perche-header { grid-template-columns: 1fr; gap: 3rem; }
  .values-grid { grid-template-columns: 1fr; }
  .perche-grid { grid-template-columns: 1fr; }
  .pacchetti-grid { grid-template-columns: 1fr; }
  .lavori-grid { grid-template-columns: 1fr; }
  .lavoro-body-grid { grid-template-columns: 1fr; }
  footer { padding: 2rem 1.5rem; }
  .footer-inner { flex-direction: column; gap: 1.5rem; text-align: center; }
  .lavoro-hero-content { padding: 2rem 1.5rem; }
  .lavoro-body { padding: 3rem 1.5rem; }
  .mobile-promo-bar { display: block; }
}
