/* ==============================================
   DOTT.SSA BENEDETTA DE ROSA – MAIN STYLESHEET
   Psicologa e Psicoterapeuta | Napoli
   Design: Minimal, Calm, Professional
   ============================================== */

/* -----------------------------------------------
   CSS CUSTOM PROPERTIES
----------------------------------------------- */
:root {
  /* Palette */
  --blue:          #4A7FA0;
  --blue-mid:      #6B9FBF;
  --blue-light:    #A8CEDD;
  --blue-pale:     #E6F2F8;
  --blue-xpale:    #F0F7FB;
  --beige:         #C49A6C;
  --beige-pale:    #F5EDE0;
  --white:         #FFFFFF;
  --bg-body:       #FAFBFC;
  --bg-section:    #F4F8FB;
  --txt:           #2C3E50;
  --txt-muted:     #637281;
  --border:        #DDE8EF;

  /* Type */
  --serif:   'Playfair Display', Georgia, serif;
  --sans:    'Inter', system-ui, sans-serif;

  /* Effects */
  --shadow-xs:  0 2px 8px  rgba(74, 127, 160, 0.08);
  --shadow-sm:  0 4px 20px rgba(74, 127, 160, 0.10);
  --shadow-md:  0 8px 40px rgba(74, 127, 160, 0.14);
  --shadow-lg:  0 16px 60px rgba(74, 127, 160, 0.18);
  --radius:     14px;
  --radius-sm:  8px;
  --trans:      0.28s ease;
  --max-w:      1160px;
}

/* -----------------------------------------------
   RESET & BASE
----------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--bg-body);
  color: var(--txt);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* -----------------------------------------------
   LAYOUT
----------------------------------------------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 2.5rem);
}

.section {
  padding: clamp(5rem, 10vw, 7rem) 0;
}

/* -----------------------------------------------
   TYPOGRAPHY
----------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  line-height: 1.18;
  color: var(--txt);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 500; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 500; }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 600; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }
em { font-style: italic; }

/* -----------------------------------------------
   SECTION HEADERS
----------------------------------------------- */
.section-header { text-align: center; margin-bottom: clamp(3rem, 6vw, 4.5rem); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--beige);
  margin-bottom: 0.75rem;
}

.section-title {
  color: var(--blue);
  margin-bottom: 1.25rem;
}

.divider {
  width: 52px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  border-radius: 99px;
  margin: 0 auto 1.5rem;
}

.section-intro {
  max-width: 580px;
  margin: 0 auto;
  color: var(--txt-muted);
  font-size: 1.05rem;
}

/* -----------------------------------------------
   BUTTONS
----------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.82rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--trans);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(74, 127, 160, 0.30);
}
.btn-primary:hover {
  background: #3A6888;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(74, 127, 160, 0.38);
}

.btn-ghost {
  background: transparent;
  color: var(--blue);
  border: 1.8px solid var(--blue-light);
}
.btn-ghost:hover {
  background: var(--blue-pale);
  border-color: var(--blue);
}

.btn-white {
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 4px 18px rgba(0,0,0,0.10);
}
.btn-white:hover {
  background: var(--blue-pale);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* Focus ring */
.btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* -----------------------------------------------
   REVEAL ANIMATIONS (Intersection Observer)
----------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal { transition-delay: 0.05s; }
.reveal + .reveal { transition-delay: 0.12s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* -----------------------------------------------
   NAVIGATION
----------------------------------------------- */
.navbar {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 900;
  background: rgba(250, 251, 252, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--trans), box-shadow var(--trans);
}

.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-xs);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.1rem;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.nav-logo-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--blue);
  font-weight: 500;
}
.nav-logo-sub {
  font-size: 0.7rem;
  color: var(--txt-muted);
  letter-spacing: 0.04em;
  font-weight: 400;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--txt-muted);
  transition: color var(--trans), background var(--trans);
}
.nav-link:hover { color: var(--blue); background: var(--blue-pale); }
.nav-link.active { color: var(--blue); }

