/* Self-hosted Fraunces + Manrope (fontsource / SIL OFL) */
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Alessandra Franceschini — site preview
   Palette: white + azzurro accents
   Mobile-first, accessible */

:root {
  --bg: #ffffff;
  --bg-soft: #f4f8fb;
  --bg-tint: #e8f2f8;
  --azzurro: #3a8bb8;
  --azzurro-deep: #1e5f82;
  --azzurro-mid: #5ba3c9;
  --azzurro-soft: #d6ebf5;
  --text: #1c2d3a;
  --text-muted: #5a6d7a;
  --border: #cfe0eb;
  --shadow: 0 12px 40px rgba(30, 95, 130, 0.08);
  --shadow-sm: 0 4px 16px rgba(30, 95, 130, 0.06);
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1120px;
  --nav-h: 4.25rem;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", "Georgia", "Times New Roman", serif;
  --focus: 0 0 0 3px rgba(58, 139, 184, 0.35);
  /* Decorative stripes removed (Sky): plain solid backgrounds */
  --stripe-a: rgba(58, 139, 184, 0.09);
  --stripe-b: rgba(30, 95, 130, 0.05);
  --motif-stripes: none;
  --motif-stripes-fine: none;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image: var(--motif-stripes);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--azzurro-deep);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--azzurro);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--azzurro-deep);
  color: #fff;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* —— Nav —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-h);
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--azzurro-deep);
  text-decoration: none;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.logo span {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.25rem 1.5rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}

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

.nav-cta {
  display: none;
  background: var(--azzurro);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.15s ease;
}

.nav-cta:hover {
  background: var(--azzurro-deep);
  color: #fff !important;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--azzurro-deep);
  cursor: pointer;
}

.nav-toggle svg {
  width: 1.35rem;
  height: 1.35rem;
}

.nav-panel {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 0.75rem 0 1.25rem;
}

.nav-panel.is-open {
  display: block;
}

.nav-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-panel a {
  display: block;
  padding: 0.75rem 0;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid var(--bg-soft);
}

.nav-panel .nav-cta-mobile {
  display: inline-flex;
  margin-top: 1rem;
  background: var(--azzurro);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 600;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: none;
}

@media (min-width: 1080px) {
  .nav-toggle,
  .nav-panel {
    display: none !important;
  }

  .nav-links {
    display: flex;
  }
}
@media (min-width: 1240px) {
  .nav-cta {
    display: inline-flex;
  }
}

/* —— Hero —— */
.hero {
  position: relative;
  padding: 2.5rem 0 3.5rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 100%;
  background:
    var(--motif-stripes-fine),
    var(--motif-stripes),
    radial-gradient(ellipse 80% 60% at 90% 10%, var(--azzurro-soft) 0%, transparent 55%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 70%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--azzurro);
  margin: 0 0 1rem;
}

.hero-eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: var(--azzurro-mid);
  border-radius: 1px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 5.5vw, 3.15rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--azzurro-deep);
  margin: 0 0 1.25rem;
  max-width: 16ch;
}

.hero-lead {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 36ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--azzurro);
  color: #fff;
}

.btn-primary:hover {
  background: var(--azzurro-deep);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--azzurro-deep);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--azzurro-mid);
  color: var(--azzurro);
  background: var(--bg-soft);
}

.hero-portrait {
  position: relative;
  justify-self: center;
  width: min(100%, 340px);
}

.hero-portrait-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow);
  background: var(--bg-tint);
}

.hero-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.hero-portrait-accent {
  position: absolute;
  inset: auto -12px -12px auto;
  width: 55%;
  height: 55%;
  border-radius: 20px;
  border: 2px solid var(--azzurro-soft);
  z-index: -1;
}

.hero-badge {
  position: absolute;
  left: -0.5rem;
  bottom: 1.5rem;
  background: #fff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--azzurro-deep);
  max-width: 11rem;
  line-height: 1.35;
}

@media (min-width: 820px) {
  .hero {
    padding: 3.5rem 0 5rem;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }

  .hero-portrait {
    width: min(100%, 400px);
    justify-self: end;
  }
}

/* —— Sections —— */
section {
  padding: 4rem 0;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--azzurro);
  margin: 0 0 0.65rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.5vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--azzurro-deep);
  margin: 0 0 1rem;
  line-height: 1.25;
}

