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

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

body {
    font-family: 'Montserrat', 'Arial', 'Helvetica', sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

html {
    scroll-behavior: smooth;
}

/* Fuentes para títulos - Poppins */
h1, h2, h3, h4, h5, h6,
.hero-title,
.title-line-1,
.title-line-2,
.section-title,
.contact-title,
.footer-title h3,
.features-title-card h2,
.form-section-title {
    font-family: 'Poppins', 'Arial', 'Helvetica', sans-serif;
}

/* ===== SECCIÓN 1: HERO/BANNER ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    background-image: url('img/BannerHero1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem 4rem;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.4), rgba(30, 41, 59, 0.3));
    z-index: 1;
}

/* Header/Navigation */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.navigation {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.navigation a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    min-height: 44px;
}

.navigation a:hover {
    color: #4ade80;
}

.dropdown-icon {
    font-size: 0.7rem;
    margin-left: 0.3rem;
}

/* Menú hamburguesa */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 100;
    position: relative;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

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

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

/* Overlay para menú móvil */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 98;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    min-height: 60vh;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    z-index: 2;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 3;
}

/* Hero Content */
.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 4rem 0;
    z-index: 5;
    position: relative;
}

.hero-text {
    flex: 1;
    max-width: 50%;
}

.hero-title {
    display: flex;
    flex-direction: column;
    margin-bottom: 2.5rem;
}

.title-line-1 {
    font-size: 4rem;
    font-weight: bold;
    color: white;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.title-line-2 {
    font-size: 4rem;
    font-weight: bold;
    color: #4ade80;
    font-style: italic;
    line-height: 1.1;
}

.cta-button {
    background-color: #4ade80;
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    min-height: 48px;
    touch-action: manipulation;
}

.cta-button:hover {
    background-color: #22c55e;
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-banner-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    border-radius: 10px;
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    padding: 2rem 0;
    z-index: 10;
    position: relative;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.indicator:hover {
    transform: scale(1.2);
}

.indicator.active {
    background-color: #4ade80;
}

/* ===== SECCIÓN 2: ¿Qué es el arrendamiento puro? ===== */
.about-section {
    background-color: white;
    padding: 5rem 4rem;
    text-align: center;
}

.section-title {
    font-size: 3rem;
    font-weight: bold;
    color: #1a1a2e;
    margin-bottom: 2rem;
}

.section-description {
    font-size: 1.2rem;
    color: #1a1a2e;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ===== SECCIÓN 3: Características ===== */
.features-section {
    background-color: #f5f5f5;
    padding: 5rem 4rem;
}

.features-container {
    display: flex;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.features-title-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 15px;
    padding: 3rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    flex: 0 0 50%;
    width: 50%;
    min-height: 100%;
}

.features-title-card h2 {
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.3;
    text-align: center;
    margin: 0;
}

.features-list-card {
    background-color: white;
    border-radius: 15px;
    padding: 3rem 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    flex: 0 0 50%;
    width: 50%;
    display: flex;
    align-items: center;
    min-height: 100%;
}

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

.features-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.75rem;
    font-size: 1rem;
    color: #1a1a2e;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

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

.checkmark {
    color: #4ade80;
    font-size: 1.2rem;
    font-weight: bold;
    margin-right: 0.75rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* ===== SECCIÓN 4: Tipos de activos ===== */
.assets-section {
    background-color: white;
    padding: 5rem 4rem;
}

.assets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 2rem auto 0;
}

.asset-card {
    position: relative;
    border-radius: 35px;
    overflow: hidden;
    cursor: pointer;
}

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

.asset-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: white;
}

.asset-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    color: white;
    text-align: center;
    line-height: 1.5;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* ===== SECCIÓN 5: Requisitos ===== */
.requirements-section {
    background-color: #f5f5f5;
    padding: 5rem 4rem;
}

.requirements-container {
    display: flex;
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto 0;
    justify-content: center;
}

.requirement-card {
    background-color: white;
    border-radius: 15px;
    padding: 3rem 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    flex: 1;
    max-width: 500px;
}

.requirement-list {
    list-style: none;
}

.requirement-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #1a1a2e;
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.requirement-list li:last-child {
    margin-bottom: 0;
}

/* ===== SECCIÓN 6: Contacto ===== */
.contact-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    background-image: url('img/BGforms.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0 4rem 5rem 4rem;
    padding-top: 5rem;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 0;
    border-top: none;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.5), rgba(30, 41, 59, 0.4));
    z-index: 1;
    border: none;
    outline: none;
}

