/* Estilos generales */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Paleta de colores principal */
    --primary-red-dark: #9A1815;  /* Rojo oscuro */
    --primary-red: #7D0809;       /* Rojo principal */
    --secondary-beige: #BBA38E;   /* Beige oscuro */
    --secondary-cream: #E6D7BE;   /* Crema claro */
    --dark: #070705;              /* Negro */
    --accent-blue: #457B9D;       /* Azul acento */
    
    /* Colores adicionales para la interfaz */
    --text-color: #333333;
    --light-text: #ffffff;
    --light-bg: #f9f7f4;
    --border-color: #e5e0d8;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --hover-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    --overlay: rgba(7, 7, 5, 0.7);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%; /* 1rem = 10px */
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #ffffff;
    font-size: 1.6rem;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 10rem 0;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    transition: var(--transition);
}

h1 {
    font-size: 4.8rem;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 3.6rem;
    letter-spacing: -0.3px;
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 2rem;
}

p {
    margin-bottom: 1.6rem;
    font-size: 1.6rem;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    border-radius: 0.8rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    font-size: 1.6rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--primary-red-dark);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--light-text);
    border: 2px solid var(--primary-red);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(125, 8, 9, 0.3);
    border-color: var(--primary-red-dark);
}

/* Secciones del Header */
.section-header {
    text-align: center;
    margin-bottom: 6rem;
    position: relative;
}

.section-header h2 {
    color: var(--primary-red);
    font-weight: 700;
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 6rem;
    height: 3px;
    background-color: var(--secondary-beige);
    transition: var(--transition);
}

.section-header:hover h2::after {
    width: 10rem;
}

.section-header p {
    font-size: 1.8rem;
    max-width: 70rem;
    margin: 0 auto;
    color: var(--text-color);
    opacity: 0.8;
    transition: var(--transition);
}

.section-header:hover p {
    opacity: 1;
}

/* Header y Navegación */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(7, 7, 5, 0.9);
    transition: var(--transition);
    padding: 0.5rem 4rem; /* Valor positivo y razonable */
    height: 10rem;
}

header.scrolled {
    padding: 1.5rem 4rem;
    background-color: rgba(7, 7, 5, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo-container a {
    display: flex;
    align-items: center;
}

.logo-container a img {
    height: 10rem;
    width: auto;
    margin-right: 1rem;
    transition: var(--transition);
}

.logo-container:hover img {
    transform: rotate(5deg);
}

.logo-container h1 {
    color: var(--light-text);
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 0;
}

.main-menu {
    display: flex;
    align-items: center;
}

.main-menu li {
    margin-left: 3rem;
    position: relative;
}

.main-menu a {
    color: var(--light-text);
    font-weight: 500;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    transition: var(--transition);
}

.main-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-beige);
    transition: var(--transition);
}

.main-menu a:hover::after,
.main-menu a.active::after {
    width: 100%;
}

.main-menu a:hover {
    color: var(--secondary-beige);
    transform: translateY(-2px);
}

.main-menu a.active {
    color: var(--secondary-beige);
}

.lang-switch {
    border: 1px solid var(--secondary-beige);
    padding: 0.5rem 1rem;
    border-radius: 0.4rem;
    transition: var(--transition);
}

.lang-switch:hover {
    background-color: var(--secondary-beige);
    color: var(--dark);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--light-text);
    font-size: 2.4rem;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-toggle:hover {
    transform: rotate(90deg);
}

/* Hero Section Enhanced */
.enhanced-hero {
    height: 60vh;
    min-height: 500px;
    background: linear-gradient(45deg, #070705, #9A1815);
    position: relative;
    overflow: hidden;
    margin-top: 8rem;
    display: flex;  
    align-items: center; 
    justify-content: center;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(7, 7, 5, 0.5), rgba(154, 24, 21, 0.4));
}

.hero-content {
    position: absolute;
    color: var(--light-text);
    z-index: 1;
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
    top: 50%;                
    left: 50%;              
    transform: translate(-50%, -50%); 
    width: 100%;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    color: var(--secondary-beige);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.text-gradient {
    background: linear-gradient(90deg, var(--secondary-beige), var(--secondary-cream));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content h2 {
    font-size: 4.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--light-text);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.8rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    color: rgba(255, 255, 255, 0.9);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    color: var(--secondary-beige);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.scroll-indicator i {
    color: var(--secondary-beige);
    font-size: 2rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Section Header Enhanced */
.section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-red);
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-header h2 {
    color: var(--primary-red);
    font-weight: 700;
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--primary-red);
}

.header-decoration-enhanced {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.header-decoration-enhanced span {
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-red);
    border-radius: 2px;
    position: relative;
}

.header-decoration-enhanced span:nth-child(2) {
    background: var(--secondary-beige);
    transform: scale(1.2);
}

.section-header p {
    font-size: 1.8rem;
    max-width: 70rem;
    margin: 0 auto;
    color: var(--text-color);
}

/* Filtros de líneas */
.lines-filter {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--border-color);
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
    transform: translateY(-2px);
}

