/* ===================================================================
   G78 Advisory — stylesheet
   Palette chiara: crema + navy + accento ottone · Inter + Fraunces
   =================================================================== */

:root {
  /* Brand palette */
  --navy:        #1f3a5f;
  --navy-deep:   #142540;
  --navy-soft:   #2c507f;
  --steel:       #6c7a89;
  --slate:       #4a5a6e;
  --gold:        #b08a4a;      /* accento ottone, finance-feel */
  --gold-soft:   #c69955;

  /* Surfaces */
  --bg:          #fbfaf7;
  --bg-soft:     #f4f1ea;
  --bg-card:     #ffffff;
  --bg-dark:     #0f1c30;

  /* Text */
  --text:              #1a2336;
  --text-muted:        #5d6a7e;
  --text-light:        #ffffff;
  --text-light-muted:  #b9c4d4;

  /* Lines */
  --line:        #e6e1d6;
  --line-dark:   #2a3a55;

  /* Type */
  --ff-sans:  'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ff-serif: 'Fraunces', 'Times New Roman', Georgia, serif;

  /* Layout */
  --container: 1180px;
  --radius: 4px;
  --radius-lg: 10px;
  --pad: 28px;

  /* Motion */
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* --- Reset & base ------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--navy-soft); }
button { font: inherit; cursor: pointer; }
::selection { background: rgba(176,138,74,.3); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* --- Typography --------------------------------------------------- */

h1, h2, h3, h4 {
  font-family: var(--ff-serif);
  color: var(--navy-deep);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.3rem, 4.8vw, 4rem); line-height: 1.06; font-weight: 500; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.8rem); line-height: 1.15; }
h3 { font-size: 1.32rem; line-height: 1.28; font-weight: 600; }
h4 { font-size: .95rem; line-height: 1.3; font-weight: 600; color: var(--text); }
p  { margin: 0 0 1em; color: var(--slate); }
em { font-style: italic; color: var(--gold); font-weight: 500; }

/* Distinctive ampersand: Fraunces italic — è proprio quella ornata
   distintiva del font. Si applica dentro a contesti serif (h1/h2/h3/
   chip serif), e va aggiunta ai termini con "&" sia come separatore
   (Agroalimentare & vino) sia dentro espressioni standard (M&A, B&B). */
.amp {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1em;
  color: inherit;
  /* tight in M&A senza scomporre il composto */
  letter-spacing: -0.01em;
  padding: 0 0.02em;
}
em .amp { color: var(--gold); }

.muted   { color: var(--text-muted); }
.italic  { font-style: italic; }
.small   { font-size: .92rem; }
.xsmall  { font-size: .82rem; }

/* Eyebrow with em-dash style */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--ff-sans);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .76rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 1.4em;
}
.eyebrow-line {
  display: inline-block;
  width: 26px;
  height: 1px;
  background: var(--gold);
}

/* --- Buttons ------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  border: 1px solid transparent;
  transition: all .2s var(--ease);
  cursor: pointer;
  text-align: center;
}
.btn-primary {
  background: var(--navy);
  color: var(--text-light);
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: var(--text-light);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover {
  background: var(--navy);
  color: var(--text-light);
}

/* --- Header / Nav ------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,250,247,.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
}
.brand-img {
  height: 50px;
  width: auto;
  display: block;
}
.brand-mark { width: 36px; height: 36px; flex: 0 0 auto; }
.brand-text { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--navy-deep);
}
.brand-sub {
  font-family: var(--ff-sans);
  font-size: .68rem;
  letter-spacing: .26em;
  color: var(--steel);
  margin-top: 2px;
  font-weight: 500;
}

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav > a {
  font-size: .94rem;
  font-weight: 500;
  color: var(--slate);
  padding: 6px 0;
  position: relative;
}
.site-nav > a:hover { color: var(--navy); }
.site-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.site-nav > a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--navy);
  color: #fff !important;
  padding: 9px 18px !important;
  border-radius: var(--radius);
}
.nav-cta:hover { background: var(--navy-deep); }

.nav-toggle {
  display: none;
  width: 38px; height: 38px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy-deep);
  border-radius: 2px;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 12px var(--pad) 24px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--slate);
  font-weight: 500;
}

/* --- Hero --------------------------------------------------------- */

