:root {
  --blue: #1e3a5f;
  --orange: #c2410c;
  --orange-dark: #9a3412;
  --steel: #4a5568;
  --sky: #5b8fa3;
  --sky-light: #d8edf5;
  --paper: #ffffff;
  --mist: #f7f9fb;
  --line: rgba(30, 58, 95, 0.18);
  --shadow: 0 24px 40px -18px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--mist);
  color: var(--steel);
  font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1300;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--paper);
  color: var(--blue);
  padding: 10px 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.container {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
}

.narrow {
  width: min(100% - 32px, 900px);
}

.section {
  padding: 80px 0;
  background: var(--paper);
}

.muted {
  background: var(--mist);
}

.section-dark {
  background: var(--blue);
  color: var(--paper);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 2px solid var(--orange);
  border-radius: 10px;
  background: var(--orange);
  color: var(--paper);
  padding: 12px 22px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--blue);
  color: var(--paper);
}

.section-dark .button:hover,
.section-dark .button:focus-visible {
  background: var(--paper);
  color: var(--blue);
}

.button-large {
  width: min(100%, 540px);
  min-height: 58px;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--paper);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
}

.header-inner {
  position: relative;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  color: var(--blue);
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
}

.brand strong {
  color: var(--orange);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--orange);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.primary-nav a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--orange);
}

.primary-nav .nav-button {
  color: var(--paper);
}

.primary-nav .nav-button:focus-visible {
  color: var(--paper);
}

.hero {
  border-radius: 0 0 10px 10px;
  overflow: hidden;
  padding: 80px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  align-items: center;
  gap: 56px;
}

.hero-copy {
  text-align: center;
}

.hero h1,
.final-cta h2 {
  margin: 0 0 24px;
  color: var(--paper);
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.08;
}

.hero p,
.final-cta p {
  margin: 0 auto 32px;
  color: var(--sky-light);
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
}

.before-after {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.before-after figure {
  margin: 0;
}

.before-after figcaption {
  margin-bottom: 8px;
  color: var(--sky-light);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.before-after img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px;
  background: var(--steel);
}

.problem-grid,
.team-grid,
.pricing-grid,
.process-grid,
.case-grid,
.footer-grid {
  display: grid;
  gap: 32px;
}

.problem-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  text-align: center;
}

.icon,
.step-icon {
  display: inline-grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: 20px;
  border-radius: 10px;
  background: var(--orange);
  color: var(--paper);
  font-size: 1.6rem;
  font-weight: 800;
}

.icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.problem-grid h3,
.team-member h3,
.process-grid h3 {
  margin: 0 0 12px;
  color: var(--blue);
  line-height: 1.2;
}

.callout {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 64px;
  border-radius: 10px;
  background: var(--orange);
  color: var(--paper);
  padding: 14px 22px;
  text-align: center;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
}

.team-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
}

.team-member {
  text-align: center;
}

.team-member img {
  width: 192px;
  height: 192px;
  margin: 0 auto 24px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--steel);
}

.role {
  margin-top: 0;
  color: var(--orange);
  font-size: 1.15rem;
}

.section-heading {
  margin-bottom: 56px;
  text-align: center;
}

.section-heading h2 {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.12;
  text-decoration: underline;
}

.section-heading p {
  margin: 0;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: 32px;
}

.price-card.featured {
  border-color: var(--orange);
  box-shadow: 0 30px 50px -18px rgba(0, 0, 0, 0.35);
}

.badge,
.case-label {
  display: inline-block;
  border-radius: 10px;
  background: var(--orange);
  color: var(--paper);
  padding: 4px 14px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.price-card h3 {
  margin: 0 0 8px;
  color: var(--steel);
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price {
  margin: 0;
  color: var(--blue);
  font-size: clamp(2.25rem, 4vw, 3rem);
  line-height: 1.1;
}

.maintenance {
  margin: 8px 0 20px;
}

.price-card ul {
  flex: 1;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.price-card li {
  margin: 0 0 10px;
}

.group-label {
  margin-top: 18px;
  color: var(--orange);
  font-size: 1.1rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--blue);
  text-underline-offset: 4px;
}

.price-card .button {
  width: 100%;
  font-size: 1.25rem;
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  text-align: center;
}

.process-grid article {
  position: relative;
}

.process-grid article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 34px;
  left: calc(50% + 48px);
  width: calc(100% - 96px);
  height: 2px;
  background: var(--sky);
}

.step-icon {
  position: relative;
  z-index: 1;
  border-radius: 50%;
  background: var(--blue);
}

.case-study,
.legal article {
  border-radius: 10px;
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 48px);
}