/* Enhanced Line Cards */
.lines-grid.enhanced {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 5rem;
}

.line-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.card-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.line-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(154, 24, 21, 0.95), rgba(7, 7, 5, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s ease;
}

.overlay-content {
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s ease;
}

.explore-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: white;
    font-size: 1.8rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border: 2px solid white;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.explore-btn:hover {
    background: white;
    color: var(--primary-red);
}

.line-card:hover .card-overlay {
    opacity: 1;
}

.line-card:hover .overlay-content {
    transform: translateY(0);
    opacity: 1;
}

.line-card:hover .card-image img {
    transform: scale(1.1);
}

.line-content {
    padding: 3rem 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.content-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.line-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(154, 24, 21, 0.2);
    transition: all 0.3s ease;
}

.line-icon i {
    color: white;
    font-size: 2.4rem;
}

.line-card:hover .line-icon {
    transform: translateY(-5px) rotate(3deg);
    box-shadow: 0 15px 30px rgba(154, 24, 21, 0.3);
}

.line-tags {
    display: flex;
    gap: 0.8rem;
}

.tag {
    background: var(--light-bg);
    color: var(--primary-red);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 1.3rem;
    font-weight: 600;
}

.line-content h3 {
    font-size: 2.4rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.line-content p {
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.8;
    flex: 1;
}

.line-features {
    display: grid;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.line-features span {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-color);
    font-size: 1.4rem;
}

.line-features i {
    color: var(--primary-red);
    font-size: 1.2rem;
}

/* Estadísticas */
.lines-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-top: 8rem;
    padding: 4rem;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.stat-item {
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
}

.stat-item i {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-beige);
}

.stat-number {
    display: block;
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
}

.stat-text {
    font-size: 1.6rem;
    opacity: 0.9;
}

/* Enhanced Cobertura Section */
.cobertura-section {
    padding: 10rem 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.cobertura-wrapper {
    position: relative;
}

.cobertura-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-top: 4rem;
}

.mapa-container.enhanced {
    position: relative;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.colombia-map-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.colombia-map-img:hover {
    transform: scale(1.02);
}

.map-points.animated {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.map-point {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--primary-red);
    border: 3px solid white;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 0 rgba(154, 24, 21, 0.4);
}

.map-point.pulse {
    animation: pulsePoint 2s infinite;
}

@keyframes pulsePoint {
    0% {
        box-shadow: 0 0 0 0 rgba(154, 24, 21, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(154, 24, 21, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(154, 24, 21, 0);
    }
}

.map-point:hover {
    transform: scale(1.5);
    background: var(--secondary-beige);
}

.map-point::after {
    content: attr(data-city);
    position: absolute;
    bottom: 150%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-red);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 1.4rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.map-point::before {
    content: attr(data-info);
    position: absolute;
    top: 150%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark);
    color: var(--secondary-beige);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 1.2rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.map-point:hover::after,
.map-point:hover::before {
    opacity: 1;
    visibility: visible;
}

.map-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.connection-lines {
    width: 100%;
    height: 100%;
}

.connection-path {
    stroke: var(--primary-red);
    stroke-width: 1.5;
    stroke-dasharray: 5, 5;
    fill: none;
    opacity: 0.3;
    animation: dashFlow 20s linear infinite;
}

@keyframes dashFlow {
    from {
        stroke-dashoffset: 0;
    }
    to {
        stroke-dashoffset: -50;
    }
}

.ciudades-container.enhanced {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.ciudades-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.ciudad-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.ciudad-card:hover,
.ciudad-card.active {
    transform: translateY(-5px);
    border-color: var(--primary-red);
    box-shadow: 0 10px 20px rgba(154, 24, 21, 0.1);
}

.city-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.city-icon i {
    color: white;
    font-size: 2.4rem;
}

.ciudad-card:hover .city-icon,
.ciudad-card.active .city-icon {
    transform: scale(1.1);
}

.ciudad-card h4 {
    font-size: 1.8rem;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.ciudad-card p {
    font-size: 1.4rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.city-details {
    font-size: 1.3rem;
    color: var(--secondary-beige);
    font-weight: 600;
}

.cobertura-cta {
    text-align: center;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.cobertura-cta h3 {
    font-size: 2.4rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.cobertura-cta p {
    font-size: 1.6rem;
    color: var(--text-color);
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--light-text);
    padding: 8rem 5rem 2rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.02) 0%,
        transparent 100%
    );
    pointer-events: none;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 5rem;
    margin-bottom: 5rem;
}

.footer-logo h2 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
    color: var(--light-text);
    transition: var(--transition);
}

.footer-logo:hover h2 {
    color: var(--secondary-beige);
}

.footer-logo p {
    font-size: 1.5rem;
    color: #aaa;
    max-width: 30rem;
    transition: var(--transition);
}

.footer-logo:hover p {
    color: #ddd;
}

.footer-links h3,
.footer-social h3,
.footer-contact h3 {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    color: var(--light-text);
    position: relative;
    padding-bottom: 1rem;
}

.footer-links h3::after,
.footer-social h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 5rem;
    height: 2px;
    background-color: var(--primary-red);
    transition: var(--transition);
}

.footer-links h3:hover::after,
.footer-social h3:hover::after,
.footer-contact h3:hover::after {
    width: 8rem;
}

.footer-links ul li {
    margin-bottom: 1.2rem;
}

.footer-links ul li a {
    color: #aaa;
    font-size: 1.5rem;
    transition: var(--transition);
    position: relative;
}

.footer-links ul li a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--secondary-beige);
    padding-left: 2rem;
}

.footer-links ul li a:hover::before {
    opacity: 1;
    left: 0;
}

.footer-social p {
    color: #aaa;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.social-icons {
    display: flex;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    margin-right: 1rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.social-icons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-red);
    transform: scale(0);
    transition: var(--transition);
    border-radius: 50%;
}

