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

body {
  background: linear-gradient(200deg, #ede9fe, #f5f3ff);
  background-attachment: fixed;
  font-family: 'DM Sans', sans-serif;
  color: #555;
  line-height: 1.6;
  font-size: 15px;
  min-height: 100vh;
}

h1, h2, h3, .site-logo {
  font-family: 'Playfair Display', serif;
  color: #0a0a0a;
  font-weight: 700;
}

h1 { font-size: 2.25rem; line-height: 1.25; margin-bottom: 18px; }
h2 { font-size: 1.4rem; margin-bottom: 14px; }
h3 { font-size: 1.15rem; margin-bottom: 10px; }

p { margin-bottom: 14px; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

a { color: #6d28d9; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Cookie banner */
.cookie-banner {
  background: rgba(255,255,255,0.85);
  padding: 14px 20px;
  text-align: center;
  font-size: 14px;
}
.cookie-banner a { margin: 0 6px; }
.cookie-banner button {
  margin-left: 10px;
  background: #6d28d9;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 18px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  transition: opacity 0.2s;
}
.cookie-banner button:hover { opacity: 0.85; }

/* Navbar */
.navbar { padding: 16px 0; background: transparent; }
.site-logo {
  display: block;
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 10px;
}
.site-logo a { color: #0a0a0a; text-decoration: none; }
.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
}
.nav-links a { color: #444; font-weight: 500; }
.nav-links a:hover { color: #6d28d9; text-decoration: none; }

/* Sections */
section { padding: 72px 0; }

.hero { text-align: center; }
.hero-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.hero p { color: #555; margin-bottom: 26px; font-size: 1.05rem; }

.about-inner { max-width: 800px; margin: 0 auto; text-align: center; }

/* Buttons */
.btn {
  background: #6d28d9;
  color: #fff;
  border-radius: 6px;
  padding: 10px 24px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  display: inline-block;
  transition: opacity 0.2s;
}
.btn:hover { opacity: 0.85; text-decoration: none; color: #fff; }

/* Cards */
.card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 8px;
  padding: 24px;
  transition: box-shadow 0.2s;
}
.card:hover { box-shadow: 0 6px 20px rgba(109,40,217,0.08); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.section-head { text-align: center; max-width: 800px; margin: 0 auto 36px; }
.section-head p { color: #555; }

/* Contact */
.contact-meta {
  text-align: center;
  margin-bottom: 24px;
  color: #555;
}
.contact-meta strong { color: #0a0a0a; }

.contact-card {
  max-width: 560px;
  margin: 0 auto;
  padding: 32px;
}
.contact-card h2, .contact-card .subtitle { text-align: center; }
.contact-card .subtitle { color: #999; margin-bottom: 22px; }

form .field { margin-bottom: 14px; }

input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus {
  border-color: #6d28d9;
  box-shadow: 0 0 0 2px #6d28d920;
}

.btn-submit {
  width: 100%;
  padding: 10px;
  background: #6d28d9;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: opacity 0.2s;
}
.btn-submit:hover { opacity: 0.85; }

.success-msg {
  display: none;
  margin-top: 16px;
  padding: 12px;
  border-radius: 6px;
  background: rgba(109,40,217,0.08);
  color: #6d28d9;
  text-align: center;
  font-size: 14px;
}
.success-msg.visible { display: block; }

/* Footer */
footer {
  text-align: center;
  color: #999;
  padding: 32px 0;
  font-size: 14px;
}
footer a { color: #6d28d9; margin: 0 6px; }

/* Legal/text pages */
.page-content { max-width: 800px; margin: 0 auto; }
.page-content h1 { text-align: center; margin-bottom: 28px; }
.page-content h2 { margin-top: 28px; }
.page-content p, .page-content li { color: #555; margin-bottom: 12px; }
.page-content ul { padding-left: 22px; margin-bottom: 14px; }

/* KB */
.kb-item { margin-bottom: 18px; }

@media (max-width: 768px) {
  h1 { font-size: 1.85rem; }
  section { padding: 56px 0; }
  .nav-links { gap: 14px; font-size: 14px; }
  .contact-card { padding: 24px; }
}
