main { background: var(--paper); }
.hero { position: relative; display: flex; justify-content: center; overflow: hidden; background: var(--navy); }
.hero__desktop { width: 100%; height: auto; aspect-ratio: 4784 / 2160; object-fit: contain; }
.slogan { height: 255px; overflow: hidden; background: var(--navy); color: #fff; }
.slogan__inner { position: relative; width: min(calc(100% - 48px), var(--content-width)); height: 100%; margin: auto; display: flex; align-items: center; gap: clamp(32px, 6vw, 96px); }
.slogan__image { width: min(48%, 560px); height: 211px; flex: none; object-fit: cover; object-position: center 60%; border-radius: 0; }
.slogan h1 { width: 470px; font-size: max(13px, calc(40px * var(--content-text-scale, 1))); line-height: 1.16; font-style: italic; font-weight: 400; letter-spacing: -.015em; }
.slogan strong { color: var(--gold); font-weight: 700; }
.slogan__ornament { position: absolute; width: 217px; height: 226px; right: calc((100% - 100vw) / 2); bottom: 0; object-fit: fill; opacity: 1; pointer-events: none; }
.vision { padding: 66px 0 80px; }
.vision__inner { width: min(calc(100% - 48px), var(--content-width)); margin: auto; display: grid; grid-template-columns: 717px 1fr; gap: 24px; align-items: start; }
.vision__image, .vision__image img { width: 717px; height: 483px; border-radius: 0; }
.vision__image img { object-fit: cover; }
.vision__copy { padding-top: 43px; }
.vision h2 { max-width: 470px; color: var(--navy); font-size: max(13px, calc(43px * var(--content-text-scale, 1))); font-style: italic; font-weight: 400; line-height: 1.13; letter-spacing: -.015em; margin-bottom: 22px; }
.vision h2 strong { font-weight: 700; }
.vision p { max-width: 471px; font-size: max(13px, calc(18px * var(--content-text-scale, 1))); line-height: 1.43; letter-spacing: 0; }
.vision p + p { margin-top: 22px; }
.projects { overflow: hidden; padding-bottom: 64px; }
.projects h2 { color: var(--navy); font-size: max(13px, calc(43px * var(--content-text-scale, 1))); line-height: 52px; font-weight: 400; font-style: italic; letter-spacing: -.015em; text-align: center; margin-bottom: 32px; }
.projects h2 strong { font-weight: 700; }
.projects__viewport { width: min(calc(100% - 48px), 1320px); margin: auto; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); }
.projects__track { display: flex; width: max-content; gap: 26px; padding: 8px 0; animation: project-loop 33s linear infinite; }
.projects__viewport:focus-within .projects__track { animation-play-state: paused; }
@keyframes project-loop { to { transform: translateX(calc(-1 * var(--loop-distance, 2958px))); } }
.project-card { position: relative; display: block; flex: 0 0 360px; width: 360px; height: 300px; overflow: hidden; border: 1px solid #12214710; border-radius: 18px; background: #fff; box-shadow: 0 8px 24px #12214712; }
.project-card:hover { box-shadow: 0 14px 28px #12214724; }
.project-card > picture:not(.project-card__arrow), .project-card > picture:not(.project-card__arrow) img { display: block; width: 100%; height: 197px; }
.project-card > picture:not(.project-card__arrow) img { object-fit: cover; }
.project-card__info { display: block; height: 103px; padding: 14px 18px; }
.project-card__location { display: block; font-size: max(13px, calc(15px * var(--content-text-scale, 1))); line-height: 1.3; }
.project-card__name { display: block; margin-top: 4px; color: var(--navy); font-size: max(13px, calc(30px * var(--content-text-scale, 1))); line-height: 1.14; font-style: italic; letter-spacing: -.01em; }
.project-card__arrow { position: absolute; right: 18px; bottom: 32px; display: grid; width: 52px; height: 48px; place-items: center; border-radius: 50%; background: #617962; color: #fff; font-size: 32px; }
.project-card__arrow::before { width: 32px; height: 32px; transform: rotate(45deg); }
.project-card--torre-ganges .project-card__arrow { background: #ff9a73; }
.project-card__badge { position: absolute; top: 14px; right: 14px; padding: 7px 13px; border-radius: 20px; background: #ca2876; color: #fff; font-size: max(13px, calc(14px * var(--content-text-scale, 1))); font-weight: 700; }
.project-card__badge--torre-danubio { background: #e0dacb; color: var(--navy); }
.project-card__badge--torre-felix-cuevas { background: #a7a49b; }
.project-card__badge--torre-guadalupe { background: #d4c7c9; }
.locations { position: relative; min-height: 755px; padding: 92px 24px 58px; background: linear-gradient(to bottom, var(--navy) 0 550px, var(--paper) 550px); color: #fff; }
.locations h2 { font-size: max(13px, calc(43px * var(--content-text-scale, 1))); line-height: 54px; font-style: italic; font-weight: 400; text-align: center; letter-spacing: -.015em; }
.locations h2 strong { font-weight: 700; }
.locations__carousel { position: relative; width: min(100%, 1360px); margin: 37px auto 0; }
.locations__viewport { position: relative; width: 100%; aspect-ratio: 3031 / 1083; overflow: hidden; background: var(--navy); }
.locations__image { display: block; width: 100%; height: 100%; object-fit: contain; }
.locations__toolbar { position: relative; width: min(100%, 1360px); min-height: 43px; margin: 16px auto 0; display: flex; align-items: center; justify-content: center; }
.locations__control { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; display: grid; width: 42px; height: 42px; padding: 0; place-items: center; border: 1px solid #d9dee6; border-radius: 50%; background: #fff; color: var(--navy); box-shadow: 0 4px 14px #12214733; }
.locations__control:hover { background: var(--gold); }
.locations__control--previous { left: 12px; }
.locations__control--next { right: 12px; }
.locations__control .ri-icon { font-size: 26px; }
.locations__toolbar .locations__control--mobile { display: none; }
.locations__pagination { display: flex; justify-content: center; gap: 8px; }
.locations__page { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #8e9ab4; }
.locations__page.is-active { width: 26px; border-radius: 10px; background: var(--navy); }
.journal { padding: 121px 0 80px; }
.journal__inner { width: min(calc(100% - 48px), 1224px); margin: auto; display: grid; grid-template-columns: 779px 1fr; gap: 28px; align-items: start; }
.journal__image, .journal__image img { width: 779px; height: 371px; border-radius: 0; }
.journal__image img { object-fit: cover; }
.journal__copy { padding-top: 24px; }
.journal h2 { max-width: 430px; color: var(--navy); font-size: max(13px, calc(43px * var(--content-text-scale, 1))); font-weight: 400; font-style: italic; line-height: 1.12; letter-spacing: -.015em; }
.journal h2 strong { font-weight: 700; }
.journal p { max-width: 430px; margin-top: 22px; font-size: max(13px, calc(18px * var(--content-text-scale, 1))); line-height: 1.43; letter-spacing: 0; }
.journal a { display: inline-block; margin-top: 22px; color: var(--navy); font-size: max(13px, calc(27px * var(--content-text-scale, 1))); font-style: italic; letter-spacing: -.01em; }
.journal a:hover { text-decoration: underline; text-underline-offset: 5px; }
@media (prefers-reduced-motion: reduce) {
  .projects__track { animation: none; }
}
@media (max-width: 1200px) {
  .hero { display: flex; height: auto; }
  .hero__desktop { display: block; }
  .slogan { height: 132px; }
  .slogan__inner { justify-content: center; padding: 0 20px; }
  .slogan__image, .slogan__ornament { display: none; }
  .slogan h1 { width: min(100%, 315px); margin: 0; text-align: center; font-size: max(13px, calc(25px * var(--content-text-scale, 1))); line-height: 1.24; letter-spacing: -.01em; }
  .vision { min-height: 643px; padding: 40px 20px; }
  .vision__inner { width: min(100%, 700px); display: flex; flex-direction: column; gap: 20px; }
  .vision__image, .vision__image img { width: 100%; height: 240px; border-radius: 0; }
  .vision__image img { object-fit: cover; }
  .vision__copy { padding: 0; }
  .vision h2 { max-width: 305px; margin: 0 0 20px; font-size: max(13px, calc(29px * var(--content-text-scale, 1))); line-height: 1.2; letter-spacing: -.01em; }
  .vision h2 strong { font-style: normal; }
  .vision p { max-width: 350px; font-size: max(13px, calc(15px * var(--content-text-scale, 1))); line-height: 1.5; letter-spacing: 0; }
  .vision p + p { margin-top: 20px; }
  .projects { padding: 36px 20px; }
  .projects h2 { font-size: max(13px, calc(29px * var(--content-text-scale, 1))); line-height: 36px; margin: 0 0 22px; }
  .locations { min-height: 0; padding: 40px 16px 36px; background: linear-gradient(to bottom, var(--navy) 0 78%, var(--paper) 78%); }
  .locations h2 { font-size: max(13px, calc(23px * var(--content-text-scale, 1))); line-height: 34px; }
  .locations__carousel { margin-top: 24px; }
  .locations__toolbar { min-height: 47px; margin-top: 13px; }
  .locations__control { width: 34px; height: 34px; }
  .locations__control--previous { left: 8px; }
  .locations__control--next { right: 8px; }
  .locations__control .ri-icon { font-size: 22px; }
  .locations__pagination { margin-left: 4px; }
  .journal { padding: 40px 20px; }
  .journal__inner { display: flex; width: min(100%, 700px); flex-direction: column; gap: 20px; }
  .journal__image, .journal__image img { width: 100%; height: 200px; border-radius: 0; }
  .journal__image img { object-fit: cover; }
  .journal__copy { padding: 0; }
  .journal h2 { max-width: 350px; font-size: max(13px, calc(29px * var(--content-text-scale, 1))); line-height: 1.12; }
  .journal p { max-width: 350px; margin-top: 20px; font-size: max(13px, calc(15px * var(--content-text-scale, 1))); line-height: 1.52; }
  .journal a { display: flex; height: 64px; align-items: center; margin-top: 20px; font-size: max(13px, calc(24px * var(--content-text-scale, 1))); }
}
@media (min-width: 768px) and (max-width: 1200px) {
  .slogan { height: 190px; }
  .slogan__inner { justify-content: flex-start; gap: 28px; }
  .slogan__image { display: block; width: 42%; height: 146px; }
  .slogan h1 { width: min(54%, 420px); text-align: left; font-size: max(13px, calc(clamp(27px, 3.2vw, 37px) * var(--content-text-scale, 1))); }
  .vision { min-height: 0; padding: 64px 24px; }
  .vision__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 30px; width: min(100%, 1050px); }
  .vision__image, .vision__image img { height: clamp(320px, 42vw, 440px); }
  .vision h2 { max-width: none; font-size: max(13px, calc(clamp(30px, 3.4vw, 39px) * var(--content-text-scale, 1))); }
  .vision p { max-width: none; font-size: max(13px, calc(16px * var(--content-text-scale, 1))); }
  .projects { padding: 52px 24px; }
  .projects h2 { font-size: max(13px, calc(35px * var(--content-text-scale, 1))); line-height: 1.2; }
  .locations { min-height: 0; padding: 56px 24px 55px; background: linear-gradient(to bottom, var(--navy) 0 78%, var(--paper) 78%); }
  .locations h2 { font-size: max(13px, calc(34px * var(--content-text-scale, 1))); line-height: 1.2; }
  .locations__carousel { height: auto; }
  .journal { padding: 62px 24px 70px; }
  .journal__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 30px; width: min(100%, 1050px); }
  .journal__image, .journal__image img { height: clamp(280px, 36vw, 370px); }
  .journal h2 { max-width: none; font-size: max(13px, calc(clamp(30px, 3.4vw, 39px) * var(--content-text-scale, 1))); }
  .journal p { max-width: none; font-size: max(13px, calc(16px * var(--content-text-scale, 1))); }
}
@media (max-width: 600px) {
  .hero { height: clamp(210px, 56vw, 260px); }
  .hero__desktop { height: 100%; aspect-ratio: auto; object-fit: cover; object-position: center; }
  .locations { min-height: 0; padding: 43px 14px 55px; background: linear-gradient(to bottom, var(--navy) 0 64%, var(--paper) 64%); }
  .locations__carousel { width: min(100%, 480px); height: auto; margin-top: 24px; }
  .locations__viewport { display: block; height: auto; }
  .locations__image { height: auto; }
  .locations__carousel > .locations__control { display: none; }
  .locations__toolbar { width: min(100%, 480px); min-height: 46px; margin-top: 14px; gap: 6px; }
  .locations__toolbar .locations__control--mobile { position: static; display: grid; flex: none; width: 42px; height: 42px; transform: none; box-shadow: 0 3px 10px #12214722; }
  .locations__pagination { flex: 1; justify-content: center; width: auto; min-width: 0; gap: 2px; margin: 0; }
  .locations__page, .locations__page.is-active { display: grid; flex: 1 1 0; min-width: 0; max-width: 34px; height: 42px; padding: 0; place-items: center; border: 0; border-radius: 0; background: transparent; }
  .locations__page::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #8e9ab4; }
  .locations__page.is-active::before { width: 26px; border-radius: 10px; background: var(--navy); }
}
@media (max-width: 767px) {
  .vision { min-height: 0; }
  .projects__viewport { width: min(100%, 700px); overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .projects__track { width: 100%; flex-direction: column; gap: 14px; padding: 0; animation: none; }
  .project-card { width: 100%; height: 235px; flex: 0 0 235px; }
  .project-card[data-clone] { display: none; }
  .project-card > picture:not(.project-card__arrow), .project-card > picture:not(.project-card__arrow) img { height: 162px; }
  .project-card__info { height: 73px; padding: 12px 16px; }
  .project-card__location { font-size: max(13px, calc(14px * var(--content-text-scale, 1))); line-height: 17px; }
  .project-card__name { margin-top: 3px; font-size: max(13px, calc(21px * var(--content-text-scale, 1))); line-height: 25px; }
  .project-card__arrow { right: 16px; bottom: 15px; width: 38px; height: 38px; }
  .project-card__arrow::before { width: 26px; height: 26px; }
  .project-card__badge { top: 12px; right: 12px; padding: 6px 14px; font-size: 12px; line-height: 14px; }
}

/* El precio forma parte de la imagen: conservarlo completo en el carrusel. */
.project-card--torre-ganges > picture:not(.project-card__arrow) img { object-fit: contain; }
