:root {
  --ink: #16232b;
  --muted: #60727c;
  --line: #d9e5e4;
  --paper: #ffffff;
  --soft: #f4f8f7;
  --brand: #0b4a5e;
  --brand-2: #14908b;
  --accent: #d8aa52;
  --danger: #b54435;
  --deep: #0d2732;
  --shadow: 0 22px 50px rgba(15, 36, 45, 0.14);
  --soft-shadow: 0 12px 30px rgba(15, 36, 45, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

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

.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}

.topbar a,
.topbar span {
  opacity: 0.92;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 23px;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  width: 200px;
  height: 70px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #243743;
  font-size: 15px;
}

.nav-links a:not(.nav-cta) {
  position: relative;
}

.nav-links a:not(.nav-cta)::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav-links a:not(.nav-cta):hover::after {
  transform: scaleX(1);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--soft-shadow);
}

.nav-cta {
  color: #fff;
  background: var(--brand);
}

.button {
  border: 1px solid transparent;
}

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

.ghost {
  color: var(--brand);
  background: #fff;
  border-color: var(--line);
}

.menu-toggle {
  display: none;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--brand);
  background: #fff;
  font-weight: 700;
}

.hero {
  min-height: 680px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(3, 47, 102, 0.98) 0%, rgba(7, 83, 153, 0.92) 38%, rgba(10, 99, 174, 0.46) 62%, rgba(10, 99, 174, 0.1) 100%),
    url("assets/roi-hero-family-car-v1.jpg") 68% center/cover no-repeat;
  color: #fff;
}

.hero-grid {
  display: flex;
  align-items: center;
  padding: 68px 0 84px;
}

.hero-copy {
  width: min(610px, 58%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(42px, 5.6vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.2;
}

.lead {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 26px;
}

.hero-actions .primary {
  background: var(--accent);
  color: #17212a;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.section {
  padding: 92px 0;
}

.stats-band {
  padding: 0;
  background: #fff;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  transform: translateY(-42px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.stats div {
  min-height: 118px;
  padding: 28px;
  background: #fff;
  border-right: 1px solid var(--line);
}

.stats div:last-child {
  border-right: 0;
}

.stats strong {
  display: block;
  margin-bottom: 6px;
  color: var(--brand);
  font-size: 28px;
}

.stats span {
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading.left {
  text-align: left;
  margin-bottom: 0;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  min-height: 390px;
  padding: 18px 24px 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--brand), var(--brand-2), var(--accent));
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(20, 144, 139, 0.36);
}

.service-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 185px;
  margin-bottom: 22px;
  border-radius: 10px;
  background: linear-gradient(145deg, #f2f8fc, #edf6f8);
  overflow: hidden;
}

.service-media img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  transition: transform 220ms ease;
}

.service-card:hover .service-media img {
  transform: scale(1.04);
}

.service-card p,
.info-list p,
.about-copy p,
.quote p,
.contact p,
.footer p {
  color: var(--muted);
}

.agency-section {
  background: #eaf4fb;
}

.agency-section .section-heading {
  margin-bottom: 40px;
}

.agency-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
}

