/* ==========================================================================
   Dott.ssa Laura Poddighe — Psicoterapeuta, Psicologa Clinica e Neuropsicologa
   Foglio di stile unico. Palette dagli acquerelli del sito originale
   (giallo caldo + azzurro), tradotta in avorio / blu profondo / oro.
   ========================================================================== */

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond.woff2') format('woff2');
  font-weight: 300 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-italic.woff2') format('woff2');
  font-weight: 300 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  /* palette */
  --bg: #FBF8F2;          /* avorio — 60% */
  --bg-alt: #F3EDE2;      /* sabbia */
  --sky: #E3EEF5;         /* azzurro acquerello */
  --sun: #F6E7BF;         /* giallo acquerello, solo sfondi */
  --gold: #C9963A;        /* filo dorato — solo decorazioni, mai testo piccolo */
  --brand: #2F5D7C;       /* blu profondo — CTA e link */
  --brand-dark: #22465E;
  --deep: #1C3446;        /* sezioni scure */
  --ink: #1E2B36;
  --text: #3C4853;
  --muted: #66717C;
  --line: #E4DCCD;
  --white: #fff;

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --shadow-sm: 0 2px 10px rgba(30, 43, 54, .06);
  --shadow-md: 0 14px 34px rgba(30, 43, 54, .09);
  --shadow-lg: 0 28px 64px rgba(30, 43, 54, .16);
  --radius: 14px;
  --radius-lg: 26px;
  --container: 1200px;
  --nav-h: 80px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-variant-numeric: lining-nums; font-family: var(--font-display); color: var(--ink); font-weight: 600; line-height: 1.12; margin: 0 0 .6em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.7rem); }
h4 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
em.accent, h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--brand); }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 200; border-radius: 8px; }
.skip-link:focus { left: 12px; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.narrow { max-width: 780px; }
.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-sky { background: var(--sky); }
.section-dark { background: var(--deep); color: #D6E0E8; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark a { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: var(--gold); }
.section-dark .eyebrow { color: #F1D9A3; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--text); max-width: 60ch; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .eyebrow { justify-content: center; }

/* bottoni */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font: 600 .98rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(47, 93, 124, .25); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-2px); }
.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-light { background: #fff; color: var(--deep); }
.btn-light:hover { background: var(--sun); color: var(--deep); }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ---------------- header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 248, 242, .88);
  backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(30,43,54,.05); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--nav-h); }
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.nav-brand svg { width: 44px; height: 44px; flex: none; }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-brand-name { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; color: var(--ink); }
.nav-brand-role { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav-menu { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-menu a { display: block; padding: 10px 14px; border-radius: 10px; text-decoration: none; color: var(--ink); font-size: .95rem; font-weight: 500; }
.nav-menu a:hover { color: var(--brand); background: rgba(47,93,124,.06); }
.nav-menu a[aria-current="page"] { color: var(--brand); }
.nav-menu a[aria-current="page"]::after { content: ""; display: block; height: 1.5px; background: var(--gold); margin-top: 3px; }
.nav-cta { margin-left: 10px; }
.nav-menu .nav-cta a.btn { color: #fff; padding: 0 22px; min-height: 46px; display: inline-flex; }
.nav-menu .nav-cta a.btn:hover { background: var(--brand-dark); }

/* ---------------- menu mobile (template Royaletiger) ---------------- */
body.is-locked { position: fixed; width: 100%; overflow: hidden; top: var(--scroll-lock-top, 0); overflow-anchor: none; }
.nav-overlay { display: none; }
.site-header.has-menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px;
  background: transparent; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
  position: relative; z-index: 2;
}
.nav-toggle span { display: block; width: 20px; height: 1.6px; background: var(--ink); transition: transform .3s var(--ease), opacity .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav-overlay {
    display: block; position: fixed; inset: 0; z-index: 89;
    background: rgba(28, 52, 70, .45); border: 0; padding: 0; cursor: pointer;
    opacity: 0; visibility: hidden;
    transition: opacity .38s var(--ease), visibility 0s linear .38s;
  }
  .nav-overlay.is-open { opacity: 1; visibility: visible; transition: opacity .38s var(--ease), visibility 0s linear 0s; }
  .nav-menu {
    position: fixed; inset: 0 0 0 auto; z-index: 1;
    width: min(86vw, 360px); background: var(--bg);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 4px; padding: 100px 26px 40px;
    box-shadow: var(--shadow-lg); overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(100%); visibility: hidden;
    transition: transform .38s var(--ease), visibility 0s linear .38s;
  }
  .nav-menu.is-open { transform: none; visibility: visible; transition: transform .38s var(--ease), visibility 0s linear 0s; }
  .nav-menu a { padding: 14px 16px; font-size: 1.1rem; border-radius: 12px; }
  .nav-menu a[aria-current="page"]::after { display: none; }
  .nav-menu a[aria-current="page"] { background: rgba(47,93,124,.08); }
  .nav-cta { margin: 14px 0 0; }
  .nav-menu .nav-cta a.btn { width: 100%; justify-content: center; }
}
html { overflow-x: hidden; }

/* ---------------- hero ---------------- */
.hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 620px; height: 620px; right: -160px; top: -120px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(181, 210, 230, .55), rgba(181, 210, 230, 0) 68%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; width: 520px; height: 520px; left: -220px; bottom: -220px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(246, 222, 160, .55), rgba(246, 222, 160, 0) 68%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 80px); align-items: center; position: relative; z-index: 1; }
.hero h1 { margin-bottom: .45em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 34px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; padding: 0; margin: 0; font-size: .92rem; color: var(--muted); }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 18px; height: 18px; color: var(--brand); flex: none; }
.hero-media { position: relative; }
.hero-photo {
  position: relative; border-radius: 240px 240px var(--radius-lg) var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 1200 / 1386; background: var(--bg-alt);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-quote {
  position: absolute; left: -36px; bottom: 36px; max-width: 290px;
  background: #fff; border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-md);
  font-family: var(--font-display); font-style: italic; font-size: 1.18rem; line-height: 1.35; color: var(--ink);
}
.hero-quote cite { display: block; margin-top: 8px; font: 500 .78rem/1 var(--font-body); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hero-quote::before { content: ""; position: absolute; left: 22px; top: -1px; width: 40px; height: 2px; background: var(--gold); }

/* pagine interne */
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 5vw, 64px); background: linear-gradient(180deg, var(--sky) 0%, var(--bg) 100%); position: relative; overflow: hidden; }
.page-hero .lead { margin-bottom: 0; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 22px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--gold); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); }

