:root {
  --bg: #f3f5f8;
  --surface: #ffffff;
  --ink: #12141a;
  --muted: #5f6573;
  --red: #e11f18;
  --blue: #156cff;
  --coal: #0d0f14;
  --line: #d7dce6;
  --hero-overlay: linear-gradient(112deg, rgba(13, 15, 20, 0.92) 0%, rgba(13, 15, 20, 0.76) 46%, rgba(13, 15, 20, 0.3) 100%);
  --shadow-lg: 0 24px 60px rgba(13, 15, 20, 0.15);
  --shadow-md: 0 14px 35px rgba(13, 15, 20, 0.11);
  --radius-lg: 18px;
  --radius-md: 12px;
  --font-head: "Barlow Condensed", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --container: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(21, 108, 255, 0.08), transparent 42%),
    radial-gradient(circle at 90% 20%, rgba(225, 31, 24, 0.08), transparent 40%),
    var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(13, 15, 20, 0.82);
}

.header-inner {
  min-height: 88px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}

.brand-logo {
  width: clamp(170px, 21vw, 260px);
  height: auto;
}

.site-nav {
  justify-self: center;
  display: flex;
  gap: 22px;
  align-items: center;
}

.site-nav a {
  color: #e8ebf3;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.07em;
  font-size: 0.78rem;
  transition: color 180ms ease;
}

.site-nav a:hover {
  color: #ffffff;
}

.header-call {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), #ab0f0a);
  box-shadow: 0 10px 20px rgba(171, 15, 10, 0.3);
}

.header-call span {
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
}

.header-call strong {
  font-family: var(--font-head);
  letter-spacing: 0.03em;
  font-size: 1.1rem;
}

.hamburger {
  display: none;
  justify-self: end;
  width: 46px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.hero {
  position: relative;
  min-height: clamp(640px, 88vh, 900px);
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    var(--hero-overlay),
    url("HeroImage.png") center/cover no-repeat;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 34px;
  align-items: center;
  padding: 96px 0 86px;
}

.eyebrow {
  color: #9db9ff;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  font-size: 0.78rem;
  margin-bottom: 14px;
}

.hero-copy h1 {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: clamp(2.4rem, 7.8vw, 5.8rem);
  line-height: 0.95;
  color: #fff;
  margin-bottom: 20px;
  text-wrap: balance;
}

.hero-copy p {
  color: #dfe6f7;
  max-width: 60ch;
  font-size: clamp(1rem, 2.1vw, 1.15rem);
  margin-bottom: 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 999px;
  border: 2px solid transparent;
  padding: 13px 22px;
  transition: transform 160ms ease, filter 160ms ease, border-color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red), #ab0f0a);
}

.btn-primary:hover {
  filter: brightness(1.06);
}

.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.05);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.68);
}

.hero-trust {
  display: grid;
  gap: 9px;
  color: #f5f7fe;
  font-size: 0.94rem;
  padding-left: 18px;
}

.hero-trust li::marker {
  color: #6aa0ff;
}

.hero-card {
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.hero-card h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  text-transform: uppercase;
  color: var(--coal);
  margin-bottom: 8px;
  line-height: 0.95;
}

.hero-card p {
  color: #4e5461;
  margin-bottom: 16px;
}

.card-phone {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 2rem;
  line-height: 1;
  color: var(--red);
  margin-bottom: 8px;
}

.card-email {
  display: inline-block;
  font-size: 0.95rem;
  color: var(--blue);
  margin-bottom: 15px;
}

.hero-socials {
  display: flex;
  gap: 10px;
}

.hero-socials a {
  color: #10131a;
  border: 1px solid #c8d0e2;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 700;
}

.section {
  padding: clamp(60px, 10vw, 110px) 0;
}

.section-head {
  margin-bottom: 30px;
  max-width: 76ch;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 8px;
}

.section-head h2,
.about-copy h2,
.contact-copy h2,
.section-area h2 {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: clamp(2rem, 5.1vw, 3.8rem);
  line-height: 0.95;
  margin-bottom: 14px;
}

.section-head p,
.about-copy p,
.contact-copy p,
.section-area p {
  color: var(--muted);
}

.section-services {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.95));
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  background: var(--surface);
  border: 1px solid #e3e8f2;
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-md);
}

.service-card h3 {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.45rem;
  line-height: 0.95;
  margin-bottom: 8px;
}

.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.section-work {
  background: #0c1018;
  color: #eef2ff;
}

.section-work .section-kicker {
  color: #8fb6ff;
}

.section-work .section-head p {
  color: #c4cee6;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #121a29;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  transition: transform 260ms ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.section-area {
  background: linear-gradient(140deg, rgba(21, 108, 255, 0.08), rgba(225, 31, 24, 0.08));
}

.area-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
}

.area-list {
  list-style: none;
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 18px;
}

.area-list li {
  font-weight: 700;
  color: #293042;
  border-bottom: 1px solid #edf0f6;
  padding-bottom: 8px;
}

.area-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.section-about {
  background: #fff;
}

.about-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}

.about-visual {
  background: #f7f9fd;
  border: 1px solid #e3e8f1;
  border-radius: var(--radius-lg);
  padding: 22px;
}

.about-visual img {
  border-radius: 10px;
}

.section-contact {
  background: linear-gradient(160deg, #0f131c, #121824);
  color: #f3f7ff;
}

.section-contact .section-kicker {
  color: #8fb6ff;
}

.section-contact p {
  color: #d4dbef;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.contact-direct {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.contact-direct a {
  color: #ffffff;
  font-weight: 700;
}

.contact-form {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  gap: 12px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  padding: 11px;
  font: inherit;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.contact-form select option {
  color: #10131a;
}

.contact-form textarea {
  resize: vertical;
}

.site-footer {
  background: #090b10;
  color: #c2ccdf;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
  min-height: 110px;
  display: grid;
  align-content: center;
  gap: 6px;
  text-align: center;
  font-size: 0.9rem;
}

.footer-inner a {
  color: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-delay-1 {
  transition-delay: 120ms;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-inner,
  .about-inner,
  .contact-inner,
  .area-inner {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 520px;
  }

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

@media (max-width: 820px) {
  .header-inner {
    grid-template-columns: auto auto auto;
  }

  .site-nav {
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    background: rgba(10, 12, 18, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    display: grid;
    gap: 0;
    padding: 12px 22px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav a {
    padding: 11px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hamburger {
    display: inline-block;
  }

  .header-call {
    display: none;
  }

  .brand-logo {
    width: clamp(150px, 42vw, 200px);
  }
}

@media (max-width: 600px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .hero {
    min-height: 70vh;
  }

  .hero-inner {
    padding: 66px 0 58px;
  }

  .hero-copy h1 {
    font-size: clamp(2.05rem, 12.8vw, 3.4rem);
  }

  .hero-copy p {
    font-size: 0.97rem;
  }

  .hero-card {
    padding: 20px;
  }

  .card-phone {
    font-size: 1.65rem;
  }

  .services-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .section-head h2,
  .about-copy h2,
  .contact-copy h2,
  .section-area h2 {
    font-size: clamp(1.8rem, 12.5vw, 2.45rem);
  }
}