.section-intro {
  margin: 0 0 2.5rem;
  color: var(--text-muted);
  max-width: 52ch;
}

/* —— About —— */
.about {
  position: relative;
  background-color: var(--bg);
  background-image: var(--motif-stripes);
}

.about-grid {
  display: grid;
  gap: 2rem;
}

.about-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
}

.about-card p {
  margin: 0 0 1rem;
  color: var(--text);
}

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

.credentials {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.35rem;
  background: #fff;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--azzurro);
  box-shadow: var(--shadow-sm);
  margin-top: 1.5rem;
}

.credentials-icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--azzurro-soft);
  color: var(--azzurro-deep);
  display: grid;
  place-items: center;
}

.credentials-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.credentials p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
}

.credentials strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--azzurro);
  margin-bottom: 0.35rem;
}

@media (min-width: 820px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}

/* —— Services —— */
.services {
  position: relative;
  background-color: var(--bg);
  background-image:
    var(--motif-stripes-fine),
    linear-gradient(180deg, var(--bg-soft) 0%, rgba(255, 255, 255, 0.92) 100%);
}

.services-grid {
  display: grid;
  gap: 1.25rem;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  border-color: var(--azzurro-soft);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.service-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--azzurro-soft);
  color: var(--azzurro-deep);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--azzurro-deep);
  margin: 0 0 0.65rem;
}

.service-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

@media (min-width: 720px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
  }
}



/* —— Focus / aree di intervento —— */
.focus {
  position: relative;
  background-color: var(--bg-soft);
  background-image:
    var(--motif-stripes-fine),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  padding-block: 3.5rem;
}

.focus .section-intro {
  margin-bottom: 2rem;
}

.focus-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.focus-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--azzurro-soft);
  transition: border-color 0.2s ease, transform 0.15s ease;
}

.focus-item:hover {
  border-top-color: var(--azzurro);
  transform: translateY(-2px);
}

.focus-item h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--azzurro-deep);
}

.focus-item p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.55;
}

@media (min-width: 640px) {
  .focus-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .focus-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .focus-item {
    padding: 1.25rem 1.1rem;
  }

  .focus-item h3 {
    font-size: 1.1rem;
  }

  .focus-item p {
    font-size: 0.9rem;
  }
}

/* —— Contact —— */
.contact {
  position: relative;
  background-color: var(--bg);
  background-image: var(--motif-stripes);
}

.contact-grid {
  display: grid;
  gap: 2.5rem;
}

.contact-details {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.contact-details li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.contact-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--azzurro);
}

.contact-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.contact-details a,
.contact-details span {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.contact-details a:hover {
  color: var(--azzurro);
}

.contact-details small {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.form-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
}

.form-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--azzurro-deep);
  margin: 0 0 0.35rem;
}

.form-note {
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:hover,
.form-group textarea:hover {
  border-color: var(--azzurro-mid);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--azzurro);
}

.form-group textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-submit {
  width: 100%;
  margin-top: 0.25rem;
}

.form-feedback {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--azzurro-soft);
  color: var(--azzurro-deep);
  font-size: 0.92rem;
  font-weight: 500;
}

.form-feedback.is-visible {
  display: block;
}

@media (min-width: 820px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: start;
  }

  .form-card {
    padding: 2rem;
  }

  .form-submit {
    width: auto;
    min-width: 12rem;
  }
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--azzurro-deep);
}

.footer-meta {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

@media (min-width: 720px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* —— Soft stripe motifs (Sky iteration) —— */
.motif-panel {
  position: relative;
  isolation: isolate;
}

.motif-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: var(--motif-stripes);
  border-radius: inherit;
  opacity: 0.85;
}

.motif-panel > * {
  position: relative;
  z-index: 1;
}


/* —— Shared extras for the complete site —— */
.nav-links a[aria-current="page"],
.nav-panel a[aria-current="page"] {
  color: var(--azzurro);
}

.page-hero {
  position: relative;
  padding: 2.75rem 0 2rem;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    var(--motif-stripes-fine),
    var(--motif-stripes),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 85%);
  z-index: -1;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--azzurro-deep);
  margin: 0 0 0.85rem;
  max-width: 22ch;
}
.page-hero p {
  margin: 0;
  color: var(--text-muted);
  max-width: 58ch;
}

