/* ============================================
   M&B GARAGE - ESTILOS COMPLETOS
   css/styles.css
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #a2ff00;
    --dark-bg: #0a0a0a;
    --light-bg: #1a1a1a;
    --white: #ffffff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--white);
    background: var(--dark-bg);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Header */
header {
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(162, 255, 0, 0.1);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s;
}

header.scrolled {
    padding: 0.7rem 0;
    border-bottom: 2px solid var(--primary-green);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.8);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.logo-container img {
    height: 50px;
    width: auto;
    transition: all 0.3s;
}

header.scrolled .logo-container img {
    height: 40px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: width 0.3s;
}

nav a:hover,
nav a.active {
    color: var(--primary-green);
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 30px;
    height: 3px;
    background: var(--white);
    transition: all 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 8rem 2rem 2rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    background: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(162, 255, 0, 0.03) 2px, rgba(162, 255, 0, 0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(162, 255, 0, 0.03) 2px, rgba(162, 255, 0, 0.03) 4px);
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(4px, 4px); }
}

.hero-content {
    max-width: 1200px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: rgba(162, 255, 0, 0.1);
    border: 2px solid var(--primary-green);
    border-radius: 50px;
    color: var(--primary-green);
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--primary-green) 0%, #7ed321 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    font-style: italic;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-keywords {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.keyword-pill {
    padding: 0.6rem 1.5rem;
    background: rgba(162, 255, 0, 0.05);
    border: 1px solid rgba(162, 255, 0, 0.3);
    border-radius: 30px;
    color: var(--primary-green);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s;
}

.keyword-pill:hover {
    background: rgba(162, 255, 0, 0.15);
    transform: translateY(-3px);
}

.brands-showcase {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.brand-item {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 3px;
    opacity: 0.6;
    transition: all 0.4s;
    cursor: default;
}

.brand-item:hover {
    opacity: 1;
    color: var(--primary-green);
    transform: scale(1.1);
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 1s both;
}

/* Buttons */
.btn-primary {
    padding: 1.3rem 3rem;
    background: var(--primary-green);
    color: var(--dark-bg);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s;
    border: none;
    cursor: pointer;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--white);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 400px;
    height: 400px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(162, 255, 0, 0.4);
}

.btn-primary span {
    position: relative;
    z-index: 1;
}

.btn-secondary {
    padding: 1.3rem 3rem;
    background: transparent;
    color: var(--white);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(162, 255, 0, 0.2);
}

.btn-whatsapp {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #25D366;
    color: white;
    text-decoration: none;
    font-weight: 700;
    border-radius: 30px;
    transition: all 0.3s;
    font-size: 0.95rem;
    margin-top: 1rem;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
}

.btn-large {
    padding: 1.5rem 4rem;
    font-size: 1.1rem;
}

.btn-form {
    width: 100%;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 2rem;
}

.page-header {
    padding: 10rem 2rem 4rem;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-green), transparent);
}

.page-header h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -2px;
}

.page-header p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
}

.accent {
    color: var(--primary-green);
    font-style: italic;
}

/* Social Media Section */
.social-media-section {
    padding: 4rem 2rem;
    background: var(--light-bg);
    text-align: center;
}

