/*
Theme Name: Ceccato
Theme URI: 
Author: Helinext
Author URI: 
Description: C&C Ceccato | Consulenze d'impresa
Requires at least: 7.0
Tested up to: 7.0
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ceccato
Tags: 
*/

:root .is-layout-flow > * {
  margin-block-start: 0;
}

:root {
  /* Palette ufficiale */
  --brand: #a76545; /* terracotta logo */
  --brand-dark: #8a4f33;
  --orange: #ffa55d;
  --yellow: #ffdf88;
  --green: #acc572;
  --green-dark: #7e9b4a;

  /* Neutri di supporto */
  --cream: #fbf6ea;
  --cream-2: #f6efdd;
  --ink: #2a2218;
  --ink-2: #3a3328;
  --muted: #6b6256;
  --rule: rgba(42, 34, 24, 0.14);
  --rule-soft: rgba(42, 34, 24, 0.08);

  --serif: "Gelasio", "Times New Roman", serif;
  --sans: "Inter 24pt", system-ui, -apple-system, Segoe UI, sans-serif;
  --display-tracking: -0.01em;
}

:root[data-palette="vigneto"] {
  --brand: #6b2737;
  --brand-dark: #501c29;
  --orange: #e08b5c;
  --yellow: #f0cf7a;
  --green: #a3b271;
  --green-dark: #778a4c;
}
:root[data-palette="uliveto"] {
  --brand: #5c7a3c;
  --brand-dark: #42592a;
  --orange: #e8915a;
  --yellow: #ffdf88;
  --green: #d0b97a;
  --green-dark: #b89d52;
}

/* Atmosfera ƒ?" surface tint */
:root[data-atmos="calda"] {
  --cream: #f1e1b8;
  --cream-2: #e8d49e;
  --paper: #f7e8bd;
  --rule: rgba(42, 34, 24, 0.18);
  --rule-soft: rgba(42, 34, 24, 0.1);
}
:root[data-atmos="fredda"] {
  --cream: #edeadb;
  --cream-2: #e3dfcc;
  --paper: #f4f1e5;
}

/* Tipografia display */
:root[data-type="caldo"] {
  --serif: "DM Serif Display", "Times New Roman", serif;
  --display-tracking: -0.005em;
}
:root[data-type="moderno"] {
  --serif: "Bricolage Grotesque", system-ui, sans-serif;
  --display-tracking: -0.025em;
}

em{
  font-style: normal;
}

.wp-block-query-pagination-numbers {
  margin-left: 10px !important;
  margin-right: 10px !important;
}

.wp-block-list{
  margin-left: 20px !important;
}

.wp-block-paragraph a:hover{
  color: var(--brand);
}

.taxonomy-post_tag a {
  text-decoration: none !important;
}

.h-display,
.servizio h3,
.target-card h3,
.founder-title,
.hero-meta .v,
.hero-card .quote,
.hero-card .badge .v,
.trust-logo,
.brand-text .b1,
.founder-stats .v,
.cta h2,
.cta-contacts .v,
.cta-form .ft,
.foot-col h4,
.servizio .num {
  letter-spacing: var(--display-tracking);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  /* background: var(--cream);
  color: var(--ink); */
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}
body {
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
}
h1,
h2,
h3,
h4,
h5,
h6,
blockquote {
  font-weight: 400;
  font-synthesis: style;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: underline;
}
button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--cream);
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
}
.skip-link:focus-visible {
  transform: translateY(0);
}


.main-title{
  font-family: var(--serif);
  font-size: clamp(40px, 4vw, 50px);
  letter-spacing: -0.015em;
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}
.h-display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
}
.it {
  /* font-style: italic; */
  color: var(--brand);
}

