/* ============================================================
   Soluzione Affitti — Custom CSS
   Palette: Navy #1a2744 | Gold #c9a96e | White | Anthracite
   Font: Playfair Display (headings) + Inter (body)
   ============================================================ */

:root {
  --primary-color:   #1a2744;
  --primary-dark:    #0f1a30;
  --secondary-color: #c9a96e;
  --accent-color:    #c9a96e;
  --text-dark:       #333333;
  --text-light:      #ffffff;
  --text-muted:      #6c757d;
  --bg-light:        #f8f9fa;
  --bg-dark:         #1a2744;
  --bg-anthracite:   #2c3444;
  --gold-light:      #e8d5a3;
  --border-gold:     rgba(201,169,110,0.35);
}

/* ── Base ─────────────────────────────────────────────────── */
html,
body {
  overflow-x: hidden;
  max-width: 100vw;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6,
.font-serif {
  font-family: 'Playfair Display', Georgia, serif;
}

a { color: var(--secondary-color); text-decoration: none; }
a:hover { color: var(--primary-color); }

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

/* ── Utility ──────────────────────────────────────────────── */
.text-gold   { color: var(--secondary-color) !important; }
.bg-navy     { background-color: var(--primary-color) !important; }
.bg-navy-dark{ background-color: var(--primary-dark) !important; }
.btn-gold {
  background-color: var(--secondary-color);
  border-color:     var(--secondary-color);
  color: var(--primary-dark);
  font-weight: 700;
  letter-spacing: .04em;
  transition: background .25s, border-color .25s, transform .2s;
}
.btn-gold:hover {
  background-color: var(--gold-light);
  border-color:     var(--gold-light);
  color: var(--primary-dark);
  transform: translateY(-2px);
}
.btn-outline-gold {
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  background: transparent;
  font-weight: 600;
  letter-spacing: .04em;
  transition: all .25s;
}
.btn-outline-gold:hover {
  background: var(--secondary-color);
  color: var(--primary-dark);
  transform: translateY(-2px);
}
.btn-outline-light-custom {
  border: 2px solid rgba(255,255,255,.55);
  color: #fff;
  background: transparent;
  font-weight: 600;
  transition: all .25s;
}
.btn-outline-light-custom:hover {
  background: rgba(255,255,255,.12);
  color: #fff;
}
.section-label {
  font-family: 'Inter', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--secondary-color);
  display: block;
  margin-bottom: .6rem;
}
.divider-gold {
  width: 56px;
  height: 3px;
  background: var(--secondary-color);
  border-radius: 2px;
  margin: 1rem auto 2.5rem;
}
.divider-gold.left { margin-left: 0; }

/* ── Navbar ───────────────────────────────────────────────── */
#mainNav {
  background: transparent;
  transition: background .35s, padding .35s, box-shadow .35s;
  padding: 1.2rem 0;
}
#mainNav .navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .02em;
  line-height: 1.1;
}
#mainNav .navbar-brand span { color: var(--secondary-color); }
#mainNav .navbar-brand small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: .6rem;
  font-weight: 400;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-top: 1px;
}
#mainNav .nav-link {
  color: rgba(255,255,255,.88) !important;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .45rem .9rem !important;
  transition: color .2s;
}
#mainNav .nav-link:hover,
#mainNav .nav-link.active {
  color: var(--secondary-color) !important;
}
#mainNav .nav-cta {
  background: var(--secondary-color);
  color: var(--primary-dark) !important;
  border-radius: 6px;
  padding: .45rem 1.2rem !important;
  font-weight: 700;
  margin-left: .5rem;
}
#mainNav .nav-cta:hover { background: var(--gold-light); }

#mainNav.scrolled {
  background: var(--primary-dark);
  padding: .65rem 0;
  box-shadow: 0 4px 24px rgba(0,0,0,.25);
}
#mainNav .navbar-toggler {
  border: 1px solid rgba(255,255,255,.4);
  padding: .3rem .55rem;
}
#mainNav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,.85%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── Hero ─────────────────────────────────────────────────── */
#home {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(125deg, rgba(15,26,48,0.82) 0%, rgba(36,48,87,0.78) 55%, rgba(30,48,96,0.78) 100%),
    url('../img/soluzione-affitti-hero.webp') center/cover no-repeat;
  overflow: hidden;
}
#home::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 50%, rgba(201,169,110,.08) 0%, transparent 65%),
    radial-gradient(ellipse at 20% 80%, rgba(26,39,68,.6) 0%, transparent 60%);
  pointer-events: none;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: .04;
  background-image: repeating-linear-gradient(
    45deg,
    #c9a96e 0, #c9a96e 1px,
    transparent 0, transparent 50%
  );
  background-size: 28px 28px;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; padding-top: 6.25em; }

.hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--secondary-color);
  background: rgba(201,169,110,.12);
  border: 1px solid var(--border-gold);
  display: inline-block;
  padding: .4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.6rem;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1.4rem;
}
.hero-title .highlight {
  color: var(--secondary-color);
  font-style: italic;
}
.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,.75);
  max-width: 540px;
  margin-bottom: 2.4rem;
  line-height: 1.75;
}
.hero-cta-group { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.hero-stat-bar {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.hero-stat strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 3em;
  font-weight: 700;
  color: var(--secondary-color);
  line-height: 1;
}
.hero-stat > span {
  font-size: .75rem;
  color: rgba(255,255,255,.6);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: .3rem;
  display: block;
}
.hero-visual {
  position: relative;
  z-index: 2;
}
.hero-card-float {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 1.6rem 1.8rem;
  margin-bottom: 1.2rem;
  transition: transform .3s;
}
.hero-card-float:hover { transform: translateY(-4px); }
.hero-card-float .icon-wrap {
  width: 44px; height: 44px;
  background: rgba(201,169,110,.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: .9rem;
}
.hero-card-float .icon-wrap i { color: var(--secondary-color); font-size: 1.1rem; }
.hero-card-float p { color: rgba(255,255,255,.8); font-size: .88rem; margin: 0; }
.hero-card-float strong { color: #fff; font-size: .95rem; display: block; margin-bottom: .2rem; }

/* ── Section commons ──────────────────────────────────────── */
section { padding: 100px 0; }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: .6rem;
}
.section-title.light { color: #fff; }
.section-intro {
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
}

/* ── Perché sceglierci ────────────────────────────────────── */
#perche-noi { background: var(--bg-light); }
.why-card {
  background: #fff;
  border-radius: 14px;
  padding: 2.2rem 1.8rem;
  height: 100%;
  border: 1px solid #ebebeb;
  transition: transform .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--secondary-color);
  transform: scaleX(0);
  transition: transform .35s;
  transform-origin: left;
}
.why-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(26,39,68,.1); }
.why-card:hover::before { transform: scaleX(1); }
.why-icon {
  width: 56px; height: 56px;
  background: rgba(26,39,68,.06);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.3rem;
}
.why-icon i { font-size: 1.5rem; color: var(--primary-color); }
.why-card h5 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: .65rem;
}
.why-card p { font-size: .92rem; color: var(--text-muted); margin: 0; }

/* ── Domanda Scomoda ──────────────────────────────────────── */
#domanda-scomoda {
  background: var(--primary-color);
  padding: 80px 0;
}
.provocative-box {
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
}
.provocative-box::before {
  content: '"';
  position: absolute;
  top: -30px; left: 20px;
  font-family: 'Playfair Display', serif;
  font-size: 14rem;
  color: rgba(201,169,110,.07);
  line-height: 1;
  pointer-events: none;
}
.provocative-box .question {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2.8vw, 1.9rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 1.4rem;
}
.provocative-box .question em { color: var(--secondary-color); font-style: italic; }
.provocative-box p {
  color: rgba(255,255,255,.72);
  font-size: .98rem;
  max-width: 680px;
  margin: 0 auto 2rem;
}

/* ── Numeri ───────────────────────────────────────────────── */
#numeri { background: #fff; }
.number-item { text-align: center; padding: 2rem 1rem; }
.number-item .num {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}
.number-item .num sup { font-size: 1.6rem; vertical-align: super; }
.number-item .num .suffix { font-size: 2rem; }
.number-item p {
  font-size: .84rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin: .6rem 0 0;
}
.number-divider {
  width: 1px;
  background: #ebebeb;
  align-self: stretch;
}

