:root {
  --ink: #1c1c1c;
  --muted: #5c656e;
  --orange: #e00024;
  --orange-deep: #b8001c;
  --charcoal: #1c1c1c;
  --bar: #242424;
  --paper: #f7f7f7;
  --line: #e6e6e6;
  --white: #ffffff;
  --wa: #1f8f4e;
  --danger: #8d2b2b;
  --ok: #1d6b45;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
  --max: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: Outfit, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.7rem;
}
h2 {
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
}
h3 { font-size: 1.15rem; letter-spacing: -0.02em; margin-bottom: 0.35rem; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--orange);
  color: var(--white);
  padding: 8px 12px;
  z-index: 50;
}
.skip:focus { top: 12px; }

.topbar {
  background: var(--white);
  color: var(--ink);
  font-size: 0.84rem;
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  margin: 0;
  padding: 6px 0;
}
.topbar a { text-decoration: none; }
.topbar a:hover { color: var(--orange-deep); }
.topbar-wa {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--white);
}
.topbar-wa svg { width: 18px; height: 18px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-bar {
  min-height: 108px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  background: #fff;
  padding: 8px 12px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  flex: 0 0 auto;
  gap: 5px;
}
.brand img { height: 86px; width: auto; max-width: min(220px, 52vw); }
.brand-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
  color: #111111;
  text-align: center;
  max-width: 11.5rem;
}
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--ink);
}
.nav a[aria-current="page"] { color: var(--orange); }
.nav a:hover { color: var(--orange); }
.nav-call { display: none; }
.nav-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  padding: 8px 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 2px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}
.btn-orange { background: var(--orange-deep); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-line { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.85); }
.btn:hover { transform: translateY(-1px); }

.hero {
  position: relative;
  min-height: calc(100vh - 156px);
  color: var(--white);
  display: grid;
  align-items: center;
  text-align: center;
  padding: 120px 0 88px;
  overflow: hidden;
  background: #111;
}
.hero-video, .hero-shade { position: absolute; inset: 0; }
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  background: #111;
}
.hero-shade {
  z-index: 1;
  background: linear-gradient(rgba(8, 12, 16, 0.62), rgba(8, 12, 16, 0.7));
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
  min-width: 0;
  justify-self: center;
  box-sizing: border-box;
  padding-inline: 18px;
}
.hero h1, .hero .lead, .hero .kicker { max-width: 100%; }
@keyframes ken {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to { transform: scale(1.16) translate3d(-2.4%, -1.4%, 0); }
}
@keyframes ken-alt {
  from { transform: scale(1.04) translate3d(-2%, 0, 0); }
  to { transform: scale(1.16) translate3d(2.2%, -1%, 0); }
}
.hero h1 { max-width: 16em; margin-inline: auto; }
.kicker {
  color: var(--orange-deep);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 14px;
}
.hero .kicker, .page-hero .kicker { color: #ffc1c7; }
.lead { font-size: 1.12rem; color: rgba(255, 255, 255, 0.9); max-width: 40rem; margin-inline: auto; }
.section .lead, .panel .lead, .prose .lead, .intro-grid .lead { color: var(--muted); margin-inline: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; justify-content: center; }

.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  text-align: center;
  padding: 78px 0 68px;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: -8%;
  z-index: 0;
  background:
    linear-gradient(rgba(8, 12, 16, 0.72), rgba(8, 12, 16, 0.78)),
    url("../img/avenida.jpg") center / cover no-repeat;
  animation: ken 18s ease-in-out infinite alternate;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .lead { margin-bottom: 0; }

.section { padding: 78px 0; }
.section-head { max-width: 40rem; margin-bottom: 28px; }
.paper { background: var(--paper); }

.intro-grid, .split, .contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.contact-grid { align-items: start; }
.intro-photo { margin: 0; position: relative; }
.intro-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  position: relative;
  z-index: 1;
}
.intro-photo::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -16px;
  bottom: -16px;
  width: 42%;
  height: 26%;
  background: var(--orange);
}
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 16px; }
.ticks li { padding-left: 18px; position: relative; }
.ticks li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  position: absolute;
  left: 0;
  top: 0.55em;
}
.ticks strong { display: block; margin-bottom: 2px; }
.intro-more { margin: 22px 0 0; }
.more { color: var(--orange-deep); font-weight: 700; text-decoration: none; }

.steps, .facts, .gallery { display: grid; gap: 22px; }
.steps { grid-template-columns: repeat(3, 1fr); }
.step { padding: 0; }
.step span {
  display: block;
  color: var(--orange);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.step p { color: var(--muted); }

.facts { grid-template-columns: 1fr 1fr; }
.fact, .panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 22px;
}
.fact strong { display: block; margin-bottom: 4px; }
.service { padding-top: 8px; }
.service + .service { margin-top: 22px; }
.panel p { color: var(--muted); }