.social-media-section h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.social-media-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.social-icon {
    width: 70px;
    height: 70px;
    background: var(--dark-bg);
    border: 2px solid rgba(162, 255, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: all 0.4s;
    text-decoration: none;
    color: var(--white);
}

.social-icon:hover {
    background: var(--primary-green);
    color: var(--dark-bg);
    transform: scale(1.15);
    border-color: var(--primary-green);
}

.video-embed-container {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.video-placeholder {
    aspect-ratio: 9/16;
    background: var(--dark-bg);
    border: 2px solid rgba(162, 255, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    transition: all 0.3s;
    color: rgba(255, 255, 255, 0.5);
}

.video-placeholder:hover {
    border-color: var(--primary-green);
}

.video-placeholder span {
    font-size: 3rem;
}

/* Servicios Page */
.servicios-page {
    padding: 6rem 2rem;
    background: var(--dark-bg);
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.servicio-card {
    background: var(--light-bg);
    padding: 3rem 2.5rem;
    border-left: 4px solid var(--primary-green);
    transition: all 0.4s;
}

.servicio-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 40px rgba(162, 255, 0, 0.2);
}

.servicio-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.servicio-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.servicio-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.servicio-incluye {
    list-style: none;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: rgba(162, 255, 0, 0.05);
    border-left: 3px solid var(--primary-green);
}

.servicio-incluye li {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    padding-left: 1.5rem;
}

.servicio-incluye li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

.cta-section {
    text-align: center;
    margin-top: 5rem;
    padding: 4rem 2rem;
    background: var(--light-bg);
    border-top: 2px solid var(--primary-green);
}

.cta-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Equipo Page */
.equipo-page {
    padding: 6rem 2rem;
    background: var(--dark-bg);
}

.team-intro {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.team-member-card {
    background: var(--light-bg);
    padding: 3rem 2.5rem;
    transition: all 0.4s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.team-member-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-green);
    box-shadow: 0 15px 40px rgba(162, 255, 0, 0.2);
}

.team-photo-container {
    width: 180px;
    height: 180px;
    margin: 0 auto 2rem;
}

.team-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-green);
    background: var(--dark-bg);
}

.team-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.team-role {
    color: var(--primary-green);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 700;
}

.team-certifications {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.cert-badge {
    padding: 0.5rem 1rem;
    background: rgba(162, 255, 0, 0.1);
    border: 1px solid rgba(162, 255, 0, 0.3);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--primary-green);
}

.team-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: center;
}

.team-specialties {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(162, 255, 0, 0.05);
    border-left: 3px solid var(--primary-green);
}

.team-specialties h4 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.team-specialties ul {
    list-style: none;
}

.team-specialties li {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    padding-left: 1.5rem;
}

.team-specialties li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

.team-video-embed {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.team-video-placeholder {
    aspect-ratio: 16/9;
    background: var(--dark-bg);
    border: 2px dashed rgba(162, 255, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
    padding: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Galería Page */
.galeria-page {
    padding: 6rem 2rem;
    background: var(--dark-bg);
}

.gallery-intro {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 2rem;
    background: var(--light-bg);
    color: var(--white);
    border: 2px solid rgba(162, 255, 0, 0.2);
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    font-size: 0.85rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-green);
    color: var(--dark-bg);
    border-color: var(--primary-green);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.gallery-item {
    background: var(--light-bg);
    border: 2px solid rgba(162, 255, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s;
}

.gallery-item:hover {
    border-color: var(--primary-green);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(162, 255, 0, 0.3);
}

.gallery-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--dark-bg);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(162, 255, 0, 0.3);
}

.gallery-date {
    color: var(--primary-green);
    font-size: 0.85rem;
    font-weight: 600;
}

.gallery-content {
    padding: 2rem;
}

.gallery-brand-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.mercedes-tag {
    background: rgba(0, 174, 239, 0.2);
    color: #00aeef;
    border: 1px solid #00aeef;
}

.bmw-tag {
    background: rgba(0, 112, 187, 0.2);
    color: #0070bb;
    border: 1px solid #0070bb;
}

.porsche-tag {
    background: rgba(214, 10, 10, 0.2);
    color: #d60a0a;
    border: 1px solid #d60a0a;
}

.gallery-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.gallery-content p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.gallery-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.meta-item {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.gallery-cta {
    text-align: center;
    margin-top: 5rem;
    padding: 4rem 2rem;
    background: var(--light-bg);
}

.gallery-cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.gallery-cta p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Ubicación Page - Continuación en siguiente mensaje por límite de caracteres */

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    box-shadow: 0 6px 40px rgba(37, 211, 102, 0.6);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 35px;
    transition: all 0.4s;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid #25D366;
    animation: pulseRing 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 50px rgba(37, 211, 102, 0.8);
}

@keyframes pulseRing {
    0%, 100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.6);
    }
}

