@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');


:root {
 /* ===== Colors ===== */
 --body-color: #090909;
 --white: #FFF;
 --bg-sidebar: #7c3aed;
 --text-color-sidebar: #FFF;
 --color-btn: #7c3aed;  
 --bg-color-btn: #ede9fe;
 --bg-red-btn: #fa5c7c;  
 --primary-color: #7c3aed;
 --primary-oscuro: #6d28d9; 
 --primary-color-light: #f8f9fa;
 --toggle-color: #DDD;
 --text-color: #FEFEFE;
 --linea: #dadce0; 
 --bg-grey: #f5f7fa;

 /* ====== Transition ====== */
 --tran-03: all 0.2s ease;
 --tran-03: all 0.2s ease;
 --tran-04: all 0.2s ease;
 --tran-05: all 0.2s ease;
}

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


body {
 background-color: var(--body-color);
 -webkit-tap-highlight-color: rgba(0,0,0,0); 
 font-family: "Roboto", sans-serif;
  min-height: 100vh;
  font-size: 1rem;
  color: var(--text-color);
}

::selection {
 background-color: var(--primary-color);
 color: var(--white);
}

body.dark {
 --body-color: #18191a;
 --blanco: #242526;
 --bg-logo: #111111;  
 --primary-color: #3a3b3c;
 --primary-color-light: #3a3b3c;
 --toggle-color: #fff;
 --text-color: #ccc;
 --linea: #3a3b3c;  
}

h1 {
  font-weight: 700; 
  font-size: 1.8rem;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  word-wrap: break-word;
  margin: 15px 0 15px;
  color: var(--text-color);
}

h2 {
 font-weight: 600; 
 font-size: 1.1em;

 margin-bottom: 20px;
 letter-spacing: -1px;
}

p {
  color: var(--text-color);
  font-size: 1rem;
}

.link {
  color: var(--text-color);
  text-decoration: underline;
  transition: all 0.3s ease;
  font-weight: 500;
}

.link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}



.btn-decline {
  color: var(--primary-color);
  background: #ede9fe;
  font-family: "Roboto", sans-serif;
  padding: 10px 20px;
  border: none;
  border-radius: 250px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}


.btn-circle {
    background: transparent;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid var(--white);
  color: var(--text-color);
}

.btn-circle:hover {
      border: 2px solid var(--primary-color);
        color: var(--primary-color);
}


input[type="text"]::placeholder {
    color: var(--text-color);
    opacity: 1;
}

input[type="text"]::-webkit-input-placeholder {
    color: var(--text-color);
}

input[type="text"]:-moz-placeholder {
    color: var(--text-color);
    opacity: 1;
}

input[type="text"]::-moz-placeholder {
    color: var(--text-color);
    opacity: 1;
}

input[type="text"]:-ms-input-placeholder {
    color: var(--text-color);
}


        .header {
            padding: 5px 0 50px;
            position: relative;
            z-index: 1000;  
            user-select: none;     
        }

        .nav-container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            align-items: center;
            height: 70px;
            position: relative;
        }

        .logo {
             font-family: "Roboto", sans-serif;
            margin-top: 31px;
          height: 50px;
            color: var(--text-color);
            text-decoration: none;
            position: absolute;
            left: 20px;
        }


.logo-grid-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.logo-top-section {
  display: flex;
  align-items: center;
  gap: 1px;
  text-align: center;
}



.logo-grid-container span {
  color: var(--text-color);
  font-size: 1.3em;
  font-weight: 600;
  letter-spacing: -0.5px;
  user-select: none;
  margin-top: -0.5px;
}

        

        .nav-menu {
            display: flex;
            list-style: none;
            align-items: center;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            margin-top: 110px;
        }

        .nav-item {
            position: relative;
            margin: 0 10px;
        }

        .nav-link {
            text-decoration: none;
            color: var(--text-color);
            font-weight: 500;
            padding: 10px 15px;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
        }

        .nav-link:hover {
            color: var(--primary-color);            
        }

        .nav-link.active {
            color: var(--primary-color) !important;
        }        

        .dropdown-arrow {
            margin-bottom: -1px;
            transition: transform 0.3s ease;
        }

        .nav-item:hover .dropdown-arrow {
            transform: rotate(180deg);
        }

/* MATERILIZE */

