/* ============================================
   Elena Borgese — Fisioterapista Brescia
   Design: Teal petrolio, profondo, professionale
   Strategy: Full palette — teal + warm neutrals + bianco
   Scene: Paziente adulto, cerca approccio serio ma empatico.
   ============================================ */

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

:root {
  --accent: #1a7a6d;
  --accent-hover: #145f55;
  --accent-light: #ddf0ec;
  --accent-muted: rgba(26,122,109,0.07);
  --bg: #fdfcfa;
  --bg-surface: #ffffff;
  --bg-alt: #f4f2ee;
  --text: #1e2e2a;
  --text-muted: #4f665f;
  --text-light: #8fa59e;
  --border: #d8e0dc;
  --border-strong: #b5c5be;
  --teal-dark: #0d4f46;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 32px;
  --shadow-sm: 0 1px 4px rgba(30,46,42,0.05);
  --shadow-md: 0 4px 16px rgba(30,46,42,0.08);
  --shadow-lg: 0 8px 32px rgba(30,46,42,0.12);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: var(--text); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--accent-hover); }
h1 { font-family: Georgia, serif; font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 400; line-height: 1.08; }
h2 { font-family: Georgia, serif; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 400; line-height: 1.15; }
h3 { font-size: 1.02rem; font-weight: 700; line-height: 1.3; }
p { max-width: 65ch; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }
.section--teal { background: var(--teal-dark); color: rgba(255,255,255,0.85); }
@media (max-width: 768px) { .section { padding: 64px 0; } .container { padding: 0 24px; } }
@media (max-width: 600px) { .section { padding: 48px 0; } .container { padding: 0 20px; } }
.section-tag { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); background: var(--accent-muted); padding: 4px 12px; border-radius: 50px; margin-bottom: 10px; }
.section-tag--light { color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.1); }
.section-header { text-align: center; max-width: 580px; margin: 0 auto 52px; }
.section-header--light { color: rgba(255,255,255,0.85); }
.section-title { margin-bottom: 10px; }
.section-title--light { color: #fff; }
.section-desc { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; max-width: 100%; }
.section-desc--light { color: rgba(255,255,255,0.85); }

/* Header */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(253,252,250,0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.header__logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark { width: 42px; height: 42px; background: var(--accent); color: #fff; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; flex-shrink: 0; }
.logo-mark--sm { width: 32px; height: 32px; font-size: 0.75rem; }
.logo-name { display: block; font-weight: 700; font-size: 0.92rem; color: var(--text); line-height: 1.2; }
.logo-sub { display: block; font-size: 0.68rem; color: var(--text-muted); }
.nav { display: flex; align-items: center; gap: 24px; }
.nav__link { font-size: 0.84rem; font-weight: 500; color: var(--text-muted); transition: color 0.2s ease; }
.nav__link:hover { color: var(--accent); }
.nav__link--cta { padding: 8px 20px; background: var(--accent); color: #fff !important; border-radius: 50px; font-weight: 600; }
.nav__link--cta:hover { background: var(--accent-hover); color: #fff; }
.hamburger { display: none; flex-direction: column; justify-content: space-between; width: 24px; height: 16px; background: none; border: none; cursor: pointer; padding: 0; }
.hamburger span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s ease; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { padding: 130px 0 80px; background: var(--accent); position: relative; overflow: hidden; }
.hero__bg-shape { position: absolute; top: -20%; right: -10%; width: 500px; height: 500px; background: rgba(255,255,255,0.04); border-radius: 50%; pointer-events: none; }
.hero__inner { text-align: center; max-width: 720px; margin: 0 auto; position: relative; }
.hero__pill { display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; color: rgba(255,255,255,0.85); background: rgba(255,255,255,0.1); padding: 5px 16px; border-radius: 50px; margin-bottom: 24px; border: 1px solid rgba(255,255,255,0.15); }
.hero__title { color: #fff; margin-bottom: 6px; }
.hero__subtitle { font-family: Georgia, serif; font-size: 1.3rem; font-weight: 400; color: rgba(255,255,255,0.9); margin-bottom: 18px; }
.hero__desc { color: rgba(255,255,255,0.88); margin: 0 auto 32px; line-height: 1.75; }
.hero__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.hero__chips { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.chip { font-size: 0.75rem; color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.08); padding: 4px 12px; border-radius: 50px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; justify-content: center; padding: 13px 26px; border-radius: 50px; font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: all 0.25s var(--ease); border: none; text-decoration: none; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--white { background: #fff; color: var(--accent); }
.btn--white:hover { background: var(--accent-light); color: var(--accent); }
.btn--ghost-white { background: transparent; color: rgba(255,255,255,0.85); border: 2px solid rgba(255,255,255,0.35); }
.btn--ghost-white:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.6); color: #fff; }

/* Services */
.services-list { display: flex; flex-direction: column; }
.svc { display: grid; grid-template-columns: 48px 1fr auto; gap: 20px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--border); }
.svc:last-child { border-bottom: none; }
.svc__num { font-family: Georgia, serif; font-size: 1.4rem; color: var(--border-strong); line-height: 1; }
.svc__body h3 { margin-bottom: 6px; font-size: 0.95rem; }
.svc__body p { font-size: 0.86rem; color: var(--text-muted); line-height: 1.65; max-width: 100%; }
.svc__icon { color: var(--accent); }

/* Approach */
.approach-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ap-card { text-align: center; padding: 28px 20px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--r-md); transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.ap-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.ap-card__step { width: 40px; height: 40px; background: var(--accent); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: Georgia, serif; font-size: 1rem; margin: 0 auto 14px; }
.ap-card h3 { font-size: 0.92rem; margin-bottom: 8px; }
.ap-card p { font-size: 0.82rem; color: var(--text-muted); max-width: 100%; margin: 0 auto; }

/* About */
.about-flex { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.about-photo .photo-placeholder { width: 100%; height: 320px; background: var(--accent-light); border: 2px dashed var(--border-strong); color: var(--accent); }
.about-content p { color: var(--text-muted); margin-bottom: 14px; line-height: 1.8; max-width: 100%; }
.about-creds { display: flex; flex-direction: column; gap: 10px; margin: 24px 0; }
.about-creds span { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--text); }
.about-creds svg { color: var(--accent); flex-shrink: 0; }

/* Contact */
.cta-block { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.cta-phone-wrap { background: var(--accent); border-radius: var(--r-lg); padding: 48px 40px; text-align: center; color: #fff; }
.cta-label { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.9); margin-bottom: 12px; }
.cta-phone { display: block; font-family: Georgia, serif; font-size: clamp(1.8rem, 3vw, 2.4rem); color: #fff; margin-bottom: 24px; }
.cta-phone:hover { color: var(--accent-light); }
.cta-info { display: flex; flex-direction: column; gap: 0; }
.cta-info-item { display: flex; gap: 14px; align-items: flex-start; padding: 24px 0; border-bottom: 1px solid var(--border); }
.cta-info-item:first-child { padding-top: 0; }
.cta-info-item svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.cta-info-item strong { display: block; font-size: 0.85rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.cta-info-item p { font-size: 0.86rem; color: var(--text-muted); max-width: 100%; }

/* Footer */
.footer { background: var(--text); color: rgba(255,255,255,0.5); padding: 48px 0 28px; }
.footer__inner { }
.footer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; flex-wrap: wrap; gap: 20px; }
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__name { display: block; font-weight: 700; font-size: 0.92rem; color: #fff; }
.footer__sub { display: block; font-size: 0.68rem; color: rgba(255,255,255,0.4); }
.footer__links { display: flex; gap: 24px; }
.footer__links a { font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.footer__links a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; font-size: 0.78rem; color: rgba(255,255,255,0.3); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer__bottom a { color: rgba(255,255,255,0.45); }
.footer__bottom a:hover { color: #fff; }
.footer__bottom p { max-width: 100%; }

/* Responsive */
@media (max-width: 960px) {
  .services-list .svc { grid-template-columns: 36px 1fr; }
  .svc__icon { display: none; }
  .approach-cards { grid-template-columns: repeat(2, 1fr); }
  .about-flex { grid-template-columns: 1fr; gap: 40px; }
  .cta-block { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .approach-cards { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__actions .btn { width: 100%; max-width: 300px; justify-content: center; }
  .nav { display: none; position: fixed; top: 68px; left: 0; right: 0; background: var(--bg); flex-direction: column; padding: 12px 0; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); }
  .nav.open { display: flex; }
  .nav__link { padding: 14px 24px; width: 100%; color: var(--text); }
  .nav__link--cta { margin: 8px 24px; text-align: center; }
  .hamburger { display: flex; }
  .footer__top { flex-direction: column; align-items: flex-start; }
  .footer__links { flex-direction: column; gap: 12px; }
  .footer__bottom { flex-direction: column; }
}
