:root {
  --blue-950: #061f3b;
  --blue-900: #082a4f;
  --blue-700: #0f427f;
  --blue-100: #e8f0f6;
  --yellow: #fecf16;
  --ink: #142333;
  --muted: #607080;
  --ivory: #f7f5ef;
  --white: #ffffff;
  --line: rgba(8, 42, 79, 0.14);
  --shadow: 0 24px 60px rgba(6, 31, 59, 0.12);
  --radius: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

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

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

a {
  color: inherit;
}

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

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

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

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

.header-inner {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  width: 210px;
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav > a:not(.button) {
  text-decoration: none;
}

.nav > a:not(.button):hover {
  color: var(--blue-700);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  color: var(--blue-950);
  background: var(--yellow);
  border: 2px solid var(--yellow);
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover {
  background: #ffdb47;
  border-color: #ffdb47;
  box-shadow: 0 10px 26px rgba(254, 207, 22, 0.24);
  transform: translateY(-2px);
}

.button-small {
  min-height: 43px;
  padding-inline: 20px;
}

.hero {
  position: relative;
  min-height: 610px;
  color: var(--white);
  background: var(--blue-950) url("img/hero-bucaramanga.jpg") center 48% / cover no-repeat;
  isolation: isolate;
}

.hero-overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 31, 59, 0.94) 0%, rgba(6, 31, 59, 0.77) 50%, rgba(6, 31, 59, 0.2) 100%);
}

.hero-inner {
  display: flex;
  min-height: 610px;
  flex-direction: column;
  justify-content: center;
  padding-block: 90px 52px;
}

.hero-copy {
  min-width: 0;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-700);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: var(--yellow);
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Manrope", "Inter", sans-serif;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  max-width: min(780px, 100%);
  margin-bottom: 24px;
  font-size: clamp(3rem, 6vw, 5.6rem);
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 22px;
  color: var(--blue-950);
  font-size: clamp(2.1rem, 4vw, 3.45rem);
  letter-spacing: -0.04em;
}

h3 {
  color: var(--blue-950);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.hero-lead {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-700);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.text-link-light {
  color: var(--white);
}

.hero-location {
  margin: auto 0 0;
  padding-top: 50px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.summary {
  padding: 96px 0;
  background: var(--ivory);
}

.summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: clamp(60px, 9vw, 130px);
  align-items: center;
}

.summary-copy > p:last-child {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.summary-copy,
.section-heading > div,
.contact-grid > div {
  min-width: 0;
}

.service-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.service-list li {
  display: flex;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  color: var(--blue-950);
  font-weight: 700;
}

.service-list span {
  color: var(--blue-700);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.properties {
  padding: 104px 0 96px;
}

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

.section-heading h2 {
  margin-bottom: 0;
}

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

.property-card {
  overflow: hidden;
  color: inherit;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(6, 31, 59, 0.06);
  text-decoration: none;
  transition: box-shadow 220ms ease, transform 220ms ease;
}

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

.property-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--blue-100);
}

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

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

.property-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 7px 11px;
  color: var(--blue-950);
  background: var(--yellow);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.property-body {
  padding: 24px;
}

.property-price {
  margin: 0 0 8px;
  color: var(--blue-700);
  font-size: 1.25rem;
  font-weight: 800;
}

.property-price small {
  font-size: 0.76rem;
  font-weight: 600;
}

.property-body h3 {
  min-height: 2.6em;
  margin-bottom: 8px;
}

.property-place {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.property-facts {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  color: var(--muted);
  font-size: 0.82rem;
}

.property-facts li:not(:last-child)::after {
  content: "·";
  margin-left: 10px;
}

.availability-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.contact {
  padding: 88px 0;
  color: var(--white);
  background: var(--blue-950);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(60px, 10vw, 140px);
  align-items: start;
}

.contact h2 {
  color: var(--white);
}

.contact-grid > div > p:not(.eyebrow) {
  max-width: 600px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 34px;
  font-style: normal;
}

.contact-details > div {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-details span {
  display: block;
  margin-bottom: 8px;
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-details strong {
  font-family: "Manrope", sans-serif;
}

.contact-details p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.contact-details a {
  text-decoration: none;
}

.contact-details a:hover {
  color: var(--yellow);
}

.site-footer {
  padding: 28px 0;
  background: #041729;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-inner img {
  width: 180px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.82;
}

.footer-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.78rem;
}

.whatsapp-float {
  position: fixed;
  z-index: 30;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  background: #25d366;
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
  transition: transform 180ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
}

@media (max-width: 900px) {
  .summary-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .summary-grid {
    gap: 48px;
  }

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

  .property-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 12px);
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .header-inner {
    min-height: 76px;
  }

  .brand {
    width: 155px;
  }

  .nav {
    display: none;
  }

  .hero,
  .hero-inner {
    min-height: 650px;
  }

  .hero {
    background-position: 64% center;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(6, 31, 59, 0.94), rgba(6, 31, 59, 0.66));
  }

  h1 {
    width: 100%;
    font-size: clamp(2.35rem, 10.5vw, 2.75rem);
    letter-spacing: -0.045em;
    overflow-wrap: break-word;
    text-wrap: wrap;
  }

  h2 {
    width: 100%;
    font-size: 2rem;
    text-wrap: wrap;
  }

  .hero-actions,
  .section-heading,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-lead,
  .summary-copy p,
  .contact-grid p {
    overflow-wrap: break-word;
  }

  .hero-copy,
  .summary-copy,
  .section-heading,
  .section-heading > div,
  .contact-grid,
  .contact-grid > div {
    width: 100%;
    max-width: 100%;
  }

  .summary,
  .properties,
  .contact {
    padding-block: 72px;
  }

  .summary-grid {
    gap: 38px;
  }

  .section-heading {
    gap: 20px;
    margin-bottom: 32px;
  }

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

  .property-card:last-child {
    grid-column: auto;
    width: auto;
  }

  .property-body h3 {
    min-height: 0;
  }

  .contact-details {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    gap: 16px;
  }

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

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
