:root {
  --primary: #b51212;
  --primary-dark: #7f0c0c;
  --bg: #f4f4f4;
  --surface: #e8e8e8;
  --panel: #ffffff;
  --panel-dark: #0f0f10;
  --text: #0f1011;
  --text-soft: #4e5358;
  --text-light: rgba(255, 255, 255, 0.8);
  --line: #c4c4c4;
  --container: 1260px;
  --header-height: 160px;
  --shadow-soft: 0 14px 34px rgba(0, 0, 0, 0.07);
  --shadow-card: 0 22px 46px rgba(0, 0, 0, 0.12);
  --transition: 0.24s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  font-family: 'IBM Plex Sans', 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(181, 18, 18, 0.045), transparent 22%),
    linear-gradient(90deg, rgba(17, 17, 17, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(17, 17, 17, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, #f8f8f5 0%, #eeeeec 100%);
  background-size: auto, 44px 44px, 44px 44px, auto;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

textarea {
  resize: vertical;
}

:focus-visible {
  outline: 3px solid rgba(181, 18, 18, 0.38);
  outline-offset: 3px;
}

::selection {
  background: rgba(181, 18, 18, 0.18);
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

main {
  min-height: calc(100vh - var(--header-height));
}

section {
  scroll-margin-top: calc(var(--header-height) + 1rem);
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

p {
  text-wrap: pretty;
}

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

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

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .service-card,
  .blog-card,
  .why-card,
  .partner-logo,
  .header-social a,
  .footer-social a,
  .whatsapp-float {
    transition: none !important;
  }
}

.section-index {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
}

.section-index--light {
  color: rgba(255, 255, 255, 0.76);
}

.eyebrow-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(17, 17, 17, 0.16);
  background: rgba(255, 255, 255, 0.72);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow--ghost {
  background: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 1.35rem;
  border: 1px solid transparent;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

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

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(181, 18, 18, 0.18);
}

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

.btn-secondary {
  border-color: rgba(17, 17, 17, 0.2);
  background: rgba(255, 255, 255, 0.84);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--text);
  background: #ffffff;
}

.btn-secondary--light {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.btn-secondary--light:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}
