:root {
  --bg: #070707;
  --bg-soft: #101010;
  --card: #151515;
  --card-2: #1a1a1a;
  --text: #f5f5f5;
  --muted: #c2c2c2;
  --red: #d7282f;
  --red-dark: #9f171d;
  --red-soft: rgba(215, 40, 47, 0.18);
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(215, 40, 47, 0.14), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.04), transparent 24%),
    var(--bg);
  line-height: 1.55;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(7, 7, 7, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(215, 40, 47, 0.22));
}

.brand strong {
  color: var(--red);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links a {
  padding: 10px 12px;
  color: #f0f0f0;
  font-size: 0.83rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 999px;
  transition: color 180ms ease, background 180ms ease;
}

.nav-links a:hover {
  color: #fff;
  background: var(--red-soft);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: #fff;
  display: block;
  margin: 4px auto;
  border-radius: 99px;
}

.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("images/hero-bg.jpg");
  background-size: cover;
  background-position: center 42%;
  transform: scale(1.02);
  filter: brightness(0.96) saturate(1.03) contrast(1.14);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 34% 55%, rgba(215, 40, 47, 0.16), transparent 18%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.66) 0%, rgba(0, 0, 0, 0.44) 34%, rgba(0, 0, 0, 0.14) 68%, rgba(0, 0, 0, 0.42) 100%),
    linear-gradient(0deg, #070707 0%, rgba(0,0,0,0.18) 24%, rgba(0,0,0,0.18) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  min-height: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 620px);
  align-items: center;
  gap: 56px;
  padding: 70px 0 80px;
}

.hero-logo-wrap {
  position: relative;
  margin-top: 90px; /* logo moved downward and made more visible */
  width: min(100%, 385px);
  text-align: center;
}

.hero-logo-wrap::before {
  content: "";
  position: absolute;
  inset: -34px -34px -18px;
  z-index: -1;
  border-radius: 36px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.12) 58%, transparent 72%);
  filter: blur(3px);
}

.hero-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 18px 28px rgba(0, 0, 0, 0.7))
    drop-shadow(0 0 38px rgba(215, 40, 47, 0.42));
}

.hero-logo-wrap p {
  margin: 8px 0 0;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,0.8);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
  margin-bottom: 22px;
  max-width: 650px;
}

.hero-subtitle {
  max-width: 560px;
  color: #ededed;
  font-size: clamp(1rem, 2vw, 1.22rem);
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
  cursor: pointer;
}

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

.btn.primary {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 15px 34px rgba(215, 40, 47, 0.26);
}

.btn.secondary {
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.07);
}

.btn.secondary:hover {
  border-color: rgba(215, 40, 47, 0.85);
  background: var(--red-soft);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
}

.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 14px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
}

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

.service-card,
.review-card,
.contact-panel {
  background: linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-card {
  padding: 28px 24px;
  min-height: 240px;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 0%, rgba(215, 40, 47, 0.22), transparent 45%);
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}

.service-card:hover::before {
  opacity: 1;
}

.icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(215, 40, 47, 0.5);
  color: var(--red);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 20px;
  background: rgba(215, 40, 47, 0.07);
}

.service-card h3 {
  font-size: 1.12rem;
  line-height: 1.25;
  margin-bottom: 12px;
}

.service-card p,
.review-card p,
.project-overlay p,
.contact-copy p,
.form-note {
  color: var(--muted);
}

.projects-section {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  background:
    radial-gradient(circle at 50% 8%, rgba(215, 40, 47, 0.13), transparent 22%),
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.005));
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.projects-section .section-heading,
.project-grid {
  width: min(1180px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  grid-auto-rows: 320px;
  gap: 20px;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.15);
  background: #111;
  box-shadow: 0 26px 55px rgba(0,0,0,0.42);
  transform: translateZ(0);
  isolation: isolate;
}

.project-card.featured {
  grid-row: span 2;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(215, 40, 47, 0.35), inset 0 -120px 110px rgba(0,0,0,0.7);
  z-index: 2;
  pointer-events: none;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px 18px;
  height: 3px;
  background: linear-gradient(90deg, var(--red), transparent);
  z-index: 4;
  border-radius: 999px;
  opacity: 0.85;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease, filter 500ms ease;
}

.project-card:hover {
  border-color: rgba(215, 40, 47, 0.75);
  box-shadow: 0 34px 75px rgba(0,0,0,0.6), 0 0 0 1px rgba(215, 40, 47, 0.2);
}

.project-card:hover img {
  transform: scale(1.05);
  filter: contrast(1.08) saturate(1.05);
}

