:root {
  --bg: #050505;
  --panel: #111113;
  --panel-2: #18181b;
  --line: rgba(255, 255, 255, 0.13);
  --text: #f7f7f7;
  --muted: #b3b3b8;
  --red: #e30613;
  --red-dark: #9e0710;
  --white: #ffffff;
  --max: 1180px;
  --header: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(227, 6, 19, 0.14), transparent 28rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.025) 25%, transparent 25%) 0 0 / 10px 10px,
    var(--bg);
  color: var(--text);
  font-family: "Inter", "Arial", sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(100% - 32px, var(--max));
  min-height: var(--header);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: 205px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.site-nav a {
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--white);
  border-color: var(--red);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.language-switch a {
  min-width: 34px;
  padding: 7px 8px;
  border: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  line-height: 1;
}

.language-switch a.is-active,
.language-switch a:hover {
  border-color: var(--red);
  background: rgba(227, 6, 19, 0.16);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--white);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--red);
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.86rem;
  letter-spacing: 0;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.btn:hover {
  background: var(--red-dark);
}

.btn.btn-ghost {
  background: transparent;
  border-color: var(--line);
}

.btn.btn-ghost:hover {
  border-color: var(--red);
}

.hero,
.page-hero {
  position: relative;
  min-height: calc(100vh - var(--header));
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero {
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.94) 0%, rgba(5, 5, 5, 0.7) 45%, rgba(5, 5, 5, 0.18) 100%),
    url("../images/hero-performance.png") center right / cover no-repeat;
}

.page-hero {
  min-height: 0;
  padding: clamp(76px, 7vw, 112px) 0 clamp(86px, 8vw, 124px);
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.96), rgba(5, 5, 5, 0.75)),
    linear-gradient(135deg, rgba(227, 6, 19, 0.16), transparent 55%);
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  background: linear-gradient(90deg, var(--red), transparent 70%);
  clip-path: polygon(0 0, 92% 0, 100% 100%, 0 100%);
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.hero-content,
.page-hero .container {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.page-hero .container {
  max-width: 640px;
}

.hero-content {
  max-width: 690px;
}

.kicker {
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  margin: 0 0 12px;
}

h1,
h2,
h3 {
  line-height: 1.06;
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3rem, 8vw, 6.4rem);
  text-transform: uppercase;
}

.page-hero h1 {
  max-width: 640px;
  font-size: clamp(2rem, 3.45vw, 3.45rem);
  line-height: 1.08;
}

.page-hero .lead {
  max-width: 560px;
  margin-top: 18px;
  font-size: clamp(0.98rem, 1.05vw, 1.08rem);
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(2.7rem, 5.15vw, 5rem);
  line-height: 1.02;
}

.hero .kicker {
  font-size: clamp(0.82rem, 1.1vw, 0.98rem);
  margin-bottom: 16px;
}

.hero .lead {
  max-width: 610px;
  font-size: clamp(1rem, 1.3vw, 1.16rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  text-transform: uppercase;
}

h3 {
  font-size: 1.25rem;
  text-transform: uppercase;
}

p {
  color: var(--muted);
  margin: 0;
}

.lead {
  max-width: 660px;
  margin-top: 20px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.section {
  padding: 88px 0;
}

.section.dark-band {
  background: rgba(255, 255, 255, 0.035);
  border-block: 1px solid var(--line);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 34px;
}

.section-head p {
  max-width: 520px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

.card,
.service-card,
.project-card,
.form-panel {
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  padding: 26px;
  overflow: hidden;
}

.card::before,
.service-card::before,
.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 4px;
  background: var(--red);
}

.service-card {
  min-height: 242px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card p,
.card p,
.project-card p {
  margin-top: 14px;
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.service-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid var(--line);
  color: var(--white);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.service-actions a:first-child {
  border-color: var(--red);
  background: rgba(227, 6, 19, 0.16);
}

.service-actions a:hover {
  border-color: var(--red);
}

.split {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 46px;
  align-items: center;
}

.feature-list,
.check-list,
.faq-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
}

.feature-list li,
.check-list li {
  padding: 14px 0 14px 28px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  position: relative;
}

.feature-list li::before,
.check-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--red);
  position: absolute;
  left: 0;
  top: 22px;
  transform: skewX(-18deg);
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}

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

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

.stat strong {
  display: block;
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
}

.stat span {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
}

.steps {
  counter-reset: step;
}

.step {
  counter-increment: step;
  padding-left: 70px;
}

.step::after {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 22px;
  top: 24px;
  color: var(--red);
  font-weight: 900;
  font-size: 1.25rem;
}

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

.faq-item strong {
  display: block;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.filter-btn {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--white);
  padding: 11px 16px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.filter-btn.is-active,
.filter-btn:hover {
  border-color: var(--red);
  background: var(--red);
}

.project-visual {
  height: 150px;
  margin: -26px -26px 24px;
  background:
    linear-gradient(135deg, rgba(227, 6, 19, 0.45), transparent 55%),
    linear-gradient(45deg, #1d1d20, #080808);
  position: relative;
}

.project-visual::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 34px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.34);
  border-top-width: 6px;
  transform: skewX(-18deg);
}

.badge {
  display: inline-flex;
  padding: 6px 10px;
  background: rgba(227, 6, 19, 0.15);
  color: var(--white);
  border: 1px solid rgba(227, 6, 19, 0.45);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.form-panel {
  background: var(--panel);
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--white);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  background: #080809;
  color: var(--white);
  padding: 12px 14px;
  font: inherit;
}

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

.success {
  color: var(--white);
  border-left: 4px solid var(--red);
  background: rgba(227, 6, 19, 0.14);
  padding: 12px 14px;
}

.map-placeholder {
  min-height: 320px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(227, 6, 19, 0.2), transparent 45%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    #0c0c0d;
  background-size: auto, 42px 42px, 42px 42px, auto;
  display: grid;
  place-items: center;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 900;
}

.cta-band {
  padding: 58px 0;
  background: linear-gradient(100deg, var(--red), #650207);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.82);
}

.footer {
  padding: 64px 0 26px;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(227, 6, 19, 0.08), transparent 36%),
    #030303;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 34px;
  color: var(--muted);
}

.footer-brand img {
  width: 185px;
  margin-bottom: 18px;
}

.footer-brand p {
  max-width: 340px;
}

.footer-col h3 {
  margin-bottom: 16px;
  color: var(--white);
  font-size: 0.92rem;
}

.footer-col a,
.footer-col span {
  display: block;
  color: var(--muted);
  margin: 9px 0;
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.9rem;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #001b0b;
  border-radius: 50%;
  font-weight: 900;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}

.whatsapp-float img {
  width: 30px;
  height: 30px;
}

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

  .site-nav {
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px 24px 26px;
    background: rgba(5, 5, 5, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .language-switch {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }

  .site-nav.is-open {
    display: flex;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .split {
    grid-template-columns: 1fr;
  }

  .section-head,
  .footer-bottom {
    display: grid;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --header: 70px;
  }

  .brand img {
    width: 170px;
  }

  .hero {
    min-height: 560px;
  }

  .page-hero {
    padding: 58px 0 72px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 62px 0;
  }

  .stat-strip {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat:last-child {
    border-bottom: 0;
  }
}
