/* ============================================================
   DESIGN SYSTEM — Dott.ssa Nicoletta Gussoni
   Psicologa e Psicoterapeuta · Olgiate Olona (VA)
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* ---- Variables ---- */
:root {
  --primary:        hsl(156, 32%, 22%);
  --primary-light:  hsl(156, 28%, 34%);
  --primary-pale:   hsl(156, 20%, 90%);
  --accent:         hsl(36, 45%, 57%);
  --accent-light:   hsl(36, 45%, 68%);
  --accent-pale:    hsl(36, 50%, 94%);
  --bg:             hsl(40, 28%, 97%);
  --bg-white:       #ffffff;
  --bg-glass:       hsla(40, 28%, 97%, 0.88);
  --text:           hsl(156, 22%, 11%);
  --text-muted:     hsl(156, 10%, 42%);
  --border:         hsl(156, 12%, 88%);
  --shadow-xs:      0 1px 3px rgba(0,0,0,0.06);
  --shadow-sm:      0 4px 12px rgba(0,0,0,0.07);
  --shadow-md:      0 8px 24px rgba(0,0,0,0.09);
  --shadow-lg:      0 20px 48px rgba(0,0,0,0.11);
  --shadow-xl:      0 32px 80px rgba(0,0,0,0.13);
  --radius-sm:      10px;
  --radius-md:      18px;
  --radius-lg:      28px;
  --radius-xl:      40px;
  --radius-pill:    999px;
  --transition:     0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-serif:     'Playfair Display', Georgia, serif;
  --font-sans:      'Plus Jakarta Sans', system-ui, sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea, select { font-family: inherit; }

/* ---- Typography ---- */
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p  { color: var(--text-muted); font-size: 1rem; line-height: 1.8; }

/* ---- Layout ---- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section--white { background: var(--bg-white); }
.section--cream { background: var(--bg); }
.section--primary { background: var(--primary); }

/* ---- Section Header ---- */
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-header { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.section-header h2 { color: var(--primary); margin-bottom: 0.75rem; }
.section-header p { font-size: 1.05rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.7rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.93rem;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-accent:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.93rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--transition);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn-ghost:hover { gap: 0.7rem; }
.btn-ghost svg { transition: transform var(--transition); }
.btn-ghost:hover svg { transform: translateX(4px); }

/* ---- Header / Nav (2-row layout) ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

/* Row 1: logo + CTA */
.nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
}
.nav-logo__name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
  line-height: 1.2;
}
.nav-logo__sub {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.nav-top-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.nav-top-phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}
.nav-top-phone svg { color: var(--accent); flex-shrink: 0; }
.nav-top-phone:hover { color: var(--accent); }

/* Row 2: nav links */
.nav-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0.35rem 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  justify-content: center;
}
.nav-links li {
  position: relative;
}
.nav-links a {
  display: block;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--primary-pale);
  color: var(--primary);
  font-weight: 600;
}
.nav-links a.active::after {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  margin: 2px auto 0;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 7rem 0 5rem;
  background: linear-gradient(160deg, var(--bg) 0%, var(--accent-pale) 100%);
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -150px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, hsla(36,45%,57%,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, hsla(156,32%,22%,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-pale);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
  border: 1px solid hsla(36,45%,57%,0.3);
}
.hero h1 { color: var(--primary); margin-bottom: 1.25rem; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  max-width: 520px;
}
.hero-cta { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.hero-trust {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}
.hero-trust-item svg { color: var(--accent); flex-shrink: 0; }
.hero-img-wrap {
  position: relative;
}
.hero-img-wrap::after {
  content: '';
  position: absolute;
  inset: -16px -16px 16px 16px;
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  z-index: 0;
  transition: var(--transition);
}
.hero-img-wrap:hover::after { transform: translate(8px, -8px); }
.hero-img {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 440px;
  background: linear-gradient(145deg, var(--primary) 0%, var(--primary-light) 100%);
  box-shadow: var(--shadow-xl);
}
.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-badge {
  position: absolute;
  bottom: 24px;
  left: -24px;
  z-index: 3;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 200px;
}
.hero-badge__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.hero-badge__text { font-size: 0.8rem; color: var(--text-muted); }
.hero-badge__text strong { display: block; font-size: 0.92rem; color: var(--text); font-weight: 700; }

/* ---- Stats Bar ---- */
.stats-bar {
  background: var(--primary);
  padding: 2rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.stat-item { text-align: center; }
.stat-item__num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.stat-item__label {
  font-size: 0.8rem;
  color: hsla(0,0%,100%,0.65);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---- Cards ---- */
.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--accent-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}
.card:hover .card-icon {
  background: var(--primary);
  color: #fff;
}
.card h3 { color: var(--primary); margin-bottom: 0.75rem; }
.card p { font-size: 0.95rem; margin-bottom: 1rem; }
.card-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap var(--transition);
}
.card-link:hover { gap: 0.6rem; }

/* ---- Services Grid ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

/* ---- About / Two-col ---- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}
.two-col--reverse { direction: rtl; }
.two-col--reverse > * { direction: ltr; }
.col-img {
  position: relative;
}
.col-img__main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  height: 480px;
}
.col-img__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.col-img__accent {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 140px;
  height: 140px;
  background: var(--accent-pale);
  border-radius: var(--radius-lg);
  border: 4px solid var(--bg-white);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.col-img__accent img { width: 100%; height: 100%; object-fit: cover; }
.col-text .section-tag { display: block; }
.col-text h2 { color: var(--primary); margin-bottom: 1rem; }
.col-text p { margin-bottom: 1rem; }
.credentials {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}
.credential {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.credential__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 0.55rem;
}

/* ---- Approach / Orientamento ---- */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.approach-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.approach-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.approach-card h3 { color: var(--primary); margin-bottom: 0.75rem; font-size: 1.2rem; }
.approach-card p { font-size: 0.94rem; }

/* ---- Process Steps ---- */
.steps { display: flex; flex-direction: column; gap: 1.5rem; }
.step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.2rem;
}
.step-body h4 { color: var(--primary); margin-bottom: 0.3rem; }
.step-body p { font-size: 0.93rem; }

/* ---- FAQ Accordion ---- */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item.open { box-shadow: var(--shadow-md); border-color: var(--primary-pale); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--text);
  transition: color var(--transition);
}
.faq-item.open .faq-question { color: var(--primary); }
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}
.faq-item.open .faq-icon {
  background: var(--primary);
  color: #fff;
  transform: rotate(45deg);
}
.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.faq-item.open .faq-answer { display: block; }