/* Footer */
footer {
    background: var(--dark-bg);
    padding: 3rem 2rem 1.5rem;
    border-top: 2px solid rgba(162, 255, 0, 0.2);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    text-align: center;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-links h4,
.footer-social h4 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--primary-green);
    padding-left: 5px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    color: var(--primary-green);
}

/* Ubicación Page */
.ubicacion-page {
    padding: 6rem 2rem;
    background: var(--dark-bg);
}

.ubicacion-info-box {
    max-width: 800px;
    margin: 0 auto 4rem;
    padding: 3rem;
    background: var(--light-bg);
    border-left: 4px solid var(--primary-green);
}

.info-highlight {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.info-icon {
    font-size: 4rem;
    color: var(--primary-green);
}

.info-highlight h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.direccion-principal {
    font-size: 1.3rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.map-section {
    margin: 4rem 0;
}

.map-section h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
}

.map-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border: 3px solid var(--primary-green);
    box-shadow: 0 10px 50px rgba(162, 255, 0, 0.3);
    margin-bottom: 4rem;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.como-llegar-section {
    margin: 4rem 0;
}

.como-llegar-section h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 3rem;
}

.acceso-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.acceso-card {
    background: var(--light-bg);
    padding: 2.5rem;
    border-left: 4px solid var(--primary-green);
    transition: all 0.3s;
}

.acceso-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(162, 255, 0, 0.2);
}

.acceso-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.acceso-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.acceso-card h4 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.acceso-card ul {
    list-style: none;
    margin: 0.5rem 0;
}

.acceso-card li {
    padding: 0.3rem 0;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    padding-left: 1.5rem;
}

.acceso-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-green);
}

.acceso-card li strong {
    color: var(--white);
}

.acceso-note {
    margin-top: 1rem;
    padding: 0.8rem;
    background: rgba(162, 255, 0, 0.1);
    border-left: 3px solid var(--primary-green);
    color: var(--primary-green);
    font-size: 0.9rem;
}

.info-horarios {
    margin: 4rem 0;
}

.horarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.horario-card {
    background: var(--light-bg);
    padding: 2.5rem;
    text-align: center;
    border-top: 3px solid var(--primary-green);
}

.horario-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.horario-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-green);
}

.horario-detalle p,
.contacto-items p {
    margin: 1rem 0;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.horario-detalle strong,
.contacto-items strong {
    color: var(--white);
    display: block;
}

.horario-card a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
}

.horario-card a:hover {
    text-decoration: underline;
}

.nota-horario {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.horario-card ul {
    text-align: left;
    list-style: none;
    margin-top: 1rem;
}

.horario-card li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.horario-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
}

.agendamiento-section {
    margin: 5rem 0;
}

.agendamiento-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 3rem;
    background: var(--light-bg);
    text-align: center;
    border: 2px solid var(--primary-green);
    box-shadow: 0 10px 50px rgba(162, 255, 0, 0.2);
}

.agendamiento-box h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.agendamiento-box > p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.agendamiento-beneficios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0 3rem;
}

.beneficio-item {
    padding: 1rem;
    background: rgba(162, 255, 0, 0.1);
    border: 1px solid rgba(162, 255, 0, 0.3);
    color: var(--primary-green);
    font-weight: 600;
}

.agendamiento-nota {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.cobertura-section {
    margin: 4rem 0;
    padding: 3rem 2rem;
    background: var(--light-bg);
    text-align: center;
}

.cobertura-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.cobertura-section > p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
}

.comunas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

.comuna-item {
    padding: 1rem;
    background: var(--dark-bg);
    border-left: 3px solid var(--primary-green);
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s;
}

.comuna-item:hover {
    background: rgba(162, 255, 0, 0.05);
    transform: translateX(5px);
}