.dropdown-content {
    margin: 0;
    display: none;
    opacity: 0;
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    overflow-y: auto;
    z-index: 1002;
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    padding: 10px 10px 10px;
    overflow-x: hidden;
    text-align: left;
    background: #FFFFFF;
    border-radius: 15px;
    box-shadow: 0 2px 9px rgba(0, 0, 0, 0.10), 0 1px 1px rgba(255, 255, 255, 0.45) inset !important;
    min-width: 190px;
}

.dropdown-content:focus {
    outline: 0;
}

.dropdown-content li {
    clear: both;


    display: block;
    text-align: left;
    font-weight: 500;
}

.dropdown-content li:hover,
.dropdown-content li.active {}

.dropdown-content li:focus {
    outline: none;
}

.dropdown-content li.divider {
    min-height: 0;
    height: 1px;
}

.dropdown-content li>a,
.dropdown-content li>span {
    display: block;
    padding: 10px 11px;
}

.dropdown-content li>span>label {
    top: 0;
    left: 0;
}

        
        .dropdown {
            position: absolute;
            top: 100%;
            left: 0;
            background: var(--white);
            min-width: 250px;
            border-radius: 24px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            opacity: 0;
            visibility: hidden;
            padding: 20px;
            transition: all 0.3s ease;
            z-index: 1001;
        }

        .nav-item:hover .dropdown {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .dropdown-item {
            display: block;
            padding: 12px 15px;
            color: var(--text-color);
            text-decoration: none;
            transition: all 0.3s ease;
           font-weight: 400;
        }

        .dropdown-item:last-child {
            border-bottom: none;
        }

        .dropdown-item:hover {
            color: var(--primary-color);
        }

        .dropdown-item.active {
            color: var(--primary-color) !important;
        }  
        
        
        .language-dropdown {
            position: absolute;
            top: 120%;
            right: -10px;
            background: var(--white);
            min-width: 220px;
            border-radius: 24px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            opacity: 0;
            visibility: hidden;
            padding: 20px;
            transition: all 0.3s ease;
            z-index: 1000;
        }

        /* Estado activo del dropdown para hover en desktop */
        .language-button-container:hover .language-dropdown {
            opacity: 1;
            visibility: visible;
        }

        /* Estado activo del dropdown para clic en móvil */
        .language-button-container.active .language-dropdown {
            opacity: 1;
            visibility: visible;
        }

        .language-dropdown-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 15px;
            text-decoration: none;
            color: var(--text-color);
            transition: all 0.3s ease;
        }

        .language-dropdown-item:hover {
            color: var(--primary-color);
        }

        .language-icon {
            width: 24px;
            height: 16px;
            flex-shrink: 0;
            border-radius: 2px;
            object-fit: cover;
        }

        /* Overlay para móvil */
        .mobile-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: transparent;
            opacity: 0;
            visibility: hidden;
            z-index: 998;
            transition: all 0.2s ease;
        }

        .mobile-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        /* ========== RESPONSIVE ========== */
        @media (max-width: 768px) {
            /* En móvil, desactivar hover y usar solo clic */
            .language-button-container:hover .language-dropdown {
                opacity: 0;
                visibility: hidden;
                transform: translateY(-10px);
            }
           
            .language-dropdown {
                right: 0;
                left: auto;
            }
           
            /* Asegurar que solo funcione con la clase active */
            .language-button-container.active .language-dropdown {
                opacity: 1;
                visibility: visible;
                transform: translateY(0);
            }
        }


        .search-container {
            width: 600px;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            margin-top: 0px;
            z-index: 1000;
        }

        .search-icon-phone {
            position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  color: var(--text-color);
  pointer-events: none;
  transition: color 0.3s ease;
        }

        .language-container {
            position: absolute;
            right: 20px;
            display: flex;
            align-items: center;
        }

        .search-box {
            background: transparent;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }

        .search-box:hover {
            background: var(--white);
            border-color: var(--primary-color);

        }

        .search-icon {
            color: var(--text-color);
            cursor: pointer;
            transition: color 0.3s ease;
        }

        .search-box:hover .search-icon {
            color: var(--primary-color);
        }



        .search-close {
            background: none;
            border: none;
            font-size: 30px;
            color: var(--text-color);
            cursor: pointer;
            padding: 5px;
            border-radius: 50%;
            transition: all 0.3s ease;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .search-close:hover {
            background: #f8f9fa;
            color: var(--text-color);
        }

        .search-modal-input {
width: 100%;
  padding: 15px 20px 15px 50px;
  border: 2px solid #e0e0e0;
  border-radius: 25px;
  font-size: 16px;
  outline: none;
  transition: all 0.3s ease;
  background: #f8f9fa;
        }

        .search-modal-input:focus {
            border-color: var(--primary-color);
background: var(--white);
        }



.search-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-top: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    margin-top: 3px;
}

