:root {
  --bg: #f3f4f6;
  --bg-strong: #e8edf3;
  --surface: #ffffff;
  --ink: #161b23;
  --muted: #5b6472;
  --brand: #0f4c81;
  --brand-dark: #0a3458;
  --accent: #f09a24;
  --line: #dbe2eb;
  --shadow: 0 16px 40px rgba(7, 23, 44, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, #ffffff 0, #f5f6f9 40%, transparent 50%),
    radial-gradient(circle at 90% 20%, #eef4fb 0, #ebeff4 45%, transparent 60%),
    var(--bg);
  line-height: 1.6;
}

.site-shell {
  min-height: 100vh;
}

.top-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
}

.top-header-inner {
  width: min(1200px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.25rem;
  padding: 1.2rem 0;
}

.rating {
  margin: 0;
  font-weight: 700;
}

.rating-score {
  color: #ca8a04;
  margin-right: 0.25rem;
}

.stars {
  color: #f4b63f;
  letter-spacing: 0.05rem;
}

.reviews {
  color: var(--muted);
  text-decoration: underline;
  margin-left: 0.35rem;
  font-weight: 500;
}

.city {
  margin: 0.1rem 0 0.7rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  justify-self: center;
}

.logo-mark {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(140deg, var(--accent), #e14a13);
  box-shadow: 0 8px 24px rgba(225, 74, 19, 0.35);
}

.logo-text {
  display: grid;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
}

.logo-text span:first-child {
  font-family: "Bebas Neue", "Barlow Condensed", "Segoe UI", sans-serif;
  font-size: 3.2rem;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.logo-text span:last-child {
  color: var(--brand);
  font-family: "Bebas Neue", "Barlow Condensed", "Segoe UI", sans-serif;
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
}

.cta-block {
  justify-self: end;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.phone-label {
  margin: 0;
  font-weight: 700;
}

.phone-number {
  display: inline-block;
  margin-bottom: 0.6rem;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
}

.main-nav {
  border-top: 1px solid var(--line);
  background: linear-gradient(to bottom, #ffffff, #f8fafc);
}

.main-nav ul {
  width: min(1200px, 92%);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.8rem;
}

.main-nav a {
  display: inline-block;
  color: #222f3f;
  text-decoration: none;
  font-weight: 700;
  padding: 1rem 0;
  border-bottom: 3px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #d9481b;
  border-color: #d9481b;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(3, 28, 56, 0.78), rgba(1, 17, 36, 0.82)),
    url("https://images.unsplash.com/photo-1493238792000-8113da705763?auto=format&fit=crop&w=2000&q=80") center / cover no-repeat;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.25;
}

.hero::before {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, var(--accent), transparent 70%);
  top: -120px;
  left: -80px;
}

.hero::after {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #54a6ff, transparent 70%);
  right: -80px;
  bottom: -90px;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(860px, 92%);
  color: #fff;
  animation: slideUp 850ms ease forwards;
}

.hero-kicker {
  margin-bottom: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f3c35f;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
  text-wrap: balance;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  margin: 1rem auto 1.8rem;
  max-width: 700px;
  color: #e4ecf6;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.section {
  width: min(1100px, 92%);
  margin: 4.3rem auto;
}

.section-heading p {
  margin: 0;
  color: #a64f1f;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  font-size: 0.82rem;
}

.section-heading h2 {
  margin: 0.35rem 0 0.65rem;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.15;
  text-wrap: balance;
}

.section-copy {
  color: var(--muted);
  max-width: 780px;
}

.highlights {
  width: min(1100px, 92%);
  margin: -2.3rem auto 0;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.highlights article {
  background: var(--surface);
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

.highlights h2 {
  margin: 0;
  font-size: 1.1rem;
}

.highlights p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.service-grid,
.review-grid,
.contact-grid {
  display: grid;
  gap: 1rem;
}

.service-grid {
  grid-template-columns: repeat(3, 1fr);
}

.review-grid {
  grid-template-columns: repeat(3, 1fr);
}

.contact-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.review-card,
.contact-grid > div,
.financing {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

.card,
.review-card,
.contact-grid > div {
  padding: 1.25rem;
}

.card h3,
.review-card h3,
.contact-grid h3 {
  margin-top: 0;
}

.card p,
.review-card p,
.contact-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.financing {
  padding: 1.7rem;
  background:
    linear-gradient(160deg, #ffffff, #f4f8ff 55%, #fff8ef 100%);
}

.about {
  background: linear-gradient(135deg, #0d2238, #17385a);
  color: #fff;
  border: 0;
  border-radius: 1rem;
  padding: 1.7rem;
}

.about .section-heading p {
  color: #f3c35f;
}

.about .section-copy {
  color: #dbe6f4;
}

.contact a {
  color: var(--brand-dark);
  font-weight: 800;
}

.btn {
  display: inline-block;
  border: 0;
  border-radius: 0.7rem;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 150ms ease, background-color 160ms ease, color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-secondary {
  background: #8e9094;
  color: #fff;
}

.btn-outline {
  border: 2px solid #fff;
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
}

.footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 1.2rem;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 500ms ease, transform 500ms ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .top-header-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0.9rem;
  }

  .cta-block {
    justify-self: center;
    text-align: center;
  }

  .highlights,
  .service-grid,
  .review-grid,
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .main-nav ul {
    gap: 1rem;
    flex-wrap: wrap;
  }
}

@media (max-width: 700px) {
  .top-header {
    position: static;
  }

  .main-nav {
    width: min(1200px, 92%);
    margin: 0 auto;
    border-top: 0;
    background: transparent;
  }

  .menu-toggle {
    display: inline-flex;
    margin: 0.6rem 0;
    padding: 0.55rem 0.9rem;
    border-radius: 0.5rem;
    border: 1px solid var(--line);
    background: #fff;
    font-weight: 700;
  }

  .main-nav ul {
    display: none;
    margin-bottom: 0.8rem;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 0.8rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0.8rem;
    box-shadow: var(--shadow);
  }

  .main-nav.open ul {
    display: flex;
  }

  .main-nav a {
    padding: 0.45rem 0;
    border-bottom-width: 2px;
  }

  .hero {
    min-height: 500px;
  }

  .highlights,
  .service-grid,
  .review-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .phone-number {
    font-size: 1.35rem;
  }
}
