:root {
  --red: #d50000;
  --red-dark: #a80000;
  --black: #0b0b0d;
  --ink: #1b1d22;
  --muted: #626873;
  --line: #e7e9ee;
  --soft: #f5f6f8;
  --white: #fff;
  --green: #19b45b;
  --green-dark: #0b8f43;
  --shadow: 0 20px 50px rgba(10, 15, 25, .12);
  --radius: 18px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  letter-spacing: 0;
}

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

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

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--white);
  color: var(--black);
  padding: 10px 14px;
  border-radius: 10px;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  display: grid;
  align-items: center;
  padding: 96px 0 62px;
}

.hero__media,
.hero__media img,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .55) 48%, rgba(0, 0, 0, .26)),
    linear-gradient(0deg, rgba(0, 0, 0, .58), transparent 42%);
}

.hero__top {
  position: absolute;
  left: 50%;
  top: 22px;
  z-index: 2;
  width: min(1120px, calc(100% - 36px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  line-height: .95;
  letter-spacing: 0;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--red);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(213, 0, 0, .3);
}

.top-call {
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 999px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding-top: 34px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.eyebrow--light {
  color: #fff;
  opacity: .78;
}

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

h1 {
  max-width: 880px;
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 7vw, 5.7rem);
  line-height: .94;
  letter-spacing: 0;
}

.hero__subtitle {
  max-width: 760px;
  margin-bottom: 30px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, .9);
}

.hero__actions,
.unit-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  padding: 16px 22px;
  font-size: .94rem;
  font-weight: 950;
  letter-spacing: 0;
  box-shadow: 0 18px 34px rgba(0, 0, 0, .22);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(0, 0, 0, .28);
}

.btn svg,
.float-btn svg,
.mobile-sticky svg,
.service-card svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex: 0 0 auto;
}

.btn--whatsapp {
  background: var(--green);
  color: var(--white);
}

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

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

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

.btn--xl {
  min-height: 66px;
  padding-inline: 28px;
  font-size: 1rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 24px;
  color: rgba(255, 255, 255, .92);
  font-weight: 800;
}

.stars {
  color: #ffc400;
  letter-spacing: 0;
}

.section {
  padding: 86px 0;
}

.section--intro {
  padding: 0;
  background: var(--white);
}

.intro-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: -46px;
}

.intro-grid article {
  min-height: 126px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.intro-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.intro-grid span,
.section-head p,
.service-card p,
.feature-card p,
.review-card p,
.footer p {
  color: var(--muted);
  line-height: 1.62;
}

.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-head h2,
.emergency h2,
.final-cta h2 {
  margin-bottom: 14px;
  color: var(--black);
  font-size: clamp(2rem, 4.5vw, 3.65rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.service-card,
.feature-card,
.review-card,
.unit-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(10, 15, 25, .07);
}

.service-card {
  min-height: 196px;
  padding: 22px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(213, 0, 0, .22);
  box-shadow: var(--shadow);
}

.service-card svg {
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
  color: var(--red);
}

.service-card h3,
.feature-card h3,
.review-card strong,
.unit-card h3 {
  margin-bottom: 8px;
  color: var(--black);
}

.section--light {
  background: var(--soft);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card {
  min-height: 250px;
  padding: 28px;
}

.feature-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 28px;
  border-radius: 16px;
  background: var(--black);
  color: var(--white);
  font-weight: 950;
}

.emergency,
.final-cta {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(213, 0, 0, .97), rgba(115, 0, 0, .98)),
    var(--red);
}

.emergency__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 54px 0;
}

.emergency h2,
.final-cta h2 {
  color: var(--white);
}

.emergency p,
.final-cta p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, .86);
  font-size: 1.1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 14px 30px rgba(10, 15, 25, .1);
}

.review-grid,
.unit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.review-card {
  padding: 28px;
}

.review-card .stars {
  margin-bottom: 16px;
  font-size: 1.1rem;
}

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

.unit-card {
  overflow: hidden;
}

.unit-card__top {
  min-height: 220px;
  padding: 32px;
  background:
    linear-gradient(145deg, rgba(213, 0, 0, .9), rgba(18, 18, 20, .92)),
    url("https://images.unsplash.com/photo-1562141961-b5d1857cddf8?auto=format&fit=crop&w=900&q=72") center/cover;
  color: var(--white);
}

