:root {
  --bg: #f6f4f0;
  --panel: #ffffff;
  --panel-2: #fbf9f5;
  --ink: #0c0c0c;
  --text: #161616;
  --muted: #57575a;
  --subtle: #838386;
  --line: rgba(0, 0, 0, 0.12);
  --red: #df1f2e;
  --red-dark: #a11723;
  --red-light: #ff5a5a;
  --red-soft: #fbeaea;
  --red-gradient: linear-gradient(135deg, var(--red-light) 0%, var(--red) 55%, var(--red-dark) 100%);
  --cream: #fff8ee;
  --shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
  --radius: 14px;
  --container: 1180px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 16px;
  z-index: 100;
  padding: 10px 18px;
  background: var(--red);
  color: white;
  font-weight: 700;
  border-radius: var(--radius);
  text-decoration: none;
}

.skip-link:focus {
  left: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 0%, rgba(201, 38, 47, 0.07), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

a:focus-visible,
button:focus-visible,
.field:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 244, 240, 0.82);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90vw;
  min-height: 78px;
  margin: 0 auto;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: auto;
  height: 46px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.nav-links a {
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 9px 13px;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--red-soft);
  color: var(--red-dark);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span {
  position: relative;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.container {
  width: 90vw;
  max-width: var(--container);
  margin: 0 auto;
}

main {
  padding-top: 78px;
}

.hero {
  position: relative;
  width: 100vw;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 90, 90, 0.5), transparent);
  z-index: 1;
}

.hero.spark {
  background: var(--bg);
}

.hero-fx {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero-fx::before,
.hero-fx::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  font-size: 36px;
  content: ".";
  color: transparent;
  mix-blend-mode: multiply;
  animation-name: hero-dots-move;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

.hero-fx::before {
  text-shadow: var(--dots-a, none);
  animation-duration: 22s;
  animation-delay: -6s;
}

.hero-fx::after {
  text-shadow: var(--dots-b, none);
  animation-duration: 18s;
  animation-delay: -11s;
}

@keyframes hero-dots-move {
  from {
    transform: translateY(8vh);
  }
  to {
    transform: translateY(-46vh);
  }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: 72px 0;
  gap: 56px;
}

.hero.spark .hero-grid {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  min-height: auto;
  padding: 150px 0 130px;
}

.hero.spark .lead {
  margin-left: auto;
  margin-right: auto;
}

.hero.spark .hero-actions {
  justify-content: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--red-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--red-gradient);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.14;
  font-family: "Poppins", "Inter", sans-serif;
}

h1 {
  max-width: 980px;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  font-weight: 800;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  font-weight: 800;
}

h3 {
  font-size: 1.12rem;
  font-weight: 700;
}

.lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  text-wrap: balance;
}

.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0 20px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: scale(1.04);
}

.button.primary {
  background: var(--red-gradient);
  color: white;
  box-shadow: 0 12px 26px rgba(223, 31, 46, 0.32);
}

.button.secondary {
  border-color: var(--red);
  background: var(--panel);
  color: var(--text);
}

.hero-mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.hero-mark img {
  width: min(100%, 400px);
  height: auto;
  filter: drop-shadow(0 20px 50px rgba(223, 31, 46, 0.25));
  animation: hero-logo-in 1.1s ease forwards;
}

@keyframes hero-logo-in {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.section {
  width: 100vw;
  padding: 88px 0;
}

.section.alt {
  background: var(--panel-2);
  border-block: 1px solid var(--line);
}

.section.dark {
  background: var(--ink);
  color: #f1efec;
}

.section.dark .muted,
.section.dark p {
  color: #c7cace;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.65fr);
  align-items: start;
  gap: 40px;
  margin-bottom: 34px;
}

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

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

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

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

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

.card,
.feature,
.document-row,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.card,
.feature {
  padding: 24px;
  transition: box-shadow 200ms ease, transform 200ms ease, border-color 200ms ease;
}

.card:hover,
.feature:hover {
  border-color: var(--red);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.card p,
.feature p {
  margin: 12px 0 0;
  color: var(--muted);
}

.card-label {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--red-dark);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: var(--red-soft);
  color: var(--red);
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.feature {
  position: relative;
  min-height: 220px;
  overflow: hidden;
}

.feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--red-dark), var(--red), var(--red-light), transparent);
}

