/* ===== ELEMENTOS REUTILIZABLES ===== */
.btn {
    background-color: var(--primary-color);
    color: var(--white) !important;
    border: none;
    padding: 7px 10px;
    cursor: pointer;
    width: 100%;
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
    margin-top: 5px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 200px;
}

.amenities-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.amenities-button:hover {
    background-color: #0d7a6f;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(15, 143, 130, 0.4);
}

.amenities-button-container {
    text-align: center;
    margin-top: 60px;
    padding: 0 20px;
}

.typologies-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 1.1rem;
}

.typologies-button-container {
    text-align: center;
    margin-top: 60px;
    padding: 0 20px;
    background-color: var(--primary-color);
}

.section-main-title {
    font-size: 2.4rem;
    color: #454545;
    margin-bottom: 40px;
    font-weight: 700;
}

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

header:hover {
    background-color: rgba(255, 255, 255, 0.98);
}

.header-left {
    flex: 1;
    display: flex;
    align-items: center;
}

.header-center {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.location-info {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 400;
    color: #454545;
    font-size: 1rem;
}

.logo {
    height: 50px;
    display: flex;
    align-items: center;
}

.logo img {
    height: 100%;
    width: auto;
}

/* ===== NAVEGACIÓN ===== */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 10px;
    align-items: center;
}

.nav-menu li a {
    color: var(--text-dark);
    position: relative;
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    transition: var(--transition);
    padding: 8px 8px;
    white-space: nowrap;
}

.nav-menu li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--yellow-color);
    transition: width 0.3s ease, left 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu li a:hover::after {
    width: 80%;
    left: 50%;
}

.nav-menu .btn {
    background-color: var(--primary-color);
    color: var(--white) !important;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    text-align: center;
    margin: 0;
    width: auto;
    max-width: none;
}

.nav-menu .btn:hover {
    background-color: #0d7a6f;
    transform: translateY(-2px);
}

.nav-menu li a.btn::after {
    display: none;
}

.nav-menu li a.btn:hover::after {
    display: none;
}
/* ===== MENÚ MÓVIL (versión final y estable) ===== */
.menu-toggle {
  position: relative;
  width: 30px;
  height: 22px;
  cursor: pointer;
  display: inline-block;
}

.menu-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--text-dark);
  transition: transform 0.3s ease, top 0.3s ease, opacity 0.2s ease;
  transform-origin: center;
}

/* Posiciones iniciales (hamburguesa perfecta) */
.menu-toggle span:nth-child(1) {
  top: 4px;
}

.menu-toggle span:nth-child(2) {
  top: 10px;
}

.menu-toggle span:nth-child(3) {
  top: 16px;
}

/* Estado activo (cruz perfectamente centrada) */
.menu-toggle.active span:nth-child(1) {
  top: 10px;
  transform: rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  top: 10px;
  transform: rotate(-45deg);
}


.mobile-menu {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav li a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    padding: 12px 20px;
    display: block;
    transition: var(--transition);
	border-bottom: 1px solid rgba(0,0,0,0.1);
}

.mobile-nav li:last-child a {
    color: var(--primary-color); /* o el color que quieras */
    border-bottom: none; /* opcional, si no querés que tenga el borde */
}

.mobile-nav li a:hover {
    background: rgba(74, 110, 224, 0.1);
    color: var(--secondary-color);
}



/* ===== SLIDER PRINCIPAL ===== */
.slider-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 49.947%;
    overflow: hidden;
    margin-top: 80px;
}

.slider {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    width: 300%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    width: 33.333%;
    height: 100%;
    flex-shrink: 0;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 100;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.dot.active {
    background-color: var(--white);
    border-color: var(--white);
    transform: scale(1.2);
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.7);
}

.slogan {
    position: absolute;
    top: 45%;
    left: 6%;
    transform: translateY(-50%);
    color: var(--white);
    z-index: 100;
    max-width: 28%;
    transition: opacity 0.5s ease;
    opacity: 0;
    pointer-events: none;
    font-family: 'Roboto', Tahoma, Geneva, Verdana, sans-serif;
}

.slogan.active {
    opacity: 1;
    pointer-events: all;
}

.slogan h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 2.4rem;
    position: relative;
    padding-bottom: 15px;
}

.slogan h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 5px;
    background-color: #ffcc00;
}