.unit-card--dark .unit-card__top {
  background:
    linear-gradient(145deg, rgba(14, 14, 16, .92), rgba(213, 0, 0, .72)),
    url("https://images.unsplash.com/photo-1619642751034-765dfdf7c58e?auto=format&fit=crop&w=900&q=72") center/cover;
}

.unit-card__top span {
  display: inline-flex;
  margin-bottom: 28px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.unit-card h3 {
  color: var(--white);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
}

.unit-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, .86);
}

.unit-card__actions {
  padding: 18px;
}

.unit-card__actions a {
  flex: 1 1 140px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--soft);
  color: var(--black);
  font-weight: 900;
  transition: background .18s ease, color .18s ease;
}

.unit-card__actions a:hover {
  background: var(--red);
  color: var(--white);
}

.map-section iframe {
  display: block;
  width: 100%;
  height: min(58vh, 480px);
  min-height: 330px;
  border: 0;
  filter: grayscale(.15);
}

.final-cta {
  padding: 86px 0;
  text-align: center;
}

.final-cta .container {
  max-width: 760px;
}

.final-cta p {
  margin-bottom: 28px;
}

.footer {
  padding: 52px 0 92px;
  background: var(--black);
  color: var(--white);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
}

.brand--footer {
  margin-bottom: 18px;
}

.footer h2 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.footer a {
  display: block;
  width: fit-content;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, .78);
}

.footer a:hover {
  color: var(--white);
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 20px;
  z-index: 30;
  display: grid;
  gap: 10px;
}

.float-btn {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  color: var(--white);
  box-shadow: 0 18px 34px rgba(0, 0, 0, .24);
}

.float-btn--whatsapp { background: var(--green); }
.float-btn--phone { background: var(--red); }

.mobile-sticky {
  display: none;
}

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

@media (prefers-reduced-motion: no-preference) {
  .service-card,
  .feature-card,
  .review-card,
  .unit-card {
    animation: rise .5s ease both;
    animation-timeline: view();
    animation-range: entry 0% cover 26%;
  }

  @keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (max-width: 980px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .intro-grid,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .container,
  .hero__content,
  .hero__top {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    min-height: 100svh;
    padding: 96px 0 104px;
    align-items: end;
  }

  .hero__shade {
    background:
      linear-gradient(0deg, rgba(0, 0, 0, .88), rgba(0, 0, 0, .46) 70%, rgba(0, 0, 0, .38)),
      linear-gradient(90deg, rgba(0, 0, 0, .62), rgba(0, 0, 0, .28));
  }

  .brand__mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .brand {
    font-size: .9rem;
  }

  .top-call {
    padding: 10px 12px;
    font-size: .84rem;
  }

  h1 {
    font-size: clamp(2.25rem, 11.2vw, 3.3rem);
  }

  .hero__subtitle {
    margin-bottom: 22px;
  }

  .hero__actions,
  .btn {
    width: 100%;
  }

  .btn {
    min-height: 60px;
  }

  .trust-row {
    display: grid;
    gap: 8px;
    font-size: .92rem;
  }

  .section {
    padding: 64px 0;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    margin-top: -32px;
  }

  .service-grid,
  .feature-grid,
  .review-grid,
  .unit-grid,
  .gallery-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

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

  .emergency__inner {
    display: grid;
    padding: 44px 0;
  }

  .gallery-grid img {
    aspect-ratio: 16 / 11;
  }

  .unit-card__actions a {
    flex-basis: 100%;
  }

  .floating-actions {
    display: none;
  }

  .mobile-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px;
    background: rgba(255, 255, 255, .94);
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 34px rgba(0, 0, 0, .14);
    backdrop-filter: blur(14px);
  }

  .mobile-sticky a {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 14px;
    color: var(--white);
    font-weight: 950;
  }

  .mobile-sticky a:first-child {
    background: var(--green);
  }

  .mobile-sticky a:last-child {
    background: var(--red);
  }

  .footer {
    padding-bottom: 112px;
  }
}

@media (max-width: 380px) {
  .top-call {
    display: none;
  }

  .btn,
  .mobile-sticky a {
    font-size: .86rem;
  }
}
