:root {
  --red: #e11d2e;
  --red-dark: #c11222;
  --red-soft: #fff1f2;
  --red-glow: rgba(225, 29, 46, 0.18);
  --black: #0b0b0b;
  --dark: #111111;
  --dark-2: #171717;
  --dark-3: #1d1d1d;
  --text: #555555;
  --heading: #151515;
  --muted: #7a7a7a;
  --line: #ececec;
  --off: #f6f6f6;
  --white: #ffffff;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  --radius: 16px;
  --container: 1220px;
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select { font-family: inherit; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.container-wide { width: min(100% - 32px, 1320px); margin-inline: auto; }

h1, h2, h3, h4, h5 {
  font-family: var(--font);
  color: var(--heading);
  line-height: 1.2;
  font-weight: 800;
}
.section { padding: 96px 0; }
.section-sm { padding: 70px 0; }
.section-off { background: var(--off); }
.center { text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--red);
}
.section-title {
  font-size: clamp(28px, 3.4vw, 44px);
  margin-bottom: 16px;
}
.section-title span { color: var(--red); }
.lead { font-size: 16px; max-width: 640px; }
.center .lead { margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--red);
  color: #fff !important;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  padding: 8px 8px 8px 22px;
  border-radius: 50px;
  transition: 0.25s ease;
  white-space: nowrap;
}
.btn .arr {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #111;
  display: grid;
  place-items: center;
  font-size: 14px;
}
.btn:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-dark { background: #111; }
.btn-dark .arr { background: var(--red); }
.btn-dark:hover { background: #000; }
.btn-outline {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.35);
  padding: 10px 10px 10px 22px;
}
.btn-outline .arr { background: var(--red); }
.btn-outline:hover { background: var(--red); border-color: var(--red); }

/* Topbar */
.topbar {
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 42px;
  gap: 16px;
}
.topbar a { color: #fff; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar i { margin-right: 6px; }
.socials { display: flex; gap: 8px; }
.socials a {
  width: 28px; height: 28px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 4px;
  display: grid; place-items: center;
  font-size: 12px;
  transition: 0.2s;
}
.socials a:hover { background: #fff; color: var(--red); }
.socials.dark a {
  width: 36px; height: 36px;
  background: #1f1f1f;
  border: 0;
  color: #fff;
  border-radius: 6px;
}
.socials.dark a:hover { background: var(--red); color: #fff; }

/* Header */
.header {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 50%;
  background: #000;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong {
  color: #fff;
  font-size: 20px;
  letter-spacing: -0.3px;
}
.logo-text small {
  color: var(--red);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-top: 4px;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 13px;
  position: relative;
}
.nav a:hover, .nav a.active { color: var(--red); }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 13px; right: 13px; bottom: 2px;
  height: 2px;
  background: var(--red);
}
.header-cta { display: flex; align-items: center; gap: 14px; }
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 80% 20%, rgba(225,29,46,0.35), transparent 40%),
    linear-gradient(110deg, #1a0508 0%, #0b0b0b 46%, #3a0a10 100%);
  color: #fff;
  overflow: hidden;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 70px 0 130px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    url("../images/tools-bg.jpg") right center / cover no-repeat;
  opacity: 0.18;
  mix-blend-mode: luminosity;
}
.hero-shape {
  position: absolute;
  right: -8%;
  top: -10%;
  width: 62%;
  height: 140%;
  background: var(--red);
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.95;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 20px;
}
.hero-copy h1 {
  color: #fff;
  font-size: clamp(36px, 5vw, 62px);
  letter-spacing: -1px;
  margin: 10px 0 22px;
  max-width: 620px;
}
.hero-copy p { color: rgba(255,255,255,0.78); max-width: 520px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual {
  position: relative;
  min-height: 460px;
}
.hero-visual .car {
  position: absolute;
  right: 0;
  bottom: 10px;
  width: 92%;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,0.35));
}
.hero-visual .person {
  position: absolute;
  right: 6%;
  bottom: 0;
  height: 470px;
  width: auto;
  z-index: 2;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.35));
}

