/* ========================================
   ACB12 SECURITY S.A.C. - Estilos Principales
   ======================================== */



/* Variables CSS */
:root {
    /* Colores Corporativos */  
    --primary-color: #0a1628;      /* Azul oscuro - Confianza */
    --primary-light: #1a2d4a;      /* Azul medio */
    --secondary-color: #c9a227;    /* Dorado - Prestigio */
    --secondary-light: #e0b936;    /* Dorado claro */
    --accent-color: #1e3a5f;       /* Azul acento */
    
    /* Colores Neutros */
    --white: #ffffff;
    --off-white: #f8f9fa;
    --gray-light: #e9ecef;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --black: #0a0a0a;
    
    /* Colores Funcionales */
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #17a2b8;
    
    /* WhatsApp */
    --whatsapp: #25d366;
    --whatsapp-dark: #128c7e;
    
    /* Tipografía */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Espaciado */
    --section-padding: 80px 0;
    --container-width: 1200px;
    
    /* Transiciones */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
    
    /* Sombras */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* Reset y Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
    margin-bottom: 1rem;
    color: var(--gray);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Contenedor */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   HEADER / NAVEGACIÓN
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition-fast);
    height: 70px;
}

.header.scrolled {
    background: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    transition: var(--transition-fast);
}

.header.scrolled .navbar {
    height: 60px;
}

/* Logo */
.logo {
    height: 70px;
    display: flex;
    align-items: center;
    margin-left: 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--white);
    padding-left: 0;
}

.logo-image {
    height: 90px;
    width: auto;
    object-fit: contain;
    margin-top: -10px;
    margin-left: -20px;
}

.logo-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.logo-text strong {
    color: var(--secondary-color);
}

/* Menú de Navegación */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--white);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--secondary-color);
}

/* Acciones de Navegación */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.btn-phone:hover {
    background: var(--secondary-light);
    transform: translateY(-2px);
}

.btn-phone i {
    font-size: 1.1rem;
}

/* Toggle Menú Móvil */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition-fast);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: 100px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.95) 0%, rgba(30, 58, 95, 0.85) 100%);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201, 162, 39, 0.2);
    color: var(--secondary-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(201, 162, 39, 0.3);
}

.hero-title {
    color: var(--white);
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: var(--secondary-color);
    position: relative;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 35px;
    line-height: 1.8;
}

/* Botones Hero */
.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

/* Botones Generales */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--secondary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: var(--white);
}

.btn-whatsapp:hover {
    background: var(--whatsapp-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-light {
    background: var(--white);
    color: var(--primary-color);
}

.btn-light:hover {
    background: var(--gray-light);
    transform: translateY(-3px);
}

.btn-whatsapp-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--whatsapp);
}