/* Eyebrow - titolo piccolo di sezione */
.eyebrow {
  font-size: 17px;
  letter-spacing: 0;
  font-weight: 500;
  color: var(--brand-dark);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
}
.eyebrow .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
}
.eyebrow.on-dark {
  color: var(--yellow);
}
.eyebrow.on-dark .dot {
  background: var(--yellow);
}
.eyebrow.on-brand {
  color: #fff;
  opacity: 1;
}
.eyebrow.on-brand .dot {
  background: var(--yellow);
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 234, 0.9);
  border-bottom: 1px solid var(--rule-soft);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 128px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  min-width: 0;
}
.brand-text .b1,
.brand-text .b2 {
  white-space: nowrap;
}
.brand-logo {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--brand-dark);
}
.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-logo svg {
  width: 100%;
  height: 100%;
  display: block;
}
.brand-text {
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 18px;
}
.logo {
  display: flex;
  align-items: center;
  padding-right: 16px;
  margin-right: 12px;
}
.logo img {
  max-height: 96px;
  width: auto;
  display: block;
}
.brand-text .b1 {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand-text .b2 {
  font-size: 16px;
  color: var(--muted);
  margin-top: 3px;
  font-weight: 500;
  font-family: var(--sans);
}
.nav-menu {
  display: flex;
  gap: 30px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-2);
}
.nav-menu a {
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav-menu a:hover {
  color: var(--brand-dark);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-phone {
  font-size: 16px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.nav-phone strong {
  color: var(--ink);
  font-weight: 600;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-dark {
  background: var(--ink);
  color: var(--cream);
}
.btn-dark:hover {
  background: var(--brand-dark);
}
.btn-ghost {
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--rule);
}
.btn-ghost:hover {
  border-color: var(--cream);
  background: rgba(42, 34, 24, 0.04);
  border: 1px solid var(--rule);
}
.btn-brand {
  background: var(--brand-dark);
  color: #fff;
  text-decoration: none;  
}
.btn-brand:hover {
  background: var(--brand-dark);
}
.btn .arr {
  width: 16px;
  height: 16px;
  display: inline-grid;
  place-items: center;
}

.hero {
  padding: 56px 0 88px;
  position: relative;
  background: var(--cream-2);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: end;
}
.hero-eyebrow {
  margin-bottom: 32px;
}
.hero h1 {
  font-size: clamp(40px, 4.8vw, 60px);
  letter-spacing: -0.02em;
  line-height: 1.06;
  max-width: 980px;
}
.hero h1 .it {
  color: var(--brand);
}
.hero .sub {
  margin-top: 32px;
  font-size: 19px;
  color: var(--ink-2);
  max-width: 540px;
  line-height: 1.55;
}
.hero-ctas {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-meta {
  margin-top: 56px;
  display: flex;
  gap: 56px;
  border-top: 1px solid var(--rule);
  padding-top: 32px;
}
.hero-meta div {
  flex: 0 0 auto;
}
.hero-meta .v {
  font-family: var(--serif);
  font-size: 60px;
  color: var(--ink);
  line-height: 1;
  text-align: center;
  margin-bottom: 15px;
}
.hero-meta .v em {
  /* font-style: italic; */
  color: var(--brand);
}
.hero-meta .l {
  font-size: 16px;
  color: var(--muted);
  margin-top: 10px;
  font-weight: 500;
  line-height: 1.4;
}

.hero-visual {
  position: relative;
  height: 640px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--ink);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(42, 34, 24, 0) 40%,
    rgba(42, 34, 24, 0.6) 100%
  );
}
.hero-visual-cta {
  /* position: absolute;
  left: 50%;
  bottom: 30px; */
  z-index: 2;
  /* transform: translateX(-50%); */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: rgba(251, 246, 234, 0.96);
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 14px 36px -18px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  white-space: nowrap;
  /* transition: transform 0.2s ease, background 0.2s ease; */
  text-decoration: none;
}
.hero-visual-cta:hover {
  background: #fff;
  /* transform: translateX(-50%) translateY(-2px); */
}
.hero-visual-cta .arr {
  width: 16px;
  height: 16px;
  transform: rotate(90deg);
}
.hero-tag {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(251, 246, 234, 0.95);
  backdrop-filter: blur(8px);
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.hero-tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-dark);
  box-shadow: 0 0 0 4px rgba(167, 101, 69, 0.2);
}

.hero-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  background: var(--paper);
  color: var(--ink);
  padding: 18px 24px;
  border-radius: 8px;
}
.hero-card .v {
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1;
  color: var(--brand);
  letter-spacing: 0.04em;
}
.hero-card .l {
  font-size: 15px;
  color: var(--ink-2);
  font-weight: 500;
  line-height: 1.3;
  text-align: right;
}