.project-overlay {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 28px;
  z-index: 3;
}

.project-overlay span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(215,40,47,0.9);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.project-overlay h3 {
  font-size: clamp(1.12rem, 2vw, 1.55rem);
  line-height: 1.04;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.project-overlay p {
  margin-bottom: 0;
  font-size: 0.93rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review-card {
  position: relative;
  padding: 34px 28px 28px;
}

.quote-mark {
  position: absolute;
  top: 12px;
  left: 22px;
  color: var(--red);
  font-size: 3.8rem;
  line-height: 1;
  font-weight: 900;
  opacity: 0.65;
}

.review-card p {
  position: relative;
  margin-top: 28px;
}

.stars {
  color: var(--red);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.contact-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 90px 0;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  padding: clamp(26px, 5vw, 54px);
  background:
    radial-gradient(circle at 10% 10%, rgba(215, 40, 47, 0.18), transparent 28%),
    linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025));
}

.contact-copy h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  margin-bottom: 18px;
}

.contact-info {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}

.contact-info p {
  margin: 0;
  color: #fff;
}

.contact-info span {
  display: block;
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.quote-form label {
  display: grid;
  gap: 7px;
}

.quote-form label span {
  color: #e8e8e8;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 10px;
  background: rgba(0,0,0,0.42);
  color: #fff;
  padding: 13px 14px;
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form textarea:focus {
  border-color: rgba(215,40,47,0.85);
  box-shadow: 0 0 0 4px rgba(215,40,47,0.12);
}

.full {
  grid-column: 1 / -1;
}

.form-note {
  grid-column: 1 / -1;
  font-size: 0.82rem;
  margin: 0;
}

.footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer p {
  margin: 0;
}

.footer a {
  color: #fff;
  font-weight: 800;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: rgba(12,12,12,0.98);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 12px;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 16px;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 82px 0 90px;
  }

  .hero-logo-wrap {
    width: 255px;
    margin: 20px 0 0;
  }

  .services-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 310px;
  }

  .project-card.featured {
    grid-column: 1 / -1;
    grid-row: span 1;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav,
  .section,
  .projects-section .section-heading,
  .project-grid,
  .contact-section,
  .footer {
    width: min(100% - 28px, 1180px);
  }

  .brand span {
    max-width: 230px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  h1 {
    font-size: clamp(2.75rem, 18vw, 4.3rem);
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(0,0,0,0.86), rgba(0,0,0,0.56)),
      linear-gradient(0deg, #070707 0%, transparent 32%, rgba(0,0,0,0.36) 100%);
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .services-grid,
  .reviews-grid,
  .project-grid,
  .quote-form {
    grid-template-columns: 1fr;
  }

  .project-grid {
    grid-auto-rows: 360px;
  }

  .section {
    padding: 70px 0;
  }

  .footer {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 10px 0;
}

.contact-info a,
.footer-contact a {
  color: inherit;
  text-decoration: none;
}

.contact-info a:hover,
.footer-contact a:hover {
  color: var(--red);
}


.project-card {
  cursor: zoom-in;
}

.project-card:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

.view-larger {
  display: inline-flex;
  width: fit-content;
  margin-top: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(215, 40, 47, 0.85);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 34px;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
}

.image-lightbox.open {
  display: flex;
}

.lightbox-content {
  position: relative;
  width: min(96vw, 1100px);
  max-height: 88vh;
  margin: 0;
  display: grid;
  gap: 14px;
  justify-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 30px 90px rgba(0,0,0,0.75);
  background: #0b0b0b;
}

.lightbox-content figcaption {
  color: #fff;
  font-weight: 900;
  text-align: center;
  letter-spacing: -0.02em;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 1000;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(15,15,15,0.78);
  color: #fff;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(215, 40, 47, 0.95);
  border-color: rgba(215, 40, 47, 0.95);
  transform: translateY(-1px);
}

.lightbox-close {
  top: 22px;
  right: 22px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 64px;
  border-radius: 16px;
  font-size: 3rem;
  line-height: 0.8;
}

.lightbox-nav:hover {
  transform: translateY(-50%) scale(1.03);
}

.lightbox-nav.prev {
  left: 22px;
}

.lightbox-nav.next {
  right: 22px;
}

@media (max-width: 640px) {
  .image-lightbox {
    padding: 18px;
  }

  .lightbox-nav {
    width: 42px;
    height: 52px;
    font-size: 2.4rem;
  }

  .lightbox-nav.prev {
    left: 10px;
  }

  .lightbox-nav.next {
    right: 10px;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
  }
}
