﻿@media (max-width: 1120px){
  .nav-links{gap:14px;font-size:13px}.nav-social>a:not(.nav-whatsapp){display:none}.split-intro,.story-grid,.product-grid,.contact-panel,.finance-card{grid-template-columns:1fr}.gateway-grid{grid-template-columns:1fr 1fr}.team-grid{grid-template-columns:repeat(2,1fr)}.vertical-photo{min-height:420px}.stacked-photos{min-height:520px}.footer-grid{grid-template-columns:repeat(2,1fr)}
}

@media (max-width: 820px){
  .container{width:min(100% - 28px,1180px)}.section{padding:70px 0}.site-header{background:rgba(200,90,23,.24)}.nav{min-height:60px}.brand img{width:48px;height:48px}.menu-toggle{display:block}.nav-links{position:fixed;right:0;top:60px;transform:translateX(112%);width:min(340px,88vw);height:calc(100vh - 60px);display:flex;flex-direction:column;gap:0;padding:22px;background:rgba(200,90,23,.82);backdrop-filter:blur(18px);box-shadow:-18px 0 40px rgba(0,0,0,.2);transition:transform .3s ease}.nav-links.active{transform:translateX(0)}.nav-links a{padding:15px 0;border-bottom:1px solid rgba(255,255,255,.16)}.nav-social{display:none}
  .hero{align-items:flex-start;min-height:100vh}.hero-overlay{background:linear-gradient(180deg,rgba(52,52,49,.42),rgba(200,90,23,.24),rgba(52,52,49,.62))}.hero-content{padding-top:118px;max-width:360px}.hero-project-logo{width:158px;max-height:54px}.hero h1{font-size:48px}.hero p{font-size:15px;line-height:1.55}.hero-actions{display:grid;grid-template-columns:1fr .78fr;gap:12px;margin-top:22px}.hero-actions .btn{min-height:52px;padding-inline:16px}.hero-actions .btn-whatsapp{grid-column:1 / 2}.hero-arrow{top:auto;bottom:28px;width:48px;height:48px;background:rgba(255,255,255,.2);backdrop-filter:blur(10px)}.hero-arrow-left{left:24px}.hero-arrow-right{right:24px}.hero-dots{left:50%;right:auto;bottom:46px;transform:translateX(-50%)}.scroll-cue{display:none}
  .section-heading h2,.split-intro h2,.story-copy h2,.product-copy h2,.finance-card h2,.office-panel h2,.soon-card h2{font-size:32px}.services-card{grid-template-columns:1fr}.services-card img{min-height:230px}.gateway-grid{grid-template-columns:1fr}.gateway-card,.gateway-card-double img{min-height:330px}.story-grid{gap:22px}.stacked-photos{display:grid;grid-template-columns:1fr;gap:14px;min-height:auto}.stacked-photos img{position:relative!important;inset:auto!important;width:100%;height:280px}.stats-row{grid-template-columns:1fr}.tech-panel.open{grid-template-columns:1fr}.tech-panel img{height:230px}.product-copy{padding:24px}.viewer-360 iframe{height:300px}.viewer-pair{grid-template-columns:1fr}.viewer-pair .viewer-360 iframe{height:260px}.vertical-photo{min-height:360px;max-height:520px}.form-row{grid-template-columns:1fr}.contact-form,.office-panel{padding:24px}.map-box iframe{height:230px}.contact-360 .viewer-360 iframe{height:280px}.team-grid{grid-template-columns:1fr}.soon-card{align-items:flex-start;flex-direction:column}.footer-grid{grid-template-columns:1fr}.modal-gallery{grid-template-columns:1fr}.modal-gallery img{height:220px}
}
@media (max-width: 430px){
  .hero-content{padding-top:106px}.hero h1{font-size:40px}.hero-actions{grid-template-columns:1fr .88fr}.hero-actions .btn{font-size:13px}.btn{padding-inline:17px}.floating-whatsapp{width:56px;height:56px;right:16px;bottom:16px}.floating-whatsapp img{width:34px;height:34px}.gateway-card span{font-size:24px}.services-list{padding:22px}.office-list p{align-items:flex-start}.type-buttons{display:grid;grid-template-columns:1fr}.type-buttons button{width:100%}
}