.trust {
  background: var(--cream-2);
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
  padding: 36px 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-label {
  font-size: 16px;
  color: var(--muted);
  font-weight: 500;
  flex-shrink: 0;
  max-width: 280px;
  line-height: 1.5;
  font-family: var(--sans);
}
.trust-logos {
  display: flex;
  align-items: center;
  gap: 44px;
  flex-wrap: wrap;
}
.trust-logo {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--ink-2);
  opacity: 0.8;
  letter-spacing: -0.01em;
}
.trust-logo.small {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

section {
  padding: 128px 0;
  position: relative;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  margin-bottom: 80px;
  align-items: end;
}
.section-head h2 {
  font-size: clamp(30px, 4.2vw, 50px);
  letter-spacing: -0.02em;
  margin-top: 24px;
  max-width: 880px;
  line-height: 1.05;
}
.section-head .lead {
  font-size: 19px;
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 580px;
}

.founder {
  background: var(--cream);
}
.founder-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: center;
}
.founder-photo {
  aspect-ratio: 4/5;
  background: var(--green-dark);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
}
.founder-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(0, 0, 0, 0) 60%,
    rgba(42, 34, 24, 0.4)
  );
}
.founder-title {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-top: 24px;
  max-width: 760px;
}
.founder-title .it {
  display: inline;
}
.founder .cite {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.founder .cite .line {
  width: 48px;
  height: 1px;
  background: var(--ink);
}
.founder .cite .who {
  font-size: 16px;
  color: var(--ink);
  font-weight: 600;
}
.founder .cite .who span {
  display: block;
  color: var(--muted);
  font-weight: 500;
  margin-top: 4px;
  font-size: 16px;
  font-family: var(--sans);
}
.founder-stats {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-top: 1px solid var(--rule);
  padding-top: 32px;
  max-width: 760px;
}
.founder-stats .v {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--brand-dark);
  line-height: 1;
  font-weight: bold;
}
.founder-stats .l {
  font-size: 15px;
  color: var(--muted);
  margin-top: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.servizi {
  background: var(--cream-2);
}
.servizi-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.servizio {
  padding: 36px 32px 32px;
  border-radius: 8px;
  background: var(--cream);
  border: 1px solid var(--rule-soft);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}
.servizio:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -16px rgba(42, 34, 24, 0.18);
}
.servizio.r1 {
  grid-column: span 2;
} /* 3 carte da 2 colonne ciascuna */
.servizio.r2 {
  grid-column: span 3;
} /* 2 carte da 3 colonne ciascuna */
.servizio .head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.servizio .ico {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: var(--yellow);
  display: grid;
  place-items: center;
  color: var(--brand-dark);
  flex-shrink: 0;
}
.servizio.tone-orange .ico {
  background: var(--orange);
  color: #fff;
}
.servizio.tone-green .ico {
  background: var(--green);
  color: var(--ink);
}
.servizio.tone-brand .ico {
  background: var(--brand-dark);
  color: #fff;
}
.servizio .ico svg {
  width: 32px;
  height: 32px;
}
.servizio .num {
  font-family: var(--serif);
  /* font-style: italic; */
  font-size: 36px;
  color: var(--muted);
}
.servizio h3 {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.servizio.r2 h3 {
  font-size: 34px;
}
.servizio ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px;
}
.servizio li {
  font-size: 16px;
  color: var(--ink-2);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}