.slogan p {
    font-size: 1.3rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* ===== FORMULARIO ===== */
.form-container {
    position: absolute;
    top: 55%;
    right: 10%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 20px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    z-index: 100;
    width: 380px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.form-container h2 {
    margin-bottom: 20px;
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.4;
}

.form-container strong {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 6px;
}

.form-group label {
    display: block;
    margin-bottom: 4px;
    color: #555;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 4px 6px;
    border: 1px solid #ccc;
    font-size: 14px;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: rgba(255, 255, 255, 0.8);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(74, 110, 224, 0.1);
}

.form-group textarea {
    height: 70px;
    resize: none;
}

.form-row {
    display: flex;
    gap: 10px;
}

.form-row .form-group {
    flex: 1;
}

/* ===== HERO SECTION ===== */
.hero-section {
    color: var(--text-dark);
    padding: 80px 40px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.2rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    margin: 0px;
}

.hero-subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 30px;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.feature i {
    color: var(--secondary-color);
    font-size: 1.3rem;
}

/* ===== AMENITIES GALLERY ===== */
.amenities-gallery {
    background: var(--white);
    text-align: center;
    margin: 40px auto;
    max-width: 1250px;
}

.amenities-gallery h2 {
    color: #0b9a86;
    font-size: 1.9rem;
    margin-bottom: 4px;
}

.amenities-gallery p {
    color: #444;
    margin-bottom: 30px;
    line-height: 2rem;
	font-size: 1.5rem;
    opacity: 0.9;
}

.collage {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-auto-rows: 200px;
    gap: 10px;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding-top: 70px;
}

.collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Posiciones ajustadas para 7 columnas - DESKTOP */
.i1 { grid-column: 1 / 2; grid-row: 2 / 3; }
.i2 { grid-column: 2 / 4; grid-row: 1 / 3; }
.i3 { grid-column: 6 / 7; grid-row: 1 / 2; }

/* Contenedor para i4 con recorte */
.i4-container {
    grid-column: 1 / 4; 
    grid-row: 3 / 4;
    overflow: hidden;
    position: relative;
}

.i4 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-left: 20%;
}

.i6 { grid-column: 6 / 8; grid-row: 2 / 4; }
.i7 { grid-column: 7 / 8; grid-row: 1 / 2; }

/* Foto central del doble de ancho y descolgada sin recortar */
.center-img {
    grid-column: 4 / 6;
    grid-row: 1 / 4;
    height: 90%;
    align-self: start;
    transform: translateY(-10%);
}

.collage .i1:hover  {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}
.collage .i2:hover  {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}
.collage .i3:hover  {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}
.collage .i6:hover  {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}
.collage .i7:hover  {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}
.collage .i4-container:hover  {
    transform: scale(1.05);
}
.collage .center-img:hover  {
    transform: scale(0.95);
    transition: transform 0.3s ease;
    height: 100%;
}

/* ===== ICONS SLIDER ===== */
.icons-slider-section {
    padding: 50px 0;
    overflow: hidden;
    position: relative;
}

.icons-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.icons-container {
    display: flex;
    animation: slideIcons 80s linear infinite;
    gap: 40px;
    padding: 0 20px;
}

.icons-container:hover {
    animation-play-state: paused;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-width: 140px;
    color: var(--text-dark);
    text-align: center;
    flex-shrink: 0;
}

.icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.icon-circle:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.icon-circle i {
    font-size: 28px;
    color: var(--white);
}

.icon-circle img {
    width: 80%;
}

.icon-text {
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.2;
    max-width: 100px;
}

@keyframes slideIcons {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-100px * 20 - 40px * 20)); }
}

/* ===== TIPOLOGÍAS ===== */
.typologies-section {
    padding: 40px;
    background: var(--bg-light);
}

.typologies-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.typologies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.typology-card {
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.typology-image {
    height: 200px;
    overflow: hidden;
}

.typology-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.typology-content {
    padding: 25px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.typology-title {
    margin-bottom: 15px;
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    padding: 14px 20px;
    font-weight: 600;
    font-size: 1.1rem;
    width: 85%;
    transition: var(--transition);
}

.typology-title:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.typology-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 16px;
    font-weight: 400;
    color: var(--text-dark);
}

.typology-icons img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    vertical-align: middle;
}

