:root {
  --color-primary: #667bc6;
  --color-secondary: #fdffd2;
  --color-accent: #ffb4c2;
  --color-deep: #da7297;
  --color-text: #1f2440;
  --color-surface: #ffffff;
  --font-heading: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --shadow-soft: 0 10px 24px rgba(31, 36, 64, 0.12);
  --shadow-strong: 0 18px 34px rgba(31, 36, 64, 0.18);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: linear-gradient(180deg, var(--color-secondary) 0%, #fff 75%);
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover,
a:focus-visible {
  color: var(--color-deep);
  opacity: 0.95;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-soft);
}

.wrap {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  background: rgba(102, 123, 198, 0.14);
  color: var(--color-primary);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-1) 0;
  font-size: 0.9rem;
}

.mainbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-2) 0 var(--space-3);
}

.brand {
  display: block;
}

.brand img {
  width: 4rem;
  position: relative;
  z-index: 20;
}

.brand img {
  display: inline-block;
  transform: rotate(-5deg);
  transition: transform var(--transition-normal);
}

.brand:hover img {
  transform: rotate(0);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .brand img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 768px) {
  .brand img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 576px) {
  .brand img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 400px) {
  .brand img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  list-style: none;
  margin: 0;
  padding: 0;
}

nav a {
  display: inline-block;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(102, 123, 198, 0.35);
  background: var(--color-surface);
}

nav a:hover,
nav a:focus-visible,
.active {
  background: var(--color-primary);
  color: #fff;
}

main {
  display: block;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-5);
  align-items: center;
  padding: var(--space-6) 0;
}

.hero article p {
  font-size: 1.08rem;
  max-width: 55ch;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  margin-top: 0;
  line-height: 1.25;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.btn {
  display: inline-block;
  margin-right: var(--space-2);
  margin-top: var(--space-2);
  padding: 0.75rem 1.2rem;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-secondary {
  background: var(--color-accent);
  color: var(--color-text);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.panel {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: var(--space-4);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.panel:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

section {
  padding: var(--space-6) 0;
}

.cta {
  background: linear-gradient(120deg, rgba(102, 123, 198, 0.14), rgba(218, 114, 151, 0.2));
  border-radius: var(--radius-md);
  padding: var(--space-5);
}

.content-band {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: var(--space-5);
}

.split {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr 1fr;
}

.stats {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-item {
  background: #fff;
  border-radius: var(--radius-md);
  padding: var(--space-4);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.stat-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--color-primary);
}

.timeline {
  display: grid;
  gap: var(--space-2);
}

.timeline article {
  background: #fff;
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-sm);
  padding: var(--space-3);
  box-shadow: var(--shadow-soft);
}

.faq {
  display: grid;
  gap: var(--space-2);
}

.faq details {
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  padding: var(--space-3);
}

.faq summary {
  font-weight: 700;
  cursor: pointer;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.pill-list span {
  background: #fff;
  border: 1px solid rgba(102, 123, 198, 0.3);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
}

form {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: var(--space-5);
}

label {
  display: block;
  font-weight: 600;
  margin-top: var(--space-3);
}

input,
textarea {
  width: 100%;
  margin-top: var(--space-1);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid #cfd5eb;
  font: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.error {
  display: block;
  color: #8b1f40;
  font-size: 0.88rem;
  min-height: 1.2rem;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.checkbox input {
  width: auto;
  margin: 0;
}

.map {
  border: 0;
  width: 100%;
  min-height: 320px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pulse {
  animation: pulse 2.6s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(102, 123, 198, 0.28);
  }

  70% {
    box-shadow: 0 0 0 14px rgba(102, 123, 198, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(102, 123, 198, 0);
  }
}

footer {
  margin-top: var(--space-6);
  background: #212946;
  color: #e8ebff;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
  padding: var(--space-6) 0;
}

footer a {
  color: #f8bcd0;
}

.copyright {
  padding: var(--space-3) 0 var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: min(460px, 94vw);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-strong);
  padding: var(--space-4);
  z-index: 40;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.cookie-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(33, 41, 70, 0.45);
  z-index: 50;
}

.cookie-modal[open] {
  display: flex;
}

.cookie-box {
  width: min(560px, 94vw);
  background: #fff;
  border-radius: var(--radius-md);
  padding: var(--space-5);
}

.toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-2) 0;
}

.toggle-row input {
  width: auto;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {

  .topbar,
  .mainbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .grid-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  nav ul {
    width: 100%;
  }
}