:root {
  --color-base: #001d61;
  --color-base-deep: #051230;
  --color-accent: #0047a3;
  --color-accent-bright: #0260ed;
  --color-paper: #f4f7fb;
  --color-paper-strong: #ffffff;
  --color-ink: #10203d;
  --color-muted: rgba(16, 32, 61, 0.72);
  --color-line-dark: rgba(16, 32, 61, 0.12);
  --shadow-soft: 0 26px 60px rgba(2, 20, 60, 0.22);
  --shadow-card: 0 20px 45px rgba(1, 25, 78, 0.15);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --font-body: "Montserrat", "Segoe UI", sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --container: 1220px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  min-width: 320px;
  font-family: var(--font-body);
  color: var(--color-ink);
  background:
    radial-gradient(circle at top left, rgba(2, 96, 237, 0.16), transparent 24%),
    linear-gradient(180deg, #eef4fc 0%, #f6f9fd 42%, #eef3fb 100%);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

/* ── Text highlights ── */
.section-copy p strong,
.section-heading p strong,
.contact-copy p strong,
.feature-card p strong,
.doc-card p strong,
.location-copy p strong {
  color: var(--color-accent-bright);
  font-weight: 700;
}

.hero-lead strong,
.section-brochures .section-heading p strong {
  color: #fff;
  font-weight: 700;
}

/* ── Amenity row (project section) ── */
.amenity-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.amenity-row span {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border-radius: var(--radius-md);
  background: rgba(2, 96, 237, 0.07);
  border: 1px solid rgba(2, 96, 237, 0.18);
  color: var(--color-accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.amenity-row-label {
  display: block;
  margin-top: 22px;
  margin-bottom: 8px;
  color: var(--color-accent-bright);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.20em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--color-accent-bright);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.section {
  position: relative;
  padding: 112px 0;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.section-copy h2,
.contact-copy h2,
.hero-copy h1,
.hero-panel h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 0.95;
}

.section-heading h2,
.section-copy h2,
.contact-copy h2 {
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  color: var(--color-base-deep);
  margin-bottom: 20px;
}

.section-heading p,
.section-copy p,
.contact-copy p,
.feature-card p,
.doc-card p,
.step-card p {
  color: var(--color-muted);
}

.section-heading p:last-child,
.section-copy p:last-child,
.contact-copy p:last-child {
  max-width: 62ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    background-color 0.28s ease,
    border-color 0.28s ease,
    color 0.28s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-3px);
}

.btn:focus-visible {
  outline: 2px solid rgba(2, 96, 237, 0.34);
  outline-offset: 4px;
}

.btn-primary {
  color: var(--color-paper-strong);
  background: linear-gradient(135deg, var(--color-accent-bright), var(--color-accent));
  box-shadow: 0 16px 34px rgba(2, 96, 237, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 20px 40px rgba(2, 96, 237, 0.34);
}

.btn-secondary {
  color: var(--color-paper-strong);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.btn-small {
  min-height: 48px;
  padding: 0 20px;
}

.btn-block {
  width: 100%;
  margin-top: 24px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  padding: 18px 0;
  transition:
    padding 0.28s ease,
    background-color 0.28s ease,
    box-shadow 0.28s ease;
}

.site-header.is-scrolled {
  padding: 10px 0;
  background: rgba(5, 18, 48, 0.84);
  box-shadow: 0 12px 30px rgba(3, 11, 33, 0.24);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: auto;
  padding: 0;
}

.brand-mark img {
  width: auto;
  height: 42px;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  color: var(--color-paper-strong);
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-copy span {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.76;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.24s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  transform: scaleX(0);
  background: rgba(255, 255, 255, 0.92);
  transition: transform 0.24s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.is-active {
  color: #fff;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.main-nav .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--color-paper-strong);
  background: rgba(2, 96, 237, 0.88);
  box-shadow: 0 14px 30px rgba(2, 96, 237, 0.22);
}

.main-nav .nav-cta::after {
  display: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-paper-strong);
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  transition: transform 0.28s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 164px 0 96px;
  overflow: clip;
  background: linear-gradient(140deg, #031238 0%, #001d61 52%, #062971 100%);
  color: var(--color-paper-strong);
}

.hero-media,
.hero-overlay,
.hero-pattern {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image:
    linear-gradient(90deg, rgba(3, 13, 36, 0.94) 0%, rgba(3, 13, 36, 0.76) 30%, rgba(3, 13, 36, 0.38) 54%, rgba(3, 13, 36, 0.18) 70%, rgba(3, 13, 36, 0.44) 100%),
    url("assets/images/render-edificio.png");
  background-position:
    center center,
    center center;
  background-repeat: no-repeat, no-repeat;
  background-size:
    auto,
    cover;
  animation: heroScale 9s ease-out forwards;
}

.hero-overlay {
  background:
    radial-gradient(circle at 16% 18%, rgba(2, 96, 237, 0.3), transparent 24%),
    linear-gradient(180deg, rgba(2, 10, 28, 0.06), rgba(2, 10, 28, 0.24));
}

.hero-pattern {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.75), transparent 78%);
}

@keyframes heroScale {
  from { transform: scale(1.06); }
  to   { transform: scale(1.0); }
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
}

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

.hero-copy h1 {
  max-width: 9ch;
  font-size: clamp(4rem, 10vw, 7.4rem);
  line-height: 0.86;
  text-shadow: 0 14px 34px rgba(3, 11, 33, 0.3);
}

.hero-lead {
  max-width: 58ch;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
  text-shadow: 0 8px 22px rgba(3, 11, 33, 0.24);
}

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

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
  list-style: none;
}

.hero-highlights li {
  padding: 20px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-highlights strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.7rem;
  font-family: var(--font-display);
  line-height: 1;
  color: #fff;
}

.hero-highlights span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.86rem;
}

.hero-panel {
  justify-self: end;
  max-width: 420px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.panel-kicker {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-panel h2 {
  margin-top: 12px;
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  line-height: 0.94;
}

.panel-list {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.panel-list div {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.panel-list span {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.panel-list strong {
  font-size: 1rem;
  line-height: 1.4;
}

.panel-note {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.93rem;
}

.section-project {
  background:
    radial-gradient(circle at right top, rgba(2, 96, 237, 0.09), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0));
}

.project-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.92fr);
  gap: 38px;
  align-items: center;
}

.section-copy p + p {
  margin-top: 16px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.pill-row span {
  padding: 10px 14px;
  border: 1px solid rgba(0, 71, 163, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--color-base);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visual-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--color-paper-strong);
  box-shadow: var(--shadow-card);
}

.visual-card img {
  aspect-ratio: 1.15;
  width: 100%;
  object-fit: cover;
}

.visual-caption {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 24px 24px;
}

.visual-caption span {
  color: var(--color-accent-bright);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.visual-caption strong {
  font-size: 1.15rem;
  line-height: 1.35;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.feature-card {
  padding: 28px;
  border: 1px solid rgba(0, 29, 97, 0.08);
  border-top: 3px solid var(--color-accent-bright);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-card);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

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

.feature-index {
  color: var(--color-accent-bright);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.feature-card h3,
.doc-card h3 {
  margin: 14px 0 12px;
  color: var(--color-base-deep);
  font-size: 1.32rem;
  line-height: 1.24;
}

.section-gallery {
  background: linear-gradient(180deg, #0a1d4d 0%, #07173e 100%);
  color: var(--color-paper-strong);
}

.section-gallery .section-heading h2 {
  color: var(--color-paper-strong);
}

.section-gallery .section-heading p {
  color: rgba(255, 255, 255, 0.76);
}

.section-gallery .eyebrow {
  color: rgba(255, 255, 255, 0.60);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  grid-column: span 4;
  min-height: 300px;
  border-radius: var(--radius-lg);
  background: var(--color-base-deep);
  box-shadow: var(--shadow-card);
  cursor: zoom-in;
}

.gallery-item-large {
  grid-column: span 8;
  min-height: 420px;
}

.gallery-item-tall {
  min-height: 420px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.48s ease, filter 0.48s ease;
}

.gallery-item::before {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transform: scale(0.78);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.gallery-item:hover::before,
.gallery-item:focus-within::before {
  opacity: 1;
  transform: scale(1);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 18, 48, 0.02), rgba(5, 18, 48, 0.54));
}

.gallery-item figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-item:hover img,
.gallery-item:focus-within img {
  transform: scale(1.05);
  filter: saturate(1.04);
}

.gallery-item:focus-visible {
  outline: 3px solid rgba(2, 96, 237, 0.52);
  outline-offset: 4px;
}

.section-brochures {
  background: linear-gradient(180deg, #0a1d4d 0%, #07173e 100%);
  color: var(--color-paper-strong);
}

.section-brochures .section-heading h2,
.section-brochures .section-heading p {
  color: inherit;
}

.section-brochures .section-heading p {
  color: rgba(255, 255, 255, 0.76);
}

.brochures-shell {
  display: grid;
  gap: 32px;
}

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

.doc-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05)),
    linear-gradient(135deg, rgba(2, 96, 237, 0.18), transparent 50%);
}

.doc-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.doc-desc-short { display: none; }

.doc-tag {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.doc-card h3,
.doc-card p {
  color: inherit;
}

.doc-card p {
  color: rgba(255, 255, 255, 0.76);
}

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

.step-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-accent-bright);
  color: var(--color-paper-strong);
  font-size: 0.94rem;
  font-weight: 800;
}

.step-card p {
  color: rgba(255, 255, 255, 0.8);
}

/* ── Gallery: plan variant ── */
.gallery-item-plan {
  background: #f0f3f7;
}

.gallery-item-plan img {
  object-fit: contain;
  padding: 12px;
  background: #f0f3f7;
}

/* ── Obras realizadas ── */
.section-obras {
  background: linear-gradient(180deg, #f3f7fd 0%, #eaeff8 100%);
}

.obras-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.obra-card {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: transform 0.26s ease, box-shadow 0.26s ease;
}

.obra-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(4, 18, 50, 0.14);
}

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

.obra-card figcaption {
  padding: 10px 14px 12px;
  font-size: 0.80rem;
  font-weight: 600;
  color: var(--color-navy);
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.obra-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--color-accent);
  color: #fff;
  padding: 2px 7px;
  border-radius: 20px;
}

.obra-card--highlight {
  border: 2px solid var(--color-accent);
}

@media (max-width: 1100px) {
  .obras-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .obras-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* ── Location section ── */
.section-location {
  background:
    radial-gradient(circle at left bottom, rgba(2, 96, 237, 0.08), transparent 28%),
    linear-gradient(180deg, #eef4fb 0%, #f3f7fd 100%);
}

.location-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 48px;
  align-items: center;
}

.location-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 30px;
  list-style: none;
}

.location-tags li {
  padding: 8px 14px;
  border: 1px solid rgba(0, 71, 163, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--color-base);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.location-map {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.location-map-link {
  display: block;
  position: relative;
  text-decoration: none;
}

.location-map-link img {
  width: 100%;
  display: block;
  transition: transform 0.48s ease;
}

.location-map-link:hover img {
  transform: scale(1.02);
}

.location-map-cta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 22px 20px;
  background: linear-gradient(transparent, rgba(3, 13, 52, 0.72));
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: right;
}

/* ── Amenities strip (brochures section) ── */
.amenities-strip {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.amenities-strip-label {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.60);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.amenity-item {
  padding: 20px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  text-align: center;
}

.amenity-item strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  line-height: 1;
}

.amenity-item span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-contact {
  background:
    radial-gradient(circle at right bottom, rgba(2, 96, 237, 0.12), transparent 25%),
    linear-gradient(180deg, #f3f7fd 0%, #eef4fb 100%);
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.9fr);
  gap: 26px;
  align-items: stretch;
}

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

.section-contact .btn-secondary {
  color: var(--color-base);
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(0, 29, 97, 0.14);
}

.section-contact .btn-secondary:hover,
.section-contact .btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 1);
}

.contact-panel {
  display: grid;
  gap: 16px;
  align-content: start;
}

.contact-card,
.branch-list {
  padding: 26px 28px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-card);
}

.contact-card a {
  color: var(--color-base-deep);
  font-size: 1.08rem;
  font-weight: 700;
}

.contact-label {
  display: block;
  margin-bottom: 10px;
  color: var(--color-accent-bright);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.branch-list {
  display: grid;
  gap: 16px;
}

.branch-list div {
  padding-top: 16px;
  border-top: 1px solid var(--color-line-dark);
}

.branch-list div:first-child {
  padding-top: 0;
  border-top: 0;
}

.branch-list span {
  display: block;
  margin-bottom: 6px;
  color: var(--color-accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.branch-list strong {
  color: var(--color-base-deep);
  font-size: 0.98rem;
  line-height: 1.45;
}

.site-footer {
  padding: 34px 0 42px;
  background:
    linear-gradient(rgba(4, 18, 50, 0.88), rgba(4, 18, 50, 0.88)),
    url("assets/images/render-edificio.png") right center / cover no-repeat;
  background-color: #041232;
  color: rgba(255, 255, 255, 0.78);
}

.footer-shell {
  display: grid;
  gap: 20px;
}

.footer-brand {
  display: grid;
  gap: 14px;
  max-width: 580px;
}

.footer-brand img {
  width: auto;
  height: 66px;
  object-fit: contain;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-note,
.footer-copy {
  font-size: 0.88rem;
}

.footer-credit {
  color: inherit;
  opacity: 0.7;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-credit:hover {
  opacity: 1;
  text-decoration: underline;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  padding: 32px;
  background: rgba(2, 8, 22, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-inner {
  max-width: min(1100px, calc(100vw - 180px));
  margin: 0 auto;
  text-align: center;
}

.lightbox-inner img {
  max-height: 78vh;
  margin: 0 auto;
  border-radius: 20px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.36);
}

.lightbox-inner p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.9rem;
}

.lightbox-close,
.lightbox-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-paper-strong);
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 1.6rem;
}

.lightbox-nav {
  font-size: 1.8rem;
}

.lightbox-nav.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .project-grid,
  .location-shell,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-item-large,
  .gallery-item-tall {
    grid-column: span 6;
  }
}

@media (max-width: 920px) {
  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    inset: 88px 20px auto;
    display: grid;
    gap: 14px;
    padding: 24px;
    border-radius: 28px;
    background: rgba(5, 18, 48, 0.96);
    box-shadow: 0 22px 48px rgba(3, 11, 33, 0.34);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition:
      opacity 0.24s ease,
      visibility 0.24s ease,
      transform 0.24s ease;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav .nav-cta {
    margin-top: 4px;
    justify-content: center;
  }

  .hero {
    padding-top: 144px;
  }

  .hero-media {
    background-image:
      linear-gradient(180deg,
        rgba(3, 13, 36, 0.94) 0%,
        rgba(3, 13, 36, 0.80) 20%,
        rgba(3, 13, 36, 0.55) 45%,
        rgba(3, 13, 36, 0.28) 68%,
        rgba(3, 13, 36, 0.14) 100%
      ),
      url("assets/images/render-edificio-mobile.png");
    background-position: center center, center center;
    background-size: auto, cover;
  }

  .hero-highlights,
  .docs-grid,
  .amenities-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 720px) {
  html {
    scroll-padding-top: 78px;
  }

  .section {
    padding: 72px 0;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-header {
    padding: 14px 0;
  }

  .brand {
    gap: 12px;
  }

  .brand-copy {
    display: none;
  }

  .brand-mark {
    min-width: auto;
  }

  .brand-mark img {
    height: 34px;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(3rem, 17vw, 4.8rem);
  }

  .hero-panel,
  .doc-card,
  .contact-card,
  .branch-list {
    padding: 22px;
  }

  .doc-desc-full { display: none; }
  .doc-desc-short { display: inline; }
  .doc-tag { display: none; }

  .feature-card {
    display: grid;
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
    gap: 0 14px;
    padding: 20px 22px;
  }

  .feature-index {
    grid-column: 1;
    grid-row: 1 / 3;
    font-size: 1.8rem;
    font-family: var(--font-display);
    color: rgba(2, 96, 237, 0.15);
    letter-spacing: 0;
    line-height: 1.1;
    padding-top: 2px;
    overflow: hidden;
  }

  .feature-card h3 {
    grid-column: 2;
    grid-row: 1;
    font-size: 1.08rem;
    margin-bottom: 6px;
    margin-top: 0;
  }

  .feature-card p {
    grid-column: 2;
    grid-row: 2;
    font-size: 0.86rem;
  }

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

  .gallery-item,
  .gallery-item-large,
  .gallery-item-tall {
    grid-column: auto;
    min-height: 260px;
  }

  .lightbox {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px 14px 24px;
  }

  .lightbox-inner {
    max-width: 100%;
  }

  .lightbox-nav {
    position: static;
    margin: 0 auto;
  }

  .lightbox-inner img {
    max-height: 68vh;
  }
}
