/* Variables de colores */
:root {
    --color-primary: #4DB6AC;
    --color-secondary: #1976D2;
    --color-accent: #43A047;
    --color-white: #FFFFFF;
    --color-dark: #2E3A59;
    --color-light-gray: #F5F7FA;
    --color-gray: #D1D9E6;
    --color-error: #F44336;
    --color-success: #4CAF50;
    --shadow-sm: 0 2px 4px rgba(46, 58, 89, 0.1);
    --shadow-md: 0 4px 8px rgba(46, 58, 89, 0.12);
    --shadow-lg: 0 8px 16px rgba(46, 58, 89, 0.14);
    --border-radius: 8px;
}

/* Reset y estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-light-gray);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--color-dark);
}

a {
    text-decoration: none;
    color: var(--color-secondary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-primary);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--color-primary);
}

/* Botones */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: var(--border-radius);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background-color: var(--color-secondary);
}

.btn-primary:hover {
    background-color: #1565C0;
    color: var(--color-white);
}

.btn-secondary {
    background-color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: #3DA59C;
    color: var(--color-white);
}

.btn-success {
    background-color: var(--color-accent);
}

.btn-success:hover {
    background-color: #388E3C;
}

.btn:disabled {
    background-color: var(--color-gray);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.7;
}

/* Header */
header {
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
}

.logo span {
    color: var(--color-primary);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: var(--color-dark);
    padding: 5px 0;
    position: relative;
}

nav ul li a:before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

nav ul li a:hover:before {
    width: 100%;
}

nav ul li a.active {
    color: var(--color-secondary);
}

nav ul li a.active:before {
    width: 100%;
    background-color: var(--color-secondary);
}

/* Mobile menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    height: 2px;
    background-color: var(--color-dark);
    transition: all 0.3s ease;
}/* Hero Section */
.hero {
    background-color: var(--color-white);
    padding: 80px 0;
}

.hero-content {
    display: flex;
    align-items: center;
}

.hero-text {
    flex: 1;
    padding-right: 40px;
}

.hero-text h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--color-dark);
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #505c74;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* Servicios */
.servicios {
    padding: 80px 0;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    grid-gap: 30px;
    margin-bottom: 40px;
}

