@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --brand: #f87f55;
  --brand-dark: #c95f3d;
  --ink: #202729;
  --ink-2: #303a3d;
  --muted: #667174;
  --line: #d9e1df;
  --paper: #ffffff;
  --surface: #f6f8f8;
  --surface-2: #edf3f2;
  --teal: #2f6f73;
  --green: #25d366;
  --shadow: 0 18px 50px rgba(24, 38, 42, 0.12);
  --soft-shadow: 0 8px 28px rgba(24, 38, 42, 0.08);
  --radius: 8px;
  --content: min(1180px, calc(100% - 40px));
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

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

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

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 16px;
}

.top-bar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
}

.top-bar-inner {
  width: var(--content);
  min-height: 38px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.top-bar-inner div {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-bar a {
  color: #fff;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 12px max(20px, calc((100vw - 1180px) / 2));
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(217, 225, 223, 0.9);
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(32, 39, 41, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  position: relative;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--brand);
  background: var(--ink);
  border: 1px solid rgba(248, 127, 85, 0.5);
  border-radius: 50%;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(248, 127, 85, 0.4);
  border-radius: 50%;
}

.brand-copy {
  display: grid;
  line-height: 1.02;
}

.brand-copy strong {
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.primary-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 2px;
}

.primary-nav a {
  position: relative;
  padding: 11px 12px;
  color: #3f4a4d;
  font-size: 0.92rem;
  font-weight: 800;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--ink);
}

.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-call {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border: 1px solid rgba(248, 127, 85, 0.75);
  border-radius: var(--radius);
  color: var(--brand-dark);
  font-size: 0.92rem;
  font-weight: 900;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  place-items: center;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 690px;
  display: grid;
  align-items: center;
  color: #fff;
  background-image:
    linear-gradient(90deg, rgba(18, 25, 27, 0.88) 0%, rgba(18, 25, 27, 0.72) 36%, rgba(18, 25, 27, 0.2) 100%),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 130px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
  pointer-events: none;
}

.sub-hero {
  min-height: 500px;
}

.sub-hero::after {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: var(--content);
  margin: 0 auto;
  padding: 78px 0 112px;
}

.sub-hero .hero-content {
  padding-bottom: 78px;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: 5.15rem;
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: 0;
}

.sub-hero h1 {
  max-width: 850px;
  font-size: 4.1rem;
}

.hero p:not(.eyebrow) {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.13rem;
  line-height: 1.75;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffc8b7;
}

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

.btn,
.property-card button,
.filter-buttons button,
.contact-list button,
.whatsapp-popup button:not(.popup-close) {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-weight: 850;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover,
.property-card button:hover,
.filter-buttons button:hover,
.contact-list button:hover,
.whatsapp-popup button:not(.popup-close):hover {
  transform: translateY(-1px);
}

.btn.primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 26px rgba(248, 127, 85, 0.24);
}

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

.btn.secondary,
.btn.ghost {
  background: #fff;
  color: var(--ink);
}

.btn.ghost {
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(10px);
}

.btn.full {
  width: 100%;
}

.hero-metrics {
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 46px 0 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-metrics div {
  padding: 20px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-metrics div:first-child {
  padding-left: 0;
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics dt {
  margin: 0;
  color: #fff;
  font-weight: 900;
}

.hero-metrics dd {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.quick-strip {
  position: relative;
  z-index: 2;
  width: var(--content);
  margin: -44px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.quick-strip div {
  position: relative;
  padding: 26px 24px;
  border-right: 1px solid var(--line);
}

.quick-strip div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--brand);
  opacity: 0;
}

.quick-strip div:hover::before {
  opacity: 1;
}

.quick-strip div:last-child {
  border-right: 0;
}

.quick-strip strong,
.quick-strip span {
  display: block;
}

.quick-strip strong {
  font-size: 1rem;
  font-weight: 900;
}

.quick-strip span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  width: var(--content);
  margin: 0 auto;
  padding: 90px 0;
}

.section.tinted {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: max(20px, calc((100vw - 1180px) / 2));
  padding-right: max(20px, calc((100vw - 1180px) / 2));
  background: var(--surface);
}

.intro-grid,
.office-section,
.contact-layout,
.listing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
  gap: 54px;
  align-items: start;
}

.listing-layout {
  grid-template-columns: 340px 1fr;
}

.section-copy h2,
.section-heading h2,
.contact-band h2,
.contact-details h2 {
  margin: 0;
  max-width: 820px;
  color: var(--ink);
  font-size: 2.65rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0;
}

.section-copy p:not(.eyebrow),
.contact-details p:not(.eyebrow) {
  max-width: 690px;
  color: var(--muted);
  font-size: 1.02rem;
}

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

.section-heading.compact {
  align-items: center;
}

.section-heading a {
  color: var(--brand-dark);
  font-weight: 900;
}

.lead-panel,
.filter-panel,
.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--soft-shadow);
}

.filter-panel {
  position: sticky;
  top: 104px;
}

.lead-panel h3,
.filter-panel h2,
.contact-form h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 1.24rem;
  font-weight: 900;
}

form {
  display: grid;
  gap: 15px;
}

label {
  display: grid;
  gap: 7px;
  color: #3f4a4d;
  font-size: 0.9rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #ccd8d6;
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  outline: 0;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(248, 127, 85, 0.14);
}

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

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