/* ---- Symptom List / Highlight List ---- */
.highlight-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 1rem 0;
}
.highlight-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.94rem;
  color: var(--text-muted);
}
.highlight-list li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 0.55rem;
}
.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 1rem 0;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.94rem;
  color: var(--text-muted);
}
.check-list li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---- CTA Band ---- */
.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-xl);
  padding: 4rem;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}
.cta-band::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: 30%;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}
.cta-band h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-band p { color: rgba(255,255,255,0.75); font-size: 1.05rem; }
.cta-band-actions { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.cta-band .btn-white {
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  box-shadow: var(--shadow-md);
}
.cta-band .btn-white:hover {
  background: var(--bg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  font-weight: 500;
}
.cta-contact-item svg { color: var(--accent-light); flex-shrink: 0; }
.cta-contact-item a { color: #fff; }

/* ---- Contact Form & Info ---- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3.5rem;
  align-items: start;
}
.contact-info-box { display: flex; flex-direction: column; gap: 1.5rem; }
.info-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid var(--border);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: var(--transition);
}
.info-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary-pale); }
.info-card__icon {
  width: 44px;
  height: 44px;
  background: var(--accent-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.info-card__label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); font-weight: 600; }
.info-card__value { font-weight: 600; color: var(--text); font-size: 0.97rem; }
.info-card__value a { color: var(--primary); }
.form-box {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.form-box h3 { color: var(--primary); margin-bottom: 0.4rem; }
.form-box > p { font-size: 0.9rem; margin-bottom: 2rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--border);
  background: var(--bg);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text);
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px hsla(156,32%,22%,0.1);
}
textarea.form-control { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.privacy-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.5rem; }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: linear-gradient(160deg, var(--bg) 0%, var(--accent-pale) 100%);
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, hsla(36,45%,57%,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.page-hero-inner { position: relative; z-index: 1; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.breadcrumb a { color: var(--primary); }
.breadcrumb__sep { color: var(--border); }
.page-hero h1 { color: var(--primary); margin-bottom: 0.75rem; }
.page-hero .lead { font-size: 1.1rem; color: var(--text-muted); max-width: 620px; }

/* ---- Content Article ---- */
.content-article { max-width: 820px; }
.content-article h2 { color: var(--primary); margin: 2.5rem 0 1rem; font-size: 1.8rem; }
.content-article h3 { color: var(--primary); margin: 2rem 0 0.75rem; font-size: 1.3rem; }
.content-article p { margin-bottom: 1.25rem; }
.content-article ul, .content-article ol {
  margin: 1rem 0 1.5rem 1.25rem;
  list-style: disc;
}
.content-article li { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.content-article ol { list-style: decimal; }

/* ---- Info Boxes ---- */
.info-box {
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  border-left: 4px solid var(--primary);
  background: var(--primary-pale);
}
.info-box p { color: var(--primary); font-size: 0.95rem; }
.info-box--accent {
  border-color: var(--accent);
  background: var(--accent-pale);
}
.info-box--accent p { color: var(--text); }

/* ---- Symptom / Type Grid ---- */
.symptom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.symptom-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition);
}
.symptom-card:hover { box-shadow: var(--shadow-sm); border-color: var(--primary-pale); }
.symptom-card h4 { color: var(--primary); font-size: 0.97rem; margin-bottom: 0.5rem; font-family: var(--font-sans); font-weight: 700; }
.symptom-card p { font-size: 0.88rem; margin: 0; }
.symptom-card__tag {
  display: inline-block;
  background: var(--accent-pale);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.75rem;
}

/* ---- Technique Cards ---- */
.technique-list { display: flex; flex-direction: column; gap: 1.5rem; }
.technique-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  align-items: start;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: var(--transition);
}
.technique-item:hover { box-shadow: var(--shadow-md); border-color: transparent; }
.technique-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.technique-body h3 { color: var(--primary); font-size: 1.1rem; margin-bottom: 0.5rem; }
.technique-body p { font-size: 0.93rem; margin-bottom: 0; }

/* ---- Google Map ---- */
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 320px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  margin-top: 2rem;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ---- Footer ---- */
.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,0.65);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
}
.footer-brand {}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.3rem;
}
.footer-logo-sub {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-light);
  font-weight: 600;
  margin-bottom: 1rem;
}
.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 1.5rem; }
.footer-col h4 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: #fff; margin-bottom: 1.25rem; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: #fff; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.87rem;
  margin-bottom: 0.75rem;
}
.footer-contact-item svg { color: var(--accent-light); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: rgba(255,255,255,0.7); }
.footer-contact-item a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-bottom p { font-size: 0.82rem; }
.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-bottom-links a:hover { color: #fff; }

/* ---- Scroll to top ---- */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  z-index: 500;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: var(--primary-light); transform: translateY(-3px); }

