@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;500;600&display=swap');

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

html, body {
  margin: 0;
  padding: 0;
  font-family: "Lato", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f7f8;
  color: #222;
}


body {
  display: flex;
  justify-content: center;
  padding: 2rem 1rem;
}

.main-shell {
  max-width: 960px;
  width: 100%;
}

.card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.8rem 1.6rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.site-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.site-header img.logo {
  height: 56px;
  width: auto;
  border-radius: 999px;
}

.site-title-group h1 {
  font-size: 1.4rem;
  margin: 0;
}

.site-title-group p {
  margin: 0.1rem 0 0;
  font-size: 0.9rem;
  color: #555;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #e6f4ea;
  color: #145a32;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  margin-top: 0.4rem;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #2ecc71;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid #dde4ea;
  color: #234;
}

.main-nav a:hover {
  background: #eef3f7;
}

.main-nav a.primary {
  background: #214f8b;
  color: #fff;
  border-color: #214f8b;
}

.main-nav a.qa-link {
  border-style: dashed;
}

.main-nav a.language {
  margin-left: auto;
}

h2 {
  font-size: 1.1rem;
  margin-top: 0;
}

section {
  margin-bottom: 1.6rem;
  padding: 1rem 1rem 1.1rem;
  border-radius: 14px;
  background: #f8fafc;
}

section:nth-of-type(2n) {
  background: #fdf6f3;
}

section:nth-of-type(3n) {
  background: #f5f9f4;
}

p {
  margin: 0 0 0.6rem;
  line-height: 1.5;
  font-size: 0.95rem;
}

ul {
  margin: 0.3rem 0 0.6rem 1.2rem;
  padding: 0;
  font-size: 0.95rem;
}

strong {
  font-weight: 600;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.7rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.button.book {
  background: #ffffff;
  color: #234;
  border: 2px solid #e3e8ef;
  font-weight: 500;
}

.button.book-therapy {
  border-color: #c7ddff;
}

.button.book-adhd {
  border-color: #cdeccf;
}

.button.book-workshop {
  border-color: #ffe0c2;
}

.button.book-call {
  border-color: #e2d5ff;
}

.button.primary {
  background: #214f8b;
  color: #fff;
}

.button.secondary {
  background: #ffffff;
  color: #214f8b;
  border-color: #214f8b33;
}

.button.ghost {
  background: transparent;
  border-color: #dde4ea;
  color: #234;
}

.note {
  font-size: 0.85rem;
  color: #555;
}

.site-footer {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: #555;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

.site-footer a {
  color: inherit;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.site-footer-links a {
  text-decoration: none;
  border-bottom: 1px dashed transparent;
}

.site-footer-links a:hover {
  border-bottom-color: currentColor;
}

/* Details blocks */

details {
  margin-top: 0.6rem;
  margin-bottom: 0.9rem;
}

details summary {
  cursor: pointer;
  font-weight: 500;
  margin-bottom: 0.3rem;
}

details[open] summary {
  text-decoration: underline;
}

/* Language choice page */

.language-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.language-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1rem;
  border: 2px solid #e3e8ef;
}

.language-card.lang-en {
  border-color: #c7ddff;
}

.language-card.lang-pl {
  border-color: #ffd8e1;
}


.language-card h2 {
  margin-bottom: 0.4rem;
}

.language-card p {
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.language-card a.button {
  margin-top: 0.3rem;
}

/* Q&A page */

.qa-list details {
  background: #ffffff;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  border: 1px solid #e3e8ef;
}

.qa-list details + details {
  margin-top: 0.6rem;
}

.qa-list summary {
  list-style: none;
}

.qa-list summary::-webkit-details-marker {
  display: none;
}

@media (max-width: 720px) {
  body {
    padding: 1.2rem 0.5rem;
  }

  .card {
    padding: 1.4rem 1.1rem;
  }

  .site-header {
    flex-direction: row;
    align-items: flex-start;
  }

  .main-nav a.language {
    margin-left: 0;
  }

  section {
    padding: 0.85rem 0.8rem 0.9rem;
  }
}
