:root {
  --bg: #070504;
  --bg-2: #0f0c09;
  --ink: #f7f1e7;
  --muted: #c9beb0;
  --soft: #efe5d4;
  --line: rgba(229, 184, 91, 0.25);
  --gold: #e0ad4d;
  --gold-2: #f3cf76;
  --gold-3: #8a5f22;
  --green: #25d366;
  --green-dark: #128c45;
  --panel: #15110d;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

[hidden] {
  display: none !important;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1140px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 10px 28px;
  background: rgba(5, 4, 3, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  transition: background 0.2s ease, padding 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(5, 4, 3, 0.94);
  padding-block: 7px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--gold-2);
  white-space: nowrap;
}

.brand img {
  width: 54px;
  height: auto;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.65));
}

.top-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.top-nav a,
.phone-link {
  color: var(--muted);
  padding: 9px 10px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.92rem;
}

.top-nav a:hover,
.phone-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn,
.text-button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  color: #12100d;
  background: linear-gradient(135deg, var(--gold-2), var(--gold), var(--gold-3));
  box-shadow: 0 15px 34px rgba(183, 128, 36, 0.28);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -70%;
  z-index: -1;
  width: 58%;
  transform: skewX(-18deg);
  background: rgba(255, 255, 255, 0.42);
  transition: left 0.55s ease;
}

.btn:hover,
.text-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 19px 42px rgba(183, 128, 36, 0.38);
}

.btn:hover::after {
  left: 118%;
}

.btn-small {
  min-height: 40px;
  padding: 9px 14px;
  font-size: 0.9rem;
}

.btn-outline {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.btn-outline::after {
  display: none;
}

.btn-outline:hover {
  border-color: var(--gold);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
}

.btn-whatsapp {
  color: #06230f;
  background: linear-gradient(135deg, #78f2a7, var(--green), var(--green-dark));
  box-shadow: 0 18px 38px rgba(37, 211, 102, 0.24);
}

.btn-full {
  width: 100%;
}

.text-button {
  min-height: auto;
  padding: 0;
  color: var(--gold-2);
  background: transparent;
  border: 0;
  box-shadow: none;
}

.text-button::after {
  content: " ->";
  position: static;
  width: auto;
  transform: none;
  background: transparent;
  margin-left: 4px;
}

.hero,
.inner-hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: end;
  padding: 118px 0 56px;
  overflow: hidden;
  background: var(--bg);
}

.hero::before,
.inner-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 4, 3, 0.94) 0%, rgba(5, 4, 3, 0.72) 48%, rgba(5, 4, 3, 0.36) 100%),
    linear-gradient(0deg, #070504 0%, rgba(7, 5, 4, 0.16) 42%, rgba(7, 5, 4, 0.06) 100%),
    var(--hero-image) center / cover no-repeat;
  transform: scale(1.02);
}

.hero::after,
.inner-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-inner,
.inner-hero .container {
  position: relative;
  z-index: 1;
  max-width: 840px;
  margin-inline: auto auto;
}

.hero-logo {
  width: 178px;
  height: auto;
  margin-bottom: 8px;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.82));
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--gold-2);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1,
.inner-hero h1 {
  margin: 0;
  max-width: 850px;
  font-size: 4rem;
  line-height: 1.02;
  font-weight: 950;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.hero-copy,
.inner-hero p {
  max-width: 700px;
  color: var(--soft);
  font-size: 1.12rem;
}

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

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-badges span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 9, 7, 0.72);
  color: var(--soft);
  font-weight: 800;
  font-size: 0.9rem;
}

.proof-strip {
  background: #100c08;
  border-block: 1px solid var(--line);
}

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

.proof-grid strong {
  min-height: 78px;
  display: grid;
  place-items: center;
  padding: 18px;
  color: var(--soft);
  text-align: center;
  background: rgba(255, 255, 255, 0.035);
}

.section {
  padding: 82px 0;
  background: var(--bg);
}

.section-dark {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 28%),
    #0b0806;
}

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

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section h2,
.final-cta h2 {
  margin: 0 0 14px;
  font-size: 2.45rem;
  line-height: 1.08;
}

.section-heading p,
.content-grid p,
.service-card p,
.zone-card p,
.final-cta p {
  color: var(--muted);
}

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

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

.service-card,
.zone-card,
.quote-preview {
  min-height: 100%;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    var(--panel);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.22);
}

.service-card h3,
.zone-card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
}

.service-card p,
.zone-card p {
  margin-bottom: 18px;
}

.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: 14px;
}

.gallery-item {
  position: relative;
  min-height: 260px;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #201915;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item picture,
.gallery-item img {
  width: 100%;
  height: 100%;
}

.gallery-item img {
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item figcaption {
  position: absolute;
  inset: auto 10px 10px 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(5, 4, 3, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--soft);
  font-weight: 850;
}

.split-section {
  background:
    linear-gradient(90deg, rgba(224, 173, 77, 0.08), transparent 54%),
    var(--bg);
}

.split-grid,
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 24px;
}

.check-list span {
  padding-left: 20px;
  color: var(--soft);
  position: relative;
}

.check-list span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.quote-preview span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--gold-2);
  font-weight: 900;
}

.quote-preview p {
  margin: 0;
  padding: 18px;
  border-radius: 8px;
  background: #090705;
  color: var(--soft);
  border: 1px solid var(--line);
}

