:root {
  --bg: #faf7f4;
  --surface: #ffffff;
  --surface-soft: #f5f0ec;
  --text: #1a1d2b;
  --muted: #646877;
  --line: #ebe3dd;
  --red: #b3202f;
  --red-dark: #8f1424;
  --red-light: #f2b8be;
  --dark: #1a1d2b;
  --dark-2: #252a3d;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

html,
body {
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  font-family: "Outfit", "Segoe UI", sans-serif;
  line-height: 1.15;
  margin: 0;
}

p {
  margin: 0;
}

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

img {
  max-width: 100%;
}

.container {
  width: min(1140px, calc(100% - 2.6rem));
  margin-inline: auto;
}

section {
  padding: 5rem 0;
}

/* Reveal animation */

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

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Common */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--red);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.tag::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
}

.tag-light {
  color: var(--red-light);
}

.section-title {
  margin-bottom: 2.4rem;
}

.section-title h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  max-width: 22ch;
}

.section-title-center {
  text-align: center;
}

.section-title-center h2 {
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  border: 2px solid var(--red);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 24px rgba(179, 32, 47, 0.28);
}

.btn:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
}

.btn:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(179, 32, 47, 0.35);
  outline-offset: 3px;
}

.btn-small {
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
}

.btn-outline {
  background: transparent;
  color: var(--red);
  box-shadow: none;
}

.btn-outline:hover {
  color: #fff;
}

.btn-light {
  background: #fff;
  border-color: #fff;
  color: var(--red);
  box-shadow: none;
}

.btn-light:hover {
  background: var(--surface-soft);
  border-color: var(--surface-soft);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
}

.logo-image {
  height: 46px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  gap: 1.6rem;
  font-weight: 600;
  font-size: 0.93rem;
  color: #3f4352;
}

.main-nav a {
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--red);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  padding: 0 10px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* Hero */

.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  padding: 5rem 0 8rem;
  background:
    linear-gradient(90deg, rgba(20, 22, 34, 0.88) 0%, rgba(20, 22, 34, 0.65) 50%, rgba(20, 22, 34, 0.2) 100%),
    url("../img/hero.jpg") center 40% / cover no-repeat;
  color: #fff;
}

.hero-inner {
  max-width: 1140px;
}

.hero .tag {
  color: var(--red-light);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  max-width: 15ch;
  font-weight: 700;
}

.hero h1 em {
  font-style: normal;
  color: #ff6b78;
}

.hero-text {
  margin-top: 1.3rem;
  max-width: 52ch;
  color: #dcdde3;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;
  margin-top: 2rem;
}

.link-arrow {
  font-weight: 700;
  color: #fff;
  border-bottom: 2px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}

.link-arrow:hover {
  border-color: #fff;
}

/* Stats bar */

.stats-bar {
  position: relative;
  z-index: 2;
  margin-top: -4.5rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(26, 29, 43, 0.14);
  overflow: hidden;
}

.stat {
  padding: 1.6rem 1.4rem;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: none;
}

.stat strong {
  display: block;
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: 2.2rem;
  color: var(--red);
  line-height: 1.1;
}

.stat > span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Services */

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

.service {
  position: relative;
  padding: 1.8rem 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 4px;
  background: var(--red);
  transition: width 0.35s ease;
}

.service:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(26, 29, 43, 0.1);
  border-color: transparent;
}

.service:hover::after {
  width: 100%;
}

.service-num {
  display: block;
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--red);
  margin-bottom: 1.1rem;
}

.service h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.service p {
  color: var(--muted);
}

/* About */

.about {
  background: var(--surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.4rem;
  align-items: center;
}

.about-media {
  position: relative;
  margin: 0;
}

.about-media img {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
}

.about-badge {
  position: absolute;
  right: -1.4rem;
  bottom: 2rem;
  max-width: 190px;
  padding: 1.2rem 1.3rem;
  border-radius: 16px;
  background: var(--red);
  color: #fff;
  box-shadow: 0 18px 36px rgba(179, 32, 47, 0.35);
}

.about-badge strong {
  display: block;
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: 2.4rem;
  line-height: 1;
}

.about-badge span {
  font-size: 0.88rem;
  color: #fde3e6;
}

.about-content h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  margin-bottom: 1.2rem;
}

.about-content > p {
  color: var(--muted);
}