.search-autocomplete.show {
    display: block;
}

/* Secciones de búsqueda */
.search-section {
    padding: 8px 0;
}

.search-section:not(:last-child) {
    border-bottom: 1px solid #f0f0f0;
}

.search-section-title {
    padding: 8px 16px 4px;
    font-size: 12px;
    font-weight: 600;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-autocomplete-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    position: relative;
}

.search-autocomplete-item:hover,
.search-autocomplete-item.highlighted {
    background-color: #f8f9fa;
}

/* Estilo actualizado para la imagen del teléfono */
.search-item-image {
    width: 48px;
    height: 48px;
    margin-right: 12px;
    object-fit: contain;
    background: #f8f8f8;
    border-radius: 4px;
    padding: 4px;
    flex-shrink: 0;
}

.search-item-content {
    flex: 1;
    min-width: 0;
}

.search-item-content {
    flex: 1;
    min-width: 0;
}

.search-item-title {
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 4px 0;
    font-size: 14px;
    line-height: 1.4;
}

.search-item-subtitle {
    color: #718096;
    font-size: 12px;
    line-height: 1.3;
    margin: 0;
}

.search-item-specs {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.search-item-spec {
    background: #edf2f7;
    color: #4a5568;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 500;
}

.search-item-badge {
    position: absolute;
    top: 8px;
    right: 12px;
    background: #e2e8f0;
    color: #4a5568;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-popular-badge {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.search-category-item .search-item-badge {
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    color: white;
}

.search-no-results {
    padding: 20px;
    text-align: center;
    color: #718096;
    font-size: 14px;
}

.search-no-results-icon {
    font-size: 24px;
    margin-bottom: 8px;
    opacity: 0.5;
}

.search-loading {
    padding: 20px;
    text-align: center;
    color: #718096;
    font-size: 14px;
}

.search-loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-top: 2px solid #667eea;
    border-radius: 50%;
    display: inline-block;
    animation: spin 1s linear infinite;
    margin-bottom: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



/* Responsive */
@media (max-width: 768px) {
    .search-autocomplete {
        max-height: 60vh;
    }
    
    .search-autocomplete-item {
        padding: 10px 12px;
    }
    
    .search-item-icon {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }
    
    .search-category-icon {
        font-size: 16px;
    }
    
    .search-item-title {
        font-size: 13px;
    }
    
    .search-item-subtitle {
        font-size: 11px;
    }
    
    .search-item-specs {
        flex-wrap: wrap;
        gap: 4px;
    }
    
    .search-item-spec {
        font-size: 9px;
        padding: 1px 4px;
    }
    
    .search-item-badge {
        top: 6px;
        right: 8px;
        font-size: 9px;
        padding: 1px 6px;
    }
    
    .search-section-title {
        padding: 6px 12px 2px;
        font-size: 11px;
    }
}

/* Scroll personalizado para el autocompletado */
.search-autocomplete::-webkit-scrollbar {
    width: 6px;
}

.search-autocomplete::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.search-autocomplete::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

.search-autocomplete::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Contenedor principal de teléfonos populares */
.popular-phones-container {
    display: none;
    margin-top: 24px;
    padding: 0;
    max-height: 400px;
    overflow-y: auto;
    animation: fadeIn 0.2s ease-out;
    width: 100%;
}

.popular-phones-container.show {
    display: none;
}

/* Título de la sección */
.popular-phones-title {
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 16px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Grid de teléfonos */
.popular-phones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

/* Item individual de teléfono */
.popular-phone-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.popular-phone-item:hover,
.popular-phone-item.highlighted {
    background: #f8fafc;
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

/* Ícono del teléfono */
.popular-phone-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    flex-shrink: 0;
    text-transform: uppercase;
}

/* Contenido del teléfono */
.popular-phone-content {
    flex: 1;
    min-width: 0;
    position: relative;
}

.popular-phone-title {
    font-weight: 600;
    color: #111827;
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.popular-phone-subtitle {
    color: #6b7280;
    font-size: 13px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Badge para teléfonos populares */
.popular-phone-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Efectos de hover para el badge */
.popular-phone-item:hover .popular-phone-badge {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: scale(1.05);
}

/* Animación de entrada */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scrollbar personalizada para el contenedor */
.popular-phones-container::-webkit-scrollbar {
    width: 6px;
}

.popular-phones-container::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.popular-phones-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.popular-phones-container::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .popular-phones-container {
        margin-top: 20px;
    }
    
    .popular-phones-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .popular-phone-item {
        padding: 10px 12px;
    }
    
    .popular-phone-icon {
        width: 42px;
        height: 42px;
        font-size: 14px;
    }
    
    .popular-phone-title {
        font-size: 14px;
    }
    
    .popular-phone-subtitle {
        font-size: 12px;
    }
    
    .popular-phones-title {
        font-size: 15px;
        margin-bottom: 12px;
    }
}

/* Animación de carga para cuando se están cargando los teléfonos */
.popular-phones-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #6b7280;
    font-size: 14px;
}

.popular-phones-loading::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #e5e7eb;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 12px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Estado vacío cuando no hay teléfonos populares */
.popular-phones-empty {
    text-align: center;
    padding: 40px 20px;
    color: #9ca3af;
    font-size: 14px;
}

.popular-phones-empty::before {
    content: '📱';
    display: block;
    font-size: 32px;
    margin-bottom: 12px;
    opacity: 0.5;
}

/* Variantes de colores para los íconos */
.popular-phone-icon.samsung {
    background: linear-gradient(135deg, #1f2937, #4b5563);
}

.popular-phone-icon.apple {
    background: linear-gradient(135deg, #374151, #6b7280);
}

.popular-phone-icon.xiaomi {
    background: linear-gradient(135deg, #f97316, #ea580c);
}

.popular-phone-icon.huawei {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.popular-phone-icon.oneplus {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
}

.popular-phone-icon.google {
    background: linear-gradient(135deg, #059669, #047857);
}


        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
            padding: 5px;
            background: none;
            border: none;
            position: absolute;
            right: 20px;
        }


        

.hamburger span {
    width: 20px; 
    height: 2px; 
    background: var(--text-color);
    margin: 2px 0; 
    transition: all 0.3s ease;
    border-radius: 1px; 
}

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

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

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

    
        .mobile-menu {
            position: fixed;
            top: 70px;
            left: 0;
            width: 100%;
            background: var(--white);
            height: calc(100vh - 70px);
            transform: translateX(-100%);
            transition: transform 0.3s ease;
            z-index: 1000;
            overflow-y: auto;
            padding: 20px;
        }

        .mobile-menu.active {
            transform: translateX(0);
        }

        .mobile-nav-link {
            display: block;
            padding: 20px 5px;
            color: var(--text-color);
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .mobile-nav-link:hover {
            color: var(--primary-color);
        }

        .mobile-dropdown {
            background: #f1f3f4;
            max-height: 0;
            border-radius: 24px;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }

        .mobile-dropdown.active {
            max-height: 450px;
            padding: 18px 0;
        }

        .mobile-dropdown-item {
            display: block;
            padding: 15px 35px;
            color: var(--text-color);
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .mobile-dropdown-item:hover {
            color: var(--primary-color);
        }

        .mobile-search {
            display: none;
            position: absolute;
            right: 20px;
        }

        .mobile-search-box {
            background: transparent;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }

        .mobile-search-box:hover {
            background: var(--white);
            border-color: var(--primary-color);

        }

        .mobile-search-icon {
            color: var(--text-color);
            transition: color 0.3s ease;
        }

        .mobile-search-box:hover .mobile-search-icon {
            color: var(--primary-color);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .header {
             padding: 6px 0;
             height: 149px;
            }

            .nav-menu {
                display: none;
            }

footer .container {

  padding: 0 25px;

}    


            .search-container {
               display: block;
               width: 100%;
               margin-top: 130px;
               position: relative;
               left: 0;
            transform: translateX(0);
            }

            .mobile-search {
                display: block;
            }

            .logo {
                position: absolute;
                left: 50%;
                transform: translateX(-50%);
                margin-top: 25px;
            }

            .hamburger {
                display: flex;
                left: 20px;
                right: auto;
            }

            .dropdown-arrow {
                margin-bottom: -7px;
                transition: transform 0.3s ease;
            }

            .search-suggestions h4 {
                font-size: 16px;
            }

            .suggestion-item {
                padding: 10px 16px;
                font-size: 14px;
                margin: 6px 6px 6px 0;
            }
        }

        @media (max-width: 480px) {
            .nav-container {
                padding: 0 15px;
            }

            .logo {
                font-size: 20px;
                left: 50%;
                transform: translateX(-50%);
            }

            .hamburger {
                left: 15px;
            }

            .dropdown-arrow {
                margin-bottom: -7px;
                transition: transform 0.3s ease;
            }            

            .mobile-search {
                right: 15px;
            }

        }


.container {
  background: var(--white);
  position: relative;
  max-width: 1200px;
  padding: 0 5px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
}        

.anuncio-top {
  max-width: 1280px;
  height: 150px;
  margin: 0 auto;
}


 footer {
  position: relative;
  margin-top: 50px;
  background: var(--bg-grey);
  padding: 10px 30px 30px 30px;
}

 footer a {
  color: var(--text-color);
}

.footer-section span {
  font-weight: 600;
  line-height: 40px;
}

footer .container {
  background: var(--bg-grey);
}        

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin: 40px 0 40px;
}

.footer-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-section ul li {
  margin-top: 10px;
  margin-bottom: 10px;
  list-style: none;
  padding: 0;
}

.footer-section ul li a {
  color: var(--text-color);
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  font-weight: 400;
}

.footer-section ul li a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  align-items: center;
  padding-top: 25px;
  border-top: solid 1px #dadce0;
}

.social-links {
  width: 100%;
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #dadce0;
}

@media (max-width: 768px) {
   footer {
      padding: 10px 0px 30px 0px;
   }

  .footer-content {              
    grid-template-columns: 1fr;
    margin: 15px 0 25px;
  }

  .footer-section {
    margin-bottom: 0px;
    margin-top: -20px;
  }

  .social-links {
    margin-bottom: 10px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
  }
}

       .newsletter-container {
            width: 360px;
        }

        .newsletter-title {
            color: var(--text-color);
        }

        .newsletter-subtitle {
           margin-top: 10px;
            margin-bottom: 30px;
        }

        .email-input-container {
            position: relative;
            margin-bottom: 20px;
        }

        .email-input {
            width: 83.333%;
            padding: 15px 70px 15px 20px;
            font-size: 1rem;
            border: 2px solid #f0f0f0;
            border-radius: 250px;
            outline: none;
            transition: all 0.3s ease;
            background: var(--white);
        }

        .email-input:focus {
            border-color: var(--primary-color);
            background: var(--white);
        }

        .submit-button {
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            background: var(--primary);
            border: none;
            border-radius: 50%;
            width: 48px;
            height: 48px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            color: white;
        }

        .submit-button:hover {
            background: #6d28d9;
        }

        .submit-button:active {
            transform: translateY(-50%) scale(0.95);
        }

        .submit-button svg {
            width: 24px;
            height: 24px;
        }

        .message {
            margin-top: 15px;
            padding: 10px;
            border-radius: 8px;
            font-size: 14px;
            opacity: 0;
            transition: all 0.3s ease;
        }

        .message.show {
            opacity: 1;
        }

        .message.success {
            background: #d4edda;
            color: var(--success-color);
            border: 1px solid #c3e6cb;
        }

        .message.error {
            background: #f8d7da;
            color: var(--error-color);
            border: 1px solid #f5c6cb;
        }

        .newsletter-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.3);
            backdrop-filter: blur(5px) !important;
            z-index: 9999;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 20px;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .newsletter-modal.active {
            opacity: 1 !important;
            visibility: visible !important;
        }

        .newsletter-modal-content {
            background: var(--white);
            border-radius: 20px;
            padding: 40px;
            width: 100%;
            max-width: 500px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            transform: translateY(-30px);
            transition: transform 0.3s ease;
        }

        .newsletter-modal.active .newsletter-modal-content {
            transform: translateY(0);
        }

        .newsletter-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
        }

        .newsletter-modal-title {
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--text-color);
            margin-bottom: 0px;
            margin-top: 0px;
        }

        .modal-form-group {
            margin-bottom: 25px;
        }

        .modal-form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: var(--text-color);
            font-size: 16px;
        }

        .newsletter-modal-input {
            width: 100%;
            padding: 16px 20px;
            font-size: 16px;
            border: 2px solid #e0e0e0;
            border-radius: 250px;
            outline: none;
            transition: all 0.3s ease;
            background: #f8f9fa;
            color: var(--text-color);
        }

        .newsletter-modal-input::placeholder {

            color: var(--text-color);
        }        

        .newsletter-modal-input:focus {
            border-color: var(--primary-color);
            background: var(--white);
        }

        .modal-submit-btn {
            width: 100%;
            padding: 15px;
            background: var(--primary-color);
            color: white;
            border: none;
            border-radius: 250px;
            font-size: 1rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 0px;
        }

        .modal-submit-btn:hover {
            background: #6d28d9;
        }

        .newsletter-suggestions {
            color: var(--text-color);
            margin-top: 20px;
            text-align: left;
        }

        .newsletter-suggestions p {
            margin-top: 10px;
        }        

        @media (max-width: 600px) {
            .newsletter-container {
              width: 100%;
                padding: 40px 0 0px;
                margin-bottom: 15px;
                border-bottom: 1px solid #dadce0;
            }
            
            .newsletter-modal-content {
                padding: 30px 20px;
            }
            
        }



        .cookie-banner {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            max-width: 980px;
            width: calc(100% - 40px);
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(10px);
            border-radius: 24px;
            padding: 20px 30px;
            box-shadow: 0 3px 8px rgba(0, 0, 0, 0.10),
                        0 1px 1px rgba(255, 255, 255, 0.45) inset;
            z-index: 1000;
            opacity: 0;
            display: none;
            transform: translateX(-50%) translateY(100px);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .cookie-banner.show {
            opacity: 1;
            display: block;
            transform: translateX(-50%) translateY(0);
        }

        .cookie-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            flex-wrap: wrap;
        }

        .cookie-text {
            flex: 1;
            min-width: 300px;
            line-height: 1.5;
        }

        .cookie-actions {
            display: flex;
            gap: 12px;
            flex-shrink: 0;
        }

        @media (max-width: 600px) {
            .cookie-banner {
             padding: 20px;
            }

            .cookie-actions {
              width: 100%;
            }

            .cookie-actions button {
              width: 100%;
              display: block;
            }
        }









.progress {
  position: relative;
  height: 4px;
  display: block;
  width: 100%;
  background-color: #acece6;
  border-radius: 2px;
  margin: 0.5rem 0 1rem 0;
  overflow: hidden;
}

.progress .determinate {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  background-color: #26a69a;
  -webkit-transition: width .3s linear;
  transition: width .3s linear;
}

.progress .indeterminate {
  background-color: #26a69a;
}

.progress .indeterminate:before {
  content: '';
  position: absolute;
  background-color: inherit;
  top: 0;
  left: 0;
  bottom: 0;
  will-change: left, right;
  -webkit-animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
          animation: indeterminate 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
}

.progress .indeterminate:after {
  content: '';
  position: absolute;
  background-color: inherit;
  top: 0;
  left: 0;
  bottom: 0;
  will-change: left, right;
  -webkit-animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
          animation: indeterminate-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
  -webkit-animation-delay: 1.15s;
          animation-delay: 1.15s;
}

@-webkit-keyframes indeterminate {
  0% {
    left: -35%;
    right: 100%;
  }
  60% {
    left: 100%;
    right: -90%;
  }
  100% {
    left: 100%;
    right: -90%;
  }
}

@keyframes indeterminate {
  0% {
    left: -35%;
    right: 100%;
  }
  60% {
    left: 100%;
    right: -90%;
  }
  100% {
    left: 100%;
    right: -90%;
  }
}

@-webkit-keyframes indeterminate-short {
  0% {
    left: -200%;
    right: 100%;
  }
  60% {
    left: 107%;
    right: -8%;
  }
  100% {
    left: 107%;
    right: -8%;
  }
}

@keyframes indeterminate-short {
  0% {
    left: -200%;
    right: 100%;
  }
  60% {
    left: 107%;
    right: -8%;
  }
  100% {
    left: 107%;
    right: -8%;
  }
}