@font-face {
  font-family: Montserrat;
  src: url("montserrat.woff2") format("woff2");
  font-weight: 200 400;
  font-display: swap;
}
:root {
  --deep: #0E1328;
  --navy: #1D2856;
  --white: #FFFFFF;
  --steel: #6798B6;
  --mist: #8DB4CC;
  color: var(--navy);
  background: var(--white);
  font: 400 16px/1.65 Montserrat, sans-serif;
}
* { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 300; line-height: 1.12; }
h1 { font-size: clamp(3rem, 6.3vw, 6.7rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2.35rem, 4.5vw, 4.7rem); letter-spacing: -.045em; }
h3 { font-size: clamp(1.35rem, 2.35vw, 2.05rem); }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--steel); outline-offset: 5px; }
.wrap { width: min(88%, 1320px); margin-inline: auto; }
.section { padding-block: clamp(4rem, 9vw, 8.5rem); }
.skip { position: absolute; left: 1rem; top: 1rem; transform: translateY(-200%); z-index: 3; background: white; padding: .75rem; }
.skip:focus { transform: none; }
.header, footer, .hero, .investment { background: var(--deep); color: var(--white); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 90px; }
.logo { position: relative; display: block; width: 146px; height: 66px; overflow: hidden; flex: none; }
.logo picture { display: contents; }
.logo img { position: absolute; width: 210px; max-width: none; height: auto; left: 50%; top: 50%; transform: translate(-50%, -50%); }
@media (max-width: 680px) {
  .logo { width: 126px; height: 62px; }
  .logo img { width: 190px; }
}
nav, .actions { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(.8rem, 2.8vw, 2.4rem); }
nav a { font-size: .9rem; text-decoration: none; }
nav a:hover { text-decoration: underline; text-underline-offset: .28em; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .65rem 1.3rem; border: 1px solid currentColor; text-decoration: none; font-size: .9rem; }
.button:hover { background: var(--deep); color: var(--white); }
.light { border-color: var(--mist); }
.light:hover { background: var(--white); color: var(--deep); }
.solid { background: var(--white); color: var(--deep); border-color: var(--white); }
.solid:hover { background: var(--mist); color: var(--deep); border-color: var(--mist); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: stretch; min-height: min(680px, 78svh); }
.hero-content { width: auto; align-self: center; margin: 0; padding: clamp(3.6rem, 6.4vw, 7.5rem) 6vw; }
.hero-media { position: relative; min-height: 340px; margin: 0; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 53% center; }
.caption { position: absolute; bottom: 0; right: 0; margin: 0; padding: .65rem 1rem; background: var(--deep); color: var(--white); font-size: .75rem; }
.label { font-size: .875rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1rem; }
.hero .label, .investment .label, footer .label { color: var(--mist); }
.hero-copy { max-width: 33ch; margin-top: 1.45rem; }
.actions { margin-top: 1.8rem; gap: .65rem; }
.hero-invest { display: inline-block; margin-top: 1.25rem; }
.text-link, .hero-invest { text-underline-offset: .35em; text-decoration-color: var(--steel); }
.section-head, .columns { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 7vw, 7rem); align-items: start; }
.selection-copy { align-self: end; max-width: 42ch; }
.selection-copy .text-link, .international-copy .button { margin-top: 1.25rem; display: inline-flex; }
.investment-copy, .investment-details p, .service-list p, footer h2 + p { margin-block: .85rem; }
.investment-details, .service-list > div { border-top: 1px solid var(--steel); padding-block: 1.25rem; }
.investment-details h3:not(:first-child) { margin-top: 1.9rem; }
.international, .service, #nosotros { border-bottom: 1px solid var(--mist); }
.international-copy, .about-copy { max-width: 48ch; }
.international-copy p + p { margin-top: 1rem; }
.about-copy p { margin-bottom: 1rem; }
footer .section { padding-block: 4rem; }
address { font-style: normal; display: grid; gap: .75rem; justify-items: start; }
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; }
  .hero-media { min-height: clamp(240px, 55vw, 430px); }
  .hero-content { padding: 3.5rem 6vw; }
}
@media (max-width: 680px) {
  .header-inner { display: grid; grid-template-columns: 1fr auto; gap: .1rem .8rem; padding-bottom: .9rem; }
  nav { grid-row: 2; grid-column: 1 / -1; gap: .5rem 1rem; }
  .section-head, .columns { grid-template-columns: 1fr; }
}
.city-photo { grid-column: 1 / -1; margin: 0; }
.city-photo img { width: 100%; height: auto; aspect-ratio: 2.05; object-fit: cover; object-position: center 55%; }
.city-photo figcaption { margin-top: .6rem; font-size: .8rem; }
@media (max-width: 680px) {
  .city-photo img { aspect-ratio: 1.5; }
}
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 4vw, 3rem); margin-top: 2.5rem; }
.project-card { display: block; text-decoration: none; border-bottom: 1px solid var(--mist); }
.project-card img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; background: var(--deep); }
.project-card > div { padding-block: 1.25rem; }
.project-card h3 { margin-bottom: .75rem; }
.project-card .label { margin-bottom: .5rem; }
.project-card .text-link { text-decoration: underline; text-decoration-color: var(--steel); }
.project-detail figure { margin: 2rem 0; }
.project-detail img { width: 100%; max-height: 720px; object-fit: cover; }
.project-detail figcaption { margin-top: .55rem; font-size: .875rem; }
@media (max-width: 680px) {
  .project-grid { grid-template-columns: 1fr; }
}
.panama-section { border-top: 1px solid var(--mist); }
.panama-intro { align-items: center; }
.panama-intro h2 + p { margin-top: 1rem; max-width: 38ch; }
.panama-intro figure { margin: 0; }
.panama-intro img { width: 100%; height: auto; }
.panama-intro figcaption { margin-top: .5rem; font-size: .875rem; }
.panama-topics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2rem; margin-block: 2rem; }
.panama-topics article { border-top: 1px solid var(--mist); padding-top: 1rem; }
.panama-topics p { margin-block: .75rem; }
@media (max-width: 680px) { .panama-topics { grid-template-columns: 1fr; } }
.project-zones { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.project-zones a { display: inline-flex; align-items: center; min-height: 44px; padding: .35rem .85rem; border: 1px solid var(--mist); }
.project-zones a:hover { color: white; background: var(--navy); text-decoration: none; }
.project-zone { margin-top: clamp(2.5rem, 6vw, 4.75rem); scroll-margin-top: 1rem; }
.project-zone > h3 { font-size: clamp(1.85rem, 4vw, 3.15rem); }
.project-zone .project-grid { margin-top: 1.1rem; }
.project-card h4 { font-size: clamp(1.3rem, 2.1vw, 1.9rem); font-weight: 300; line-height: 1.18; margin: 0 0 .75rem; }
.investor-page h1 { max-width: 18ch; font-size: clamp(2.8rem,6vw,5.5rem); }
.editorial-copy { max-width: 65ch; margin-top: 1.5rem; }
.editorial-copy p + p { margin-top: .9rem; }
.investor-directory { margin-block: 2.5rem; }
.investor-directory ul { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,17rem),1fr)); gap: .8rem 1.6rem; padding: 0; list-style: none; }
.investor-directory li { border-top: 1px solid var(--mist); }
.investor-directory a { display: block; min-height: 44px; padding: .8rem .15rem; text-underline-offset: .24em; text-decoration-color: var(--steel); }
.editorial-sources { margin-block: 2rem; padding-top: 1rem; border-top: 1px solid var(--mist); max-width: 65ch; }
.editorial-sources h2 { font-size: 1.45rem; }
.editorial-sources ul { padding-left: 1.2rem; }
.whatsapp-shortcut { position: fixed; z-index: 5; right: max(1rem,env(safe-area-inset-right)); bottom: max(1rem,env(safe-area-inset-bottom)); display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .65rem 1.05rem; border: 1px solid var(--mist); background: var(--deep); color: white; text-decoration: none; font-size: .9rem; }
.whatsapp-shortcut:hover { background: var(--navy); }
.corporate-topic { font-size: clamp(1.4rem,3vw,2.1rem); letter-spacing: -.02em; }
.residential-contact { margin-top: 1.65rem; }
.header-utils { display: flex; align-items: center; gap: .85rem; }
.language-switch { display: inline-flex; align-items: center; gap: .3rem; color: var(--mist); white-space: nowrap; flex: none; font-size: .78rem; letter-spacing: .09em; }
.language-switch [aria-current] { color: white; }
.language-switch a { color: inherit; display: inline-flex; align-items: center; min-height: 44px; padding-inline: .15rem; text-underline-offset: .23em; }
.language-switch a:hover { color: white; }
@media (max-width: 680px) {
  .header-utils { justify-self: end; gap: .55rem; }
  .header-utils .button { padding-inline: .65rem; }
}
.home-nav { justify-content: center; flex-wrap: nowrap; column-gap: clamp(1rem, 2.6vw, 2.5rem); }
.home-nav > a, .investment-menu > summary { display: flex; align-items: center; min-height: 44px; white-space: nowrap; }
.investment-menu { position: relative; }
.investment-menu > summary { list-style: none; cursor: pointer; gap: .5rem; font-size: .9rem; }
.investment-menu > summary::-webkit-details-marker { display: none; }
.investment-menu > summary::after { content: ""; width: .4rem; height: .4rem; border: solid var(--mist); border-width: 0 1px 1px 0; transform: translateY(-.1rem) rotate(45deg); }
.investment-menu[open] > summary::after { transform: translateY(.1rem) rotate(225deg); }
.investment-menu > summary:focus-visible { outline: 2px solid var(--mist); outline-offset: 4px; }
.investment-menu-links { position: absolute; z-index: 8; top: calc(100% + .25rem); left: -.85rem; min-width: 13rem; padding: .35rem .55rem; background: var(--deep); border: 1px solid var(--steel); }
.investment-menu-links a { display: flex; align-items: center; min-height: 44px; padding: .45rem .65rem; white-space: nowrap; }
.investment-menu-links a:hover { background: var(--navy); text-decoration: none; }
@media (max-width: 820px) {
  .header-inner:has(.home-nav) { display: grid; grid-template-columns: 1fr auto; gap: 0 .65rem; padding-top: .45rem; padding-bottom: .35rem; }
  .header-inner:has(.home-nav) .header-utils { justify-self: end; }
  .home-nav { grid-row: 2; grid-column: 1 / -1; justify-content: flex-start; flex-wrap: wrap; gap: 0 clamp(.6rem, 3vw, 1.4rem); border-top: 1px solid rgb(141 180 204 / 24%); }
  .home-nav > a, .investment-menu > summary { font-size: .83rem; }
  .investment-menu-links { left: -.5rem; }
}
@media (max-width: 360px) {
  .header-inner:has(.home-nav) { width: 94%; }
  .home-nav { justify-content: space-between; column-gap: .5rem; }
  .home-nav > a, .investment-menu > summary { font-size: .8rem; }
}

