:root {
  --blue: #1688c4;
  --blue-dark: #0a5c87;
  --black: #050505;
  --ink: #111111;
  --muted: #555f68;
  --line: #e7edf2;
  --soft: #f5f8fb;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--white);
  line-height: 1.45;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.topbar {
  background: var(--black);
  color: var(--white);
  font-weight: 700;
}

.topbar .container {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid #eeeeee;
}

.site-header .container {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border: 4px solid var(--blue);
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--blue);
  position: relative;
  background:
    radial-gradient(circle, var(--white) 0 16%, var(--blue) 17% 25%, transparent 26%),
    repeating-conic-gradient(from 8deg, var(--blue) 0 8deg, transparent 8deg 18deg);
  box-shadow: inset 0 0 0 5px var(--white), inset 0 0 0 9px var(--blue);
}

.brand-mark::before {
  content: "";
  width: 22px;
  height: 22px;
  border: 4px solid currentColor;
  background: var(--white);
  border-radius: 999px;
  box-shadow:
    0 -13px 0 -8px currentColor,
    11px -6px 0 -8px currentColor,
    11px 6px 0 -8px currentColor,
    0 13px 0 -8px currentColor,
    -11px 6px 0 -8px currentColor,
    -11px -6px 0 -8px currentColor;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 2px solid currentColor;
  border-radius: 999px;
}

.brand-text {
  display: grid;
  line-height: 1.05;
  text-transform: uppercase;
  font-size: 17px;
}

.brand-text span {
  color: var(--blue);
  text-transform: none;
  font-size: 13px;
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.main-nav a,
.main-nav summary {
  padding: 14px 0;
  cursor: pointer;
}

.main-nav a:hover,
.main-nav summary:hover {
  color: var(--blue);
}

.dropdown {
  position: relative;
}

.dropdown summary {
  list-style: none;
}

.dropdown summary::-webkit-details-marker {
  display: none;
}

.dropdown summary::after {
  content: "v";
  margin-left: 7px;
  font-size: 10px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  z-index: 20;
}

.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  white-space: nowrap;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.95fr);
  min-height: 390px;
  overflow: hidden;
}

.hero-photo {
  position: relative;
  min-height: 390px;
}

.hero-photo img,
.hero-side-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  left: 22%;
  top: 22%;
  width: 158px;
  height: 158px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.1;
}

.hero-badge strong {
  display: block;
  font-size: 34px;
}

.hero-offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 95px;
  background: var(--white);
}

.offer-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 36px 24px;
}

.mini-mark {
  width: 52px;
  height: 52px;
  border: 4px solid var(--blue);
  border-radius: 999px;
  margin-bottom: 12px;
  background:
    radial-gradient(circle, var(--white) 0 16%, var(--blue) 17% 25%, transparent 26%),
    repeating-conic-gradient(from 8deg, var(--blue) 0 8deg, transparent 8deg 18deg);
  box-shadow: inset 0 0 0 6px var(--white), inset 0 0 0 10px var(--blue);
}

.offer-panel p {
  margin: 0 0 10px;
  font-size: 15px;
}

.offer-panel h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.08;
  font-weight: 400;
  text-transform: uppercase;
}

.offer-panel h1 span {
  color: var(--blue);
}

.offer-panel .call {
  margin: 10px 0 22px;
  color: var(--blue);
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 28px;
  border-radius: 999px;
  border: 0;
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.btn:hover {
  background: var(--blue-dark);
}

.btn.dark {
  background: var(--black);
}

.ticker {
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  font-weight: 800;
  text-transform: uppercase;
}

.ticker span {
  display: block;
  width: max-content;
  padding: 12px 0;
  animation: ticker 22s linear infinite;
}

@keyframes ticker {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

.benefits {
  padding: 34px 0 28px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  text-align: center;
}

.benefit-icon {
  width: 48px;
  height: 38px;
  margin: 0 auto 10px;
  color: var(--blue);
  position: relative;
}

.benefit-icon::before {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: 8px;
  height: 24px;
  border-radius: 8px 8px 4px 4px;
  background: currentColor;
}

.benefit-icon::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 10px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: -14px 0 0 currentColor, 14px 0 0 currentColor;
}

.split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 22px auto 60px;
}

.blue-panel {
  background: var(--blue);
  color: var(--white);
  padding: clamp(28px, 4vw, 48px);
}

