/*!
 * Studio Legale Iorio - Main CSS
 * Vanilla CSS, no dependencies.
 * @package StudioLegaleIorio
 * @version 1.0.0
 */

/* ==========================================================================
   1. VARIABILI
   ========================================================================== */
:root {
  --si-navy: #0d3c61;
  --si-navy-dark: #0a2463;
  --si-navy-light: #f0f7ff;
  --si-gold: #c9a86a;
  --si-gold-subtle: #d4b77a;
  --si-gold-hover: #e8d3a5;
  --si-gold-light: #fff8e6;
  --si-text: #0a2463;
  --si-text-light: #666666;
  --si-bg: #ffffff;
  --si-bg-alt: #f8f9fa;
  --si-border: #eaeaea;
  --si-success: #28a745;
  --si-danger: #dc3545;
  --si-active: #d62020;

  --si-font-body: Garamond, Georgia, 'Times New Roman', serif;
  --si-font-headings: Georgia, 'Times New Roman', serif;
  --si-font-system: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;

  --si-radius: 8px;
  --si-radius-lg: 12px;
  --si-radius-xl: 15px;
  --si-shadow: 0 10px 30px rgba(0,0,0,0.08);
  --si-shadow-hover: 0 15px 40px rgba(0,0,0,0.12);
  --si-shadow-gold: 0 8px 24px rgba(201,168,106,0.35);
  --si-transition: all 0.3s ease;
  --si-header-height: 140px;
}

/* ==========================================================================
   2. RESET / BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
body {
  margin: 0;
  font-family: var(--si-font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--si-text);
  background: var(--si-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--si-navy); text-decoration: none; transition: var(--si-transition); }
a:hover { color: var(--si-gold); }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--si-font-headings);
  color: var(--si-navy);
  line-height: 1.3;
  margin: 0 0 1rem;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 3vw + 1rem, 2.75rem); }
h2 { font-size: clamp(1.75rem, 2vw + 1rem, 2.25rem); }
h3 { font-size: clamp(1.25rem, 1.5vw + 0.75rem, 1.75rem); }
p { margin: 0 0 1.2rem; }

/* ==========================================================================
   3. UTILITY
   ========================================================================== */
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute !important; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
  background: #fff; clip: auto !important; clip-path: none;
  display: block; height: auto; width: auto; left: 5px; top: 5px;
  line-height: normal; padding: 15px 23px 14px;
  text-decoration: none; z-index: 100000;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999999;
  padding: 12px 20px;
  background: var(--si-navy);
  color: #fff;
  font-weight: 600;
  border-radius: 0 0 var(--si-radius) 0;
}
.skip-link:focus { left: 0; color: #fff; }

.ps-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   4. BOTTONI
   ========================================================================== */
.ps-btn,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--si-font-system);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  border-radius: var(--si-radius);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: var(--si-transition);
}
.ps-btn-primary,
.wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background: var(--si-gold);
  color: var(--si-navy);
  box-shadow: var(--si-shadow-gold);
}
.ps-btn-primary:hover,
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
  background: var(--si-gold-hover);
  color: var(--si-navy);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(201,168,106,0.5);
}
.ps-btn-secondary,
.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  color: #fff;
  border-color: var(--si-gold);
}
.ps-btn-secondary:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: rgba(201,168,106,0.15);
  color: #fff;
  transform: translateY(-2px);
}

/* ==========================================================================
   5. HEADER
   ========================================================================== */
.ps-site-header {
  position: relative;
  z-index: 100;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  width: 100%;
}

