*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --bg: #f7f5f1;
  --surface: #ffffff;
  --ink: #1f2430;
  --muted: #5d6370;
  --brand: #1b3b5a;
  --brand-strong: #0f2a44;
  --accent: #c9a24b;
  --accent-strong: #a88636;
  --border: #e2ded7;
  --shadow: 0 12px 30px rgba(15, 20, 30, 0.08);
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--brand-strong);
}

.logo-mark {
  width: 34px;
  height: 34px;
}

.site-nav {
  display: none;
}

.site-nav a {
  color: var(--muted);
  font-weight: 600;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a:focus {
  background: rgba(27, 59, 90, 0.1);
  color: var(--brand-strong);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--brand-strong);
  border-radius: 2px;
  position: relative;
  transition: transform 0.2s ease;
}

.menu-icon::before {
  position: absolute;
  top: -6px;
  left: 0;
}

.menu-icon::after {
  position: absolute;
  top: 6px;
  left: 0;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem 4%;
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-nav a {
  font-weight: 600;
  color: var(--brand-strong);
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.hero {
  padding: 3rem 0 2.5rem;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-card {
  background: var(--surface);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(201, 162, 75, 0.15);
  color: var(--brand-strong);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--brand-strong);
}

.btn-secondary {
  border-color: var(--brand);
  color: var(--brand);
  background: #fff;
}

.btn-secondary:hover,
.btn-secondary:focus {
  border-color: var(--brand-strong);
  color: var(--brand-strong);
}

.btn-link {
  color: var(--muted);
  text-decoration: underline;
  padding: 0.4rem 0.2rem;
}

.section {
  padding: 2.5rem 0;
}

.section-title {
  font-size: 1.7rem;
  margin: 0 0 1rem;
  color: var(--brand-strong);
}

.grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.card {
  background: var(--surface);
  border-radius: 16px;
  padding: 1.6rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.card h3 {
  margin: 0;
  color: var(--brand-strong);
}

.pill {
  display: inline-flex;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(27, 59, 90, 0.12);
  color: var(--brand-strong);
  font-size: 0.85rem;
  font-weight: 600;
}

.highlight {
  background: var(--brand);
  color: #fff;
}

.highlight .section-title {
  color: #fff;
}

.highlight .card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.highlight .pill {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.testimonial span {
  font-weight: 600;
  color: var(--brand-strong);
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-block a {
  color: var(--brand);
  font-weight: 600;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.steps .step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-number {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-footer {
  background: var(--brand-strong);
  color: #fff;
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-bottom {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.cookie-banner {
  position: fixed;
  inset: auto 0 0 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 20px rgba(15, 20, 30, 0.08);
  padding: 1rem 0;
  display: none;
  z-index: 50;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 60;
}

.cookie-modal.open {
  display: flex;
}

.cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 20, 30, 0.5);
}

.cookie-modal__dialog {
  position: relative;
  background: var(--surface);
  padding: 1.8rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
  max-width: 560px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.9rem 1rem;
}

.toggle {
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 0.35rem 0.9rem;
  font-weight: 600;
  background: #fff;
}

.toggle[aria-pressed="true"] {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.cookie-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.no-scroll {
  overflow: hidden;
}

@media (min-width: 768px) {
  .site-nav {
    display: flex;
    gap: 0.4rem;
  }

  .menu-toggle,
  .mobile-nav {
    display: none;
  }

  .hero-inner {
    flex-direction: row;
    align-items: stretch;
  }

  .hero-card {
    flex: 1;
  }

  .grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .grid .card {
    flex: 1 1 calc(50% - 1.5rem);
  }

  .cookie-banner__content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .cookie-banner__actions,
  .cookie-modal__actions {
    flex-direction: row;
    justify-content: flex-end;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .grid .card {
    flex: 1 1 calc(33.333% - 1.5rem);
  }
}
