/* Lorenza Palazzo – foglio di stile.
   Base: prototype.css del sito realizzato con Antigravity (grafica invariata).
   In fondo: stili prima scritti dentro la pagina, pagine interne, correzioni. */

@font-face { font-family: "ABeeZee"; src: url("../fonts/abeezee-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "ABeeZee"; src: url("../fonts/abeezee-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Amatic SC"; src: url("../fonts/amaticsc-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("../fonts/caveat-variabile.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  /* Tonalità: Violetto originale, beige caldo, terracotta */
  --color-primary: #7A4C65; /* Violetto lilla scuro originale */
  --color-primary-dark: #4D1031; /* Violetto profondo originale */
  --color-secondary: #e8e1d7; /* Beige caldo */
  --color-accent: #c48b71; /* Terracotta */
  --color-bg: #fcfbf9; /* Bianco panna / crema chiarissimo */
  --color-bg-alt: #f0e4ea; /* Lilla pastello chiarissimo per sezioni alternate */
  --color-text: #2c3338; /* Antracite con punta di blu per contrasto */
  --color-text-light: #5a646c;
  --color-white: #ffffff;
  --color-border: #e0d8cc;
  
  --font-sans: 'ABeeZee', system-ui, -apple-system, sans-serif;
  --font-serif: 'ABeeZee', system-ui, sans-serif;
  --font-display: 'Amatic SC', cursive;
  --font-accent: 'Caveat', cursive;
  
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  
  --container-width: 1200px;
  --content-width: 75ch; /* 60-75 chars for readability */
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* Accounts for sticky header */
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  font-size: 1.125rem; /* >= 18px */
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--color-text);
  margin-top: 0;
  font-weight: 500;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: var(--spacing-md); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: var(--spacing-sm); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

a {
  color: var(--color-primary-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 0.2s, text-decoration-color 0.2s;
}
a:hover {
  color: var(--color-accent);
  text-decoration-color: var(--color-accent);
}

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

/* Layout */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.text-container {
  max-width: var(--content-width);
  margin: 0 auto;
}

/* Header & Nav */
.site-header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 100;
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  transition: all 0.4s ease;
  padding: 0.2rem 0;
}

.site-header.scrolled {
  background-color: rgba(250, 249, 246, 0.85); /* Semi-transparent */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  padding: 0; /* Shrinks slightly on scroll */
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}

/* Scroll Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

.site-title {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--color-primary-dark);
}

.site-nav {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
}

.btn, .btn-primary {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s;
  border: none;
  cursor: pointer;
}

.btn:hover, .btn-primary:hover {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
}

.btn-secondary {
  background-color: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}
.btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* Mobile Nav (hidden on desktop) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-primary-dark);
}

/* Hero Section (Image with right-aligned quote) */
.hero {
  position: relative;
  width: 100%;
  height: 95vh;
  min-height: 700px;
  background-size: cover;
  background-position: center 50%;
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-xl);
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: clamp(30px, 5vw, 60px); /* Flatter, softer curve */
  fill: var(--color-bg);
  transform: rotate(180deg);
  z-index: 5;
  pointer-events: none;
}

.hero-container {
  display: flex;
  justify-content: flex-end; /* Align box to the right */
  width: 100%;
}

.hero-quote-box {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: var(--spacing-lg) 0;
  max-width: 700px;
  text-align: right; /* Text aligned to the right */
  box-shadow: none;
  position: relative;
  z-index: 10; /* Ensure button stays above wave */
}

.hero-quote {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 var(--spacing-md) 0;
  color: #ffffff;
  text-shadow: 0 4px 15px rgba(0,0,0,0.5), 0 2px 5px rgba(0,0,0,0.3); /* Strong shadow for readability */
}

.hero-author {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--spacing-lg);
  font-family: var(--font-sans);
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-quote-box .btn-primary {
  background-color: var(--color-white);
  color: var(--color-text);
  font-size: 1.125rem;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  display: inline-block;
}

.hero-quote-box .btn-primary:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Generic Section */
.section {
  padding: var(--spacing-xl) 0;
}

.section-bg-alt {
  background-color: var(--color-bg-alt);
}

/* Services / Di cosa mi occupo grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.service-card {
  background: var(--color-white);
  padding: var(--spacing-md);
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
  border: 1px solid var(--color-border);
  transition: transform 0.2s;
}
.service-card:hover {
  transform: translateY(-5px);
}
.service-card h3 {
  margin-top: 0;
}

/* Internal Page Layout */
.page-header {
  padding: var(--spacing-lg) 0 var(--spacing-md);
  text-align: center;
}

.page-content {
  padding-bottom: var(--spacing-xl);
}

/* Breadcrumbs */
.breadcrumbs {
  margin-bottom: var(--spacing-md);
  font-size: 0.9rem;
  color: var(--color-text-light);
}
.breadcrumbs a {
  color: var(--color-text-light);
  text-decoration: none;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}
.breadcrumbs span {
  margin: 0 0.5rem;
}

/* Footer */
.site-footer {
  background-color: var(--color-primary-dark);
  color: var(--color-bg);
  padding: var(--spacing-lg) 0 var(--spacing-md);
  font-size: 0.95rem;
}

.site-footer h3 {
  color: var(--color-white);
}

.site-footer a {
  color: var(--color-bg);
}
.site-footer a:hover {
  color: var(--color-accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--spacing-sm);
  font-size: 0.85rem;
}

/* Utilities */
.text-center { text-align: center; }
.mb-2 { margin-bottom: var(--spacing-md); }

/* Responsive */
@media (max-width: 768px) {
  .site-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--color-bg);
    padding: var(--spacing-md);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  }
  .site-nav.is-open {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .hero {
    min-height: 80vh;
    padding: var(--spacing-lg) 0;
    align-items: flex-end; /* Push text to bottom on mobile */
  }
  .hero-container {
    justify-content: center; /* Center horizontally on mobile */
  }
  .hero-quote-box {
    text-align: center;
    padding: var(--spacing-md);
  }
  .hero-quote {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  :root {
    --spacing-xl: 4rem;
    --spacing-lg: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ------------------------------------------------------------------
   Stili che nel sito di Antigravity erano scritti dentro index.php
   ------------------------------------------------------------------ */
.subtitle { font-family: var(--font-accent); font-size: 2rem; color: var(--color-primary); margin-top: 0; }
.mb-xl { margin-bottom: var(--spacing-lg); }
.section-first { padding-top: 5rem; }
.about-grid { display: flex; gap: 4rem; align-items: center; margin-bottom: 4rem; }
.about-grid .image-box { flex: 0.75; }
.about-grid .text-box { flex: 1; }
.portrait { border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.vision-title { font-size: 1.8rem; margin-bottom: 1rem; }
.vision-text { font-size: 1.125rem; font-style: italic; color: var(--color-text-light); }
.vision-text p:last-child { margin-bottom: 0; }
.percorso-head { margin-top: 6rem; }
.paper { background: white; padding: 3rem; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); margin-bottom: 6rem; }
.servizi-band { background-color: var(--color-bg-alt); padding: 5rem 0; }
.services-slider-wrapper { position: relative; max-width: 1100px; margin: 0 auto; padding: 0 3rem; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: none; font-size: 3rem; color: var(--color-primary-dark); cursor: pointer; z-index: 10; line-height: 1; }
.prev-btn { left: 0; }
.next-btn { right: 0; }
.services-slider-wrapper .services-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 2rem; padding-bottom: 2rem; scrollbar-width: none; -ms-overflow-style: none; margin-top: 0; }
.services-slider-wrapper .services-grid::-webkit-scrollbar { display: none; }
.services-slider-wrapper .service-card { flex: 0 0 calc(33.333% - 1.33rem); min-width: 280px; scroll-snap-align: start; background: white; padding: 2rem; border-radius: 12px; text-align: center; display: flex; flex-direction: column; }
.service-card img { border-radius: 8px; margin-bottom: 1.5rem; height: 200px; width: 100%; object-fit: cover; }
.service-card h3 a { color: inherit; text-decoration: none; }
.service-card h3 a:hover { color: var(--color-primary); }
.service-card .card-text { flex: 1; }
.card-more { font-size: 1rem; margin-top: 1rem; }
.contatti-band { background-color: var(--color-bg); padding: 5rem 0; }
.contatti-text { margin: 2rem 0; font-size: 1.1rem; }
.contatti-buttons { display: flex; gap: 2rem; justify-content: center; margin-top: 3rem; flex-wrap: wrap; }
.contatti-buttons a { font-size: 1.2rem; padding: 1rem 2rem; }
.contatti-buttons .btn-secondary { border-width: 2px; }
.contatti-more { margin-top: 2.5rem; font-size: 1rem; }

/* Titolo principale della pagina (H1) sopra la citazione, nello stile dell'autore */
.hero-kicker { font-family: var(--font-sans); font-size: 1rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,0.92); text-shadow: 0 2px 10px rgba(0,0,0,0.5); margin: 0 0 var(--spacing-md); line-height: 1.5; }
.hero-quote { border: 0; padding: 0; }
.hero-quote p { margin: 0; }
.hero-quote-box .btn { font-size: 1.125rem; padding: 0.9rem 2rem; }

/* Immagine della copertina come <img> (più veloce e leggibile da Google), stesso aspetto dello sfondo */
.hero { overflow: hidden; background-color: #1f3550; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 50%; z-index: 0; }
.hero-container { position: relative; z-index: 6; }

/* Menu: link attivo e accessibilità */
.site-nav a[aria-current="page"] { color: var(--color-accent); }
.menu-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--color-primary-dark); color: #fff; padding: .6em 1em; z-index: 200; }
.skip-link:focus { left: 1rem; }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.site-title:hover { color: var(--color-primary-dark); }

/* Animazioni: il testo resta visibile anche se JavaScript non parte */
html:not(.js) .fade-in-up { opacity: 1; transform: none; }

/* ------------------------------------------------------------------
   Pagine interne (stessa grafica della home)
   ------------------------------------------------------------------ */
.page-hero { padding: 8.5rem 0 3rem; text-align: center; background: var(--color-bg); }
.page-hero h1 { margin-bottom: .3rem; }
.page-hero .subtitle { margin-bottom: 0; }
.breadcrumbs { font-size: .9rem; color: var(--color-text-light); margin-bottom: 1.5rem; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.breadcrumbs li + li::before { content: "›"; margin: 0 .5rem; }
.breadcrumbs a { color: var(--color-text-light); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.page-section { padding: 0 0 4rem; }
.page-section.alt { background: var(--color-bg-alt); padding: 4.5rem 0; }
.page-section .paper { margin-bottom: 0; }
.page-section h2 { margin-top: 2rem; }
.page-section .paper > h2:first-child, .page-section .text-container > h2:first-child { margin-top: 0; }
.split { display: flex; gap: 3.5rem; align-items: center; }
.split > .split-media { flex: 0.8; }
.split > .split-text { flex: 1; }
.split-media img { border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); width: 100%; }
.split-reverse { flex-direction: row-reverse; }
.paper ul, .text-container ul { padding-left: 1.2rem; }
.paper li, .text-container li { margin-bottom: .4rem; }
blockquote { margin: 1.5rem 0; padding: .2rem 0 .2rem 1.3rem; border-left: 3px solid var(--color-accent); font-style: italic; color: var(--color-text-light); }
.big-quote { font-size: 1.2rem; }
.big-quote footer { font-style: normal; font-weight: 600; color: var(--color-primary-dark); margin-top: .8rem; letter-spacing: 2px; text-transform: uppercase; font-size: .95rem; }

.curiosita { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem; }
.curiosita-item { background: white; border-radius: 12px; padding: 2rem; text-align: center; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.curiosita-item img { width: 64px; height: auto; margin: 0 auto 1rem; }
.curiosita-item p { font-size: 1rem; }

.post-list { display: grid; gap: 2rem; }
.post-card { background: white; border-radius: 12px; padding: 2rem 2.5rem; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.post-card h2 { margin-top: 0; font-size: 1.75rem; }
.post-card h2 a { text-decoration: none; }
.post-card .btn { margin-top: .5rem; }
.article-meta { text-align: center; color: var(--color-text-light); font-size: 1rem; margin-top: .5rem; }
.read-also { list-style: none; padding: 0 !important; }
.read-also li { padding: 1rem 0; border-bottom: 1px solid var(--color-border); }

.book { display: flex; gap: 3rem; align-items: center; background: white; border-radius: 12px; padding: 2rem; box-shadow: 0 4px 20px rgba(0,0,0,0.05); margin-bottom: 2.5rem; }
.book:nth-child(even) { flex-direction: row-reverse; }
.book-img { flex: 0 0 38%; }
.book-img img { border-radius: 8px; width: 100%; }
.book-text { flex: 1; }
.book-text h2 { margin-top: 0; font-size: 1.8rem; }
.book-author { display: block; font-family: var(--font-accent); font-size: 1.6rem; color: var(--color-primary); margin-top: .2rem; }

.contact-list { list-style: none; padding: 0 !important; margin: 1.5rem 0 0; }
.contact-list li { margin-bottom: 1.2rem; }
.contact-list strong { display: block; color: var(--color-primary-dark); }
.map { position: relative; min-height: 380px; border-radius: 12px; overflow: hidden; background: var(--color-bg-alt); box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1.5rem; }
.map-placeholder .pin { font-size: 2.5rem; line-height: 1; margin-bottom: .6rem; }
.map-note { font-size: .8rem; color: var(--color-text-light); max-width: 320px; margin-top: 1rem; }

.cta-band { background: var(--color-bg-alt); padding: 4.5rem 0; }

/* Piè di pagina: indirizzo e link alle pagine */
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .6rem; }
.site-footer address { font-style: normal; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.4rem; margin: 0 0 .8rem; padding: 0; list-style: none; }

/* ------------------------------------------------------------------
   Telefono
   ------------------------------------------------------------------ */
@media (max-width: 768px) {
  .site-nav { top: 100%; }
  .site-nav a { padding: .5rem 0; }
  .about-grid, .split, .split-reverse, .book, .book:nth-child(even) { flex-direction: column; gap: 2rem; }
  .about-grid .image-box, .split > .split-media { width: 100%; max-width: 420px; }
  .paper { padding: 1.8rem 1.4rem; }
  .curiosita { grid-template-columns: 1fr; }
  .services-slider-wrapper { padding: 0 1rem; }
  .slider-btn { display: none !important; }
  .services-slider-wrapper .service-card { flex-basis: 85%; min-width: 0; }
  .page-hero { padding-top: 7rem; }
  .percorso-head { margin-top: 4rem; }
  .contatti-buttons { gap: 1rem; }
  .contatti-buttons a { width: 100%; text-align: center; font-size: 1.05rem; }
  .hero-kicker { font-size: .85rem; letter-spacing: 2px; }
}

.hero-quote { font-style: normal; }
.footer-title { font-family: var(--font-serif); font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: 500; line-height: 1.2; color: var(--color-white); margin: 0 0 1rem; }
.page-section.spaced { padding-top: 4.5rem; }
.contatti-buttons.left { justify-content: flex-start; margin-top: 1.5rem; }
.contatti-buttons.left a { font-size: 1.05rem; padding: .8rem 1.5rem; }
address { font-style: normal; }
.policy-links { font-size: 1.15rem; margin-top: 1.5rem; }
.related { margin-top: 3rem; }
.more-link { margin-top: 3rem; }

/* "Di cosa mi occupo": quattro riquadri 2x2 */
.aree-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; max-width: 1000px; }
.area-card { background: white; padding: 2.2rem 2rem; border-radius: 12px; display: flex; flex-direction: column; box-shadow: 0 4px 20px rgba(0,0,0,0.04); text-align: left; }
.area-card h3 { text-align: center; margin-bottom: 1.2rem; }
.area-card h3 a { color: inherit; text-decoration: none; }
.area-card h3 a:hover { color: var(--color-primary); }
.area-card img { border-radius: 8px; margin-bottom: 1.5rem; height: 200px; width: 100%; object-fit: cover; }
.area-card .card-text { flex: 1; font-size: 1.02rem; }
.area-card ul { padding-left: 1.1rem; margin: 0 0 1rem; }
.area-card li { margin-bottom: .5rem; }
.area-card .card-more { text-align: center; margin: 1rem 0 0; }
.area-card .card-more .btn { font-size: 1rem; padding: .6rem 1.4rem; }
[id] { scroll-margin-top: 100px; }
@media (max-width: 768px) {
  .aree-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .area-card { padding: 1.8rem 1.4rem; }
}

/* Instagram nel menu */
.nav-instagram { display: inline-flex; align-items: center; gap: .4rem; }
.nav-instagram span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.nav-instagram svg { display: block; }
.btn-instagram { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; }

/* Pulsante WhatsApp fisso in basso a sinistra (come su psicologipadova.it) */
.whatsapp-float { position: fixed; left: 20px; bottom: 20px; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(0,0,0,0.2); z-index: 1000; text-decoration: none; transition: transform .3s ease, box-shadow .3s ease; }
.whatsapp-float:hover, .whatsapp-float:focus-visible { transform: scale(1.1); box-shadow: 0 6px 20px rgba(0,0,0,0.3); color: #fff; }

@media (max-width: 768px) {
  .nav-instagram span { position: static; width: auto; height: auto; clip: auto; }
  .whatsapp-float { left: 16px; bottom: 16px; width: 54px; height: 54px; }
}

/* Contatti: le due sedi con mappa */
.sedi { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: 560px; margin: 2rem auto 0; }
.sedi-2 { grid-template-columns: repeat(2, 1fr); max-width: 1100px; }
.sede { font-style: normal; background: white; border-radius: 12px; padding: 2rem; box-shadow: 0 4px 20px rgba(0,0,0,0.05); display: flex; flex-direction: column; }
.sede h3 { margin-bottom: .6rem; }
.sede h3 a { color: inherit; text-decoration: none; }
.sede h3 a:hover { color: var(--color-primary); }
.sede-address { margin-bottom: 1.2rem; }
.sede .map { min-height: 300px; margin-top: auto; box-shadow: none; }
.page-contatti .map-note { margin: 1.5rem auto 0; }
@media (max-width: 768px) {
  .sedi-2 { grid-template-columns: 1fr; }
  .sede { padding: 1.5rem; }
}

/* Home: "Il mio approccio" al posto di "La psicologia per me" e "Il mio percorso" */
.approccio-head { margin-top: 1rem; }

/* Riquadri "Di cosa mi occupo" interamente cliccabili */
.area-card { text-align: center; position: relative; transition: transform .25s ease, box-shadow .25s ease; }
.area-card .card-text { font-size: 1.05rem; }
.area-card .card-text p:last-child { margin-bottom: 0; }
.area-card.is-link { cursor: pointer; }
.area-card.is-link .area-link::after { content: ""; position: absolute; inset: 0; border-radius: 12px; }
.area-card.is-link:hover, .area-card.is-link:focus-within { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(77, 16, 49, 0.12); }
.area-card.is-link:hover h3, .area-card.is-link:focus-within h3 { color: var(--color-primary); }
.area-card.is-link .area-link:focus-visible { outline: none; }
.area-card.is-link:focus-within { outline: 2px solid var(--color-primary); outline-offset: 3px; }
.area-card .card-text a { position: relative; z-index: 1; }
.area-card h3::after { content: " →"; opacity: 0; transition: opacity .25s; }
.area-card.is-link:hover h3::after, .area-card.is-link:focus-within h3::after { opacity: 1; }