/* --- TOP BAR --- */
.ps-topbar {
  background: var(--si-navy);
  color: #fff;
  padding: 10px 20px;
  font-family: var(--si-font-system);
  font-size: 0.85rem;
}
.ps-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}
.ps-topbar-contacts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.ps-topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-weight: 400;
}
.ps-topbar-item a { color: #fff; }
.ps-topbar-item a:hover { color: var(--si-gold); }
.ps-topbar-item svg { flex-shrink: 0; opacity: 0.85; }
.ps-topbar-address { color: rgba(255,255,255,0.9); }

.ps-topbar-social {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ps-topbar-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 5px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  transition: var(--si-transition);
}
.ps-topbar-social a:hover {
  background: var(--si-gold);
  color: var(--si-navy);
  transform: translateY(-2px);
}

/* --- MAIN BAR --- */
.ps-mainbar {
  background: #fff;
  padding: 15px 20px;
}
.ps-mainbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.ps-site-logo img { max-height: 70px; width: auto; }
.ps-site-logo a { display: block; }

/* --- NAVIGAZIONE DESKTOP --- */
.ps-main-nav {
  display: flex;
  align-items: center;
  font-family: var(--si-font-system);
}
.ps-main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ps-main-nav li { margin: 0; }
.ps-main-nav li a {
  display: inline-block;
  padding: 10px 12px;
  color: var(--si-navy);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.4;
  border-bottom: 2px solid transparent;
  transition: var(--si-transition);
}
.ps-main-nav li a:hover {
  color: var(--si-gold);
  border-bottom-color: var(--si-gold);
}
.ps-main-nav li.current-menu-item a,
.ps-main-nav li.current-menu-ancestor a {
  color: var(--si-active);
  border-bottom-color: var(--si-active);
}

/* Sottomenu */
.ps-main-nav .wp-block-navigation-submenu__toggle { display: none; }
.ps-main-nav .wp-block-navigation__submenu-container {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-radius: var(--si-radius);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--si-transition);
  z-index: 200;
}
.ps-main-nav li:hover .wp-block-navigation__submenu-container {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.ps-main-nav .wp-block-navigation__submenu-container a {
  display: block;
  padding: 10px 20px;
  border-bottom: none;
  white-space: nowrap;
}
.ps-main-nav .wp-block-navigation__submenu-container a:hover {
  background: var(--si-navy-light);
  color: var(--si-navy);
}

/* --- HAMBURGER MOBILE --- */
.ps-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 2px solid var(--si-navy);
  border-radius: var(--si-radius);
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: var(--si-transition);
}
.ps-menu-toggle:hover { background: var(--si-navy-light); }
.ps-menu-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--si-navy);
  transition: var(--si-transition);
}
.ps-menu-toggle[aria-expanded="true"] .ps-menu-toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.ps-menu-toggle[aria-expanded="true"] .ps-menu-toggle-bar:nth-child(2) {
  opacity: 0;
}
.ps-menu-toggle[aria-expanded="true"] .ps-menu-toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================================================
   6. MOBILE MENU (slide-in)
   ========================================================================== */
@media (max-width: 1024px) {
  .ps-menu-toggle { display: flex; }

  .ps-main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 360px;
    max-width: 90vw;
    height: 100vh;
    background: #fff;
    box-shadow: 2px 0 20px rgba(0,0,0,0.15);
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.79, 0.14, 0.15, 0.86);
    overflow-y: auto;
    padding: 70px 0 20px;
    z-index: 999998;
    display: block;
  }
  .ps-main-nav.is-open { transform: translateX(0); }

  .ps-main-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .ps-main-nav li a {
    display: block;
    padding: 15px 25px;
    border-bottom: 1px solid var(--si-border);
    border-left: 3px solid transparent;
  }
  .ps-main-nav li a:hover,
  .ps-main-nav li.current-menu-item a {
    border-bottom-color: var(--si-border);
    border-left-color: var(--si-gold);
    background: var(--si-bg-alt);
  }

  /* Sottomenu mobile: accordion */
  .ps-main-nav .wp-block-navigation__submenu-container {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .ps-main-nav li.is-open .wp-block-navigation__submenu-container {
    max-height: 500px;
  }
  .ps-main-nav .wp-block-navigation__submenu-container a {
    padding-left: 45px;
    font-size: 0.95rem;
  }

  /* Overlay */
  body.ps-menu-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999997;
    animation: si-fadeIn 0.3s ease;
  }
  body.ps-menu-open { overflow: hidden; }
}
/* ==========================================================================
   7. FOOTER
   ========================================================================== */
.ps-site-footer {
  background: var(--si-navy);
  color: #fff;
  font-family: var(--si-font-system);
  padding: 60px 0 40px;
  margin-top: 80px;
  width: 100%;
}

.ps-footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.ps-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin: 0;
}

.ps-footer-col {
  display: flex;
  flex-direction: column;
}

/* Intestazione colonna */
.ps-footer-col-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--si-gold);
}
.ps-footer-col-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(201,168,106,0.1);
  border-radius: var(--si-radius);
  color: var(--si-gold);
  flex-shrink: 0;
}
.ps-footer-col-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.ps-footer-col-header h4 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

/* Lista info */
.ps-footer-info-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ps-footer-info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  border-left: 3px solid var(--si-gold);
  transition: var(--si-transition);
}
.ps-footer-info-item:hover {
  background: rgba(255,255,255,0.08);
  transform: translateX(5px);
}
.ps-footer-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  font-size: 1.1rem;
  line-height: 1;
  margin-top: 2px;
}
.ps-footer-info-item > div { flex: 1; min-width: 0; }
.ps-footer-info-item strong {
  display: block;
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 5px;
  font-weight: 600;
  line-height: 1.3;
}
.ps-footer-info-item p {
  margin: 0;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  line-height: 1.4;
}
.ps-footer-info-item p + p { margin-top: 3px; }

/* Testo oro tenue (dal footer reale) */
.ps-footer-gold {
  color: var(--si-gold-subtle) !important;
  font-weight: 500 !important;
  transition: color 0.3s ease;
}
.ps-footer-info-item:hover .ps-footer-gold {
  color: var(--si-gold-hover) !important;
}