/* ── Servizi ──────────────────────────────────────────────── */
#servizi { background: var(--bg-light); }
.service-list-card {
  background: #fff;
  border-radius: 14px;
  padding: 2rem 1.8rem;
  border: 1px solid #ebebeb;
  height: 100%;
}
.service-list-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 1.2rem;
  padding-bottom: .8rem;
  border-bottom: 2px solid var(--secondary-color);
  display: inline-block;
}
.service-item {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  padding: .7rem 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: .91rem;
  color: var(--text-dark);
}
.service-item:last-child { border-bottom: none; }
.service-item i {
  color: var(--secondary-color);
  font-size: .85rem;
  margin-top: .22rem;
  flex-shrink: 0;
}
.commission-banner {
  background: linear-gradient(135deg, var(--primary-color) 0%, #243057 100%);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  color: #fff;
  margin-top: 2.5rem;
}
.commission-banner h4 {
  font-family: 'Playfair Display', serif;
  color: var(--secondary-color);
  font-size: 1.35rem;
  margin-bottom: .6rem;
}
.commission-banner p { color: rgba(255,255,255,.78); font-size: .93rem; margin: 0; }

/* ── Chi siamo ────────────────────────────────────────────── */
#chi-siamo { background: #fff; }
.about-text h2 { margin-bottom: .5rem; }
.about-text p { color: var(--text-muted); font-size: .97rem; margin-bottom: 1.1rem; }
.founder-card {
  background: var(--primary-color);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.founder-card::after {
  content: '';
  position: absolute;
  bottom: -40px; right: -40px;
  width: 200px; height: 200px;
  border: 40px solid rgba(201,169,110,.08);
  border-radius: 50%;
}
.founder-avatar {
  width: 80px; height: 80px;
  background: rgba(201,169,110,.18);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
  border: 2px solid var(--border-gold);
}
.founder-avatar i { font-size: 2rem; color: var(--secondary-color); }
.founder-card h4 {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: .2rem;
}
.founder-card .title { color: var(--secondary-color); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; margin-bottom: 1rem; }
.founder-card p { color: rgba(255,255,255,.75); font-size: .9rem; }
.value-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.3rem;
}
.value-icon {
  width: 42px; height: 42px;
  background: rgba(26,39,68,.06);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.value-icon i { color: var(--secondary-color); font-size: 1rem; }
.value-item h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary-color);
  margin-bottom: .2rem;
}
.value-item p { font-size: .88rem; color: var(--text-muted); margin: 0; }

/* ── Il Metodo ────────────────────────────────────────────── */
#il-metodo { background: var(--bg-light); }
.method-step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.2rem;
  align-items: flex-start;
}
.step-num {
  width: 52px; height: 52px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
}
.step-num::after {
  content: '';
  position: absolute;
  top: 52px; left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 2.2rem;
  background: var(--border-gold);
}
.method-step:last-child .step-num::after { display: none; }
.step-body h5 {
  font-family: 'Playfair Display', serif;
  font-size: 1.08rem;
  color: var(--primary-color);
  margin-bottom: .3rem;
  padding-top: .55rem;
}
.step-body p { font-size: .9rem; color: var(--text-muted); margin: 0; }
.tech-stack-card {
  background: var(--primary-color);
  border-radius: 14px;
  padding: 2rem 1.8rem;
  height: 100%;
}
.tech-stack-card h5 {
  font-family: 'Playfair Display', serif;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.tech-badge {
  display: inline-block;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.85);
  border-radius: 6px;
  padding: .35rem .85rem;
  font-size: .8rem;
  margin: .25rem;
  transition: background .2s;
}
.tech-badge:hover { background: rgba(201,169,110,.18); }

/* ── Testimonianze ────────────────────────────────────────── */
#testimonianze { background: #fff; padding: 80px 0; }
.testimonial-card {
  background: var(--bg-light);
  border-radius: 14px;
  padding: 2rem 1.8rem;
  border-left: 4px solid var(--secondary-color);
  height: 100%;
}
.testimonial-card .stars { color: var(--secondary-color); margin-bottom: .8rem; font-size: .85rem; }
.testimonial-card blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--text-dark);
  margin: 0 0 1.2rem;
  line-height: 1.65;
}
.testimonial-card cite {
  font-size: .82rem;
  font-style: normal;
  color: var(--text-muted);
  font-weight: 600;
}

/* ── Partner ──────────────────────────────────────────────── */
#partner { background: var(--bg-light); padding: 60px 0; }
.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #ebebeb;
  height: 64px;
  font-weight: 700;
  font-size: .85rem;
  color: var(--text-muted);
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: border-color .2s, color .2s;
}
.partner-logo:hover { border-color: var(--secondary-color); color: var(--primary-color); }

/* ── FAQ ──────────────────────────────────────────────────── */
#faq { background: #fff; }
#faq .accordion-button {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-color);
  background: transparent;
}
#faq .accordion-button:not(.collapsed) {
  color: var(--secondary-color);
  background: rgba(201,169,110,.05);
  box-shadow: none;
}
#faq .accordion-button::after {
  filter: none;
}
#faq .accordion-item {
  border: 1px solid #ebebeb;
  border-radius: 10px !important;
  margin-bottom: .7rem;
  overflow: hidden;
}
#faq .accordion-body { font-size: .93rem; color: var(--text-muted); }