.gallery { grid-template-columns: 1fr 1fr; }
.shot { margin: 0; background: var(--white); border: 1px solid var(--line); }
.shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.shot figcaption { padding: 14px 16px 16px; font-weight: 600; }
.note { color: var(--muted); font-size: 0.92rem; }

.cta-band {
  background: var(--orange);
  color: var(--white);
  text-align: center;
  padding: 64px 0;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255, 255, 255, 0.94); margin-bottom: 0; }
.cta-band .btn-line:hover, .hero .btn-line:hover { background: var(--white); color: var(--ink); }

form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-weight: 600; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}
textarea { min-height: 140px; resize: vertical; }
.hp-field { position: absolute; left: -9999px; }
.form-error, .form-ok { padding: 12px 14px; }
.form-error { background: #fdecec; color: var(--danger); }
.form-ok { background: #e8f6ee; color: var(--ok); }
.aside a { color: var(--orange-deep); font-weight: 700; }

.site-footer {
  background: var(--white);
  color: var(--ink);
  padding-top: 52px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 32px;
}
.site-footer h2 { color: var(--ink); font-size: 1rem; letter-spacing: 0; text-transform: none; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--orange-deep); }
.footer-lead { max-width: 28rem; margin-top: 16px; color: var(--muted); }
.footer-rut { color: var(--muted); font-size: 0.92rem; }
.brand--light { color: var(--white); }
.brand--light .brand-tag { color: rgba(255, 255, 255, 0.94); }
.brand--light img { height: 56px; }
.footer-base {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding: 16px 0 22px;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa);
  color: white;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  z-index: 25;
}
.wa-float svg { width: 32px; height: 32px; }

.rail { overflow: hidden; background: var(--white); padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rail-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: rail 140s linear infinite;
}
.rail img { width: min(420px, 72vw); height: 240px; object-fit: cover; }
.rail:hover .rail-track { animation-play-state: paused; }
@keyframes rail {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.reveal {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 0.85s ease, transform 0.85s ease;
  transition-delay: var(--d, 0ms);
}
.reveal-left { transform: translateX(-48px); }
.reveal-right { transform: translateX(48px); }
.reveal.is-in { opacity: 1; transform: none; }
body.is-home { background: var(--white); }
body.is-home .site-header {
  position: absolute;
  top: 38px;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: 0;
}
body.is-home .site-header.is-solid {
  position: fixed;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
body.is-home .site-header.is-solid .nav a { color: var(--ink); }
body.is-home .site-header.is-solid .nav a[aria-current="page"],
body.is-home .site-header.is-solid .nav a:hover { color: var(--orange); }
body.is-home .nav a { color: #fff; }
body.is-home .brand-tag,
.site-footer .brand-tag,
.brand--light .brand-tag { color: #111; }
.site-footer .brand { align-self: flex-start; }
body.is-home .nav a[aria-current="page"],
body.is-home .nav a:hover { color: #ffc1c7; }

@media (prefers-reduced-motion: reduce) {
  .page-hero::before, .rail-track, .reveal {
    animation: none !important;
    transition: none !important;
  }
  .hero { background: url("../img/poster.jpg") center / cover no-repeat; }
  .hero-video { display: none; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .topbar-email, .topbar-address { display: none; }
  .brand { max-width: calc(100% - 96px); }
  .brand img { height: 50px; }
  .brand-tag { font-size: 10px; letter-spacing: 0.04em; max-width: 9.2rem; }
  .header-bar { gap: 12px; min-height: 92px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 20px 18px;
    border-bottom: 1px solid var(--line);
    gap: 12px;
  }
  .nav.is-open {
    display: flex;
    z-index: 40;
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.12);
  }
  .nav-call { display: inline; }
  .intro-grid, .split, .contact-grid, .steps, .facts, .gallery, .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero { min-height: 78vh; padding: 108px 0 72px; }
  body.is-home .nav-toggle {
    color: #111;
    background: #fff;
    border-color: #fff;
  }
  .hero { padding-inline: 0; }
  body.is-home .hero-copy { width: 100%; padding: 0 28px; }
  .hero .kicker { letter-spacing: 0.08em; }
  .hero .lead {
    width: 16.5rem;
    max-width: 16.5rem;
    margin-inline: auto;
    font-size: 0.95rem;
    text-align: center;
  }
  body.is-home .nav.is-open { background: var(--white); }
  body.is-home .nav.is-open a { color: var(--ink); }
  body.is-home .nav.is-open a[aria-current="page"] { color: var(--orange); }
  .section { padding: 56px 0; }
  .intro-photo::after { right: 0; bottom: -10px; }
}
@media (min-width: 480px) and (max-width: 900px) {
  .hero .lead { width: 26rem; max-width: 26rem; }
}