.contact-container {
    display: flex;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    z-index: 2;
    position: relative;
}

.contact-info {
    flex: 1;
    max-width: 500px;
}

.contact-title {
    font-size: 4rem;
    font-weight: bold;
    color: white;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.contact-description {
    font-size: 1.2rem;
    color: white;
    line-height: 1.8;
}

.contact-form-wrapper {
    flex: 1;
    max-width: 600px;
}

.contact-form {
    background-color: transparent;
    border-radius: 15px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.form-section {
    margin-bottom: 1.5rem;
}

.form-section:last-of-type {
    margin-bottom: 0;
}

.form-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.form-row:last-child {
    margin-bottom: 0;
}

.form-group {
    flex: 1;
    margin-bottom: 1rem;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #1a1a2e;
    background-color: #f9fafb;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    min-height: 44px;
}

.form-group input:focus,
.form-group textarea:focus {
    background-color: white;
    border-color: #4ade80;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.1);
}


.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-question {
    font-size: 0.95rem;
    font-weight: 500;
    color: white;
    margin-bottom: 0.75rem;
}

.radio-group {
    display: flex;
    gap: 2rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    color: white;
}

.radio-label input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #4ade80;
    min-width: 20px;
    min-height: 20px;
    margin-right: 0.5rem;
}

.submit-button {
    background-color: white;
    color: #1a1a2e;
    border: 2px solid #1a1a2e;
    padding: 0.9rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    margin-top: 1rem;
    min-height: 48px;
    touch-action: manipulation;
    align-self: flex-end;
    width: auto;
}

.submit-button:hover {
    background-color: #1a1a2e;
    color: white;
    transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.footer {
    background-color: #4ade80;
    padding: 3rem 4rem;
    color: white;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
}

.footer-title h3 {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    flex: 1;
    max-width: 800px;
}

.footer-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1rem;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.footer-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablets grandes y pantallas medianas */
@media (max-width: 1200px) {
    .hero-section {
        padding: 2rem 3rem;
    }
    
    .contact-container {
        gap: 3rem;
    }
    
    .footer-content {
        gap: 2rem;
    }
}

/* Tablets */
@media (max-width: 1024px) {
    .hero-section {
        padding: 2rem 2rem;
    }
    
    .title-line-1,
    .title-line-2 {
        font-size: 3.5rem;
    }
    
    .hero-content {
        gap: 2rem;
    }
    
    .features-container {
        flex-direction: column;
    }
    
    .features-title-card {
        flex: 1;
    }
    
    .contact-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .about-section,
    .features-section,
    .assets-section,
    .requirements-section {
        padding: 4rem 3rem;
    }
    
    .assets-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .contact-section {
        padding: 4rem 3rem;
    }
}

/* Tablets pequeñas y móviles grandes */
@media (max-width: 768px) {
    .hero-section {
        padding: 1.5rem 1.5rem;
        min-height: auto;
    }
    
    .header {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .logo {
        flex-wrap: wrap;
    }
    
    .logo-image {
        height: 50px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 2rem;
        transition: right 0.3s ease;
        z-index: 99;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
    }
    
    .navigation.active {
        right: 0;
    }
    
    .navigation a {
        font-size: 1.1rem;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        min-height: 50px;
        white-space: normal;
    }
    
    .hero-carousel {
        min-height: 50vh;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding: 2rem 0;
        gap: 2rem;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero-image {
        order: -1;
    }
    
    .title-line-1,
    .title-line-2 {
        font-size: 2.5rem;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .hero-banner-image {
        max-height: 300px;
    }
    
    .about-section,
    .features-section,
    .assets-section,
    .requirements-section {
        padding: 3rem 2rem;
    }
    
    .assets-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .asset-title {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1.1rem;
    }
    
    .features-title-card,
    .features-list-card,
    .requirement-card {
        padding: 2rem 1.5rem;
    }
    
    .features-title-card h2 {
        font-size: 1.5rem;
    }
    
    .features-list li,
    .requirement-list li {
        font-size: 1rem;
    }
    
    .requirements-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .requirement-card {
        max-width: 100%;
    }
    
    .contact-section {
        padding: 3rem 2rem;
        min-height: auto;
    }
    
    .contact-container {
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .contact-info {
        max-width: 100%;
        text-align: center;
    }
    
    .contact-title {
        font-size: 2.5rem;
    }
    
    .contact-description {
        font-size: 1.1rem;
    }
    
    .contact-form-wrapper {
        max-width: 100%;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .form-section-title {
        font-size: 1.1rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer {
        padding: 2.5rem 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-title h3 {
        font-size: 2rem;
        text-align: center;
    }
    
    .footer-contact {
        max-width: 100%;
    }
    
    .footer-item {
        font-size: 0.95rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .footer-icon {
        font-size: 1.5rem;
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {
    .hero-section {
        padding: 1rem 1rem;
    }
    
    .logo-image {
        height: 45px;
    }
    
    .navigation {
        width: 100%;
        right: -100%;
    }
    
    .title-line-1,
    .title-line-2 {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
    
    .hero-banner-image {
        max-height: 250px;
    }
    
    .about-section,
    .features-section,
    .assets-section,
    .requirements-section,
    .contact-section {
        padding: 2.5rem 1.5rem;
    }
    
    .assets-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .asset-title {
        font-size: 1rem;
    }
    
    .asset-overlay {
        padding: 1.5rem 1rem 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .features-title-card,
    .features-list-card,
    .requirement-card {
        padding: 1.5rem 1.25rem;
    }
    
    .features-title-card h2 {
        font-size: 1.3rem;
    }
    
    .features-list li,
    .requirement-list li {
        font-size: 0.95rem;
        margin-bottom: 1.75rem;
        line-height: 1.8;
    }
    
    .checkmark {
        font-size: 1.3rem;
        margin-right: 0.75rem;
    }
    
    .contact-title {
        font-size: 2rem;
    }
    
    .contact-description {
        font-size: 1rem;
    }
    
    .contact-form {
        padding: 1.5rem 1.25rem;
    }
    
    .form-section-title {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.75rem 0.9rem;
        font-size: 0.9rem;
    }
    
    .form-question {
        font-size: 0.95rem;
    }
    
    .submit-button {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }
    
    .footer {
        padding: 2rem 1.5rem;
    }
    
    .footer-title h3 {
        font-size: 1.75rem;
    }
    
    .footer-item {
        font-size: 0.9rem;
    }
}

/* Pantallas muy pequeñas */
@media (max-width: 360px) {
    .title-line-1,
    .title-line-2 {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .contact-title {
        font-size: 1.75rem;
    }
    
    .footer-title h3 {
        font-size: 1.5rem;
    }
}

/* Pantallas grandes */
@media (min-width: 1400px) {
    .hero-section,
    .about-section,
    .features-section,
    .requirements-section,
    .contact-section,
    .footer {
        padding-left: 6rem;
        padding-right: 6rem;
    }
    
    .features-container,
    .requirements-container,
    .contact-container,
    .footer-content {
        max-width: 1400px;
    }
}

/* Ajustes para orientación landscape en móviles */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 1.5rem;
    }
    
    .hero-content {
        padding: 1.5rem 0;
    }
    
    .title-line-1,
    .title-line-2 {
        font-size: 2rem;
    }
    
    .hero-banner-image {
        max-height: 200px;
    }
}

