:root {
  --gold: #f5b400;
  --gold-dark: #d49a00;
  --gold-soft: #fff6d6;
  --dark: #0c0c0c;
  --dark-2: #161616;
  --heading: #0c0c0c;
  --body: #4c4c4c;
  --muted: #6b7280;
  --line: #e8e6dc;
  --section: #f5f4ee;
  --white: #ffffff;
  --card: #f7f7f7;
  --danger: #c0392b;
  --success: #1f7a4d;
  --radius: 8px;
  --shadow: 0 12px 40px rgba(12, 12, 12, 0.08);
  --header-h: 88px;
  --heading-font: "Barlow", sans-serif;
  --body-font: "Roboto", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body-font);
  color: var(--body);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  color: var(--heading);
  line-height: 1.15;
  margin: 0 0 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 14px;
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.container-wide {
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
}

.gold { color: var(--gold); }
.center { text-align: center; }

/* Buttons — gold CTA like the reference landing */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gold);
  color: var(--dark);
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  padding: 15px 28px;
  min-height: 52px;
  transition: 0.25s ease;
  line-height: 1;
}

.btn:hover {
  background: var(--gold-dark);
  color: var(--dark);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}

.btn-dark:hover {
  background: #000;
  color: var(--gold);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}

/* Top bar — Autofx-style strip, no phone/address */
.topbar {
  background: var(--dark);
  color: #cfcfcf;
  font-size: 13px;
  padding: 10px 0;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.topbar span i {
  color: var(--gold);
  margin-right: 8px;
}

.social {
  display: flex;
  gap: 10px;
}

.social a {
  width: 32px;
  height: 32px;
  border: 1px solid #2a2a2a;
  display: grid;
  place-items: center;
  color: #ddd;
  transition: 0.2s;
}

.social a:hover {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-img {
  height: 64px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  background: #fff;
}

.project-card {
  transition: 0.25s;
}

.project-card:hover {
  transform: translateY(-6px);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text strong {
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.03em;
}

.logo-text small {
  font-family: var(--heading-font);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold);
  font-weight: 700;
  margin-top: 4px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--dark);
  padding: 10px 12px;
  position: relative;
}

.nav a:hover,
.nav a.active {
  color: var(--gold);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--dark);
  margin: 5px auto;
}

/* Hero */
.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  place-items: center;
  background: var(--dark) center/cover no-repeat;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.62) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 90px 20px;
  max-width: 920px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.hero p {
  color: #e7e7e7;
  font-size: 17px;
  max-width: 640px;
  margin: 0 auto 28px;
}

/* Partners */
.partners {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}

.partners-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: center;
}

.partner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #9aa0a6;
  font-family: var(--heading-font);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 18px;
  opacity: 0.85;
}

.partner svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* Sections */
.section {
  padding: 90px 0;
}

.section-alt {
  background: var(--section);
}

.kicker {
  color: var(--gold);
  font-family: var(--heading-font);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  max-width: 640px;
}

.section-lead {
  max-width: 680px;
  margin-bottom: 36px;
}

.center .section-title,
.center .section-lead {
  margin-left: auto;
  margin-right: auto;
}

/* Features + advisor */
.features-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.feature-item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.feature-item i {
  color: var(--gold);
  font-size: 22px;
  margin-top: 4px;
}

.feature-item h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.advisor-wrap {
  position: relative;
}

.advisor-wrap img {
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  object-fit: cover;
}

.advisor-badge {
  position: absolute;
  left: 0;
  bottom: 30px;
  background: var(--gold);
  color: var(--dark);
  padding: 18px 22px;
  font-family: var(--heading-font);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Services cards — 3x2 like the reference */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid #eceae3;
  padding: 36px 28px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: 0.25s;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}

.service-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  background: var(--gold-soft);
  color: var(--gold-dark);
  font-size: 30px;
  border-radius: 50%;
}

.service-card h3 {
  font-size: 20px;
}

.service-card p {
  margin-bottom: 0;
  font-size: 15px;
}

/* Promo banner */
.promo {
  background: var(--section);
  text-align: center;
  padding: 70px 20px;
}

.promo h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  margin-bottom: 22px;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px 18px;
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--heading-font);
  font-size: 40px;
  color: var(--gold);
  font-weight: 800;
}

.stat span {
  font-family: var(--heading-font);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
  color: var(--dark);
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.process-card {
  background: var(--white);
  padding: 30px 22px;
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow);
}

.process-num {
  font-family: var(--heading-font);
  font-size: 42px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}

/* Testimonials */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.review-card {
  text-align: center;
  padding: 10px 18px 0;
}

.review-card img {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  border: 3px solid var(--gold);
}

.stars {
  color: var(--gold);
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.review-card h3 {
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 4px;
}

.review-card .role {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}

/* FAQ — Q/A circles like the reference */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 60px;
}

.faq-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
}

.qa {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--heading-font);
  font-weight: 800;
  background: var(--section);
  color: var(--dark);
  border: 1px solid var(--line);
}

.qa.a {
  background: var(--gold);
  border-color: var(--gold);
}

.faq-item h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.faq-item p {
  margin: 0;
  font-size: 15px;
}

/* CTA band */
.cta-band {
  position: relative;
  min-height: 340px;
  display: grid;
  place-items: center;
  background: var(--dark) center/cover no-repeat;
  text-align: center;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
}

.cta-band .inner {
  position: relative;
  z-index: 1;
  padding: 70px 20px;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 3rem);
  text-transform: uppercase;
  margin-bottom: 22px;
}

