:root {
  --bg: #050505;
  --bg-soft: #0b0b0d;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f7fa;
  --muted: #b6bac5;
  --muted-2: #8e94a3;
  --red: #e10600;
  --red-soft: rgba(225, 6, 0, 0.18);
  --silver: #d9dde3;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1200px;
  --header-height: 92px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(225, 6, 0, 0.12), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.05), transparent 22%),
    radial-gradient(circle at 70% 75%, rgba(225, 6, 0, 0.08), transparent 24%),
    linear-gradient(180deg, #050505 0%, #09090b 45%, #050505 100%);
  z-index: -2;
}

.site-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.3), transparent 85%);
  z-index: -1;
  pointer-events: none;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 110px 0;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--silver);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, var(--red), transparent);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-heading h2,
.hero-copy h1,
.about-copy h2,
.contact-copy h2 {
  margin: 0 0 18px;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.section-heading h2,
.about-copy h2,
.contact-copy h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.section-heading p,
.hero-text,
.about-copy p,
.contact-copy p,
.service-card p,
.about-panel p,
.footer-brand p,
.form-shell-header p {
  color: var(--muted);
  line-height: 1.7;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease,
    box-shadow 0.3s ease, color 0.3s ease;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(
    120deg,
    transparent 20%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 80%
  );
  transition: transform 0.7s ease;
}

.btn:hover::after {
  transform: translateX(120%);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #b60000, var(--red));
  color: white;
  box-shadow: 0 16px 40px rgba(225, 6, 0, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 20px 50px rgba(225, 6, 0, 0.38);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
}

.btn-full {
  width: 100%;
}

.topbar {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
}

.topbar-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.82rem;
}

.topbar-item {
  transition: color 0.25s ease;
}

.topbar-item:hover {
  color: var(--text);
}

.topbar-separator {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease,
    backdrop-filter 0.35s ease;
}

.header.scrolled {
  background: rgba(6, 6, 8, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-wrap {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo {
  width: clamp(190px, 18vw, 250px);
  height: auto;
  filter: drop-shadow(0 8px 28px rgba(0, 0, 0, 0.34));
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.desktop-nav a {
  position: relative;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.96rem;
  transition: color 0.25s ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--red), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.desktop-nav a:hover {
  color: var(--text);
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.menu-toggle {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: white;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.active span:first-child {
  transform: translateY(4.5px) rotate(45deg);
}

.menu-toggle.active span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

.mobile-menu {
  max-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(10, 10, 12, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: max-height 0.35s ease, padding 0.35s ease, border-color 0.35s ease;
}

.mobile-menu.open {
  max-height: 420px;
  padding: 18px 20px 24px;
  border-color: rgba(255, 255, 255, 0.08);
}

.mobile-link {
  color: var(--muted);
  font-weight: 600;
  padding: 8px 0;
}

.mobile-menu-cta {
  margin-top: 8px;
}

.hero {
  padding-top: 70px;
  padding-bottom: 95px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(3rem, 6vw, 5.4rem);
  max-width: 12ch;
}

.hero-text {
  max-width: 610px;
  font-size: 1.08rem;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-points span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--silver);
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-visual {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
}

.hero-image-glow {
  position: absolute;
  inset: auto auto -40px -40px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(225, 6, 0, 0.26), transparent 68%);
  z-index: 1;
  pointer-events: none;
}

.hero-image {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 0.78 / 1;
  object-fit: cover;
  object-position: 48% center;
  transform: scale(1.02);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.025));
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease,
    background 0.32s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(225, 6, 0, 0.16), transparent 34%);
  opacity: 0;
  transition: opacity 0.32s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(225, 6, 0, 0.5),
    rgba(255, 255, 255, 0.1),
    transparent
  );
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.32s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.service-card:hover::before,
.service-card:hover::after {
  opacity: 1;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(225, 6, 0, 0.18), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(225, 6, 0, 0.26);
  color: white;
  font-weight: 800;
  margin-bottom: 18px;
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 1.3rem;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: start;
}

.about-panels {
  display: grid;
  gap: 18px;
}

.about-panel,
.form-shell,
.gallery-placeholder {
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.about-panel {
  padding: 26px;
}

.about-panel h3 {
  margin: 0 0 10px;
  font-size: 1.16rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
}

.gallery-card,
.gallery-placeholder {
  overflow: hidden;
  position: relative;
}

.gallery-card-large {
  min-height: 560px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.gallery-card-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% center;
  transition: transform 0.5s ease;
}

.gallery-card-large:hover img {
  transform: scale(1.04);
}

.gallery-side {
  display: grid;
  gap: 22px;
}

.gallery-placeholder {
  min-height: 269px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 30px;
}

.gallery-placeholder span {
  color: var(--silver);
  font-weight: 700;
  font-size: 1.05rem;
}

.contact-info-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.contact-info-item {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-info-item p {
  margin: 8px 0 0;
  color: var(--text);
}

.contact-label {
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  font-weight: 700;
}

.form-shell {
  padding: 28px;
}

.form-shell-header {
  margin-bottom: 20px;
}

.form-shell-header h3 {
  margin: 0 0 8px;
  font-size: 1.45rem;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 16px;
  padding: 16px 18px;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #8d92a0;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(225, 6, 0, 0.4);
  background: rgba(255, 255, 255, 0.055);
}

.footer {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.34);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.9fr;
  gap: 26px;
  padding-bottom: 28px;
}

.footer-logo {
  width: min(320px, 100%);
  margin-bottom: 16px;
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links h4,
.footer-contact h4 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.footer-links a,
.footer-contact a,
.footer-contact p {
  color: var(--muted);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0 26px;
  color: var(--muted-2);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .desktop-nav,
  .desktop-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-grid,
  .about-grid,
  .contact-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-copy {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-text {
    max-width: 680px;
  }

  .hero-points,
  .hero-buttons {
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 86px 0;
  }

  .container {
    width: min(100% - 24px, var(--container));
  }

  .topbar-inner {
    gap: 10px;
    font-size: 0.76rem;
    padding: 8px 0;
  }

  .header-inner {
    min-height: 80px;
  }

  .logo {
    width: clamp(150px, 44vw, 215px);
  }

  .hero {
    padding-top: 34px;
    padding-bottom: 70px;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(2.45rem, 9vw, 4rem);
  }

  .section-heading,
  .about-copy,
  .contact-copy {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .section-heading .eyebrow,
  .about-copy .eyebrow,
  .contact-copy .eyebrow,
  .hero-copy .eyebrow {
    justify-content: center;
  }

  .services-grid,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .about-panel,
  .form-shell,
  .gallery-placeholder {
    border-radius: 18px;
  }

  .gallery-card-large {
    min-height: 380px;
  }

  .gallery-placeholder {
    min-height: 180px;
  }

  .contact-info-list {
    text-align: center;
  }

  .footer-brand,
  .footer-links,
  .footer-contact {
    text-align: center;
  }

  .footer-links,
  .footer-contact {
    align-items: center;
  }
}

@media (max-width: 520px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-points {
    justify-content: center;
  }

  .topbar-separator {
    display: none;
  }
}