* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --ink: #1c1c23;
  --muted: #5f6270;
  --accent: #5b4bff;
  --accent-soft: #e9e7ff;
  --panel: #f4f5f8;
  --warm: #fff4e6;
  --edge: #e2e4ee;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

.page {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  flex: 0 0 260px;
  padding: 28px 22px;
  background: #11111f;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.brand {
  font-size: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ad-label {
  font-size: 13px;
  color: #d6d6e8;
  padding: 8px 10px;
  border: 1px solid #35354f;
  border-radius: 12px;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav a {
  color: #ffffff;
  font-weight: 500;
}

.sidebar-cta {
  margin-top: auto;
  padding: 16px;
  background: #1f1f36;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-cta p {
  margin: 0;
  font-size: 14px;
  color: #d6d6e8;
}

.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.section {
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section-tight {
  padding: 32px 56px;
}

.section-split {
  display: flex;
  gap: 36px;
  align-items: center;
  flex-wrap: wrap;
}

.section-split.reverse {
  flex-direction: row-reverse;
}

.panel {
  background: var(--panel);
  border-radius: 24px;
  padding: 28px;
}

.hero {
  min-height: 360px;
  color: #ffffff;
  background-color: #1a1b2f;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(16, 18, 40, 0.62);
  border-radius: 0;
}

.hero-content {
  position: relative;
  max-width: 640px;
}

.hero-content h1 {
  margin: 0 0 12px 0;
  font-size: 36px;
}

.hero-content p {
  margin: 0;
  color: #e8e8ff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
}

.btn-secondary {
  background: #ffffff;
  color: var(--accent);
  border-color: var(--accent);
}

.inline-link {
  font-weight: 600;
}

.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.card {
  flex: 1 1 220px;
  background: #ffffff;
  border: 1px solid var(--edge);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 220px;
}

.card h3 {
  margin: 0;
}

.price {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}

.image-frame {
  border-radius: 14px;
  overflow: hidden;
  background: #dfe3f0;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.stat {
  flex: 1 1 200px;
  background: var(--warm);
  padding: 18px;
  border-radius: 16px;
}

.form-block {
  background: #f8f8ff;
  border-radius: 22px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid var(--edge);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row input,
.form-row select,
.form-row textarea {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--edge);
  font-size: 15px;
}

.form-message {
  font-size: 14px;
  color: var(--muted);
}

.sticky-cta {
  position: sticky;
  bottom: 0;
  background: #11111f;
  color: #ffffff;
  padding: 14px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer {
  border-top: 1px solid var(--edge);
  padding: 26px 56px;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cookie-banner {
  position: fixed;
  right: 16px;
  bottom: 16px;
  background: #ffffff;
  border: 1px solid var(--edge);
  border-radius: 16px;
  padding: 16px;
  max-width: 320px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 10;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-actions button {
  flex: 1 1 auto;
}

.hero-index {
  background-image: url("https://images.unsplash.com/photo-1773332598414-44a45e364d85?w=1400&q=80");
}

.bg-learning {
  background-image: url("https://images.unsplash.com/photo-1644088379091-d574269d422f?w=1400&q=80");
  background-color: #cfd6ea;
  background-size: cover;
  background-position: center;
  color: #0f1328;
}

.bg-learning .panel {
  background: rgba(255, 255, 255, 0.88);
}

.hero-about {
  background-image: url("https://images.unsplash.com/photo-1531297484001-80022131f5a1?w=1400&q=80");
}

.hero-services {
  background-image: url("https://images.unsplash.com/photo-1488590528505-98d2b5aba04b?w=1400&q=80");
}

.hero-contact {
  background-image: url("https://images.unsplash.com/photo-1519389950473-47ba0277781c?w=1400&q=80");
}

.hero-thanks {
  background-image: url("https://images.unsplash.com/photo-1610484826967-09c5720778c7?w=1400&q=80");
}

.hero-privacy {
  background-image: url("https://images.unsplash.com/photo-1501504905252-473c47e087f8?w=1400&q=80");
}

.hero-gdpr {
  background-image: url("https://images.unsplash.com/photo-1588196749597-9ff075ee6b5b?w=1400&q=80");
}

.hero-cookies {
  background-image: url("https://images.unsplash.com/photo-1622295023876-0cdf583c41f6?w=1400&q=80");
}

.hero-terms {
  background-image: url("https://images.unsplash.com/photo-1588702547954-4800ead296ef?w=1400&q=80");
}

.img-process {
  width: 100%;
  height: 260px;
}

.img-bridge {
  width: 100%;
  height: 240px;
}

.img-about {
  width: 100%;
  height: 240px;
}

.img-services-a {
  width: 100%;
  height: 160px;
}

.img-services-b {
  width: 100%;
  height: 160px;
}

.img-services-c {
  width: 100%;
  height: 160px;
}

.img-services-d {
  width: 100%;
  height: 160px;
}

.img-services-e {
  width: 100%;
  height: 160px;
}

.img-contact {
  width: 100%;
  height: 220px;
}

.img-contact-secondary {
  width: 100%;
  height: 180px;
}

@media (max-width: 960px) {
  .page {
    flex-direction: column;
  }

  .sidebar {
    flex: 0 0 auto;
    flex-direction: column;
  }

  .section,
  .section-tight {
    padding: 32px 26px;
  }

  .sticky-cta {
    position: static;
  }
}