.servizio li .check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  display: grid;
  place-items: center;
  margin-top: 1px;
  color: var(--ink);
}
.servizio li .check svg {
  width: 12px;
  height: 12px;
}

.target {
  background: var(--cream-2);
}
.target-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.target-card {
  padding: 40px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 280px;
  transition: transform 0.25s ease;
}
.target-card:hover {
  transform: translateY(-4px);
}
.target-card .ico {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--ink);
  display: grid;
  place-items: center;
  color: var(--yellow);
}
.target-card:nth-child(2) .ico {
  background: var(--brand-dark);
  color: #fff;
}
.target-card:nth-child(3) .ico {
  background: var(--green-dark);
  color: #fff;
}
.target-card:nth-child(4) .ico {
  background: var(--orange);
  color: #fff;
}
.target-card .ico svg {
  width: 30px;
  height: 30px;
}
.target-card h3 {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.target-card p {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.55;
}

.modalita {
  /* background: var(--cream); */
   background: var(--cream-2);
}
.mode-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.mode-card {
  padding: 48px 44px;
  border-radius: 8px;
  background: var(--cream);
  border: 1px solid var(--rule-soft);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  overflow: hidden;
}
.mode-card.featured {
  background: #a76545;
  color: #fff;
}
.mode-card .badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--sans);
  color: var(--brand-dark);
  align-self: flex-start;
  background: var(--cream-2);
  padding: 8px 14px;
  border-radius: 999px;
}
.mode-card.featured .badge {
  color: var(--brand-dark);
  background: #fbf6ea;
}
.mode-card h3 {
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.mode-card p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 440px;
}
.mode-card.featured p {
  color: #fff;
}
.mode-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 6px;
  border-top: 1px solid var(--rule);
  padding-top: 24px;
}
.mode-card.featured ul {
  border-top-color: rgba(251, 246, 234, 0.2);
}
.mode-card li {
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-2);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.mode-card.featured li {
  color: #fff;
}
.mode-card li .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-dark);
  margin-top: 9px;
  flex-shrink: 0;
}
.mode-card.featured li .dot {
  background: var(--yellow);
}
.perche {
  background: var(--cream);
}
.perche-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 80px;
  align-items: center;
}
.hub {
  position: relative;
  aspect-ratio: 1/1;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
}
.hub-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: var(--brand-dark);
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(16px, 1.8vw, 22px);
  line-height: 1.1;
  padding: 16px;
  z-index: 2;
  box-shadow: 0 12px 40px -10px rgba(167, 101, 69, 0.5);
}

.hub-node {
  position: absolute;
  width: 26%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: var(--cream-2);
  border: 1px solid var(--rule);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 10px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hub-node:hover {
  box-shadow: 0 12px 28px -8px rgba(42, 34, 24, 0.18);
}
.hub-node.n1 {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.hub-node.n2 {
  top: 22%;
  right: 0;
}
.hub-node.n3 {
  bottom: 22%;
  right: 0;
}
.hub-node.n4 {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.hub-node.n5 {
  bottom: 22%;
  left: 0;
}
.hub-node.n6 {
  top: 22%;
  left: 0;
}
.hub svg.spokes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.perche-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 32px;
  max-width: 520px;
}
.perche-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-2);
}
.perche-list li .ix {
  font-family: var(--serif);
  /* font-style: italic; */
  font-size: 24px;
  color: var(--brand-dark);
  flex-shrink: 0;
  width: 32px;
  line-height: 1.1;
}

.news {
  background: var(--cream-2);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  /* background: var(--cream-2);
  border: 1px solid var(--rule-soft);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%; */
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -18px rgba(42, 34, 24, 0.2);
}
.news-media {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  /* background: var(--green-dark); */
  border-radius: 15px 15px 0 0;
}
.news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.news-card:hover .news-media img {
  transform: scale(1.035);
}
.news-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: var(--cream);
}
.news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
}
.news-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(167, 101, 69, 0.1);
  color: var(--brand);
  font-weight: 600;
}
.news-card h3 {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.news-card h3 a:hover {
  color: var(--brand-dark);
}
.news-card p {
  margin-top: 16px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.55;
}
.news-link {
  margin-top: auto;
  padding-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-dark);
  font-size: 16px;
  font-weight: 600;
}
.news-link .arr {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}
.news-link:hover .arr {
  transform: translateX(3px);
}