/* Portada Torre 89 responsive */
@media (max-width: 820px) {
  .hero-content-centered {
    max-width: 360px;
    text-align: left;
    margin-left: 0;
    padding-top: 116px;
  }

  .hero-content-centered .hero-badge {
    font-size: 12px;
    padding: 6px 12px;
  }

  .hero-project-logo-main {
    width: 230px;
    max-height: 72px;
    margin: 10px 0 10px;
    object-position: left center;
  }

  .hero-content-centered h1 {
    font-size: 42px;
  }

  .hero-content-centered p {
    font-size: 15px;
    margin: 0;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 22px 0 22px;
    max-width: 350px;
  }

  .hero-metrics strong {
    font-size: 18px;
  }

  .hero-metrics span {
    font-size: 8px;
    line-height: 1.2;
  }

  .hero-content-centered .hero-actions {
    justify-content: start;
  }
}

@media (max-width: 430px) {
  .hero-content-centered {
    max-width: 360px;
    padding-top: 104px;
  }

  .hero-project-logo-main {
    width: 210px;
  }

  .hero-content-centered h1 {
    font-size: 39px;
  }

  .hero-metrics {
    max-width: 335px;
  }
}

@media (max-width: 560px) {
  .modal-depa-summary,
  .modal-price-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1120px) {
  .split-intro,
  .story-grid,
  .product-grid,
  .contact-panel,
  .finance-card {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* Tablets grandes tipo Redmi Pad 2 Pro */
@media (min-width: 821px) and (max-width: 1180px) {
  .container {
    width: min(100% - 44px, 1060px);
  }

  .hero {
    min-height: 100svh;
    align-items: center;
  }

  .hero-content-centered {
    max-width: 760px;
    padding-top: 112px;
    transform: translateY(18px);
  }

  .hero-content-centered .hero-badge {
    font-size: 15px;
    padding: 11px 24px;
  }

  .hero-project-logo-main {
    width: clamp(300px, 34vw, 410px);
    max-height: 116px;
    margin: 20px auto 18px;
  }

  .hero-content-centered p {
    max-width: 720px;
    font-size: 22px;
    line-height: 1.45;
  }

  .hero-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 760px;
    gap: 14px;
    margin: 28px auto 26px;
  }

  .hero-metrics div {
    min-height: 108px;
    padding: 18px 14px;
  }

  .hero-metrics strong {
    font-size: clamp(26px, 3.1vw, 38px);
  }

  .hero-metrics span {
    font-size: 11px;
  }

  .hero-content-centered .hero-actions {
    justify-content: center;
    gap: 16px;
  }

  .hero-actions .btn {
    min-height: 58px;
    padding-inline: 28px;
    font-size: 16px;
  }

  .hero-working {
    top: 138px;
    right: 34px;
    width: 148px;
  }

  .working-media {
    height: 148px;
  }

  .hero-arrow {
    width: 58px;
    height: 58px;
  }
}

/* Refuerzo naranja responsive */
@media (max-width: 820px) {
  .site-header .nav {
    width: 100%;
    max-width: none;
    padding-left: 14px;
    padding-right: 14px;
  }

  .site-header {
    background: transparent;
    border-bottom: 0;
    box-shadow: none;
  }

  .menu-toggle {
    background: rgba(245, 196, 81, 0.92);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(10px);
  }

  .nav-links {
    background:
      radial-gradient(circle at 8% 0%, rgba(255, 208, 106, 0.22), transparent 28%),
      radial-gradient(circle at 100% 26%, rgba(200, 90, 23, 0.20), transparent 26%),
      linear-gradient(145deg, rgba(63, 63, 60, 0.54), rgba(200, 90, 23, 0.50));
    border-color: rgba(255, 208, 106, 0.18);
  }

  .nav-links .menu-icon,
  .mobile-menu-social a,
  .nav-links .mobile-menu-cta {
    background: rgba(200, 90, 23, 0.18);
    border-color: rgba(255, 208, 106, 0.40);
  }

  .hero-overlay {
    background:
      radial-gradient(circle at 82% 22%, rgba(255, 208, 106, 0.14), transparent 24%),
      radial-gradient(circle at 18% 70%, rgba(200, 90, 23, 0.24), transparent 32%),
      linear-gradient(180deg, rgba(45, 45, 42, 0.34), rgba(200, 90, 23, 0.20), rgba(31, 31, 29, 0.58));
  }
}

/* Menu celular estilo panel Torre 89 */
@media (max-width: 820px) {
  .site-header {
    background:
      radial-gradient(circle at 16% 20%, rgba(255, 208, 106, 0.10), transparent 24%),
      rgba(55, 55, 52, 0.24);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
  }

  .nav {
    min-height: 88px;
  }

  .brand img {
    width: 72px;
    height: 72px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.25));
  }

  .menu-toggle {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25);
  }

  .menu-toggle span {
    width: 30px;
    height: 3px;
    margin: 6px auto;
    background: #172014;
  }

  .nav-links {
    top: 88px;
    right: 0;
    transform: translateX(112%);
    width: min(72vw, 440px);
    height: calc(100vh - 88px);
    padding: 30px 26px 28px;
    gap: 0;
    border-radius: 30px 0 0 30px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    background:
      radial-gradient(circle at 8% 0%, rgba(255, 208, 106, 0.18), transparent 28%),
      radial-gradient(circle at 100% 26%, rgba(255, 255, 255, 0.08), transparent 24%),
      linear-gradient(145deg, rgba(69, 69, 65, 0.66), rgba(200, 90, 23, 0.46));
    box-shadow: -28px 0 75px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(22px);
    overflow-y: auto;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links .mobile-menu-brand {
    display: block;
    padding: 4px 0 22px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(217, 165, 33, 0.58);
  }

  .mobile-menu-brand img {
    width: 230px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 10px;
    filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.38));
  }

  .mobile-menu-brand span,
  .mobile-menu-brand strong {
    display: block;
    color: var(--white);
    font-size: 18px;
    line-height: 1.35;
  }

  .mobile-menu-brand strong {
    color: var(--gold-2);
    font-weight: 700;
  }

  .nav-links > a:not(.mobile-menu-cta) {
    display: grid;
    grid-template-columns: 58px 1fr 18px;
    gap: 16px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--white);
  }

  .nav-links a b {
    display: block;
    font-size: 20px;
    line-height: 1.1;
    font-weight: 800;
  }

  .nav-links a small {
    display: block;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.25;
    font-weight: 400;
  }

  .nav-links .menu-icon {
    display: flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(217, 165, 33, 0.30);
    background: rgba(255, 255, 255, 0.07);
    color: var(--gold-2);
    font-size: 27px;
    line-height: 1;
    box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.05);
  }

  .nav-links .menu-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
  }

  .nav-links em {
    display: block;
    color: var(--gold-2);
    font-size: 34px;
    line-height: 1;
    font-style: normal;
  }

  .nav-links .mobile-menu-cta {
    display: grid;
    grid-template-columns: 58px 1fr 18px;
    gap: 16px;
    align-items: center;
    margin-top: 24px;
    padding: 16px;
    border: 1px solid rgba(217, 165, 33, 0.55);
    border-radius: 18px;
    background: rgba(5, 18, 10, 0.16);
  }

  .mobile-menu-social {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 28px;
  }

  .mobile-menu-social a {
    display: flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    padding: 11px;
    border: 1px solid rgba(217, 165, 33, 0.5);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
  }

  .mobile-menu-social img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

