:root {
  --red: #e23024;
  --red-dark: #bf2017;
  --ink: #20242a;
  --muted: #5f6673;
  --line: #e7e9ee;
  --paper: #ffffff;
  --soft: #f6f7f9;
  --soft-red: #fff1ef;
  --shadow: 0 18px 45px rgba(26, 31, 38, 0.10);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

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

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
}

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

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.topbar {
  background: var(--ink);
  color: #fff;
  font-size: 14px;
}

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

.topbar a {
  color: #fff;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

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

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #fff;
  background: var(--red);
  border-radius: 8px;
  font-weight: 900;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.menu-button {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--ink);
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
}

.site-nav > a,
.nav-dropdown summary {
  padding: 10px 12px;
  border-radius: var(--radius);
  cursor: pointer;
}

.site-nav > a:hover,
.nav-dropdown summary:hover {
  background: var(--soft-red);
  color: var(--red);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  list-style: none;
}

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

.dropdown-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 4px;
  min-width: 420px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.dropdown-panel a {
  padding: 9px 10px;
  border-radius: 6px;
}

.dropdown-panel a:hover {
  background: var(--soft);
}

.hero {
  padding: 92px 0 66px;
  background:
    linear-gradient(90deg, rgba(32, 36, 42, 0.94), rgba(32, 36, 42, 0.74)),
    var(--hero-image, linear-gradient(135deg, #23272d, #5b2220));
  background-size: cover;
  background-position: center;
  color: #fff;
}

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

.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  color: #ffd3cf;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  line-height: 1.12;
}

h1 {
  max-width: 860px;
  font-size: clamp(36px, 6vw, 70px);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(28px, 4vw, 42px);
}

h3 {
  font-size: 22px;
}

p {
  margin: 0 0 16px;
}

.lead {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 20px);
}

.hero-card {
  padding: 24px;
  color: var(--ink);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 16px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
}

.button.primary {
  background: var(--red);
  color: #fff;
}

.button.primary:hover {
  background: var(--red-dark);
  color: #fff;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.button.secondary:hover {
  border-color: #fff;
  color: #fff;
}

.button.light {
  border-color: var(--line);
  color: var(--ink);
}

.section {
  padding: 72px 0;
}

.section.soft {
  background: var(--soft);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading p {
  color: var(--muted);
  font-size: 18px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

.card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 16px;
}

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

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.stat {
  padding: 24px;
  background: #fff;
}

.stat strong {
  display: block;
  color: var(--red);
  font-size: 34px;
  line-height: 1;
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px;
  height: 14px;
  background: var(--red);
  border-radius: 50%;
}

.brand-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 900;
}

.brand-grid a span {
  color: var(--red);
}

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

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

.faq p {
  margin-top: 10px;
  color: var(--muted);
}

.reviews-section {
  padding: 72px 0;
  background: #fff;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.review-stars {
  color: var(--red);
  font-weight: 900;
  letter-spacing: 1px;
}

.review-empty {
  padding: 24px;
  background: var(--soft);
  border: 1px dashed #c8ced8;
  border-radius: var(--radius);
  color: var(--muted);
}

.cta-band {
  padding: 42px;
  color: #fff;
  background: var(--ink);
  border-radius: var(--radius);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.82);
}

.breadcrumbs {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.breadcrumbs a {
  color: #fff;
}

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

.side-card {
  position: sticky;
  top: 100px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.site-footer {
  padding: 48px 0 28px;
  color: #dfe3ea;
  background: #181b20;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 28px;
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
  font-size: 20px;
}

.site-footer a {
  color: #dfe3ea;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #aeb6c2;
  font-size: 14px;
}

.floating-call {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: none;
  padding: 13px 16px;
  color: #fff;
  background: var(--red);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(226, 48, 36, 0.30);
  font-weight: 900;
}

@media (max-width: 980px) {
  .menu-button {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 1px);
    display: none;
    align-items: stretch;
    flex-direction: column;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

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

  .dropdown-panel {
    position: static;
    min-width: 0;
    grid-template-columns: 1fr;
    margin-top: 6px;
    box-shadow: none;
  }

  .hero-grid,
  .service-layout,
  .grid.two,
  .grid.three,
  .grid.four,
  .reviews-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .side-card {
    position: static;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(var(--max), calc(100% - 28px));
  }

  .topbar .container {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 8px 0;
  }

  .header-inner {
    min-height: 70px;
  }

  .brand small {
    display: none;
  }

  .hero {
    padding: 58px 0 42px;
  }

  h1 {
    font-size: 38px;
  }

  .section {
    padding: 50px 0;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 28px;
  }

  .floating-call {
    display: inline-flex;
  }
}

/* Dynamic Review Styles */
.dynamic-reviews-grid {
  margin-top: 24px;
  animation: fadeIn 0.5s ease-in-out;
}

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

.review-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.review-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--soft), var(--line));
  color: var(--ink);
  font-weight: 900;
  font-size: 15px;
  border-radius: 50%;
  border: 1px solid var(--line);
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.review-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
  justify-content: center;
}

.review-author {
  color: var(--ink);
  font-weight: 800;
  font-size: 15px;
}

.review-time {
  color: var(--muted);
  font-size: 13px;
}

.review-stars {
  font-size: 18px;
  margin-bottom: 4px;
  color: #ffb400; /* Standard star color */
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.review-text {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
}

