:root {
  --bg: #020202;
  --text: #fefefe;
  --red: #ff0000;
  --red-hover: #c40000;
  --ink: #111111;
  --header-h: 64px;
  --header-h-compact: 52px;
  --header-offset: var(--gutter);
  --header-radius: 16px;
  --container: 1180px;
  --gutter: 20px;
  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: Outfit, "Segoe UI", sans-serif;
  --muted: rgba(254, 254, 254, 0.74);
  --line: rgba(254, 254, 254, 0.12);
  --card: #0c0c0c;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

::selection {
  background: var(--red);
  color: var(--text);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 80;
  background: var(--red);
  color: var(--text);
  padding: 8px 12px;
  text-decoration: none;
  font-weight: 700;
}

.skip:focus {
  top: 10px;
}

.container {
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.eyebrow {
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section {
  padding: 96px 0;
}

.section-intro {
  max-width: 740px;
  margin-bottom: 40px;
}

.section-intro h2,
.section-head h2,
#benefits h2,
.contact-band h2 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.6vw, 4.1rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.section-intro__lead {
  margin-top: 16px;
  max-width: 62ch;
  color: var(--muted);
  font-size: 18px;
}

.icon {
  width: 28px;
  height: 28px;
  display: block;
  color: var(--red);
  flex: 0 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 18px;
  border: 2px solid transparent;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.btn .icon {
  width: 18px;
  height: 18px;
  color: currentColor;
}

.btn-red {
  background: var(--red);
  color: var(--text);
}

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

.btn-light {
  background: var(--text);
  color: var(--bg);
}

.btn-light:hover {
  background: var(--bg);
  color: var(--text);
}

.btn-dark {
  background: var(--bg);
  border-color: var(--bg);
  color: var(--text);
}

.btn-dark:hover {
  background: transparent;
  color: var(--text);
}

.btn-line {
  border-color: var(--text);
  color: var(--text);
}

.btn-line:hover {
  background: var(--text);
  color: var(--bg);
}

.site-header {
  --header-inset: max(var(--gutter), calc((100% - var(--container)) / 2));
  position: fixed;
  top: var(--header-offset);
  left: var(--header-inset);
  right: var(--header-inset);
  z-index: 40;
  width: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 20px;
  min-height: var(--header-h);
  padding-inline: 18px;
  background: var(--text);
  color: var(--ink);
  border-radius: var(--header-radius);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-radius 0.25s ease, min-height 0.25s ease;
}

.site-header.is-scrolled {
  --header-h: var(--header-h-compact);
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
}

.logo {
  display: flex;
  align-items: center;
  grid-column: 1;
  grid-row: 1;
  flex: 0 0 auto;
}

.logo img {
  height: 42px;
  width: auto;
  max-width: min(168px, 40vw);
  object-fit: contain;
  transition: height 0.25s ease, max-width 0.25s ease;
}

.site-header.is-scrolled .logo img {
  height: 34px;
  max-width: min(140px, 38vw);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
  grid-column: 2;
  grid-row: 1;
  margin-left: 0;
}

.site-nav a {
  position: relative;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="true"] {
  color: var(--red);
}

.header__tools {
  display: flex;
  align-items: center;
  gap: 6px;
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}

.lang {
  --lang-pad: 3px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  width: 132px;
  padding: var(--lang-pad);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  isolation: isolate;
}

.lang__thumb {
  position: absolute;
  z-index: 0;
  top: var(--lang-pad);
  bottom: var(--lang-pad);
  left: var(--lang-pad);
  width: calc((100% - var(--lang-pad) * 2) / 3);
  border-radius: 999px;
  background: var(--red);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.lang[data-active="en"] .lang__thumb {
  transform: translateX(0);
}

.lang[data-active="pt"] .lang__thumb {
  transform: translateX(100%);
}

.lang[data-active="esp"] .lang__thumb {
  transform: translateX(200%);
}

.lang button {
  position: relative;
  z-index: 1;
  min-height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(17, 17, 17, 0.58);
  padding: 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease;
}

.lang button:hover {
  color: var(--ink);
}

.lang button[aria-pressed="true"] {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle__bars i {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

main:focus {
  outline: none;
}

#top,
#services,
#benefits,
#reviews,
#contact {
  scroll-margin-top: calc(var(--header-offset) + var(--header-h-compact) + 16px);
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 100svh;
  overflow: hidden;
  background: var(--bg);
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 2, 2, 0.94) 0%, rgba(2, 2, 2, 0.78) 42%, rgba(2, 2, 2, 0.28) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-offset) + var(--header-h) + 36px) 0 72px;
  max-width: none;
  text-align: left;
}

.hero h1 {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 7vw, 5.6rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
}

.hero h1 .line-red {
  color: var(--red);
}

.hero__lead {
  margin-top: 20px;
  max-width: 58ch;
  color: rgba(254, 254, 254, 0.84);
  font-size: 18px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(254, 254, 254, 0.16);
}

.hero__facts li {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__facts li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  background: var(--red);
  transform: translateY(-1px);
}

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

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
}

.service-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card__media img {
  transform: scale(1.06);
}

.service-card__media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s ease;
}

.service-card:hover .service-card__media::after {
  transform: scaleX(1);
}

.service-card__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  padding: 20px;
}

