/* ═══════════════════════════════════════
   DESIGN SYSTEM — Chiara Costantino
   Palette: ottanio · sand · navy
═══════════════════════════════════════ */
:root {
  --ottanio: #0d6e6e;
  --ottanio-dark: #094f4f;
  --ottanio-deep: #083d3d;
  --ottanio-light: #c2e4e0;
  --ottanio-pale: #dff0ee;
  --ottanio-mid: #8ec9c3;
  --navy: #0a1628;
  --sand: #faf8f4;
  --warm: #f5f2ed;
  --text: #1a1a1a;
  --muted: #666666;
  --border: rgba(0, 0, 0, 0.08);
  --white: #ffffff;
  --sp-xs: 0.5rem;
  --sp-sm: 1rem;
  --sp-md: 1.75rem;
  --sp-lg: 3rem;
  --sp-xl: 5rem;
  --sp-2xl: 7rem;
  --text-xs: 11px;
  --text-sm: 13px;
  --text-base: 15px;
  --text-md: 17px;
  --text-lg: clamp(1.15rem, 2vw, 1.4rem);
  --text-xl: clamp(1.6rem, 2.8vw, 2.2rem);
  --text-2xl: clamp(1.9rem, 3.5vw, 2.8rem);
  --text-hero: clamp(1.9rem, 3.8vw, 3.2rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  font-weight: 300;
  font-size: var(--text-base);
  background: var(--sand);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

strong {
  font-weight: 500;
  color: var(--text);
}

em {
  font-style: italic;
}

/* ── PAGE TRANSITIONS ── */
.page {
  display: none;
}

.page.active {
  display: block;
  vertical-align: middle;
}

/* ── NAV ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 248, 244, 0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  transition: box-shadow 0.3s;
}

.nav-logo {
  cursor: pointer;
}

.nav-logo img {
  height: 90px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  list-style: none;
}

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
  cursor: pointer;
}

.nav-links a:hover {
  color: var(--ottanio);
}

.nav-links a.active {
  color: var(--ottanio);
}

.nav-cta {
  background: var(--ottanio) !important;
  color: var(--white) !important;
  padding: 9px 20px !important;
  border-radius: 4px;
  font-size: var(--text-xs) !important;
  letter-spacing: 0.07em !important;
  font-weight: 500 !important;
}

.nav-cta:hover {
  background: var(--ottanio-dark) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: all 0.25s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--sand);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 2.5rem;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-menu a {
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
}

.mob-cta {
  color: var(--ottanio) !important;
  font-weight: 500 !important;
}

.mobile-menu.open {
  display: flex;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── LAYOUT ── */
.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.page-wrap {
  padding-top: 64px;
}

/* ── SECTION HEADERS ── */
.sec-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ottanio);
  margin-bottom: 0.65rem;
}

.sec-h2 {
  font-family: "Libre Baskerville", serif;
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.sec-sub {
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--muted);
  margin-top: 0.75rem;
  line-height: 1.85;
  max-width: 100%;
}

.section-header {
  margin-bottom: 2rem;
}

