/* main.css - Estilos principales AVN Perú */

/* Variables de colores */
:root {
    --primary-blue: #003366;
    --primary-dark: #002244;
    --primary-light: #0066FF;
    --accent-orange: #FF6B35;
    --gray: #6B7280;
    --light-gray: #F5F5F5;
    --white: #FFFFFF;
    --text-dark: #1F2937;
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

@font-face {
    font-family: 'CompassPoint';
    src: url('../assets/font/CompassPoint.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'VandalStreet';
    src: url('../assets/font/VandalStreet-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'AcornBrush';
    src: url('../assets/font/AcornBrush.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Reset y base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

/* Top Bar */
.top-bar {
    background: #0098db;
    color: var(--white);
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.top-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 2rem;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
}

.distributor-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.75rem;
    color: var(--gray);
    border-right: 1px solid #E5E7EB;
    padding-right: 2rem;
    white-space: nowrap;
}

.logo {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s;
}

.logo:hover {
    color: var(--primary-light);
}

/* Logo responsive */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-image {
    height: 50px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

/* Ajustes responsive para el logo */
@media (max-width: 1200px) {
    .logo-image {
        height: 45px;
        max-width: 160px;
    }
}

@media (max-width: 768px) {
    .logo-image {
        height: 40px;
        max-width: 140px;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 35px;
        max-width: 120px;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.nav-menu a:hover {
    background: rgba(0, 51, 102, 0.1);
    color: var(--primary-blue);
}

.sales-contact {
    text-align: right;
}

.sales-label {
    font-size: 0.875rem;
    color: var(--gray);
}

.sales-phone {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-orange);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 51, 102, 52%), rgba(0, 51, 102, 81%)), 
                url('../assets/images/ban1.png') center/cover no-repeat;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-20px, 20px) rotate(5deg); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: var(--white);
}

.hero-title {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.hero-subtitle {
    /* font-family: 'AcornBrush', sans-serif; */
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.promo-card {
    background: var(--white);
    border-radius: 20px;
    padding: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
}

.promo-speed {
    background: var(--accent-orange);
    color: var(--white);
    padding: 1.2rem;
    border-radius: 15px;
    text-align: center;
    min-width: 180px;
}

.speed-main {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    /* margin-bottom: 0.5rem; */
}

.speed-number {
    font-family: 'CompassPoint', sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1;    
}

.speed-unit {
    font-family: 'CompassPoint', sans-serif;
    font-size: 2.2rem;
    align-self: flex-end;
    margin-bottom: 0.5rem;
}

.speed-extra {
    display: flex;
    align-items: center;
    justify-content: center;
    /* gap: 0.5rem; */
}

.channel-number {
    /* font-family: 'CompassPoint', sans-serif; */
    font-size: 2.5rem;
    font-weight: 800;
    position: relative;
    top: -8px;
}

.channel-number2 {
    font-family: 'CompassPoint', sans-serif;
    font-size: 3.5rem;    
}

.tv-info {
    font-family: 'CompassPoint', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.875rem;
    line-height: 1.2;
}

.promo-details {
    flex: 1;
}

.promo-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.price-regular {
    font-size: 0.875rem;
    color: var(--gray);
    text-decoration: line-through;
    position: relative;
    bottom: -25px;
}

.price-promo {
    font-family: 'CompassPoint', sans-serif;
    font-size: 5.8rem;    
    color: var(--primary-blue);
}

.price-currency {    
    font-size: 2.5rem;
    color: #003366;
    font-weight: 800;    
    position: relative;
    bottom: 35px;
}

.price-decimal {
    font-family: 'CompassPoint', sans-serif;
    font-size: 2.5rem;
    color: #003366;    
    bottom: 35px;
    position: relative;
    left: -10px;
}
.price-decimal2 {    
    font-size: 2.5rem;
    color: #003366;
    font-weight: 800;
    position: relative;
    bottom: 35px;
}

.promo-duration {
    background: #E3F2FD;
    color: #1976D2;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    display: inline-block;
}

.cta-button {
    background: var(--accent-orange);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
}

.terms-link {
    color: var(--white);
    font-size: 0.875rem;
    margin-top: 1rem;
    display: inline-block;
    text-decoration: underline;
}

/* Form Card */
.form-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.form-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.form-header h3 {
    color: var(--accent-orange);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #E5E7EB;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.form-checkbox {
    display: flex;
    align-items: start;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.75rem;
    color: var(--gray);
}

.form-checkbox input {
    margin-top: 0.25rem;
}

.form-submit {
    width: 100%;
    background: var(--accent-orange);
    color: var(--white);
    padding: 1rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.form-submit:hover {
    background: #E55A2B;
    transform: translateY(-2px);
}

.form-schedule {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--gray);
}

/* Plans Section */
.plans-section {
    padding: 4rem 0;
    background: var(--light-gray);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.plan-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.plan-header {
    padding: 1.5rem;
    text-align: center;
    color: var(--white);
}

.plan-header.blue {
    background: var(--primary-blue);
}

.plan-header.orange {
    background: var(--accent-orange);
}

.plan-type {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.plan-speed {
    font-size: 2.5rem;
    font-weight: 800;
}

.plan-body {
    padding: 2rem;
    text-align: center;
}

.plan-description {
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

.plan-price {
    margin-bottom: 1.5rem;
}

.price-main {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

.price-detail {
    font-size: 0.875rem;
    color: var(--gray);
}

.plan-button {
    width: 100%;
    padding: 0.75rem;
    background: var(--accent-orange);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: block;
}

.plan-button:hover {
    background: #E55A2B;
    transform: translateY(-2px);
}

.featured-plan {
    grid-column: span 2;
    background: var(--primary-blue);
    color: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.featured-plan h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.featured-price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

/* Benefits Section */
.benefits-section {
    padding: 4rem 0;
    background: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.benefit-item {
    text-align: center;
    padding: 1rem;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: rgba(0, 51, 102, 0.1);
    border: 3px solid var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: all 0.3s;
}

.benefit-item:hover .benefit-icon {
    background: var(--primary-blue);
    transform: scale(1.1);
}

.benefit-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.benefit-item p {
    color: var(--gray);
    font-size: 0.875rem;
}

/* Payment Methods */
.payment-section {
    background: #E0F2FE;
    padding: 2rem 0;
}

.payment-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.payment-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.payment-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.payment-method {
    padding: 0.5rem 1rem;
    background: var(--white);
    border-radius: 5px;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.payment-method:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: var(--light-gray);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.faq-item {
    background: var(--white);
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: all 0.3s;
}

.faq-question:hover {
    background: rgba(0, 51, 102, 0.05);
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-blue);
    transition: transform 0.3s;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* Price Table */
.price-table-section {
    padding: 4rem 0;
    background: var(--white);
}

.price-table {
    max-width: 1000px;
    margin: 2rem auto;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.table-header {
    background: var(--primary-blue);
    color: var(--white);
    padding: 1.5rem;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #E5E7EB;
}

th {
    background: var(--light-gray);
    font-weight: 600;
    color: var(--text-dark);
}

tr:hover {
    background: rgba(0, 51, 102, 0.05);
}

.price-cell {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 1.25rem;
}

/* Footer CTA */
.footer-cta {
    background: var(--primary-blue);
    padding: 3rem 0;
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 3rem 0 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    padding: 0.25rem 0;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}