.commercial-entry { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; padding-block: clamp(2rem, 5vw, 4rem) 0; }
.commercial-entry article { border-bottom: 1px solid var(--mist); padding-bottom: 1.5rem; }
.commercial-entry h2 { font-size: clamp(1.25rem, 2.3vw, 2rem); }
.commercial-entry h2 a { text-decoration-thickness: 1px; text-underline-offset: .2em; }
.commercial-entry h2 span { font-size: .66em; }
.commercial-entry p { margin-top: .65rem; }
.commercial-heading { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.commercial-photo { margin: 0; }
.commercial-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.commercial-topics { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.commercial-catalog { border-top: 1px solid var(--mist); padding-top: 1.25rem; margin-bottom: 2rem; }
@media (max-width: 680px) {
  .commercial-heading, .commercial-entry { grid-template-columns: 1fr; }
  .commercial-entry { gap: 1.25rem; }
}

.property-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); }
.property-paths article { display: flex; flex-direction: column; align-items: flex-start; gap: .85rem; padding: clamp(1.2rem, 3vw, 2.25rem); }
.property-paths .resale-card { outline: 1px solid var(--mist); outline-offset: -1px; }
.property-paths h2 { font-size: clamp(1.55rem, 3vw, 2.5rem); }
.property-paths p { margin: 0; }
.property-paths .button { margin-top: auto; }
#preconstruccion { margin-top: clamp(2rem, 5vw, 3.5rem); scroll-margin-top: 8rem; }
@media (max-width: 680px) {
  .property-paths { grid-template-columns: 1fr; }
}