/* Empresas Page */
.empresas-page {
    padding: 6rem 2rem;
    background: var(--dark-bg);
}

.empresas-intro {
    max-width: 1000px;
    margin: 0 auto 4rem;
    text-align: center;
}

.empresas-intro h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
}

.intro-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.tipos-flota-section {
    margin: 4rem 0;
}

.tipos-flota-section h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 3rem;
}

.flota-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.flota-card {
    background: var(--light-bg);
    padding: 2.5rem;
    border-left: 4px solid var(--primary-green);
    transition: all 0.4s;
}

.flota-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 40px rgba(162, 255, 0, 0.2);
}

.flota-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.flota-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.flota-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.flota-lista {
    list-style: none;
    margin-top: 1.5rem;
}

.flota-lista li {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    padding-left: 1.5rem;
}

.flota-lista li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

.beneficios-corporativos {
    margin: 5rem 0;
}

.beneficios-corporativos h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 3rem;
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.beneficio-card {
    background: var(--light-bg);
    padding: 2.5rem;
    border-top: 3px solid var(--primary-green);
    transition: all 0.3s;
}

.beneficio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(162, 255, 0, 0.2);
}

.beneficio-numero {
    font-size: 3rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 2px var(--primary-green);
    margin-bottom: 1rem;
}

.beneficio-card:hover .beneficio-numero {
    color: var(--primary-green);
    -webkit-text-stroke: 0;
}

.beneficio-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.beneficio-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.cta-empresas-principal {
    margin: 5rem 0;
    padding: 4rem 3rem;
    background: var(--light-bg);
    border: 3px solid var(--primary-green);
    box-shadow: 0 15px 60px rgba(162, 255, 0, 0.3);
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

.cta-content > p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.cta-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0 3rem;
}

.cta-feature {
    padding: 1rem;
    background: rgba(162, 255, 0, 0.1);
    border: 1px solid rgba(162, 255, 0, 0.3);
    color: var(--primary-green);
    font-weight: 600;
}

.cta-buttons-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-note {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
}

.cta-note a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
}

.cta-note a:hover {
    text-decoration: underline;
}

.empresas-confian {
    margin: 5rem 0;
    text-align: center;
}

.empresas-confian h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.empresas-confian .subtitle {
    margin-bottom: 3rem;
}

.sectores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.sector-item {
    padding: 1.5rem;
    background: var(--light-bg);
    border-left: 3px solid var(--primary-green);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    transition: all 0.3s;
}

.sector-item:hover {
    background: rgba(162, 255, 0, 0.05);
    transform: translateX(5px);
}

/* Contacto Page */
.contacto-page {
    padding: 6rem 2rem;
    background: var(--dark-bg);
}

.redes-principales {
    margin: 4rem 0;
}

.redes-principales h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.redes-principales .subtitle {
    margin-bottom: 4rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.redes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.red-social-card {
    background: var(--light-bg);
    padding: 3rem 2.5rem;
    text-align: center;
    transition: all 0.4s;
    text-decoration: none;
    color: var(--white);
    display: block;
    border: 2px solid transparent;
}

.red-social-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}

.red-social-card.instagram-card {
    border-top: 4px solid #E4405F;
}

.red-social-card.instagram-card:hover {
    border-color: #E4405F;
    box-shadow: 0 15px 50px rgba(228, 64, 95, 0.3);
}

.red-social-card.facebook-card {
    border-top: 4px solid #1877F2;
}

.red-social-card.facebook-card:hover {
    border-color: #1877F2;
    box-shadow: 0 15px 50px rgba(24, 119, 242, 0.3);
}

.red-social-card.tiktok-card {
    border-top: 4px solid #000000;
}

.red-social-card.tiktok-card:hover {
    border-color: #00f2ea;
    box-shadow: 0 15px 50px rgba(0, 242, 234, 0.3);
}

.red-social-card.whatsapp-card {
    border-top: 4px solid #25D366;
}

