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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Navbar */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1001;
}

.nav-container {
    max-width: 100%;
    margin: 0;
    padding: 0 20px;
    display: flex;
    align-items: center;
    height: 70px;
    gap: 20px;
    width: 100%;
}

.menu-button {
    width: 40px;
    height: 40px;
    border: 2px solid #2196F3;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: transform 0.2s;
}

.nav-logo a:hover {
    transform: scale(1.02);
}

.nav-logo h2 {
    color: #2c5aa0;
    font-size: 1.5rem;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-left: auto;
}

.search-container {
    margin-left: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-button {
    width: 50px;
    height: 50px;
    background: #2196F3; /* azul permanente */
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(33,150,243,0.25);
}

.search-button:hover {
    background: #1976D2; /* azul más oscuro al hover */
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(33,150,243,0.35);
}

.search-button img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1); /* fuerza el icono a color blanco */
}

.search-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-bar {
    width: 350px;
    height: 50px;
    padding: 0 50px 0 20px;
    border: none;
    border-radius: 25px;
    background: #f1f3f4;
    color: #333;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.search-bar::placeholder {
    color: #9aa0a6;
    font-size: 14px;
}

.search-bar:focus {
    background: white;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.clear-button {
    position: absolute;
    right: 15px;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.clear-button:hover {
    background: #f1f3f4;
}

.clear-button svg {
    width: 16px;
    height: 16px;
    fill: #5f6368;
}

.search-bar:not(:placeholder-shown) + .clear-button {
    display: flex;
}

.logo-img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    background: transparent;
    mix-blend-mode: multiply;
}

.menu-button:hover {
    background: #e3f2fd;
    border-color: #1976D2;
    transform: scale(1.05);
}

.menu-lines {
    font-size: 1.3rem;
    color: #2196F3;
    font-weight: bold;
}

.sidebar-dropdown {
    position: absolute;
    top: 70px;
    left: 20px;
    background: white;
    min-width: 220px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 9999;
    border: 1px solid #e0e0e0;
    max-height: 80vh;
    overflow-y: auto;
}

.dropdown-section {
    border-bottom: 1px solid #f0f0f0;
}

.section-header {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    cursor: pointer;
    transition: background 0.3s;
    border-radius: 8px 8px 0 0;
    outline: none;
}

.section-header:hover,
.section-header:focus {
    background: #e3f2fd;
}

.section-header:focus {
    box-shadow: 0 0 0 2px #2196F3;
}

.section-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    object-fit: contain;
}

.section-title {
    flex: 1;
    font-weight: 500;
    color: #333;
}

/* Estilo para el botón del encabezado: azul claro en fondo/borde cuando está activo/seleccionado */
.section-header.active,
.section-header:focus {
    background: #e3f7ff; /* fondo azul muy claro */
    border: 1px solid #4fc3f7; /* borde azul claro */
    box-shadow: 0 0 0 2px rgba(79,195,247,0.12);
}