.check-list {
  list-style: none;
  margin: 1.6rem 0 2rem;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem 1.2rem;
}

.check-list li {
  position: relative;
  padding-left: 1.9rem;
  font-weight: 600;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(179, 32, 47, 0.12)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b3202f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}

/* Industries */

.chip-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 900px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.chip-list li {
  padding: 0.7rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.chip-list li:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* Process */

.process {
  padding-top: 1rem;
}

.steps {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
}

.steps::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 27px;
  right: calc(25% - 1.05rem - 27px);
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--red) 0 8px, transparent 8px 16px);
  opacity: 0.4;
}

.steps li {
  position: relative;
}

.step-dot {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
  background: var(--red);
  color: #fff;
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  box-shadow: 0 0 0 8px var(--bg);
}

.steps h3 {
  font-size: 1.2rem;
  margin-bottom: 0.45rem;
}

.steps p {
  color: var(--muted);
}

/* Why us */

.why {
  background:
    radial-gradient(circle at 85% 15%, rgba(179, 32, 47, 0.35), transparent 40%),
    var(--dark);
  color: #fff;
}

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

.why-item {
  padding: 1.6rem 1.4rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.25s ease, transform 0.25s ease;
}

.why-item:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-4px);
}

.why-item svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: #ff6b78;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 1rem;
}

.why-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
}

.why-item p {
  color: #b9bccb;
  font-size: 0.95rem;
}

/* FAQ */

.faq-wrap {
  max-width: 820px;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.faq-list summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 3.4rem 1.15rem 1.3rem;
  font-weight: 700;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "";
  position: absolute;
  right: 1.3rem;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq-list details p {
  padding: 0 1.3rem 1.2rem;
  color: var(--muted);
}

/* Contact */

.contact {
  padding-top: 1rem;
}

.contact-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 3rem;
  border-radius: 24px;
  background: linear-gradient(130deg, var(--red-dark), var(--red) 60%, #d42f3f);
  color: #fff;
  box-shadow: 0 26px 60px rgba(143, 20, 36, 0.3);
}

.contact-info h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin-bottom: 1rem;
}

.contact-company {
  font-weight: 700;
  color: #fde3e6;
}

.contact-list {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
}

.contact-list svg {
  width: 38px;
  height: 38px;
  padding: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.contact-list a:hover {
  text-decoration: underline;
}

.contact-side {
  padding: 1.8rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-side p {
  color: #fde3e6;
  margin-bottom: 1.4rem;
}

/* Footer */

.site-footer {
  width: 100%;
  background: var(--dark);
  color: #b9bccb;
  padding-top: 3.4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.4rem;
}

.footer-logo {
  height: 46px;
  width: auto;
  display: block;
  margin-bottom: 1rem;
}

.footer-about {
  max-width: 36ch;
  font-size: 0.93rem;
}

.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.9rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  font-size: 0.93rem;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
}

/* Responsive */

@media (max-width: 990px) {
  .nav-wrap > .btn-small {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0 0 14px 14px;
    box-shadow: 0 16px 30px rgba(26, 29, 43, 0.12);
  }

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

  .main-nav a {
    padding: 0.9rem 1.2rem;
    border-bottom: 1px solid var(--line);
  }

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

  .stat:nth-child(2) {
    border-right: none;
  }

  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

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

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

  .about-media img {
    height: 380px;
  }

  .about-badge {
    right: 1rem;
  }

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

  .steps::before {
    display: none;
  }
}

@media (max-width: 620px) {
  .container {
    width: calc(100% - 2rem);
  }

  section {
    padding: 3.6rem 0;
  }

  .logo-image {
    height: 38px;
  }

  .hero {
    min-height: 70vh;
    padding: 3.5rem 0 7rem;
    background:
      linear-gradient(180deg, rgba(20, 22, 34, 0.55), rgba(20, 22, 34, 0.9)),
      url("../img/hero.jpg") 30% center / cover no-repeat;
  }

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

  .stat {
    padding: 1.2rem 1rem;
  }

  .stat strong {
    font-size: 1.7rem;
  }

  .service-grid,
  .why-grid,
  .steps,
  .check-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-media img {
    height: 300px;
  }

  .contact-card {
    padding: 1.8rem 1.3rem;
  }

  .contact-side {
    padding: 1.3rem;
  }

  .contact-side .btn {
    width: 100%;
  }

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