.service-card__heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-card h3 {
  flex: 1;
  min-width: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2vw, 2rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.service-card p {
  color: var(--muted);
}

.service-card .btn {
  width: 100%;
  margin-top: auto;
}

.benefits__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 56px;
  align-items: center;
}

.benefits__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #111;
}

.benefits__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 28%;
}

.benefits__photo::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--red);
  z-index: 1;
}

.benefit-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text);
}

.benefit-list .icon {
  width: 22px;
  height: 22px;
  margin-top: 2px;
}

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

.section-head .section-intro {
  margin-bottom: 0;
}

.rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-weight: 700;
}

.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--red);
}

.star {
  width: 16px;
  height: 16px;
  display: block;
}

.rating .star {
  width: 18px;
  height: 18px;
}

.star-partial {
  position: relative;
  width: 18px;
  height: 18px;
  color: rgba(254, 254, 254, 0.28);
}

.star-partial .star {
  width: 18px;
  height: 18px;
}

.star-partial__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 80%;
  overflow: hidden;
  color: var(--red);
}

.link-red {
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
}

.link-red:hover {
  color: var(--text);
}

.reviews-more {
  margin-top: 12px;
}

.carousel__controls {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.icon-btn {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(254, 254, 254, 0.4);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

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

.icon-btn .icon {
  width: 18px;
  height: 18px;
  color: currentColor;
}

.carousel__viewport {
  overflow: hidden;
}

.carousel__track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s ease;
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
}

.review-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-card__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: var(--red);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  line-height: 1;
  padding-top: 10px;
}

.review-card__name {
  font-weight: 700;
}

.review-card__date {
  margin-top: 2px;
  color: rgba(254, 254, 254, 0.55);
  font-size: 13px;
}

.review-card blockquote {
  margin: 0;
  color: rgba(254, 254, 254, 0.88);
  font-size: 15.5px;
  line-height: 1.55;
}

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.carousel__dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(254, 254, 254, 0.28);
  cursor: pointer;
}

.carousel__dots button[aria-current="true"] {
  background: var(--red);
}

.contact-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 88px 0;
  background: var(--red);
  color: var(--text);
}

.contact-band__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  mix-blend-mode: multiply;
  filter: grayscale(0.35) contrast(1.2);
  z-index: 0;
}

.contact-band__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.92fr);
  gap: 48px;
  align-items: center;
}

.contact-band .eyebrow {
  color: var(--text);
}

.contact-band h2,
.contact-band__lead,
.contact-band__address {
  color: var(--text);
}

.contact-band__lead {
  margin-top: 16px;
  max-width: 42ch;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
}

.contact-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.contact-band__address {
  margin-top: 22px;
  font-weight: 700;
}

.contact-band__address a {
  text-decoration: none;
}

.contact-band__address a:hover {
  color: var(--bg);
}

.form-card {
  background: var(--text);
  color: var(--bg);
  color-scheme: light;
  padding: 28px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.form-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
}

.form-note {
  margin: 10px 0 18px;
  color: rgba(2, 2, 2, 0.72);
  font-size: 14px;
}

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

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field input,
.field select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid rgba(2, 2, 2, 0.22);
  border-radius: 0;
  background: var(--text);
  color: var(--bg);
}

