:root {
  --ink: #171513;
  --muted: #6f675f;
  --paper: #fff8f0;
  --white: #fffdf8;
  --coral: #e84f3d;
  --red: #bb1f18;
  --teal: #087f7b;
  --yellow: #f0b83e;
  --line: rgba(23, 21, 19, 0.14);
  --shadow: 0 18px 48px rgba(23, 21, 19, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 70px);
  background: rgba(23, 21, 19, 0.74);
  color: #fff;
  backdrop-filter: blur(14px);
}

.brand,
.site-nav,
.nav-cta,
.button {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
}

.site-nav a:hover,
.nav-cta:hover {
  color: #fff;
}

.nav-cta {
  padding: 11px 16px;
  border-radius: 7px;
  background: var(--teal);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 116px clamp(22px, 7vw, 96px) 70px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(13, 12, 10, 0.9), rgba(13, 12, 10, 0.54), rgba(13, 12, 10, 0.18)),
    url("assets/chico-besta-fera-oficial.png") center right / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 9px;
  background: linear-gradient(90deg, var(--coral), var(--yellow), var(--teal));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--yellow);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 20px;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(31px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  font-size: 22px;
  line-height: 1.12;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 7px;
  padding: 14px 20px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.button-primary,
.button-submit {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 16px 36px rgba(232, 79, 61, 0.28);
}

.button-primary:hover,
.button-submit:hover {
  background: #d43f31;
}

.button-ghost {
  border: 1px solid rgba(255, 255, 255, 0.44);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-proof span {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 800;
}

.ticker {
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 34px;
  padding: 18px 0;
  animation: slide 30s linear infinite;
}

.ticker span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

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

.section {
  padding: clamp(58px, 8vw, 104px) clamp(20px, 6vw, 88px);
}

.authority {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
}

.section-text p,
.quote-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.authority-photo {
  margin: 0;
}

.authority-photo img {
  display: block;
  width: 100%;
  border: 8px solid #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.authority-photo figcaption {
  margin-top: 10px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

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

.service-card {
  min-height: 268px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 30px rgba(23, 21, 19, 0.06);
}

.service-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 30px;
  border-radius: 7px;
  background: var(--teal);
  color: #fff;
  font-weight: 900;
}

.service-card:nth-child(2) .service-number,
.service-card:nth-child(4) .service-number {
  background: var(--coral);
}

.service-card p,
.process-list span,
.faq p {
  color: var(--muted);
  line-height: 1.55;
}

.process {
  background: #fffdf8;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.process-list li {
  position: relative;
  min-height: 190px;
  padding: 24px 22px;
  border-top: 7px solid var(--teal);
  border-radius: 8px;
  background: var(--paper);
}

.process-list li:nth-child(even) {
  border-top-color: var(--coral);
}

.process-list li::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 20px;
  color: var(--yellow);
  font-size: 32px;
  font-weight: 900;
}

.process-list strong {
  display: block;
  margin-bottom: 10px;
  font-size: 21px;
}

.offer {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 34px;
  align-items: start;
}

.audience-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.audience-list span {
  padding: 12px 14px;
  border-radius: 7px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 800;
}

.quote {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  background: var(--ink);
  color: #fff;
}

.quote-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.notice {
  margin-top: 24px;
  padding: 16px;
  border-left: 5px solid var(--yellow);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.quote-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.quote-form .full,
.button-submit,
.form-feedback {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(23, 21, 19, 0.18);
  border-radius: 6px;
  padding: 13px 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(8, 127, 123, 0.18);
  border-color: var(--teal);
}

.form-feedback {
  min-height: 20px;
  margin: 0;
  color: var(--teal);
  font-weight: 800;
}

.faq {
  max-width: 980px;
  margin: 0 auto;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

details + details {
  margin-top: 14px;
}

summary {
  cursor: pointer;
  padding: 20px 22px;
  font-size: 18px;
  font-weight: 900;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 6vw, 88px);
  background: #111;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #fff;
  font-weight: 900;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .authority,
  .offer,
  .quote {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .site-header {
    position: absolute;
    padding: 12px 16px;
  }

  .brand span:last-child {
    display: none;
  }

  .nav-cta {
    padding: 10px 12px;
    font-size: 12px;
  }

  .hero {
    min-height: 88vh;
    padding: 98px 18px 54px;
    background:
      linear-gradient(180deg, rgba(13, 12, 10, 0.88), rgba(13, 12, 10, 0.74)),
      url("assets/chico-besta-fera-oficial.png") center / cover no-repeat;
  }

  h1 {
    font-size: 42px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 54px 18px;
  }

  .service-grid,
  .process-list,
  .quote-form {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