/* Link footer */
.ps-footer-phone,
.ps-footer-email {
  color: var(--si-gold-subtle) !important;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-block;
  padding: 2px 0;
  transition: var(--si-transition);
}
.ps-footer-email { word-break: break-all; }
.ps-footer-phone:hover,
.ps-footer-email:hover {
  color: var(--si-gold-hover) !important;
  text-decoration: underline;
  transform: translateY(-1px);
}

.ps-footer-deontologico-link {
  display: inline-block;
  background: rgba(212,183,122,0.1);
  color: var(--si-gold-subtle) !important;
  padding: 6px 12px;
  border-radius: 5px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(212,183,122,0.3);
  transition: var(--si-transition);
  margin-top: 4px;
}
.ps-footer-deontologico-link:hover {
  background: rgba(212,183,122,0.15);
  color: var(--si-gold-hover) !important;
  border-color: var(--si-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212,183,122,0.15);
}

/* Legal notice */
.ps-footer-legal-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 15px;
  transition: var(--si-transition);
}
.ps-footer-legal-notice:last-child { margin-bottom: 0; }
.ps-footer-legal-notice:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.1);
}
.ps-footer-legal-icon {
  flex-shrink: 0;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--si-gold);
}
.ps-footer-legal-notice h5 {
  color: #fff;
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}
.ps-footer-legal-notice p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ==========================================================================
   8. STICKY CTA MOBILE
   ========================================================================== */
.ps-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999996;
  display: none;
  background: #fff;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  padding: 10px;
  gap: 10px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.ps-sticky-cta.ps-sticky-cta-visible {
  transform: translateY(0);
}
.ps-sticky-cta a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  font-family: var(--si-font-system);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--si-radius);
  text-decoration: none;
  transition: var(--si-transition);
}
.ps-sticky-primary {
  background: var(--si-gold);
  color: var(--si-navy);
}
.ps-sticky-primary:hover {
  background: var(--si-gold-hover);
  color: var(--si-navy);
}
.ps-sticky-secondary {
  background: var(--si-navy);
  color: #fff;
}
.ps-sticky-secondary:hover {
  background: var(--si-navy-dark);
  color: #fff;
}

@media (max-width: 1024px) {
  .ps-sticky-cta { display: flex; }
  body { padding-bottom: 80px; }
}

/* ==========================================================================
   9. SCROLL REVEAL (animazioni)
   ========================================================================== */
.ps-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.ps-service-card,
.ps-problem-card,
.ps-howto-step,
.ps-why-item,
.ps-method-card,
.ps-partner-card,
.ps-value-card,
.ps-stat-card,
.ps-audience-card,
.ps-country-card,
.ps-testimonial-card,
.ps-pricing-card,
.spec-card,
.caso-card,
.eat-item,
.ps-hero,
.ps-cta-section,
.ps-faq-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

/* Fallback: se JS disabilitato, mostra tutto */
.no-js .ps-service-card,
.no-js .ps-problem-card,
.no-js .ps-howto-step,
.no-js .ps-why-item,
.no-js .ps-hero,
.no-js .ps-cta-section,
.no-js .ps-faq-item {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   10. HOVER ANIMATIONS
   ========================================================================== */

/* Card lift generico */
.ps-service-card,
.ps-why-item,
.ps-howto-step,
.ps-problem-card {
  transition: var(--si-transition);
}
.ps-service-card:hover,
.ps-why-item:hover,
.ps-howto-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--si-shadow-hover);
}

/* Badge generico */
.ps-badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--si-navy-light);
  color: var(--si-navy);
  font-family: var(--si-font-system);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero badge (dal sito) */
.ps-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 30px;
  background: rgba(201,168,106,0.15);
  color: var(--si-gold);
  font-family: var(--si-font-system);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(201,168,106,0.3);
  margin-bottom: 20px;
}
.ps-hero-badge strong { color: #fff; }
.ps-hero-highlight { color: var(--si-gold); display: block; margin-top: 8px; }

/* Sticky header shrink (opzionale, su scroll) */
.ps-site-header.is-sticky {
  position: sticky;
  top: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  animation: si-slideDown 0.3s ease;
}

/* Link active nav */
.ps-nav-active {
  color: var(--si-active) !important;
  font-weight: 600 !important;
}

/* ==========================================================================
   11. ANIMAZIONI KEYFRAMES
   ========================================================================== */
@keyframes si-fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes si-fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes si-slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

@keyframes si-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

/* Pulse sul bottone CTA principale (delicato) */
.ps-btn-primary,
.wp-block-button:not(.is-style-outline) .wp-block-button__link {
  animation: si-pulse 3s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .ps-btn-primary,
  .wp-block-button:not(.is-style-outline) .wp-block-button__link {
    animation: none;
  }
}

/* ==========================================================================
   12. FAQ ACCORDION
   ========================================================================== */
.ps-faq-item,
.wp-block-details.ps-faq-item {
  border: 1px solid var(--si-border);
  border-radius: var(--si-radius-lg);
  margin-bottom: 15px;
  overflow: hidden;
  background: #fff;
  transition: var(--si-transition);
}
.ps-faq-item[open] {
  box-shadow: var(--si-shadow);
  border-color: var(--si-gold);
}
.ps-faq-item summary,
.wp-block-details.ps-faq-item > summary {
  padding: 20px 25px;
  cursor: pointer;
  font-family: var(--si-font-system);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--si-navy);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  transition: var(--si-transition);
}
.ps-faq-item summary::-webkit-details-marker { display: none; }
.ps-faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--si-gold);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  line-height: 1;
}
.ps-faq-item[open] summary::after {
  transform: rotate(45deg);
}
.ps-faq-item summary:hover { background: var(--si-bg-alt); }
.ps-faq-item > *:not(summary) {
  padding: 0 25px 20px;
  color: var(--si-text-light);
  line-height: 1.7;
}