.social-icons a:hover::before {
    transform: scale(1);
}

.social-icons a i {
    font-size: 1.8rem;
    color: var(--light-text);
    transition: var(--transition);
    z-index: 1;
}

.social-icons a:hover i {
    transform: scale(1.2);
}

.footer-contact p {
    color: #aaa;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.footer-contact p:hover {
    color: #ddd;
    transform: translateX(5px);
}

.footer-contact p i {
    margin-right: 1rem;
    color: var(--primary-red);
    transition: var(--transition);
}

.footer-contact p:hover i {
    transform: rotate(15deg);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: #777;
    font-size: 1.4rem;
    transition: var(--transition);
}

.footer-bottom p:hover {
    color: #aaa;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    width: 6rem;
    height: 6rem;
    background-color: #25D366;
    color: var(--light-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    z-index: 100;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Botón Volver Arriba */
.scroll-top-btn {
    position: fixed;
    bottom: 3rem;
    right: 10rem;
    width: 5rem;
    height: 5rem;
    background-color: var(--primary-red);
    color: var(--light-text);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(154, 24, 21, 0.3);
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background-color: var(--primary-red-dark);
    transform: translateY(-5px);
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.animate-on-scroll.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Efecto de delay para las tarjetas */
.line-card {
    opacity: 0;
    transform: translateY(30px);
}

.line-card.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.line-card:nth-child(1) { transition-delay: 0.1s; }
.line-card:nth-child(2) { transition-delay: 0.2s; }
.line-card:nth-child(3) { transition-delay: 0.3s; }
.line-card:nth-child(4) { transition-delay: 0.4s; }
.line-card:nth-child(5) { transition-delay: 0.5s; }
.line-card:nth-child(6) { transition-delay: 0.6s; }

/* Media queries para responsividad */
@media (max-width: 1200px) {
    html {
        font-size: 56.25%; /* 1rem = 9px */
    }
    
    .lines-grid.enhanced {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ciudades-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    html {
        font-size: 50%; /* 1rem = 8px */
    }
    
    .main-header {
        padding: 1.5rem 2rem;
    }
    
    .enhanced-hero {
        height: 50vh;
    }
    
    .lines-grid.enhanced {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .cobertura-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .mapa-container {
        max-width: 100%;
    }
    
    .lines-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--dark);
        transition: right 0.3s ease;
        padding: 10rem 2rem;
    }
    
    .main-nav.active {
        right: 0;
    }
    .main-menu {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .main-menu li {
        margin: 1rem 0;
    }
    
    .lines-grid.enhanced {
        grid-template-columns: 1fr;
    }
    
    .ciudades-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .enhanced-hero {
        height: 40vh;
        min-height: 350px;
    }
    
    .lines-stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 3rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 6rem 0;
    }
    
    .enhanced-hero {
        height: 30vh;
        min-height: 250px;
        margin-top: 6rem;
    }
    
    .hero-content h2 {
        font-size: 3.2rem;
    }
    
    .section-header h2 {
        font-size: 3rem;
    }
    
    .line-card {
        margin: 0 auto;
        max-width: 350px;
    }
    
    .card-image {
        height: 200px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links h3::after,
    .footer-social h3::after,
    .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-social .social-icons {
        justify-content: center;
    }
    .footer-logo p {
        text-align: center;
        max-width: 50rem;
    }

    .footer-logo {
        text-align: center;
        width: 100%;
    }

    .footer-contact p {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .lines-stats {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-btn {
        bottom: 2rem;
        right: 2rem;
        width: 5rem;
        height: 5rem;
        font-size: 2.4rem;
    }
    
    .scroll-top-btn {
        right: 8rem;
    }
    
    .lines-filter {
        gap: 1rem;
    }
    
    .filter-btn {
        padding: 0.8rem 2rem;
        font-size: 1.4rem;
    }
}

@media (max-width: 400px) {
    .hero-content h2 {
        font-size: 2.8rem;
    }
    
    .section-header h2 {
        font-size: 2.6rem;
    }
    
    .line-content {
        padding: 2rem 1.5rem;
    }
    
    .line-icon {
        width: 60px;
        height: 60px;
    }
    
    .line-icon i {
        font-size: 2rem;
    }
    
    .line-content h3 {
        font-size: 2rem;
    }
}