
/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins';
    line-height: 1.6;
    color: #2c3e50;
}

p {
    font-size: 14px;
}

.section {
    position: relative;
    overflow: hidden;
    margin-top: 110px;
}

.acard {
    color: transparent;
    transition: all 0.3s;
}
.acard:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(52, 152, 219, 0.3);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    border-radius: .75rem;
  }
  
  .icon-square {
    width: 3rem;
    height: 3rem;
    border-radius: .75rem;
  }
  
  .text-shadow-1 { text-shadow: 0 .125rem .25rem rgba(0, 0, 0, .25); }
  .text-shadow-2 { text-shadow: 0 .25rem .5rem rgba(0, 0, 0, .25); }
  .text-shadow-3 { text-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .25); }
  
  .card-cover {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover; 
    border: 2px solid #fc5659;  
    transition: all 0.3s; 
  }
  .card-cover:hover {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover; 
    border: 2px solid #ffffff;   
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(52, 152, 219, 0.3);    
  }
  
  .feature-icon-small {
    width: 3rem;
    height: 3rem;
  }
  

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER STICKY ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    color: #3498db;
}

/* ===== NAV MENU DESKTOP ===== */
.nav-menu {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
    padding: 8px 12px;
    border-radius: 50px;
    border: 2px solid #ffffff;
}

.nav-link:hover {
    color: #fc5659;
    background: #f8f9fa;
    border-radius: 50px;
    border: 2px solid #fc5659;
}

.nav-link.active {
    color: #ffffff;
    background: #fc5659;
    border: 2px solid #fc5659;
}

.nav-link-footer {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
    padding: 8px 12px;
}
.nav-link-footer:hover {
    color: #fc5659;
}


.cta-button {
    background: #fc5659;
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    border-color: #fc5659;   
    border: 2px solid #fc5659              
}

.cta-button:hover {
    background: transparent;
    color: #fc5659;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;  
    border-color: #fc5659;   
    border: 2px solid #fc5659       
}

/* ===== HAMBURGER MENU MOBILE ===== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    border-radius: 2px;
    transition: 0.3s;
}

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

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

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

/* ===== HERO SLIDER ===== */
.hero {
    height: 60vh;
    position: relative;
    overflow: hidden;
    margin-top: 70px;
}



.slider {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
}

/* TEXTO FIJO EN TODAS LAS DIAPOSITIVAS */
.hero-text {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    z-index: 3;
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 20px;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

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

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

/* ===== HERO SEARCH REFINADO ===== */
.hero-search {
    position: absolute;
    top:45%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 700px;
    z-index: 3;
}

.search-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

/* INPUT STYLE - MISMO ANCHO QUE BOTONES */
.search-wrapper {
    width: 100%;
    position: relative;
}

.search-input-container {
    background: rgb(255 255 255 / 45%);
    border-radius: 50px;
    padding: 5px 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.search-input-container:focus-within {
    border-color: #3498db;
}

.search-icon {
    color: #fc5659;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
    height: 40px;
    overflow: hidden;
}

.search-placeholders {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.search-placeholder {
    position: absolute;
    font-size: 18px;
    color: #ffffff;
    top: 12%;
    transform: translateY(-50%);
    white-space: nowrap;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.search-placeholder.active {
    opacity: 1;
}

.search-input {
    width: 100%;
    height: 100%;
    border: none;
    background: none;
    font-size: 18px;
    color: #2c3e50;
    outline: none;
    padding: 0;
}

.search-input::placeholder {
    color: #bdc3c7;
}

/* BOTONES - MISMO ANCHO QUE INPUT */
.hero-buttons {
    display: flex;
    gap: 20px;
    width: 100%;
}

.hero-button {
    flex: 1;
    padding: 8px 0;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s;
    text-align: center;
    border: 2px solid transparent;
}

.hero-button.primary {
    background: #fc5659;
    color: white;
}

.hero-button.primary:hover {
    background: #ffffff84;
    color: #ffffff;
    border: 2px solid #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(52, 152, 219, 0.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-search {
        width: 95%;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        z-index: 999;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-text {
        top: 20%;
    }
    
    .hero-search {
        width: 90%;
        top:45%;
    }
    
    .hero-buttons {
        display: flex;
        gap: 15px;
    }
    

    
    .search-input {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-text {
        top: 18%;
    }
    
    .hero-search {
        width: 90%;
        top: 45%;
    }
    
    .hero-button {
        
        font-size: 16px;
    }
}