.prose {
  max-width: 72ch;
}
.prose p {
  margin: 0 0 1.1rem;
}
.prose p:last-child {
  margin-bottom: 0;
}

.bio-layout {
  display: grid;
  gap: 2.25rem;
  align-items: start;
}
.bio-portrait {
  position: relative;
  width: min(100%, 360px);
  justify-self: center;
}
.bio-portrait .hero-portrait-frame {
  aspect-ratio: 3 / 4;
}
@media (min-width: 820px) {
  .bio-layout {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }
  .bio-portrait {
    justify-self: end;
    width: min(100%, 380px);
    position: sticky;
    top: calc(var(--nav-h) + 1rem);
  }
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.timeline li {
  display: grid;
  gap: 0.35rem 1.25rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--azzurro);
}
.timeline time {
  font-weight: 700;
  color: var(--azzurro);
  font-size: 0.92rem;
}
@media (min-width: 640px) {
  .timeline li {
    grid-template-columns: 4.5rem 1fr;
    align-items: baseline;
  }
}

.pub-grid {
  display: grid;
  gap: 1rem;
}
.pub-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem;
  box-shadow: var(--shadow-sm);
}
.pub-card time {
  display: inline-block;
  font-weight: 700;
  color: var(--azzurro);
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
}
.pub-card p {
  margin: 0;
  color: var(--text);
  font-size: 0.98rem;
}
@media (min-width: 720px) {
  .pub-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 980px) {
  .pub-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 78ch;
}
.faq-list details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.35rem 1.15rem;
  box-shadow: var(--shadow-sm);
}
.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--azzurro-deep);
  padding: 0.85rem 0;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--azzurro);
  font-weight: 500;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p {
  margin: 0 0 1rem;
  color: var(--text);
}

.placeholder {
  display: inline;
  background: #fff3b0;
  border: 1px dashed #c9a227;
  color: #5a4708;
  padding: 0.05em 0.35em;
  border-radius: 4px;
  font-weight: 600;
}
.placeholder-box {
  background: #fff8d6;
  border: 1px dashed #c9a227;
  color: #5a4708;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  margin: 0 0 1.25rem;
}

.legal {
  max-width: 72ch;
}
.legal h2 {
  font-family: var(--font-display);
  color: var(--azzurro-deep);
  font-size: 1.35rem;
  font-weight: 500;
  margin: 2rem 0 0.75rem;
}
.legal ul { padding-left: 1.2rem; }

.map-card {
  margin-top: 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}
.map-card a.btn { margin-top: 0.75rem; }

.cta-band {
  position: relative;
  background-color: var(--bg-soft);
  background-image: var(--motif-stripes-fine);
  text-align: center;
}
.cta-band .section-title { margin-left: auto; margin-right: auto; }
.cta-band .section-intro { margin-left: auto; margin-right: auto; }

.error-page {
  text-align: center;
  padding: 5rem 0 6rem;
}
.error-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.25rem);
  color: var(--azzurro-deep);
  margin: 0 0 1rem;
}

.site-footer {
  padding: 2.25rem 0 2rem;
}
.footer-inner {
  display: grid;
  gap: 1.25rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-links a:hover { color: var(--azzurro); }
.footer-fine {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}
@media (min-width: 820px) {
  .footer-inner {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
}

.more-link {
  display: inline-flex;
  margin-top: 0.5rem;
  font-weight: 600;
  text-decoration: none;
}
.more-link:hover { text-decoration: underline; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ================= v2: multipagina SEO (10 pagine) ================= */
.nav-links { gap: 0.25rem 1.35rem; }
.nav-links > li { position: relative; }
.nav-links a, .sub-toggle { font-size: 0.94rem; white-space: nowrap; }
.sub-toggle {
  display: inline-flex; align-items: center; gap: 0.25rem;
  background: none; border: 0; padding: 0.35rem 0; margin: 0;
  font: inherit; font-weight: 500; color: var(--text); cursor: pointer;
}
.sub-toggle svg { width: 1rem; height: 1rem; transition: transform 0.2s ease; }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.sub-toggle:hover, .has-sub.is-current > .sub-toggle { color: var(--azzurro); }
.sub-menu {
  position: absolute; top: calc(100% + 0.6rem); left: -1rem; z-index: 120;
  min-width: 19rem; margin: 0; padding: 0.5rem; list-style: none;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -0.7rem; height: 0.7rem; }
@media (hover: hover) { .has-sub:hover > .sub-menu { display: block; } }
.sub-menu a {
  display: block; padding: 0.55rem 0.75rem; border-radius: 8px;
  color: var(--text); text-decoration: none; font-weight: 500;
}
.sub-menu a:hover, .sub-menu a:focus-visible { background: var(--bg-soft); color: var(--azzurro-deep); }
.sub-menu a[aria-current="page"] { color: var(--azzurro); background: var(--bg-soft); }
.nav-panel { max-height: calc(100vh - var(--nav-h)); overflow-y: auto; }
.nav-panel-heading {
  display: block; padding: 0.85rem 0 0.25rem; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase; color: var(--azzurro);
}
.nav-panel-group ul a { padding-left: 0.9rem; font-size: 0.97rem; }
.nav-panel nav, .nav-panel .container { display: block; }

/* breadcrumb */
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.35rem; list-style: none; margin: 0 0 1.1rem; padding: 0; font-size: 0.84rem; color: var(--text-muted); }
.breadcrumb li + li::before { content: "›"; margin-right: 0.35rem; color: var(--azzurro-mid); }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--azzurro); text-decoration: underline; }

