/* NZOZ Neuromed — landing page styles */

:root {
  --blue: #1f5d8c;
  --blue-dark: #16486e;
  --blue-deep: #103652;
  --soft: #eaf2f8;
  --soft-2: #f5f9fc;
  --ink: #1c2b38;
  --muted: #5d7080;
  --border: #e2eaf1;
  --white: #ffffff;
  --shadow: 0 6px 24px rgba(16, 54, 82, 0.08);
  --shadow-lg: 0 14px 40px rgba(16, 54, 82, 0.14);
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, color .12s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-sm { padding: 10px 18px; font-size: .92rem; }

.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 6px 16px rgba(31, 93, 140, .28); }
.btn-primary:hover { background: var(--blue-dark); }

.btn-ghost { background: rgba(255, 255, 255, .7); color: var(--blue-dark); border-color: var(--border); }
.btn-ghost:hover { background: var(--white); }

.btn-outline { background: transparent; color: var(--blue-dark); border-color: var(--border); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}
.brand img { height: 46px; width: auto; }
.brand:hover { text-decoration: none; }

.main-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.main-nav a {
  color: var(--ink);
  font-weight: 500;
  font-size: .98rem;
}
.main-nav a:hover { color: var(--blue); text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(170deg, var(--soft-2) 0%, var(--soft) 100%);
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  padding: 88px 24px 96px;
  text-align: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .82rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  line-height: 1.18;
  color: var(--blue-deep);
  letter-spacing: -.01em;
  font-weight: 700;
}
.hero-lead {
  max-width: 620px;
  margin: 22px auto 24px;
  font-size: 1.12rem;
  color: var(--muted);
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 32px;
  padding: 10px 20px 10px 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow);
  color: var(--blue-dark);
  font-weight: 600;
  font-size: .98rem;
  text-align: left;
}
.hero-badge-mark {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  font-size: .8rem;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--soft-2); }
section[id] { scroll-margin-top: 90px; }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  color: var(--blue-deep);
  font-weight: 700;
  letter-spacing: -.01em;
}
.section-head p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 1.06rem;
}

/* ---------- Service cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--blue);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #cdddea;
}
.card h3 {
  font-size: 1.16rem;
  color: var(--blue-dark);
  margin-bottom: 10px;
}
.card p { color: var(--muted); font-size: .98rem; }

/* ---------- Diagnostics ---------- */
.diag-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}
.diag-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 30px 30px;
}
.diag-card h3 {
  font-size: 1.22rem;
  color: var(--blue-dark);
  margin-bottom: 10px;
}
.diag-card p { color: var(--muted); }

/* ---------- Clinics ---------- */
.clinic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.clinic-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 32px;
  box-shadow: var(--shadow);
}
.clinic-card h3 {
  font-size: 1.4rem;
  color: var(--blue-deep);
  margin-bottom: 20px;
}
.clinic-info { margin-bottom: 26px; }
.clinic-info > div { padding: 14px 0; border-top: 1px solid var(--border); }
.clinic-info > div:first-child { border-top: 0; padding-top: 0; }
.clinic-info dt {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .76rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 4px;
}
.clinic-info dd {
  font-size: 1.05rem;
  color: var(--ink);
}
.clinic-info dd a { font-weight: 600; }
.muted { color: var(--muted); font-weight: 400; }
.clinic-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--blue-deep);
  color: #c9d8e4;
  padding-top: 56px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 44px;
}
.footer-brand img {
  height: 44px;
  width: auto;
  background: var(--white);
  border-radius: 8px;
  padding: 6px 10px;
  margin-bottom: 16px;
}
.footer-brand p { font-size: .95rem; max-width: 280px; }
.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 14px;
}
.footer-col p { font-size: .95rem; margin-bottom: 8px; }
.site-footer a { color: #e3edf5; }
.site-footer a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 22px;
  padding-bottom: 28px;
}
.footer-bottom p { font-size: .86rem; color: #91a8ba; }

/* ---------- Legal page ---------- */
.legal { background: var(--soft-2); }
.legal-inner {
  max-width: 800px;
  padding-top: 64px;
  padding-bottom: 84px;
}
.legal h1 {
  font-size: clamp(2rem, 4vw, 2.7rem);
  color: var(--blue-deep);
  font-weight: 700;
  letter-spacing: -.01em;
}
.legal-meta {
  color: var(--muted);
  font-size: .92rem;
  margin: 8px 0 28px;
}
.legal h2 {
  font-size: 1.25rem;
  color: var(--blue-dark);
  margin: 34px 0 10px;
}
.legal p { margin-bottom: 14px; color: #344655; }
.legal ul {
  margin: 0 0 16px;
  padding-left: 22px;
  color: #344655;
}
.legal li { margin-bottom: 6px; }
.legal-back {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-weight: 600;
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .main-nav { display: none; }
  .hero-inner { padding: 60px 24px 66px; }
  .section { padding: 60px 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
  .clinic-actions .btn { width: 100%; }
}