.red-social-card.whatsapp-card:hover {
    border-color: #25D366;
    box-shadow: 0 15px 50px rgba(37, 211, 102, 0.3);
}

.red-social-card.linkedin-card {
    border-top: 4px solid #0077B5;
}

.red-social-card.linkedin-card:hover {
    border-color: #0077B5;
    box-shadow: 0 15px 50px rgba(0, 119, 181, 0.3);
}

.red-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.red-social-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.red-handle {
    color: var(--primary-green);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.red-descripcion {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.red-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.red-stats span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.btn-red-social {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-green);
    color: var(--dark-bg);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.red-social-card:hover .btn-red-social {
    background: var(--white);
}

.formulario-contacto-section {
    margin: 5rem 0;
}

.formulario-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    background: var(--light-bg);
    padding: 3rem;
}

.formulario-info h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.formulario-info > p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contacto-directo {
    margin-top: 2rem;
}

.contacto-directo h4 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.contacto-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contacto-icon {
    font-size: 1.5rem;
    color: var(--primary-green);
    min-width: 30px;
}

.contacto-item strong {
    display: block;
    color: var(--white);
    margin-bottom: 0.3rem;
}

.contacto-item p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.contacto-item a {
    color: var(--primary-green);
    text-decoration: none;
}

.contacto-item a:hover {
    text-decoration: underline;
}

.formulario-form {
    background: var(--dark-bg);
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-green);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    background: var(--light-bg);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-green);
    background: rgba(162, 255, 0, 0.05);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

.razones-contacto {
    margin: 5rem 0;
}

.razones-contacto h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 3rem;
}

.razones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.razon-item {
    text-align: center;
    padding: 2rem;
    background: var(--light-bg);
    transition: all 0.3s;
}

.razon-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(162, 255, 0, 0.2);
}

.razon-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.razon-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-green);
}

.razon-item p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.cta-final-contacto {
    text-align: center;
    margin: 5rem 0;
    padding: 4rem 2rem;
    background: var(--light-bg);
}