.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 0.5rem 1.15rem;
  box-shadow: 0 3px 12px rgba(74, 127, 160, 0.28);
}
.nav-cta:hover {
  background: #3A6888;
  color: var(--white) !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: background var(--trans);
}
.nav-toggle:hover { background: var(--blue-pale); }
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--txt);
  border-radius: 99px;
  transition: transform var(--trans), opacity var(--trans);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* -----------------------------------------------
   HERO
----------------------------------------------- */
.hero {
  padding-top: clamp(6rem, 12vw, 8rem);
  padding-bottom: 0;
  background: linear-gradient(160deg, var(--blue-xpale) 0%, var(--white) 65%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,127,160,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--beige);
  margin-bottom: 1rem;
}

.hero-name {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--txt);
}
.hero-name em {
  color: var(--blue);
  font-style: italic;
}

.hero-role {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 600;
  color: var(--blue-mid);
  letter-spacing: 0.03em;
  margin-bottom: 1.75rem;
  line-height: 1.5;
}

.hero-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--txt-muted);
  line-height: 1.55;
  margin-bottom: 1.5rem;
  padding-left: 1.25rem;
  border-left: 3px solid var(--blue-light);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--txt-muted);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 0.4rem 1rem;
  margin-bottom: 2.25rem;
  box-shadow: var(--shadow-xs);
}
.hero-badge svg { width: 14px; height: 14px; color: var(--beige); }

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

/* Photo */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-photo-wrap {
  position: relative;
  width: min(340px, 90vw);
}

.hero-photo-placeholder {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  line-height: 0;
}

.hero-photo-placeholder img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center top;
}

/* Decorative elements */
.hero-deco {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--blue-light);
  pointer-events: none;
}
.hero-deco-1 {
  width: 90px; height: 90px;
  top: -28px; right: -28px;
  opacity: 0.4;
  animation: spin-slow 20s linear infinite;
}
.hero-deco-2 {
  width: 140px; height: 140px;
  bottom: -40px; left: -40px;
  opacity: 0.25;
  animation: spin-slow 30s linear infinite reverse;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-deco { animation: none; } }

/* Wave */
.hero-wave { display: block; line-height: 0; margin-top: auto; }
.hero-wave svg { width: 100%; height: 70px; display: block; }

/* -----------------------------------------------
   CHI SONO
----------------------------------------------- */
.chi-sono { background: var(--bg-section); }

.chi-sono-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.chi-sono-text .lead {
  font-size: 1.12rem;
  color: var(--txt);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.chi-sono-text p {
  color: var(--txt-muted);
  font-size: 0.97rem;
  margin-bottom: 1.25rem;
}

.pullquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.12rem;
  color: var(--blue);
  line-height: 1.6;
  padding: 1.5rem 1.75rem;
  background: var(--blue-pale);
  border-left: 4px solid var(--blue-mid);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 2rem;
}

/* Credentials */
.credentials-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
}

.credentials-title {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 1.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.credentials-list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.credentials-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.cred-icon {
  width: 38px;
  height: 38px;
  background: var(--blue-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
}
.cred-icon svg { width: 18px; height: 18px; }

.credentials-list li > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}
.credentials-list strong {
  font-size: 0.88rem;
  color: var(--txt);
  font-weight: 600;
  line-height: 1.3;
}
.credentials-list span {
  font-size: 0.78rem;
  color: var(--txt-muted);
  line-height: 1.4;
}

/* -----------------------------------------------
   AREE DI INTERVENTO
----------------------------------------------- */
.aree { background: var(--white); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: box-shadow var(--trans), transform var(--trans), border-color var(--trans);
  cursor: default;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--blue-light);
}

.card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
}
.card-icon svg { width: 100%; height: 100%; }

.card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--txt);
  margin-bottom: 0.6rem;
  font-family: var(--sans);
}

.card p {
  font-size: 0.88rem;
  color: var(--txt-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

/* -----------------------------------------------
   ESPERIENZA – TIMELINE
----------------------------------------------- */
.esperienza { background: var(--bg-section); }

.timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 130px;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue-light), var(--border));
}

.timeline-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 0 2.5rem;
  padding-bottom: 2.5rem;
  position: relative;
}

.timeline-item:last-child { padding-bottom: 0; }

