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

:root {
  --accent: #d13824;
  --accent-2: #f2a23a;
  --ink: #121417;
  --ink-soft: #24282f;
  --paper: #f6f1e8;
  --white: #fffaf2;
  --muted: rgba(255, 250, 242, 0.72);
  --text-muted: #6d6f73;
  --line: rgba(18, 20, 23, 0.12);
  --shadow: 0 24px 80px rgba(18, 20, 23, 0.16);
  --display: "Oswald", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 4px;
}

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

.reveal.hidden {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--accent);
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

.section-title {
  margin-top: 0.65rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(2.15rem, 5vw, 4.7rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.section-subtitle {
  max-width: 650px;
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.7vw, 1.15rem);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.78rem 1.25rem;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    transform 0.2s var(--ease),
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 16px 34px rgba(209, 56, 36, 0.28);
}

.btn-primary:hover {
  background: #b92c1b;
}

.btn-ghost {
  border-color: rgba(255, 250, 242, 0.5);
  color: var(--white);
}

.btn-ghost:hover {
  background: rgba(255, 250, 242, 0.1);
}

#nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 1.05rem 0;
  color: var(--white);
  transition:
    transform 0.35s var(--ease),
    background 0.25s ease,
    padding 0.25s ease,
    box-shadow 0.25s ease;
}

#nav.scrolled {
  background: rgba(18, 20, 23, 0.92);
  padding: 0.65rem 0;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 250, 242, 0.32);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(209, 56, 36, 0.9), rgba(242, 162, 58, 0.72)),
    rgba(255, 250, 242, 0.08);
  font-family: var(--display);
  font-weight: 800;
}

.brand-name {
  display: grid;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-name span {
  margin-top: 0.18rem;
  color: rgba(255, 250, 242, 0.66);
  font-family: var(--body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
}

.nav-links a {
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  color: rgba(255, 250, 242, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links a:hover {
  background: rgba(255, 250, 242, 0.1);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 250, 242, 0.24);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.08);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: 8rem 0 3rem;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(105deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.64) 46%, rgba(0, 0, 0, 0.2) 100%),
    var(--hero-image) center/cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 86%);
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.55fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}

.hero h1 {
  max-width: 850px;
  margin-top: 1rem;
  font-family: var(--display);
  font-size: clamp(3.2rem, 9vw, 8rem);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}

.hero h1 em {
  color: var(--accent-2);
  font-style: normal;
}