/* ==========================================================================
   13. SMOOTH SCROLL OFFSET (per anchor con header sticky)
   ========================================================================== */
[id] {
  scroll-margin-top: calc(var(--si-header-height, 140px) + 20px);
}
/* ==========================================================================
   14. RESPONSIVE — TABLET (max 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  :root { --si-header-height: 100px; }

  .ps-container { padding: 0 18px; }
  .ps-topbar { padding: 8px 18px; font-size: 0.8rem; }
  .ps-topbar-contacts { gap: 14px; }
  .ps-topbar-address { display: none; }

  .ps-mainbar { padding: 12px 18px; }
  .ps-site-logo img { max-height: 55px; }

  .ps-footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .ps-footer-col:last-child {
    grid-column: 1 / -1;
  }
  .ps-site-footer { padding: 50px 0 30px; margin-top: 60px; }
}

/* ==========================================================================
   15. RESPONSIVE — MOBILE (max 768px)
   ========================================================================== */
@media (max-width: 768px) {
  body { font-size: 15px; }

  h1 { font-size: clamp(1.6rem, 6vw + 0.5rem, 2rem); }
  h2 { font-size: clamp(1.4rem, 5vw + 0.5rem, 1.75rem); }
  h3 { font-size: clamp(1.15rem, 4vw + 0.5rem, 1.4rem); }

  .ps-container { padding: 0 15px; }

  /* Topbar mobile */
  .ps-topbar {
    padding: 8px 15px;
    font-size: 0.75rem;
  }
  .ps-topbar-contacts {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
  }
  .ps-topbar-social {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
  }
  .ps-topbar-social a { width: 30px; height: 30px; }

  /* Mainbar mobile */
  .ps-mainbar { padding: 10px 15px; }
  .ps-site-logo img { max-height: 45px; }

  /* Footer mobile */
  .ps-footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .ps-footer-col:last-child { grid-column: auto; }
  .ps-site-footer { padding: 40px 0 25px; margin-top: 40px; }

  .ps-footer-info-item {
    padding: 12px;
  }
  .ps-footer-legal-notice {
    padding: 15px;
  }
  .ps-footer-col-header {
    margin-bottom: 20px;
  }

  /* Bottoni full-width su mobile */
  .ps-btn,
  .wp-block-button__link {
    width: 100%;
    padding: 14px 20px;
  }
  .wp-block-buttons { width: 100%; }
  .wp-block-button { width: 100%; }

  /* Sticky CTA mobile: padding extra per non coprire contenuto */
  body { padding-bottom: 90px; }
}

/* ==========================================================================
   16. RESPONSIVE — SMALL MOBILE (max 480px)
   ========================================================================== */