.field select {
  appearance: none;
  padding-right: 42px;
  background-image: linear-gradient(45deg, transparent 50%, #020202 50%), linear-gradient(135deg, #020202 50%, transparent 50%);
  background-position: calc(100% - 18px) 22px, calc(100% - 12px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.field select:invalid {
  color: rgba(2, 2, 2, 0.45);
}

.field input::placeholder {
  color: rgba(2, 2, 2, 0.4);
}

.field input:focus,
.field select:focus {
  border-color: var(--red);
  outline: 2px solid var(--red);
  outline-offset: 0;
}

.form-card.is-submitted input:invalid,
.form-card.is-submitted select:invalid {
  border-color: var(--red);
}

.form-success {
  margin-top: 12px;
  padding: 10px 12px;
  border-left: 3px solid var(--red);
  background: #f3f3f3;
  color: var(--bg);
  font-size: 14px;
}

.form-card.is-targeted {
  animation: target-pulse 0.8s ease;
}

@keyframes target-pulse {
  from {
    box-shadow: 0 0 0 0 rgba(2, 2, 2, 0.45);
  }
  to {
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  }
}

.site-footer {
  padding: 64px 0 28px;
  border-top: 3px solid var(--red);
  background: var(--bg);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 0.75fr 1fr;
  gap: 40px;
}

.footer__logo {
  height: 72px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  object-position: left center;
}

.footer__copy {
  margin-top: 16px;
  max-width: 42ch;
  color: var(--muted);
}

.footer__address {
  display: inline-block;
  margin-top: 16px;
  font-weight: 600;
  text-decoration: none;
}

.footer__address:hover {
  color: var(--red);
}

.footer__label,
.site-footer h2 {
  margin-top: 22px;
  margin-bottom: 12px;
  color: var(--red);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.site-footer h2 {
  margin-top: 8px;
}

.footer__hours {
  color: var(--muted);
}

.footer__links,
.contact-list {
  display: grid;
  gap: 10px;
}

.footer__links a,
.contact-list a {
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer__links a:hover,
.contact-list a:hover {
  color: var(--red);
}

.footer__wa {
  margin-top: 16px;
}

.footer__social {
  margin-top: 28px;
}

.social {
  display: flex;
  gap: 10px;
}

.social a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(254, 254, 254, 0.28);
  color: var(--text);
  text-decoration: none;
}

.social a:hover {
  background: var(--red);
  border-color: var(--red);
}

.social .icon {
  width: 18px;
  height: 18px;
  color: currentColor;
}

.footer__bottom {
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: rgba(254, 254, 254, 0.55);
  font-size: 13px;
}

@media (max-width: 1023px) {
  .review-card {
    flex-basis: calc((100% - 20px) / 2);
  }
}

@media (max-width: 900px) {
  .service-grid,
  .benefits__grid,
  .contact-band__grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .benefits__photo {
    aspect-ratio: 16 / 10;
    max-height: 460px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: var(--header-h);
    column-gap: 12px;
    padding-inline: 14px;
  }

  .logo {
    grid-column: 1;
    grid-row: 1;
  }

  .header__tools {
    grid-column: 2;
    grid-row: 1;
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
    padding: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    text-align: center;
  }

  .site-header.is-menu-open {
    grid-template-rows: var(--header-h) auto;
  }

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

  .site-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 18px;
    text-align: center;
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 719px) {
  :root {
    --header-h: 58px;
    --header-h-compact: 48px;
    --header-radius: 14px;
    --gutter: 16px;
  }

  .section {
    padding: 72px 0;
  }

  .site-header {
    padding-inline: 12px;
  }

  .logo img {
    height: 36px;
    max-width: min(138px, 42vw);
  }

  .site-header.is-scrolled .logo img {
    height: 30px;
    max-width: min(120px, 40vw);
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(2, 2, 2, 0.45) 0%, rgba(2, 2, 2, 0.9) 70%);
  }

  .review-card {
    flex-basis: 100%;
  }

  .hero__actions .btn,
  .contact-band__actions .btn,
  .footer__wa {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .service-card:hover,
  .service-card:hover .service-card__media img {
    transform: none;
  }
}
