:root {
  --red: #1d71b8;
  --red-dark: #145486;
  --charcoal: #151515;
  --ink: #2c3036;
  --muted: #6e7580;
  --line: #e6e8ec;
  --soft: #f5f6f8;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(21, 21, 21, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

.skip-link {
  left: 1rem;
  position: absolute;
  top: -5rem;
  z-index: 20;
  background: var(--charcoal);
  color: var(--white);
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: min(1180px, calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
  color: var(--charcoal);
  text-transform: uppercase;
}

.brand img {
  width: 110px;
  height: auto;
}

.brand span {
  white-space: nowrap;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: var(--charcoal);
  font-weight: 650;
  font-size: 0.96rem;
}

.nav-links a {
  padding: 26px 0 24px;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--red);
  border-color: var(--red);
}

.nav-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--red);
  border: 1px solid rgba(29, 113, 184, 0.24);
  font-weight: 800;
}

.menu-button {
  display: none;
}

.hero {
  width: min(1180px, calc(100% - 32px));
  min-height: 650px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: 36px;
  padding: 48px 0 76px;
}

.hero-copy h1 {
  margin: 0;
  color: var(--charcoal);
  font-size: clamp(2.4rem, 6vw, 5.25rem);
  line-height: 0.97;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 610px;
  margin: 24px 0 0;
  color: #424852;
  font-size: 1.16rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 7px;
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.button.primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(29, 113, 184, 0.22);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--red-dark);
}

.button.secondary {
  color: var(--red);
  border-color: var(--red);
  background: var(--white);
}

.button.light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 38px 0 0;
}

