:root {
  --navy: #033450;
  --navy-deep: #042c44;
  --ink: #092f42;
  --text: #405563;
  --mint: #bce3e5;
  --paper: #fffefa;
  --cream: #f5f1e9;
  --blue-wash: #e8f3f3;
  --line: #d7dfdd;
  --serif: Georgia, "Times New Roman", serif;
  --gutter: clamp(20px, 5vw, 72px);
  --header-height: 82px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body:has(.media-dialog[open]) { overflow: hidden; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid #398da7;
  outline-offset: 4px;
}
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
section[id], main[id] { scroll-margin-top: calc(var(--header-height) + 12px); }

.container { width: min(calc(100% - 2 * var(--gutter)), 1260px); margin-inline: auto; }
.section { padding-block: clamp(70px, 7.4vw, 116px); }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  z-index: 40;
  top: 10px;
  left: 12px;
  padding: 12px 20px;
  background: var(--paper);
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  background: var(--paper);
  border-bottom: 1px solid #e8e9e1;
}
.header-row { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; flex: 0 0 auto; }
.brand img { width: 107px; height: auto; }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); }
.main-nav a, .site-footer nav a { font-size: .9rem; font-weight: 550; }
.main-nav a:hover, .site-footer nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.nav-mobile-contact, .menu-toggle { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 49px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: .91rem;
  font-weight: 680;
  line-height: 1.3;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.button .icon, .text-link .icon, .hero-link .icon { width: 18px; height: 18px; }
.button-navy { background: var(--navy); color: white; }
.button-navy:hover { background: #0b4b69; }
.button-mint { background: var(--mint); color: var(--navy-deep); }
.button-mint:hover { background: #d5f0f0; }
.button-outline { color: var(--navy); border-color: #8dabb4; background: transparent; }
.button-outline:hover { background: var(--blue-wash); border-color: var(--navy); }
.icon-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
}
.icon-button:hover { background: var(--blue-wash); }
.menu-toggle { display: none; }

.hero {
  position: relative;
  isolation: isolate;
  background: var(--navy-deep);
  color: white;
  overflow: hidden;
}
.hero-visual { position: absolute; inset: 0 0 0 36%; z-index: -1; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.hero-visual::after {
  position: absolute;
  content: "";
  inset: 0;
  background: linear-gradient(90deg, var(--navy-deep) 0%, rgb(4 44 68 / 77%) 10%, rgb(4 44 68 / 22%) 31%, transparent 53%);
}
.hero-inner { min-height: clamp(500px, 42vw, 620px); display: grid; align-items: center; }
.hero-copy { max-width: 670px; padding-block: 74px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .71rem;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: .145em;
}
.eyebrow > span { width: 25px; height: 1px; background: currentColor; flex: 0 0 25px; }
.hero .eyebrow, .contact-section .eyebrow { color: var(--mint); }
h1, h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.047em;
}
.hero h1 { font-size: clamp(3.6rem, 6.6vw, 6.45rem); line-height: .99; margin-top: 24px; }
.hero h1 em { display: block; color: var(--mint); font-weight: inherit; }
.hero-description { max-width: 355px; color: #e2ebec; margin-top: 23px; font-size: clamp(1rem, 1.3vw, 1.15rem); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 17px 25px; margin-top: 31px; }
.hero-link, .text-link {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  font-weight: 650;
  font-size: .9rem;
  text-underline-offset: 5px;
}
.hero-link { color: #f7ffff; }
.hero-link:hover, .text-link:hover { text-decoration: underline; }
.hero a:focus-visible, .contact-copy a:focus-visible { outline-color: var(--mint); }

.summary-strip { background: var(--cream); border-bottom: 1px solid #e4dfd4; }
.summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: 26px; }
.summary-grid > div { padding: 4px clamp(12px, 3.2vw, 49px); border-left: 1px solid #d7d6ca; }
.summary-grid > div:first-child { border-left: 0; padding-left: 0; }
.summary-grid dt {
  color: var(--text);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .10em;
  font-weight: 740;
}
.summary-grid dd { font-family: var(--serif); font-size: clamp(1.45rem, 3vw, 2.55rem); line-height: 1.15; letter-spacing: -.04em; margin-top: 5px; }
.summary-grid dd span { font-size: .64em; white-space: nowrap; letter-spacing: -.02em; }

h2 { font-size: clamp(2.55rem, 4.75vw, 4.45rem); line-height: 1.015; margin-block: 17px 22px; }
.body-copy { max-width: 49ch; color: var(--text); font-size: 1.025rem; line-height: 1.72; }
.project-grid, .location-grid, .contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(38px, 7vw, 104px);
}
.project-image img { aspect-ratio: 1.28; object-fit: cover; object-position: center; width: 100%; height: auto; border-radius: 5px; }
.project-image figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  font-size: .69rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: .10em;
  color: var(--text);
}
.project-image figcaption > span { color: var(--navy); font-weight: 800; }
.project-image figcaption i { width: 15px; height: 1px; background: #97a9ab; }
.feature-list, .landmarks { padding: 0; list-style: none; }
.feature-list { margin: 24px 0 29px; display: grid; gap: 12px; }
.feature-list li { display: flex; align-items: center; gap: 11px; font-weight: 560; font-size: .96rem; }
.feature-list .icon { width: 23px; height: 23px; padding: 3px; border-radius: 50%; background: var(--blue-wash); color: var(--navy); }

.gallery-section { background: var(--cream); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 22px 42px; }
.section-head h2 { margin-bottom: 0; }
.section-head > p { max-width: 33ch; }
.gallery-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px 20px; flex-wrap: wrap; margin-block: 31px 22px; }
.filter-group { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-button {
  padding: 9px 15px;
  min-height: 41px;
  border: 1px solid #c3cecb;
  border-radius: 30px;
  background: transparent;
  font-size: .85rem;
  font-weight: 650;
  cursor: pointer;
}
.filter-button:hover { background: var(--paper); }
.filter-button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: white; }
.video-link { color: var(--navy); }
.video-link > .icon { border: 1px solid #a9bec3; border-radius: 50%; width: 31px; height: 31px; padding: 6px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); }
.gallery-item { min-width: 0; }
.gallery-card { display: block; height: 100%; background: var(--paper); border-radius: 5px; overflow: hidden; border: 1px solid #e2ded4; }
.gallery-image { position: relative; aspect-ratio: 1.58; overflow: hidden; background: #e6d4c0; }
.gallery-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-card:hover .gallery-image img { transform: scale(1.035); }
.gallery-image-plan { background: #ead8c8; }
.gallery-image-plan img { object-fit: contain; padding-block: 9px; }
.zoom-icon {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper);
  color: var(--navy);
}
.gallery-caption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 10px; padding: 14px 14px 15px; }
.gallery-caption h3 { font-size: .96rem; font-weight: 700; line-height: 1.36; }
.gallery-caption span { color: var(--text); font-size: .72rem; }
.gallery-note { font-size: .79rem; color: var(--text); margin-top: 17px; }

.location-section { background: var(--blue-wash); }
.location-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); }
.landmarks { margin: 25px 0 29px; }
.landmarks li { display: flex; align-items: flex-start; gap: 12px; padding: 11px 0; border-top: 1px solid #cbdcdb; }
.landmarks li:last-child { border-bottom: 1px solid #cbdcdb; }
.landmarks .icon { color: var(--navy); margin-top: 2px; }
.landmarks strong, .landmarks li span { display: block; }
.landmarks strong { font-size: .98rem; font-weight: 700; }
.landmarks li span { color: var(--text); font-size: .87rem; }
.map-card { border: 1px solid #c6d8d9; border-radius: 6px; overflow: hidden; background: var(--paper); }
.map-link { position: relative; display: grid; place-items: center; min-height: 350px; padding: 20px 15px 47px; background: #d7e8e8; }
.map-link img { width: auto; height: auto; max-height: 463px; max-width: 100%; box-shadow: 0 8px 28px rgb(3 52 80 / 13%); }
.map-zoom {
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--paper);
  color: var(--navy);
  border: 1px solid #bccfd0;
  border-radius: 4px;
  padding: 7px 11px;
  font-size: .82rem;
  font-weight: 700;
}
.map-link:hover .map-zoom { background: var(--navy); border-color: var(--navy); color: white; }
.map-zoom .icon { width: 17px; height: 17px; }
.map-card figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 10px;
  padding: 12px 15px;
  font-size: .73rem;
  color: var(--text);
}
.map-card figcaption span:first-child { display: flex; align-items: center; gap: 5px; color: var(--navy); font-weight: 650; }
.map-card figcaption .icon { width: 17px; height: 17px; }

.contact-section { background: radial-gradient(ellipse at 8% 98%, #11536e, transparent 54%), var(--navy-deep); color: white; }
.contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); }
.contact-copy .body-copy { color: #e2ecee; }
.contact-phone { display: flex; width: fit-content; align-items: center; gap: 12px; margin-top: 22px; font-family: var(--serif); font-size: clamp(1.55rem, 3vw, 2.24rem); }
.contact-phone .icon { width: 25px; height: 25px; }
.contact-whatsapp { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--mint); font-size: .92rem; font-weight: 630; text-decoration: underline; text-underline-offset: 4px; }
.contact-whatsapp .icon { width: 16px; height: 16px; }
.contact-card { color: var(--ink); background: var(--paper); border-radius: 6px; padding: clamp(22px, 4vw, 47px); }
.contact-card h3 { margin: 0 0 19px; font-family: var(--serif); font-size: 1.85rem; letter-spacing: -.035em; font-weight: 400; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { margin-bottom: 16px; min-width: 0; }
.field label { display: block; margin-bottom: 6px; font-weight: 690; font-size: .85rem; }
.field label span { font-weight: 450; color: var(--text); }
.field input, .field select {
  width: 100%;
  min-height: 48px;
  padding: 10px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #c0cdce;
  border-radius: 4px;
  font-size: 1rem;
}
.field input::placeholder { color: #687d86; }
.form-submit { justify-content: flex-start; width: 100%; margin-top: 3px; }
.form-submit .button-end { margin-left: auto; }
.form-note, .form-status { font-size: .77rem; margin-top: 10px; color: var(--text); }
.form-status a { text-decoration: underline; text-underline-offset: 3px; }

.site-footer { padding-block: 27px; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.footer-brand img { width: 88px; }
.footer-grid p { color: var(--navy); font-weight: 650; font-size: .86rem; }
.footer-grid p span { color: var(--text); font-weight: 450; }
.footer-grid nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.footer-grid nav a { display: inline-flex; align-items: center; gap: 5px; }
.footer-grid nav .icon { width: 15px; height: 15px; }
.mobile-contact { display: none; }

.media-dialog {
  width: min(calc(100% - 28px), 960px);
  max-height: calc(100dvh - 28px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
  color: var(--ink);
  overscroll-behavior: contain;
}
.media-dialog::backdrop { background: rgb(3 26 41 / 82%); }
.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--paper);
  padding: 10px 15px 10px 18px;
  border-bottom: 1px solid var(--line);
}
.dialog-header h2 { margin: 0; font-family: inherit; font-size: 1rem; letter-spacing: 0; font-weight: 700; line-height: 1.3; }
.dialog-stage { display: grid; place-items: center; background: #e8efef; }
.dialog-image, .dialog-video { width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 171px); object-fit: contain; }
.media-dialog.is-map { width: min(calc(100% - 28px), 760px); }
.media-dialog.is-map .dialog-image { width: 100%; max-height: none; }
.media-dialog.is-video { width: min(calc(100% - 28px), 600px); }
.media-dialog.is-video .dialog-video { max-height: calc(100dvh - 100px); }
.dialog-nav { display: flex; align-items: center; justify-content: center; gap: 15px; padding: 8px 14px; }
.dialog-nav p { min-width: 55px; text-align: center; font-size: .84rem; }
.dialog-prev .icon { transform: rotate(180deg); }

@media (max-width: 900px) {
  :root { --header-height: 70px; }
  .brand img { width: 94px; }
  .header-row { gap: 12px; }
  .main-nav { gap: 17px; }
  .main-nav a { font-size: .83rem; }
  .header-cta { font-size: .83rem; padding-inline: 12px; }
  .project-grid, .location-grid, .contact-grid { gap: 32px; }
  .hero h1 { font-size: clamp(3.45rem, 8vw, 5.15rem); }
  .hero-visual { left: 32%; }
  .hero-visual::after { background: linear-gradient(90deg, var(--navy-deep), rgb(4 44 68 / 65%) 18%, transparent 64%); }
  .wide-break { display: none; }
}
@media (max-width: 720px) {
  :root { --header-height: 65px; }
  body { padding-bottom: calc(65px + env(safe-area-inset-bottom)); }
  .site-header .brand img { width: 86px; }
  .header-row { flex-wrap: wrap; }
  .header-cta { display: none; }
  .main-nav { gap: 12px 20px; flex-wrap: wrap; padding-block: 7px 12px; }
  .nav-mobile-contact { display: inline; }
  .enhanced .menu-toggle { display: grid; }
  .enhanced .main-nav {
    position: absolute;
    inset: 100% 0 auto;
    display: grid;
    gap: 0;
    padding: 3px var(--gutter) 13px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgb(3 52 80 / 11%);
  }
  .enhanced .main-nav:not(.is-open) { display: none; }
  .enhanced .main-nav a { padding: 12px 2px; border-bottom: 1px solid #e5ebea; font-size: .95rem; }
  .enhanced .main-nav a:last-child { border-bottom: 0; }
  .hero-visual { position: relative; inset: auto; aspect-ratio: 1.49; max-height: 370px; }
  .hero-visual::after { background: linear-gradient(0deg, rgb(4 44 68 / 34%), transparent 24%); }
  .hero-inner { min-height: 0; }
  .hero-copy { padding-block: 28px 36px; }
  .hero h1 { font-size: clamp(2.9rem, 10vw, 4.4rem); margin-top: 16px; }
  .hero-description { margin-top: 17px; }
  .actions { margin-top: 21px; gap: 15px 20px; }
  .summary-grid { padding-block: 19px; }
  .summary-grid > div { padding-inline: 9px; }
  .summary-grid > div:last-child { padding-right: 0; }
  .summary-grid dt { font-size: .61rem; letter-spacing: .06em; }
  .summary-grid dd { font-size: clamp(1.04rem, 4.25vw, 1.55rem); }
  .section { padding-block: 55px; }
  .project-grid, .location-grid, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .project-copy { grid-row: 1; }
  .project-image img { aspect-ratio: 1.5; }
  .section-head { display: block; }
  .section-head > p { margin-top: 13px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-toolbar { margin-block: 23px 16px; }
  .gallery-caption { padding: 10px; }
  .gallery-caption h3 { font-size: .85rem; }
  .gallery-caption span { font-size: .67rem; }
  .zoom-icon { right: 8px; bottom: 8px; width: 29px; height: 29px; }
  .zoom-icon .icon { width: 16px; height: 16px; }
  .map-link { min-height: 0; }
  .map-link img { max-height: 425px; }
  .footer-grid { flex-wrap: wrap; justify-content: flex-start; }
  .footer-grid nav { width: 100%; }
  .mobile-contact {
    position: fixed;
    z-index: 8;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 9px;
    padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom));
    background: var(--paper);
    border-top: 1px solid var(--line);
    box-shadow: 0 -3px 16px rgb(3 52 80 / 9%);
  }
  .mobile-contact .button { min-height: 44px; padding: 8px 6px; }
}
@media (max-width: 400px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .filter-button { padding-inline: 10px; font-size: .79rem; }
  .hero-link { min-height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
