:root {
  --accent: #e53f29;
  --accent-dark: #c4321c;
  --dark: #071c1f;
  --dark-2: #0c282d;
  --ink: #071c1f;
  --text: #5d6b72;
  --muted: #8b979d;
  --line: #e5eeef;
  --bg: #f3f6f7;
  --white: #ffffff;
  --shadow: 0 12px 40px rgba(7, 28, 31, 0.08);
  --shadow-lg: 0 18px 50px rgba(7, 28, 31, 0.12);
  --font: "Rubik", "Segoe UI", sans-serif;
  --display: "Rajdhani", "Segoe UI", sans-serif;
  --header: 86px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.75;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
h1, h2, h3, h4, h5 {
  font-family: var(--display);
  color: var(--ink);
  line-height: 1.15;
  font-weight: 700;
  margin: 0 0 12px;
}
p { margin: 0 0 14px; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.skip {
  position: absolute; left: 12px; top: -40px; background: var(--accent); color: #fff;
  padding: 8px 12px; z-index: 200;
}
.skip:focus { top: 12px; }

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.eyebrow.light { color: #ffb0a2; }
.center { text-align: center; }
.section { padding: 96px 0; }
.section.soft { background: var(--bg); }
.section h2 { font-size: 42px; letter-spacing: -0.3px; }
.lead { font-size: 16px; max-width: 640px; }
.center .lead { margin-left: auto; margin-right: auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: #fff; border: 0; cursor: pointer;
  min-height: 50px; padding: 0 26px;
  font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  transition: background .2s ease, transform .2s ease, color .2s ease;
}
.btn:hover { background: var(--dark); color: #fff; }
.btn-dark { background: var(--dark); }
.btn-dark:hover { background: var(--accent); }
.btn-block { width: 100%; }
.btn-sm { min-height: 46px; padding: 0 18px; font-size: 12px; }

.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--header); z-index: 100;
  display: flex; align-items: center;
}
.header-light { background: #fff; border-bottom: 1px solid rgba(7, 28, 31, 0.05); }
.header-light.is-stuck { box-shadow: 0 8px 30px rgba(7, 28, 31, 0.08); }
.header-overlay { background: linear-gradient(180deg, rgba(7, 28, 31, 0.72), rgba(7, 28, 31, 0)); }
.header-overlay.is-stuck { background: var(--dark); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18); }
.header-inner { display: flex; align-items: center; gap: 22px; width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.logo-mark { width: 42px; height: 42px; }
.logo-name {
  display: block; font-family: var(--display); font-size: 28px; line-height: 1;
  font-weight: 700; letter-spacing: 0.2px;
}
.logo-sub {
  display: block; font-size: 10px; letter-spacing: 1.8px; text-transform: uppercase;
  font-weight: 600; margin-top: 2px;
}
.header-light .logo-name { color: var(--dark); }
.header-light .logo-sub { color: var(--accent); }
.header-overlay .logo-name, .header-overlay .logo-sub { color: #fff; }
.nav { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.nav a {
  font-size: 14.5px; font-weight: 500; position: relative; padding: 8px 0; white-space: nowrap;
}
.header-light .nav a { color: var(--dark); }
.header-overlay .nav a { color: #fff; }
.nav a.active::after, .nav a:hover::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent);
}
.header-cta { margin-left: 8px; }
.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; height: 2px; width: 22px; background: currentColor; position: relative;
}
.header-light .nav-toggle { color: var(--dark); }
.header-overlay .nav-toggle { color: #fff; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

.home-hero { padding: calc(var(--header) + 36px) 0 70px; background: linear-gradient(180deg, #f7fafb 0%, #fff 100%); overflow: hidden; }
.hero-slide { display: none; grid-template-columns: 1.05fr 0.95fr; gap: 30px; align-items: center; }
.hero-slide.active { display: grid; }
.home-hero h1 { font-size: 62px; letter-spacing: -1px; margin-bottom: 16px; }
.home-hero p { font-size: 17px; max-width: 520px; }
.hero-actions { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.hero-visual img { width: 100%; height: 460px; object-fit: cover; object-position: center; }
.hero-dots { display: flex; gap: 8px; margin-top: 26px; }
.hero-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: 0; background: #d5dee1; cursor: pointer;
}
.hero-dots button.active { background: var(--accent); width: 26px; border-radius: 10px; }

.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: -28px; position: relative; z-index: 2; }
.feature {
  padding: 36px 30px 32px; min-height: 250px;
  box-shadow: var(--shadow);
}
.feature h3 { font-size: 26px; margin: 16px 0 8px; }
.feature p { margin: 0; }
.feature.dark { background: var(--dark); color: #d5e0e2; }
.feature.dark h3, .feature.accent h3 { color: #fff; }
.feature.accent { background: var(--accent); color: #fff; }
.feature.light { background: #fff; color: var(--text); }
.feature.light h3 { color: var(--ink); }
.icon-line { width: 48px; height: 48px; display: block; }
.feature.dark .icon-line, .feature.accent .icon-line { color: #fff; }
.feature.light .icon-line, .service-card .icon-line, .icon-wrap .icon-line { color: var(--accent); }

.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.split.reverse { grid-template-columns: 0.95fr 1.05fr; }
.split img.cover, .media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame { position: relative; min-height: 420px; }
.media-frame img { height: 460px; }
.year-badge {
  position: absolute; left: 0; bottom: 28px; background: var(--accent); color: #fff;
  width: 116px; height: 116px; display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.year-badge strong { font-family: var(--display); font-size: 42px; line-height: 1; }
.year-badge span { font-size: 13px; letter-spacing: 0.4px; }
.check-list li { position: relative; padding-left: 22px; margin: 8px 0; }
.check-list li::before { content: "//"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

.quote-card, .panel, .info-card, .price-card, .news-card, .team-card, .project-card, .service-card, .t-card {
  background: #fff; box-shadow: var(--shadow);
}
.quote-card { padding: 32px 28px; }
.quote-card h3 { font-size: 30px; }

.field { margin-bottom: 14px; position: relative; }
.field label { display: block; font-size: 13px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid #e1e8ea; background: #fff; color: var(--ink);
  min-height: 50px; padding: 12px 14px; font-size: 15px; outline: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field input.invalid, .field select.invalid, .field textarea.invalid { border-color: var(--accent); background: #fff7f5; }
.error { display: block; color: var(--accent); font-size: 12px; min-height: 0; line-height: 1.4; }
.error:empty { display: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row.three { grid-template-columns: 1fr 1fr 1fr; }
.check { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; font-size: 14px; margin: 8px 0 14px; color: var(--text); }
.check input { margin-top: 4px; accent-color: var(--accent); }
.check label { flex: 1; min-width: 200px; }
.check .error { flex-basis: 100%; }
.price-card.featured .btn:hover { background: var(--accent-dark); }
.form-note {
  background: #fff6d8; color: #6d5b2e; padding: 12px 14px; font-size: 14px; margin: 8px 0 16px;
}
.form-success {
  background: #fff; border-top: 4px solid var(--accent); box-shadow: var(--shadow);
  padding: 36px 28px; text-align: center;
}
.form-success h3 { font-size: 30px; color: var(--dark); margin-bottom: 8px; }
.form-success p { margin: 0; }

.cards-3, .cards-4 { display: grid; gap: 24px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.service-card, .info-card { padding: 32px 26px; transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover, .info-card:hover, .project-card:hover, .news-card:hover, .team-card:hover, .price-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-lg);
}
.service-card h3, .info-card h3 { font-size: 24px; }
.info-card { text-align: center; }
.info-card .icon-wrap {
  width: 74px; height: 74px; margin: 0 auto 14px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--line);
}
.info-card a { color: var(--accent); }

.journey {
  position: relative; color: #fff; background: url("../images/garage.jpg") center/cover no-repeat;
}
.journey::before { content: ""; position: absolute; inset: 0; background: rgba(7, 28, 31, 0.78); }
.journey .container { position: relative; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 30px; align-items: center; }
.journey h2, .journey p { color: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat strong { display: block; font-family: var(--display); font-size: 54px; line-height: 1; }
.stat span { color: #d5e0e2; font-size: 15px; }

.team-card { text-align: center; padding: 28px 16px 24px; }
.avatar {
  width: 148px; height: 148px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px;
  border: 6px solid #fff; box-shadow: 0 8px 24px rgba(7, 28, 31, 0.12);
}
.team-card h3 { font-size: 22px; margin-bottom: 2px; }
.role { color: var(--accent); font-size: 13px; letter-spacing: 0.6px; text-transform: uppercase; }
.team-card p { font-size: 14px; margin: 10px 0 0; }

.gallery { display: grid; grid-template-columns: 1.2fr 0.9fr 0.9fr; gap: 18px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; min-height: 280px; }
.gallery img { width: 100%; height: 320px; object-fit: cover; }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 18px;
  background: linear-gradient(transparent, rgba(7, 28, 31, 0.85)); color: #fff;
  font-family: var(--display); font-size: 22px;
}

.cta-band { background: var(--bg); }
.cta-box { display: grid; grid-template-columns: 280px 1fr; background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.cta-box img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; object-position: center top; }
.cta-copy { padding: 42px 40px; }
.cta-copy h2 { font-size: 40px; }

.news-card { overflow: hidden; }
.news-card img { width: 100%; height: 210px; object-fit: cover; transition: transform .45s ease; }
.news-card:hover img { transform: scale(1.05); }
.news-body { padding: 22px 22px 24px; }
.meta { color: var(--accent); font-size: 13px; margin-bottom: 8px; }
.news-body h3 { font-size: 22px; }
.news-foot { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); margin-top: 12px; padding-top: 10px; }

.page-hero {
  min-height: 320px; display: flex; align-items: flex-end;
  padding: calc(var(--header) + 54px) 0 54px;
  background: linear-gradient(90deg, rgba(7, 28, 31, 0.86), rgba(7, 28, 31, 0.45)), url("../images/banner.jpg") center/cover no-repeat;
  color: #fff;
}
.page-hero h1 { color: #fff; font-size: 58px; }
.hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.crumb { color: #d5e0e2; margin: 0 0 8px; }
.crumb a:hover { color: #fff; }
.crumb span { color: var(--accent); }

.ribbon { background: var(--accent); color: #fff; text-align: center; padding: 22px 16px; font-family: var(--display); font-size: 28px; font-weight: 700; }
.bars { margin-top: 18px; }
.bar-top { display: flex; justify-content: space-between; font-weight: 500; color: var(--ink); font-size: 15px; }
.track { height: 6px; background: #e7eeee; margin: 6px 0 14px; }
.track span { display: block; height: 100%; background: var(--accent); width: 0; transition: width 1s ease; }

.tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.tabs button, .filter-bar button {
  background: var(--dark); color: #fff; border: 0; min-width: 110px; min-height: 48px; cursor: pointer;
  font-weight: 600; letter-spacing: 0.4px;
}
.tabs button.active, .filter-bar button.active { background: #fff; color: var(--dark); }
.filter-wrap { background: var(--accent); padding: 28px 0; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-card { overflow: hidden; }
.project-card img { width: 100%; height: 220px; object-fit: cover; }
.project-card div { padding: 20px 20px 24px; }
.tag { color: var(--accent); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card { padding: 34px 28px 28px; position: relative; }
.price-card.featured { background: var(--dark); color: #d5e0e2; transform: translateY(-12px); }
.price-card.featured h3, .price-card.featured .amount { color: #fff; }
.amount { font-family: var(--display); font-size: 54px; color: var(--ink); line-height: 1; }
.amount span { font-size: 16px; font-family: var(--font); color: var(--muted); font-weight: 400; }
.price-card ul { margin: 18px 0 22px; }
.price-card li { padding: 8px 0 8px 22px; position: relative; border-bottom: 1px solid rgba(125, 140, 145, 0.2); }
.price-card li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); position: absolute; left: 0; top: 16px; }
.table-wrap { overflow-x: auto; background: #fff; box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; min-width: 680px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
th { background: var(--dark); color: #fff; font-family: var(--display); font-size: 18px; font-weight: 700; }
td:first-child { color: var(--ink); font-weight: 500; }

.accordion details { background: #fff; box-shadow: var(--shadow); margin-bottom: 12px; }
.accordion summary {
  cursor: pointer; padding: 16px 18px; font-weight: 600; color: var(--ink); list-style: none;
  display: flex; justify-content: space-between; gap: 12px;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; color: var(--accent); font-family: var(--display); font-size: 28px; line-height: 1; }
.accordion details[open] summary::after { content: "–"; }
.accordion details p { padding: 0 18px 16px; margin: 0; }

.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.t-card { padding: 26px 22px; }
.stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 8px; }
.who { display: flex; gap: 12px; align-items: center; margin-top: 16px; }
.who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.who strong { display: block; color: var(--ink); }
.quote-mark { font-family: var(--display); font-size: 54px; color: var(--accent); line-height: 0.6; }

.legal { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: start; }
.legal-nav { position: sticky; top: 110px; background: var(--bg); padding: 18px; }
.legal-nav a { display: block; padding: 7px 0; font-size: 14px; color: var(--ink); }
.legal-nav a:hover { color: var(--accent); }
.prose h2 { font-size: 32px; margin: 28px 0 10px; }
.prose h3 { font-size: 24px; margin: 20px 0 8px; }
.prose p, .prose li { font-size: 15.5px; }
.prose ul { list-style: disc; padding-left: 18px; margin-bottom: 14px; }
.prose li { margin: 6px 0; }

.article { display: grid; grid-template-columns: 1.4fr 0.7fr; gap: 30px; }
.drop::first-letter {
  font-family: var(--display); float: left; font-size: 68px; line-height: 0.8;
  padding-right: 8px; color: var(--accent); font-weight: 700;
}
.side-box { background: var(--dark); color: #d5e0e2; padding: 22px; margin-bottom: 18px; }
.side-box h3 { color: #fff; }
.side-box a { display: block; color: #fff; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.side-box a:hover { color: #ffb0a2; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 16px 0; }
.pair img { height: 220px; width: 100%; object-fit: cover; }

.site-footer { background: var(--dark); color: #c5d2d4; padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 1fr; gap: 36px; }
.site-footer h3, .site-footer h4 { color: #fff; }
.site-footer h4 { font-size: 22px; margin-bottom: 16px; }
.site-footer a:hover { color: #fff; }
.hours li, .flink { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 14px; }
.socials { display: flex; gap: 10px; margin: 16px 0; }
.socials a {
  width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; color: #fff;
}
.socials a:hover { background: var(--accent); border-color: var(--accent); }
.footer-bottom {
  margin-top: 36px; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap;
  padding: 18px 0 22px; font-size: 14px;
}
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a { color: #fff; }
.footer-legal a:hover { color: #ffb0a2; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.footer-brand .logo-name { color: #fff; font-size: 26px; }
.footer-brand .logo-sub { color: #ffb0a2; }

@media (max-width: 1100px) {
  .nav-toggle { display: grid; place-items: center; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: var(--header) 0 0 0; background: var(--dark);
    flex-direction: column; align-items: flex-start; padding: 18px 24px 32px;
    gap: 0; transform: translateX(100%); transition: transform .25s ease; margin: 0;
  }
  .nav.open { transform: none; }
  .nav a { color: #fff !important; width: 100%; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 18px; }
  .home-hero h1, .page-hero h1 { font-size: 46px; }
  .hero-slide, .split, .split.reverse, .journey .container, .cta-box, .article, .legal, .footer-grid {
    grid-template-columns: 1fr;
  }
  .feature-row, .cards-3, .cards-4, .stats, .project-grid, .price-grid, .t-grid, .gallery {
    grid-template-columns: 1fr 1fr;
  }
  .price-card.featured { transform: none; }
  .legal-nav { position: static; }
}
@media (max-width: 700px) {
  .section { padding: 68px 0; }
  .section h2, .cta-copy h2 { font-size: 32px; }
  .home-hero h1 { font-size: 38px; }
  .page-hero h1 { font-size: 38px; }
  .hero-visual img, .media-frame img { height: 260px; }
  .feature-row, .cards-3, .cards-4, .stats, .project-grid, .price-grid, .t-grid, .gallery, .field-row, .field-row.three, .pair {
    grid-template-columns: 1fr;
  }
  .hero-row, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .gallery img { height: 220px; }
  .stat strong { font-size: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