.page-hero-intro { max-width: 62ch; }
.page-hero-intro p { margin: 0 0 0.75rem; font-size: 1.08rem; }

.content-section { padding: 3rem 0 3.5rem; }
.prose h2.section-title { margin-top: 2.25rem; font-size: clamp(1.45rem, 3vw, 1.9rem); }
.prose h2.section-title:first-child { margin-top: 0; }
.prose-lead p { font-size: 1.08rem; }
.prose a { font-weight: 600; }
.two-col { display: grid; gap: 2.25rem; align-items: start; }
@media (min-width: 980px) {
  .two-col { grid-template-columns: minmax(0, 1fr) 18rem; gap: 3.5rem; }
  .two-col .related { position: sticky; top: calc(var(--nav-h) + 1.25rem); }
}

.check-list { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: 0.6rem; }
.check-list li {
  position: relative; padding: 0.8rem 1rem 0.8rem 2.6rem; background: var(--bg-soft);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
}
.check-list li::before {
  content: ""; position: absolute; left: 1rem; top: 1.15rem; width: 0.85rem; height: 0.45rem;
  border-left: 2px solid var(--azzurro); border-bottom: 2px solid var(--azzurro); transform: rotate(-45deg);
}

.note-card {
  margin: 1.5rem 0 0; padding: 1rem 1.15rem; background: #fff; border: 1px solid var(--border);
  border-left: 3px solid var(--azzurro); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
}
.refs-note { margin: 1.5rem 0 0 !important; font-size: 0.85rem; color: var(--text-muted); }
.refs-note a { font-weight: 500; }

.related { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem 1.35rem; }
.related-title { margin: 0 0 0.6rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--azzurro); }
.related ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.related a { display: block; padding: 0.4rem 0; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--border); }
.related li:last-child a { border-bottom: 0; }
.related a::after { content: " →"; color: var(--azzurro-mid); }
.related-inline { margin-top: 2rem; max-width: 78ch; }

/* home */
.topic-list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 0.75rem; }
.topic-list li > a, .topic-list li > span {
  display: flex; align-items: center; gap: 0.75rem; height: 100%;
  padding: 0.95rem 1.1rem; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
  color: var(--text); text-decoration: none; font-weight: 600; line-height: 1.4;
}
.topic-list li > a::before, .topic-list li > span::before {
  content: ""; flex-shrink: 0; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--azzurro-mid);
}
.topic-list li > a:hover { border-color: var(--azzurro-mid); color: var(--azzurro-deep); }
@media (min-width: 640px) { .topic-list { grid-template-columns: repeat(2, 1fr); } }
.service-card .more-link { margin-top: 1rem; font-size: 0.95rem; }
.services-grid { margin-top: 1.25rem; }
.split { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1.2fr 0.8fr; gap: 3.5rem; } }
.info-card { list-style: none; margin: 0; padding: 1.5rem; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); display: grid; gap: 0.9rem; }
.info-card small { display: block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.info-card a { font-weight: 600; text-decoration: none; word-break: break-word; }

/* aree */
.chip-nav ul { list-style: none; margin: 0 0 2rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip-nav a {
  display: inline-block; padding: 0.45rem 0.9rem; border-radius: 999px; background: var(--bg-soft);
  border: 1px solid var(--border); text-decoration: none; font-size: 0.88rem; font-weight: 600;
}
.chip-nav a:hover { border-color: var(--azzurro-mid); }
.area-grid { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .area-grid { grid-template-columns: repeat(2, 1fr); } }
.area-card {
  background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--azzurro-soft);
  border-radius: var(--radius); padding: 1.5rem 1.4rem; box-shadow: var(--shadow-sm);
}
.area-card h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; color: var(--azzurro-deep); margin: 0 0 0.75rem; line-height: 1.3; }
.area-card p { margin: 0 0 0.8rem; color: var(--text); }
.area-card p:last-child { margin-bottom: 0; }
.area-card .area-link { font-size: 0.9rem; color: var(--text-muted); padding-top: 0.6rem; border-top: 1px solid var(--bg-tint); }
.area-card .area-link a { font-weight: 600; }