.sec-eyebrow-title {
  font-family: "Libre Baskerville", serif;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 2rem;
  display: block;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: var(--ottanio);
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--ottanio-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-block;
  padding: 14px 32px;
  background: transparent;
  color: var(--text);
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-ghost:hover {
  border-color: var(--ottanio);
  color: var(--ottanio);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 2.5rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 65% 55% at 50% 35%,
    rgba(13, 110, 110, 0.07) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 100%;
  margin: 0 auto;
}

.hero-logo {
  display: block;
  margin: 0 auto 2.5rem;
  width: clamp(200px, 28vw, 340px);
}

.hero-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.hero-divider-line {
  flex: 1;
  max-width: 100%;
  height: 1px;
  background: var(--ottanio-mid);
}

.hero-divider-dot {
  width: 5px;
  height: 5px;
  background: var(--ottanio);
  transform: rotate(45deg);
  flex-shrink: 0;
}

h1.hero-title {
  font-family: "Libre Baskerville", serif;
  font-size: var(--text-hero);
  font-weight: 400;
  line-height: 1.28;
  color: var(--text);
  letter-spacing: -0.015em;
  margin-bottom: 2rem;
}

h1.hero-title em {
  font-style: italic;
  color: var(--ottanio);
}

.hero-cta-wrap {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── NUMBERS ── */
.numbers {
  background: #083d3d;
  padding: 3.5rem 0;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.num-item {
  padding: 1.5rem 1rem;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.num-item:last-child {
  border-right: none;
}

.num-big {
  font-family: "Libre Baskerville", serif;
  font-size: 1.9rem;
  font-weight: 400;
  color: var(--white);
  display: block;
  line-height: 1.1;
}

.num-accent {
  color: var(--ottanio-mid);
}

.num-lbl {
  font-size: 12.5px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.03em;
  line-height: 1.45;
  margin-top: 0.5rem;
  display: block;
}

/* ── PAGE HERO ── */
.page-hero {
  background: var(--ottanio-deep);
  padding: 5rem 0 4rem;
}

.page-hero .sec-eyebrow {
  color: var(--ottanio-mid);
}

.page-hero h1 {
  font-family: "Libre Baskerville", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: var(--text-md);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  max-width: 100%;
  line-height: 1.8;
}

/* ── SERVIZI ── */
.servizi-page {
  padding: var(--sp-xl) 0;
}

.svc-list {
  display: flex;
  flex-direction: column;
}

.svc-item {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.75rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}

.svc-item:first-child {
  border-top: 1px solid var(--border);
}

.svc-num {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--ottanio);
  padding-top: 5px;
}

.svc-name {
  font-family: "Libre Baskerville", serif;
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.svc-p {
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 0.75rem;
}

.svc-p:last-of-type {
  margin-bottom: 0;
}

.svc-p strong {
  font-weight: 500;
  color: var(--text);
}

.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 1rem;
}

.tag {
  background: #0d6e6e;
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

/* ── CHI SONO ── */
.about-editorial {
  font-size: var(--text-base);
  line-height: 1.95;
  color: #3a3a3a;
}

.about-float-left {
  float: left;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 10%;
  border: 3px solid var(--ottanio-light);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
  margin: 4px 2rem 1rem 0;
  shape-outside: circle();
}

/* .about-float-right removed */
.about-editorial .about-p {
  margin-bottom: 0.7rem;
  font-size: var(--text-base);
  line-height: 1.65;
  color: #2a2a2a;
}

.palco-eyebrow-big {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ottanio);
  margin-bottom: 0.6rem;
  margin-top: 0.25rem;
}

/* ── METODO ── */
.method-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.mcell {
  background: var(--white);
  padding: 2.25rem 2rem;
  position: relative;
  overflow: hidden;
  transition: background 0.2s;
}

.mcell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: transparent;
  transition: background 0.25s;
}

.mcell:hover::before {
  background: var(--ottanio);
}

.mcell:hover {
  background: var(--sand);
}

.mcell-num {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ottanio);
  margin-bottom: 0.5rem;
}

.mcell-title {
  font-family: "Libre Baskerville", serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.mcell-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.85;
}

/* ── METODOLOGIE ── */
.metodologie {
  padding: var(--sp-xl) 0;
  background: linear-gradient(145deg, #083d3d 0%, var(--ottanio) 100%);
}

.metodologie .sec-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ottanio-mid);
  margin-bottom: 0.65rem;
}

.metodologie .sec-h2 {
  color: var(--white);
}

.metodologie .sec-sub {
  color: rgba(255, 255, 255, 0.55);
}

.met-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.met-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  transition: background 0.2s;
}

.met-card:hover {
  background: rgba(255, 255, 255, 0.12);
}

.met-card-tag {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ottanio-mid);
  border: 1px solid rgba(178, 223, 219, 0.3);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  align-self: flex-start;
}

