/* Estilos generales */
:root {
    --primary-color: #4b32bc;
    --primary-light: #7c6cdc;
    --primary-dark: #341f94;
    --secondary-color: #ffd100;
    --secondary-light: #ffe14d;
    --secondary-dark: #e6bc00;
    --text-dark: #333333;
    --text-light: #ffffff;
    --text-gray: #777777;
    --bg-light: #f9f9f9;
    --border-color: #eeeeee;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Ajuste para que el desplazamiento no quede detrás del menú */
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
}

a {
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.btn:hover {
    background: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--text-dark);
}

.btn-secondary:hover {
    background: transparent;
    color: var(--secondary-color);
}

section {
    padding: 100px 0;
}

/* Header y Navegación */
header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 0;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
}

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

.logo img {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    margin-right: auto;
    margin-left: 20px;
}

.nav-links li {
    margin-left: 0.6rem;
}

.nav-links a {
    font-weight: 500;
    position: relative;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.nav-links a:hover,
.nav-links a.active {
    background-color: rgba(75, 50, 188, 0.1);
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(75, 50, 188, 0.1);
}

.nav-links a.active {
    font-weight: 600;
}

.nav-buttons {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.language-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(75, 50, 188, 0.1);
    color: var(--primary-color);
    margin-right: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.language-btn:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 2px 8px rgba(75, 50, 188, 0.2);
}

.login-btn {
    display: flex;
    align-items: center;
    padding: 7px 16px;
    border-radius: 50px;
    background-color: var(--primary-color);
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 2px 8px rgba(75, 50, 188, 0.2);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    color: var(--text-light);
    margin-top: 0;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

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

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(75, 50, 188, 0.7), rgba(75, 50, 188, 0.7));
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
}

.hero-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    transform: translateY(-50%);
    z-index: 10;
}

.hero-prev,
.hero-next {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background 0.3s ease;
}

.hero-prev:hover,
.hero-next:hover {
    background: rgba(255, 255, 255, 0.4);
}

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

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.hero-content {
    position: relative;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    z-index: 10;
}

.hero-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content span {
    color: #fff;
    position: relative;
    z-index: 1;
}

.hero-content span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.3);
    z-index: -1;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-outline:hover {
    background: var(--text-light);
    color: var(--primary-color);
    border-color: var(--text-light);
}

/* Servicios */
.services {
    background-color: #f9f9f9;
    padding: 80px 0;
}

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

.services-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.service-item {
    display: flex;
    background-color: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(75, 50, 188, 0.08);
    width: calc(50% - 15px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(75, 50, 188, 0.15);
}

.service-item:nth-child(even) {
    border-left: 4px solid var(--secondary-color);
}

.service-item:nth-child(even)::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 35px 35px 0;
    border-color: transparent var(--secondary-color) transparent transparent;
    opacity: 0.2;
}

