:root {
  --black: #101113;
  --black-2: #191b1f;
  --red: #e61923;
  --red-dark: #b90f18;
  --white: #ffffff;
  --soft: #f5f6f4;
  --soft-2: #e8ecef;
  --ink: #20252b;
  --muted: #66707a;
  --graphite: #2b3137;
  --line: rgba(18, 18, 18, 0.12);
  --dark-line: rgba(255, 255, 255, 0.14);
  --gold: #ffbd2f;
  --shadow: 0 22px 58px rgba(0, 0, 0, 0.18);
  --radius: 7px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--soft);
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

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

figure {
  margin-right: 0;
  margin-left: 0;
}

.top-strip {
  display: grid;
  min-height: 36px;
  place-items: center;
  padding: 7px 16px;
  color: var(--white);
  background: var(--red);
  font-size: 0.68rem;
  font-weight: 900;
  text-align: center;
}

.hero {
  position: relative;
  isolation: isolate;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(230, 25, 35, 0.18), transparent 38%),
    radial-gradient(circle at 86% 16%, rgba(255, 255, 255, 0.08), transparent 26%),
    var(--black);
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(16, 17, 19, 0.98), rgba(16, 17, 19, 0.78) 48%, rgba(16, 17, 19, 0.42)),
    url("assets/stillo-fachada-wide.jpeg") center / cover;
  content: "";
  opacity: 0.72;
}

.hero::before {
  position: absolute;
  top: 78px;
  right: 0;
  z-index: -1;
  width: min(38vw, 520px);
  height: 68%;
  background: var(--red);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 86%);
  content: "";
  opacity: 0.9;
}

.hero-inner {
  display: grid;
  gap: 52px;
  align-items: center;
  width: min(1120px, calc(100% - 36px));
  min-height: 620px;
  margin: 0 auto;
  padding: 58px 0 66px;
}