.hero-facts div {
  padding: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.hero-facts dt {
  color: var(--red);
  font-size: 1.35rem;
  font-weight: 900;
}

.hero-facts dd {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-media {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 34px 0 -28px 36px;
  background: var(--red);
  border-radius: var(--radius);
  opacity: 0.12;
}

.hero-media img {
  position: relative;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  border-radius: var(--radius);
  background: #edf5fb;
  box-shadow: var(--shadow);
}

.search-panel {
  width: min(1180px, calc(100% - 32px));
  margin: -34px auto 72px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.section-kicker {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tabs {
  display: flex;
  gap: 8px;
  margin: 8px 0 18px;
}

.tab {
  min-height: 38px;
  border: 0;
  background: transparent;
  color: var(--charcoal);
  padding: 0 14px;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-weight: 850;
}

.tab.active {
  color: var(--red);
  border-color: var(--red);
}

.quick-form,
.lead-form {
  display: grid;
  gap: 14px;
}

.quick-form {
  grid-template-columns: 1.1fr 1fr 1fr 1fr auto;
  align-items: end;
}

label {
  display: grid;
  gap: 6px;
  color: #4d5560;
  font-size: 0.88rem;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d7dbe2;
  border-radius: 6px;
  min-height: 46px;
  padding: 0 12px;
  color: var(--charcoal);
  background: var(--white);
}

textarea {
  padding-top: 12px;
  resize: vertical;
}

.section,
.solutions,
.request-section,
.contact-band {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 20px 0 74px;
}

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

.section-heading h2,
.solutions h2,
.request-section h2,
.contact-band h2 {
  margin: 6px 0 0;
  color: var(--charcoal);
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-heading a {
  color: var(--red);
  font-weight: 850;
}

.listing-heading {
  align-items: start;
}

.listing-heading p {
  max-width: 720px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.property-grid.full-list {
  align-items: stretch;
}

.property-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(21, 21, 21, 0.08);
}

.property-card.featured {
  transform: none;
}

.property-image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #edf5fb;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 250ms ease;
}

.property-card:hover .property-image img {
  transform: scale(1.035);
}

.property-image span {
  position: absolute;
  left: 14px;
  top: 14px;
  background: var(--white);
  color: var(--charcoal);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 900;
}

.property-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.property-body p,
.request-section p,
.solutions-copy p,
.site-footer p {
  margin: 0;
  color: var(--muted);
}

.property-body h3 {
  margin: 6px 0;
  color: var(--charcoal);
  font-size: 1.24rem;
}

.property-body strong {
  display: block;
  color: var(--red);
  font-size: 1.32rem;
}

.property-meta {
  list-style: none;
  padding: 0;
  margin: 14px 0 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #4b535e;
}

.property-meta li,
.detail-chips span,
.feature-list span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: #edf5fb;
  color: #29445c;
  font-size: 0.84rem;
  font-weight: 800;
}

.property-body a {
  color: var(--red);
  font-weight: 850;
}

.property-summary {
  margin-top: auto;
  color: #5f6875;
  font-size: 0.94rem;
}

.property-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.button.compact {
  min-height: 42px;
  padding: 0 14px;
  font-size: 0.92rem;
}

.property-placeholder {
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 24px;
  background: linear-gradient(135deg, #edf5fb, #ffffff);
  color: var(--red);
  text-align: center;
  font-weight: 900;
}

.property-placeholder img {
  width: 128px;
  height: auto;
}

.detail-page {
  background: #fbfcfe;
}

.property-detail-hero,
.detail-content,
.related-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.property-detail-hero {
  padding: 34px 0 46px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.breadcrumb a {
  color: var(--red);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.7fr);
  gap: 30px;
  align-items: stretch;
}

.detail-media {
  min-height: 460px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.detail-main-image {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.detail-summary {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 36px rgba(21, 21, 21, 0.08);
}

.detail-summary h1 {
  margin: 8px 0 12px;
  color: var(--charcoal);
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1;
  letter-spacing: 0;
}

.detail-location {
  margin: 0 0 18px;
  color: var(--muted);
}

.detail-summary strong {
  display: block;
  margin-bottom: 18px;
  color: var(--red);
  font-size: 2rem;
}

.detail-chips,
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.detail-actions {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 30px;
  align-items: start;
  padding: 28px 0 74px;
}

.detail-content article,
.detail-specs {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 28px;
}

.detail-content h2,
.related-section h2 {
  margin: 8px 0 14px;
  color: var(--charcoal);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.detail-content p {
  margin: 0;
  color: #4d5560;
  font-size: 1.04rem;
}

.source-note {
  margin-top: 18px !important;
  font-size: 0.9rem !important;
  color: var(--muted) !important;
}

.source-note a {
  color: var(--red);
  font-weight: 850;
}

.detail-specs h2 {
  margin: 0 0 16px;
  font-size: 1.25rem;
}

.detail-specs dl {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
}

.detail-specs dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.detail-specs dt {
  color: var(--muted);
  font-weight: 750;
}

.detail-specs dd {
  margin: 0;
  color: var(--charcoal);
  font-weight: 850;
  text-align: right;
}

.related-section {
  padding-bottom: 74px;
}

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

.solutions {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
  padding: 72px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.solutions-copy {
  position: sticky;
  top: 108px;
}

.solutions-copy p {
  margin-top: 18px;
  font-size: 1.05rem;
}

.solution-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.solution-list article {
  min-height: 210px;
  padding: 24px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.solution-list span {
  color: var(--red);
  font-weight: 950;
}

.solution-list h3 {
  margin: 48px 0 8px;
  color: var(--charcoal);
  font-size: 1.32rem;
}

.solution-list p {
  margin: 0;
  color: var(--muted);
}

.request-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: start;
  padding: 78px 0;
}

.lead-form {
  padding: 26px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 38px;
  background: var(--charcoal);
  color: var(--white);
  border-radius: var(--radius);
}

.contact-band p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.site-footer {
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr;
  gap: 34px;
  padding: 56px max(16px, calc((100% - 1180px) / 2)) 34px;
  background: var(--charcoal);
  color: var(--white);
}

.site-footer p {
  color: rgba(255, 255, 255, 0.68);
}

.site-footer img {
  width: 132px;
  height: auto;
  margin-bottom: 18px;
}

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

.site-footer a {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 8px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--white);
}

.legal {
  grid-column: 1 / -1;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.86rem;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #18b960;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 950;
  box-shadow: 0 14px 28px rgba(24, 185, 96, 0.35);
}

@media (max-width: 980px) {
  .nav-shell {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .menu-button {
    display: inline-grid;
    grid-template-columns: 18px auto;
    gap: 7px;
    align-items: center;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 7px;
    min-height: 42px;
    padding: 0 12px;
    color: var(--charcoal);
    font-weight: 800;
  }

  .menu-button span {
    grid-column: 1;
    width: 18px;
    height: 2px;
    background: var(--charcoal);
  }

  .menu-button span + span {
    margin-top: -10px;
  }

  .nav-links,
  .nav-whatsapp {
    display: none;
  }

  .nav-links.open {
    display: grid;
    grid-column: 1 / -1;
    gap: 0;
    padding-bottom: 14px;
    justify-content: stretch;
  }

  .nav-links.open a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero,
  .solutions,
  .request-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
  }

  .hero-media {
    min-height: 0;
  }

  .hero-media img {
    height: auto;
  }

  .quick-form,
  .property-grid,
  .detail-content,
  .detail-layout,
  .solution-list {
    grid-template-columns: 1fr 1fr;
  }

  .detail-layout,
  .detail-content {
    grid-template-columns: 1fr;
  }

  .quick-form .button {
    grid-column: 1 / -1;
  }

  .solutions-copy {
    position: static;
  }

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

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

@media (max-width: 680px) {
  .nav-shell,
  .hero,
  .search-panel,
  .section,
  .solutions,
  .request-section,
  .property-detail-hero,
  .detail-content,
  .related-section,
  .contact-band {
    width: min(358px, calc(100% - 32px));
  }

  .brand span {
    display: none;
  }

  .hero-copy h1 {
    font-size: clamp(2.15rem, 11.5vw, 3.2rem);
  }

  .hero-copy p {
    font-size: 1rem;
    overflow-wrap: break-word;
  }

  .hero-facts,
  .quick-form,
  .property-grid,
  .solution-list,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .property-card.featured {
    transform: none;
  }

  .property-actions {
    grid-template-columns: 1fr;
  }

  .detail-media,
  .detail-main-image {
    min-height: 280px;
  }

  .detail-summary,
  .detail-content article,
  .detail-specs {
    padding: 22px;
  }

  .search-panel {
    margin-top: -18px;
    padding: 18px;
  }

  .tabs {
    overflow-x: auto;
  }

  .hero-media img {
    height: auto;
  }

  .solutions,
  .request-section {
    padding: 52px 0;
  }

  .contact-band {
    padding: 26px;
  }

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

  .button {
    width: 100%;
  }
}

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