.btn-whatsapp-outline:hover {
    background: var(--whatsapp);
    transform: translateY(-3px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Estadísticas Hero */
.hero-stats {
    display: flex;
    gap: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Scroll Hero */
.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.hero-scroll a {
    color: var(--white);
    font-size: 1.5rem;
    opacity: 0.7;
    transition: var(--transition-fast);
}

.hero-scroll a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

/* ========================================
   SECCIONES GENERALES
   ======================================== */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title {
    margin-bottom: 20px;
}

.section-title .highlight {
    color: var(--secondary-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
}

/* ========================================
   ABOUT / NOSOTROS
   ======================================== */
.about {
    background: var(--off-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content .section-badge {
    background: var(--primary-color);
    color: var(--white);
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Tarjetas Misión/Visión */
.about-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 40px 0;
}

.about-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.about-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.about-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Valores */
.about-values h3 {
    margin-bottom: 20px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.value-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.value-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.value-item span {
    font-weight: 600;
    color: var(--primary-color);
}

/* Imagen About */
.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.image-placeholder {
    background: linear-gradient(135deg, var(--primary-light), var(--accent-color));
    height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.image-placeholder i {
    font-size: 8rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.image-placeholder span {
    font-size: 1.5rem;
    font-weight: 600;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.experience-badge .years {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* ========================================
   SERVICIOS
   ======================================== */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 20px;
    padding: 35px;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--secondary-light));
    transform: scaleX(0);
    transition: var(--transition-fast);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card.featured {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
}

.service-card.featured .service-icon {
    background: rgba(255, 255, 255, 0.2);
}

.service-card.featured .service-icon i {
    color: var(--secondary-color);
}

.service-card.featured h3,
.service-card.featured p,
.service-card.featured .service-features li {
    color: var(--white);
}

.service-card.featured .service-features li i {
    color: var(--secondary-color);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition-fast);
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-features {
    border-top: 1px solid var(--gray-light);
    padding-top: 20px;
}

.service-card.featured .service-features {
    border-color: rgba(255, 255, 255, 0.2);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--gray);
}

.service-features li i {
    color: var(--success);
    font-size: 0.8rem;
}

/* CTA Servicios */
.services-cta {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 50px;
    border-radius: 20px;
    color: var(--white);
}

.services-cta p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
}

/* ========================================
   DIFERENCIADORES / FEATURES
   ======================================== */
.features {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
}

.features .section-badge {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.features .section-title {
    color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: var(--transition-fast);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
    border-color: var(--secondary-color);
}

.feature-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.feature-icon i {
    font-size: 2.2rem;
    color: var(--primary-color);
}

.feature-card h3 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* ========================================
   GALERÍA INFINITA
   ======================================== */
.gallery-section {
    background: var(--white);
    padding: 80px 0;
    overflow: hidden;
}

.gallery-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.gallery-track {
    display: flex;
    width: calc(350px * 12);
    animation: scrollGallery 30s linear infinite;
}

.gallery-track:hover {
    animation-play-state: paused;
}

@keyframes scrollGallery {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-350px * 6));
    }
}

.gallery-images {
    display: flex;
    gap: 25px;
}

.gallery-images img {
    width: 350px;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-images img:hover {
    transform: scale(1.08);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    padding: 80px 0;
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--primary-color);
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   CONTACTO
   ======================================== */
.contact {
    background: var(--off-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}

/* Info Contacto */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-card {
    display: flex;
    gap: 20px;
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.contact-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-details h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.contact-details p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.contact-details a {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-details a:hover {
    color: var(--secondary-color);
}

/* Social Links */
.social-links {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.social-links h4 {
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition-fast);
}

.social-icons a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* Formulario Contacto */
.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-light);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 70px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    color: var(--secondary-color);
}

.footer-logo .logo-text strong {
    color: var(--secondary-color);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer-links ul,
.footer-services ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-services li {
    color: rgba(255, 255, 255, 0.7);
    padding: 5px 0;
}

.footer-contact .contact-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact li i {
    color: var(--secondary-color);
    margin-top: 3px;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 5px;
}

.footer-bottom .credits {
    font-size: 0.9rem;
}

.footer-bottom .credits i {
    color: var(--danger);
}

/* ========================================
   BOTONES FLOTANTES
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: var(--whatsapp);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition-fast);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background: var(--whatsapp-dark);
    transform: scale(1.1);
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 110px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--secondary-light);
    transform: translateY(-5px);
}

/* ========================================
   ANIMACIONES
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .services-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: -1;
    }
    
    .image-placeholder {
        height: 400px;
    }
}

@media (max-width: 768px) {
    /* Navegación Móvil */
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--primary-color);
        flex-direction: column;
        padding: 40px 20px;
        transition: var(--transition-fast);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 15px 0;
    }
    
    .btn-phone {
        display: none;
    }
    
    /* Hero */
    .hero {
        background-attachment: scroll;
        padding-top: 80px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-badge {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        gap: 30px;
    }

    .hero-scroll {
        display: none;
    }

    /* Secciones */
    .about-cards {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    /* Contacto */
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 25px;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social,
    .social-icons {
        justify-content: center;
    }
    
    .footer-contact li {
        justify-content: center;
    }
    
    /* Botones Flotantes */
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 1.8rem;
    }
    
    .scroll-top {
        right: 85px;
        bottom: 20px;
        width: 45px;
        height: 45px;
    }
    
    /* CTA */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .experience-badge {
        bottom: 15px;
        right: 15px;
        padding: 15px;
    }
    
    .experience-badge .years {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 25px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
}

/* ========================================
   UTILIDADES
   ======================================== */
.highlight {
    color: var(--secondary-color);
}

.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

/* Scrollbar Personalizado */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--off-white);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-light);
}

/* Selección de Texto */
::selection {
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* Focus Visible */
:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 3px;
}

/* ========================================
   BARRA DE REDES SOCIALES (LATERAL IZQUIERDA)
   ======================================== */
.social-sidebar {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
    padding: 15px 10px;
    border-radius: 0 10px 10px 0;
    box-shadow: var(--shadow-lg);
    animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInLeft {
    from {
        left: -80px;
        opacity: 0;
    }
    to {
        left: 0;
        opacity: 1;
    }
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    border-radius: 10px;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.social-link:hover {
    transform: translateX(8px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-link:hover::before {
    opacity: 1;
}

/* Colores Reales de cada Red Social */
.social-link.facebook {
    background: linear-gradient(135deg, #1d68ca, #0d5bba);
}

.social-link.instagram {
    background: linear-gradient(135deg, #E4405F, #FCAF45, #7833a5, #f17b9c);
}

.social-link.linkedin {
    background: linear-gradient(135deg, #0A66C1, #004182);
}

.social-link.tiktok {
    background: linear-gradient(135deg, #000000, #030303, #000000);
}

/* Animación de pulso suave */
.social-link {
    animation: pulse 2s ease-in-out infinite;
}

.social-link:nth-child(1) { animation-delay: 0s; }
.social-link:nth-child(2) { animation-delay: 0.2s; }
.social-link:nth-child(3) { animation-delay: 0.4s; }
.social-link:nth-child(4) { animation-delay: 0.6s; }

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.social-link:hover {
    animation: none;
}

/* Responsive */
@media (max-width: 768px) {
    .social-sidebar {
        display: none;
    }
}