.hero-sub {
  max-width: 680px;
  margin-top: 1.15rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero-panel {
  border: 1px solid rgba(255, 250, 242, 0.2);
  border-radius: 28px;
  background: rgba(18, 20, 23, 0.58);
  padding: 1.25rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.hero-panel strong {
  display: block;
  font-family: var(--display);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--accent-2);
}

.hero-panel span {
  display: block;
  margin-top: 0.3rem;
  color: rgba(255, 250, 242, 0.72);
  font-size: 0.92rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 3rem;
  border: 1px solid rgba(255, 250, 242, 0.18);
  background: rgba(255, 250, 242, 0.12);
}

.trust-item {
  padding: 1rem;
  background: rgba(18, 20, 23, 0.42);
}

.trust-item b {
  display: block;
  color: var(--white);
  font-family: var(--display);
  font-size: 1.4rem;
}

.trust-item small {
  color: rgba(255, 250, 242, 0.66);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

section {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.split-head {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.42fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.3rem;
}

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

.card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  padding: 1.25rem;
  box-shadow: 0 10px 34px rgba(18, 20, 23, 0.06);
}

.card::after {
  content: "";
  position: absolute;
  inset: auto -18% -28% auto;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(209, 56, 36, 0.09);
}

.card-num {
  color: var(--accent);
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.card h3 {
  margin-top: 1.8rem;
  font-family: var(--display);
  font-size: 1.55rem;
  line-height: 1.05;
  text-transform: uppercase;
}

.card p {
  margin-top: 0.8rem;
  color: var(--text-muted);
}

.dark-band {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.dark-band .section-title {
  color: var(--white);
}

.dark-band .section-subtitle,
.dark-band p {
  color: rgba(255, 250, 242, 0.68);
}

.process {
  display: grid;
  gap: 0.75rem;
}

.process-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1rem;
  align-items: start;
  border: 1px solid rgba(255, 250, 242, 0.13);
  border-radius: 22px;
  padding: 1.1rem;
  background: rgba(255, 250, 242, 0.045);
}

.process-step b {
  color: var(--accent-2);
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
}

.process-step h3 {
  color: var(--white);
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1;
  text-transform: uppercase;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 1rem;
}

.project-card {
  position: relative;
  display: grid;
  min-height: 360px;
  overflow: hidden;
  align-items: end;
  border-radius: 30px;
  padding: 1.25rem;
  color: white;
  background: var(--image) center/cover no-repeat;
  isolation: isolate;
}

.project-card:nth-child(2),
.project-card:nth-child(3) {
  min-height: 250px;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.12));
}

.project-card h3 {
  font-family: var(--display);
  font-size: 1.75rem;
  line-height: 1;
  text-transform: uppercase;
}

.project-card p {
  max-width: 520px;
  margin-top: 0.45rem;
  color: rgba(255, 250, 242, 0.76);
}

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

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

.quote {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  padding: 1.3rem;
}

.quote p {
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.quote b {
  display: block;
  margin-top: 1rem;
  font-family: var(--display);
  text-transform: uppercase;
}

.cta {
  border-radius: 38px;
  background:
    linear-gradient(135deg, rgba(209, 56, 36, 0.94), rgba(18, 20, 23, 0.98)),
    var(--cta-image) center/cover no-repeat;
  color: var(--white);
  padding: clamp(2rem, 5vw, 4rem);
}

.cta h2 {
  max-width: 850px;
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.cta p {
  max-width: 620px;
  margin-top: 1rem;
  color: rgba(255, 250, 242, 0.72);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 0.65fr);
  gap: 3rem;
  align-items: start;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 0;
  background: transparent;
  padding: 1.25rem 0;
  cursor: pointer;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  text-transform: uppercase;
}

.faq-icon {
  display: grid;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: rgba(18, 20, 23, 0.06);
  color: var(--accent);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: white;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-body {
  max-height: 260px;
}

.faq-body p {
  padding: 0 3rem 1.25rem 0;
  color: var(--text-muted);
}

.contact {
  background: var(--ink);
  color: var(--white);
}

.contact .section-title {
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 0.7fr);
  gap: 2rem;
  align-items: start;
}

.contact-card {
  border: 1px solid rgba(255, 250, 242, 0.14);
  border-radius: 32px;
  background: rgba(255, 250, 242, 0.06);
  padding: 1.25rem;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

label {
  display: grid;
  gap: 0.35rem;
  color: rgba(255, 250, 242, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(255, 250, 242, 0.15);
  border-radius: 16px;
  background: rgba(255, 250, 242, 0.08);
  color: var(--white);
  padding: 0.9rem 1rem;
  outline: none;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 250, 242, 0.38);
}

.form-ok {
  display: none;
  border-radius: 18px;
  background: rgba(242, 162, 58, 0.16);
  color: var(--white);
  padding: 1rem;
}

footer {
  border-top: 1px solid rgba(255, 250, 242, 0.12);
  background: var(--ink);
  color: rgba(255, 250, 242, 0.58);
  padding: 1.5rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
    position: relative;
    z-index: 110;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 0.75rem;
    background: rgba(18, 20, 23, 0.98);
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .hero-shell,
  .split-head,
  .faq-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

  .project-card:first-child {
    grid-row: auto;
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: auto;
    padding-top: 7rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 18vw, 5rem);
  }

  .cards-grid,
  .testimonials,
  .trust-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }
}