/* ---------------- card & griglie ---------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
.icon {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 22px;
  background: var(--sky); color: var(--brand);
}
.icon.sun { background: var(--sun); color: #7A5418; }
.icon svg { width: 26px; height: 26px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .95rem; text-decoration: none; margin-top: 8px; }
.card-link::after { content: "→"; transition: transform .25s var(--ease); }
.card-link:hover::after { transform: translateX(4px); }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.checklist { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F5D7C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* citazione */
.quote-band { text-align: center; }
.quote-band blockquote { margin: 0 auto; max-width: 860px; font-family: var(--font-display); font-style: italic; font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.25; color: var(--ink); }
.quote-band cite { display: block; margin-top: 22px; font: 600 .8rem/1 var(--font-body); font-style: normal; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.quote-band img, .illus { margin: 0 auto 26px; width: min(360px, 80%); mix-blend-mode: multiply; }

/* numeri */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { font-variant-numeric: lining-nums; font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 600; line-height: 1; color: #fff; }
.stat-label { margin-top: 10px; font-size: .92rem; color: #C3D0DB; }

/* steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding: 30px 28px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.steps li::before { font-variant-numeric: lining-nums; content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; color: var(--gold); line-height: 1; margin-bottom: 14px; }
.steps h3 { font-size: 1.4rem; }
.steps p { margin: 0; }

/* servizi dettagliati */
.service-area { display: grid; grid-template-columns: 320px 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.service-area-head { position: sticky; top: calc(var(--nav-h) + 28px); }
.service-area-head p { color: var(--muted); }
.service-list { display: grid; gap: 20px; }
.service-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 32px; }
.service-item h3 { display: flex; align-items: center; gap: 14px; }
.service-item h3 .icon { margin: 0; width: 46px; height: 46px; flex: none; }
.service-item h3 .icon svg { width: 22px; height: 22px; }
.service-item p:last-child { margin-bottom: 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; }
.tag-list li { padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .86rem; color: var(--text); }

/* timeline formazione */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 1.5px solid var(--line); }
.timeline li { position: relative; padding: 0 0 26px 28px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--gold); }
.timeline strong { display: block; color: var(--ink); font-weight: 600; }
.timeline span { color: var(--muted); font-size: .95rem; }
.pubs { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.pubs li { padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); font-size: .95rem; }
.pubs li em { color: var(--ink); }
.pubs .year { display: inline-block; font-weight: 600; color: var(--brand); margin-right: 8px; }
details.more { margin-top: 18px; }
details.more summary { cursor: pointer; font-weight: 600; color: var(--brand); list-style: none; display: inline-flex; align-items: center; gap: 8px; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::after { content: "+"; font-size: 1.2rem; line-height: 1; }
details.more[open] summary::after { content: "–"; }
details.more .pubs { margin-top: 16px; }
.affiliations { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.affiliations span { padding: 10px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: .88rem; color: var(--text); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 24px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 32px 20px 0; position: relative; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--brand); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding-bottom: 20px; }
.faq details > div p:last-child { margin-bottom: 0; }

/* blog */
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: inherit; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); color: inherit; }
.post-cover { aspect-ratio: 16 / 9; display: grid; place-items: center; }
.post-cover svg { width: 64px; height: 64px; color: var(--brand); }
.post-cover.sky { background: linear-gradient(135deg, var(--sky), #CFE0EC); }
.post-cover.sun { background: linear-gradient(135deg, var(--sun), #F0D9A0); }
.post-cover.sun svg { color: #7A5418; }
.post-cover.sand { background: linear-gradient(135deg, var(--bg-alt), #E8DECB); }
.post-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.post-body h3 { font-size: 1.5rem; }
.post-body p { color: var(--text); font-size: .98rem; }
.post-body .card-link { margin-top: auto; }

.article { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 110px); }
.article .container { max-width: 760px; }
.article h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-top: 1.6em; }
.article h3 { margin-top: 1.4em; }
.article ul, .article ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.article li { margin-bottom: .4em; }
.answer-box { background: var(--sky); border-left: 3px solid var(--brand); border-radius: 0 var(--radius) var(--radius) 0; padding: 22px 26px; margin: 0 0 2em; }
.answer-box p:last-child { margin-bottom: 0; }
.note { font-size: .92rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 40px; }

/* CTA banner */
.cta-banner { position: relative; overflow: hidden; background: var(--deep); border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px); color: #D6E0E8; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.cta-banner::before { content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(246,222,160,.28), rgba(246,222,160,0) 70%); }
.cta-banner h2 { color: #fff; margin-bottom: .3em; }
.cta-banner p { margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; position: relative; }

/* contatti */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { width: 44px; height: 44px; margin: 0; flex: none; }
.contact-list .icon svg { width: 20px; height: 20px; }
.contact-list small { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-list a { text-decoration: none; color: var(--ink); font-weight: 500; }
.contact-list a:hover { color: var(--brand); }
.hours { width: 100%; border-collapse: collapse; font-size: .96rem; }
.hours th, .hours td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; }
.hours th { font-weight: 500; color: var(--ink); }
.hours td { text-align: right; color: var(--text); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }

.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 16px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(47,93,124,.12); background: #fff; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--text); }
.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.form-status { min-height: 1.4em; font-size: .92rem; color: var(--brand); margin: 0; }
.form-note { font-size: .85rem; color: var(--muted); margin: 0; }

/* legale */
.legal h2 { font-size: 1.8rem; margin-top: 1.8em; }
.legal table { width: 100%; border-collapse: collapse; font-size: .95rem; margin-bottom: 1.4em; }
.legal th, .legal td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal th { background: var(--bg-alt); }

/* ---------------- footer ---------------- */
.site-footer { background: var(--deep); color: #B9C7D3; padding: clamp(56px, 7vw, 88px) 0 0; font-size: .95rem; }
.site-footer a { color: #DCE6EE; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand svg { width: 42px; height: 42px; flex: none; }
.footer-brand span { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: #fff; line-height: 1.1; }
.site-footer h4 { font-family: var(--font-body); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #F1D9A3; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0 28px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .85rem; color: #93A4B3; }
.footer-bottom p { margin: 0; }

/* ---------------- reveal ---------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------------- responsive ---------------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-area { grid-template-columns: 1fr; }
  .service-area-head { position: static; }
}
@media (max-width: 900px) {
  .hero-grid, .split, .contact-grid, .cta-banner { grid-template-columns: 1fr; }
  .hero-media { max-width: 460px; margin-inline: auto; width: 100%; }
  .hero-quote { left: 12px; right: 12px; bottom: 16px; max-width: none; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 36px 16px; }
  .cta-actions { justify-content: flex-start; }
  .split-media { order: -1; }
}
@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .card, .service-item, .contact-card { padding: 26px 22px; }
  .hero-cta .btn { width: 100%; }
}
@media (max-width: 480px) {
  .nav-brand-name { font-size: 1.2rem; }
  .nav-brand-role { font-size: .62rem; letter-spacing: .1em; }
  .nav-brand svg { width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