/* FAQ accordion */
.section-faq { background: var(--bg-soft); padding: 3.25rem 0; }
.faq-list summary { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.faq-list summary::after { float: none; flex-shrink: 0; font-size: 1.3rem; line-height: 1.2; }
.faq-list summary:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
.faq-list details[open] { border-color: var(--azzurro-soft); }
.faq-answer p { margin: 0 0 1rem; color: var(--text); }

/* riferimenti */
.refs-wrap { display: grid; gap: 1.25rem; max-width: 80ch; }
.ref-group { padding: 1.4rem 1.5rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.ref-group h2 { font-family: var(--font-display); font-weight: 500; color: var(--azzurro-deep); font-size: 1.3rem; margin: 0 0 0.75rem; }
.ref-list { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.5rem; }

/* contatti */
.lead-strong { font-weight: 600; color: var(--azzurro-deep); margin: 0 0 0.75rem; }
.contact { padding: 2.5rem 0 4rem; }
.contact-details a { word-break: break-word; }
.form-privacy { font-size: 0.85rem; color: var(--text-muted); margin: 0 0 1rem; }

/* cta */
.cta-band { padding: 3.5rem 0; border-top: 1px solid var(--border); }
.cta-band .section-intro a { font-weight: 600; white-space: nowrap; }

/* footer v2 */
.footer-grid { display: grid; gap: 1.75rem; }
.footer-col p { margin: 0 0 0.55rem; }
.footer-heading { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--azzurro); }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.footer-list a, .footer-col .footer-fine a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; }
.footer-list a:hover, .footer-col .footer-fine a:hover { color: var(--azzurro); text-decoration: underline; }
.footer-fine a { word-break: break-word; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; } }

html { scroll-padding-top: calc(var(--nav-h) + 1rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* v2 fixes after screenshot review */
.sub-toggle { font-size: 0.94rem; font-family: var(--font-sans); }
.hero-badge { max-width: 14rem; }
.hero h1 { max-width: 19ch; }
.content-section.intro-section, #intro { padding-top: 1.5rem; }
@media (max-width: 480px) {
  .hero-actions .btn { width: 100%; font-size: 0.95rem; padding: 0.8rem 1.1rem; }
}
.page-hero + .content-section, .page-hero + .contact { padding-top: 1.75rem; }
.page-hero { padding-bottom: 1.5rem; }
@media (max-width: 819px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
  .footer-grid > .footer-col:first-child { grid-column: 1 / -1; }
  .footer-list a { font-size: 0.86rem; }
}

/* v2: foto dello studio (home + contatti) */
.studio-photo {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-tint);
  aspect-ratio: 4 / 3;
}
.studio-photo img { width: 100%; height: 100%; object-fit: cover; }
.studio-aside { display: grid; gap: 1.25rem; }
.contact .studio-photo { margin-top: 1.75rem; }

/* Informative privacy e cookie */
.legal h3 { font-size: 1.05rem; font-weight: 700; color: var(--text); margin: 1.5rem 0 0.5rem; }
.legal a { overflow-wrap: anywhere; }
.legal-table { overflow-x: auto; margin: 1rem 0 1.25rem; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.legal-table table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 520px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--border); }
.legal-table th { background: var(--bg-soft); color: var(--azzurro-deep); font-weight: 700; }
.legal-table tr:last-child td { border-bottom: 0; }