.case-study {
  text-align: center;
}

.case-study h2 {
  margin: 16px 0 32px;
  color: var(--blue);
  font-size: clamp(1.75rem, 4vw, 2.2rem);
}

.case-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  text-align: left;
}

.case-grid h3 {
  color: var(--orange);
}

.case-grid div:last-child h3 {
  color: var(--sky);
}

.case-grid ul {
  margin: 0;
  padding-left: 22px;
}

.result-list li::marker {
  color: var(--sky);
}

blockquote {
  margin: 32px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  color: var(--blue);
  font-size: 1.15rem;
  font-weight: 800;
}

cite {
  display: block;
  margin-top: 12px;
  color: var(--steel);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 400;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: 0 16px 30px -22px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.faq-item:focus-within {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.24), 0 16px 30px -22px rgba(0, 0, 0, 0.45);
}

.faq-item h3 {
  margin: 0;
  color: var(--blue);
  font-size: 1rem;
}

.faq-item button {
  width: 100%;
  border: 0;
  background: var(--paper);
  color: var(--blue);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font: inherit;
  font-weight: 800;
}

.faq-item button::after {
  content: "+";
  color: var(--orange);
  font-size: 1.4rem;
  line-height: 1;
}

.faq-item.open button::after {
  content: "-";
}

.faq-item button:hover,
.faq-item button:focus-visible {
  background: var(--mist);
}

.faq-item p {
  margin: 0;
  border-top: 1px solid rgba(30, 58, 95, 0.1);
  color: var(--blue);
  padding: 18px 24px 22px;
}

.faq-item p[hidden] {
  display: none;
}

.legal .narrow {
  display: grid;
  gap: 32px;
}

.legal h2 {
  margin: 0 0 16px;
  color: var(--blue);
}

.legal a {
  color: var(--blue);
  font-weight: 800;
}

.legal a:hover,
.legal a:focus-visible {
  color: var(--orange);
}

.final-cta {
  padding: 80px 0;
  text-align: center;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px 64px;
  margin-top: 48px;
  margin-bottom: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 32px;
  padding-left: 0;
  color: var(--paper);
  list-style: none;
}

.trust-row li {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.trust-row svg {
  width: 34px;
  height: 34px;
  fill: none;
  color: var(--sky-light);
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer {
  background: var(--steel);
  color: var(--paper);
  padding: 48px 0 32px;
}

.footer-grid {
  grid-template-columns: 2fr 1fr 1fr;
  margin-bottom: 32px;
}

.site-footer h2 {
  margin: 0 0 14px;
  font-size: 1.2rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 14px;
}

.site-footer a {
  color: var(--paper);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--orange);
}

.site-footer p {
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 24px;
  font-size: 0.95rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom div {
  display: flex;
  gap: 20px;
}

.cookie-banner {
  position: fixed;
  z-index: 1200;
  left: 50%;
  bottom: 16px;
  width: min(calc(100% - 32px), 760px);
  transform: translateX(-50%);
  border: 1px solid rgba(74, 85, 104, 0.2);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  padding: 16px;
}

.cookie-banner p {
  margin: 0 0 12px;
}

.cookie-banner h2 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 1.1rem;
}

.cookie-banner div {
  display: flex;
  gap: 12px;
}

.cookie-banner button {
  border-radius: 10px;
  border: 1px solid var(--blue);
  background: var(--paper);
  color: var(--blue);
  cursor: pointer;
  padding: 10px 16px;
  font: inherit;
  font-weight: 800;
}

.cookie-banner button:first-child {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--paper);
}

.cookie-banner button:hover,
.cookie-banner button:focus-visible {
  background: var(--mist);
}

.cookie-banner button:first-child:hover,
.cookie-banner button:first-child:focus-visible {
  background: var(--orange-dark);
}

@media (max-width: 900px) {
  .section,
  .hero,
  .final-cta {
    padding: 64px 0;
  }

  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    display: none;
    width: min(320px, calc(100vw - 32px));
    flex-direction: column;
    align-items: stretch;
    border: 2px solid var(--orange);
    border-radius: 10px;
    background: var(--paper);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
    padding: 16px;
    text-align: center;
  }

  .primary-nav.open {
    display: flex;
  }

  .hero-grid,
  .problem-grid,
  .team-grid,
  .pricing-grid,
  .process-grid,
  .case-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .process-grid article:not(:last-child)::after {
    display: none;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .brand {
    max-width: calc(100vw - 96px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .before-after {
    grid-template-columns: 1fr;
  }

  .price-card {
    padding: 28px 22px;
  }
}
