:root {
  --red: #d72638;
  --red-light: #e8475a;
  --black: #0b0b0f;
  --section-alt: #0f0f14;
  --card-bg: #18181f;
  --text-primary: #f0f0f5;
  --text-secondary: #9a9ab0;
  --radius: 16px;
  --radius-sm: 10px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: "DM Sans", sans-serif; background: var(--black); color: var(--text-primary); }
h1, h2, h3, h4 { font-family: "Outfit", sans-serif; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.top-bar { background: var(--red); padding: 10px 0; font-size: 0.82rem; position: relative; z-index: 100; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.top-bar-left { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.top-bar-left a, .top-bar-left span { color: rgba(255,255,255,0.9); display: flex; align-items: center; gap: 6px; font-weight: 500; transition: color 0.25s ease; }
.top-bar-left a:hover { color: #fff; }
.top-bar-left svg { width: 14px; height: 14px; flex-shrink: 0; }
.social-links { display: flex; gap: 8px; }
.social-links a { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; color: #fff; transition: all .25s ease; }
.social-links a:hover { background: #fff; color: var(--red); transform: translateY(-2px); }
.social-links svg { width: 13px; height: 13px; }

header { position: sticky; top: 0; z-index: 999; background: rgba(255,255,255,0.96); border-bottom: 1px solid rgba(0,0,0,0.06); backdrop-filter: blur(20px); }
.header-main { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { width: 66px; height: 66px; border-radius: 14px; overflow: hidden; border: 1px solid rgba(0,0,0,0.06); background: #fff; }
.logo-icon img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.logo-text h2 { color: #12121a; font-size: 1.4rem; font-weight: 900; }
.logo-text h2 span { color: var(--red); }
.logo-text p { font-size: 0.68rem; color: #676777; text-transform: uppercase; letter-spacing: 0.18em; }

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  margin-bottom: 12px;
  padding: 6px 10px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.10);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}
.nav-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: linear-gradient(90deg, rgba(215,38,56,0), rgba(215,38,56,.55), rgba(215,38,56,0));
}
.nav-links { display: flex; gap: 4px; flex-wrap: wrap; }
.nav-links a {
  padding: 12px 16px;
  font-family: "Outfit", sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: #5a5a66;
  font-weight: 700;
  border-radius: 12px;
  transition: all .22s ease;
}
.nav-links a:hover {
  color: #14141b;
  background: rgba(215,38,56,0.08);
  transform: translateY(-1px);
}
.nav-links a.active {
  color: #fff;
  background: linear-gradient(135deg, #d72638, #b71c2a);
  box-shadow: 0 8px 20px rgba(215,38,56,0.35);
}
.nav-cta {
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  padding: 11px 20px;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  transition: all .22s ease;
}
.nav-cta:hover {
  transform: translateY(-1px);
  background: var(--red-light);
}
.mobile-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.mobile-toggle span {
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: #20202a;
}

.page-hero { padding: 80px 0 60px; background: linear-gradient(160deg, var(--black) 0%, #12050a 40%, var(--black) 100%); }
.page-hero h1 { font-size: 2.8rem; margin-bottom: 12px; }
.page-hero p { color: var(--text-secondary); max-width: 700px; line-height: 1.8; }
.page-hero::after { content: ""; display: block; width: 120px; height: 3px; background: linear-gradient(90deg, var(--red), transparent); margin-top: 24px; border-radius: 999px; }

.section { padding: 100px 0; }
.section.alt { background: var(--section-alt); }
.section-header { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.section-header h2 { font-size: 2.2rem; margin-bottom: 12px; }
.section-header p { color: var(--text-secondary); line-height: 1.7; }

.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--card-bg); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius); padding: 26px; }
.card h3 { margin-bottom: 10px; font-size: 1.05rem; }
.card p { color: var(--text-secondary); line-height: 1.7; font-size: 0.9rem; }
.card { transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-6px); border-color: rgba(215,38,56,0.22); box-shadow: 0 14px 36px rgba(0,0,0,.28); }
.service-card-media {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 12px;
}
.partner-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.partner-logo { width: 36px; height: 36px; border-radius: 8px; background: #fff; border: 1px solid rgba(255,255,255,0.12); padding: 4px; object-fit: contain; flex-shrink: 0; }
.partner-head h3 { margin: 0; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gallery-grid img { border-radius: 12px; border: 1px solid rgba(255,255,255,0.08); width: 100%; height: 220px; object-fit: cover; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.project-card { background: var(--card-bg); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius); overflow: hidden; }
.project-card img { width: 100%; height: 200px; object-fit: cover; }
.project-meta { padding: 16px; }
.project-meta h3 { font-size: 1rem; margin-bottom: 6px; color: #fff; }
.project-meta p { color: var(--text-secondary); font-size: 0.88rem; }
.about-lead { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 24px; align-items: stretch; }
.about-lead img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; border-radius: 12px; border: 1px solid rgba(255,255,255,0.08); }
.about-lead .card p { margin-bottom: 12px; }
.service-list-inline { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 18px; }
.service-list-inline li { color: var(--text-secondary); font-size: 0.9rem; }
.mission-block p { margin-bottom: 12px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-fields { display: grid; gap: 12px; }
.contact-fields-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-fields input, .contact-fields textarea { width: 100%; border: 1px solid rgba(255,255,255,0.12); background: #12121a; color: #fff; border-radius: 10px; padding: 12px; font-family: inherit; }
.contact-fields select { width: 100%; border: 1px solid rgba(255,255,255,0.12); background: #12121a; color: #fff; border-radius: 10px; padding: 12px; font-family: inherit; }
.contact-fields textarea { min-height: 120px; resize: vertical; }
.contact-fields label { font-size: 0.82rem; color: #b8b8c8; margin-bottom: 2px; display: block; }
.contact-check { display: flex; align-items: flex-start; gap: 8px; color: var(--text-secondary); font-size: 0.85rem; }
.contact-check input { margin-top: 3px; }
.map-wrap { border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); margin-top: 14px; }
.map-wrap iframe { width: 100%; height: 260px; border: 0; display: block; }
.btn-primary { border: none; background: var(--red); color: #fff; padding: 14px 18px; border-radius: 999px; font-family: "Outfit", sans-serif; font-weight: 700; cursor: pointer; }
.btn-primary:hover { background: var(--red-light); }
.contact-success { color: #89e1a2; margin-top: 10px; display: none; }
.contact-success.visible { display: block; }

.cta-panel { background: linear-gradient(130deg, #d72638 0%, #b71c2a 100%); border-radius: 18px; padding: 30px; border: 1px solid rgba(255,255,255,0.14); box-shadow: 0 18px 45px rgba(0,0,0,0.3); }
.cta-panel h3 { font-size: 1.5rem; margin-bottom: 10px; color: #fff; }
.cta-panel p { color: rgba(255,255,255,0.88); line-height: 1.7; margin-bottom: 16px; }
.cta-panel .btn-primary { background: #fff; color: #b71c2a; }
.cta-panel .btn-primary:hover { background: #ffeef0; }

.site-footer { background: #08080c; border-top: 1px solid rgba(255,255,255,0.08); padding: 64px 0 0; }
.site-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; padding-bottom: 34px; }
.site-footer-brand { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.site-footer-logo { width: 52px; height: 52px; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid rgba(255,255,255,0.1); flex-shrink: 0; }
.site-footer-logo img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.site-footer-brand h4 { margin: 4px 0 0; }
.site-footer h4 { font-size: 1rem; margin-bottom: 14px; color: #fff; }
.site-footer p { color: var(--text-secondary); line-height: 1.7; font-size: 0.9rem; }
.site-footer ul { list-style: none; display: grid; gap: 9px; }
.site-footer ul a { color: var(--text-secondary); font-size: 0.9rem; transition: color 0.2s ease; }
.site-footer ul a:hover { color: #fff; }
.site-footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding: 16px 0 20px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.site-footer-bottom p { font-size: 0.82rem; color: #7f7f93; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .about-lead { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-fields-grid { grid-template-columns: 1fr; }
  .site-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .mobile-toggle { display: inline-flex; }
  .nav-bar { padding: 8px; border-radius: 14px; position: relative; overflow: visible; }
  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: rgba(14,14,20,0.98);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 10px;
    display: none;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 22px 50px rgba(0,0,0,.35);
    z-index: 30;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 12px; font-size: 0.78rem; border-radius: 10px; color: #d7d7e2; }
  .nav-links a:hover { background: rgba(215,38,56,.16); color: #fff; }
  .nav-links a.active { color: #fff; }
  .nav-cta { display: none; }
  .page-hero h1 { font-size: 2rem; }
  .grid-4, .grid-3, .gallery-grid, .project-grid { grid-template-columns: 1fr; }
  .site-footer-grid { grid-template-columns: 1fr; }
}