/* Dot on the line */
.timeline-item::after {
  content: '';
  position: absolute;
  left: 122px;
  top: 0.4rem;
  width: 16px;
  height: 16px;
  background: var(--white);
  border: 3px solid var(--blue-mid);
  border-radius: 50%;
  z-index: 1;
}
.timeline-item:first-child::after { border-color: var(--blue); background: var(--blue); }

.t-meta {
  text-align: right;
  padding-top: 0.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-end;
}

.t-date {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.t-badge {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--blue);
  color: var(--white);
  border-radius: 99px;
  padding: 0.18em 0.7em;
}

.t-body {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.75rem;
  box-shadow: var(--shadow-xs);
}

.t-body h3 {
  font-family: var(--sans);
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--txt);
  margin-bottom: 0.3rem;
}

.t-place {
  font-size: 0.82rem;
  color: var(--blue-mid);
  font-weight: 500;
  margin-bottom: 0.65rem;
}

.t-body p:last-child {
  font-size: 0.88rem;
  color: var(--txt-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

/* -----------------------------------------------
   APPROCCIO TERAPEUTICO
----------------------------------------------- */
.approccio { background: var(--white); }

.approccio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.approccio-card {
  background: var(--bg-section);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  position: relative;
  border: 1px solid var(--border);
  transition: box-shadow var(--trans);
}
.approccio-card:hover { box-shadow: var(--shadow-sm); }

.approccio-num {
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--blue-pale);
  line-height: 1;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  user-select: none;
}

.approccio-card h3 {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 1rem;
}

.approccio-card p {
  font-size: 0.91rem;
  color: var(--txt-muted);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}
.approccio-card p:last-child { margin-bottom: 0; }

.approccio-cta {
  text-align: center;
}
.approccio-cta p {
  color: var(--txt-muted);
  margin-bottom: 1.25rem;
}

/* -----------------------------------------------
   RECENSIONI
----------------------------------------------- */
.recensioni { background: var(--bg-section); }

.recensioni-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.rec-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: box-shadow var(--trans);
}
.rec-card:hover { box-shadow: var(--shadow-sm); }

.rec-stars { color: var(--beige); font-size: 1rem; letter-spacing: 0.1em; }

.rec-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--txt-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 0;
}

.rec-card footer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}
.rec-card footer strong {
  font-size: 0.9rem;
  color: var(--txt);
}
.rec-card footer span {
  font-size: 0.76rem;
  color: var(--txt-muted);
}

.rec-disclaimer {
  text-align: center;
  font-size: 0.78rem;
  color: var(--txt-muted);
  opacity: 0.7;
  margin-top: 0.5rem;
}

/* -----------------------------------------------
   CONTATTI
----------------------------------------------- */
.contatti { background: var(--white); }

.contatti-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

/* Info block */
.info-block {
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
}

.info-block h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 1.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.info-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.info-icon {
  width: 40px;
  height: 40px;
  background: var(--blue-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
}
.info-icon svg { width: 18px; height: 18px; }

.info-list li > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.info-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--txt-muted);
}
.info-list a, .info-list span {
  font-size: 0.9rem;
  color: var(--txt);
  line-height: 1.45;
  font-weight: 500;
}
.info-list a:hover { color: var(--blue); }

.info-note {
  background: var(--blue-pale);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-size: 0.86rem;
  color: var(--txt-muted);
  line-height: 1.6;
}
.info-note p { margin-bottom: 0.5rem; }
.info-note p:last-child { margin-bottom: 0; }

/* Form */
.contatti-form {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2.25rem;
  box-shadow: var(--shadow-sm);
}

.form h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 1.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--txt);
  letter-spacing: 0.02em;
}

.required { color: var(--beige); }

.form-group input,
.form-group textarea {
  padding: 0.78rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  font-size: 0.93rem;
  color: var(--txt);
  background: var(--bg-body);
  transition: border-color var(--trans), box-shadow var(--trans);
}

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(74, 127, 160, 0.12);
  background: var(--white);
}

.form-group textarea { resize: vertical; min-height: 130px; }

.form-check label.check-label {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  cursor: pointer;
}
.form-check input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--blue);
  margin-top: 0.15rem;
  flex-shrink: 0;
  padding: 0;
  border-radius: 4px;
}
.form-check span {
  font-size: 0.82rem;
  color: var(--txt-muted);
  line-height: 1.55;
}