.plato {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #1a1812;
  padding: 128px 0;
}
.plato .bg {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=2000&q=80");
  background-size: cover;
  background-position: center;
  filter: saturate(0.95) brightness(0.5);
}
.plato::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 16, 10, 0.45),
    rgba(20, 16, 10, 0.7)
  );
}
.plato-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  max-width: 880px;
  padding: 0 32px;
}
.plato blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.plato blockquote .accent {
  color: var(--yellow);
  font-style: italic;
}
.plato .cite {
  margin-top: 32px;
  font-size: 16px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.cta {
  background: var(--brand);
  color: #fff;
  padding: 128px 0;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 223, 136, 0.25) 0%,
    transparent 70%
  );
}
.cta::after {
  content: "";
  position: absolute;
  bottom: -200px;
  right: -150px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 165, 93, 0.22) 0%,
    transparent 70%
  );
}
.cta-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.cta h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 4.8vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-top: 24px;
  max-width: 760px;
}
.cta h2 .it {
  color: var(--yellow);
}
.cta p.lead {
  margin-top: 24px;
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  max-width: 560px;
}
.cta-contacts {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 540px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 32px;
}
.cta-contacts .l {
  font-size: 16px;
  opacity: 0.8;
  font-weight: 500;
  margin-bottom: 8px;
  font-family: var(--sans);
}
.cta-contacts .v {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.2;
}
.cta-form {
  background: var(--cream);
  color: var(--ink);
  padding: 36px;
  border-radius: 10px;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.3);
}
.cta-form .ft {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.cta-form .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.cta-form label {
  font-size: 16px;
  color: var(--muted);
  font-weight: 500;
  font-family: var(--sans);
}
.cta-form input,
.cta-form select {
  font: inherit;
  padding: 14px 16px;
  border-radius: 6px;
  border: 1px solid var(--rule);
  background: #fff;
  color: var(--ink);
  font-size: 16px;
}
.cta-form input:focus,
.cta-form select:focus {
  outline: none;
  border-color: var(--brand-dark);
}
.cta-form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 10px;
  padding: 16px;
}

footer {
  background: var(--cream-2);
  color: #333333;
  /* padding: 96px 0 32px; */
  border-top: 1px solid #e5e5e5;
  font-family: var(--sans);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 48px;
  padding-bottom: 72px;
  border-bottom: 1px solid #e5e5e5;
  font-family: var(--sans) !important;
}
footer .brand-logo {
  color: #333;
}
.foot-brand .brand-text .b1 {
  color: #333;
}
.foot-brand .brand-text .b2 {
  color: #666;
}
.foot-brand p {
  margin-top: 24px;
  color: #555;
  font-size: 16px;
  line-height: 1.6;
  max-width: 340px;
}
.foot-col h4 {
  font-family: var(--serif);
  font-size: 20px;
  color: #333;
  margin-bottom: 18px;
  font-weight: 400;
}
.foot-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.foot-col li {
  font-size: 16px;
  color: #555;
}
.foot-col li a:hover {
  color: var(--brand-dark);
}
.foot-contact .item {
  margin-bottom: 18px;
}
.foot-contact .l {
  font-size: 16px;
  color: #525252;
  margin-bottom: 6px;
  font-family: var(--sans);
  font-weight: 500;
}
.foot-contact .v {
  font-size: 16px;
  color: #333;
  line-height: 1.5;
}

.foot-contact .v a:hover {
   color: var(--brand-dark);
}

