:root {
  --primary: #123659;
  --secondary: #1A374E;
  --dark: #12273A;
  --gray: #627480;
  --white: #FFFFFF;
  --bg: #F4F7FA;
  --accent: #E9EFF4;
  --shadow: 0 20px 50px rgba(18, 39, 58, 0.12);
  --radius: 18px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--dark);
  background: linear-gradient(180deg, #FFFFFF 0%, #F6F8FA 100%);
  line-height: 1.6;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--secondary);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid rgba(18, 54, 89, 0.6);
  outline-offset: 2px;
}

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

p {
  margin: 0 0 1rem;
}

h1, h2, h3, h4 {
  margin: 0 0 1rem;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

h3 {
  font-size: 1.3rem;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.section--light {
  background: var(--bg);
}

.section-header {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-actions {
  margin-top: 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--primary);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 999;
}

.skip-link:focus {
  left: 10px;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(18, 39, 58, 0.08);
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.logo img {
  height: 40px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link {
  color: var(--dark);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 4px;
  position: relative;
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 3px;
  background: var(--primary);
  border-radius: 999px;
}

.nav-cta {
  background: var(--primary);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 999px;
}

.nav-cta:hover {
  color: var(--white);
  background: var(--secondary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle__line {
  width: 24px;
  height: 2px;
  background: var(--dark);
}

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

.hero {
  padding: 96px 0 72px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top right, rgba(18, 54, 89, 0.12), transparent 60%),
              radial-gradient(circle at 10% 20%, rgba(26, 55, 78, 0.12), transparent 55%);
}

.hero--compact {
  padding: 80px 0 64px;
}

.hero-inner {
  display: grid;
  gap: 48px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.hero-content {
  max-width: 560px;
}

.hero-lead {
  font-size: 1.2rem;
  color: var(--gray);
}

.hero-sub {
  font-size: 1rem;
  color: var(--gray);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.hero-badges span {
  background: var(--accent);
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.hero-panel__card {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-panel__note {
  margin-top: 16px;
  font-weight: 600;
  color: var(--secondary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 16px 30px rgba(18, 54, 89, 0.25);
}

.btn--primary:hover {
  transform: translateY(-2px);
  color: var(--white);
}

.btn--ghost {
  border-color: rgba(18, 39, 58, 0.2);
  color: var(--primary);
  background: var(--white);
}

.btn--ghost:hover {
  transform: translateY(-2px);
}

.btn--text {
  padding: 0;
  border: none;
  color: var(--primary);
  background: none;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 20px 40px rgba(18, 39, 58, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-media img {
  width: 100%;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  background: var(--accent);
}

.card-content p {
  color: var(--gray);
}

.card-actions {
  margin-top: 16px;
}

.icon-list {
  display: grid;
  gap: 20px;
}

.icon-list__item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: start;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 16px;
  box-shadow: 0 12px 24px rgba(18, 39, 58, 0.08);
}

.icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent);
  position: relative;
}

.icon::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--primary);
}

.trust-section {
  background: linear-gradient(135deg, rgba(18, 54, 89, 0.08), rgba(18, 39, 58, 0.02));
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin-bottom: 32px;
}

.trust-stat {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 18px;
  text-align: center;
  box-shadow: 0 12px 24px rgba(18, 39, 58, 0.08);
}

.trust-stat__value {
  font-size: 1.4rem;
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
}

.trust-stat__label {
  color: var(--gray);
  font-size: 0.9rem;
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.logo-placeholder {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 18px;
  text-align: center;
  color: var(--gray);
  border: 1px dashed rgba(18, 39, 58, 0.2);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.testimonial {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 20px;
  box-shadow: 0 12px 24px rgba(18, 39, 58, 0.08);
}

.testimonial__quote {
  font-weight: 600;
}

.testimonial__name {
  color: var(--gray);
  font-size: 0.9rem;
}

.bullet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  list-style: none;
  padding: 0;
}

.bullet-grid li {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  box-shadow: 0 12px 24px rgba(18, 39, 58, 0.06);
  position: relative;
}

.bullet-grid li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.bullet-grid li {
  padding-left: 30px;
}

.pricing-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.pricing-card .price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}

.price-note {
  margin-top: 16px;
  color: var(--gray);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  counter-reset: step;
  list-style: none;
  padding: 0;
}

.process-step {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 18px;
  box-shadow: 0 12px 24px rgba(18, 39, 58, 0.08);
  position: relative;
}

.process-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  right: 16px;
  top: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

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

.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 16px;
  box-shadow: 0 12px 24px rgba(18, 39, 58, 0.08);
}

.faq-item summary {
  font-weight: 600;
  cursor: pointer;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.contact-info-card {
  margin-top: 24px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 18px;
  box-shadow: 0 12px 24px rgba(18, 39, 58, 0.08);
}

.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}

.field input,
.field textarea,
.field select {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(18, 39, 58, 0.2);
  font-size: 1rem;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 2px solid rgba(18, 54, 89, 0.3);
}

.field-error {
  color: #B3261E;
  font-size: 0.85rem;
}

.hidden {
  display: none;
}

.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.alert--success {
  background: #E6F4EA;
  color: #1E4620;
}

.alert--error {
  background: #FCE8E6;
  color: #B3261E;
}

.form-note {
  font-size: 0.85rem;
  color: var(--gray);
}

.cta-section {
  background: linear-gradient(135deg, rgba(18, 54, 89, 0.12), rgba(255, 255, 255, 0.8));
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-teaser__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.callout {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 24px;
  box-shadow: 0 12px 24px rgba(18, 39, 58, 0.08);
}

.highlight-card {
  margin-top: 24px;
}

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

.site-footer a {
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.footer-grid ul {
  display: grid;
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.link-button {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 0;
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 20px;
  z-index: 200;
}

.cookie-banner__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(18, 39, 58, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 20px;
}

.cookie-modal__dialog {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 520px;
  width: 100%;
  position: relative;
}

.cookie-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
}

.cookie-form {
  display: grid;
  gap: 12px;
}

.cookie-form__actions {
  margin-top: 8px;
}

.reveal {
  animation: fadeUp 0.6s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-nav {
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    background: var(--white);
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    display: none;
    box-shadow: 0 20px 40px rgba(18, 39, 58, 0.12);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 720px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 56px 0;
  }

  .hero {
    padding: 72px 0 56px;
  }

  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto;
  }
}