.hero-cards {
  position: relative;
  z-index: 3;
  margin-top: -80px;
  margin-bottom: 20px;
}
.hero-cards .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.icon-card {
  background: var(--dark-2);
  color: #fff;
  border-radius: 14px;
  padding: 28px 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: var(--shadow);
  transition: 0.25s;
}
.icon-card:hover { transform: translateY(-6px); }
.icon-card.light {
  background: #fff;
  color: var(--text);
}
.icon-card.light h3 { color: var(--heading); }
.icon-box {
  width: 58px; height: 58px;
  border-radius: 12px;
  background: var(--red);
  color: #fff;
  display: grid; place-items: center;
  font-size: 24px;
  flex-shrink: 0;
}
.icon-card h3 { color: #fff; font-size: 18px; margin-bottom: 6px; }
.icon-card p { font-size: 14px; color: #bdbdbd; }
.icon-card.light p { color: var(--text); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.about-photos {
  position: relative;
  min-height: 520px;
}
.about-photos .main {
  width: 78%;
  height: 460px;
  object-fit: cover;
  border-radius: 18px;
}
.about-photos .sub {
  position: absolute;
  right: 0;
  bottom: 30px;
  width: 48%;
  height: 250px;
  object-fit: cover;
  border-radius: 16px;
  border: 8px solid #fff;
  box-shadow: var(--shadow);
}
.about-badge {
  position: absolute;
  left: 18px;
  bottom: 70px;
  background: var(--red);
  color: #fff;
  width: 120px;
  height: 120px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: var(--shadow);
}
.about-badge strong { font-size: 32px; display: block; }
.check-list { margin: 22px 0 28px; }
.check-list li {
  padding: 8px 0 8px 32px;
  position: relative;
  color: var(--heading);
  font-weight: 600;
}
.check-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--red);
  position: absolute;
  left: 0;
}

.marquee-wrap {
  background: var(--red);
  color: #fff;
  overflow: hidden;
  padding: 16px 0;
}
.marquee {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: slide 22s linear infinite;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 22px;
}
.marquee span { display: inline-flex; align-items: center; gap: 40px; }
@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Features / services mini */
.triple {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.soft-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: 0.25s;
  border: 1px solid #f2f2f2;
}
.soft-card:hover { transform: translateY(-8px); }
.soft-card h3 { font-size: 20px; margin: 16px 0 8px; }
.soft-card p { font-size: 14.5px; }

/* Leader CTA */
.leader {
  position: relative;
  background: #140507 url("../images/car-black.jpg") center / cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.leader::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12,12,12,0.88) 0%, rgba(225,29,46,0.55) 100%);
}
.leader-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  min-height: 320px;
  text-align: center;
}
.leader h2 { color: #fff; font-size: clamp(28px, 4vw, 48px); }
.play-btn {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid; place-items: center;
  font-size: 28px;
  box-shadow: 0 0 0 14px rgba(225,29,46,0.25);
  margin-inline: auto;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.gallery-grid a, .gallery-grid img {
  height: 180px;
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.gallery-grid a { display: block; overflow: hidden; }
.gallery-grid a:hover img { transform: scale(1.08); }
.gallery-grid img { transition: 0.4s; height: 100%; }

/* Stats */
.stats {
  background: var(--off);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat {
  background: #fff;
  border-radius: 16px;
  padding: 34px 16px;
  box-shadow: var(--shadow);
}
.stat .icon-box { margin: 0 auto 12px; }
.stat strong {
  display: block;
  font-size: 40px;
  color: var(--heading);
  font-weight: 800;
}
.stat span { font-weight: 600; color: var(--muted); }

/* Team */
.team-grid, .four-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.team-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.team-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top;
}
.team-card .meta { padding: 18px 16px 22px; text-align: center; }
.team-card h3 { font-size: 18px; }
.team-card p { color: var(--muted); font-size: 13px; font-weight: 600; }
.share-dot {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  background: var(--red);
  color: #fff;
  border-radius: 8px;
  display: grid; place-items: center;
}

/* Process */
.process {
  background: var(--off);
  overflow: hidden;
}
.process-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 24px;
  align-items: center;
}
.process-item {
  display: flex;
  gap: 14px;
  background: #fff;
  padding: 18px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}
.process-item .num {
  width: 46px; height: 46px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800;
  flex-shrink: 0;
}
.process-item h4 { font-size: 16px; margin-bottom: 4px; }
.process-item p { font-size: 13px; }
.process-car { text-align: center; }
.process-car img {
  max-height: 280px;
  margin-inline: auto;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.2));
  background: radial-gradient(circle at 50% 60%, #2a2a2a, #111 70%);
  border-radius: 24px;
  padding: 12px 8px 0;
}

/* Testimonials home */
.testi-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  border-radius: 20px;
  overflow: hidden;
}
.testi-left {
  background: var(--dark);
  color: #fff;
  padding: 48px 40px;
}
.testi-left h2 { color: #fff; }
.testi-cards {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}
.testi-mini {
  background: #1c1c1c;
  border-radius: 14px;
  padding: 20px;
}
.testi-mini p { color: #cfcfcf; font-size: 14px; }
.testi-user { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.testi-user img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testi-user strong { color: #fff; display: block; font-size: 14px; }
.testi-user span { color: var(--red); font-size: 12px; }
.stars { color: #f5b301; font-size: 12px; letter-spacing: 1px; }
.testi-form {
  background: var(--red);
  padding: 48px 40px;
  color: #fff;
}
.testi-form h2 { color: #fff; margin-bottom: 8px; }
.testi-form p { color: rgba(255,255,255,0.85); margin-bottom: 18px; }
.testi-form .form-field { margin-bottom: 12px; }
.testi-form input,
.testi-form textarea,
.testi-form select {
  width: 100%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 13px 14px;
  border-radius: 8px;
  outline: none;
}
.testi-form input::placeholder,
.testi-form textarea::placeholder { color: rgba(255,255,255,0.7); }
.testi-form .btn { background: #111; }
.testi-form .btn .arr { background: #fff; color: #111; }

/* Articles */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.article-card img { height: 210px; width: 100%; object-fit: cover; }
.article-card .body { padding: 22px; }
.article-card h3 { font-size: 18px; margin: 8px 0; }
.article-card .meta { color: var(--muted); font-size: 13px; font-weight: 600; }

/* Page hero */
.page-hero {
  position: relative;
  background: #0d0d0d url("../images/tools-bg.jpg") center / cover no-repeat;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,8,8,0.92) 0%, rgba(8,8,8,0.55) 55%, rgba(225,29,46,0.28) 100%);
}
.page-hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  min-height: 300px;
}
.page-hero h1 { color: #fff; font-size: clamp(34px, 4.5vw, 56px); margin-bottom: 10px; }
.breadcrumb { color: rgba(255,255,255,0.75); font-weight: 600; font-size: 14px; padding-bottom: 48px; }
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { margin: 0 8px; color: var(--red); }
.page-hero-man {
  height: 300px;
  width: auto;
  align-self: flex-end;
  filter: drop-shadow(-10px 8px 18px rgba(0,0,0,0.4));
}

/* Subscribe */
.subscribe {
  background: #0e0e0e;
  padding: 0 0 20px;
}
.subscribe-box {
  background: linear-gradient(90deg, rgba(10,10,10,0.82), rgba(10,10,10,0.55)), url("../images/subscribe-bg.jpg") center / cover no-repeat;
  border-radius: 22px;
  padding: 42px 46px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  color: #fff;
  margin-top: -10px;
  border: 1px solid rgba(255,255,255,0.08);
}
.subscribe-box h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); max-width: 420px; }
.subscribe-form { display: flex; gap: 10px; flex: 1; max-width: 560px; align-items: flex-start; }
.subscribe-form .form-field { flex: 1; margin: 0; }
.subscribe-form .form-field .error { color: #ffd4d8; }
.subscribe-box .form-success { margin-bottom: 12px; }
.subscribe-form input {
  flex: 1;
  width: 100%;
  border: 0;
  border-radius: 50px;
  padding: 16px 22px;
  outline: none;
}
.testi-form select option { color: #111; }
.page-hero-man { pointer-events: none; }

/* Footer */
.footer {
  background: var(--black);
  color: #bdbdbd;
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1.1fr;
  gap: 36px;
  padding-bottom: 40px;
}
.footer h4 { color: #fff; margin-bottom: 18px; font-size: 18px; }
.footer p { font-size: 14px; margin: 14px 0 18px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; }
.footer-links a:hover { color: var(--red); }
.footer-links a::before { content: "> "; color: var(--red); font-weight: 700; }
.footer-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
}
.footer-contact i { color: var(--red); margin-top: 4px; }
.footer-bottom {
  border-top: 1px solid #222;
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
}
.footer-bottom a:hover { color: var(--red); }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.form-field label {
  display: block;
  font-weight: 700;
  color: var(--heading);
  font-size: 13px;
  margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid #e6e6e6;
  background: #fff;
  border-radius: 10px;
  padding: 13px 14px;
  outline: none;
  color: var(--heading);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-glow); }
.form-field .error {
  display: none;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  margin-top: 5px;
}
.form-field.invalid input,
.form-field.invalid select,
.form-field.invalid textarea { border-color: var(--red); }
.form-field.invalid .error { display: block; }
.form-success {
  display: none;
  background: #e9fff1;
  border: 1px solid #8de0ad;
  color: #0f7a3a;
  padding: 18px;
  border-radius: 12px;
  font-weight: 700;
  text-align: center;
}
.form-success.show { display: block; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* Contact */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: start;
}
.contact-card {
  background: var(--off);
  border-radius: 18px;
  padding: 32px;
}
.map-photo {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 28px;
}

/* Services page */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  transition: 0.25s;
}
.service-card:hover { transform: translateY(-8px); }
.service-card img { height: 200px; width: 100%; object-fit: cover; }
.service-num {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 8px;
}
.service-body { padding: 36px 22px 24px; text-align: center; position: relative; }
.service-body .icon-box {
  position: absolute;
  left: 50%;
  top: -29px;
  transform: translateX(-50%);
  border: 4px solid #fff;
}
.service-body h3 { margin: 8px 0 8px; }
.service-body a { color: var(--red); font-weight: 700; font-size: 14px; }

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.price-card {
  background: linear-gradient(#fff, #fff5f5);
  border: 1px solid #f3d5d8;
  border-radius: 18px;
  padding: 32px 28px;
  position: relative;
  box-shadow: var(--shadow);
}
.price-card.featured {
  background: linear-gradient(#fff, #ffe8ea);
  transform: translateY(-8px);
}
.price-ico {
  position: absolute;
  top: 22px; right: 22px;
  width: 52px; height: 52px;
  background: var(--red);
  color: #fff;
  border-radius: 10px;
  display: grid; place-items: center;
  font-size: 22px;
}
.price-card h3 { font-size: 22px; }
.price { font-size: 48px; color: var(--heading); font-weight: 800; margin: 8px 0; }
.price small { font-size: 14px; color: var(--red); font-weight: 700; }
.price-card ul { margin: 18px 0 24px; border-top: 1px solid #f0d0d3; padding-top: 16px; }
.price-card li {
  padding: 8px 0 8px 26px;
  position: relative;
  font-weight: 600;
  color: var(--heading);
}
.price-card li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--red);
  position: absolute;
  left: 0;
}

/* Testimonials page */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testi-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
  position: relative;
}
.testi-card img.avatar {
  width: 64px; height: 64px;
  border-radius: 12px;
  object-fit: cover;
  position: absolute;
  top: 22px; right: 22px;
}
.testi-card h3 { font-size: 18px; padding-right: 70px; }
.testi-card .role { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.testi-card p { margin-top: 10px; font-size: 14.5px; }

/* Projects */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 18px 0 32px;
}
.filter-bar button {
  border: 0;
  background: #f1f1f1;
  color: var(--heading);
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
}
.filter-bar button.active, .filter-bar button:hover {
  background: #111;
  color: #fff;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.project-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  display: block;
}
.project-card img { height: 220px; width: 100%; object-fit: cover; }
.project-card .go {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  background: var(--red);
  color: #fff;
  border-radius: 8px;
  display: grid; place-items: center;
}
.project-card figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
  padding: 28px 14px 12px;
  font-weight: 700;
}

.details-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 28px;
}
.details-main img.cover {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 24px;
}
.details-main h2 { margin: 18px 0 10px; font-size: 28px; }
.side-card {
  background: var(--off);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 18px;
}
.side-card h3 { margin-bottom: 14px; }
.info-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #e7e7e7;
  font-size: 14px;
}
.info-row span { color: var(--muted); font-weight: 700; font-size: 12px; letter-spacing: 0.6px; }
.info-row strong { color: var(--heading); }
.inline-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
.inline-imgs img { height: 180px; width: 100%; object-fit: cover; border-radius: 12px; }
.result-list li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-weight: 600;
  color: var(--heading);
}
.result-list li::before {
  content: "\f061";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--red);
  position: absolute;
  left: 0;
}
.pager {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 16px;
  font-weight: 700;
}
.pager a:hover { color: var(--red); }

/* Legal */
.legal {
  max-width: 900px;
  margin: 0 auto;
}
.legal h2 { font-size: 24px; margin: 28px 0 10px; }
.legal h3 { font-size: 18px; margin: 18px 0 8px; }
.legal p, .legal li { margin-bottom: 10px; }
.legal ul, .legal ol { padding-left: 20px; margin-bottom: 14px; }
.legal li { list-style: disc; }
.legal ol li { list-style: decimal; }

/* Misc */
.chat-float {
  position: fixed;
  left: 18px;
  top: 48%;
  z-index: 50;
  width: 42px; height: 42px;
  background: var(--red);
  color: #fff;
  border-radius: 8px;
  display: grid; place-items: center;
  box-shadow: var(--shadow);
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.media-frame {
  border-radius: 16px;
  overflow: hidden;
  height: 360px;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.quote-box {
  background: var(--red-soft);
  border-left: 4px solid var(--red);
  padding: 16px 18px;
  border-radius: 8px;
  margin: 16px 0;
  color: var(--heading);
  font-weight: 600;
}

/* Modal video */
.modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.72);
  display: none;
  place-items: center;
  z-index: 2000;
  padding: 20px;
}
.modal.show { display: grid; }
.modal-box {
  background: #111;
  border-radius: 16px;
  max-width: 760px;
  width: 100%;
  overflow: hidden;
  position: relative;
}
.modal-box img { width: 100%; height: 420px; object-fit: cover; }
.modal-close {
  position: absolute; top: 10px; right: 10px;
  background: var(--red); color: #fff; border: 0;
  width: 36px; height: 36px; border-radius: 50%;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .nav a { padding: 10px 8px; font-size: 14px; }
  .hero-grid, .about-grid, .testi-split, .contact-wrap, .details-grid, .leader-inner, .process-wrap {
    grid-template-columns: 1fr;
  }
  .hero-visual { min-height: 380px; }
  .hero-visual .person { height: 360px; }
  .page-hero-man { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .leader-inner { text-align: left; }
}
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 88px;
    background: #111;
    flex-direction: column;
    padding: 12px 0 20px;
    border-top: 1px solid #222;
  }
  .nav.open { display: flex; }
  .header { position: sticky; }
  .header-inner { position: relative; }
  .hero-cards .container, .triple, .stats-grid, .team-grid, .four-grid, .article-grid, .service-grid, .price-grid, .testi-grid {
    grid-template-columns: 1fr 1fr;
  }
  .subscribe-box, .form-grid, .two-col { grid-template-columns: 1fr; display: grid; }
  .subscribe-form { flex-direction: column; max-width: none; }
  .price-card.featured { transform: none; }
}
@media (max-width: 640px) {
  .topbar .container { justify-content: center; }
  .topbar-right { display: none; }
  .hero { padding: 48px 0 90px; min-height: auto; }
  .hero-shape { display: none; }
  .hero-visual { display: none; }
  .hero-cards { margin-top: -40px; }
  .hero-cards .container, .triple, .stats-grid, .team-grid, .four-grid, .article-grid, .service-grid, .price-grid, .testi-grid, .footer-grid, .gallery-grid, .project-grid {
    grid-template-columns: 1fr;
  }
  .section { padding: 64px 0; }
  .header-cta .btn span.lbl { display: none; }
  .about-photos { min-height: 360px; }
  .about-photos .main { height: 300px; width: 100%; }
  .chat-float { display: none; }
}