.property-card,
.service-card,
.reference-grid figure {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.property-card {
  display: grid;
  min-height: 100%;
  box-shadow: 0 1px 0 rgba(32, 39, 41, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.property-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--soft-shadow);
}

.property-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.property-card div,
.service-card {
  padding: 24px;
}

.property-card span {
  color: var(--brand-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.property-card h3,
.service-card h3 {
  margin: 9px 0 10px;
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.3;
  font-weight: 900;
}

.property-card p,
.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.property-card button {
  margin-top: 18px;
  width: 100%;
  border: 1px solid rgba(47, 111, 115, 0.2);
  background: var(--surface-2);
  color: var(--teal);
}

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

.service-card {
  min-height: 100%;
  border-top: 4px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  border-top-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: var(--soft-shadow);
}

.service-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--teal);
  border-radius: var(--radius);
  font-size: 0.86rem;
  font-weight: 900;
}

.office-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.office-gallery img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.office-gallery img:first-child {
  margin-top: 34px;
}

.office-gallery img:nth-child(3) {
  grid-column: 1 / -1;
  height: 320px;
  object-position: center 45%;
}

.reference-grid figure {
  margin: 0;
  position: relative;
  box-shadow: 0 1px 0 rgba(32, 39, 41, 0.04);
}

.reference-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.reference-grid figcaption {
  padding: 15px 17px;
  color: var(--ink);
  font-weight: 900;
}

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

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  gap: 8px;
  padding: 23px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.process-list strong {
  color: var(--teal);
  font-size: 1.02rem;
  font-weight: 900;
}

.process-list span {
  color: var(--muted);
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-details address {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  color: var(--muted);
  font-style: normal;
}

.contact-details address strong {
  color: var(--ink);
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.contact-list a,
.contact-list button {
  justify-content: flex-start;
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: #fff;
  color: var(--ink);
  font-weight: 850;
}

.map-section {
  width: 100%;
  height: 460px;
  border-top: 1px solid var(--line);
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-buttons button {
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
}

.filter-buttons button.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  padding: 38px max(20px, calc((100vw - 1180px) / 2));
  background: var(--ink);
  color: #fff;
}

.footer-brand .brand-mark {
  background: #fff;
  color: var(--ink);
}

.footer-brand .brand-copy strong {
  color: #fff;
}

.footer-brand .brand-copy span,
.site-footer p,
.site-footer address {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer p {
  max-width: 430px;
  margin: 14px 0 0;
}

.site-footer address {
  font-style: normal;
  text-align: right;
}

.site-footer a:hover {
  color: #ffc8b7;
}

.whatsapp-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
}

.whatsapp-fab {
  min-width: 112px;
  height: 54px;
  border: 0;
  border-radius: var(--radius);
  padding: 0 18px;
  background: var(--green);
  color: #fff;
  font-weight: 950;
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.32);
}

.whatsapp-popup {
  position: absolute;
  right: 0;
  bottom: 70px;
  width: min(330px, calc(100vw - 44px));
  display: none;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.whatsapp-widget.is-open .whatsapp-popup {
  display: grid;
  gap: 10px;
}

.whatsapp-popup strong {
  color: var(--ink);
  font-weight: 900;
}

.whatsapp-popup p {
  margin: 0 0 4px;
  color: var(--muted);
}

.whatsapp-popup button:not(.popup-close) {
  width: 100%;
  justify-content: flex-start;
  min-height: 42px;
  background: var(--surface);
  color: var(--ink);
}

.popup-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 1.35rem;
  line-height: 1;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: grid;
    justify-self: end;
  }

  .primary-nav {
    grid-column: 1 / -1;
    display: none;
    width: 100%;
    justify-self: stretch;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }

  .primary-nav.is-open {
    display: grid;
  }

  .primary-nav a {
    padding: 12px 0;
  }

  .primary-nav a::after {
    left: 0;
    right: auto;
    width: 48px;
  }

  .header-call {
    display: none;
  }

  .quick-strip,
  .intro-grid,
  .office-section,
  .contact-layout,
  .listing-layout {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    position: static;
  }

  .property-grid,
  .property-grid.large,
  .service-grid,
  .service-grid.detailed,
  .reference-grid,
  .reference-grid.expanded,
  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  :root {
    --content: min(100% - 28px, 1180px);
  }

  .top-bar {
    display: none;
  }

  .site-header {
    min-height: 70px;
    padding: 10px 14px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand-copy strong {
    font-size: 0.98rem;
  }

  .brand-copy span {
    font-size: 0.68rem;
  }

  .hero,
  .sub-hero {
    min-height: 620px;
    background-image:
      linear-gradient(90deg, rgba(18, 25, 27, 0.9), rgba(18, 25, 27, 0.7)),
      var(--hero-image);
  }

  .sub-hero {
    min-height: 480px;
  }

  .hero-content {
    padding: 56px 0 82px;
  }

  .hero h1,
  .sub-hero h1 {
    font-size: 2.75rem;
    line-height: 1.04;
  }

  .hero p:not(.eyebrow) {
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .hero-metrics div,
  .hero-metrics div:first-child {
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .hero-metrics div:last-child {
    border-bottom: 0;
  }

  .quick-strip {
    margin-top: 0;
    width: 100%;
    grid-template-columns: 1fr;
    border-radius: 0;
  }

  .quick-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section,
  .section.tinted {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .section-copy h2,
  .section-heading h2,
  .contact-band h2,
  .contact-details h2 {
    font-size: 2rem;
  }

  .section-heading {
    display: grid;
    align-items: start;
  }

  .property-grid,
  .property-grid.large,
  .service-grid,
  .service-grid.detailed,
  .reference-grid,
  .reference-grid.expanded,
  .process-list,
  .office-gallery {
    grid-template-columns: 1fr;
  }

  .office-gallery img,
  .office-gallery img:first-child,
  .office-gallery img:nth-child(3) {
    height: 280px;
    margin-top: 0;
  }

  .contact-actions,
  .hero-actions {
    display: grid;
  }

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

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer address {
    text-align: left;
  }

  .whatsapp-widget {
    right: 16px;
    bottom: 16px;
  }
}