.section-arrow {
    color: #666;
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.subsection {
    padding: 8px 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.subsection.active {
    max-height: 300px;
}

.sub-subsection {
    padding: 8px 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-left: 20px;
}

.sub-subsection.active {
    max-height: 100px;
}

.sub-subsection a {
    display: flex;
    align-items: center;
    padding: 8px 20px 8px 40px;
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s;
    border-left: 3px solid transparent;
    gap: 8px;
}

.sub-subsection .subsection-icon {
    font-size: 0.9rem;
}

.apps-section {
    width: 100%;
}

.apps-header {
    display: flex;
    align-items: center;
    padding: 10px 20px 10px 50px;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
    border-left: 3px solid transparent;
    outline: none;
    cursor: pointer;
    gap: 8px;
}

.apps-header .subsection-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    margin-right: 0;
}

.apps-header .section-arrow {
    margin-left: auto;
    color: #666;
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.apps-header:hover,
.apps-header:focus {
    background-color: #f8f9fa;
    color: #2196F3;
    border-left-color: #2196F3;
    padding-left: 54px;
}

.apps-header:focus {
    box-shadow: inset 0 0 0 2px #2196F3;
}

.subsection a {
    display: flex;
    align-items: center;
    padding: 10px 20px 10px 50px;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.subsection-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    object-fit: contain;
}

.subsection a:hover {
    background-color: #f8f9fa;
    color: #2196F3;
    border-left-color: #2196F3;
    padding-left: 54px;
}

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



.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #2c5aa0;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s;
}

.dropdown-toggle:hover {
    background-color: #e3f2fd;
    color: #2196F3;
}

.menu-lines {
    font-size: 1.2rem;
    color: #2196F3;
    font-weight: bold;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 180px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
}

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

.dropdown-menu a {
    display: block;
    padding: 10px 16px;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.dropdown-menu a:hover {
    background-color: #f8f9fa;
    color: #2196F3;
    padding-left: 20px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    color: #333;
    padding: 0.5rem 0;
    margin-top: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.logo-3d {
    margin-bottom: 0.2rem;
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.logo-hero {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.3));
}

.hero h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff !important;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    background: linear-gradient(45deg, #ffffff, #f0f8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 2s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from { filter: drop-shadow(0 0 5px rgba(255,255,255,0.5)); }
    to { filter: drop-shadow(0 0 20px rgba(255,255,255,0.8)); }
}

.hero p {
    font-size: 1rem;
    color: #ffffff !important;
    margin: 0;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    opacity: 0.95;
    max-width: 600px;
    line-height: 1.6;
}

/* Image Slider Section */
.image-slider-section {
    position: relative;
    height: 80vh;
    overflow: hidden;
}

/* Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 3;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.arrow-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.prev-icon {
    transform: rotate(180deg);
}

.next-icon {
    transform: rotate(0deg);
}

.prev-arrow {
    left: 20px;
}

.next-arrow {
    right: 20px;
}

/* Image Slider */
.image-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
    pointer-events: none;
}

/* Progress Bars */
.progress-bars {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 4;
}

.pause-btn {
    background: transparent;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-right: 8px;
}

.pause-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.progress-bar {
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
}

.progress-bar:hover {
    background: rgba(255, 255, 255, 0.5);
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: #fff;
    border-radius: 2px;
    transition: width 0.1s linear;
}

.progress-bar.active .progress-fill {
    animation: fillProgress 8s linear forwards;
}

@keyframes fillProgress {
    from { width: 0%; }
    to { width: 100%; }
}

/* Explore Products Section */
.explore-products {
    padding: 80px 0;
    background: #f8f9fa;
}

.explore-products h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 50px;
    letter-spacing: 1px;
}

.categories-slider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.categories-container {
    display: flex;
    gap: 30px;
    overflow: hidden;
    max-width: 1000px;
}

.category-card {
    flex: 0 0 180px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-10px);
}