.typology-features {
    text-align: center;
    margin-top: 40px;
}

.typology-features p {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
}

/* ===== COMPLEJO ===== */
.complex-section {
    padding: 80px 40px;
    background-color: var(--white);
}

.complex-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 40px;
    align-items: start;
}

.complex-map {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(10px);
    align-self: start;
}

.map-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    overflow: hidden;
}

.map-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.complex-logos {
    text-align: center;
}

.complex-logos h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    font-weight: 700;
    color: var(--white);
}

.logos-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
    align-items: center;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    min-width: 220px;
    transition: var(--transition);
}

.logo-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.logo-item img {
    width: 80%;
    max-width: 150px;
    height: auto;
    object-fit: contain;
}

.complex-address {
    margin-bottom: 25px;
    text-align: center;
}

.complex-address p {
    font-size: 1rem;
    margin-bottom: 8px;
    opacity: 0.9;
    line-height: 1.4;
}

.complex-address strong {
    font-size: 1.2rem;
    color: var(--white);
}

.complex-button {
    display: inline-block;
    background: var(--white);
    color: #2a5298;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.complex-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* ===== FOOTER ===== */
.footer-section {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 60px 40px 20px;
    border-top: 1px solid var(--border-light);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo img {
    max-width: 180px;
    height: auto;
    opacity: 0.8;
}

.footer-column h4 {
    color: var(--text-dark);
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.social-links {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin-top: 10px;
}

.social-link {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1.5px solid var(--text-light);
    color: var(--text-light);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background-color: transparent;
    text-decoration: none;
}

.social-link:hover {
    background-color: var(--text-light);
    color: #fff;
    transform: translateY(-2px);
}

.footer-contact-info p,
.footer-legal-links p {
    margin-bottom: 4px;
    line-height: 1.5rem;
}

.footer-contact-info a,
.footer-legal-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-contact-info a:hover,
.footer-legal-links a:hover {
    color: #2a5298;
}

.phone-number {
    font-weight: 600;
    color: #2a5298;
    font-size: 1rem;
    margin-top: 10px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 25px;
    border-top: 1px solid #dee2e6;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* ===== MEDIA QUERIES ===== */

/* ===== HEADER Y MENÚ ===== */
@media (max-width: 1024px) {
    header { padding: 0 30px; }
    .nav-menu { gap: 20px; }
    .nav-menu li a { font-size: 15px; padding: 6px 10px; }
}

@media (max-width: 900px) {
    .nav-menu { gap: 15px; }
    .nav-menu li a { font-size: 14px; padding: 6px 8px; }
}

@media (max-width: 768px) {
    header { height: 70px; padding: 0 20px; }
    .logo { height: 40px; }
    .nav-menu { display: none; }
    .menu-toggle { display: flex; }
    .location-info { font-size: 1rem; }
}

/* ===== SLIDER PRINCIPAL ===== */
@media (max-width: 768px) {
            .slider-container {
                position: relative;
                margin-top: 70px;
                display: flex;
                flex-direction: column;
                min-height: 110vh;
                padding-bottom: 1%;
            }

            .slider {
                position: relative;
                width: 100%;
                height: 300px;
                overflow: hidden;
                order: 2;
            }

            .slide {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                opacity: 0;
                transition: opacity 0.5s ease-in-out;
            }

            /* Asegurar que el primer slide esté visible inicialmente */
            .slide:first-child {
                opacity: 1;
                z-index: 1;
            }

            .slide.active {
                opacity: 1;
                z-index: 1;
            }

            .slide img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                display: block;
            }

            .slider-dots {
                position: relative;
                bottom: auto;
                left: auto;
                transform: none;
                margin: 15px 0;
                justify-content: center;
                order: 3;
            }

            .slogan {
                top: auto;
                left: auto;
                transform: none;
                max-width: 100%;
                width: 100%;
                margin: 0;
                padding: 30px 20px 15px;
                text-align: center;
                order: 1;
                background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.3));
                color: var(--white);
            }

            .slogan.active {
                display: block;
            }

            .slogan:not(.active) {
                display: none;
            }

            /* Asegurar que el primer slogan esté visible inicialmente */
            .slogan:first-child {
                display: block;
            }

            .slogan h1 {
                font-size: 1.8rem;
                line-height: 1.3;
                margin-bottom: 10px;
                color: var(--white);
            }

            .slogan h1::after {
                left: 50%;
                transform: translateX(-50%);
                background-color: var(--yellow-color);
            }

            .slogan p {
                font-size: 1.1rem;
                line-height: 1.4;
                color: var(--white);
            }

            .form-container {
                position: relative;
                top: auto;
                right: auto;
                transform: none;
                width: 100%;
                max-width: 100%;
                margin: 0;
                padding: 25px 20px;
                border-radius: 0;
                box-shadow: none;
                border: none;
                background-color: var(--white);
                order: 4;
            }

    .amenities-gallery {
        padding: 0 10px;
    }
    
    .typologies-button-container {
        margin-top: 0px;
        padding: 0 0px;
    }
    
    .complex-section {
        padding: 40px 10px;
    }
    
    .logos-container {
        display: block;
        margin-bottom: 30px;
        align-items: center;
    }
    
    .complex-map {
        padding: 2px;
    }
}

@media (max-width: 576px) {
    .slider-container {
        margin-top: 60px;
    }

    .slider {
        height: 650px;
    }

    .slogan {
        padding: 20px 15px 10px;
        min-height: 160px;
    }

    .slogan h1 {
        font-size: 1.6rem;
    }

    .slogan p {
        font-size: 1rem;
    }

    .form-container {
        padding: 20px 15px;
    }

    .form-container h2 {
        font-size: 1rem;
        text-align: center;
    }
}

/* ===== HERO SECTION ===== */
@media (max-width: 768px) {
    .hero-section { padding: 60px 20px; }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .hero-features { gap: 20px; }
}

@media (max-width: 576px) {
    .hero-title { font-size: 1.8rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .hero-features { flex-direction: column; align-items: center; }
}


/* ===== AMENITIES GALLERY - MOBILE 2 COLUMNS ===== */
@media (max-width: 768px) {
    .collage { 
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: auto;
        gap: 8px;
        padding-top: 30px;
    }

    /* Reset todas las posiciones anteriores */
    .i1, .i2, .i3, .i4-container, .i6, .i7, .center-img {
        grid-column: auto;
        grid-row: auto;
        margin-left: 0;
        transform: none;
    }

    /* Primera columna */
    .i1 { 
        grid-column: 1 / 2; 
        grid-row: 1 / 2; 
        height: 180px;
    }
    
    .i3 { 
        grid-column: 1 / 2; 
        grid-row: 2 / 3; 
        height: 150px;
    }
    
    .i4-container { 
        grid-column: 1 / 2; 
        grid-row: 3 / 4;
        height: 200px;
    }
    
    .i7 { 
        grid-column: 1 / 2; 
        grid-row: 4 / 5; 
        height: 160px;
    }

    /* Segunda columna - más elevada y subida */
    .i2 { 
        grid-column: 2 / 3; 
        grid-row: 1 / 3;
        height: 340px;
        margin-top: -30px; /* Más elevada */
    }
    
    .i6 { 
        grid-column: 2 / 3; 
        grid-row: 3 / 5;
        height: 370px;
        margin-top: -25px; /* Subir esta foto también */
    }
    
    .center-img { 
        grid-column: 2 / 3; 
        grid-row: 5 / 6; 
        height: 180px;
        margin-top: -20px; /* Subir la última foto */
    }

    /* Asegurar que las imágenes llenen sus contenedores */
    .collage img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .i4 {
        margin-left: 0;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .collage {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }
    
    .i1 { height: 160px; }
    .i3 { height: 130px; }
    .i4-container { height: 180px; }
    .i7 { height: 140px; }
    .i2 { height: 300px; margin-top: -35px; }
    .i6 { height: 330px; margin-top: -35px; }
    .center-img { height: 160px; margin-top: -35px; }
}

/* ===== ICONS SLIDER ===== */
@media (max-width: 768px) {
    .icons-container { gap: 30px; animation-duration: 30s; }
    .icon-item { min-width: 80px; }
    .icon-circle { width: 60px; height: 60px; }
    .icon-circle i { font-size: 22px; }
    .icon-text { font-size: 0.75rem; max-width: 80px; }
}

@media (max-width: 576px) {
    .icons-container { gap: 20px; animation-duration: 80s; }
    .icon-item { min-width: 70px; }
    .icon-circle { width: 50px; height: 50px; }
    .icon-circle i { font-size: 18px; }
    .icon-text { font-size: 0.7rem; max-width: 70px; }
    .icons-slider-section { padding: 10px 0; }
}

/* ===== TIPOLOGÍAS ===== */
@media (max-width: 768px) {
    .typologies-section { padding: 40px 20px; }
    .section-main-title { font-size: 2.5rem; margin-bottom: 20px;}
    .typologies-grid { grid-template-columns: repeat(2, 1fr); gap: 5px; margin-bottom: 30px;}
    .typology-card { height: 250px; }
    .typology-image { height: 150px; }
    .typology-content { padding: 10px 1px; justify-content: flex-start;}
    .typology-title { font-size: 1.1rem; padding: 10px 10px;}
    .typology-icons i { width: 35px; height: 35px; font-size: 1rem; }
}

@media (max-width: 576px) {
    .section-main-title { font-size: 2rem; margin-bottom: 20px;}
    .typology-card { height: auto; padding: 10px 1px; }
    .typology-features p { font-size: 1.1rem; }
}

/* ===== COMPLEJO ===== */
@media (max-width: 1024px) {
    .map-image { height: 350px; }
    .logo-item { min-width: 250px; }
    .complex-container { gap: 30px; }
    .logo-item { min-width: 200px; }
    .complex-logos h2 { font-size: 2rem; }
}

@media (max-width: 768px) {
    .map-image { height: 300px; }
    .logo-item { min-width: 220px; padding: 12px 20px; }
    .logo-item img { width: 80%; height: auto; }
    .logo-item span { font-size: 1.1rem; }
    
    .complex-container { grid-template-columns: 1fr; gap: 30px; }
    .complex-logos h2 { font-size: 1.8rem; margin-bottom: 20px; }
    .amenities-button-container { margin-top: 30px; }
    .amenities-button { padding: 12px 28px; font-size: 1rem; }
}

@media (max-width: 576px) {
    .map-image { height: auto; width: 100%; }
    .logo-item {
        width: 20%;
        float: left;
        padding: 0px 1px;
        min-width: auto;
    }
    .logo-item img { width: 85%; height: auto; }
    .logo-item span { font-size: 1rem; }
    .complex-logos h2 { font-size: 1.6rem; }
    .amenities-button { padding: 10px 25px; font-size: 0.9rem; }
}


/* ===== FOOTER - MOBILE REORGANIZADO ===== */
@media (max-width: 576px) {
    .footer-section { 
        padding: 30px 15px 15px; 
    }
    
    .footer-container { 
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 25px;
        text-align: center;
		margin-bottom: 10px;
    }
    
    /* Primera fila: logos uno al lado del otro */
    .footer-container .footer-column:first-child,
    .footer-container .footer-column:last-child {
        flex: 0 0 45%;
        order: 1;
        margin-bottom: 0;
    }
    
    /* Segunda fila: "Seguinos" al 100% */
    .footer-container .footer-column:nth-child(2) {
        flex: 0 0 100%;
        order: 2;
        margin-bottom: 20px;
    }
    
    /* Tercera fila: "Contacto" y "Legal" en DOS COLUMNAS AL 50% */
    .footer-container .footer-column:nth-child(3),
    .footer-container .footer-column:nth-child(4) {
        flex: 0 0 calc(50% - 12.5px); /* 50% menos la mitad del gap */
        order: 3;
        margin-bottom: 20px;
    }
    
    .footer-column h4 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
	
    .footer-container .footer-column:nth-child(3) h4,
    .footer-container .footer-column:nth-child(4) h4 {
        text-align: left;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 5px;
    }
    
    .footer-contact-info,
    .footer-legal-links {
        text-align: left;
    }

    .footer-contact-info p,
    .footer-legal-links p {
        margin-bottom: 8px;
        font-size: 0.9rem;
    }
	    
    .footer-bottom { 
        font-size: 0.8rem; 
        padding-top: 20px;
    }
    
    .footer-logo img {
        max-width: 130px;
    }
}

/* ===== ELEGÍ TU UNIDAD ===== */
.choose-unit-section {
    padding: 80px 40px;
    background-color: var(--bg-light);
}

.choose-unit-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.unit-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.unit-option {
    overflow: hidden;
    transition: var(--transition);
}

.unit-option:hover {
    transform: translateY(-10px);
}

.unit-image {
    height: 550px;
    overflow: hidden;
}

.unit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.unit-option:hover .unit-image img {
    transform: scale(1.05);
}

.unit-content {
    padding: 25px 20px;
}

.unit-content h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}

.unit-additional-info {
    margin-bottom: 40px;
}

.unit-additional-info p {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 500;
    margin: 0;
}

.choose-unit-button-container {
    text-align: center;
}

/* ===== MEDIA QUERIES PARA ELEGÍ TU UNIDAD ===== */
@media (max-width: 1024px) {
    .unit-options-grid {
        gap: 20px;
    }
    
    .unit-image {
        height: 220px;
    }
    
    .unit-content h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .choose-unit-section {
        padding: 60px 20px;
    }
    
    .unit-options-grid {
        gap: 15px;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .unit-image {
        height: 200px;
    }
    
    .unit-content h3 {
        font-size: 1.3rem;
    }
    
    .unit-additional-info p {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .choose-unit-section {
        padding: 50px 15px;
    }
    
    .unit-options-grid {
        gap: 20px;
    }
    
    .unit-image {
        height: 180px;
    }
    
    .unit-content {
        padding: 20px 15px;
    }
    
    .unit-content h3 {
        font-size: 1.2rem;
    }
    
    .unit-additional-info p {
        font-size: 1rem;
    }
}

/* ===== CARACTERÍSTICAS DE LA UNIDAD - DISEÑO SIMPLE ===== */
.unit-details-section {
    padding: 80px 40px;
    background-color: var(--white);
	text-align: center;
}

.unit-details-section h2 {
    color: #0b9a86;
    font-size: 1.9rem;
    margin-bottom: 4px;
}

.unit-details-section p {
    color: #444;
    margin-bottom: 30px;
    line-height: 2rem;
	font-size: 1.5rem;
    opacity: 0.9;
}

.unit-details-container {
    max-width: 1200px;
    margin: 0 auto;
}

.unit-details-content {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 60px;
    align-items: center;
    margin: 30px 0;
}

.unit-image-side {
    text-align: center;
}

.unit-plan-image {
    width: 100%;
    height: auto;
    max-width: 80%;
}

.unit-text-side {
    padding: 20px;
	text-align: left;
}

.unit-description .intro-text {
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.unit-description .main-text {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 30px;
}

.unit-features h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 20px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    padding: 20px 0;
}

.features-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.feature-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 1.4rem;
    margin-right: 15px;
    flex-shrink: 0;
    border: 1px solid var(--text-light);
}

.feature-text {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 400;
}
.unit-disclaimer {
    margin-top: 30px;
}

.unit-disclaimer p {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    margin: 0;
    line-height: 1.4;
}

/* Medidas centradas */
.unit-measurements {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    padding: 10px;
}

.measurement-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.measurement-label {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 400;
	position: relative;
    padding: 10px 40px;
    white-space: nowrap;
}

.measurement-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.1), transparent);
    border-radius: 2px;
}

.measurement-label:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background-color: rgba(0, 0, 0, 0.1);
}
.measurement-total {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 15px 25px;
    background: var(--primary-color);
    border-radius: 10px;
    color: var(--white);
}

.total-label {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
}

.total-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.unit-actions {
    text-align: center;
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 768px) {
    .unit-details-section {
        padding: 60px 20px;
    }
    
    .unit-details-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .unit-measurements {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .unit-details-section {
        padding: 50px 15px;
    }
    
    .unit-description .intro-text {
        font-size: 1.2rem;
    }
    
    .features-list li {
        font-size: 1rem;
    }
    
    .measurement-value {
        font-size: 1.1rem;
    }
    
    .total-value {
        font-size: 1.3rem;
    }
}

/* ===== FLECHA FLOTANTE - BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(15, 143, 130, 0.3);
    border: 2px solid var(--white);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #0d7a6f;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(15, 143, 130, 0.4);
}

.back-to-top i {
    font-size: 1.2rem;
    font-weight: bold;
}

/* ===== MEDIA QUERIES PARA BACK TO TOP ===== */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .back-to-top i {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
    
    .back-to-top i {
        font-size: 1rem;
    }
}