body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

header {
    background-color: azure;
    padding: 14px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
    min-height: 60px;
}

.logo {
    width: 100px;
    margin: 0;
    flex: 0 0 auto;
}

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

.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: 0;
}

.nav-left {
    justify-content: flex-start;
}

.nav-right {
    justify-content: flex-end;
}

.nav-left ul,
.nav-right ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.nav-left a,
.nav-right a {
    color: #4a5866;
    text-decoration: none;
    padding: 8px 10px;
}

@media (max-width: 768px) {
    header {
        padding: 15px 20px;
        justify-content: space-between;
        flex-wrap: nowrap;
    }

    .logo {
        width: 120px;
    }

    .nav-left,
    .nav-right {
        width: auto;
    }

    .nav-left {
        justify-content: flex-start;
    }

    .nav-right {
        justify-content: flex-end;
    }

    .nav-left ul,
    .nav-right ul {
        gap: 10px;
    }
}

main {
    /* Estilos generales */
}

.descripcion {
    position: relative;
    height: 500px;
    overflow: hidden;
}

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

.descripcion form {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 20px 35px 20px 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    width: 400px;
}

.input-padron {
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.enviar {
    background: #345868;
    color: white;
    border: none;
    padding: 10px;
    width: 100%;
    cursor: pointer;
    border-radius: 4px;
}

.enviar:hover {
    background: #2a4a5a;
}

.hero-text {
    position: absolute;
    font-family: 'Alata', sans-serif;
    text-size-adjust: auto; 
    left: 0;
    top: 0;
    width: 55%;
    height: 100%;
    color: white;
    background: linear-gradient(135deg, rgba(20, 35, 50, 0.95) 0%, rgba(52, 88, 104, 0.9) 100%);
    padding: 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: none;
    clip-path: polygon(0 0, 90% 0, 100% 100%, 0 100%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* Media queries para versión móvil */
@media (max-width: 1024px) {
    header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 10px 20px;
    }

    .logo {
        width: 90px;
        margin-bottom: 0;
    }

    .nav-left ul,
    .nav-right ul {
        padding-left: 0 !important;
        padding-right: 0 !important;
        text-align: center;
    }

    .nav-left ul {
        margin-bottom: 0;
    }

    .descripcion {
        display: grid !important;
        grid-template-areas: 
            "banner"
            "hero"
            "form";
        grid-template-columns: 1fr;
        height: auto !important;
        overflow: visible !important;
    }

    .descripcion .banner {
        width: 100% !important;
        height: auto !important;
        grid-area: banner;
        object-fit: cover;
    }

    .descripcion .hero-text {
        grid-area: hero;
        position: static !important;
        width: 100% !important;
        height: auto !important;
        background: linear-gradient(135deg, rgba(20, 35, 50, 0.95) 0%, rgba(52, 88, 104, 0.9) 100%) !important;
        padding: 20px !important;
        margin: 0 !important;
        color: white !important;
        clip-path: none !important;
        left: auto !important;
        top: auto !important;
        right: auto !important;
        transform: none !important;
        box-shadow: none !important;
    }

    .descripcion .hero-text h2 {
        font-size: 18px !important;
        margin: 10px 0 !important;
        color: white !important;
    }

    .descripcion .hero-text p {
        font-size: 13px !important;
        margin: 5px 0 !important;
        color: white !important;
    }

    .descripcion form {
        grid-area: form;
        position: static !important;
        width: 100% !important;
        max-width: 680px !important;
        padding: 20px !important;
        background: rgba(255, 255, 255, 0.95) !important;
        box-shadow: none !important;
        border-radius: 8px !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        margin: 0 auto 20px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }

    .descripcion form textarea {
        width: 100% !important;
        min-height: 140px !important;
        max-height: 180px !important;
        resize: vertical !important;
    }

    .descripcion form input,
    .descripcion form textarea,
    .descripcion form label {
        width: 100% !important;
    }

    .input-padron {
        margin: 4px 0 12px !important;
        padding: 8px !important;
    }

    .enviar {
        padding: 8px !important;
    }

    .wa-float {
        top: 85% !important;
        padding: 8px !important;
    }

    .wa-float img {
        width: 35px !important;
        height: 35px !important;
    }
}

.hero-text h2 {
    margin: 0 0 20px 0;
    font-size: 28px;
    line-height: 1.3;
}

.hero-text h2:first-child {
    font-size: 28px;
    margin-bottom: 10px;
}

.hero-text p {
    margin: 1px 0;
    line-height: 1.6;
    font-size: 18px;
}

.oferta, .beneficios {
    padding: 40px 20px;
    text-align: center;
    background: #f4f4f4;
}

.oferta h2, .beneficios h2 {
    margin-bottom: 20px;
}

.oferta ul, .beneficios ul {
    list-style: none;
    padding: 0;
}

.oferta li, .beneficios li {
    margin: 10px 0;
}

/* Objetivos section */
.objetivos {
    background: linear-gradient(135deg, #1a2332 0%, #2a3f52 100%);
    color: white;
    padding: 60px 40px;
    text-align: center;
}

.objetivos h2 {
    font-size: 28px;
    font-family: 'Alata', sans-serif;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.objetivos h1 {
    font-size: 24px;
    font-family: 'Glacial Indifference', sans-serif;
    margin: 10px 0 20px 0;
    font-weight: normal;
}

.objetivos > p {
    max-width: 800px;
    font-family: 'Glacial Indifference', sans-serif;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.objetivos-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 15px;
    flex-wrap: wrap;
    padding: 20px 0;
}

.objetivo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
}

.objetivo-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4a7ba7 0%, #5a8bb8 100%);
    border: 3px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 45px;
    margin-bottom: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.objetivo-label {
    font-size: 12px;
    font-family: 'Alata', sans-serif;
    max-width: 120px;
    line-height: 1.4;
    margin: 0;
    color: #e0e0e0;
}

.objetivo-arrow {
    font-size: 28px;
    color: rgba(255, 255, 255, 0.5);
    align-self: flex-start;
    margin-top: 35px;
}

@media (max-width: 1024px) {
    .objetivos-container {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        padding: 10px 0;
    }
    
    .objetivo-item {
        width: 100%;
        max-width: 320px;
    }
    
    .objetivo-label {
        max-width: 100%;
        text-align: center;
        font-size: 14px;
    }
    
    .objetivo-arrow {
        transform: rotate(90deg);
        align-self: center;
        margin: 0;
        color: rgba(255, 255, 255, 0.35);
    }
    
    .objetivos > p {
        padding: 0 10px;
    }
}

.Valores {
    background: #f5f8fb;
    padding: 60px 40px;
    color: #1f2c39;
}

.valores-header {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.Valores h2 {
    font-size: 32px;
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Alata', sans-serif;
}

.valores-header p {
    margin: 0;
    line-height: 1.7;
    font-size: 16px;
    color: #4a5866;
}

.valores-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    max-width: 1200px;
    margin: 0 auto;
}

.valor-card {
    background: white;
    border-radius: 18px;
    box-shadow: 0 18px 35px rgba(35, 55, 80, 0.12);
    padding: 28px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    border: 1px solid rgba(73, 100, 133, 0.1);
}

.valor-icon {
    min-width: 60px;
    min-height: 60px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, #345868 0%, #4f7ea2 100%);
    color: white;
    font-size: 28px;
    box-shadow: 0 12px 24px rgba(52, 88, 104, 0.18);
}

.valor-text h3 {
    margin: 0 0 10px;
    font-size: 18px;
    letter-spacing: 0.5px;
}

.valor-text p {
    margin: 0;
    line-height: 1.75;
    color: #5a6b7b;
    font-size: 14px;
}

@media (max-width: 1024px) {
    .valores-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
}

@media (max-width: 720px) {
    .valores-grid {
        grid-template-columns: 1fr;
    }
}

.implementaciones {
    background: linear-gradient(135deg, #0c1824 0%, #1a2d42 100%);
    color: #f8fbff;
    padding: 60px 40px;
}

.implementaciones-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.implementaciones-text {
    flex: 1 1 520px;
    min-width: 300px;
}

.implementaciones h2 {
    font-size: 32px;
    margin-bottom: 18px;
    font-family: 'Alata', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.4px;
}

.implementaciones-text p {
    max-width: 680px;
    margin-bottom: 30px;
    line-height: 1.7;
    color: #d8e5f3;
    font-size: 16px;
}

.implementaciones-grid {
    display: grid;
    gap: 20px;
}

.implementacion-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(10px);
}

.implementacion-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, #345868 0%, #4f7ea2 100%);
    color: white;
    font-size: 26px;
    flex-shrink: 0;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.implementacion-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
}

.implementacion-card p {
    margin: 0;
    line-height: 1.75;
    color: #d6e4f0;
    font-size: 14px;
}

.implementaciones-image {
    flex: 0 0 420px;
    min-width: 280px;
    max-width: 460px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    background: #0e1b2b;
}

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

@media (max-width: 1024px) {
    .implementaciones-content {
        flex-direction: column-reverse;
        align-items: center;
    }

    .implementaciones-image {
        width: 100%;
        max-width: 720px;
    }
}

@media (max-width: 720px) {
    .implementaciones {
        padding: 40px 20px;
    }

    .implementaciones h2 {
        font-size: 28px;
    }

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

.privacy-policy {
    background: linear-gradient(135deg, #1a2332 0%, #2a3f52 100%);
    padding: 60px 20px; 
}

.privacy-policy-card {
    max-width: 960px;
    margin: 0 auto;
    background: white;
    border-radius: 28px;
    padding: 48px 42px;
    box-shadow: 0 18px 35px rgba(35, 55, 80, 0.12);
    border: 1px solid rgba(52, 88, 104, 0.08);
}

.privacy-policy h1 {
    font-size: 36px;
    margin-bottom: 18px;
    font-family: 'Alata', sans-serif;
    letter-spacing: 1px;
    color: #1f2c39;
    text-transform: uppercase;
}

.privacy-policy p {
    color: #5a6b7b;
    line-height: 1.8;
    font-size: 16px;
    margin: 0 0 20px;
}

.policy-section {
    margin-top: 24px;
}

.privacy-policy h2 {
    font-size: 24px;
    margin: 0 0 14px;
    color: #345868;
    font-family: 'Alata', sans-serif;
}

@media (max-width: 768px) {
    .privacy-policy {
        padding: 40px 16px;
    }

    .privacy-policy-card {
        padding: 30px 22px;
    }

    .privacy-policy h1 {
        font-size: 28px;
    }
}

footer {
    background: azure;
    color: grey;
    text-align: center;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin: 0;
}

.footer-links a {
    color: grey;
    text-decoration: none;
    display: inline-block;
    padding: 4px 8px;
}

.redes-sociales {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 0;
}

.redes-sociales img {
    width: 28px;
    height: 28px;
}

footer p {
    margin: 0;
    padding: 0;
    font-size: 13px;
}

/* WhatsApp floating tab */
.wa-float {
    position: fixed;
    right: 0;
    top: 80%;
    transform: translateY(-50%);
    background: #25d366;
    padding: 10px;
    border-radius: 8px 0 0 8px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wa-float img {
    width: 40px;
    height: 40px;
    display: block;
}

/* About Us page styles */
.aboutus-sections {
    background: linear-gradient(to bottom, #1a2332 0%, #1f2837 100%);
}

.aboutus-hero,
.mision {
    padding: 60px 40px;
    background: transparent;
    color: white;
}

.aboutus-hero {
    text-align: center;
}

.aboutus-hero h2 {
    font-size: 32px;
    margin-bottom: 20px;
    align-content: center;
    font-family: 'Alata', sans-serif;
}

.aboutus-hero p {
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.equipo-container {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
}

.equipo-member {
    text-align: center;
    flex: 1 1 200px;
    max-width: 250px;
}

.equipo-member img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.equipo-member p {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
}

.mision-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.mision-text {
    flex: 1 1 520px;
    min-width: 300px;
    text-align: left;
}

.mision-text h2 {
    font-size: 34px;
    margin-bottom: 24px;
    font-family: 'Alata', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.mision-text p {
    max-width: 760px;
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 1.8;
    color: #d7e4f0;
}

.mision-image {
    flex: 0 0 420px;
    min-width: 280px;
    height: 320px;
    border-radius: 28px;
    background: url('https://www.bosquereal.com.mx/wp-content/uploads/2025/08/bosque-real-exclusividad-y-calidad-de-vida.webp') center/cover no-repeat;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.equipo {
    padding: 60px 40px;
    text-align: center;
    background: #f5f8fb;
}

.equipo h2 {
    font-size: 28px;
    margin-bottom: 20px;
    font-family: 'Alata', sans-serif;
}

.equipo p {
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .mision-container {
        flex-direction: column;
        align-items: center;
    }

    .mision-text {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .equipo-container {
        flex-direction: column;
        align-items: center;
    }

    .mision-text h2 {
        font-size: 30px;
    }

    .mision-image {
        width: 100%;
        height: 260px;
    }
}