.met-card-title {
  font-family: "Libre Baskerville", serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.met-card-subtitle {
  font-size: 11px;
  letter-spacing: 0.07em;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 300;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.met-card-p {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.95;
  margin-bottom: 0.9rem;
}

.met-card-p strong {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
}

.met-pillars {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.met-pillar {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

.met-pillar strong {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.met-pillar-dot {
  width: 5px;
  height: 5px;
  background: var(--ottanio-mid);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.5rem;
}

.met-contributo {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.met-contrib-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 2rem 2.25rem;
}

.met-contrib-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ottanio-mid);
  margin-bottom: 0.85rem;
}

.met-contrib-p {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.9;
  margin-bottom: 0.75rem;
}

.met-contrib-p:last-child {
  margin-bottom: 0;
}

.met-contrib-p strong {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
}

.met-contrib-p em {
  font-style: italic;
  color: var(--ottanio-mid);
}

/* ── FORMATI ── */
.formati-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.fmt-cell {
  padding: 2rem 1.75rem;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 8px;
  transition: box-shadow 0.2s;
}

.fmt-cell:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}

.fmt-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 1rem;
}

.fmt-title {
  font-family: "Libre Baskerville", serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.fmt-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.85;
}

/* ── EDU BLOCK ── */
.edu-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0;
  border: 1px solid rgba(13, 110, 110, 0.2);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(13, 110, 110, 0.08);
}

.edu-accent {
  background: var(--ottanio);
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}

.edu-accent-eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ottanio-mid);
  margin: 2.15rem 2.5rem 0.85rem;
  display: block;
}

.edu-accent-title {
  font-family: "Libre Baskerville", serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
  margin: 0 2.5rem 0.5rem;
}

.edu-accent-title em {
  font-style: italic;
  color: var(--ottanio-mid);
}

.edu-accent-sub {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 2.5rem;
}

.edu-accent-photo-wrap {
  margin-top: 2.35rem;
  width: 100%;
  flex: 1;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
}

.edu-accent-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 0;
  box-shadow: none;
}

.edu-body {
  background: var(--white);
  padding: 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.edu-body-p {
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--muted);
  line-height: 1.9;
}

.edu-body-p strong {
  font-weight: 500;
  color: var(--text);
}

.edu-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 0.5rem;
}

.edu-pill {
  background: var(--ottanio-pale);
  color: var(--ottanio-dark);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 0.02em;
  border: 1px solid var(--ottanio-light);
}

/* ── CON CHI ── */
.tags-cloud {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.tag-lg {
  background: #d4ecec;
  color: #083d3d;
  font-size: 13px;
  font-weight: 400;
  padding: 10px 22px;
  border-radius: 24px;
  border: 1px solid #b2dfdb;
  letter-spacing: 0.02em;
  text-align: center;
  pointer-events: none;
  cursor: default;
}

/* ── DICONO DI ME ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}

.testimonial-placeholder {
  background: var(--ottanio-pale);
  border: 2px dashed var(--ottanio-light);
  border-radius: 6px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  flex: 1;
}

.testimonial-placeholder p {
  font-size: 13px;
  color: var(--ottanio-dark);
  text-align: center;
  line-height: 1.6;
  opacity: 0.7;
}

.testimonial-source {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ottanio);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.testimonial-name {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text);
}

.testimonial-role {
  font-size: 12px;
  font-weight: 300;
  color: var(--muted);
}

.linkedin-icon {
  width: 16px;
  height: 16px;
  fill: #0077b5;
}

.testimonial-screenshot-card {
  padding: 1rem;
  justify-content: center;
  gap: 0;
}

.testimonial-screenshot {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

/* ── CONTATTI ── */
.contact-section {
  background: var(--ottanio-deep);
  padding: var(--sp-xl) 0;
}

.contact-section .container {
  text-align: center;
}

.contact-eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ottanio-mid);
  margin-bottom: 0.75rem;
  display: block;
}

.contact-h2 {
  font-family: "Libre Baskerville", serif;
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.contact-sub {
  font-size: var(--text-base);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.85;
  max-width: 100%;
  margin: 0 auto 2.5rem;
}

.contact-btns-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 100%;
  margin: 0 auto;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 6px;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: all 0.2s;
  justify-content: center;
  cursor: pointer;
}