.zone-card a {
  color: var(--gold-2);
  font-weight: 900;
}

.neighborhood-cloud,
.neighborhood-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.neighborhood-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.neighborhood-cloud a,
.neighborhood-grid a {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--soft);
  font-weight: 750;
}

.neighborhood-cloud a:hover,
.neighborhood-grid a:hover {
  border-color: var(--gold);
  color: var(--white);
}

.seo-copy {
  background: #0d0a07;
}

.content-grid {
  align-items: start;
}

.content-grid article {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.content-grid h2 {
  font-size: 1.8rem;
}

.faq-wrap {
  max-width: 880px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.faq-list summary {
  padding: 18px 20px;
  color: var(--soft);
  font-weight: 900;
  cursor: pointer;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.final-cta {
  position: relative;
  padding: 76px 0;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(224, 173, 77, 0.16), rgba(7, 5, 4, 0.96)),
    url("/assets/img/work-03.jpg") center / cover no-repeat;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 3, 0.68);
}

.final-cta .container {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.inner-hero {
  min-height: 620px;
}

.inner-hero .container {
  margin-inline: auto;
}

.local-links {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 30px;
  align-items: start;
}

.compact-cloud {
  margin-top: 0;
}

.site-footer {
  background: #050403;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
  padding: 46px 0;
}

.footer-logo {
  width: 126px;
  margin-bottom: 12px;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.68));
}

.site-footer h2 {
  margin: 0 0 10px;
  font-size: 1rem;
  color: var(--gold-2);
}

.site-footer p,
.site-footer a {
  color: var(--muted);
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-bottom {
  padding: 18px 20px;
  text-align: center;
  color: #9c9286;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.quote-modal[hidden] {
  display: none;
}

.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 20px;
}

.quote-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(10px);
}

.quote-panel {
  position: relative;
  z-index: 1;
  width: min(650px, 100%);
  max-height: min(92svh, 840px);
  overflow: auto;
  padding: 28px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 42%),
    #100c08;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  right: 14px;
  top: 12px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
}

.quote-panel h2 {
  margin: 0 40px 8px 0;
  font-size: 2rem;
  line-height: 1.1;
}

.modal-intro {
  color: var(--muted);
  margin: 0 0 20px;
}

.quote-form,
.quote-form label {
  display: grid;
  gap: 8px;
}

.quote-form {
  gap: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.quote-form label {
  color: var(--soft);
  font-weight: 800;
  font-size: 0.94rem;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--white);
  background: #090705;
  outline: none;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(224, 173, 77, 0.16);
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--green);
  color: #06230f;
  font-weight: 900;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

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

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

  .header-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .top-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    min-width: 0;
    max-width: 100%;
    padding-bottom: 2px;
  }

  .top-nav a {
    white-space: nowrap;
  }

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

  .gallery-mosaic {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

@media (max-width: 720px) {
  body {
    font-size: 15px;
  }

  .container {
    width: min(100% - 28px, 1140px);
  }

  .site-header {
    padding: 8px 14px;
    gap: 8px;
    overflow: hidden;
  }

  .brand span,
  .phone-link {
    display: none;
  }

  .brand img {
    width: 48px;
  }

  .header-actions {
    display: none;
  }

  .top-nav {
    gap: 2px;
  }

  .top-nav a {
    padding: 7px 8px;
    font-size: 0.84rem;
  }

  .hero,
  .inner-hero {
    min-height: 84svh;
    padding: 116px 0 36px;
  }

  .hero::before,
  .inner-hero::before {
    background:
      linear-gradient(0deg, #070504 0%, rgba(7, 5, 4, 0.72) 44%, rgba(7, 5, 4, 0.36) 100%),
      var(--hero-image) center / cover no-repeat;
  }

  .hero-logo {
    width: 138px;
  }

  .hero-inner,
  .inner-hero .container {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  .hero-copy,
  .inner-hero p {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 2.35rem;
    line-height: 1.06;
  }

  .inner-hero h1 {
    font-size: 2.08rem;
    line-height: 1.08;
  }

  .hero-copy,
  .inner-hero p {
    font-size: 1rem;
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  .hero-actions .btn {
    min-height: 50px;
  }

  .hero-badges {
    display: none;
  }

  .proof-grid,
  .service-grid,
  .service-grid.compact,
  .zone-grid,
  .split-grid,
  .content-grid,
  .footer-grid,
  .local-links {
    grid-template-columns: 1fr;
  }

  .proof-grid strong {
    min-height: 64px;
  }

  .section {
    padding: 58px 0;
  }

  .section h2,
  .final-cta h2 {
    font-size: 2rem;
  }

  .gallery-mosaic {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
  }

  .gallery-item,
  .gallery-item.wide {
    flex: 0 0 82%;
    grid-column: auto;
    min-height: 360px;
    scroll-snap-align: start;
  }

  .neighborhood-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .quote-modal {
    padding: 10px;
    align-items: end;
  }

  .quote-panel {
    padding: 22px 16px 18px;
    max-height: 94svh;
  }

  .quote-panel h2 {
    font-size: 1.7rem;
  }

  .floating-whatsapp {
    right: 12px;
    bottom: 12px;
    padding: 10px 12px;
  }
}

@media (max-width: 390px) {
  .hero h1 {
    font-size: 2.25rem;
  }

  .inner-hero h1 {
    font-size: 1.96rem;
  }

  .btn,
  .text-button {
    padding-inline: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