/* ---- Utility ---- */
.text-primary { color: var(--primary) !important; }
.text-accent  { color: var(--accent) !important; }
.text-muted   { color: var(--text-muted) !important; }
.bg-primary   { background: var(--primary) !important; }
.mt-1  { margin-top: 0.5rem; }
.mt-2  { margin-top: 1rem; }
.mt-3  { margin-top: 1.5rem; }
.mt-4  { margin-top: 2rem; }
.mb-2  { margin-bottom: 1rem; }
.mb-3  { margin-bottom: 1.5rem; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-img-wrap { display: none; }
  .two-col { grid-template-columns: 1fr; gap: 3rem; }
  .two-col--reverse { direction: ltr; }
  .cta-band { grid-template-columns: 1fr; padding: 3rem 2rem; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* Hide nav bottom row, phone link, and CTA; show hamburger */
  .nav-bottom { display: none; }
  .nav-top-phone { display: none; }
  #nav-cta-btn { display: none; }
  .nav-toggle { display: flex; }

  /* Slide-down nav when open */
  .mobile-nav-open .nav-bottom {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: var(--nav-height, 62px);
    left: 0;
    right: 0;
    background: var(--bg-white);
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    z-index: 199;
  }
  .mobile-nav-open .nav-links {
    flex-direction: column;
    width: 100%;
    justify-content: flex-start;
    gap: 0.2rem;
  }
  .mobile-nav-open .nav-links a {
    padding: 0.65rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
  }
  .section { padding: 3.5rem 0; }
  .services-grid { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; }
  .symptom-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-trust { flex-direction: column; align-items: flex-start; }
  .hero-badge { left: 0; bottom: -16px; min-width: auto; }
  .cta-band { text-align: center; }
  .cta-band-actions { align-items: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.6rem; }
  .container { padding: 0 1.1rem; }
  .card { padding: 1.5rem; }
  .hero { padding: 4rem 0 3rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .technique-item { grid-template-columns: 1fr; }
  .technique-num { font-size: 1.4rem; }
}

/* ---- Cookie Banner & Blur Effect ---- */
body.cookie-blur-active #main-content,
body.cookie-blur-active .site-header,
body.cookie-blur-active .site-footer {
  filter: blur(8px);
  pointer-events: none;
  user-select: none;
}

body.cookie-blur-active {
  overflow: hidden;
}

.cookie-banner-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.cookie-banner-overlay.show {
  opacity: 1;
  visibility: visible;
}

.cookie-banner {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 600px;
  width: 90%;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 9999;
}

.cookie-banner-overlay.show .cookie-banner {
  transform: translateY(0);
}

.cookie-banner h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cookie-banner p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.cookie-banner a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 600;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cookie-actions-row {
  display: flex;
  gap: 0.75rem;
  width: 100%;
}

.cookie-btn {
  flex: 1;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}

.cookie-btn-primary {
  background: var(--primary);
  color: #fff;
}

.cookie-btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.cookie-btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.cookie-btn-outline:hover {
  background: var(--primary-pale);
}

.cookie-btn-text {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-decoration: underline;
  cursor: pointer;
  margin-top: 0.5rem;
  text-align: center;
  width: 100%;
}

.cookie-btn-text:hover {
  color: var(--primary);
}

.cookie-pref-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-pref-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.cookie-pref-info h4 {
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.cookie-pref-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--border);
  transition: .4s;
  border-radius: 34px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

input:checked + .toggle-slider {
  background-color: var(--primary);
}

input:disabled + .toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

input:checked + .toggle-slider:before {
  transform: translateX(22px);
}

@media (max-width: 480px) {
  .cookie-actions-row {
    flex-direction: column;
  }
}