.commercial-topic-photo { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; margin-bottom: 1rem; }

.commercial-entry, .featured-projects { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.featured-projects { gap: clamp(1rem, 2.5vw, 2rem); }
@media (max-width: 680px) {
  .commercial-entry, .featured-projects { grid-template-columns: 1fr; }
}

.property-tools, .category-actions { display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; margin-top: 1.25rem; }
.project-facts { display: flex; flex-wrap: wrap; gap: .75rem 1.6rem; margin-block: 1rem; }
.project-facts dt { font-size: .8rem; }
.project-facts dd { margin: 0; font-weight: 600; }

.commercial-checklist { border-top: 1px solid var(--mist); padding-top: 1.5rem; }
.commercial-checklist dt { font-weight: 600; }
.commercial-checklist dd { margin: .4rem 0 0; }

.commercial-entry article { background: #f7f5f1; }
.commercial-entry-link { display: block; color: inherit; text-decoration: none; }
.commercial-entry-link:hover h2, .commercial-entry-link:focus-visible h2 { text-decoration: underline; text-underline-offset: .2em; }
.commercial-entry-link img { display: block; width: 100%; aspect-ratio: 8 / 5; object-fit: cover; }
.commercial-entry h2 { margin: 1.15rem 1.25rem 0; }
.commercial-entry p { margin: .65rem 1.25rem 0; }