.hero {
  position: relative;
  padding: 90px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at top right, rgba(31,58,95,.06), transparent 60%),
    var(--bg);
}
.hero::before {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(176,138,74,.07), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  /* layout single-column, hero pulito senza card laterale */
  max-width: 900px;
}
.hero-copy h1 { margin-bottom: 24px; max-width: 18ch; }
.lede {
  font-size: 1.15rem;
  color: var(--slate);
  max-width: 60ch;
  margin-bottom: 40px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-trust {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 720px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.hero-trust li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-trust strong {
  font-family: var(--ff-serif);
  font-size: 1.05rem;
  color: var(--navy-deep);
  font-weight: 600;
}
.hero-trust span {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Hero side card */
.hero-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  box-shadow: 0 30px 60px -30px rgba(20,37,64,.15);
}
.card-stripe {
  position: absolute;
  top: 0; left: 32px; right: 32px;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
  border-radius: 3px;
}
.card-tag {
  display: inline-block;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--steel);
  margin-bottom: 22px;
  font-weight: 600;
}
/* Hero side card · mandati */
.card-deals {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.card-deals li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}
.card-deals li:last-child { border-bottom: none; }
.deal-tag {
  font-family: var(--ff-sans);
  font-size: .65rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.deal-text {
  font-family: var(--ff-serif);
  font-size: 1rem;
  color: var(--navy-deep);
  font-weight: 500;
  font-style: italic;
}
.card-foot {
  margin: 16px 0 0;
  font-size: .72rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.4;
}

/* --- Section base ------------------------------------------------- */

.section { padding: 100px 0; }
.section.about { background: var(--bg-soft); }
.section.services-section { background: var(--bg); }
.section.approach { background: var(--bg-soft); }
.section.sectors { background: var(--bg); }
.section.cta {
  background: var(--bg-dark);
  color: var(--text-light);
}

.section-head {
  max-width: 720px;
  margin-bottom: 60px;
}
.section-head-wide { max-width: 880px; }
.section-head h2 { margin-bottom: 18px; }
.section-lede {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.two-col {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: 80px;
  align-items: start;
}
.col-left h2 { margin: 0 0 .6em; }

/* --- Steps (Approccio) ------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px 36px;
  border-top: 1px solid var(--line);
  padding-top: 44px;
}
.step {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.step-num {
  font-family: var(--ff-sans);
  letter-spacing: .25em;
  color: var(--gold);
  font-size: .76rem;
  font-weight: 600;
}
.step h3 {
  font-family: var(--ff-serif);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0;
  color: var(--navy-deep);
}
.step p {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* --- Services (Empiria-style: tag + serif title + paragraph) ----- */

.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.service {
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.service:nth-child(odd) {
  padding-right: 56px;
  border-right: 1px solid var(--line);
}
.service:nth-child(even) {
  padding-left: 56px;
}
.services .service:nth-last-child(-n+2) { border-bottom: none; }

.service-tag {
  display: inline-block;
  font-family: var(--ff-sans);
  font-size: .72rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.service-num {
  display: inline-block;
  font-family: var(--ff-serif);
  font-size: 1.1rem;
  letter-spacing: .08em;
  color: var(--gold);
  font-weight: 600;
  font-style: italic;
}
.service h3 {
  font-family: var(--ff-serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--navy-deep);
  margin: 0;
  line-height: 1.22;
}
.service p {
  color: var(--text-muted);
  margin: 0;
  font-size: .98rem;
  max-width: 50ch;
}

/* --- Principles --------------------------------------------------- */

.principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 60px;
}
.principle {
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 18px;
  row-gap: 6px;
  align-items: start;
}
.p-num {
  grid-column: 1;
  grid-row: 1 / span 2;
  font-family: var(--ff-serif);
  font-size: 1.5rem;
  color: var(--gold);
  font-style: italic;
  line-height: 1;
  padding-top: 6px;
}
.principle h3 {
  grid-column: 2;
  font-family: var(--ff-serif);
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 8px;
}
.principle p {
  grid-column: 2;
  font-size: .98rem;
  color: var(--slate);
  margin: 0;
  line-height: 1.6;
}

/* --- Sectors list ------------------------------------------------- */

.sectors-list {
  list-style: none;
  padding: 0; margin: 0;
  border-top: 1px solid var(--line);
}
.sectors-list li {
  font-family: var(--ff-serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--navy-deep);
  padding: 16px 0 16px 30px;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding-left .25s var(--ease), color .25s var(--ease);
}
.sectors-list li::before {
  content: "—";
  position: absolute;
  left: 0; top: 16px;
  color: var(--gold);
}
.sectors-list li:hover {
  color: var(--gold);
  padding-left: 36px;
}

/* --- Contatti (CTA section) -------------------------------------- */

.section.cta h2 { color: var(--text-light); }
.section.cta p { color: var(--text-light-muted); }
.section.cta .eyebrow { color: var(--gold-soft); }
.section.cta .eyebrow-line { background: var(--gold-soft); }

/* CTA grid: copy a sinistra, form a destra */
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.cta-copy { padding-right: 10px; }
.cta-copy h2 { margin-bottom: 18px; }
.cta-copy > p { font-size: 1.05rem; margin-bottom: 32px; color: var(--text-light-muted); }

.cta-meta {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 24px;
}
.cta-meta li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  align-items: baseline;
  font-size: .95rem;
  color: var(--text-light-muted);
}
.cta-meta li > span {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .72rem;
  color: var(--gold-soft);
  font-weight: 600;
}

/* Contact form */
.contact-form {
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--ff-sans);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-light-muted);
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14);
  color: var(--text-light);
  padding: 12px 14px;
  border-radius: var(--radius);
  font: inherit;
  font-size: .95rem;
  outline: none;
  transition: border-color .2s var(--ease), background .2s var(--ease);
  font-family: var(--ff-sans);
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(255,255,255,.4); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,.08);
}
.field select option { color: var(--text); background: #fff; }

.btn-form {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 8px;
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.btn-form:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  color: #fff;
  transform: translateY(-1px);
}
.form-note {
  grid-column: 1 / -1;
  font-size: .78rem;
  color: rgba(255,255,255,.42);
  margin: 6px 0 0;
  line-height: 1.5;
}

/* --- Footer ------------------------------------------------------- */

.site-footer {
  background: #0b1726;
  color: var(--text-light-muted);
  padding: 64px 0 