.service-icon {
    margin-right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(75, 50, 188, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-item:nth-child(even) .service-icon {
    background: rgba(255, 209, 0, 0.15);
}

.service-icon i {
    font-size: 26px;
    color: var(--primary-color);
}

.service-item:nth-child(even) .service-icon i {
    color: var(--secondary-dark);
}

.service-text {
    flex: 1;
}

.service-text h3 {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.service-item:nth-child(even) .service-text h3 {
    color: var(--secondary-dark);
}

.service-text p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin: 0;
}


/* Contacto */
.contact {
    background-color: #f9f9f9;
    padding: 100px 0;
}

.contact-container {
    display: flex;
    flex-direction: row;
    gap: 50px;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

.contact-info-minimal {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.contact-item i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1rem;
}

.contact-item p {
    font-size: 1rem;
    color: var(--text-dark);
}



.contact-form-minimal {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form-minimal input,
.contact-form-minimal textarea {
    padding: 12px 15px;
    border: none;
    border-bottom: 2px solid #eee;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.contact-form-minimal input:focus,
.contact-form-minimal textarea:focus {
    outline: none;
    border-bottom-color: var(--primary-color);
    background-color: #f5f5f5;
}

.contact-form-minimal button {
    margin-top: 10px;
    align-self: flex-start;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 60px 0 20px;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    height: auto;
    width: 200px;
    margin-bottom: 20px;
}

.footer-description {
    font-size: 0.95rem;
    margin-bottom: 25px;
    opacity: 0.9;
    line-height: 1.6;
}



.footer-links-column h3,
.footer-contact-column h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links-column h3::after,
.footer-contact-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
}

.footer-menu {
    list-style: none;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: var(--text-light);
    opacity: 0.8;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-menu a:hover {
    opacity: 1;
    padding-left: 5px;
    color: var(--secondary-color);
}

.footer-contact-info {
    list-style: none;
    padding: 0;
}

.footer-contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.footer-contact-info li i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.footer-legal {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-legal a {
    color: var(--text-light);
    opacity: 0.8;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-legal a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.back-to-top {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Calculadora */
.calculator {
    background-color: var(--bg-light);
    padding: 80px 0;
}

.calculator-container {
    display: flex;
    flex-direction: row;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.048);
}

.calculator-form-minimal {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.calculator-input-group {
    position: relative;
    margin-bottom: 20px;
}

.calculator-input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.2rem;
}

.calculator-input-group input,
.calculator-input-group select {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: none;
    border-bottom: 2px solid #eee;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
    border-radius: 5px;
    appearance: none;
}

.calculator-input-group.select-group::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    pointer-events: none;
}

.calculator-input-group input:focus,
.calculator-input-group select:focus {
    outline: none;
    border-bottom-color: var(--primary-color);
    background-color: #f5f5f5;
    box-shadow: 0 5px 15px rgba(75, 50, 188, 0.1);
}

.calculator-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.calculator-checkbox input {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.calculator-checkbox label {
    font-size: 0.95rem;
    color: var(--text-dark);
    cursor: pointer;
}

.btn-calculator {
    align-self: flex-start;
    background-color: var(--secondary-color);
    color: var(--text-dark);
    padding: 12px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-color: var(--secondary-color);
}

.btn-calculator:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 209, 0, 0.2);
    background: transparent;
    color: var(--secondary-color);
}

.calculator-result-minimal {
    flex: 1;
    background: var(--primary-dark) 0%;
    padding: 30px;
    border-radius: 10px;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(75, 50, 188, 0.2);
    transition: all 0.5s ease;
    transform: translateY(0);
}

.calculator-result-minimal::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    opacity: 0.2;
}

.calculator-result-minimal::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    opacity: 0.1;
}

.calculator-result-minimal.revealed {
    transform: translateY(0);
    opacity: 1;
}

.result-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 15px;
}

.result-header i {
    font-size: 2rem;
    margin-right: 15px;
    background-color: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.result-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.result-details {
    flex: 1;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.result-item:hover {
    transform: translateX(5px);
}

.result-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 15px 0;
}

.result-item.total {
    font-weight: 700;
    font-size: 1.3rem;
}

.result-item.total span:last-child {
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(255, 209, 0, 0.3);
}

.result-actions {
    margin-top: 20px;
}

.result-note {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 20px;
}

.result-actions .btn {
    width: 100%;
    text-align: center;
}

.result-actions .btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    border-color: var(--secondary-color);
}

.result-actions .btn-secondary:hover {
    background: transparent;
    color: var(--secondary-color);
}

/* Sección de Productos */
.products-section {
    background-color: #f9f9f9;
    padding: 80px 0;
    text-align: center;
}

.product-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin: 40px 0;
}

.product-category {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
    width: 200px;
}

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

.category-circle {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    overflow: hidden;
    position: relative;
    padding: 15px;
    box-sizing: border-box;
}

.category-circle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(0,0,0,0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-category:hover .category-circle::after {
    opacity: 1;
}

.purple-bg {
    background-color: var(--primary-color);
}

.yellow-bg {
    background-color: var(--secondary-color);
}

.category-img {
    max-width: 150%;
    max-height: 160%;
    object-fit: contain;
    z-index: 1;
    transition: transform 0.3s ease;
}

.product-category:hover .category-img {
    transform: scale(1.08);
}

.product-category h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 10px;
    position: relative;
    display: inline-block;
}

.product-category:nth-child(even) h3 {
    color: var(--secondary-dark);
}

.product-category h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.product-category:nth-child(even) h3::after {
    background: var(--secondary-color);
}

.product-category:hover h3::after {
    width: 100%;
}

.products-action {
    margin-top: 20px;
}

/* Sección de Tiendas */
.stores-section {
    background-color: #f9f9f9;
    padding: 80px 0;
    text-align: center;
}

.stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 40px 20px;
    justify-content: center;
    max-width: 1000px;
    margin: 50px auto;
}