.cta-final-contacto h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.cta-final-contacto p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive - Tablets */
@media (max-width: 1024px) {
    nav {
        padding: 0 2rem;
    }

    .hero {
        padding: 7rem 1.5rem 3rem;
    }

    .formulario-wrapper {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    nav ul {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: left 0.3s;
        border-top: 2px solid var(--primary-green);
    }

    nav ul.active {
        left: 0;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        min-height: 90vh;
        padding: 6rem 1rem 3rem;
    }

    .brands-showcase {
        gap: 1.5rem;
    }

    .brand-item {
        font-size: 1rem;
    }

    .social-icons {
        gap: 1.5rem;
    }

    .social-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .cta-group,
    .cta-buttons,
    .cta-buttons-group {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .btn-primary,
    .btn-secondary,
    .btn-whatsapp {
        width: 100%;
        text-align: center;
        padding: 1.2rem 2rem;
    }

    section,
    .servicios-page,
    .equipo-page,
    .galeria-page,
    .ubicacion-page,
    .empresas-page,
    .contacto-page {
        padding: 4rem 1.5rem;
    }

    .page-header {
        padding: 8rem 1.5rem 3rem;
    }

    .servicios-grid,
    .team-grid,
    .gallery-grid,
    .flota-grid,
    .beneficios-grid,
    .redes-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .acceso-grid,
    .horarios-grid {
        grid-template-columns: 1fr;
    }

    .servicio-card,
    .team-member-card,
    .flota-card,
    .beneficio-card {
        padding: 2rem 1.5rem;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }

    .formulario-wrapper {
        padding: 1.5rem;
    }

    .formulario-form {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .info-highlight {
        flex-direction: column;
        text-align: center;
    }

    .contacto-item {
        flex-direction: column;
        text-align: center;
    }

    .video-embed-container {
        grid-template-columns: 1fr;
    }

    .agendamiento-box {
        padding: 2.5rem 1.5rem;
    }

    .agendamiento-beneficios {
        grid-template-columns: 1fr;
    }

    .cta-empresas-principal {
        padding: 2.5rem 1.5rem;
    }

    .cta-features {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-links ul,
    .social-links {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-subtitle {
        letter-spacing: 2px;
    }

    .hero-keywords {
        gap: 0.7rem;
    }
    
    .keyword-pill {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }
    
    .brands-showcase {
        gap: 1rem;
    }
    
    .brand-item {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }
    
    .servicio-icon,
    .flota-icon {
        font-size: 2.5rem;
    }
    
    .servicio-card h3,
    .flota-card h3,
    .beneficio-card h3 {
        font-size: 1.3rem;
    }
    
    .team-photo {
        width: 180px;
        height: 180px;
    }
    
    .cert-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    .gallery-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .ubicacion-info-box {
        padding: 1.5rem;
    }
    
    .direccion-principal {
        font-size: 1rem;
    }
    
    .map-container {
        height: 300px;
    }
    
    .sectores-grid,
    .comunas-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .sector-item,
    .comuna-item {
        font-size: 0.9rem;
        padding: 0.8rem 1rem;
    }
    
    .cta-empresas-principal h2 {
        font-size: 1.8rem;
    }
    
    .beneficio-numero {
        font-size: 2.5rem;
    }
    
    .footer-logo img {
        height: 35px;
    }
    
    .footer-links h4,
    .footer-social h4 {
        font-size: 1rem;
    }
    
    .social-media-section h2,
    .cta-section h2,
    .razones-contacto h2 {
        font-size: 1.8rem;
    }
    
    .video-placeholder {
        height: 250px;
    }
    
    .red-social-card {
        padding: 1.5rem;
    }
    
    .btn-large {
        padding: 1.2rem 2rem;
        font-size: 0.95rem;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.6rem 1.5rem;
        letter-spacing: 2px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-whatsapp {
        padding: 1rem 1.5rem;
        font-size: 0.85rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    nav {
        padding: 0 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}

/* Print Styles */
@media print {
    header,
    .whatsapp-float,
    .btn-primary,
    .btn-secondary,
    .btn-whatsapp,
    .cta-group,
    .cta-buttons,
    .cta-buttons-group {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero,
    .page-header {
        page-break-after: always;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-green: #00ff00;
    }
    
    .btn-primary,
    .btn-secondary {
        border-width: 3px;
    }
    
    nav a::after {
        height: 3px;
    }
}

/* Dark Mode Support (si se implementa en el futuro) */
@media (prefers-color-scheme: light) {
    /* Los estilos ya están optimizados para modo oscuro */
    /* Esta sección está lista para agregar variantes claras si se necesita */
}

/* Utilidades de Accesibilidad */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-green);
    color: var(--dark-bg);
    padding: 1rem;
    text-decoration: none;
    font-weight: bold;
    z-index: 100;
}

.skip-to-content:focus {
    top: 0;
}

/* Focus Visible para mejor accesibilidad de teclado */
*:focus-visible {
    outline: 3px solid var(--primary-green);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid var(--primary-green);
    outline-offset: 3px;
}

/* Smooth Scrolling con respeto a las preferencias del usuario */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}
/* ============================================
   VIDEOS CON AUTOPLAY Y CONTROLES - MEJORADO
   ============================================ */

.video-embed-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.video-wrapper {
    position: relative;
    background: var(--light-bg);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    aspect-ratio: 9/16; /* Formato vertical (Stories/Reels) */
    max-height: 600px; /* Altura máxima */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.video-wrapper:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(162, 255, 0, 0.4);
}

.auto-play-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-controls {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
}

.volume-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.volume-btn:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
    transform: scale(1.15);
    color: var(--dark-bg);
}

.volume-btn.unmuted {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: var(--dark-bg);
}

.social-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 50%, transparent 100%);
    padding: 3rem 1.5rem 1.5rem;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: auto;
}

.video-wrapper:hover .social-overlay {
    opacity: 1;
}

.social-overlay span {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* Loading state (mientras carga el video) */
.video-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(162, 255, 0, 0.05) 0%,
        rgba(162, 255, 0, 0.1) 50%,
        rgba(162, 255, 0, 0.05) 100%
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { opacity: 0.3; }
    50% { opacity: 0.6; }
    100% { opacity: 0.3; }
}

.auto-play-video:not([src]) {
    background: var(--light-bg);
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .video-embed-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .video-wrapper {
        max-height: 500px;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .video-embed-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .video-wrapper {
        max-height: 550px;
        aspect-ratio: 9/16;
    }
    
    .social-overlay {
        opacity: 1; /* Siempre visible en móvil */
        padding: 2rem 1rem 1rem;
    }
    
    .volume-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .video-wrapper {
        max-height: 480px;
    }
    
    .social-overlay span {
        font-size: 0.9rem;
    }
}/* ============================================
   ICONOS COMO IMÁGENES - MEJORADO
   ============================================ */

/* Iconos de servicios */
.servicio-icon img,
.flota-icon img,
.razon-icon img,
.beneficio-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(100%);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Hover en servicios - color verde */
.servicio-card:hover .servicio-icon img,
.flota-card:hover .flota-icon img,
.razon-item:hover .razon-icon img {
    filter: brightness(0) saturate(100%) 
            invert(78%) sepia(85%) saturate(1352%) 
            hue-rotate(26deg) brightness(104%) contrast(106%);
    transform: scale(1.15) rotate(5deg);
}

/* Iconos de redes sociales */
.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s;
}

/* Efecto hover en redes sociales - mantener color original */
.social-icon:hover img {
    transform: scale(1.1) translateY(-3px);
    filter: drop-shadow(0 8px 16px rgba(162, 255, 0, 0.5));
}

/* Si quieres iconos de redes en blanco por defecto */
.social-icon img.white-icon {
    filter: brightness(0) saturate(100%) invert(100%);
}

.social-icon:hover img.white-icon {
    filter: brightness(0) saturate(100%) 
            invert(78%) sepia(85%) saturate(1352%) 
            hue-rotate(26deg) brightness(104%) contrast(106%);
}

/* Iconos de empresas/flotas */
.flota-icon img {
    width: 70px;
    height: 70px;
}

/* Iconos pequeños (badges, certificaciones) */
.cert-badge img,
.team-badge img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 0.5rem;
    filter: brightness(0) saturate(100%) 
            invert(78%) sepia(85%) saturate(1352%) 
            hue-rotate(26deg) brightness(104%) contrast(106%);
}

/* Responsive - iconos más pequeños en móvil */
@media (max-width: 768px) {
    .servicio-icon img,
    .flota-icon img,
    .razon-icon img {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .servicio-icon img,
    .flota-icon img,
    .razon-icon img {
        width: 50px;
        height: 50px;
    }
}
/* ============================================
   ICONOS DE SERVICIOS - TAMAÑO CORRECTO
   ============================================ */

.servicio-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.servicio-icon img {
    width: 100%;
    height: 100%;
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* OPCIÓN 1: Iconos blancos que cambian a verde en hover */
.servicio-icon img {
    filter: brightness(0) saturate(100%) invert(100%);
}

.servicio-card:hover .servicio-icon img {
    filter: brightness(0) saturate(100%) 
            invert(78%) sepia(85%) saturate(1352%) 
            hue-rotate(26deg) brightness(104%) contrast(106%);
    transform: scale(1.15) rotate(5deg);
}

/* Responsive */
@media (max-width: 768px) {
    .servicio-icon {
        width: 60px;
        height: 60px;
    }
    
    .servicio-icon img {
        max-width: 60px;
        max-height: 60px;
    }
}

@media (max-width: 480px) {
    .servicio-icon {
        width: 50px;
        height: 50px;
    }
    
    .servicio-icon img {
        max-width: 50px;
        max-height: 50px;
    }
}
/* END OF CSS FILE */