.btn-mail {
  background: var(--ottanio);
  color: var(--white);
}

.btn-mail:hover {
  background: var(--ottanio-dark);
}

.btn-wa {
  background: #25d366;
  color: var(--white);
}

.btn-wa:hover {
  background: #1ebe5d;
}

.btn-li {
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-li:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn-cal {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(178, 223, 219, 0.4);
}

.btn-cal:hover {
  background: rgba(178, 223, 219, 0.1);
  border-color: var(--ottanio-mid);
}

/* ── SISTEMA CARDS ── */
.sistema-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.sistema-card-left {
  padding: 2.25rem 2.5rem;
  border-right: 1px solid var(--border);
}

.sistema-card-right {
  padding: 2.25rem 2.5rem;
  background: var(--ottanio-pale);
}

.sistema-card-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ottanio);
  margin-bottom: 0.75rem;
  display: block;
}

.sistema-card-label-muted {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ottanio-dark);
  margin-bottom: 0.75rem;
  display: block;
}

.sistema-card-title {
  font-size: var(--text-lg);
  font-family: "Libre Baskerville", serif;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.sistema-list-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.sistema-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sistema-list li {
  font-size: var(--text-base);
  font-weight: 300;
  color: #3a3a3a;
  line-height: 1.75;
  padding: 0.2rem 0;
  padding-left: 1.1rem;
  position: relative;
}

.sistema-list li span.arr {
  position: absolute;
  left: 0;
  color: var(--ottanio);
}

.sistema-list li span.chk {
  position: absolute;
  left: 0;
  color: var(--ottanio);
}

/* ── FIT GRID ── */
.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

.fit-si {
  background: var(--ottanio-pale);
  border: 1px solid var(--ottanio-light);
  border-radius: 8px;
  padding: 2.25rem 2.5rem;
}

.fit-no {
  background: var(--warm);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2.25rem 2.5rem;
}

.fit-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ottanio);
  margin-bottom: 1.25rem;
  display: block;
}

.fit-label-no {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
  display: block;
}

.fit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.fit-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--text-base);
  font-weight: 300;
  color: #3a3a3a;
  line-height: 1.75;
}

.fit-dot-yes {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ottanio);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.fit-dot-no {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.12);
  color: #666;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── FOOTER ── */
footer {
  background: #062e2e;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 2rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo img {
  height: 32px;
  width: auto;
  mix-blend-mode: multiply;
  filter: brightness(0) invert(1);
  opacity: 0.35;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

.footer-right {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

.footer-right a {
  color: var(--ottanio-mid);
  text-decoration: none;
}

/* ── FADE ANIMATION ── */
.fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RICONOSCI ── */
.riconosci-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.riconosci-card {
  background: #dff0ee;
  border: 1px solid rgba(13, 110, 110, 0.25);
  border-radius: 8px;
  padding: 1.75rem 2rem;
}

.riconosci-card p {
  font-size: var(--text-base);
  font-weight: 300;
  color: #2a2a2a;
  line-height: 1.85;
}

.riconosci-cta-box {
  margin-top: 3rem;
  background: #c2e4e0;
  border: 1px solid rgba(13, 110, 110, 0.3);
  border-radius: 8px;
  padding: 2.5rem 3rem;
}

.riconosci-cta-box p {
  font-size: var(--text-base);
  font-weight: 300;
  color: #1a1a1a;
  line-height: 1.9;
  margin-bottom: 1rem;
}

/* ── PROFESSIONISTA SECTION ── */
.prof-quote {
  background: var(--warm);
  border-left: 3px solid var(--ottanio);
  border-radius: 0 6px 6px 0;
  padding: 1.75rem 2rem;
  margin-bottom: 2rem;
}

.prof-quote p {
  font-size: var(--text-base);
  font-weight: 300;
  color: #3a3a3a;
  line-height: 1.9;
  margin-bottom: 0.75rem;
}

.prof-quote p:last-child {
  margin-bottom: 0;
}

/* ── RESPONSIVE ── */

/* ── CONTACT BAND (bottom of each page) ── */
.contact-band {
  background: var(--ottanio-deep);
  padding: 1.75rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.contact-band-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ottanio-mid);
  display: block;
}

.contact-band-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  width: 100%;
  max-width: 100%;
}