@media (max-width: 820px) {
  .hero-overlay {
    background: linear-gradient(180deg, rgba(45, 45, 42, 0.42), rgba(45, 45, 42, 0.34), rgba(31, 31, 29, 0.64));
  }

  .hero-content-centered {
    padding-top: 92px;
  }

  .hero-project-logo-main {
    width: 210px;
    max-height: 68px;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
    max-width: 310px;
    gap: 10px;
    margin-top: 16px;
    margin-bottom: 16px;
  }

  .visit-counter {
    border-left: 0;
  }

  .hero-actions {
    grid-template-columns: 1fr;
    max-width: 270px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions .btn-whatsapp,
  .btn-register {
    grid-column: auto;
  }

  .hero-working {
    right: 18px;
    top: 105px;
    width: 92px;
  }

  .hero-working span {
    font-size: 9px;
    padding: 5px 8px;
  }

  .working-media {
    border-radius: 18px;
  }

  .music-player {
    width: 158px;
    left: 10px;
    bottom: 74px;
    padding: 8px 9px;
  }

  .music-toggle {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .reels-grid,
  .construction-photos {
    grid-template-columns: 1fr;
  }

  .reel-card,
  .reel-card video {
    min-height: 280px;
  }

  .construction-photos img {
    height: 260px;
  }

  .construction-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .finance-tabs {
    width: 100%;
  }

  .finance-tabs button {
    flex: 1;
    padding-inline: 10px;
  }

  .promo-track img {
    width: 136px;
    height: 82px;
  }

  .product-grid,
  .story-grid,
  .split-intro,
  .contact-panel,
  .finance-card,
  .rewards-card,
  .footer-grid,
  .reels-grid,
  .construction-photos {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 430px) {
  .nav-links {
    width: min(78vw, 360px);
    padding: 26px 22px 24px;
  }

  .nav-links > a:not(.mobile-menu-cta),
  .nav-links .mobile-menu-cta {
    grid-template-columns: 52px 1fr 16px;
    gap: 13px;
  }

  .nav-links .menu-icon {
    width: 52px;
    height: 52px;
    font-size: 24px;
  }

  .nav-links a b {
    font-size: 18px;
  }

  .nav-links a small {
    font-size: 13px;
  }
}

/* Centrar presentacion de portada en celular */
@media (max-width: 820px) {
  .hero-content-centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .hero-project-logo-main {
    margin-left: auto;
    margin-right: auto;
    object-position: center;
  }

  .hero-content-centered p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-content-centered .hero-actions {
    justify-content: center;
  }

  .hero-metrics {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Capa final de correccion movil: evita solapes y desbordes */
@media (max-width: 820px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .container {
    width: min(100% - 24px, 1180px);
  }

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

  .nav {
    min-height: 76px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .brand img {
    width: 60px;
    height: 60px;
  }

  .menu-toggle {
    width: 52px;
    height: 52px;
    border-radius: 15px;
  }

  .menu-toggle span {
    width: 25px;
    height: 2px;
    margin: 5px auto;
  }

  .nav-links {
    top: 76px;
    width: min(82vw, 360px);
    height: calc(100svh - 76px);
    padding: 20px 18px 22px;
    border-radius: 24px 0 0 24px;
    background:
      radial-gradient(circle at 8% 0%, rgba(255, 208, 106, 0.16), transparent 28%),
      radial-gradient(circle at 100% 26%, rgba(255, 255, 255, 0.07), transparent 24%),
      linear-gradient(145deg, rgba(64, 56, 48, 0.90), rgba(165, 83, 34, 0.88));
    box-shadow: -26px 0 80px rgba(0, 0, 0, 0.46);
  }

  body.menu-open .music-player,
  body.menu-open .floating-whatsapp {
    opacity: 0;
    pointer-events: none;
  }

  .mobile-menu-brand {
    padding-bottom: 14px !important;
    margin-bottom: 6px !important;
  }

  .mobile-menu-brand img {
    width: 180px;
    margin-bottom: 6px;
  }

  .mobile-menu-brand span,
  .mobile-menu-brand strong {
    font-size: 14px;
  }

  .nav-links > a:not(.mobile-menu-cta),
  .nav-links .mobile-menu-cta {
    grid-template-columns: 46px minmax(0, 1fr) 14px;
    gap: 12px;
    padding: 12px 0;
  }

  .nav-links .menu-icon {
    width: 46px;
    height: 46px;
    font-size: 21px;
  }

  .nav-links a b {
    font-size: 16px;
  }

  .nav-links a small {
    font-size: 12px;
    margin-top: 3px;
  }

  .nav-links em {
    font-size: 25px;
  }

  .mobile-menu-social {
    gap: 16px;
    margin-top: 16px;
  }

  .mobile-menu-social a {
    width: 40px;
    height: 40px;
    padding: 9px;
  }

  .hero {
    min-height: 100svh;
    align-items: center;
    padding-top: 78px;
    padding-bottom: 82px;
  }

  .hero-content-centered {
    width: min(100%, 350px);
    max-width: 350px;
    padding-top: 0;
    transform: translateY(-8px);
  }

  .hero-content-centered .hero-badge {
    font-size: 11px;
    padding: 6px 12px;
    margin-bottom: 8px;
  }

  .hero-project-logo-main {
    width: min(245px, 76vw);
    max-height: 74px;
    margin: 8px auto 10px;
  }

  .hero-content-centered p {
    max-width: 320px;
    font-size: 14px;
    line-height: 1.45;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 316px);
    max-width: 316px;
    gap: 8px;
    margin: 14px auto 14px;
  }

  .hero-metrics div {
    min-height: 64px;
    padding: 9px 8px;
    border-radius: 16px;
  }

  .hero-metrics strong {
    font-size: 19px;
    line-height: 1;
  }

  .hero-metrics span {
    margin-top: 5px;
    font-size: 8px;
    line-height: 1.15;
  }

  .hero-content-centered .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: min(100%, 316px);
    max-width: 316px;
    gap: 9px;
    margin: 0 auto;
  }

  .hero-actions .btn {
    min-height: 45px;
    padding: 9px 12px;
    font-size: 12px;
    line-height: 1.15;
  }

  .hero-actions .btn-whatsapp {
    grid-column: 1 / -1;
  }

  .hero-actions .btn-call {
    grid-column: 1 / -1;
  }

  .btn-register small {
    font-size: 8px;
  }

  .hero-working {
    top: 84px;
    right: 12px;
    width: 74px;
    gap: 6px;
  }

  .hero-working span {
    font-size: 7px;
    padding: 4px 6px;
    border-radius: 999px;
  }

  .working-media {
    height: 74px;
    border-radius: 14px;
  }

  .hero-arrow {
    bottom: 22px;
    width: 42px;
    height: 42px;
    font-size: 20px;
  }

  .hero-arrow-left {
    left: 16px;
  }

  .hero-arrow-right {
    right: 16px;
  }

  .hero-dots {
    bottom: 38px;
  }

  .music-player {
    width: 136px;
    left: 8px;
    bottom: 76px;
    gap: 7px;
    padding: 7px 8px;
  }

  .music-toggle {
    width: 31px;
    height: 31px;
    flex-basis: 31px;
  }

  .volume-control {
    gap: 5px;
    margin-top: 5px;
  }

  .floating-whatsapp {
    width: 54px;
    height: 54px;
    right: 12px;
    bottom: 76px;
  }

  .floating-whatsapp img {
    width: 32px;
    height: 32px;
  }

  .gateway-card,
  .gateway-card video,
  .gateway-card img {
    min-height: 280px;
  }

  .product-copy,
  .contact-form,
  .office-panel,
  .finance-card,
  .rewards-card,
  .construction-card {
    border-radius: 22px;
    padding: 22px;
  }

  .viewer-360 iframe {
    height: min(62vw, 300px);
  }

  .viewer-pair .viewer-360 iframe {
    height: min(58vw, 260px);
  }

  .progress-carousel {
    min-height: 610px;
  }

  .progress-slide {
    grid-template-columns: 1fr;
    gap: 16px;
    transform: translateY(16px);
  }

  .progress-slide img {
    height: 250px;
  }

  .progress-flow {
    width: 46px;
    height: 46px;
    font-size: 28px;
    margin: -6px auto;
    transform: rotate(90deg);
  }

  @keyframes arrowPulse {
    50% { transform: rotate(90deg) translateX(6px); box-shadow: 0 0 0 9px rgba(245, 196, 81, .13); }
  }

  .progress-prev {
    left: 10px;
  }

  .progress-next {
    right: 10px;
  }

  .viewer-selector {
    display: grid;
    grid-template-columns: 1fr;
  }

  #departamentos .product-grid {
    display: flex;
    flex-direction: column;
  }

  #departamentos .day-night-photo {
    order: 1;
  }

  #departamentos .product-copy {
    order: 2;
  }

  .vertical-photo {
    width: 100%;
    height: auto;
    min-height: 320px;
    max-height: 500px;
    object-fit: cover;
  }

  .rewards-card h2 {
    font-size: 30px;
  }

  .promo-modal-content .modal-depa-summary {
    grid-template-columns: 1fr;
  }

  .promo-track button {
    flex-basis: 132px;
    min-height: 78px;
  }

  .preloader-card {
    padding: 28px 22px;
  }

  .preloader-card img {
    width: 86px;
    height: 86px;
  }
}

@media (min-width: 700px) and (max-width: 820px) {
  .hero-content-centered {
    width: min(100%, 470px);
    max-width: 470px;
  }

  .hero-project-logo-main {
    width: min(310px, 52vw);
    max-height: 92px;
  }

  .hero-content-centered p {
    max-width: 440px;
    font-size: 16px;
  }

  .hero-metrics {
    width: min(100%, 430px);
    max-width: 430px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-metrics strong {
    font-size: 24px;
  }

  .hero-content-centered .hero-actions {
    width: min(100%, 430px);
    max-width: 430px;
  }

  .hero-actions .btn {
    font-size: 14px;
  }

  .hero-working {
    width: 86px;
  }

  .working-media {
    height: 86px;
  }
}

@media (max-width: 380px) {
  .nav-links {
    right: 0 !important;
    width: calc(100vw - 70px);
    max-width: none;
  }

  .nav-links.active {
    transform: translateX(0) !important;
  }

  .hero-content-centered {
    width: min(100%, 328px);
    transform: translateY(-4px);
  }

  .hero-project-logo-main {
    width: min(218px, 72vw);
  }

  .hero-content-centered p {
    font-size: 13px;
  }

  .hero-metrics,
  .hero-content-centered .hero-actions {
    width: min(100%, 292px);
  }

  .hero-metrics div {
    min-height: 58px;
    padding: 8px 6px;
  }

  .hero-metrics strong {
    font-size: 17px;
  }

  .hero-actions .btn {
    min-height: 42px;
    font-size: 11px;
    padding-inline: 9px;
  }

  .hero-working {
    width: 66px;
  }

  .working-media {
    height: 66px;
  }
}

/* Ajustes finales: barra compacta y reproductor vertical sobre WhatsApp */
@media (max-width: 820px) {
  .site-header .nav {
    min-height: 58px !important;
  }

  .site-header {
    background: rgba(200, 90, 23, .24) !important;
  }

  .site-header.scrolled {
    background: rgba(200, 90, 23, .48) !important;
  }

  .brand img {
    width: 50px !important;
    height: 50px !important;
  }

  .menu-toggle {
    width: 42px !important;
    height: 42px !important;
  }

  .music-player {
    left: auto !important;
    right: 12px;
    bottom: 138px;
    width: 50px !important;
    min-height: 50px;
    padding: 7px !important;
    border-radius: 20px;
  }

  .music-controls {
    right: 0;
    bottom: 58px;
    width: 50px;
    min-height: 132px;
    padding: 10px 7px;
    border-radius: 20px;
  }

  .music-toggle {
    width: 34px !important;
    height: 34px !important;
    flex-basis: 34px !important;
  }

  .volume-control {
    height: 108px;
    margin-top: 0 !important;
  }

  .volume-control input {
    width: 82px;
  }

  .floating-whatsapp {
    right: 12px;
    bottom: 76px;
  }

  .social-reels {
    padding: 54px 0;
  }

  .social-reels .section-heading {
    margin-bottom: 18px;
  }

  .reels-grid {
    grid-template-columns: minmax(220px, 330px) !important;
    justify-content: center;
  }

  .reel-card,
  .reel-card video {
    aspect-ratio: 9 / 16;
    height: auto !important;
    max-height: 430px;
    min-height: 0 !important;
  }

  .page-hero {
    min-height: 58vh;
  }

  .page-hero-content {
    padding: 120px 0 54px;
  }

  .section-nav {
    top: 58px;
  }

  .section-nav .container {
    padding: 6px 14px;
    gap: 8px;
  }

  .section-nav a {
    font-size: 13px;
    padding: 7px 10px;
  }

  .sales-layout,
  .institutional-grid {
    grid-template-columns: 1fr;
  }

  .sales-card {
    position: static;
  }

  .sales-card.plan-card .plan-image {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .feature-grid,
  .unit-grid,
  .gallery-grid,
  .office-brand-grid,
  .timeline-grid {
    grid-template-columns: 1fr;
  }

  .office-brand-card {
    min-height: 170px;
    padding: 22px;
  }

  .office-brand-card img {
    max-height: 120px;
  }

  .gallery-grid img,
  .gallery-grid video {
    height: 280px;
  }

  .sales-copy,
  .sales-card,
  .info-panel,
  .quote-panel {
    padding: 24px;
  }
}


/* Responsive pulido home institucional */
@media (max-width: 1024px) {
  .home-intro-grid {
    grid-template-columns: 1fr;
  }

  .intro-mosaic {
    min-height: 520px;
  }

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

  .gateway-grid-wide .gateway-card {
    min-height: 340px;
  }

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

@media (max-width: 720px) {
  .hero-actions .btn-whatsapp,
  .page-actions .btn-whatsapp,
  .sales-card .btn-whatsapp,
  .hero-actions .btn-call,
  .hero-actions .btn-register {
    min-height: 44px;
    padding: 10px 16px;
    font-size: 13px;
  }

  .home-intro {
    padding-top: 68px;
    padding-bottom: 74px;
  }

  .home-intro-copy h2 {
    font-size: 34px;
  }

  .home-intro-copy p {
    font-size: 15px;
  }

  .intro-pills {
    display: grid;
    grid-template-columns: 1fr;
  }

  .intro-mosaic {
    min-height: 430px;
  }

  .intro-mosaic img,
  .intro-mosaic-slide img {
    border-width: 5px;
    border-radius: 20px;
  }

  .intro-mosaic-slide img:nth-child(1) {
    width: 78%;
    height: 260px;
    top: 44px;
  }

  .intro-mosaic-slide img:nth-child(2) {
    width: 52%;
    height: 190px;
  }

  .intro-mosaic-slide img:nth-child(3) {
    width: 58%;
    height: 190px;
    right: 0;
  }

  .home-social .reels-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .home-social .reel-card {
    min-height: 320px;
    border-radius: 20px;
  }

  .btn-facebook {
    width: min(100%, 330px);
  }

  .gateway-grid-wide {
    grid-template-columns: 1fr;
  }

  .gateway-grid-wide .gateway-card {
    min-height: 260px;
  }

  .btn-whatsapp {
    max-width: 100%;
  }

  .detail-photo-grid {
    grid-template-columns: 1fr;
  }

  .detail-photo-grid img,
  .unit-card-expanded img {
    height: 230px;
  }

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

  .mini-contact-form .btn {
    width: 100%;
  }

  .hero-content-centered .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .next-step {
    padding: 22px 0 54px;
  }

  .next-step-btn {
    width: min(100%, 340px);
    min-height: 58px;
    padding: 13px 18px;
    gap: 10px;
  }

  .next-step-btn span {
    font-size: 10px;
  }

  .next-step-btn strong {
    font-size: 15px;
  }

  .edu-box h3 {
    font-size: 16px;
  }

  .edu-box img {
    width: 38px;
    height: 38px;
  }

  .mobile-menu-brand {
    display: grid;
    gap: 6px;
    padding: 0 0 18px;
    color: #fff;
  }

  .mobile-menu-brand img {
    width: 118px;
    height: auto;
    object-fit: contain;
  }

  .mobile-menu-cta,
  .mobile-register {
    display: flex;
    align-items: center;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    gap: 14px;
    line-height: 1.2;
  }

  .nav-links .menu-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.16);
    color: var(--gold-2);
    font-size: 12px;
    font-weight: 900;
  }

  .nav-links .menu-icon img {
    width: 23px;
    height: 23px;
  }

  .nav-links small,
  .nav-links em {
    display: block;
  }

  .nav-links small {
    margin-top: 3px;
    color: rgba(255,255,255,.72);
    font-size: 12px;
  }

  .nav-links em {
    margin-left: auto;
    color: var(--gold-2);
    font-style: normal;
    font-size: 22px;
  }

  .site-header .nav {
    width: min(100% - 24px, 1180px);
    min-height: 68px;
  }

  .site-header .brand img {
    width: 54px;
    height: 54px;
  }

  .site-header .nav-links {
    top: 68px;
    width: min(84vw, 390px);
    height: calc(100vh - 68px);
  }

  .auth-section {
    padding: 112px 0 58px;
  }

  .auth-grid,
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .auth-card-secondary {
    grid-column: auto;
  }

  .auth-copy,
  .auth-card,
  .profile-card {
    padding: 24px;
    border-radius: 22px;
  }
}

@media (max-width: 430px) {
  .home-social .reels-grid {
    grid-template-columns: 1fr;
  }

  .home-social .reel-card {
    min-height: 420px;
  }
}

/* Ajuste final mobile: menu con iconos y menos carga visual */
@media (max-width: 768px) {
  html,
  * {
    scroll-behavior: auto;
  }

  .section,
  .next-step,
  .footer {
    content-visibility: auto;
    contain-intrinsic-size: 1px 720px;
  }

  .site-header,
  .site-header.scrolled,
  .site-header .nav-links {
    backdrop-filter: none !important;
  }

  .site-header .nav-links {
    background: linear-gradient(180deg, rgba(92, 49, 28, .94), rgba(198, 91, 24, .92)) !important;
    box-shadow: -10px 0 24px rgba(31, 31, 29, .18) !important;
    contain: layout paint;
    will-change: transform;
  }

  .nav-links > a:not(.mobile-menu-cta):not(.mobile-register),
  .nav-links .mobile-menu-cta {
    min-height: 62px;
    padding: 11px 12px !important;
    border-radius: 16px;
    background: rgba(255, 247, 233, .1);
    border: 1px solid rgba(255, 247, 233, .14);
  }

  .nav-links .menu-icon,
  .nav-links .menu-icon-svg {
    display: inline-grid;
    place-items: center;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px;
    flex: 0 0 42px;
    border-radius: 14px !important;
    background: rgba(255, 193, 65, .16) !important;
    color: var(--gold) !important;
    box-shadow: none !important;
  }

  .nav-links .menu-icon-svg svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.05;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .shine,
  .shine::after,
  .scroll-cue,
  .gateway-card b,
  .promo-track,
  .promo-copy-track,
  .preloader-glow,
  .water-title::after {
    animation: none !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .sales-copy,
  .sales-card,
  .feature-card,
  .unit-card,
  .contact-form,
  .office-panel,
  .auth-card,
  .auth-copy,
  .profile-card {
    box-shadow: 0 12px 28px rgba(31, 31, 29, .10) !important;
    backdrop-filter: none !important;
  }

  .nav-patriotic {
    min-height: 38px;
    padding: 6px 10px 6px 7px;
    border-radius: 14px;
  }

  .nav-patriotic img {
    width: 34px;
    height: 24px;
  }

  .nav-patriotic span {
    font-size: 12px;
  }

  .torre-concept-layout {
    grid-template-columns: 1fr;
  }

  .torre-quick-360 .viewer-360,
  .torre-quick-360 .viewer-360 iframe {
    min-height: 300px;
  }

  .mixed-carousel-track {
    grid-template-columns: repeat(8, 78vw);
    gap: 12px;
    animation-duration: 22s;
  }

  .mixed-carousel-track img {
    width: 78vw;
    height: 250px;
  }

  .concept-map-wide .mini-map iframe,
  .concept-contact-bottom .viewer-360 iframe,
  .contact-bottom-grid .viewer-360 iframe {
    height: 290px;
    min-height: 290px;
  }

  .torre-detail-cards {
    grid-template-columns: 1fr;
  }

  .detail-image-card img {
    height: 220px;
  }
}

@media (max-width: 520px) {
  .nav-patriotic span {
    display: none;
  }

  .nav-patriotic {
    padding: 6px;
  }
}