.category-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.category-card:hover img {
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.category-card h3 {
    font-size: 1.1rem;
    color: #333;
    font-weight: 600;
    margin: 0;
}

.slider-arrow {
    background: rgba(0,0,0,0.1);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 20px;
}

.slider-arrow:hover {
    background: rgba(0,0,0,0.2);
    color: #333;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: #2196F3;
}

@media (max-width: 768px) {
    .categories-container {
        gap: 20px;
    }
    
    .category-card {
        flex: 0 0 140px;
    }
    
    .category-card img {
        width: 120px;
        height: 120px;
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1400px;
    width: 100%;
    padding: 0 2rem;
}

.hero-left {
    flex: 1;
    text-align: center;
}

.hero-right {
    flex: 2;
}

.logo-3d {
    margin-bottom: 2rem;
}

.logo-hero {
    width: 120px;
    height: 120px;
    object-fit: contain;
    background: transparent;
    mix-blend-mode: multiply;
    margin: 0 auto;
    display: block;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: white;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
}

.mobile-screen {
    display: flex;
    justify-content: center;
}

.phone-frame {
    width: 280px;
    height: 580px;
    background: white;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    overflow: hidden;
    position: relative;
}

.phone-header {
    background: #f8f9fa;
    padding: 8px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-icons {
    display: flex;
    gap: 5px;
}

.phone-content {
    padding: 20px;
    height: calc(100% - 40px);
    overflow-y: auto;
}

.menu-icon {
    position: absolute;
    top: 70px;
    right: 20px;
    font-size: 1.2rem;
    color: #666;
}

.app-logo {
    text-align: center;
    margin: 20px 0;
}

.logo-3d-small {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4CAF50, #2196F3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-weight: bold;
}

.logo-3d-small span {
    font-size: 2rem;
    line-height: 1;
}

.phone-content h3 {
    text-align: center;
    font-size: 1.3rem;
    margin: 15px 0 5px 0;
    color: #333;
}

.subtitle {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.description {
    text-align: center;
    color: #666;
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 25px;
}

.green-btn {
    width: 100%;
    background: #4CAF50;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    cursor: pointer;
    transition: background 0.3s;
}

.green-btn:hover {
    background: #45a049;
}

.outline-btn {
    width: 100%;
    background: transparent;
    color: #4CAF50;
    border: 1px solid #4CAF50;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

.outline-btn:hover {
    background: #4CAF50;
    color: white;
}

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

.form-group label {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 5px;
}

.input-with-icon {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    padding: 10px;
    border-radius: 8px;
    gap: 10px;
}

.input-with-icon .icon {
    font-size: 1rem;
}

.world-map {
    text-align: center;
    font-size: 3rem;
    margin: 20px 0;
}

.location-selector select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 10px;
    background: white;
}

.currency {
    background: #e3f2fd;
    padding: 10px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.currency-code {
    background: #2196F3;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
}

.price-input {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    padding: 10px;
    border-radius: 8px;
    gap: 5px;
}

.price-input .currency {
    background: transparent;
    padding: 0;
    color: #4CAF50;
    font-weight: bold;
}

.price-input .amount {
    flex: 1;
    font-weight: bold;
}

.price-input .currency-code {
    background: transparent;
    color: #666;
    padding: 0;
}

.percentage {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    padding: 10px;
    border-radius: 8px;
    gap: 10px;
}

.total-cost {
    background: #e8f5e8;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
}

.cost-amount {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    color: #4CAF50;
    margin-top: 5px;
}

.unit {
    font-size: 0.8rem;
    color: #666;
}

/* Contact */
.contact {
    padding: 80px 0;
    background: white;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5aa0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h3 {
    color: #2c5aa0;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #e3f2fd;
    transform: translateX(5px);
}

.contact-icon {
    font-size: 1.5rem;
    min-width: 30px;
}

.contact-link {
    color: #2c5aa0;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #1976d2;
    text-decoration: underline;
}

.contact-text {
    color: #666;
    font-size: 1.1rem;
    font-weight: 500;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #2c5aa0;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.contact-submit-btn {
    background: #25D366;
    color: white;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-submit-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* Location Section */
.location-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.location-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c5aa0;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.map-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* Footer */
.footer {
    background: #f8f9fa;
    color: #6c757d;
    text-align: center;
    padding: 3rem 0;
}

.footer h3 {
    color: #6c757d;
    margin-bottom: 1rem;
    font-weight: 300;
}

.footer p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: #f8f9fa;
        margin-top: 10px;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
.section-header:hover {
    background-color: rgba(0,0,0,0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.section-header {
    transition: all 0.3s ease;
    border-radius: 8px;
}

.prototypes-header {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 8px;
    margin-bottom: 5px;
}

.prototypes-header:hover {
    background-color: rgba(0,0,0,0.05);
}

.prototype-subsection {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-left: 20px;
}

.prototype-subsection.active {
    max-height: 200px;
}

.apps-header {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 8px;
    margin-bottom: 5px;
}

.apps-header:hover {
    background-color: rgba(0,0,0,0.05);
}

.sub-subsection {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-left: 20px;
}

.sub-subsection.active {
    max-height: 200px;
}
/* Marketplace Styles */
.marketplace-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

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

.product-card:hover .product-img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.add-to-cart {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.product-price {
    color: #4CAF50;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.product-description {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.marketplace-header {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 8px;
    margin-bottom: 5px;
}

.marketplace-header:hover {
    background-color: rgba(0,0,0,0.05);
}

.marketplace-subsection {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-left: 20px;
}

.marketplace-subsection.active {
    max-height: 200px;
}

@media (max-width: 768px) {
    .marketplace-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-image {
        height: 200px;
    }
}
/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 20px;
    border-radius: 15px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
}

.close:hover {
    color: #000;
}

.product-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.product-gallery .main-image {
    margin-bottom: 15px;
}

.product-gallery .main-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.thumbnail {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: #4CAF50;
    transform: scale(1.05);
}

.product-info-detailed h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.product-info-detailed ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.product-info-detailed li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    color: #666;
}

.product-video {
    margin: 20px 0;
}

.product-video video {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.price-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.price-section .price {
    font-size: 2rem;
    font-weight: bold;
    color: #4CAF50;
}

.buy-now-btn {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buy-now-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.view-details-btn {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    width: 100%;
}

.view-details-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.4);
}

@media (max-width: 768px) {
    .product-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .modal-content {
        width: 95%;
        margin: 5% auto;
        padding: 15px;
    }
    
    .thumbnail-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .price-section {
        flex-direction: column;
        gap: 15px;
    }
}

/* Marketplace Link Styles */
.marketplace-link:hover {
    background: #1976d2 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

.marketplace-link:hover span {
    color: white !important;
}

.nav-logo {
    display: flex;
    align-items: center;
}

/* Menu button styles for marketplace */
.sidebar-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.sidebar-toggle .menu-button {
    width: 40px;
    height: 40px;
    border: 2px solid #2196F3;
    border-radius: 8px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar-toggle .menu-button:hover {
    background: #e3f2fd;
    border-color: #1976D2;
    transform: scale(1.05);
}
/* Search Box Styles */
.search-box {
    position: relative;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.search-box.active {
    width: 350px;
}

.search-box input {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 50px;
    background: #fff;
    outline: none;
    padding: 0 60px 0 20px;
    font-size: 16px;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.search-box input.active {
    opacity: 1;
}

.search-box input::placeholder {
    color: #a6a6a6;
}

.search-box .search-icon {
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    height: 50px;
    width: 50px;
    background: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.search-box .search-icon svg {
    width: 24px;
    height: 24px;
    fill: #664AFF;
}

.search-box .search-icon.active {
    right: 5px;
    height: 40px;
    width: 40px;
    background: #664AFF;
    transform: translateY(-50%) rotate(360deg);
}

.search-box .search-icon.active svg {
    fill: #fff;
    width: 20px;
    height: 20px;
}

.search-box .cancel-icon {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    transition: all 0.5s 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    z-index: 10;
    width: 30px;
    height: 30px;
}

.search-box .cancel-icon svg {
    width: 20px;
    height: 20px;
    fill: #664AFF;
}

.search-box .cancel-icon.active {
    right: 45px;
    transform: translateY(-50%) rotate(360deg);
    opacity: 1;
    visibility: visible;
}

/* Cart Icon Styles */
.cart-icon {
    position: relative;
    cursor: pointer;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #2c3e50;
    margin-left: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.cart-icon:hover {
    background: #e3f2fd;
    color: #2196F3;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(33,150,243,0.25);
}

.cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #f44336;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    border: 2px solid white;
}

.cart-count.show {
    display: flex;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 20px;
    border-radius: 15px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
}

.close:hover {
    color: #000;
}

/* Cart Modal Styles */
.cart-modal-content {
    max-width: 600px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    width: 90%;
    margin: 5% auto;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.cart-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #333;
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.empty-cart {
    text-align: center;
    color: #666;
    padding: 40px 20px;
    font-size: 1.1rem;
    margin: 0;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    position: relative;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
    color: #333;
}

.cart-item-price {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-item-quantity button {
    background: white;
    border: 1px solid #ddd;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.cart-item-quantity button:hover {
    background: #2196F3;
    color: white;
    border-color: #2196F3;
}

.cart-item-quantity span {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
}

.cart-item-total {
    font-weight: 600;
    color: #2196F3;
    min-width: 100px;
    text-align: right;
}

.remove-item {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4444;
    color: white;
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.remove-item:hover {
    background: #cc0000;
    transform: scale(1.1);
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
}

.checkout-btn {
    width: 100%;
    background: #25D366;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.checkout-btn:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

@media (max-width: 768px) {
    .cart-item {
        grid-template-columns: 60px 1fr;
        gap: 10px;
    }
    
    .cart-item-img {
        width: 60px;
        height: 60px;
    }
    
    .cart-item-quantity,
    .cart-item-total {
        grid-column: 1 / -1;
        justify-self: start;
        margin-top: 10px;
    }
    
    .remove-item {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 25px;
        height: 25px;
        font-size: 14px;
    }
    
    .cart-item {
        position: relative;
        padding-right: 45px;
    }
}




/* Botón link carrusel */
.slide-link-btn {
    position: absolute;
    bottom: 70px;
    right: 36px;
    z-index: 3;
    background: linear-gradient(135deg, #2196F3 0%, #7c3aed 100%);
    color: white;
    text-decoration: none;
    padding: 13px 28px 13px 22px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 6px 24px rgba(33,150,243,0.5), 0 2px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
    pointer-events: all;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255,255,255,0.25);
    animation: slideInBtn 0.5s cubic-bezier(0.34,1.56,0.64,1) both;
}
.slide-link-btn::after {
    content: '→';
    font-size: 1rem;
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.slide-link-btn:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 14px 36px rgba(124,58,237,0.55), 0 4px 12px rgba(0,0,0,0.2);
}
.slide-link-btn:hover::after {
    transform: translateX(5px);
}
.slide-link-btn:active {
    transform: translateY(-1px) scale(0.97);
}
@keyframes slideInBtn {
    from { opacity: 0; transform: translateY(20px) scale(0.9); }
    to   { opacity: 1; transform: translateY(0)   scale(1);   }
}

/* Flechas de categorías */
.cat-arrow {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    font-size: 1.8rem;
    line-height: 1;
    color: #2196F3;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.25s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}
.cat-arrow:hover {
    background: #2196F3;
    color: white;
    border-color: #2196F3;
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(33,150,243,0.35);
}
.cat-arrow-prev { margin-right: 16px; }
.cat-arrow-next { margin-left: 16px; }