.contact-band .btn-contact {
  padding: 10px 18px;
  font-size: 12px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  justify-content: center;
}

.contact-band .btn-mail {
  background: var(--ottanio);
  color: var(--white);
  border: 1px solid transparent;
}

.contact-band .btn-mail:hover {
  background: var(--ottanio-dark);
}

.contact-band .btn-wa {
  background: #25d366;
  color: var(--white);
  border: 1px solid transparent;
}

.contact-band .btn-wa:hover {
  background: #1ebe5d;
}

.contact-band .btn-li {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-band .btn-li:hover {
  background: rgba(255, 255, 255, 0.2);
}

.contact-band .btn-cal {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(178, 223, 219, 0.5);
}

.contact-band .btn-cal:hover {
  background: rgba(178, 223, 219, 0.1);
}

/* ── RICONOSCI CARDS → green palette ── */
.riconosci-card {
  background: var(--ottanio-pale) !important;
  border-color: rgba(13, 110, 110, 0.3) !important;
}

.riconosci-cta-box {
  background: var(--ottanio-light) !important;
  border-color: rgba(13, 110, 110, 0.4) !important;
}

/* ── METODO PRENOTA BUTTON FIX ── */
.btn-cal-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--white);
  color: var(--ottanio-deep) !important;
  border: 2px solid var(--white);
  border-radius: 6px;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cal-cta:hover {
  background: var(--ottanio-light);
  border-color: var(--ottanio-light);
  color: var(--ottanio-deep) !important;
}

/* ── CHI SONO: palco card responsive ── */
.about-stage-card {
  margin: 2.75rem 0 2.5rem;
  background: var(--ottanio-deep);
  border-radius: 8px;
  padding: 2rem 2.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  align-items: start;
  gap: 2rem;
}

.about-stage-card .palco-eyebrow-big {
  color: var(--ottanio-mid);
  margin-top: 0;
}

