* {
  box-sizing: border-box;
}

:root {
  --ink: #171a22;
  --muted: #5a6270;
  --accent: #2d5bff;
  --accent-dark: #1937a8;
  --bg: #f6f3ee;
  --paper: #ffffff;
  --sand: #f1ebe1;
  --shadow: rgba(23, 26, 34, 0.12);
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.nav {
  background: var(--paper);
  border-bottom: 1px solid #e6e0d7;
  padding: 18px 6vw;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--ink);
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 48px 6vw 24px;
}

.hero-top {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-title {
  font-size: clamp(2.2rem, 3.8vw, 3.6rem);
  line-height: 1.1;
  margin: 0;
}

.hero-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cover-card {
  background: var(--paper);
  border-radius: 20px;
  box-shadow: 0 18px 40px var(--shadow);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tag {
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-size: 0.75rem;
  color: var(--muted);
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.2s ease;
}

.primary-cta:hover {
  background: var(--accent-dark);
}

.inline-cta {
  color: var(--accent);
  font-weight: 600;
}

.section {
  padding: 40px 6vw;
}

.section-alt {
  background: var(--sand);
}

.magazine-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.columns {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.column-card {
  background: var(--paper);
  padding: 22px;
  border-radius: 16px;
  box-shadow: 0 14px 28px var(--shadow);
}

.lead {
  font-size: 1.1rem;
  margin: 0 0 16px;
}

.muted {
  color: var(--muted);
}

.featured-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.featured-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.pill {
  background: #eef1ff;
  color: var(--accent-dark);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.service-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: var(--paper);
  border-radius: 16px;
  box-shadow: 0 16px 32px var(--shadow);
}

.price {
  font-size: 1.1rem;
  font-weight: 700;
}

.testimonial {
  background: #10131c;
  color: #fff;
  padding: 24px;
  border-radius: 18px;
}

.testimonial em {
  display: block;
  margin-top: 10px;
  color: #c6d1ff;
  font-style: normal;
}

.form-panel {
  background: var(--paper);
  border-radius: 18px;
  box-shadow: 0 18px 40px var(--shadow);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

label {
  font-weight: 600;
  font-size: 0.9rem;
}

input,
select,
textarea {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #d9d3c8;
  font-size: 0.95rem;
  font-family: inherit;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.secondary-cta {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 600;
  background: transparent;
  cursor: pointer;
}

.secondary-cta:hover {
  background: #eef1ff;
}

.sticky-cta {
  position: fixed;
  bottom: 18px;
  right: 18px;
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 14px 30px var(--shadow);
  font-weight: 600;
  z-index: 5;
}

.footer {
  background: #0f1117;
  color: #d9deea;
  padding: 32px 6vw;
  margin-top: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.85rem;
}

.footer p {
  color: #b8c0d4;
  margin: 12px 0 0;
  font-size: 0.85rem;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  bottom: 16px;
  background: var(--paper);
  border-radius: 14px;
  box-shadow: 0 16px 32px var(--shadow);
  padding: 16px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 6;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-actions button {
  border-radius: 999px;
  padding: 8px 14px;
  border: 1px solid #ccd3e6;
  background: #f6f7fb;
  cursor: pointer;
  font-weight: 600;
}

.cookie-actions .accept {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.hero-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 22px 44px var(--shadow);
}

.wide-banner {
  background-image: linear-gradient(120deg, rgba(17, 21, 35, 0.8), rgba(17, 21, 35, 0.2)),
    url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.wide-banner h2 {
  margin-top: 0;
}

.badge-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.badge {
  background: #ffffff1f;
  border: 1px solid #ffffff4a;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
}

.split {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.quote-card {
  border-left: 4px solid var(--accent);
  padding-left: 16px;
  font-style: italic;
  color: var(--muted);
}

.cta-strip {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--paper);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 14px 28px var(--shadow);
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mini-card {
  padding: 16px;
  background: var(--paper);
  border-radius: 12px;
  box-shadow: 0 12px 26px var(--shadow);
}

.thanks {
  max-width: 700px;
  margin: 40px auto;
  background: var(--paper);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 18px 32px var(--shadow);
}

@media (min-width: 900px) {
  .hero-grid {
    flex-direction: row;
    align-items: stretch;
  }

  .hero-grid > * {
    flex: 1;
  }

  .columns {
    flex-direction: row;
  }

  .columns > * {
    flex: 1;
  }

  .magazine-row {
    flex-direction: row;
    align-items: stretch;
  }

  .magazine-row > * {
    flex: 1;
  }

  .split {
    flex-direction: row;
    align-items: center;
  }

  .service-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .service-card {
    flex: 1 1 calc(50% - 18px);
  }

  .contact-grid {
    flex-direction: row;
  }
}