@media (max-width: 480px) {
  .ps-container { padding: 0 12px; }

  .ps-footer-col-header {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .ps-footer-col-icon { margin: 0 auto; }

  .ps-footer-info-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .ps-footer-info-icon { margin-bottom: 6px; }

  .ps-footer-legal-notice {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .ps-footer-legal-icon { margin-bottom: 8px; }

  .ps-footer-gold,
  .ps-footer-info-item p { font-size: 0.82rem; }

  .ps-sticky-cta a {
    font-size: 0.85rem;
    padding: 12px 10px;
  }
  body { padding-bottom: 80px; }
}

/* ==========================================================================
   17. ACCESSIBILITÀ — FOCUS VISIBILE
   ========================================================================== */
:focus-visible {
  outline: 2px solid var(--si-gold);
  outline-offset: 3px;
  border-radius: 3px;
}
a:focus-visible,
button:focus-visible,
.wp-block-button__link:focus-visible {
  outline: 2px solid var(--si-navy);
  outline-offset: 3px;
}
.ps-site-header a:focus-visible,
.ps-site-footer a:focus-visible {
  outline-color: var(--si-gold);
}

/* Skip link visibile solo on focus (già definito al PEZZO 1) */
.skip-link:focus { outline: 2px solid var(--si-gold); }

/* ==========================================================================
   18. HIGH CONTRAST MODE
   ========================================================================== */
@media (prefers-contrast: more) {
  .ps-topbar-item,
  .ps-footer-info-item p,
  .ps-footer-legal-notice p {
    color: #fff;
  }
  .ps-footer-gold { color: #f0d99b !important; }
}

/* ==========================================================================
   19. PRINT STYLES
   ========================================================================== */
@media print {
  .ps-site-header,
  .ps-site-footer,
  .ps-sticky-cta,
  .ps-menu-toggle,
  .ps-topbar-social,
  .wp-block-navigation,
  .skip-link {
    display: none !important;
  }

  body {
    font-size: 11pt;
    color: #000;
    background: #fff;
    padding: 0;
  }
  h1, h2, h3, h4, h5, h6 {
    color: #000;
    page-break-after: avoid;
  }
  a {
    color: #000;
    text-decoration: underline;
  }
  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
    color: #555;
  }
  a[href^="tel"]::after,
  a[href^="mailto"]::after { content: ""; }

  img { max-width: 100% !important; page-break-inside: avoid; }

  .ps-visible,
  .ps-service-card,
  .ps-problem-card,
  .ps-howto-step,
  .ps-why-item,
  .ps-hero,
  .ps-cta-section,
  .ps-faq-item {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   20. FIX WORDPRESS / BLOCK EDITOR
   ========================================================================== */

/* Assicura che il main non collassi */
main.ps-main { min-height: 50vh; }

/* Rimuovi margini indesiderati dai blocchi */
.wp-block-group { margin-top: 0; margin-bottom: 0; }
.wp-block-group.has-background { padding: 0; }

/* Fix block button quando è inline */
.wp-block-button { margin: 0; }
.wp-block-buttons {
  gap: 15px;
  margin: 0;
}

/* Fix allineamenti wide/full in FSE */
.alignwide {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}
.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* Fix per figure/img nei contenuti */
.entry-content img,
main.ps-main img {
  border-radius: var(--si-radius);
}

/* Fix liste nel contenuto */
.entry-content ul,
main.ps-main ul {
  padding-left: 1.5em;
}
.entry-content ol,
main.ps-main ol {
  padding-left: 1.5em;
}

/* Fix paragrafi ereditati da temi classici */
main.ps-main p { margin: 0 0 1.2rem; }
main.ps-main p:last-child { margin-bottom: 0; }

/* ==========================================================================
   21. NIENTE ANIMAZIONI SU PREFERS-REDUCED-MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .ps-service-card,
  .ps-problem-card,
  .ps-howto-step,
  .ps-why-item,
  .ps-hero,
  .ps-cta-section,
  .ps-faq-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .ps-main-nav {
    transition: none !important;
  }
  .ps-btn-primary,
  .wp-block-button:not(.is-style-outline) .wp-block-button__link {
    animation: none !important;
  }
  .ps-site-header.is-sticky {
    animation: none !important;
  }
}

/* ==========================================================================
   23. FIX MENU FOOTER (Sostituisce il Primary)
   ========================================================================== */
.ps-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    font-family: var(--si-font-system);
}

.ps-footer-bottom-left p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

.ps-footer-bottom-left a {
    color: var(--si-gold-subtle);
    text-decoration: none;
}

.ps-footer-bottom-left a:hover {
    color: var(--si-gold-hover);
    text-decoration: underline;
}

/* MENU FOOTER - FORZATO */
.ps-footer-bottom-right {
    display: flex;
    justify-content: flex-end;
}

.ps-footer-nav {
    display: flex !important;
    flex-wrap: wrap;
    gap: 15px;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ps-footer-nav li {
    margin: 0 !important;
    padding: 0 !important;
}

.ps-footer-nav li a {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.85rem;
    font-family: var(--si-font-system);
    text-decoration: none;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    display: inline-block;
    transition: var(--si-transition);
}

.ps-footer-nav li a:hover {
    color: var(--si-gold-subtle) !important;
    text-decoration: underline;
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .ps-footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .ps-footer-bottom-left,
    .ps-footer-bottom-right {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .ps-footer-nav {
        justify-content: center;
    }
}

/* ==========================================================================
   24. DESIGN SYSTEM — STILI CONDIVISI DA TUTTE LE PAGINE
   ========================================================================== */

/* --- CONTENITORI E SEZIONI --- */
.ps-container,
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header h2 {
    color: #0d3c61;
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 800;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}
.section-header h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 3px;
    background-color: #c9a86a;
}
.section-header p {
    color: #666;
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
}

/* --- HERO (comune a Home, Collaborazioni, Contatti) --- */
.about-hero,
.collaborazioni-hero,
.contatti-hero {
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}
.about-hero {
    background: linear-gradient(135deg, rgba(13, 60, 97, 0.85), rgba(13, 60, 97, 0.92)), url('https://studiolegaleiorio.it/wp-content/uploads/2025/12/Studio-Legale-Iorio-a-Torino-specializzati-in-assistenza-legale-per-imprese-e-privati.jpg');
    background-size: cover;
    background-position: center;
}
.collaborazioni-hero {
    background: linear-gradient(135deg, rgba(13, 60, 97, 0.95), rgba(13, 60, 97, 0.98)), url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
}
.contatti-hero {
    background: linear-gradient(135deg, rgba(13, 60, 97, 0.95), rgba(13, 60, 97, 0.98)), url('https://studiolegaleiorio.it/wp-content/uploads/2025/12/avvocato-alessandro-iorio-torino-cassazionista.jpg');
    background-size: cover;
    background-position: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-badge {
    background: rgba(201, 168, 106, 0.15);
    color: #c9a86a;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 25px;
    border: 1px solid rgba(201, 168, 106, 0.3);
}

.about-hero h1,
.collaborazioni-hero h1,
.contatti-hero h1 {
    font-size: 48px;
    margin: 0 0 15px 0;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
}
.about-hero h1 span,
.collaborazioni-hero h1 span,
.contatti-hero h1 span {
    display: block;
    color: #c9a86a;
    font-size: 24px;
    font-weight: 400;
    margin-top: 10px;
    line-height: 1.4;
}

.about-hero p,
.collaborazioni-hero p,
.contatti-hero p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 800px;
    opacity: 0.95;
}

/* --- CTA HERO --- */
.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.hero-cta a {
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}
.hero-cta a:first-child {
    background: #c9a86a;
    color: #0d3c61;
    box-shadow: 0 5px 15px rgba(201, 168, 106, 0.3);
}
.hero-cta a:first-child:hover {
    background: #e8d3a5;
    transform: translateY(-3px);
}
.hero-cta a:last-child {
    background: transparent;
    color: #fff;
    border: 2px solid #c9a86a;
}
.hero-cta a:last-child:hover {
    background: rgba(201, 168, 106, 0.1);
    transform: translateY(-3px);
}

/* --- TRUST INDICATORS --- */
.trust-indicators {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1000px;
}
.trust-indicators > div {
    display: flex;
    align-items: center;
    gap: 15px;
}
.trust-icon {
    background: rgba(201, 168, 106, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #c9a86a;
}
.trust-title {
    font-weight: 700;
    font-size: 18px;
    color: #fff;
}
.trust-desc {
    font-size: 14px;
    opacity: 0.9;
    color: #fff;
}

/* --- CARD GRID GENERICHE --- */
.benefits-grid,
.types-grid,
.certifications-grid,
.specializations-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 50px;
}
.benefits-grid { grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); }
.types-grid { grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); }
.certifications-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.specializations-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* --- CARD BASE --- */
.benefit-card,
.type-card,
.cert-card,
.spec-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
    position: relative;
}
.benefit-card:hover,
.type-card:hover,
.cert-card:hover,
.spec-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.cert-card { border-top-color: #0d3c61; }
.cert-card-gold { border-top-color: #c9a86a; box-shadow: 0 15px 35px rgba(201, 168, 106, 0.12); }

/* --- CERT CARD --- */
.cert-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}
.cert-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}
.cert-icon-navy { background: #f0f7ff; color: #0d3c61; }
.cert-icon-gold { background: #fff8e6; color: #c9a86a; }
.cert-header h3 {
    color: #0d3c61;
    margin: 0 0 5px 0;
    font-size: 22px;
}
.cert-subtitle {
    color: #c9a86a;
    font-weight: 600;
    font-size: 14px;
}
.cert-data {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}
.cert-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.cert-row:last-child { margin-bottom: 0; }
.cert-row span { color: #666; font-weight: 600; }
.cert-row strong { color: #0d3c61; font-weight: 700; font-size: 16px; }
.cert-card p { color: #555; line-height: 1.6; margin-bottom: 25px; }
.cert-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 14px;
}
.cert-footer svg { color: #28a745; flex-shrink: 0; }

/* --- FOUNDER --- */
.founder-section { padding: 80px 20px; background: #f8f9fa; }
.founder-layout {
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: center;
}
.founder-photo-column { width: 100%; max-width: 800px; text-align: center; }
.founder-photo {
    width: 500px;
    height: 500px;
    margin: 0 auto 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid #c9a86a;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    position: relative;
}
.founder-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}
.founder-photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(13, 60, 97, 0.7));
    padding: 20px;
    color: #fff;
    text-align: center;
}
.founder-name { font-size: 22px; font-weight: 700; }
.founder-role { font-size: 16px; color: #c9a86a; font-weight: 600; }
.founder-credentials {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.credential-card {
    text-align: center;
    padding: 15px 25px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    min-width: 160px;
    color: #c9a86a;
}
.credential-title { font-weight: 700; color: #0d3c61; font-size: 18px; margin-top: 10px; }
.credential-desc { font-size: 13px; color: #666; }
.founder-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}
.founder-social a {
    background: #0d3c61;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: all 0.3s ease;
    text-decoration: none;
}
.founder-social a:hover { background: #c9a86a; color: #0d3c61; transform: translateY(-3px); }
.founder-text-column { width: 100%; max-width: 1000px; }
.founder-card {
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}
.founder-card h3 {
    color: #0d3c61;
    margin-bottom: 25px;
    font-size: 32px;
    text-align: center;
    font-weight: 800;
}
.founder-paragraphs { display: grid; grid-template-columns: 1fr; gap: 25px; }
.founder-paragraph { padding: 25px; border-radius: 12px; background: #f8f9fa; }
.founder-paragraph-gold { border-left: 5px solid #c9a86a; }
.founder-paragraph-navy { border-left: 5px solid #0d3c61; }
.founder-paragraph p { color: #555; line-height: 1.7; margin: 0; }
.founder-quote {
    margin-top: 35px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa, #fff8e6);
    border-radius: 12px;
    border: 2px solid rgba(201, 168, 106, 0.3);
}
.founder-quote p { color: #555; line-height: 1.7; font-style: italic; text-align: center; margin: 0; font-size: 17px; }
.founder-quote-author { text-align: center; margin-top: 15px; font-weight: 600; color: #0d3c61; }

/* --- SPECIALIZZAZIONI --- */
.spec-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px;
    border: 2px solid transparent;
}
.spec-card:hover { border-color: #c9a86a; }
.spec-icon {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #0d3c61;
}
.spec-card:nth-child(odd) .spec-icon { background: #f0f7ff; color: #0d3c61; }
.spec-card:nth-child(even) .spec-icon { background: #fff8e6; color: #c9a86a; }
.spec-card h4 { color: #0d3c61; margin-bottom: 10px; font-size: 18px; }
.spec-card p { color: #666; font-size: 14px; line-height: 1.5; margin: 0; }

/* --- TIMELINE --- */
.career-timeline-wrapper {
    background: #fff;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    margin-bottom: 50px;
}
.career-timeline-wrapper h3 { color: #0d3c61; text-align: center; margin-bottom: 40px; font-size: 28px; font-weight: 800; }
.career-timeline { position: relative; padding: 20px 0; }
.career-timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, #0d3c61, #c9a86a);
    border-radius: 3px;
    z-index: 1;
}
.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-content { flex: 1; padding: 25px; border-radius: 12px; box-shadow: 0 10px 25px rgba(13, 60, 97, 0.1); }
.timeline-content-right { text-align: right; margin-right: 60px; background: #f0f7ff; }
.timeline-content-left { text-align: left; margin-left: 60px; background: #fff8e6; }
.timeline-year { color: #0d3c61; font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.timeline-dot {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
}
.timeline-dot-navy { background: #0d3c61; color: #fff; box-shadow: 0 5px 15px rgba(13, 60, 97, 0.3); }
.timeline-dot-gold { background: #c9a86a; color: #0d3c61; box-shadow: 0 5px 15px rgba(201, 168, 106, 0.3); }
.timeline-empty { flex: 1; }
.timeline-content p { color: #555; line-height: 1.6; margin: 0; font-size: 14px; }

/* --- SUMMARY BADGES --- */
.summary-badges {
    text-align: center;
    background: linear-gradient(135deg, #0d3c61, #1a5a8d);
    color: #fff;
    border-radius: 20px;
    padding: 40px;
    margin-top: 30px;
}
.summary-badges h3 { font-size: 28px; margin-bottom: 20px; font-weight: 700; }
.summary-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; margin-top: 30px; }
.summary-item { text-align: center; min-width: 200px; }
.summary-num { font-size: 40px; font-weight: 800; color: #c9a86a; margin-bottom: 10px; }
.summary-label { font-size: 14px; opacity: 0.9; }
.summary-sub { font-size: 12px; opacity: 0.8; margin-top: 5px; }

/* --- FAQ --- */
.faq-section { padding: 80px 20px; background: #f8f9fa; }
.faq-container { max-width: 900px; margin: 0 auto; }
.faq-item {
    margin-bottom: 20px;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}
.faq-question {
    width: 100%;
    padding: 25px 30px;
    background: #fff;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: #0d3c61;
}
.faq-question:hover { background: #f8f9fa; }
.faq-answer { padding: 0 30px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer-inner { padding: 25px 0; border-top: 1px solid #eaeaea; }
.faq-answer p { color: #555; line-height: 1.6; margin: 0; }

/* --- BOOKING / CALENDARIO --- */
.booking-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #0d3c61 0%, #1a5a8d 100%);
    color: #fff;
}
.booking-section h2 { font-size: 36px; margin-bottom: 20px; font-weight: 800; color: #fff; }
.booking-section .calendar-wrapper {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.booking-section iframe { width: 100%; height: 700px; border: none; border-radius: 10px; }

/* --- FORM GENERICI (Contatti, Collaborazioni) --- */
.application-form, #contact-form {
    max-width: 800px;
    margin: 0 auto;
}
.application-form {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.application-form h3, #contact-form h3 {
    color: #0d3c61;
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
}
#contact-form input, #contact-form select, #contact-form textarea,
#candidatura-form input, #candidatura-form select, #candidatura-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s;
}
#contact-form input:focus, #contact-form select:focus, #contact-form textarea:focus {
    border-color: #c9a86a;
    outline: none;
}
#contact-form label, #candidatura-form label {
    display: block;
    color: #0d3c61;
    margin-bottom: 8px;
    font-weight: 600;
}
#contact-form button[type="submit"], #candidatura-form button[type="submit"] {
    background: #c9a86a;
    color: #0d3c61;
    padding: 18px 50px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(201, 168, 106, 0.3);
}
#contact-form button[type="submit"]:hover, #candidatura-form button[type="submit"]:hover {
    background: #e8d3a5;
    transform: translateY(-2px);
}

/* --- PROCESS STEPS (Collaborazioni) --- */
.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
}
.process-step { flex: 1; min-width: 250px; max-width: 300px; text-align: center; }
.process-step .step-num {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    box-shadow: 0 10px 20px rgba(13, 60, 97, 0.2);
}
.process-step:nth-child(1) .step-num { background: linear-gradient(135deg, #0d3c61, #1a5a8d); color: #fff; }
.process-step:nth-child(2) .step-num { background: linear-gradient(135deg, #c9a86a, #e6b957); color: #fff; }
.process-step:nth-child(3) .step-num { background: linear-gradient(135deg, #0d3c61, #2a7bb9); color: #fff; }
.process-step h3 { color: #0d3c61; margin-bottom: 15px; font-size: 20px; }
.process-step p { color: #555; line-height: 1.6; }

/* --- VALORI / METODO --- */
.values-section { padding: 80px 20px; background: #f8f9fa; }
.method-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    background: #fff;
    border-radius: 20px;
    padding: 50px;
    margin-top: 40px;
}
.method-step { text-align: center; }
.method-step .step-num {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
}
.method-step:nth-child(1) .step-num { background: linear-gradient(135deg, #0d3c61, #1a5a8d); color: #fff; }
.method-step:nth-child(2) .step-num { background: linear-gradient(135deg, #c9a86a, #e6b957); color: #0d3c61; }
.method-step:nth-child(3) .step-num { background: linear-gradient(135deg, #0d3c61, #2a7bb9); color: #fff; }
.method-step:nth-child(4) .step-num { background: linear-gradient(135deg, #c9a86a, #d4af37); color: #0d3c61; }
.method-step h4 { color: #0d3c61; margin-bottom: 10px; }
.method-step p { color: #666; font-size: 14px; line-height: 1.5; }

/* --- CTA SECTION --- */
.cta-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #0d3c61 0%, #1a5a8d 100%);
    color: #fff;
    text-align: center;
}
.cta-section h2 { font-size: 36px; margin-bottom: 20px; font-weight: 800; color: #fff; }
.cta-section p { font-size: 18px; max-width: 800px; margin: 0 auto 30px; opacity: 0.9; }

/* --- CONTATTI / CONTACT INFO --- */
.contact-info-section { padding: 80px 20px; background: #fff; }
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}
.contact-item { display: flex; align-items: flex-start; margin-bottom: 30px; }
.contact-item:last-child { margin-bottom: 0; }
.contact-item-icon {
    background: #fff8e6;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .about-hero h1, .collaborazioni-hero h1, .contatti-hero h1 { font-size: 36px; }
    .about-hero h1 span, .collaborazioni-hero h1 span, .contatti-hero h1 span { font-size: 20px; }
    .hero-cta { flex-direction: column; align-items: center; }
    .hero-cta a { width: 100%; text-align: center; justify-content: center; margin-bottom: 10px; }
    .trust-indicators { grid-template-columns: 1fr; gap: 15px; }
    .benefits-grid, .types-grid, .certifications-grid, .specializations-grid { grid-template-columns: 1fr; gap: 20px; }
    .founder-photo { width: 400px; height: 400px; }
    .timeline-item { flex-direction: column; text-align: center; }
    .timeline-content-right, .timeline-content-left { margin: 0 0 15px 0; text-align: center; }
    .timeline-empty { display: none; }
    .career-timeline::before { display: none; }
    .timeline-dot { order: -1; margin-bottom: 10px; }
}

@media (max-width: 768px) {
    .about-hero, .collaborazioni-hero, .contatti-hero { padding: 60px 20px; }
    .section-header h2 { font-size: 28px; }
    .founder-photo { width: 100%; max-width: 350px; height: 350px; }
    .founder-credentials { flex-direction: column; gap: 15px; }
    .method-steps { padding: 30px; }
    .application-form { padding: 30px 20px; }
    .contact-grid { grid-template-columns: 1fr; }
    .booking-section iframe { height: 500px; }
}

@media (max-width: 480px) {
    .about-hero h1, .collaborazioni-hero h1, .contatti-hero h1 { font-size: 28px; }
    .hero-badge { font-size: 12px; padding: 8px 16px; }
    .founder-photo { width: 280px; height: 280px; border-width: 6px; }
    .section-header h2 { font-size: 24px; }
    .booking-section iframe { height: 400px; }
}
/* ==========================================================================
   FINE FILE
   ========================================================================== */