.about-stage-card p {
  font-size: var(--text-base);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.about-stage-card p:last-child {
  margin-bottom: 0;
}

.about-stage-note {
  font-weight: 500 !important;
  color: var(--ottanio-mid) !important;
  font-style: italic;
}

.about-stage-img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  object-fit: cover;
  object-position: center top;
  display: block;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* ── TESTIMONIAL SCREENSHOTS LARGE ── */
.testimonial-real {
  padding: 0 !important;
  overflow: hidden;
  background: #fff;
}

.testimonial-real img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.testimonial-card {
  padding: 1rem !important;
}

/* ── RESPONSIVE FIX — corretto per mobile/tablet ── */
@media (max-width: 1024px) {
  .container {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
  }

  .numbers-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .num-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .num-item:nth-child(4),
  .num-item:nth-child(5),
  .num-item:nth-child(6) {
    border-bottom: none;
  }

  .met-grid,
  .met-contributo,
  .edu-inner,
  .formati-grid,
  .method-grid,
  .fit-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .sistema-card {
    grid-template-columns: 1fr !important;
  }

  .sistema-card-left {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .tags-cloud {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonial-screenshot-card {
    padding: 0.85rem;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
    overflow-x: hidden;
  }

  .navbar {
    height: 60px;
    padding: 0 1.25rem;
  }

  .nav-logo img {
    height: 75px;
  }

  .nav-links {
    display: none !important;
  }

  .hamburger {
    display: flex !important;
  }

  .mobile-menu {
    top: 60px;
    padding: 1.25rem;
    gap: 1rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  }

  .mobile-menu.open {
    display: flex !important;
  }

  .page-wrap {
    padding-top: 60px;
  }

  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .hero {
    min-height: auto;
    padding: 4.5rem 1.25rem 3rem;
  }

  .hero-inner {
    width: 100%;
  }

  .hero-cta-wrap {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .btn-primary,
  .btn-ghost,
  .btn-cal-cta {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 13px 20px;
  }

  .page-hero {
    padding: 3.5rem 0 3rem;
  }

  .svc-item {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    padding: 2rem 0;
  }

  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .num-item:nth-child(4) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .contact-btns-grid,
  .contact-band-btns {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .btn-contact,
  .contact-band .btn-contact {
    width: 100%;
    min-height: 44px;
  }

  .tags-cloud {
    grid-template-columns: 1fr 1fr;
  }

  .tag-lg {
    padding: 10px 12px;
    font-size: 12px;
  }

  .sistema-card-left,
  .sistema-card-right,
  .fit-si,
  .fit-no,
  .met-card,
  .met-contrib-card,
  .edu-body {
    padding: 1.6rem 1.35rem;
  }

  .edu-accent {
    padding: 0;
  }

  .edu-accent-eyebrow {
    margin: 1.6rem 1.35rem 0.75rem;
  }

  .edu-accent-title {
    margin: 0 1.35rem 0.5rem;
  }

  .edu-accent-sub {
    margin: 0 1.35rem;
  }

  .edu-accent-photo-wrap {
    margin-top: 1.5rem;
    min-height: 260px;
  }

  .edu-accent-photo {
    height: 100%;
  }

  .about-float-left {
    float: none;
    width: 132px;
    height: 132px;
    margin: 0 auto 1.35rem;
    display: block;
    shape-outside: none;
  }

  .about-stage-card {
    grid-template-columns: 1fr;
    padding: 1.65rem 1.35rem;
    gap: 1.35rem;
  }

  .about-stage-img {
    max-width: 100%;
    margin: 0 auto;
  }

  .about-stage-card p {
    line-height: 1.75;
  }

  .testimonial-card {
    padding: 0.75rem !important;
  }

  .testimonial-screenshot-card {
    padding: 0.65rem;
  }

  .testimonial-real img,
  .testimonial-screenshot {
    width: 100%;
    height: auto;
  }

  footer {
    flex-direction: column;
    text-align: center;
    padding: 1.75rem 1.25rem;
  }
}

@media (max-width: 480px) {
  :root {
    --text-base: 14.5px;
  }

  .navbar {
    padding: 0 1rem;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-divider-line {
    max-width: 90px;
  }

  .numbers-grid {
    grid-template-columns: 1fr;
  }

  .num-item,
  .num-item:nth-child(4),
  .num-item:nth-child(5) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .num-item:last-child {
    border-bottom: none;
  }

  .tags-cloud {
    grid-template-columns: 1fr;
  }

  .contact-band {
    padding: 1.5rem 1rem;
  }

  .contact-section {
    padding: 3.5rem 0;
  }

  .riconosci-cta-box {
    padding: 1.75rem 1.35rem;
  }
}

/* FIX formazione: foto a filo, senza bande nere e senza tratto arancione */
.edu-accent-image {
  width: 100%;
  line-height: 0;
  overflow: hidden;
  background: transparent !important;
}

.edu-accent-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.edu-accent-line,
.edu-title-line,
.edu-orange-line,
.edu-accent-divider {
  display: none !important;
}

/* FIX definitivo formazione: nuova foto senza bande nere */
.edu-accent-photo-wrap {
  margin-top: 2.35rem !important;
  width: 100% !important;
  flex: 1 !important;
  min-height: 300px !important;
  display: block !important;
  overflow: hidden !important;
  background: transparent !important;
  line-height: 0 !important;
}

.edu-accent-photo {
  width: 100% !important;
  height: 100% !important;
  min-height: 300px !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center center !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.edu-accent-photo-wrap::before,
.edu-accent-photo-wrap::after {
  display: none !important;
  content: none !important;
}

/* Dicono di me: 2 sopra e 2 sotto */
.testimonials-grid {
  grid-template-columns: repeat(2, 1fr) !important;
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr !important;
  }
}