.foot-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  color: #525252;
  gap: 24px;
  flex-wrap: wrap;
}
.foot-bottom a:hover {
  color: var(--brand-dark);
}

@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual {
    height: 480px;
  }
  .section-head {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 48px;
  }
  .servizi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .servizio.r1,
  .servizio.r2 {
    grid-column: span 1;
  }
  .founder-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .founder-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .mode-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .mode-card {
    padding: 36px 28px;
  }
  .perche-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hub {
    max-width: 440px;
  }
}
@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .container {
    padding: 0 40px;
  }
  section {
    padding: 80px 0;
  }
  .hero {
    padding: 32px 0 56px;
  }
  .hero-visual {
    height: 420px;
  }
  .hero-meta {
    flex-flow: column wrap;
    gap: 0px;
	justify-content: center;
	align-items: center;
  }
  .hero-meta div {
    margin-bottom: 15px;
  }
  .hero-meta div em {
    font-size: 50px;
  }
  .hero-visual {
	display: none;
  }
  
  .hero-meta .v {
    font-size: 32px;
  }
  .hero-ctas {
	justify-content: center;
   }
  .servizi-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .servizio {
    padding: 28px 24px;
  }
  .servizio h3,
  .servizio.r2 h3 {
    font-size: 26px;
  }
  .target-grid {
    grid-template-columns: 1fr;
  }
  .news-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .news-body {
    padding: 24px;
  }
  .news-card h3 {
    font-size: 26px;
  }
  .target-card {
    padding: 32px 28px;
    min-height: auto;
  }
  .founder-title, .section-head h2 {
	font-size: clamp(30px, 4vw, 40px);
	line-height: 1.2em;
  }
  
  .founder {
    padding: 80px 0;
  }
  .founder-stats {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .founder-stats .v {
    font-size: 20px;
  }
  .cta {
    padding: 80px 0;
  }
  .cta-form {
    padding: 28px 24px;
  }
  .cta-contacts {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 48px;
  }
  .mode-card {
    padding: 32px 24px;
  }
  .mode-card h3 {
    font-size: 30px;
  }
  .hub {
    max-width: 340px;
  }
  .hub-center {
    font-size: 14px;
  }
  .hub-node {
    font-size: 11px;
  }
  .plato {
    padding: 80px 0;
    min-height: 380px;
  }
  .plato blockquote {
    font-size: 32px;
  }
  .nav-inner {
    min-height: 96px;
    padding: 14px 20px;
  }
  .nav-phone {
    font-size: 15px;
    gap: 7px;
  }
  .brand-text .b1 {
    font-size: 19px;
  }
  .brand-text .b2 {
    font-size: 14px;
  }
  .hero-card {
    flex-direction: column;
    align-items: flex-start;
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
  .hero-card .quote {
    font-size: 20px;
  }
  .hero-card .badge {
    align-self: flex-start;
  }
  .trust-inner {
    gap: 24px;
    flex-direction: column;
    align-items: flex-start;
  }
  .trust-logos {
    gap: 28px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-links {
    gap: 18px;
    flex-wrap: wrap;
  }
  header{
	position: static !important;
  }

  .hub{
    display: none;
  }
}

/* Utility locali per togliere gli inline style dal template. */
.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.founder-intro {
  margin-top: 28px;
  font-size: 18px;
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 580px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.spokes-group {
  color: var(--brand-dark);
}


@media screen and (max-width: 1080px) {
    /* 1. Nasconde il menu in versione orizzontale (Desktop) */
    .wp-block-navigation:not(.always-shown) .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        display: none !important;
    }

    /* 2. Mostra il pulsante Hamburger (Mobile) */
    .wp-block-navigation:not(.always-shown) .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: flex !important;
    }
}

/* Gravity Forms */

.gfield_consent_description {
  font-size: 11px !important;
  padding: 5px !important;
}

@media (min-width: 640px) {
  .gform-theme--foundation .gform_fields {
    column-gap: 10px !important;
    row-gap: 15px !important;
  }
}