.blue-panel h2,
.blue-panel h3 {
  margin: 0 0 18px;
  font-size: 27px;
  line-height: 1.15;
}

.blue-panel p {
  margin: 0 0 16px;
  font-weight: 700;
}

.split-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section {
  padding: 54px 0;
}

.section-title {
  margin: 0 0 26px;
  text-align: center;
  font-size: 28px;
  text-transform: uppercase;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 42px 88px;
}

.service-card {
  text-align: center;
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 8.5;
  object-fit: cover;
}

.service-card h3 {
  margin: 14px 0 6px;
  font-size: 18px;
}

.service-card p {
  margin: 0 auto 8px;
  max-width: 420px;
  color: var(--muted);
  font-size: 14px;
}

.service-card a {
  color: var(--blue);
  font-weight: 800;
  font-size: 13px;
}

.contact-band {
  background: var(--soft);
  padding: 58px 0;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  align-items: stretch;
  justify-content: center;
}

.quote-form {
  background: var(--blue);
  color: var(--white);
  padding: 24px;
}

.quote-form h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.quote-form label {
  display: block;
  margin: 10px 0 5px;
  font-size: 12px;
  font-weight: 800;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  border: 0;
  padding: 11px 12px;
  font: inherit;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.quote-form textarea {
  min-height: 84px;
  resize: vertical;
}

.quote-form .btn {
  margin-top: 14px;
}

.contact-image img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

.reviews {
  background: linear-gradient(rgba(4, 20, 28, 0.76), rgba(4, 20, 28, 0.76)), url("../img/flywheel-detail.jpg") center / cover;
  color: var(--white);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.review-card {
  background: var(--white);
  color: var(--ink);
  min-height: 150px;
  padding: 30px 24px;
  text-align: center;
  border-right: 1px solid #202020;
}

.review-card strong {
  display: block;
  margin-top: 12px;
}

.faq-wrap {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 58px;
  align-items: start;
}

.faq-wrap img {
  width: 100%;
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  font-weight: 800;
  cursor: pointer;
}

.faq-list summary::after {
  content: "+";
  color: var(--black);
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0 0 18px;
  color: var(--muted);
}

.site-footer {
  background: #1d1d1d;
  color: var(--white);
  padding: 34px 0;
}

.site-footer .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
}

.footer-links {
  display: flex;
  justify-content: end;
  gap: 18px;
  font-size: 12px;
  text-decoration: underline;
}

.page-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.48)), url("../img/hero-clutch.jpg") center / cover;
  color: var(--white);
  min-height: 300px;
  display: flex;
  align-items: center;
}

.page-hero p {
  margin: 16px 0 0;
  max-width: 620px;
  font-size: 18px;
  font-weight: 700;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 48px;
  align-items: start;
}

.content h2 {
  font-size: 30px;
  margin: 0 0 16px;
}

.content h3 {
  font-size: 22px;
  margin: 28px 0 10px;
}

.content p,
.content li {
  color: var(--muted);
}

.tick-list {
  padding: 0;
  list-style: none;
}

.tick-list li {
  padding: 9px 0 9px 28px;
  position: relative;
  border-bottom: 1px solid var(--line);
}

.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: var(--blue);
}

.sidebar-card {
  background: var(--blue);
  color: var(--white);
  padding: 28px;
}

.sidebar-card h2 {
  margin: 0 0 12px;
}

.sidebar-card p {
  color: var(--white);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.price-table th,
.price-table td {
  border: 1px solid var(--line);
  padding: 14px;
  text-align: left;
}

.price-table th {
  background: var(--soft);
}

@media (max-width: 860px) {
  .topbar .container,
  .site-header .container {
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
    text-align: center;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
  }

  .dropdown-menu {
    left: 50%;
    transform: translateX(-50%);
  }

  .hero,
  .hero-offer,
  .split-feature,
  .contact-wrap,
  .faq-wrap,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .hero-side-img {
    display: none;
  }

  .hero-badge {
    left: 50%;
    transform: translateX(-50%);
  }

  .benefit-grid,
  .service-grid,
  .review-grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 22px, 1060px);
  }

  .benefit-grid,
  .service-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .offer-panel h1,
  .page-hero h1 {
    font-size: 34px;
  }

  .hero-photo {
    min-height: 300px;
  }

  .hero-badge {
    width: 138px;
    height: 138px;
  }
}
