:root {
  --navy: #123456;
  --red: #D62828;
  --white: #FFFFFF;
  --light: #F5F5F5;
  --dark: #333333;
  --muted: #6C7480;
  --border: rgba(18, 52, 86, 0.12);
  --shadow: 0 18px 50px rgba(18, 52, 86, 0.14);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  max-width: 100%;
  display: block;
}

p,
h1,
h2,
h3,
h4 {
  overflow-wrap: anywhere;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.navbar {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  color: var(--navy);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
  color: var(--navy);
  font-weight: 600;
}

.nav-menu a:not(.btn) {
  position: relative;
}

.nav-menu a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.25s ease;
}

.nav-menu a:not(.btn):hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border: 2px solid var(--red);
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 12px 28px rgba(214, 40, 40, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(214, 40, 40, 0.28);
}

.btn-small {
  min-height: 44px;
  padding: 11px 18px;
  font-size: 0.93rem;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(18, 52, 86, 0.96), rgba(18, 52, 86, 0.78)),
    radial-gradient(circle at 75% 30%, rgba(214, 40, 40, 0.48), transparent 36%),
    linear-gradient(135deg, #0b1e32 0%, #123456 52%, #1b4a78 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(115deg, transparent 0 48%, rgba(255, 255, 255, 0.32) 48% 49%, transparent 49% 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 2px, transparent 2px 72px);
  transform: skewY(-4deg) scale(1.2);
}

.hero-overlay {
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 560px;
  height: 560px;
  border: 80px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffb3b3;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  line-height: 1.08;
}

.hero h1 {
  max-width: 850px;
  color: var(--white);
  font-size: clamp(2.45rem, 7vw, 5rem);
  letter-spacing: -0.06em;
}

.hero p {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.06rem;
}

.hero-subtitle {
  font-size: clamp(1.15rem, 2vw, 1.35rem) !important;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.hero-card {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.hero-card h2 {
  margin-top: 18px;
  color: var(--white);
  font-size: 1.75rem;
}

.hero-card p {
  margin-top: 14px;
}

.hero-card ul,
.pricing-card ul {
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.hero-card li,
.pricing-card li {
  position: relative;
  padding-left: 28px;
  margin-top: 12px;
}

.hero-card li::before,
.pricing-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}

.hero-icon {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: rgba(214, 40, 40, 0.92);
  color: var(--white);
}

.hero-icon svg,
.card-icon svg {
  width: 42px;
  height: 42px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.04em;
}

.about,
.pricing {
  background: var(--light);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: 44px;
  align-items: start;
}

.about-text {
  padding: 34px;
  border-left: 5px solid var(--red);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.about-text p:first-child {
  margin-top: 0;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.advantages {
  display: grid;
  gap: 18px;
}

.cards-grid {
  display: grid;
  gap: 22px;
}

.services-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.feature-card,
.service-card,
.step-card,
.pricing-card,
.contact-info,
.contact-form {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 36px rgba(18, 52, 86, 0.08);
}

.feature-card,
.service-card,
.step-card {
  padding: 26px;
}

.service-card {
  min-height: 270px;
}

.feature-card h3,
.service-card h3,
.step-card h3,
.pricing-card h3,
.contact-info h3 {
  margin-top: 18px;
  font-size: 1.22rem;
}

.feature-card p,
.service-card p,
.pricing-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.card-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(214, 40, 40, 0.1);
  color: var(--red);
}

.service-card,
.feature-card,
.pricing-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover,
.feature-card:hover,
.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 38px;
}

.process {
  background:
    linear-gradient(180deg, rgba(18, 52, 86, 0.03), rgba(18, 52, 86, 0)),
    var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.step-card {
  position: relative;
  overflow: hidden;
}

.step-card::after {
  content: "";
  position: absolute;
  right: -38px;
  top: -38px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(18, 52, 86, 0.06);
}

.step-number {
  display: inline-flex;
  padding: 7px 12px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.pricing-card {
  position: relative;
  padding: 34px;
}

.pricing-card.featured {
  border-color: rgba(214, 40, 40, 0.36);
  box-shadow: 0 22px 60px rgba(214, 40, 40, 0.14);
}

.badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(214, 40, 40, 0.1);
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
}

.price {
  margin: 22px 0;
  color: var(--red);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.pricing-note {
  max-width: 760px;
  margin: 30px auto 0;
  color: var(--muted);
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
  gap: 30px;
  align-items: start;
}

.contact-info,
.contact-form {
  padding: 34px;
}

.contact-info h3 {
  margin-top: 0;
  margin-bottom: 24px;
}

dl {
  margin: 0;
}

dl div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

dt {
  color: var(--navy);
  font-weight: 800;
}

dd {
  margin: 0;
  color: var(--muted);
}

.contact-info a {
  color: var(--red);
  font-weight: 700;
}

.hours {
  margin-top: 28px;
  padding: 22px;
  border-radius: 18px;
  background: var(--light);
}

.hours h4 {
  margin: 0 0 12px;
  color: var(--navy);
}

.hours p {
  margin: 8px 0;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row.full,
.form-submit,
.success-message {
  grid-column: 1 / -1;
}

label {
  color: var(--navy);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  color: var(--dark);
  background: var(--white);
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
  resize: vertical;
  min-height: 150px;
}

input:focus,
textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(214, 40, 40, 0.12);
}

.form-submit {
  border: 0;
  cursor: pointer;
}

.success-message {
  display: none;
  margin: 0;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(18, 52, 86, 0.08);
  color: var(--navy);
  font-weight: 700;
}

.success-message.is-visible {
  display: block;
}

.footer {
  padding: 58px 0 26px;
  background: #0b2035;
  color: rgba(255, 255, 255, 0.82);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.8fr;
  gap: 36px;
}

.footer h2 {
  color: var(--white);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.footer address {
  font-style: normal;
}

.footer a:hover {
  color: var(--white);
}

.footer-links {
  display: grid;
  gap: 12px;
}

.copyright {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.95rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .section {
    padding: 74px 0;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .nav-menu {
    position: fixed;
    inset: 78px 0 auto 0;
    display: grid;
    gap: 0;
    padding: 14px 20px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu a {
    padding: 14px 0;
  }

  .nav-menu .btn {
    margin-top: 10px;
  }

  .hero {
    min-height: auto;
    padding-top: 86px;
  }

  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 560px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .navbar {
    min-height: 72px;
  }

  .logo {
    font-size: 0.96rem;
    white-space: normal;
  }

  .nav-menu {
    inset: 72px 0 auto 0;
  }

  html {
    scroll-padding-top: 78px;
  }

  .hero {
    padding-top: 66px;
  }

  .hero-actions,
  .center-action {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .services-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .contact-info,
  .about-text,
  .hero-card,
  .pricing-card {
    padding: 24px;
  }

  dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .price {
    font-size: 2.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