.servicio-card {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servicio-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.servicio-icon {
    font-size: 2.5rem;
    color: var(--color-secondary);
    margin-bottom: 15px;
}

.servicio-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.servicios-cta {
    text-align: center;
    margin-top: 30px;
}

/* Cómo funciona */
.como-funciona {
    background-color: var(--color-white);
    padding: 80px 0;
}

.steps {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 0 15px;
    position: relative;
}

.step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 40px;
    right: -15px;
    width: 50px;
    height: 2px;
    background-color: var(--color-primary);
    z-index: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background-color: var(--color-secondary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.funciona-cta {
    text-align: center;
    margin-top: 40px;
}

/* Contacto */
.contacto {
    padding: 80px 0;
}

.contacto-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contacto-info {
    flex: 1;
    min-width: 300px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--color-secondary);
    margin-right: 15px;
    width: 40px;
    height: 40px;
    background-color: rgba(25, 118, 210, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-media {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-media a {
    width: 40px;
    height: 40px;
    background-color: var(--color-light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-dark);
    transition: all 0.3s ease;
}

.social-media a:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
    transform: translateY(-3px);
}

.contacto-form {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input, textarea, select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--color-gray);
    border-radius: var(--border-radius);
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--color-secondary);
}

textarea {
    resize: vertical;
}
/* Footer */
footer {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    margin-right: 10px;
}

.footer-logo h3 {
    font-size: 1.5rem;
    color: var(--color-white);
}

.footer-logo span {
    color: var(--color-primary);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-column h4 {
    color: var(--color-white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-primary);
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #a0a8b9;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Página de Recargas */
.recarga-section {
    padding: 60px 0 40px;
}

.recarga-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.tab-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 20px;
    background-color: var(--color-white);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    min-width: 120px;
    transition: all 0.3s ease;
}

.tab-btn i {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--color-dark);
    transition: color 0.3s ease;
}

.tab-btn span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.tab-btn.active, .tab-btn:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.tab-btn.active i, .tab-btn:hover i {
    color: var(--color-white);
}

.tab-content {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.recarga-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-hint {
    display: block;
    color: #7a869a;
    font-size: 0.85rem;
    margin-top: 5px;
}

.amount-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.amount-option {
    flex: 1;
    min-width: 100px;
    background-color: var(--color-light-gray);
    border-radius: var(--border-radius);
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.amount-option input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.amount-option span {
    font-weight: 500;
    font-size: 1.1rem;
}

.amount-option:hover {
    background-color: rgba(25, 118, 210, 0.1);
}

.amount-option input:checked + span {
    color: var(--color-white);
}

.amount-option input:checked ~ .amount-option {
    background-color: var(--color-secondary);
}

.time-options {
    margin-bottom: 20px;
}
/* Carrito de compras */
.cart-section {
    padding-bottom: 60px;
}

.cart-items-container {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.cart-items-container h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-gray);
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--color-light-gray);
}

.cart-item-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(25, 118, 210, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.cart-item-icon i {
    font-size: 1.2rem;
    color: var(--color-secondary);
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h4 {
    margin: 0 0 5px;
}

.cart-item-actions {
    margin-left: 15px;
}

.cart-item-actions button {
    background-color: transparent;
    border: none;
    color: var(--color-error);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 5px;
}

.empty-cart {
    text-align: center;
    padding: 30px;
    color: #7a869a;
}

.cart-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0 0;
    margin-top: 20px;
    border-top: 1px solid var(--color-gray);
}

.cart-total {
    font-size: 1.2rem;
    font-weight: 500;
}

.cart-total span:last-child {
    color: var(--color-secondary);
    font-weight: 600;
    margin-left: 10px;
}

/* Página de pago */
.pago-section {
    padding: 60px 0;
}

.pago-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.cart-review {
    flex: 1;
    min-width: 300px;
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.cart-review h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-gray);
}

.review-item {
    display: flex;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid var(--color-light-gray);
}

.review-icon {
    min-width: 40px;
    height: 40px;
    background-color: rgba(25, 118, 210, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.review-icon i {
    font-size: 1rem;
    color: var(--color-secondary);
}

.review-details {
    flex: 1;
}

.review-details h4 {
    margin: 0 0 5px;
    font-size: 1rem;
}

.review-details p {
    margin: 0 0 5px;
    font-size: 0.9rem;
    color: #7a869a;
}

.review-price {
    font-weight: 600;
    color: var(--color-dark) !important;
}

.cart-review-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--color-gray);
    font-weight: 500;
}

.total-amount {
    font-size: 1.2rem;
    color: var(--color-secondary);
    font-weight: 600;
}

.payment-form {
    flex: 1;
    min-width: 300px;
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.payment-form h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-gray);
}

.form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.form-group.half {
    flex: 1;
    min-width: 120px;
}

.tooltip-icon {
    margin-left: 5px;
    color: var(--color-secondary);
    cursor: help;
}

.form-submit {
    margin-top: 30px;
}

.secure-info {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    color: #7a869a;
}

.secure-info i {
    color: var(--color-success);
    margin-right: 8px;
}

/* Página de confirmación */
.confirmacion-section {
    padding: 80px 0;
}

.confirmacion-box {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.confirmacion-icon {
    font-size: 5rem;
    color: var(--color-success);
    margin-bottom: 20px;
}

.confirmacion-box h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.confirmacion-detalles {
    background-color: var(--color-light-gray);
    padding: 20px;
    border-radius: var(--border-radius);
    margin: 30px 0;
    text-align: left;
}

.confirmacion-acciones {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}
/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .steps {
        flex-direction: column;
        gap: 30px;
    }
    
    .step {
        margin-bottom: 30px;
    }
    
    .step:not(:last-child):after {
        display: none;
    }
    
    .confirmacion-acciones {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .header-content {
        padding: 10px 0;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
    
    .hero-text h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .contacto-content {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        margin-top: 30px;
    }
    
    .footer-column {
        margin-bottom: 30px;
    }
    
    .recarga-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 10px;
    }
    
    .tab-btn {
        min-width: 100px;
    }
    
    .pago-container {
        flex-direction: column;
    }
    
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
}

/* Utils */
.form-group input.error, .form-group select.error {
    border-color: var(--color-error);
}

.error-message {
    color: var(--color-error);
    font-size: 0.85rem;
    margin-top: 5px;
}

/* Estilos para checkboxes */
.custom-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    cursor: pointer;
}

.custom-checkbox input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

/* Estilos para cantidad personalizada */
.custom-amount {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.custom-amount label {
    margin-bottom: 0;
    margin-right: 10px;
}

.custom-amount input {
    flex: 1;
}

/* Animaciones */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Estilos para los inputs de tarjeta */
input[type="password"] {
    letter-spacing: 0.3em;
}