/* ── Simulatore / CTA ─────────────────────────────────────── */
#simulatore { background: var(--primary-color); padding: 80px 0; }
.simulator-box {
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  text-align: center;
}
.simulator-box h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: #fff;
  margin-bottom: .8rem;
}
.simulator-box p { color: rgba(255,255,255,.72); max-width: 560px; margin: 0 auto 2rem; }

/* ── Contatti ─────────────────────────────────────────────── */
#contatti { background: var(--bg-light); }
.contact-form .form-control,
.contact-form .form-select {
  border: 1px solid #dde2eb;
  border-radius: 8px;
  padding: .75rem 1rem;
  font-size: .93rem;
  transition: border-color .2s, box-shadow .2s;
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 .2rem rgba(201,169,110,.18);
}
.contact-form label { font-weight: 600; font-size: .85rem; color: var(--primary-color); margin-bottom: .35rem; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-info-item .ci-icon {
  width: 44px; height: 44px;
  background: var(--primary-color);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-item .ci-icon i { color: var(--secondary-color); font-size: .95rem; }
.contact-info-item h6 { font-family: 'Playfair Display', serif; color: var(--primary-color); font-size: .95rem; margin-bottom: .15rem; }
.contact-info-item p { font-size: .88rem; color: var(--text-muted); margin: 0; }
.map-wrapper {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #ebebeb;
}

/* ── Footer ───────────────────────────────────────────────── */
footer.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.72);
  padding: 70px 0 0;
}
.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .5rem;
  display: block;
}
.footer-brand span { color: var(--secondary-color); }
footer h6 {
  color: var(--secondary-color);
  font-family: 'Inter', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
footer p, footer address { font-size: .875rem; font-style: normal; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer ul li { margin-bottom: .5rem; }
footer ul li a {
  color: rgba(255,255,255,.65);
  font-size: .875rem;
  transition: color .2s;
}
footer ul li a:hover { color: var(--secondary-color); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.4rem 0;
  margin-top: 3rem;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.45); margin: 0; }

/* ── Logo box header (navbar) ─────────────────────────────── */
.logo-box-header {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.85);
  border-radius: 12px;
  height: 60px;
  padding: 0 12px;
}
.logo-box-header img {
  height: 60px;
  width: auto;
}

/* ── Logo box footer ──────────────────────────────────────── */
.logo-box-footer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.85);
  border-radius: 12px;
  height: 160px;
  padding: 16px;
  margin-bottom: 1rem;
}

/* ── Team photo ───────────────────────────────────────────── */
.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
}

/* ── Footer contact links ─────────────────────────────────── */
footer address a,
.footer-contact-link {
  color: rgba(255,255,255,.65);
  font-size: .875rem;
  transition: color .2s;
  text-decoration: none;
}
footer address a:hover,
.footer-contact-link:hover {
  color: var(--secondary-color);
}

/* ── Animazioni ───────────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-in { opacity: 0; transition: opacity .7s ease; }
.fade-in.visible { opacity: 1; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 991px) {
  section { padding: 70px 0; }
  #home { min-height: auto; padding: 120px 0 70px; }
  .hero-visual { margin-top: 3rem; }
  .hero-stat-bar { gap: 1.8rem; }
  .number-divider { display: none; }
}
@media (max-width: 767px) {
  section { padding: 56px 0; }
  .hero-title { font-size: 2rem; }
  .hero-cta-group { flex-direction: column; }
  .hero-cta-group .btn { width: 100%; text-align: center; }
  .hero-stat-bar { flex-direction: row; gap: 1.2rem; }
  .provocative-box { padding: 2rem 1.4rem; }
  .simulator-box { padding: 2rem 1.4rem; }
  .founder-card { margin-top: 2rem; }
  .method-step { flex-direction: column; gap: .8rem; }
  .step-num::after { display: none; }
  #mainNav .navbar-collapse {
    background: var(--primary-dark);
    margin-top: .5rem;
    padding: 1rem;
    border-radius: 10px;
  }
}
@media (max-width: 480px) {
  .hero-title { font-size: 1.75rem; }
  .number-item .num { font-size: 2.4rem; }
}

/* ── Fix founder avatar per contenere la foto ─────────────── */
.founder-avatar {
  overflow: hidden;
}
.founder-avatar img.team-photo {
  width: 100%;
  height: 100%;
}

/* ── Fix logo footer img ──────────────────────────────────── */
.logo-box-footer img {
  max-height: 100%;
  width: auto;
}

/* ── Fix TopSmartbooking link colore ──────────────────────── */
.partner-logo a {
  color: inherit;
  text-decoration: none;
}
.partner-logo a:hover {
  color: var(--primary-color);
}