/* Page hero */
.page-hero {
  position: relative;
  min-height: 280px;
  display: grid;
  place-items: center;
  background: var(--dark) center/cover no-repeat;
  text-align: center;
  color: var(--white);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(12, 12, 12, 0.72);
}

.page-hero .inner {
  position: relative;
  z-index: 1;
  padding: 70px 20px;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.2rem);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.crumb {
  color: #ddd;
  font-family: var(--heading-font);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.crumb a:hover { color: var(--gold); }
.crumb span { color: var(--gold); }

/* About layout */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-grid img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.tabs {
  display: flex;
  gap: 8px;
  margin: 18px 0 16px;
  flex-wrap: wrap;
}

.tab {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 10px 16px;
  font-family: var(--heading-font);
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.tab.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.check-list li {
  padding: 8px 0 8px 28px;
  position: relative;
}

.check-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--gold);
  position: absolute;
  left: 0;
}

/* Team / projects / pricing */
.team-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-card,
.project-card {
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.team-card img,
.project-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.team-card .meta,
.project-card .meta {
  padding: 18px 18px 22px;
  text-align: center;
}

.team-card h3,
.project-card h3 {
  margin-bottom: 4px;
  font-size: 20px;
}

.team-card span,
.project-card span {
  color: var(--gold);
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
}

.price-card.featured {
  background: var(--dark);
  color: #ddd;
  transform: translateY(-12px);
}

.price-card.featured h3,
.price-card.featured .amount {
  color: var(--white);
}

.price-card .amount {
  font-family: var(--heading-font);
  font-size: 48px;
  font-weight: 800;
  color: var(--dark);
  margin: 8px 0 4px;
}

.price-card .amount small {
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
}

.price-card.featured .amount small { color: #bbb; }

.price-card ul {
  text-align: left;
  margin: 22px 0 26px;
}

.price-card li {
  padding: 8px 0 8px 26px;
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.price-card.featured li { border-bottom-color: rgba(255, 255, 255, 0.08); }

.price-card li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--gold);
  position: absolute;
  left: 0;
}

/* Forms */
.form {
  background: var(--white);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-grid .full { grid-column: 1 / -1; }

label {
  display: block;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 6px;
}

input, select, textarea {
  width: 100%;
  border: 1px solid #ddd;
  background: #fafafa;
  padding: 13px 14px;
  font-family: var(--body-font);
  font-size: 15px;
  color: var(--dark);
  outline: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--gold);
  background: var(--white);
}

textarea { min-height: 140px; resize: vertical; }

.field-error {
  color: var(--danger);
  font-size: 13px;
  min-height: 18px;
  margin-top: 4px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}

.info-box {
  background: var(--dark);
  color: #ddd;
  padding: 36px 30px;
}

.info-box h2 { color: var(--white); }
.info-box li {
  padding: 12px 0 12px 34px;
  position: relative;
  border-bottom: 1px solid #222;
}
.info-box li i {
  position: absolute;
  left: 0;
  top: 16px;
  color: var(--gold);
}

.legal {
  max-width: 900px;
  margin: 0 auto;
}

.legal h2 {
  font-size: 24px;
  margin-top: 28px;
}

.legal h3 {
  font-size: 18px;
  margin-top: 18px;
}

.legal p, .legal li {
  margin-bottom: 12px;
}

.legal ol, .legal ul {
  padding-left: 22px;
}

.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }

.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.rich-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 26px;
}

/* Footer */
.footer {
  background: var(--dark);
  color: #c9c9c9;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding: 70px 0 40px;
}

.footer h3 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer p { color: #bdbdbd; }

.footer a:hover { color: var(--gold); }

.footer-links li { margin-bottom: 10px; }

.footer-bottom {
  border-top: 1px solid #222;
  padding: 18px 0 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.legal-links a { color: #ddd; }
.legal-links a:hover { color: var(--gold); }

.share-row {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.share-row a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: #1b1b1b;
  color: var(--white);
}

.share-row a:hover {
  background: var(--gold);
  color: var(--dark);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  display: none;
  place-items: center;
  z-index: 80;
  padding: 20px;
}

.modal.show { display: grid; }

.modal-card {
  background: var(--white);
  max-width: 480px;
  width: 100%;
  padding: 40px 32px;
  text-align: center;
}

.modal-card i {
  font-size: 46px;
  color: var(--gold);
  margin-bottom: 12px;
}

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(320px, 88vw);
  background: var(--white);
  z-index: 70;
  transform: translateX(100%);
  transition: 0.3s;
  padding: 24px 18px;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  overflow: auto;
}

.mobile-nav.open { transform: none; }

.mobile-nav a {
  display: block;
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
  font-family: var(--heading-font);
  font-weight: 700;
  text-transform: uppercase;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 60;
  display: none;
}

.overlay.show { display: block; }

@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-toggle { display: inline-block; }
  .header-inner .btn { display: none; }
  .features-grid,
  .about-grid,
  .contact-layout,
  .content-split {
    grid-template-columns: 1fr;
  }
  .services-grid,
  .process-grid,
  .reviews-grid,
  .team-grid,
  .project-grid,
  .pricing-grid,
  .stats,
  .partners-row,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .price-card.featured { transform: none; }
}

@media (max-width: 720px) {
  .topbar-inner { flex-direction: column; text-align: center; }
  .hero { min-height: 520px; }
  .services-grid,
  .process-grid,
  .reviews-grid,
  .team-grid,
  .project-grid,
  .pricing-grid,
  .stats,
  .partners-row,
  .footer-grid,
  .faq-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom { flex-direction: column; }
  .section { padding: 64px 0; }
}