.agency-grid li {
  min-width: 0;
  min-height: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 18px 14px;
  border: 1px solid rgba(11, 74, 94, 0.1);
  border-radius: 8px;
  color: var(--brand);
  background: #fff;
  box-shadow: 0 10px 26px rgba(21, 74, 104, 0.07);
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.agency-grid li:hover {
  transform: translateY(-3px);
  border-color: rgba(11, 120, 189, 0.28);
  box-shadow: 0 16px 32px rgba(21, 74, 104, 0.12);
}

.agency-grid img {
  display: block;
  width: auto;
  height: auto;
  max-width: 88%;
  max-height: 70px;
  object-fit: contain;
}

.agency-grid strong {
  max-width: 100%;
  font-size: 17px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.agency-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.agency-grid .compact strong {
  font-size: 14px;
}

.info-section {
  background:
    linear-gradient(180deg, rgba(244, 248, 247, 0.94), rgba(244, 248, 247, 1)),
    radial-gradient(circle at 14% 20%, rgba(216, 170, 82, 0.18), transparent 24%);
}

.info-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 48px;
  align-items: start;
}

.info-list {
  display: grid;
  gap: 14px;
}

.info-list article {
  padding: 24px;
  border-left: 4px solid var(--brand-2);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.process {
  background:
    linear-gradient(180deg, #ffffff 0%, #f5f9f8 100%);
  overflow: hidden;
}

.process .section-heading {
  margin-bottom: 46px;
}

.process .section-heading h2 {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(30px, 4vw, 52px);
}

.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.process-grid article {
  position: relative;
  min-height: 260px;
  padding: 34px 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--soft-shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.process-grid article:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -29px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  content: "→";
  color: #fff;
  background: var(--brand-2);
  box-shadow: 0 10px 22px rgba(20, 144, 139, 0.24);
  transform: translateY(-50%);
  font-weight: 900;
}

.process-grid article:hover {
  transform: translateY(-5px);
  border-color: rgba(20, 144, 139, 0.32);
  box-shadow: var(--shadow);
}

.process-grid span {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border: 6px solid #fff;
  border-radius: 16px;
  color: var(--brand);
  background: linear-gradient(135deg, #eef8f7, #fff7e8);
  box-shadow: 0 14px 28px rgba(15, 36, 45, 0.12);
  font-size: 24px;
  font-weight: 900;
}

.process-grid h3 {
  font-size: 24px;
}

.process-grid p {
  color: var(--muted);
}

.about {
  background:
    linear-gradient(135deg, rgba(13, 39, 50, 0.96), rgba(13, 39, 50, 0.9)),
    url("https://images.unsplash.com/photo-1521791055366-0d553872125f?auto=format&fit=crop&w=1600&q=80") center/cover;
  color: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}

.about-panel {
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.about-copy p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  gap: 52px;
  align-items: start;
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  background: #fff;
}

.quote-form label {
  display: grid;
  gap: 7px;
  color: #344650;
  font-weight: 700;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #cbd8dc;
  border-radius: 10px;
  color: var(--ink);
  font: inherit;
}

.quick-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.quick-contact a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 10px;
  background: #e9f4f3;
  color: var(--brand);
  font-weight: 800;
}

.quote-form textarea {
  resize: vertical;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-details {
  display: grid;
  gap: 14px;
}

.contact-details a,
.contact-details span {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-weight: 700;
}

.footer {
  padding: 42px 0 28px;
  color: #d7e4e8;
  background: #0a1d27;
}

.footer-grid,
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-grid {
  align-items: flex-start;
  padding-bottom: 28px;
}

.footer strong {
  color: #fff;
  font-size: 22px;
}

.footer-logo {
  display: block;
  width: 220px;
  height: 88px;
  border-radius: 6px;
  object-fit: contain;
}

.footer p {
  max-width: 360px;
  color: #a9bac1;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-actions {
  display: grid;
  justify-items: end;
  gap: 18px;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-social a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  font-weight: 700;
  transition: background 180ms ease, border-color 180ms ease;
}

.footer-social a:hover {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.14);
}

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #95a9b1;
  font-size: 14px;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 8;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: #168f5a;
  box-shadow: 0 12px 30px rgba(20, 33, 43, 0.24);
  font-weight: 800;
}

@media (max-width: 900px) {
  .topbar-inner {
    justify-content: center;
    flex-wrap: wrap;
    padding: 8px 0;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
  }

  .nav {
    position: relative;
  }

  .nav-links {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: grid;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(90deg, rgba(3, 47, 102, 0.97), rgba(7, 83, 153, 0.86)),
      url("assets/roi-hero-family-car-v1.jpg") 64% center/cover no-repeat;
  }

  .hero-grid,
  .info-layout,
  .about-grid,
  .quote-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    width: min(680px, 100%);
  }

  .service-grid,
  .stats,
  .process-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

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

  .process .section-heading {
    text-align: left;
  }

  .process-grid article {
    min-height: auto;
    padding: 24px 24px 24px 72px;
  }

  .process-grid article:not(:last-child)::after {
    top: auto;
    right: auto;
    left: 22px;
    bottom: -22px;
    transform: rotate(90deg);
  }

  .process-grid span {
    position: absolute;
    left: 0;
    top: 24px;
    width: 56px;
    height: 56px;
  }

  .stats {
    transform: none;
    margin-top: 0;
  }

  .stats div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stats div:last-child {
    border-bottom: 0;
  }
}

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

  .topbar-inner {
    gap: 10px;
    font-size: 12px;
  }

  .brand {
    font-size: 19px;
  }

  .brand-logo {
    width: 160px;
    height: 58px;
  }

  .hero-grid {
    padding: 56px 0 70px;
  }

  .section {
    padding: 62px 0;
  }

  .service-card,
  .quote-form,
  .about-panel {
    padding: 22px;
  }

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

  .agency-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .agency-grid li {
    min-height: 96px;
    padding: 14px 10px;
  }

  .agency-grid strong {
    font-size: 15px;
  }

  .agency-grid .compact strong {
    font-size: 13px;
  }

  .footer-grid,
  .footer-bottom,
  .footer-links {
    display: grid;
  }

  .footer-actions {
    justify-items: start;
  }
}
