*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --brand-900: #0b2c3a;
  --brand-700: #12506a;
  --brand-500: #1e7a9a;
  --brand-300: #7cc3d6;
  --accent-500: #f2b24d;
  --sand-100: #f7f4ef;
  --stone-100: #eef3f5;
  --text-900: #0f1e26;
  --text-700: #2b3f4b;
  --white: #ffffff;
  --shadow: 0 12px 30px rgba(11, 44, 58, 0.12);
  --radius: 18px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-900);
  background: var(--sand-100);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section {
  padding: 3.5rem 0;
}

.section-soft {
  background: var(--stone-100);
}

.section-tight {
  padding: 2.5rem 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--brand-700);
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0;
  color: var(--text-700);
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  background: var(--brand-700);
  color: var(--white);
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  background: var(--brand-500);
  transform: translateY(-1px);
}

.button.secondary {
  background: transparent;
  color: var(--brand-700);
  border-color: var(--brand-700);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: var(--brand-700);
  color: var(--white);
}

.header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: var(--brand-900);
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand-700);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-mark svg {
  width: 22px;
  height: 22px;
  fill: var(--accent-500);
}

.nav {
  display: none;
  align-items: center;
  gap: 1.2rem;
  font-weight: 600;
  color: var(--text-700);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--brand-700);
}

.menu-toggle {
  background: transparent;
  border: 1px solid var(--brand-300);
  border-radius: 10px;
  padding: 0.6rem 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--brand-700);
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--brand-700);
  display: block;
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  background: var(--brand-700);
  left: 0;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--white);
  padding: 1.5rem;
  position: fixed;
  inset: 72px 1rem auto 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  font-weight: 600;
  color: var(--text-700);
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent-500);
  color: var(--brand-900);
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  align-self: flex-start;
}

.card-row {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.services {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.service-item {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.price-tag {
  font-weight: 700;
  color: var(--brand-700);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-300);
  color: var(--brand-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.testimonials {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.testimonial {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.testimonial strong {
  color: var(--brand-700);
}

.cta-panel {
  background: var(--brand-900);
  color: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cta-panel p {
  color: var(--sand-100);
}

.footer {
  margin-top: auto;
  background: var(--brand-900);
  color: var(--sand-100);
}

.footer-inner {
  padding: 2.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--accent-500);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--brand-300);
  color: var(--brand-900);
  font-weight: 600;
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  bottom: 1.2rem;
  left: 1rem;
  right: 1rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  display: none;
  flex-direction: column;
  gap: 1rem;
  z-index: 20;
}

.cookie-banner.show {
  display: flex;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(11, 44, 58, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 30;
}

.cookie-modal.show {
  display: flex;
}

.cookie-dialog {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  width: min(640px, 100%);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  box-shadow: var(--shadow);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: var(--stone-100);
}

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.toggle button {
  width: 46px;
  height: 26px;
  border-radius: 999px;
  border: none;
  background: var(--brand-300);
  position: relative;
  cursor: pointer;
}

.toggle button::after {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  position: absolute;
  top: 3px;
  left: 4px;
  transition: transform 0.2s ease;
}

.toggle button[aria-checked="true"] {
  background: var(--brand-700);
}

.toggle button[aria-checked="true"]::after {
  transform: translateX(18px);
}

.page-hero {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-menu {
    display: none;
  }

  .hero {
    flex-direction: row;
    align-items: stretch;
  }

  .hero-card {
    flex: 1.1;
  }

  .hero-grid {
    flex: 0.9;
    justify-content: center;
  }

  .card-row {
    flex-direction: row;
  }

  .services {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .service-item {
    flex: 1 1 calc(50% - 1.5rem);
  }

  .testimonials {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .testimonial {
    flex: 1 1 calc(50% - 1.2rem);
  }

  .steps {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .step {
    flex: 1 1 calc(33% - 1rem);
  }

  .cookie-actions {
    flex-direction: row;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
  }
}
