:root {
  --black: #0a0a0a;
  --gray-900: #141414;
  --gray-800: #1f1f1f;
  --gray-600: #6b6b6b;
  --gray-300: #c9c9c9;
  --white: #f6f6f6;
  --red: #d60000;
  --red-soft: #ff4a4a;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Manrope", sans-serif;
  background: var(--black);
  color: var(--white);
  padding-top: 88px;
}

.serif {
  font-family: "Playfair Display", serif;
  font-style: italic;
}

.nav-frame {
  background: rgba(10, 10, 10, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.logo {
  height: 36px;
  width: auto;
}

.logo-nav {
  height: 48px;
}

.navbar .nav-link {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}

.btn-accent {
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 0.6rem 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.btn-accent:hover,
.btn-accent:focus {
  background: var(--red-soft);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: clamp(420px, 70vh, 640px);
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid #333333;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.2));
  z-index: 1;
}

.hero-overlay-image {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  opacity: 1;
  pointer-events: none;
  z-index: 3;
}

.hero-path-layer {
  position: absolute;
  top: 8%;
  left: 0;
  right: 0;
  height: 60%;
  width: 100%;
  opacity: 0.25;
  pointer-events: none;
  z-index: 2;
}


.hero-content {
  position: relative;
  z-index: 4;
  padding: 3rem 0 5rem;
}

.hero-type {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.1rem, 6.1vw, 4.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.06rem;
  line-height: 0.95;
}

.hero-type span {
  white-space: nowrap;
}

.hero-tagline {
  margin-top: 1rem;
  max-width: 420px;
  color: var(--gray-300);
}

.hero-logo {
  position: absolute;
  left: 50%;
  bottom: -45px;
  transform: translateX(-50%);
  z-index: 5;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--red);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-soft);
}

.hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


.section {
  padding: 4rem 0;
}

.about {
  padding-bottom: 7rem;
}

.testimonial-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2rem;
  text-align: center;
  background: var(--gray-900);
  box-shadow: var(--shadow-soft);
}

.testimonial-card span {
  display: block;
  margin-top: 1rem;
  color: var(--gray-300);
  font-size: 0.9rem;
}

.testimonials {
  padding-top: 5.5rem;
}

.about {
  text-align: center;
}

.about h2 {
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 1.4rem;
  color: var(--gray-300);
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
}

.about-lead {
  color: var(--gray-300);
  margin-top: 1rem;
  text-wrap: balance;
}

.cert-box {
  display: inline-block;
  margin: 0.75rem auto 0;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  color: var(--gray-300);
  border-radius: 999px;
  font-size: 0.9rem;
  text-wrap: balance;
}

.about p {
  max-width: 700px;
  margin: 1rem auto 0;
  color: var(--gray-300);
  text-wrap: balance;
  font-size: 1.15rem;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.75rem 0 1.5rem;
  background: var(--gray-900);
}

.footer-text {
  color: var(--gray-300);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
}

.footer-copy {
  text-align: center;
  margin-top: 2rem;
  color: var(--gray-600);
  font-size: 0.85rem;
}


@media (max-width: 991px) {
  body {
    padding-top: 76px;
  }

  .hero {
    min-height: 60vh;
  }

  .hero-overlay-image {
    display: none;
  }

  .hero-type {
    flex-direction: column;
    align-items: flex-start;
    font-size: clamp(2.4rem, 10vw, 4.2rem);
  }
}

@media (min-width: 992px) {
  .hero-tagline {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 575px) {
  .hero {
    min-height: 55vh;
  }

  .hero-logo {
    width: 84px;
    height: 84px;
    bottom: -35px;
  }

  .hero-logo img {
    width: 44px;
  }
}