.store-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.store-item:hover {
    transform: translateY(-10px);
}

.store-logo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden;
}

.store-item:hover .store-logo {
    box-shadow: 0 8px 20px rgba(75, 50, 188, 0.15);
}

.store-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.store-item:hover .store-img {
    transform: scale(1.1);
}

.store-item h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 10px;
}

.stores-action {
    margin-top: 30px;
}

/* Responsive */
@media screen and (max-width: 992px) {
    header {
        width: 90%;
        top: 15px;
    }
    
    .nav-links {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: auto;
        max-height: calc(100vh - 90px);
        background-color: rgba(255, 255, 255, 0.95);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        transition: var(--transition);
        overflow-y: auto;
        padding: 20px 0;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        margin: 0 5%;
        width: 90%;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .nav-buttons {
        margin-left: 0;
        margin-right: 15px;
    }
    
    .language-btn {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .login-btn {
        padding: 6px 15px;
        font-size: 0.85rem;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-contact {
        margin-top: 20px;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .footer-links {
        margin-top: 25px;
        justify-content: center;
    }
    
    .footer-links a {
        margin: 0 10px;
        margin-bottom: 10px;
    }
    
    .service-card {
        margin-bottom: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: span 2;
        text-align: center;
        align-items: center;
    }
}

@media (max-width: 992px) {
    .services-row {
        gap: 20px;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    section {
        padding: 60px 0;
    }

    .calculator-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .calculator-form-minimal,
    .calculator-result-minimal {
        width: 100%;
    }
    
    .btn-calculator {
        width: 100%;
    }
    
    .result-card {
        margin-top: 20px;
    }
    
    .service-item {
        width: 100%;
        flex-direction: row;
    }
    
    .services-row {
        flex-direction: column;
    }
    
    .hero-prev, 
    .hero-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .hero-nav {
        padding: 0 15px;
    }
    
    /* Estilos para sección de productos */
    .stores-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 30px 15px;
    }
    
    .store-logo {
        width: 120px;
        height: 120px;
        padding: 15px;
    }
    
    .category-circle {
        width: 130px;
        height: 130px;
        padding: 12px;
    }
    
    .product-category h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-info-minimal,
    .contact-form-minimal {
        width: 100%;
    }

    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-grid {
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .service-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .service-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .product-categories {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    header {
        top: 10px;
        width: 95%;
    }
    
    nav {
        padding: 10px 20px;
    }
    
    .logo img {
        height: 35px;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .nav-links {
        top: 70px;
    }
    
    .nav-buttons {
        display: none;
    }
    
    /* Estilos para sección de tiendas */
    .stores-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 20px 10px;
    }
    
    .store-logo {
        width: 100px;
        height: 100px;
        padding: 12px;
    }
    
    .store-item h3 {
        font-size: 1rem;
    }
    
    .category-circle {
        width: 110px;
        height: 110px;
        padding: 8px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-links-column h3::after,
    .footer-contact-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links-column,
    .footer-contact-column {
        text-align: center;
    }
    
    .footer-contact-info li {
        justify-content: center;
    }
    
    .footer-legal {
        align-items: center;
    }
} 

/* Modal de Inicio de Sesión */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    display: none;
    backdrop-filter: blur(8px);
    transition: opacity 0.3s ease;
    opacity: 0;
}

.modal-overlay.active {
    opacity: 1;
}

.login-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 800px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    z-index: 2001;
    display: none;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
    opacity: 0;
}

.login-modal.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.modal-content {
    display: flex;
    min-height: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-left {
    width: 40%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.modal-left::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(30deg);
    z-index: 0;
}

.modal-logo {
    width: 80%;
    max-width: 180px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.2));
    animation: float 6s ease-in-out infinite;
}

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

.modal-tagline {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.modal-right {
    width: 60%;
    padding: 40px;
    position: relative;
    background-color: #fff;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    color: var(--primary-color);
    background-color: rgba(75, 50, 188, 0.1);
    transform: rotate(90deg);
}

.modal-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    color: #777;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(1);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.tab-btn:not(.active)::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.tab-btn:hover::after {
    transform: scaleX(0.5);
}

.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    min-height: 320px;
    box-sizing: border-box;
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.tab-content h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #333;
    font-weight: 600;
}

.error-message {
    background-color: #fee;
    border: 1px solid #fcc;
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #c53030;
    font-size: 0.9rem;
    animation: slideInError 0.3s ease-out;
    box-shadow: 0 2px 8px rgba(197, 48, 48, 0.1);
}

.error-message i {
    color: #e53e3e;
    font-size: 1rem;
    flex-shrink: 0;
}

@keyframes slideInError {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.input-with-icon {
    position: relative;
    margin-bottom: 5px;
}

.input-with-icon i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    transition: all 0.3s ease;
}

.login-form .form-group,
.register-form .form-group {
    margin-bottom: 20px;
    position: relative;
}

.login-form label,
.register-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    transition: all 0.3s ease;
}

.login-form input,
.register-form input {
    width: 100%;
    padding: 14px 14px 14px 45px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.login-form input:focus,
.register-form input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(75, 50, 188, 0.15);
    outline: none;
    background-color: #fff;
}

.login-form.error input,
.register-form.error input {
    border-color: #fcc;
    background-color: #fefefe;
}

.login-form.error input:focus,
.register-form.error input:focus {
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.15);
}

.login-form input:focus + .input-with-icon i,
.register-form input:focus + .input-with-icon i {
    color: var(--primary-color);
}

.forgot-password {
    text-align: right;
    margin-bottom: 35px;
}

.forgot-password a {
    color: var(--primary-color);
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.forgot-password a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.forgot-password a:hover::after {
    width: 100%;
}

.forgot-password a:hover {
    color: var(--primary-dark);
}

.btn-full {
    width: 100%;
    padding: 14px;
    text-align: center;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 25px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(75, 50, 188, 0.3);
}

.btn-full:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 7px 20px rgba(75, 50, 188, 0.4);
    transform: translateY(-2px);
}

.btn-full:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(75, 50, 188, 0.3);
}

