/* NWF Fisioterapisti — Design System v1 (FISIO-DESIGN-BRIEF) */
/* Warm terracotta palette — oklch with hex fallbacks */

:root {
  --accent: oklch(0.55 0.16 35);
  --accent-hover: oklch(0.48 0.14 35);
  --bg: oklch(0.97 0.006 70);
  --surface: oklch(0.99 0.003 60);
  --text: oklch(0.25 0.015 40);
  --muted: oklch(0.48 0.015 50);
  --border: oklch(0.88 0.008 60);
  --hero-bg: oklch(0.25 0.015 40);
  --hero-text: oklch(0.97 0.006 70);
  --footer-bg: oklch(0.22 0.012 40);
  --footer-text: oklch(0.82 0.008 60);
  --card-bg: #ffffff;
  --radius: 14px;
  --shadow: 0 4px 20px rgba(0,0,0,0.06);
}
@supports not (color: oklch(0 0 0)) {
  :root {
    --accent: #c4623a;
    --accent-hover: #a84f2e;
    --bg: #faf8f5;
    --surface: #ffffff;
    --text: #3a3530;
    --muted: #7a7269;
    --border: #e2ddd5;
    --hero-bg: #3a3530;
    --hero-text: #faf8f5;
    --footer-bg: #332f2a;
    --footer-text: #c8c3bc;
  }
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
p { margin: 0; }
ul { padding-left: 1.1rem; }
img, svg { display: block; max-width: 100%; }

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* Typography */
h1, h2, h3 {
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.15;
}
h1 { font-size: clamp(2rem, 5vw, 3.054rem); }
h2 { font-size: clamp(1.6rem, 3.8vw, 2.488rem); }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.6rem); }

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.eyebrow {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--hero-text);
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,248,245,0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 68px; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  font-weight: 800; font-size: 0.9rem; flex-shrink: 0;
}
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__title {
  font-weight: 700; font-size: 0.95rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.brand__subtitle { font-size: 0.78rem; color: var(--muted); }

.nav { display: none; gap: 24px; align-items: center; }
.nav a { font-size: 0.9rem; font-weight: 500; color: var(--muted); transition: color 0.2s; }
.nav a:hover { color: var(--text); }
.nav__cta {
  padding: 8px 18px; background: var(--accent); color: #fff !important;
  border-radius: 8px; font-weight: 600; transition: background 0.2s;
}
.nav__cta:hover { background: var(--accent-hover); }

.menu-toggle {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Hero */
.hero {
  padding: 48px 0 56px;
  background: var(--hero-bg);
  color: var(--hero-text);
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 75% 15%, oklch(0.55 0.06 35) 0%, transparent 55%);
  opacity: 0.35; pointer-events: none;
}
@supports not (color: oklch(0 0 0)) {
  .hero::before {
    background: radial-gradient(ellipse at 75% 15%, #c4623a 0%, transparent 55%);
  }
}
.hero__grid {
  position: relative; display: grid; gap: 36px; align-items: start;
}
.hero__content { display: grid; gap: 20px; }
.hero h1 { color: var(--hero-text); }
.hero p { font-size: 1.05rem; color: rgba(255,255,255,0.78); max-width: 58ch; }

.hero__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.meta-pill {
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.12);
  font-size: 0.82rem; font-weight: 500; color: var(--hero-text);
}

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 24px; border-radius: 10px; font-weight: 700;
  font-size: 0.95rem; border: none; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 8px 24px rgba(196,98,58,0.35);
}
.btn--primary:hover { background: var(--accent-hover); }
.btn--secondary {
  background: rgba(255,255,255,0.1); color: var(--hero-text);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn--outline {
  background: transparent; color: var(--accent);
  border: 2px solid var(--accent);
}
.btn--outline:hover { background: var(--accent); color: #fff; }

/* Hero card */
.hero-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px; padding: 24px;
  display: grid; gap: 16px;
}
.hero-card__label {
  font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.06em; color: rgba(255,255,255,0.5); font-weight: 600;
}
.hero-card__phone { font-size: 1.5rem; font-weight: 800; }
.hero-card__phone a { color: var(--hero-text); }
.hero-card__list { display: grid; gap: 10px; }
.hero-card__item { display: grid; gap: 2px; }
.hero-card__item span { font-size: 0.88rem; color: rgba(255,255,255,0.65); }
.hero-card__item strong { font-size: 0.95rem; }

/* Sections */
.section { padding: 64px 0; }
.section--alt { background: var(--surface); }
.section-head { display: grid; gap: 12px; margin-bottom: 32px; max-width: 680px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* Approach */
.approach-grid { display: grid; gap: 20px; }
.approach-step {
  padding: 24px; background: var(--card-bg);
  border: 1px solid var(--border); border-radius: var(--radius);
  display: grid; gap: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.approach-step:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.step-num {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  font-weight: 800; font-size: 1rem;
}
.approach-step h3 { margin: 0; }
.approach-step p { color: var(--muted); font-size: 0.95rem; }

/* Services */
.services-list { display: grid; gap: 12px; }
.service-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 22px; background: var(--card-bg);
  border: 1px solid var(--border); border-radius: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-item:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.service-dot {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  font-size: 1rem; flex-shrink: 0;
}
.service-item h3 { margin: 0 0 4px; font-size: 1.05rem; }
.service-item p { color: var(--muted); font-size: 0.92rem; }

/* About */
.about-grid { display: grid; gap: 32px; align-items: center; }
.about-text { display: grid; gap: 16px; }
.about-text p { color: var(--muted); font-size: 1.05rem; }
.about-highlights { list-style: none; padding: 0; display: grid; gap: 10px; }
.about-highlights li {
  position: relative; padding-left: 24px; font-size: 0.95rem;
}
.about-highlights li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 10px; height: 10px; border-radius: 50%; background: var(--accent);
}
.about-accent {
  background: var(--accent); color: #fff;
  border-radius: 16px; padding: 32px 28px;
  display: grid; gap: 12px;
}
.about-accent blockquote {
  font-family: Georgia, serif; font-size: 1.1rem;
  font-style: italic; line-height: 1.6; opacity: 0.95;
}
.about-accent cite { font-size: 0.85rem; font-style: normal; opacity: 0.7; }

/* Contact */
.contact-grid { display: grid; gap: 32px; }
.contact-info { display: grid; gap: 16px; }
.contact-card {
  padding: 18px 22px; background: var(--card-bg);
  border: 1px solid var(--border); border-radius: 12px;
}
.contact-card h3 {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--accent); margin-bottom: 6px;
}
.contact-card p, .contact-card a { font-size: 1rem; }
.contact-card a { color: var(--accent); font-weight: 600; }
.contact-cta { display: grid; gap: 16px; }
.contact-cta p { color: var(--muted); font-size: 1.05rem; }

/* Footer */
.footer {
  background: var(--footer-bg); color: var(--footer-text);
  padding: 40px 0 28px;
}
.footer__grid { display: grid; gap: 24px; margin-bottom: 24px; }
.footer-card h3 {
  font-family: Georgia, serif; font-size: 1rem;
  margin-bottom: 6px; color: var(--hero-text);
}
.footer-card p, .footer-card li { font-size: 0.9rem; color: var(--footer-text); }
.footer-card ul { list-style: none; padding: 0; display: grid; gap: 4px; }
.footer-card a { color: var(--hero-text); font-weight: 600; }
.footer__copy {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px; font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* Reveal */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (min-width: 760px) {
  .nav { display: flex; }
  .menu-toggle { display: none; }
  .hero { padding: 64px 0 72px; }
  .hero__grid { grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
  .approach-grid { grid-template-columns: repeat(3, 1fr); }
  .services-list { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 980px) {
  .hero { padding: 80px 0 88px; }
  .services-list { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 80px 0; }
}