.inline-link { color: var(--blue); text-decoration: underline; }
.inline-link:hover { text-decoration: none; }

.form-note {
  font-size: 0.75rem;
  color: var(--txt-muted);
  text-align: center;
  opacity: 0.8;
  margin-bottom: 0;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #EBF7F0;
  border: 1px solid #A8D8BA;
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  color: #2D7A50;
  font-size: 0.9rem;
}
.form-success svg { width: 22px; height: 22px; flex-shrink: 0; }
.form-success p { margin-bottom: 0; color: inherit; }
.form-success[hidden] { display: none; }

/* -----------------------------------------------
   CTA BANNER
----------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, #3A6888 100%);
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.cta-inner {
  text-align: center;
  max-width: 660px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  color: var(--white);
  margin-bottom: 1.1rem;
}

.cta-inner p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 2.25rem;
}

/* -----------------------------------------------
   FOOTER
----------------------------------------------- */
.footer {
  background: #1E2D3D;
  color: rgba(255,255,255,0.75);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-block: 4rem 3rem;
}

.footer-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.3rem;
}
.footer-role {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.3rem;
}
.footer-albo {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.25rem;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.86rem;
}
.footer-contacts a {
  color: var(--blue-light);
  transition: color var(--trans);
}
.footer-contacts a:hover { color: var(--white); }

.footer-nav h3,
.footer-legal h3 {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.25rem;
}

.footer-nav ul, .footer-legal ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 0;
}

.footer-nav a, .footer-legal a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--trans);
}
.footer-nav a:hover, .footer-legal a:hover { color: var(--white); }

.gdpr-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
  margin-top: 1.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-block: 1.5rem;
}
.footer-bottom .container {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: center;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.4); margin-bottom: 0; }
.footer-disclaimer { font-size: 0.72rem !important; }

/* -----------------------------------------------
   RESPONSIVE – TABLET (≤ 1024px)
----------------------------------------------- */
@media (max-width: 1024px) {
  .chi-sono-grid { grid-template-columns: 1fr; }
  .credentials-box { max-width: 680px; margin: 0 auto; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .approccio-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .approccio-card { padding: 1.75rem 1.5rem; }
  .approccio-num { font-size: 2.8rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* -----------------------------------------------
   RESPONSIVE – MOBILE (≤ 768px)
----------------------------------------------- */
@media (max-width: 768px) {
  /* Nav */
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    inset-block-start: 68px;
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    padding: 1.25rem 1.5rem 2rem;
    gap: 0.35rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--trans), opacity var(--trans);
    z-index: 850;
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-link { padding: 0.7rem 1rem; border-radius: var(--radius-sm); }
  .nav-cta { text-align: center; margin-top: 0.5rem; }

  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-tagline { text-align: left; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-photo-wrap { width: min(260px, 70vw); }
  .hero-deco { display: none; }

  /* Cards */
  .cards-grid { grid-template-columns: 1fr; }
  .recensioni-grid { grid-template-columns: 1fr; }
  .contatti-grid { grid-template-columns: 1fr; }

  /* Timeline */
  .timeline::before { left: 0; }
  .timeline-item {
    grid-template-columns: 1fr;
    padding-left: 1.5rem;
  }
  .timeline-item::after { left: -7px; }
  .t-meta { text-align: left; flex-direction: row; align-items: center; margin-bottom: 0.6rem; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand { grid-column: auto; }
}

/* -----------------------------------------------
   RESPONSIVE – SMALL (≤ 480px)
----------------------------------------------- */
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; justify-content: center; max-width: 300px; }
  .contatti-form { padding: 1.75rem 1.25rem; }
  .info-block { padding: 1.75rem 1.25rem; }
}

/* -----------------------------------------------
   ACCESSIBILITY – FOCUS
----------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 3px;
}

/* -----------------------------------------------
   PRINT
----------------------------------------------- */
@media print {
  .navbar, .hero-actions, .cta-banner, .contatti-form, .footer { display: none; }
  .hero { padding-top: 1rem; }
  * { color: #000 !important; background: #fff !important; box-shadow: none !important; }
}