.btn-full::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.btn-full:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    20% {
        transform: scale(25, 25);
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        transform: scale(40, 40);
    }
}

@media (max-width: 768px) {
    .modal-content {
        flex-direction: column;
        height: auto;
    }
    
    .tab-content {
        min-height: 280px;
    }
    
    .modal-left {
        width: 100%;
        padding: 30px;
        border-radius: 15px 15px 0 0;
    }
    
    .modal-right {
        width: 100%;
        padding: 30px;
        border-radius: 0 0 15px 15px;
    }
    
    .modal-logo {
        width: 150px;
        margin-bottom: 20px;
    }
    
    .login-modal {
        top: 45%;
    }
}

@media (max-width: 576px) {
    .login-modal {
        width: 95%;
        top: 40%;
    }
    
    .modal-left {
        padding: 25px 20px;
    }
    
    .modal-right {
        padding: 25px 20px;
    }
    
    .tab-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .tab-content {
        min-height: 260px;
    }
    
    .tab-content h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .login-form input,
    .register-form input {
        padding: 12px 12px 12px 40px;
    }
} 

 

/* Estilos para recuperación de contraseña */
.recovery-info {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.form-actions .btn-full {
    width: auto;
    flex: 1;
    margin-top: 0;
}

.btn-back {
    padding: 12px 20px;
    background: none;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.btn-back:hover {
    background-color: #f5f5f5;
    border-color: #ccc;
}

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

.recovery-form {
    animation: fadeIn 0.4s ease forwards;
} 