/* ========== RESET ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, #1b0508, #050509 55%),
    radial-gradient(circle at bottom right, #2a0f0f, #050509 60%);
  color: #f5f5f7;
  line-height: 1.6;
}

/* Layout */
.container {
  width: min(1120px, 100% - 2.5rem);
  margin: 0 auto;
}

/* Color tokens */
:root {
  --red: #ff3b3b;
  --red-soft: #ff7a4d;
  --bg-elevated: rgba(10, 10, 18, 0.98);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --text-soft: #c7c7d8;
}

/* ========== HEADER / NAV ========== */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 5, 9, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
}

.logo-img {
  height: 96px; /* bigger logo */
  width: auto;
  display: block;
}

/* nav links */
.nav {
  display: flex;
  align-items: center;
  gap: 1.7rem;
}

.nav a {
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e3e3f0;
  position: relative;
  padding-bottom: 0.15rem;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--red-soft));
  transition: width 0.18s ease-out;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
}

/* ========== HERO (HOME) ========== */

.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 3.7rem;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.hero::before {
  width: 540px;
  height: 540px;
  right: -220px;
  top: -180px;
  border-top-color: transparent;
  border-left-color: transparent;
  border-bottom-color: rgba(255, 59, 59, 0.7);
}

.hero::after {
  width: 360px;
  height: 360px;
  left: -140px;
  bottom: -150px;
  border-bottom-color: transparent;
  border-right-color: transparent;
  border-top-color: rgba(255, 122, 77, 0.6);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3.1fr) minmax(0, 2.4fr);
  gap: 2.7rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #f7b2af;
  margin-bottom: 0.5rem;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 3.3vw, 3.1rem);
  margin-bottom: 0.75rem;
}

.hero-highlight {
  background: linear-gradient(90deg, var(--red), var(--red-soft));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-text p {
  color: var(--text-soft);
  max-width: 34rem;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  font-size: 0.78rem;
  color: #f3bdc0;
}

.hero-tags span {
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 8, 16, 0.9);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 1.4rem;
}

.hero-stat {
  min-width: 130px;
}

.hero-stat strong {
  display: block;
  font-size: 1.25rem;
}

.hero-stat span {
  font-size: 0.78rem;
  color: #c3c3d7;
}

.hero-image img {
  width: 100%;
  border-radius: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.7);
  object-fit: cover;
}

/* ========== GENERIC SECTIONS ========== */

.section {
  padding: 3.7rem 0;
}

.section-alt {
  background: #070711;
}

.section-title {
  font-size: 1.7rem;
  margin-bottom: 0.4rem;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: var(--text-soft);
  max-width: 32rem;
  margin: 0 auto 2.1rem;
  font-size: 0.94rem;
}

/* Helpers */

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr);
  gap: 2.1rem;
  align-items: flex-start;
}

/* Cards */

.card {
  background: var(--bg-elevated);
  border-radius: 1rem;
  padding: 1.15rem 1.05rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}

.card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.card p {
  font-size: 0.88rem;
  color: var(--text-soft);
}

/* grids */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.service-card h3 {
  margin-bottom: 0.2rem;
}

.service-card ul {
  list-style: none;
  margin-top: 0.55rem;
}

.service-card li {
  font-size: 0.86rem;
  color: #c8c8da;
}

/* Process */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.process-step span {
  font-size: 0.83rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--red-soft);
}

.process-step p {
  font-size: 0.86rem;
  margin-top: 0.4rem;
  color: #d5d5e6;
}

/* ========== REVIEWS (SLIDER) ========== */

.review-slider {
  position: relative;
  overflow: hidden;
  margin-top: 1.6rem;
}

.review-track {
  display: flex;
  transition: transform 0.55s ease;
}

.review-card {
  flex: 0 0 100%;
  padding: 1.15rem 1.1rem;
  margin-right: 1rem;
  border-radius: 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
}

.stars {
  margin-top: 0.1rem;
  font-size: 0.9rem;
  color: #ffb347;
}

.review-text {
  font-size: 0.87rem;
  margin-top: 0.45rem;
  color: #d7d7ea;
}

.review-name {
  font-weight: 600;
  margin-top: 0.6rem;
  font-size: 0.9rem;
}

.review-role {
  font-size: 0.78rem;
  color: #b8b8cc;
}

.review-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.review-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
}

.review-dot.active {
  background: var(--red);
}

/* ========== CONTACT ========== */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.75fr);
  gap: 2.1rem;
  align-items: flex-start;
}

.contact-list {
  list-style: none;
  margin-top: 1rem;
}

.contact-list li {
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

/* form */

.contact-form {
  background: var(--bg-elevated);
  border-radius: 1rem;
  padding: 1.3rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.form-group {
  margin-bottom: 0.95rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 0.3rem;
  color: #e0e0ec;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.55rem 0.6rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #050509;
  color: #ffffff;
  font-size: 0.86rem;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--red);
}

.form-note {
  margin-top: 0.4rem;
  font-size: 0.75rem;
  color: #aaaac4;
}

/* ========== BUTTONS ========== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.13s ease-out,
    box-shadow 0.13s ease-out,
    background 0.16s ease-out,
    color 0.16s ease-out,
    border-color 0.16s ease-out;
}

.btn.primary {
  background: linear-gradient(135deg, var(--red), var(--red-soft));
  color: #08080d;
  font-weight: 600;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.65);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.32);
  color: #ffffff;
  background: rgba(10, 10, 18, 0.9);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.btn.full-width {
  width: 100%;
}

/* ========== FOOTER ========== */

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 1.1rem 0 1.7rem;
  background: #050509;
}

.footer-inner {
  text-align: center;
  font-size: 0.8rem;
  color: #a7a7bc;
}

.footer-small {
  margin-top: 0.25rem;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

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

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

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

  .hero {
    padding-top: 4rem;
  }
}

@media (max-width: 720px) {
  .nav {
    position: absolute;
    inset-inline: 0;
    top: 96px;
    background: rgba(5, 5, 10, 0.98);
    padding: 0.9rem 1.4rem 1.2rem;
    flex-direction: column;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.16s ease-out, opacity 0.16s ease-out;
  }

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

  .nav-toggle {
    display: block;
  }

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

  .review-card {
    margin-right: 0.55rem;
  }
}
