/* ──────────────────────────────────────────────────────────────
   Darina Blokšová — klinická psychologie Ostrava
   Design system: ABUGO (aubergine / coral), fonts Termina + Sofia Sans + Manrope
   ────────────────────────────────────────────────────────────── */

@import url("https://fonts.googleapis.com/css2?family=Sofia+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700&display=swap");

@font-face {
  font-family: "Termina";
  src: url("fonts/Termina-Light.ttf") format("opentype");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Termina";
  src: url("fonts/Termina-Regular.ttf") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Termina";
  src: url("fonts/Termina-Medium.ttf") format("opentype");
  font-weight: 500; font-style: normal; font-display: swap;
}

:root {
  --primary:            #2c0842;
  --on-primary:         #ffffff;
  --secondary:          #7b3aa3;
  --tertiary:           #ff9292;
  --on-tertiary:        #2c0842;
  --tertiary-hover:     #eb7777;

  --surface:            #ffffff;
  --surface-soft:       #f9f1ff;
  --on-surface:         #0b0011;
  --on-surface-muted:   #504756;
  --divider:            #dfe0e3;

  --font-display: "Termina", "Inter", system-ui, sans-serif;
  --font-ui:      "Sofia Sans", "Inter", system-ui, sans-serif;
  --font-body:    "Manrope", "Inter", system-ui, sans-serif;

  --container: 1200px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--on-surface-muted);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }

/* type helpers */
.dp { font-family: var(--font-display); }
.ui { font-family: var(--font-ui); }
.bd { font-family: var(--font-body); }
.eyebrow {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.msym { font-family: "Material Symbols Outlined"; font-weight: 400; line-height: 1; }

.wrap { max-width: var(--container); margin: 0 auto; padding-left: 32px; padding-right: 32px; }

/* links */
.nlink {
  font-family: var(--font-ui); font-weight: 700; font-size: 15px; letter-spacing: .01em;
  text-decoration: none; color: rgba(255,255,255,.82); transition: color .15s;
}
.nlink:hover, .nlink.active { color: var(--tertiary); }
.plink {
  font-family: var(--font-ui); font-weight: 700; font-size: 15px;
  text-decoration: none; color: var(--primary); transition: color .15s;
}
.plink:hover { color: var(--tertiary-hover); }
.clink {
  font-family: var(--font-ui); font-weight: 700; font-size: 15px;
  text-decoration: none; color: var(--tertiary); transition: color .15s;
}
.clink:hover { color: var(--tertiary-hover); }

/* buttons */
.btn {
  display: inline-block; font-family: var(--font-ui); font-weight: 700; font-size: 16px;
  padding: 14px 28px; border-radius: 9999px; text-decoration: none; transition: background .15s, color .15s, border-color .15s;
}
.btn-coral { background: var(--tertiary); color: var(--on-tertiary); }
.btn-coral:hover { background: var(--tertiary-hover); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn-ghost:hover { border-color: #fff; }

/* notice banner */
.notice {
  background: var(--surface-soft); border-bottom: 1px solid var(--divider);
  text-align: center; padding: 12px 24px;
}
.notice span {
  font-family: var(--font-ui); font-weight: 700; font-size: 13px; letter-spacing: .02em; color: var(--primary);
}

/* aubergine header / nav */
.top { position: relative; overflow: hidden; background: var(--primary); }
.nav {
  position: relative; max-width: var(--container); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; padding: 28px 32px;
}
.brand {
  font-family: var(--font-display); font-size: 20px; font-weight: 500; letter-spacing: -.01em;
  color: #fff; text-decoration: none; white-space: nowrap;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px; color: #fff;
}
.nav-toggle .msym { font-size: 30px; }

/* generic content section */
.section { max-width: var(--container); margin: 0 auto; padding: 96px 32px; }
.band-soft { background: var(--surface-soft); }
.band-aubergine { background: var(--primary); }

/* layout helpers */
.about-grid {
  max-width: var(--container); margin: 0 auto; padding: 96px 32px;
  display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 64px; align-items: center;
}
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.card { background: var(--surface); border-radius: 16px; overflow: hidden; }
.two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
}
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 36px; padding: 64px 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
}

h1, .h1 {
  font-family: var(--font-display); font-weight: 300; line-height: 1.08; letter-spacing: -.02em;
  color: var(--on-surface); margin: 0;
}
h2, .h2 {
  font-family: var(--font-display); font-weight: 500; line-height: 1.2; letter-spacing: -.01em;
  color: var(--on-surface); margin: 0;
}
h3, .h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.3; color: var(--on-surface); margin: 0; }
p { margin: 0; }

/* footer */
.footer { background: var(--primary); border-top: 1px solid rgba(255,255,255,.12); padding: 64px 32px 40px; }
.footer-grid {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
}
.footer .fbrand { font-family: var(--font-display); font-size: 24px; font-weight: 500; color: #fff; }
.footer .fsub {
  font-family: var(--font-ui); font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.55); margin-top: 10px;
}
.footer .fhead {
  font-family: var(--font-ui); font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--tertiary); margin-bottom: 14px;
}
.footer p.fbody { font-family: var(--font-body); font-size: 15px; line-height: 1.7; color: rgba(255,255,255,.78); }
.footer a.fbody { color: rgba(255,255,255,.78); text-decoration: none; }
.footer a.fbody:hover { color: var(--tertiary); }
.footer-bottom {
  max-width: var(--container); margin: 44px auto 0; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12); text-align: center;
}
.footer-bottom span {
  font-family: var(--font-ui); font-weight: 600; font-size: 12px; letter-spacing: .1em; color: rgba(255,255,255,.5);
}

/* accordion */
.acc {
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--divider); padding: 18px 0;
}
.acc + .acc-body { display: none; padding: 0 0 18px; }
.acc.open + .acc-body { display: block; }
.acc .acc-title { font-family: var(--font-ui); font-weight: 700; font-size: 16px; color: var(--on-surface); }
.acc .msym { font-size: 24px; color: var(--tertiary); }

/* prose (subpage text blocks) */
.prose p { font-family: var(--font-body); font-size: 18px; line-height: 1.6; margin: 0 0 18px; text-wrap: pretty; }
.prose ul { font-family: var(--font-body); font-size: 18px; line-height: 1.7; margin: 0 0 18px; padding-left: 22px; }
.prose li { margin: 0 0 6px; }
.prose h3 { margin: 36px 0 14px; font-size: 24px; }

/* dot cloud (homepage hero) */
.dotcloud { position: absolute; inset: 0; pointer-events: none; }
.dotcloud .rot { position: absolute; right: -60px; bottom: -80px; width: 640px; height: 520px; transform: rotate(-32deg); }
.dot { position: absolute; border-radius: 9999px; }

/* ── responsive ─────────────────────────────────────────────── */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 20;
    flex-direction: column; gap: 0; align-items: stretch;
    background: var(--primary); border-top: 1px solid rgba(255,255,255,.12);
    padding: 8px 32px 24px;
  }
  .nav-links.open { display: flex; }
  .nav-links .nlink { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 17px; }
}
@media (max-width: 760px) {
  .section { padding: 64px 24px; }
  .wrap { padding-left: 24px; padding-right: 24px; }
  .footer, .footer .footer-bottom { }
}