.feature ul,
.text-block ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.feature li,
.text-block li {
  margin: 8px 0;
}

.page-hero {
  width: 100vw;
  padding: 76px 0 60px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 85% 10%, rgba(223, 31, 46, 0.08), transparent 28rem),
    var(--panel-2);
}

.page-hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
}

.page-hero .lead {
  max-width: 860px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.54fr);
  gap: 44px;
  align-items: start;
}

.text-block {
  color: var(--muted);
}

.text-block p {
  margin: 0 0 18px;
}

.quote-panel {
  border-left: 4px solid var(--red-light);
  background: var(--ink);
  border-radius: var(--radius);
  padding: 26px;
  color: var(--cream);
  font-size: 1.05rem;
  font-weight: 600;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 0 0 18px;
}

.timeline-item strong {
  color: var(--red-dark);
}

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

.document-list {
  display: grid;
  gap: 12px;
}

.document-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
}

.document-row span {
  color: var(--muted);
  font-size: 0.88rem;
}

.document-row strong {
  display: block;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.badge {
  border: 1px solid rgba(223, 31, 46, 0.3);
  border-radius: 999px;
  background: rgba(223, 31, 46, 0.08);
  color: var(--red-dark);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 12px;
}

.logo-carousel {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.logo-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: logo-scroll 32s linear infinite;
}

.logo-item {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 96px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-2);
  padding: 16px;
}

.logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@keyframes logo-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-track {
    animation: none;
  }
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 0.58fr);
  gap: 22px;
}

.contact-panel {
  padding: 26px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--ink);
  color: #f1efec;
  border: none;
}

.contact-info .text-block,
.contact-info p {
  color: #c7cace;
}

.contact-info a {
  color: #ff9b9b;
}

.contact-panel label {
  display: block;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
}

.field {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-2);
  color: var(--text);
  font: inherit;
  margin-bottom: 16px;
  padding: 12px 14px;
}

textarea.field {
  min-height: 140px;
  resize: vertical;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

.site-footer {
  width: 100vw;
  background: var(--ink);
  color: #c7cace;
  padding: 48px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px;
}

.footer-grid h3 {
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: #f1efec;
}

.footer-grid p,
.footer-grid a {
  display: block;
  margin: 7px 0;
  color: #b6bac0;
  font-size: 0.86rem;
}

.footer-grid a:hover {
  color: #ff9b9b;
}

.footer-col-brand {
  max-width: 50%;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  margin-bottom: 6px;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: #fff8ee;
}

.footer-brand img {
  width: auto;
  height: 38px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #8b8f94;
  font-size: 0.8rem;
  margin-top: 32px;
  padding-top: 18px;
}

@media (max-width: 1080px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    inset: 78px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid var(--line);
    background: rgba(246, 244, 240, 0.98);
    padding: 16px;
  }

  body.menu-open .nav-links {
    display: flex;
  }

  .nav-links a {
    border-radius: var(--radius);
    padding: 13px 14px;
  }

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

  .hero-grid {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .grid.three,
  .grid.two,
  .grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hero-mark {
    min-height: 220px;
  }

  .hero-mark img {
    width: min(60%, 240px);
  }

  .brand span {
    max-width: 190px;
  }

  .section,
  .page-hero {
    padding: 56px 0;
  }

  .timeline-item,
  .document-row {
    grid-template-columns: 1fr;
  }

  .document-row {
    align-items: flex-start;
    flex-direction: column;
  }

  h1, h2, h3,
  .lead, .eyebrow,
  .text-block p,
  .section-head p,
  .page-hero p,
  .badge-row,
  .hero-actions,
  .action-row {
    text-align: center;
  }

  .eyebrow {
    justify-content: center;
  }

  .hero-actions,
  .action-row,
  .badge-row {
    justify-content: center;
  }

  .card,
  .feature {
    text-align: center;
  }

  .feature ul {
    text-align: left;
    display: inline-block;
  }

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

  .footer-grid {
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-col-brand {
    max-width: 100%;
  }

  .footer-bottom {
    text-align: center;
  }

  .contact-info {
    text-align: center;
  }

  .quote-panel {
    text-align: center;
  }
}
