/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.adt-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-contact a {
    color: #0055a5;
    text-decoration: none;
    font-weight: 500;
}

/* Hero section */
.hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 85, 165, 0.8), rgba(0, 85, 165, 0.6));
}

.hero-content {
    max-width: 600px;
    padding: 40px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.subheadline {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.payment-info {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-item img {
    width: 24px;
    height: 24px;
}

/* Botones */
.cta-btn {
    display: inline-block;
    background-color: #ff6b00;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cta-btn:hover {
    background-color: #e55f00;
}

.back-btn {
    display: inline-block;
    color: #0055a5;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid #0055a5;
    border-radius: 5px;
    transition: all 0.3s;
}

.back-btn:hover {
    background-color: #0055a5;
    color: white;
}

/* Security badges */
.security-badges {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 15px;
    border-radius: 5px;
}

.badge img {
    width: 20px;
    height: 20px;
}

/* Features section */
.features {
    padding: 60px 0;
    background-color: #fff;
}

.features h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #0055a5;
    font-size: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature img {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.feature h3 {
    margin-bottom: 15px;
    color: #0055a5;
}

/* Payment methods */
.payment-methods {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.payment-methods h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #0055a5;
    font-size: 2rem;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.method {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.method img {
    height: 40px;
    margin-bottom: 10px;
}

/* Assistance section */
.assistance {
    padding: 60px 0;
    background: linear-gradient(135deg, #0055a5 0%, #003a73 100%);
    color: white;
}

.assistance-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.assistance h2 {
    margin-bottom: 15px;
    font-size: 2rem;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #25d366;
    color: white;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: background-color 0.3s;
    font-size: 1.1rem; /* Puedes ajustar el tamaño del texto aquí */
}

.whatsapp-btn:hover {
    background-color: #128c7e;
}

.whatsapp-btn img {
    height: 1.6em;      /* Ajusta la altura al tamaño del texto del botón */
    width: auto;         /* Mantiene la proporción */
    display: inline-block;
    vertical-align: middle;
    /* Si quieres que ocupe todo el alto del botón, puedes usar: height: 100%; */
}

.assistance-image img {
    max-width: 100%;
    height: auto;
}

/* Footer */
.site-footer {
    background-color: #003a73;
    color: white;
    padding: 40px 0;
}

.footer-content {
    text-align: center;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 20px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Form styles */
.form-body {
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.form-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.form-progress::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #e9ecef;
    z-index: 1;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.progress-step span {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-weight: 600;
    color: #6c757d;
}

.progress-step p {
    font-size: 0.9rem;
    color: #6c757d;
}

.progress-step.active span {
    background-color: #0055a5;
    color: white;
}

.progress-step.active p {
    color: #0055a5;
    font-weight: 600;
}

.progress-step.completed span {
    background-color: #28a745;
    color: white;
}

.progress-step.completed p {
    color: #28a745;
    font-weight: 600;
}

.form-container h2 {
    color: #0055a5;
    margin-bottom: 10px;
}

.subtitle {
    color: #6c757d;
    margin-bottom: 30px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #0055a5;
    box-shadow: 0 0 0 3px rgba(0, 85, 165, 0.1);
}

.card-type-selector {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.card-type {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.card-type:hover {
    border-color: #0055a5;
}

.card-type.active {
    border-color: #0055a5;
    background-color: rgba(0, 85, 165, 0.05);
}

.card-type img {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
}

.card-icons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.card-icons img {
    height: 20px;
    width: auto;
}

.cvv-help {
    position: relative;
    display: inline-block;
    margin-left: 10px;
}

.help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: #6c757d;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    cursor: help;
}

.cvv-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 150px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 10;
}

.cvv-help:hover .cvv-tooltip {
    opacity: 1;
    visibility: visible;
}

.cvv-tooltip img {
    max-width: 100%;
    margin-bottom: 5px;
}

.cvv-tooltip p {
    font-size: 0.8rem;
    color: #495057;
    margin: 0;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.security-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
    color: #6c757d;
    font-size: 0.9rem;
}

.security-note img {
    width: 16px;
    height: 16px;
}

.help-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.help-section a {
    color: #0055a5;
    text-decoration: none;
    font-weight: 600;
}

.help-section a:hover {
    text-decoration: underline;
}

/* Confirmation page */
.confirmation-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 40px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #28a745;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 20px;
}

.confirmation-container h2 {
    color: #28a745;
    margin-bottom: 15px;
}

.highlight {
    color: #0055a5;
    font-weight: 600;
}

.purchase-summary {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin: 30px 0;
    text-align: left;
}

.purchase-summary h3 {
    color: #0055a5;
    margin-bottom: 15px;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 10px;
}

.next-steps {
    text-align: left;
    margin-bottom: 30px;
}

.next-steps h3 {
    color: #0055a5;
    margin-bottom: 15px;
}

.next-steps p {
    margin-bottom: 10px;
}

.discount-saved {
    color: #28a745;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

#preloader.active {
    opacity: 1;
    visibility: visible;
}

.preloader-content {
    text-align: center;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #0055a5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        padding: 20px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .payment-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .features-grid,
    .methods-grid {
        grid-template-columns: 1fr;
    }
    
    .assistance-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        margin: 20px;
        padding: 20px;
    }
    
    .card-type-selector {
        flex-direction: column;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .confirmation-container {
        margin: 20px;
        padding: 20px;
    }
}