.brand,
.brand-red {
  display: block;
  margin-bottom: 22px;
  color: var(--red);
  font-family: Sora, Manrope, sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.brand strong {
  display: block;
  margin-top: 4px;
  color: var(--white);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.hero-alert {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 8px 12px;
  color: #fff;
  background: rgba(230, 25, 35, 0.92);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.2;
  box-shadow: 0 14px 30px rgba(230, 25, 35, 0.24);
}

.kicker,
.section-kicker {
  margin-bottom: 11px;
  color: #b9bdc3;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  margin-bottom: 16px;
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
}

.rating span {
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.05;
}

.rating strong {
  text-transform: uppercase;
}

.google {
  display: grid;
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  color: #4285f4;
  background: #f1f6ff;
  font-weight: 900;
}

.stars {
  color: var(--gold);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

h1 {
  max-width: 700px;
  margin-bottom: 16px;
  font-family: Sora, Manrope, sans-serif;
  font-size: clamp(2.4rem, 5.3vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 span,
h1 strong {
  display: inline;
}

h1 strong {
  color: #fff;
  text-shadow: 0 0 0 transparent;
}

.subtitle {
  max-width: 640px;
  margin-bottom: 0;
  color: #d7d9dc;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.62;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.actions.compact {
  justify-content: center;
  margin-top: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 0 22px;
  font-size: 0.8rem;
  font-weight: 900;
  text-align: center;
}

.btn-red {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 18px 34px rgba(230, 25, 35, 0.34);
}

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

.btn-dark {
  color: var(--white);
  background: #0b0b0b;
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-outline-red {
  color: var(--red);
  background: var(--white);
  border-color: var(--red);
}

.hero-points {
  display: grid;
  gap: 8px;
  max-width: 500px;
  margin: 22px 0 0;
  padding: 0;
  color: #e5e5e5;
  list-style: none;
  font-size: 0.68rem;
  font-weight: 850;
}

.hero-points li::before {
  content: "✓";
  margin-right: 6px;
  color: var(--red);
  font-weight: 900;
}

.hero-photo {
  position: relative;
  margin-bottom: 0;
}

.hero-mobile-photo {
  display: none;
}

.hero-photo::before {
  position: absolute;
  inset: 24px -22px -22px 24px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  content: "";
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 1 / 1.04;
  border-radius: 18px;
  object-fit: cover;
  object-position: 44% center;
  box-shadow: var(--shadow);
}

.hero-card {
  position: absolute;
  right: -18px;
  bottom: 24px;
  display: grid;
  gap: 6px;
  width: min(285px, calc(100% - 28px));
  border-left: 4px solid var(--red);
  border-radius: 14px;
  padding: 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.hero-card strong {
  color: var(--black);
  font-family: Sora, Manrope, sans-serif;
  font-size: 0.95rem;
}

.hero-card span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

.maintenance {
  padding: 86px 18px 78px;
  background:
    linear-gradient(180deg, var(--white) 0 48%, var(--soft) 48% 100%);
}

.maintenance-card {
  display: grid;
  width: min(1040px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fcfcfb;
  box-shadow: var(--shadow);
}

.maintenance-copy {
  padding: clamp(30px, 6vw, 72px);
}

.maintenance-copy .section-kicker,
.section-heading:not(.light) p,
.final > span {
  color: var(--muted);
}

.maintenance-copy h2,
.section-heading h2,
.about h2,
.final h2 {
  margin-bottom: 16px;
  color: var(--ink);
  font-family: Sora, Manrope, sans-serif;
  font-size: clamp(1.8rem, 4vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.maintenance-copy p,
.maintenance-copy strong,
.benefits p,
.section-heading p,
.review-grid p,
.about p,
.footer p,
.footer a,
.footer address {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.62;
}

.maintenance-copy strong {
  display: block;
  margin-top: 18px;
  color: var(--ink);
}

.maintenance-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  object-position: center;
}

.benefits {
  display: grid;
  gap: 28px;
  width: min(1040px, 100%);
  margin: 44px auto 0;
  text-align: center;
}

.benefits article {
  display: grid;
  justify-items: center;
  border-bottom: 3px solid var(--red);
  border-radius: 14px;
  padding: 26px 22px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.07);
}

.icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 900;
}

.benefits h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.95rem;
}

.center-cta,
.dark-cta {
  display: grid;
  justify-items: center;
  margin-top: 36px;
  text-align: center;
}

.center-cta > span,
.dark-cta > span {
  font-size: 0.78rem;
  font-weight: 900;
}

.service-dark {
  padding: 86px 18px 82px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(230, 25, 35, 0.12), transparent 34%),
    var(--graphite);
}

.section-heading {
  display: grid;
  justify-items: center;
  width: min(760px, 100%);
  margin: 0 auto;
  text-align: center;
}

.section-heading.light h2,
.section-heading.light p {
  color: var(--white);
}

.section-heading.light p {
  color: #cfd2d6;
}

.service-icons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: min(980px, 100%);
  margin: 48px auto 0;
}

.service-icons article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 74px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.055);
  text-align: left;
}

.service-icons span {
  color: var(--red);
  font-size: 1.7rem;
  line-height: 1;
}

.service-icons small {
  order: 3;
  color: rgba(255, 255, 255, 0.42);
  font-family: Sora, Manrope, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
}

.service-icons h3 {
  margin: 0;
  color: var(--white);
  font-size: 0.92rem;
  line-height: 1.25;
}

.dark-cta {
  width: min(360px, 100%);
  margin-right: auto;
  margin-left: auto;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  padding: 22px;
  background: #111;
}

.reviews {
  padding: 82px 18px;
  background:
    linear-gradient(90deg, var(--soft) 0 52%, var(--white) 52% 100%);
}

.rating.light {
  margin-top: 18px;
}

.review-grid {
  display: grid;
  gap: 18px;
  width: min(880px, 100%);
  margin: 42px auto 0;
}

.review-grid article {
  min-height: 158px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  background: var(--white);
}

.review-grid p {
  margin: 12px 0 18px;
  font-style: italic;
}

.review-grid strong {
  color: var(--ink);
  font-size: 0.82rem;
}

.about {
  display: grid;
  gap: 42px;
  padding: 74px 18px;
  color: var(--white);
  background: var(--black);
}

.about-copy,
.about-gallery {
  width: min(900px, 100%);
  margin: 0 auto;
}

.about h2,
.about .section-kicker {
  color: var(--white);
}

.about p {
  color: #d5d8dc;
}

.about-gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.about-gallery img {
  width: 100%;
  min-height: 150px;
  border-radius: 16px;
  object-fit: cover;
}

.about-gallery img:first-child {
  grid-column: span 6;
  aspect-ratio: 2 / 0.72;
}

.about-gallery img:not(:first-child) {
  grid-column: span 2;
  aspect-ratio: 1 / 0.92;
}

.final {
  display: grid;
  justify-items: center;
  padding: 72px 18px 86px;
  background:
    linear-gradient(180deg, var(--white), #f2f4f5);
  text-align: center;
}

.brand-red {
  margin-bottom: 8px;
}

.final > span {
  margin-bottom: 12px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.final figure {
  width: min(360px, 100%);
  margin: 42px 0 0;
}

.final img {
  width: 100%;
  aspect-ratio: 0.72 / 1;
  border-radius: 18px;
  object-fit: cover;
  object-position: center;
  box-shadow: var(--shadow);
}

.footer {
  display: grid;
  gap: 28px;
  padding: 52px 18px 76px;
  color: var(--white);
  background: var(--black-2);
}

.footer strong {
  display: block;
  margin-bottom: 10px;
  color: var(--red);
  font-size: 1.1rem;
  text-transform: uppercase;
}

.footer p,
.footer a,
.footer address,
.footer small {
  margin: 0;
  color: #cfd2d6;
}

.footer .instagram-title {
  margin-top: 18px;
  color: var(--white);
  font-weight: 900;
}

.footer a {
  display: inline-flex;
  margin-top: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.footer address {
  border-radius: var(--radius);
  padding: 0;
  color: var(--ink);
  background: var(--white);
  text-align: center;
}

.footer address .maps-link {
  display: block;
  margin: 0;
  border-bottom: 0;
  padding: 26px;
  color: var(--muted);
}

.footer address strong {
  color: var(--black);
}

.footer address span {
  display: inline-flex;
  margin-top: 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
}

.footer small {
  display: block;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
  font-size: 0.72rem;
  text-align: center;
}

.sticky {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30;
}

.sticky a {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: #20bf5b;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
}

.sticky svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

body.ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms ease,
    transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

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

  body.ready .reveal,
  body.ready .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (min-width: 760px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
  }

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

  .maintenance-card {
    grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  }

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

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

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

  .about {
    grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.85fr);
    align-items: center;
    padding-right: max(18px, calc((100vw - 980px) / 2));
    padding-left: max(18px, calc((100vw - 980px) / 2));
  }

  .about-copy,
  .about-gallery {
    width: 100%;
  }

  .footer {
    grid-template-columns: 1fr minmax(300px, 0.7fr);
    align-items: center;
    padding-right: max(18px, calc((100vw - 980px) / 2));
    padding-left: max(18px, calc((100vw - 980px) / 2));
  }

  .footer small {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .top-strip {
    min-height: 30px;
    padding: 6px 12px;
    font-size: 0.58rem;
  }

  .hero {
    min-height: calc(100svh - 30px);
    display: grid;
  }

  .hero-inner {
    width: min(100% - 32px, 420px);
    min-height: calc(100svh - 30px);
    align-content: start;
    gap: 0;
    padding: 18px 0 30px;
  }

  .brand {
    margin-bottom: 12px;
  }

  .hero-alert {
    margin-bottom: 14px;
    padding: 9px 12px;
    font-size: 0.66rem;
  }

  .hero-mobile-photo {
    position: relative;
    display: block;
    overflow: hidden;
    width: calc(100% + 32px);
    margin: 0 -16px 20px;
    border-radius: 18px;
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.42);
  }

  .hero-mobile-photo::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.72));
    content: "";
  }

  .hero-mobile-photo img {
    width: 100%;
    height: clamp(250px, 36svh, 330px);
    object-fit: cover;
    object-position: center 42%;
  }

  .hero-mobile-photo figcaption {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 1;
    border-radius: 999px;
    padding: 7px 10px;
    color: #fff;
    background: rgba(230, 25, 35, 0.92);
    font-size: 0.66rem;
    font-weight: 900;
  }

  .hero .kicker,
  .hero .rating {
    display: none;
  }

  .stars {
    display: none;
  }

  .rating {
    margin-bottom: 14px;
  }

  h1 {
    max-width: 360px;
    margin-bottom: 10px;
    font-size: clamp(1.85rem, 8.9vw, 2.42rem);
    line-height: 0.98;
  }

  h1 span,
  h1 strong {
    display: block;
  }

  h1 strong {
    position: relative;
    width: fit-content;
    margin-top: 3px;
    border-radius: 10px;
    padding: 3px 10px 5px;
    color: #fff;
    background: var(--red);
    box-shadow: 0 12px 28px rgba(230, 25, 35, 0.34);
  }

  .hero-copy {
    display: grid;
    justify-items: start;
    text-align: left;
  }

  .hero-alert {
    justify-self: start;
  }

  .subtitle {
    display: none;
  }

  .actions,
  .actions.compact {
    display: grid;
    width: 100%;
  }

  .actions {
    margin-top: 14px;
  }

  .btn {
    width: 100%;
    min-height: 50px;
    border-radius: 8px;
    font-size: 0.86rem;
  }

  .hero-photo {
    display: none;
  }

  .hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
    font-size: 0.66rem;
  }

  .hero-points li {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(10px);
  }

  .maintenance,
  .service-dark,
  .reviews,
  .about,
  .final {
    padding-top: 54px;
    padding-bottom: 58px;
  }

  .maintenance-card {
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
  }

  .service-icons {
    grid-template-columns: 1fr;
  }

  .hero::before {
    display: none;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(16, 17, 19, 0.72), rgba(16, 17, 19, 0.96) 42%, rgba(16, 17, 19, 0.96)),
      url("assets/stillo-fachada-placa.jpeg") center top / cover;
    opacity: 0.95;
  }

  .hero-photo::before {
    display: none;
  }

  .hero-card {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
  }

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

  .about-gallery img,
  .about-gallery img:first-child,
  .about-gallery img:not(:first-child) {
    grid-column: auto;
    aspect-ratio: 1 / 0.86;
  }
}
