/* 
 * Template 1: Dorado/Champagne 
 * Basado en el estilo "marojo" - Elegante y sofisticado
 * Tema: Tonos dorados, champagne y marrones elegantes
 * 
 * INCLUDES: Header de cliente, Footer de cliente, y todos los estilos de la página web
 */

:root {
    /* Colores principales */
    --primary-gold: #aa9144;
    --secondary-gold: #c4a961;
    --accent-champagne: #f7e7ce;
    --dark-charcoal: #2c2c2c;
    --medium-gray: #4a4a4a;
    --light-gray: #6a6a6a;
    --warm-cream: #f0ede8;
    --pure-white: #ffffff;
    --soft-beige: #e8e4df;
    --elegant-brown: #8b7355;
    --darker-bg: #f5f1ec;
    
    /* Colores de texto */
    --text-dark: var(--dark-charcoal);
    --text-medium: var(--medium-gray);
    --text-light: var(--light-gray);
    
    /* Sombras */
    --shadow-light: rgba(44, 44, 44, 0.05);
    --shadow-medium: rgba(44, 44, 44, 0.1);
    --shadow-heavy: rgba(44, 44, 44, 0.15);
    --shadow-primary: rgba(201, 169, 110, 0.3);
    --shadow-primary-light: rgba(201, 169, 110, 0.15);
    --shadow-primary-heavy: rgba(201, 169, 110, 0.4);
    --shadow-primary-soft: rgba(201, 169, 110, 0.2);
    
    /* Bordes */
    --border-light: rgba(201, 169, 110, 0.2);
    
    /* Fuentes */
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Inter', sans-serif;
    
    /* Colores específicos de sección */
    --cta-bg-color: #2c2c2c;
    --cta-gradient-start: rgba(44, 44, 44, 0.95);
    --cta-gradient-middle: rgba(139, 115, 85, 0.85);
    --cta-gradient-end: rgba(44, 44, 44, 0.95);
    
    /* Hero section */
    --hero-gradient-1: var(--dark-charcoal);
    --hero-gradient-2: var(--medium-gray);
    --hero-gradient-3: var(--elegant-brown);
    --hero-gradient-4: var(--primary-gold);
    --hero-background-opacity: 0.12;
    --hero-text-color: #ffffff;
    --hero-description-color: rgba(255, 255, 255, 0.9);
    --hero-text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    --hero-overlay-color: rgba(44, 44, 44, 0.6);
    
    /* Botones */
    --hero-btn-primary-bg: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    --hero-btn-primary-text: #ffffff;
    --hero-btn-outline-bg: rgba(255, 255, 255, 0.1);
    --hero-btn-outline-border: var(--accent-champagne);
    --hero-btn-outline-text: #ffffff;
}

/* ========================================
   GLOBAL STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* ========================================
   HEADER ESPECÍFICO PARA PÁGINAS WEB DE CLIENTES
   ======================================== */

/* Base Navbar - Mobile First Approach */
.navbar {
    background: var(--dark-charcoal);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px var(--shadow-medium);
    transition: all 0.4s ease;
    border-bottom: 1px solid var(--border-light);
    padding: 0;
    min-height: 70px;
}

.navbar.scrolled {
    background: rgba(44, 44, 44, 0.98);
    box-shadow: 0 4px 30px var(--shadow-heavy);
    border-bottom: 1px solid var(--primary-gold, #c9a96e);
}

/* Container Principal */
.navbar .container-fluid {
    padding: 0.75rem 1rem;
    position: relative;
}

/* MOBILE CONTAINER - Layout Principal */
.navbar-mobile-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 10;
}

/* Brand Wrapper - Controla el overflow */
.navbar-brand-wrapper {
    flex: 1;
    min-width: 0;
    max-width: calc(100% - 60px); /* Espacio para el toggle button */
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--pure-white) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.navbar-brand:hover {
    color: var(--primary-gold, #c9a96e) !important;
    transform: translateY(-1px);
}

.navbar-brand img {
    max-height: 35px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.navbar-brand:hover img {
    filter: brightness(1.2) drop-shadow(0 0 8px var(--shadow-primary));
}

.brand-text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* MOBILE TOGGLE BUTTON */
.navbar-toggler {
    border: 2px solid #ffffff;
    padding: 8px 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: transparent;
    flex-shrink: 0;
    width: 50px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 20;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
    background: transparent;
    border-color: #ffffff;
}

.navbar-toggler:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
    border-color: #ffffff;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 20px;
    height: 20px;
}

/* COLLAPSIBLE CONTENT */
.navbar-collapse {
    width: 100%;
    margin-top: 0;
}

.navbar-collapse.show,
.navbar-collapse.collapsing {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark-charcoal);
    border-radius: 0 0 15px 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(201, 169, 110, 0.2);
    z-index: 999;
    margin-top: 0;
}

.navbar-content {
    padding: 20px;
}

/* NAVIGATION MENU - Mobile First */
.navbar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.navbar-nav .nav-item {
    width: 100%;
}

.navbar-nav .nav-link {
    color: var(--pure-white) !important;
    font-weight: 500;
    padding: 14px 20px !important;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-nav .nav-link i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
    opacity: 0.8;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background: linear-gradient(135deg, var(--primary-gold, #c9a96e), var(--secondary-gold, #b8956a));
    color: var(--pure-white, #ffffff) !important;
    transform: translateX(8px);
    box-shadow: 0 4px 20px rgba(var(--primary-gold), 0.4);
    font-weight: 600;
    border-color: var(--primary-gold, #c9a96e);
}

.navbar-nav .nav-link:hover i,
.navbar-nav .nav-link.active i {
    opacity: 1;
    transform: scale(1.1);
}

/* NAVBAR ACTIONS - Específico para clientes */
.navbar-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Botón de Empleados - Específico para páginas de clientes */
.empleados-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(139, 115, 85, 0.15);
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 115, 85, 0.3);
    font-family: var(--font-secondary);
    width: 100%;
    justify-content: center;
    max-width: 240px;
}

.empleados-btn:hover {
    background: rgba(139, 115, 85, 0.25);
    color: #ffffff !important;
    border-color: rgba(139, 115, 85, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(139, 115, 85, 0.2);
}

.empleados-btn i {
    font-size: 0.9rem;
}

/* Botón PlannyApp */
.plannyapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-family: var(--font-secondary);
    backdrop-filter: blur(10px);
    letter-spacing: 0.3px;
    width: 100%;
    justify-content: center;
    max-width: 240px;
}

.plannyapp-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.plannyapp-logo-icon {
    height: 20px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.plannyapp-btn:hover .plannyapp-logo-icon {
    transform: scale(1.1);
}

.plannyapp-text {
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-left: -2px; /* Elimina espacio entre logo y PlannyApp */
}

.plannyapp-text-prefix {
    font-weight: 500;
    opacity: 0.8;
}

/* ========================================
   FOOTER ESPECÍFICO PARA CLIENTES
   ======================================== */

/* Footer - Exactly same style as navbar */
.footer {
    background: var(--dark-charcoal) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 -2px 20px var(--shadow-medium);
    color: var(--pure-white);
    padding: 60px 0 30px;
    position: relative;
    border-top: 1px solid var(--border-light);
    opacity: 1;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--primary-gold);
}

.footer h5 {
    color: var(--primary-gold);
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px 0;
    display: inline-block;
}

.footer a:hover {
    color: var(--accent-champagne);
    padding-left: 8px;
}

.footer ul li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-gold), var(--elegant-brown));
    color: var(--pure-white);
    border-radius: 50%;
    margin-right: 12px;
    transition: all 0.3s ease;
    font-size: 1rem;
    position: relative;
    transform-origin: center center;
}

.social-icons a:hover {
    background: linear-gradient(135deg, var(--elegant-brown), var(--primary-gold));
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 20px rgba(201, 169, 110, 0.3);
}

/* Asegurar que los iconos dentro de social-icons estén centrados */
.social-icons a i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* PlannyApp Footer Link Styles */
.plannyapp-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    transition: all 0.2s ease-in-out;
    transform-origin: center;
}

/* En desktop (text-end), escalar desde la derecha */
@media (min-width: 768px) {
    .text-md-end .plannyapp-footer-link {
        transform-origin: right center;
    }
}

.plannyapp-footer-link:hover {
    color: rgba(255, 255, 255, 1) !important;
    transform: scale(1.02);
}

.plannyapp-footer-logo {
    transition: all 0.2s ease-in-out;
    filter: brightness(0.9);
}

.plannyapp-footer-link:hover .plannyapp-footer-logo {
    filter: brightness(1.2);
}

/* ========================================
   FLOATING ANIMATIONS Y EFECTOS ESPECIALES
   ======================================== */

/* Floating animation */
.floating {
    animation: floating 6s ease-in-out infinite;
    z-index: 15;
    position: relative;
}

@keyframes floating {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(1deg); }
    50% { transform: translateY(-20px) rotate(0deg); }
    75% { transform: translateY(-10px) rotate(-1deg); }
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-gold), var(--elegant-brown));
    color: var(--pure-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    box-shadow: 0 8px 20px rgba(201, 169, 110, 0.3);
}

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

.scroll-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 35px rgba(201, 169, 110, 0.4);
}

/* Hero Image with Advanced Effects */
.hero-image {
    position: relative;
    z-index: 10;
}

.hero-image img {
    border-radius: 25px;
    box-shadow: 
        0 25px 60px rgba(0,0,0,0.3),
        0 0 0 1px rgba(212, 175, 55, 0.2);
    transition: all 0.5s ease;
    position: relative;
    z-index: 12;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(45deg, var(--primary-gold), var(--elegant-brown), var(--primary-gold));
    border-radius: 35px;
    z-index: -1;
    opacity: 0.2;
    animation: borderGlow 4s ease-in-out infinite alternate;
}

@keyframes borderGlow {
    from { opacity: 0.2; }
    to { opacity: 0.4; }
}

.about-image {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 30px 70px var(--shadow-heavy);
}

.about-image img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-image:hover img {
    transform: scale(1.1);
}

.about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(201, 169, 110, 0.1) 0%, 
        transparent 50%, 
        rgba(139, 115, 85, 0.1) 100%);
    pointer-events: none;
}

/* ========================================
   BUTTON EFFECTS Y RIPPLE ANIMATIONS
   ======================================== */

/* Ripple Effect Styles */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
    z-index: 1;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Enhanced transitions */
.btn-primary-custom, .btn-outline-custom {
    position: relative;
    overflow: hidden;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

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

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.7;
    color: var(--pure-white);
}

/* ========================================
   SERVICE CARD ENHANCEMENTS
   ======================================== */

.service-icon {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-icon::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, var(--primary-gold), var(--elegant-brown));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-icon::after {
    opacity: 0.2;
}

.service-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card h4 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    color: var(--text-medium);
    line-height: 1.7;
    font-size: 0.95rem;
    font-weight: 500;
}

.service-price {
    margin-top: 15px;
    text-align: center;
}

.service-price .price {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-gold), var(--elegant-brown));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 15px rgba(201, 169, 110, 0.3);
}

/* ========================================
   CONTACT SECTION ENHANCEMENTS
   ======================================== */

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(201, 169, 110, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 115, 85, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(44, 44, 44, 0.15);
}

.contact-icon i {
    font-size: 2rem;
    color: var(--pure-white);
}

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

.contact-card h4 {
    color: var(--text-dark);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-card p {
    color: var(--text-medium);
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.contact-link {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.contact-link:hover {
    color: var(--elegant-brown);
    transform: translateX(3px);
}

.contact-cta {
    background: linear-gradient(135deg, var(--primary-gold), var(--elegant-brown));
    border-radius: 25px;
    padding: 40px 30px;
    color: var(--pure-white);
    box-shadow: 0 15px 40px rgba(201, 169, 110, 0.3);
}

.contact-cta h3 {
    color: var(--pure-white);
    font-size: 1.8rem;
    font-weight: 700;
}

.contact-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* ========================================
   ACHIEVEMENT ITEMS
   ======================================== */

.achievement-item {
    margin-bottom: 30px;
}

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

.achievement-item i {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.achievement-item h5 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 8px;
}

.achievement-item p {
    color: var(--text-medium);
    font-size: 0.9rem;
}

/* ========================================
   LOADING ANIMATIONS
   ======================================== */

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Smooth loading */
body.loaded .hero-content,
body.loaded .about-content {
    opacity: 1;
    transform: translateY(0);
}

.hero-content,
.about-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

/* Visible class for intersection observer */
.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}
.hero {
    background: linear-gradient(135deg, 
        var(--hero-gradient-1) 0%, 
        var(--hero-gradient-2) 30%, 
        var(--hero-gradient-3) 70%, 
        var(--hero-gradient-4) 100%
    );
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/hero-img.jpg') center/cover;
    opacity: var(--hero-background-opacity);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 40%, var(--hero-overlay-color));
    z-index: 2;
}

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

.hero-content {
    max-width: 650px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    color: var(--hero-text-color);
    margin-bottom: 1.5rem;
    text-shadow: var(--hero-text-shadow);
    line-height: 1.2;
    font-family: var(--font-primary);
}

.hero p {
    font-size: 1.3rem;
    color: var(--hero-description-color);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

/* Botones */
.btn-primary-custom {
    background: var(--hero-btn-primary-bg);
    border: none;
    color: var(--hero-btn-primary-text);
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 25px var(--shadow-primary);
    position: relative;
    overflow: hidden;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.btn-primary-custom:hover::before {
    left: 100%;
}

.btn-primary-custom:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px var(--shadow-primary-heavy);
    color: var(--pure-white);
}

.btn-outline-custom {
    background: var(--hero-btn-outline-bg);
    border: 2px solid var(--hero-btn-outline-border);
    color: var(--hero-btn-outline-text);
    padding: 13px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(10px);
}

.btn-outline-custom:hover {
    background: var(--accent-champagne);
    color: var(--text-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px var(--shadow-primary-soft);
    border-color: var(--primary-gold);
}

/* About Section */
.about-section {
    padding: 120px 0;
    background: var(--darker-bg);
    position: relative;
    z-index: 1;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

/* Services Section */
.services-section {
    padding: 120px 0;
    background: var(--soft-beige);
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(201, 169, 110, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 115, 85, 0.03) 0%, transparent 50%);
}

.service-card {
    background: var(--pure-white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 12px 35px var(--shadow-medium);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(201, 169, 110, 0.03) 0%, 
        rgba(139, 115, 85, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 60px var(--shadow-heavy);
    border-color: var(--primary-gold);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-gold), var(--elegant-brown));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--pure-white);
    position: relative;
    box-shadow: 0 10px 25px rgba(201, 169, 110, 0.2);
}

/* Portfolio Section - Full Height Impact */
.portfolio-section {
    padding: 0;
    background: var(--pure-white);
    position: relative;
    min-height: 70vh;
}

.portfolio-carousel-wrapper {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    height: 70vh;
    min-height: 500px;
}

.portfolio-title-overlay {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    background: transparent;
    backdrop-filter: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.portfolio-title-overlay .section-subtitle {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: white;
    position: relative;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.8rem 2rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.portfolio-title-overlay .section-subtitle::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-gold);
    border-radius: 2px;
}

.portfolio-carousel {
    width: 100%;
    height: 100%;
    position: relative;
}

.portfolio-track {
    display: flex;
    height: 100%;
    animation: smoothScroll 25s linear infinite;
    width: calc(100vw * 1.5);
}

@keyframes smoothScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.portfolio-slide {
    flex: 0 0 auto;
    width: 600px;
    height: 100%;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.portfolio-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    z-index: 2;
}

.portfolio-slide:hover::before {
    background: rgba(0, 0, 0, 0.1);
}

.portfolio-slide:hover {
    transform: scale(1.02);
}

.portfolio-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-slide:hover img {
    transform: scale(1.05);
}

/* Navigation buttons - Premium style */
.portfolio-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    font-size: 1.2rem;
    backdrop-filter: blur(10px);
}

.portfolio-nav:hover {
    background: var(--primary-gold);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(201, 169, 110, 0.3);
}

.portfolio-nav-prev {
    left: 30px;
}

.portfolio-nav-next {
    right: 30px;
}

/* Modal - Clean and modern */
.modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

/* Fix para evitar deformación del layout cuando se abre el modal */
body.modal-open {
    padding-right: 0 !important;
    overflow: hidden;
}

.modal-open .navbar,
.modal-open .container,
.modal-open .container-fluid,
.modal-open .row {
    padding-right: 0 !important;
    margin-right: 0 !important;
}

.modal {
    padding-right: 0 !important;
}

.modal-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 1040 !important;
}

.modal-header {
    border-bottom: none;
    background: linear-gradient(135deg, var(--primary-gold), var(--elegant-brown));
    color: white;
    padding: 1.5rem 2rem;
}

.modal-title {
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 1.3rem;
}

.btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.btn-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

.modal-body {
    padding: 0;
    background: var(--pure-white);
}

.modal-body img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
}

/* Responsive breakpoints */
@media (max-width: 768px) {
    .portfolio-carousel-wrapper {
        height: 50vh;
        min-height: 400px;
    }
    
    .portfolio-title-overlay {
        top: 20px;
    }
    
    .portfolio-title-overlay .section-subtitle {
        font-size: 0.8rem;
        letter-spacing: 1.5px;
        padding: 0.6rem 1.5rem;
    }
    
    .portfolio-slide {
        width: 450px;
    }
    
    .portfolio-nav {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .portfolio-nav-prev {
        left: 15px;
    }
    
    .portfolio-nav-next {
        right: 15px;
    }
}

@media (max-width: 480px) {
    .portfolio-carousel-wrapper {
        height: 40vh;
        min-height: 350px;
    }
    
    .portfolio-slide {
        width: 300px;
    }
    
    .portfolio-title-overlay {
        padding: 0;
    }
    
    .portfolio-title-overlay .section-subtitle {
        font-size: 0.7rem;
        letter-spacing: 1px;
        padding: 0.5rem 1.2rem;
    }
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--cta-bg-color);
    color: var(--pure-white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/cta-section-img.jpg') center/cover;
    opacity: 0.08;
    z-index: 1;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        var(--cta-gradient-start) 0%, 
        var(--cta-gradient-middle) 50%, 
        var(--cta-gradient-end) 100%);
    z-index: 2;
}

.cta-section .container {
    position: relative;
    z-index: 3;
}

.cta-section h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--pure-white), var(--accent-champagne));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--warm-cream) 0%, var(--soft-beige) 100%);
    position: relative;
}

.contact-card {
    background: var(--pure-white);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 15px 40px rgba(44, 44, 44, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--elegant-brown));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-gold), var(--elegant-brown));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
}

/* Section Styles */
.section-title {
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    position: relative;
    font-weight: 700;
    font-family: var(--font-primary);
}

.section-subtitle {
    color: var(--elegant-brown);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--elegant-brown));
    border-radius: 2px;
}

/* Appointment Section (para appointment/index.php) */
.appointment-section {
    padding: 120px 0 120px;
    position: relative;
    background: linear-gradient(135deg, 
        #ffffff 0%, 
        #fafafa 30%, 
        #f8f9fa 70%, 
        #f5f6f7 100%
    );
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.appointment-card {
    background: var(--pure-white);
    border-radius: 20px;
    padding: 50px 45px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.08),
        0 8px 25px rgba(0, 0, 0, 0.06),
        0 2px 10px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 4;
    backdrop-filter: blur(10px);
}

.appointment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, 
        var(--primary-gold) 0%, 
        var(--secondary-gold) 50%, 
        var(--primary-gold) 100%
    );
}

/* Form Styles */
.form-control,
.form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #ffffff;
    font-family: var(--font-secondary);
    height: 52px;
    color: var(--dark-charcoal);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.15);
    background: var(--pure-white);
    transform: translateY(-1px);
    outline: none;
}

.form-control:hover,
.form-select:hover {
    border-color: var(--primary-gold);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* ========================================
   DESKTOP STYLES - Media Queries para Header
   ======================================== */
@media (min-width: 992px) {
    .navbar {
        min-height: 80px;
    }
    
    .navbar .container-fluid {
        padding: 1rem;
    }
    
    /* Desktop Layout */
    .navbar-mobile-container {
        width: auto;
        flex: 0 0 auto;
    }
    
    .navbar-brand-wrapper {
        max-width: none;
        flex: 0 0 auto;
    }
    
    .navbar-brand {
        font-size: 1.4rem;
        gap: 15px;
        max-width: none;
    }
    
    .navbar-brand img {
        max-height: 45px;
    }
    
    .navbar-toggler {
        display: none;
    }
    
    /* Desktop Collapse */
    .navbar-collapse {
        position: static !important;
        display: flex !important;
        flex: 1;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        margin-top: 0;
        border-radius: 0 !important;
    }
    
    .navbar-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 0;
    }
    
    /* Desktop Navigation */
    .navbar-nav {
        flex-direction: row;
        gap: 0.5rem;
        margin-bottom: 0;
        justify-content: center;
        flex: 1;
    }
    
    .navbar-nav .nav-item {
        width: auto;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 18px !important;
        border-radius: 25px;
        background: transparent;
        border: none;
        font-size: 0.9rem;
        gap: 8px;
        white-space: nowrap;
    }
    
    .navbar-nav .nav-link i {
        display: none;
    }
    
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        transform: translateY(-2px);
        background: linear-gradient(135deg, var(--primary-gold, #c9a96e), var(--secondary-gold, #b8956a));
        box-shadow: 0 6px 20px rgba(var(--primary-gold), 0.4);
    }
    
    /* Desktop Actions */
    .navbar-actions {
        flex-direction: row;
        flex: 0 0 auto;
        padding: 0;
        border: none;
        margin-left: 20px;
        padding-left: 20px;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        gap: 12px;
    }
    
    .empleados-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
        width: auto;
        max-width: none;
        gap: 6px;
        background: rgba(139, 115, 85, 0.1);
        border: 1px solid rgba(139, 115, 85, 0.2);
        border-radius: 6px;
    }
    
    .empleados-btn:hover {
        background: rgba(139, 115, 85, 0.2);
        border-color: rgba(139, 115, 85, 0.4);
    }
    
    .plannyapp-btn {
        padding: 8px 12px;
        font-size: 0.9rem;
        width: auto;
        max-width: none;
        gap: 4px;
        background: rgba(255, 255, 255, 0.05);
        color: rgba(255, 255, 255, 0.9) !important;
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 6px;
    }
    
    .plannyapp-btn:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #ffffff !important;
        border-color: rgba(255, 255, 255, 0.3);
        box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
    }
    
    .plannyapp-logo-icon {
        height: 14px;
    }
}

/* Tablets y pantallas medianas */
@media (min-width: 992px) and (max-width: 1200px) {
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .navbar-nav .nav-link {
        padding: 8px 14px !important;
        font-size: 0.85rem;
    }
    
    .plannyapp-text-prefix,
    .plannyapp-text {
        display: none;
    }
    
    .empleados-text {
        display: none;
    }
    
    .plannyapp-btn {
        padding: 8px 10px;
        gap: 0;
        min-width: 36px;
        font-size: 0.85rem;
    }
    
    .empleados-btn {
        padding: 8px 10px;
        gap: 0;
        min-width: 36px;
    }
    
    .plannyapp-logo-icon {
        height: 16px;
    }
}

/* Pantallas grandes con nombres muy largos */
@media (min-width: 1200px) {
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 20px !important;
        font-size: 0.95rem;
    }
}

/* ========================================
   RESPONSIVE FOOTER
   ======================================== */
@media (max-width: 768px) {
    .footer {
        padding: 30px 0 80px !important; /* Extra padding-bottom para evitar superposición con botón scroll y marca de agua */
    }
    
    .footer h5 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .footer .col-lg-4,
    .footer .col-lg-2,
    .footer .col-lg-3 {
        margin-bottom: 20px;
    }
    
    .footer .text-center p {
        margin-bottom: 5px !important;
        font-size: 0.85rem;
    }
    
    .footer .text-center p:last-child {
        margin-bottom: 0 !important;
        font-size: 0.8rem;
    }
    
    .plannyapp-footer-logo {
        height: 14px !important;
    }
    
    .social-icons a {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
        margin-right: 10px;
    }
}

/* Ajustes para el botón scroll-to-top en móvil */
@media (max-width: 768px) {
    .scroll-top {
        bottom: 20px !important;
        right: 20px !important;
        width: 45px !important;
        height: 45px !important;
        z-index: 1001 !important; /* Más alto que la marca de agua */
    }
}

/* Ajustes extra para pantallas muy pequeñas */
@media (max-width: 480px) {
    .footer {
        padding: 25px 0 70px; /* Menos padding pero suficiente espacio */
    }
    
    .footer .col-lg-4,
    .footer .col-lg-2,
    .footer .col-lg-3 {
        margin-bottom: 15px;
    }
    
    .scroll-top {
        bottom: 15px !important;
        right: 15px !important;
        width: 40px !important;
        height: 40px !important;
    }
}

/* ========================================
   RESPONSIVE GENERAL
   ======================================== */

/* Responsive Enhancements */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-outline-custom,
    .btn-primary-custom {
        justify-content: center;
        margin-bottom: 15px;
    }

    .service-card {
        margin-bottom: 40px;
    }

    .hero-content {
        text-align: center;
        margin-bottom: 50px;
    }

    .about-image {
        margin-bottom: 50px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .cta-buttons .btn-outline-custom,
    .cta-buttons .btn-primary-custom {
        margin-bottom: 15px;
        width: auto;
        max-width: 300px;
        min-width: 200px;
        text-align: center;
    }

    .achievement-item {
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding-top: 100px;
        min-height: 85vh;
    }

    .about-section {
        padding: 60px 0;
    }

    .services-section {
        padding: 60px 0;
    }

    .cta-section {
        padding: 60px 0;
    }
}

/* Media query adicional para móviles pequeños */
@media (max-width: 576px) {
    .hero {
        padding-top: 120px;
        min-height: 80vh;
    }
}

/* ========================================
   HERO PROFESIONAL - IMAGEN DE FONDO COMPLETA
   ======================================== */

.hero-professional {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        var(--warm-cream) 0%,
        rgba(240, 237, 232, 0.95) 25%,
        rgba(240, 237, 232, 0.8) 40%,
        rgba(240, 237, 232, 0.6) 50%,
        rgba(240, 237, 232, 0.4) 60%,
        rgba(240, 237, 232, 0.2) 70%,
        rgba(240, 237, 232, 0.1) 80%,
        transparent 100%
    );
    z-index: 2;
}

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

.hero-content {
    padding: 2rem 0;
    background: rgba(240, 237, 232, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 3rem 2.5rem;
    margin: 2rem 0;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    border: 1px solid rgba(170, 145, 68, 0.1);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(170, 145, 68, 0.15), rgba(170, 145, 68, 0.1));
    border: 1px solid rgba(170, 145, 68, 0.3);
    border-radius: 50px;
    padding: 0.75rem 1.25rem;
    margin-bottom: 2rem;
    color: var(--primary-gold);
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--font-secondary);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(170, 145, 68, 0.1);
}

.hero-badge i {
    font-size: 1rem;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 3.75rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--dark-charcoal);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-family: var(--font-secondary);
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--medium-gray);
    margin-bottom: 2.5rem;
    max-width: 95%;
    font-weight: 400;
    text-shadow: 0 1px 5px rgba(0,0,0,0.1);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-gold) 100%);
    color: white;
    padding: 1.125rem 2.25rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(170, 145, 68, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.btn-main-text {
    font-weight: 600;
    font-size: 1rem;
}

.btn-sub-text {
    font-weight: 400;
    font-size: 0.75rem;
    opacity: 0.9;
    margin-top: 1px;
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-hero-primary:hover::before {
    left: 100%;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(170, 145, 68, 0.35);
    color: white;
    text-decoration: none;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark-charcoal);
    padding: 1.125rem 2.25rem;
    border: 2px solid rgba(170, 145, 68, 0.2);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(170, 145, 68, 0.3);
}

.hero-trust {
    margin-top: 2rem;
}

.trust-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

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

.trust-number {
    font-family: var(--font-primary);
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--primary-gold);
    line-height: 1;
    margin-bottom: 0.25rem;
    text-shadow: 0 1px 5px rgba(0,0,0,0.1);
}

.trust-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 0.25rem;
}

.stars {
    color: #ffd700;
    font-size: 1.25rem;
    line-height: 1;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.rating-text {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    text-shadow: 0 1px 5px rgba(0,0,0,0.1);
}

.trust-label {
    font-family: var(--font-secondary);
    font-size: 0.875rem;
    color: var(--medium-gray);
    font-weight: 500;
}

.trust-separator {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(170, 145, 68, 0.3), transparent);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    padding: 2rem 0;
}

.floating-element {
    position: absolute;
    bottom: 3rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 1.25rem 1.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
    z-index: 4;
    animation: floatElement 3s ease-in-out infinite;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(170, 145, 68, 0.15);
}

.floating-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.floating-content i {
    font-size: 1.5rem;
    color: var(--primary-gold);
}

.floating-text {
    display: flex;
    flex-direction: column;
}

.floating-title {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--dark-charcoal);
    line-height: 1;
}

.floating-subtitle {
    font-family: var(--font-secondary);
    font-size: 0.75rem;
    color: var(--medium-gray);
    margin-top: 0.125rem;
}

@keyframes floatElement {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* ========================================
   ABOUT MODERNO - NUEVA ESTRUCTURA
   ======================================== */

.about-modern {
    padding: 5rem 0;
    background: var(--pure-white);
    position: relative;
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.about-main-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-image-wrapper:hover .about-main-image {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    color: white;
    padding: 1.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(170, 145, 68, 0.3);
}

.experience-badge .years {
    display: block;
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .label {
    display: block;
    font-family: var(--font-secondary);
    font-size: 0.875rem;
    font-weight: 600;
    opacity: 0.9;
}

.section-label {
    font-family: var(--font-secondary);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary-gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.about-title {
    font-family: var(--font-primary);
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-charcoal);
    margin-bottom: 1.5rem;
}

.about-description {
    font-family: var(--font-secondary);
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--medium-gray);
    margin-bottom: 2.5rem;
}

.about-features {
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

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

.feature-icon i {
    font-size: 1.25rem;
}

.feature-content h5 {
    font-family: var(--font-secondary);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark-charcoal);
    margin-bottom: 0.25rem;
}

.feature-content p {
    font-family: var(--font-secondary);
    color: var(--medium-gray);
    margin: 0;
}

.btn-about-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-secondary);
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(170, 145, 68, 0.3);
}

.btn-about-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(170, 145, 68, 0.4);
    color: white;
    text-decoration: none;
}

.btn-about-cta i {
    transition: transform 0.3s ease;
}

.btn-about-cta:hover i {
    transform: translateX(5px);
}

/* Responsive Design para Hero Profesional y About Moderno */
@media (max-width: 992px) {
    .hero-bg-image {
        width: 100%;
        object-position: center;
    }
    
    .hero-gradient-overlay {
        background: linear-gradient(
            to right,
            var(--warm-cream) 0%,
            rgba(240, 237, 232, 0.9) 30%,
            rgba(240, 237, 232, 0.7) 45%,
            rgba(240, 237, 232, 0.5) 55%,
            rgba(240, 237, 232, 0.3) 65%,
            rgba(240, 237, 232, 0.1) 75%,
            transparent 85%
        );
    }
    
    .hero-content {
        padding: 2.5rem 2rem;
        margin: 1.5rem 0;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .about-title {
        font-size: 2.25rem;
    }
    
    .trust-stats {
        justify-content: center;
        margin-top: 2rem;
    }
    
    .about-main-image {
        height: 400px;
    }
    
    .experience-badge {
        top: 1rem;
        left: 1rem;
        padding: 1rem;
    }
    
    .experience-badge .years {
        font-size: 1.5rem;
    }
    
    .trust-separator {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-professional {
        min-height: auto;
        padding: 4rem 0;
    }
    
    .hero-bg-image {
        width: 100%;
        height: 100%;
        object-position: center;
    }
    
    .hero-gradient-overlay {
        background: linear-gradient(
            to bottom,
            var(--warm-cream) 0%,
            rgba(240, 237, 232, 0.95) 20%,
            rgba(240, 237, 232, 0.8) 40%,
            rgba(240, 237, 232, 0.6) 60%,
            rgba(240, 237, 232, 0.4) 75%,
            rgba(240, 237, 232, 0.2) 85%,
            transparent 100%
        );
    }
    
    .hero-content {
        background: rgba(240, 237, 232, 0.95);
        padding: 2rem 1.5rem;
        margin: 1rem 0 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
        max-width: 100%;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        justify-content: center;
        padding: 1rem 2rem;
    }
    
    .trust-stats {
        gap: 1rem;
        justify-content: space-around;
    }
    
    .trust-item {
        flex: 1;
        min-width: 100px;
    }
    
    .trust-number,
    .rating-text {
        font-size: 1.5rem;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .about-modern {
        padding: 3rem 0;
    }
    
    .portfolio-section {
        padding: 2rem 0 3rem;
    }
    
    .portfolio-carousel {
        height: 300px;
    }
    
    .portfolio-slide {
        width: 400px;
    }
    
    .portfolio-nav {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .portfolio-nav-prev {
        left: 15px;
    }
    
    .portfolio-nav-next {
        right: 15px;
    }
    
    .floating-element {
        bottom: 1.5rem;
        right: 1rem;
        padding: 1rem 1.25rem;
    }
    
    .floating-title {
        font-size: 0.8rem;
    }
    
    .floating-subtitle {
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    .hero-content {
        padding: 1.5rem 1rem;
        border-radius: 20px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .about-title {
        font-size: 1.75rem;
    }
    
    .trust-item {
        min-width: 80px;
    }
    
    .hero-badge {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .floating-element {
        bottom: 1rem;
        right: 0.5rem;
        padding: 0.75rem 1rem;
    }
}

/* ================================
   MOBILE RESPONSIVE OPTIMIZATION
   Comprehensive Mobile-First Design
   ================================ */

/* Mobile Navigation Enhancements */
@media (max-width: 991px) {
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    /* Lógica para logo vs texto en móvil */
    /* Si hay logo (img), ocultar el texto */
    .navbar-brand:has(img) .brand-text {
        display: none !important;
    }
    
    /* Si no hay logo, asegurar que el texto sea visible */
    .navbar-brand:not(:has(img)) .brand-text {
        display: block !important;
    }
    
    /* Fallback para navegadores que no soportan :has() */
    /* Cuando hay imagen, priorizar el logo */
    .navbar-brand img + .brand-text {
        display: none !important;
    }
    
    .navbar-nav {
        padding: 1rem 0;
        text-align: center;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
}

/* Mobile Hero Section */
@media (max-width: 768px) {
    /* Reforzar lógica logo vs texto para móviles pequeños */
    .navbar-brand {
        justify-content: flex-start !important;
        gap: 10px !important;
    }
    
    /* Si hay logo, solo mostrar logo */
    .navbar-brand:has(img) .brand-text {
        display: none !important;
    }
    
    /* Fallback para cuando hay imagen seguida de texto */
    .navbar-brand img + .brand-text {
        display: none !important;
    }
    
    /* Si no hay logo, centrar el texto */
    .navbar-brand:not(:has(img)) {
        justify-content: flex-start !important;
    }
    
    .hero-professional {
        min-height: 90vh;
        padding: 80px 0 1rem 0; /* Agregar padding-top para compensar navbar fijo */
    }
    
    .hero-content {
        text-align: center;
        padding: 2rem 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        max-width: 280px;
        padding: 1rem 1.5rem;
    }
    
    .hero-trust {
        margin-top: 2rem;
    }
    
    .trust-stats {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .trust-separator {
        display: none;
    }
    
    .trust-item {
        min-width: auto;
    }
}

/* Mobile About Section */
@media (max-width: 768px) {
    .about-modern {
        padding: 3rem 0;
    }
    
    .about-content {
        text-align: center;
        margin-top: 2rem;
    }
    
    .about-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .about-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .about-features {
        margin: 2rem 0;
    }
    
    .feature-item {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .experience-badge {
        top: auto;
        bottom: -10px;
        right: 10px;
        width: 80px;
        height: 80px;
    }
}

/* Mobile Services Section */
@media (max-width: 768px) {
    .services-section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .service-card {
        margin-bottom: 1.5rem;
        padding: 2rem 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .service-icon i {
        font-size: 1.5rem;
    }
    
    .service-card h4 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .service-price {
        margin-top: 1rem;
    }
    
    .service-price .price {
        font-size: 1.3rem;
    }
    
    .btn-primary-custom {
        width: 100%;
        max-width: 300px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

/* Mobile Portfolio Section */
@media (max-width: 768px) {
    .portfolio-carousel-wrapper {
        height: 60vh;
        min-height: 400px;
    }
    
    .portfolio-title-overlay {
        top: 20px;
    }
    
    .portfolio-title-overlay .section-subtitle {
        font-size: 0.8rem;
        padding: 0.6rem 1.5rem;
        letter-spacing: 1px;
    }
    
    .portfolio-slide {
        width: 300px;
    }
    
    .portfolio-slide::after {
        font-size: 14px;
        padding: 0 1rem;
        text-align: center;
    }
}

/* Mobile Modal Optimizations */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 1rem;
        max-width: calc(100% - 2rem);
    }
    
    .portfolio-modal-content {
        border-radius: 8px;
    }
    
    .portfolio-modal-header {
        padding: 1rem 1.5rem;
    }
    
    .portfolio-modal-title {
        font-size: 1.1rem;
    }
    
    .modal-nav {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .modal-nav-prev {
        left: 10px;
    }
    
    .modal-nav-next {
        right: 10px;
    }
    
    .modal-counter {
        bottom: 10px;
        padding: 3px 10px;
        font-size: 12px;
    }
    
    .portfolio-modal-body img {
        max-height: 60vh;
    }
}

/* Mobile Contact Section */
@media (max-width: 768px) {
    .contact-section {
        padding: 3rem 0;
    }
    
    .contact-card {
        margin-bottom: 1.5rem;
        padding: 2rem 1.5rem;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .contact-icon i {
        font-size: 1.5rem;
    }
    
    .contact-card h4 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .contact-link {
        font-size: 0.9rem;
    }
}

/* Mobile CTA Section */
@media (max-width: 768px) {
    .cta-section {
        padding: 3rem 0;
        text-align: center;
    }
    
    .cta-section h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .cta-section p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .cta-buttons .btn-primary-custom,
    .cta-buttons .btn-outline-custom {
        width: 100%;
        max-width: 280px;
    }
}

/* Small Mobile Devices (480px and below) */
@media (max-width: 480px) {
    .hero-professional {
        padding: 80px 0 1rem 0; /* Asegurar padding en dispositivos muy pequeños */
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-badge {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .about-title,
    .section-title {
        font-size: 1.75rem;
    }
    
    .portfolio-slide {
        width: 250px;
    }
    
    .trust-item .trust-number {
        font-size: 1.5rem;
    }
    
    .trust-item .trust-label {
        font-size: 0.8rem;
    }
    
    .service-card {
        padding: 1.5rem 1rem;
    }
    
    .contact-card {
        padding: 1.5rem 1rem;
    }
}

/* Landscape Mobile Optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-professional {
        min-height: 100vh;
    }
    
    .portfolio-carousel-wrapper {
        height: 80vh;
    }
    
    .trust-stats {
        flex-direction: row;
        justify-content: space-around;
    }
    
    .trust-separator {
        display: block;
    }
}

/* Touch Optimizations */
@media (max-width: 768px) {
    .service-card,
    .contact-card,
    .portfolio-slide {
        transition: all 0.2s ease;
    }
    
    .service-card:active,
    .contact-card:active {
        transform: scale(0.98);
    }
    
    .btn-primary-custom:active,
    .btn-outline-custom:active,
    .btn-hero-primary:active,
    .btn-hero-secondary:active {
        transform: scale(0.95);
    }
    
    /* Larger touch targets */
    .portfolio-slide,
    .service-card,
    .contact-card {
        min-height: 44px;
    }
    
    .modal-nav {
        min-width: 44px;
        min-height: 44px;
    }
}

/* Mobile Portfolio Section - Static Grid Layout */
@media (max-width: 768px) {
    .portfolio-section {
        padding: 4rem 0;
        min-height: auto;
        position: relative;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    }
    
    .portfolio-carousel-wrapper {
        height: auto;
        overflow: visible;
        padding: 0 1rem;
    }
    
    .portfolio-title-overlay {
        position: relative;
        margin-bottom: 3rem;
        background: none;
        padding: 0;
    }
    
    .portfolio-title-overlay .section-subtitle {
        color: var(--elegant-brown) !important;
        font-size: 1rem !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 3px !important;
        margin-bottom: 1rem !important;
        background: none !important;
        padding: 0 !important;
        border-radius: 0 !important;
        backdrop-filter: none !important;
        position: relative !important;
        display: inline-block !important;
    }
    
    .portfolio-title-overlay .section-subtitle::after {
        content: '' !important;
        position: absolute !important;
        bottom: -8px !important;
        left: 0 !important;
        width: 60px !important;
        height: 3px !important;
        background: linear-gradient(90deg, var(--primary-gold), var(--elegant-brown)) !important;
        border-radius: 2px !important;
        transform: none !important;
    }
    
    .portfolio-carousel {
        display: none; /* Hide infinite carousel on mobile */
    }
    
    /* Mobile Portfolio Grid */
    .portfolio-mobile-grid {
        display: block;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 1rem;
    }
    
    .portfolio-mobile-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .portfolio-mobile-item {
        position: relative;
        aspect-ratio: 3/4;
        border-radius: 12px;
        overflow: hidden;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }
    
    .portfolio-mobile-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }
    
    .portfolio-mobile-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }
    
    .portfolio-mobile-item:hover img {
        transform: scale(1.05);
    }
    
    .portfolio-mobile-item::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(45deg, rgba(var(--primary-rgb), 0.8) 0%, rgba(var(--primary-rgb), 0.3) 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .portfolio-mobile-item:hover::after {
        opacity: 1;
    }
    
    /* View All Button for Mobile */
    .portfolio-mobile-cta {
        text-align: center;
        margin-top: 2rem;
    }
    
    .portfolio-mobile-cta .btn-outline-custom {
        padding: 0.75rem 2rem;
        font-size: 0.9rem;
    }
}

/* Desktop Portfolio - Keep infinite carousel */
@media (min-width: 769px) {
    .portfolio-mobile-grid {
        display: none;
    }
}

/* Small Mobile Adjustments */
@media (max-width: 480px) {
    .portfolio-mobile-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .portfolio-mobile-item {
        aspect-ratio: 4/3;
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Mobile Services Button Fix */
@media (max-width: 768px) {
    .btn-primary-custom {
        font-size: 0.875rem;
        padding: 0.75rem 1.25rem;
        white-space: nowrap;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.2;
    }
    
    #load-more-services {
        font-size: 0.8rem !important;
        padding: 0.7rem 1rem !important;
        white-space: nowrap;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        min-width: auto;
        max-width: 90vw;
    }
    
    #load-more-services i {
        font-size: 0.75rem;
        flex-shrink: 0;
    }
    
    /* Alternative shorter text for mobile */
    #load-more-services .mobile-text {
        display: inline;
    }
    
    #load-more-services .desktop-text {
        display: none;
    }
}

@media (min-width: 769px) {
    #load-more-services .mobile-text {
        display: none;
    }
    
    #load-more-services .desktop-text {
        display: inline;
    }
}

/* Performance Optimizations for Mobile */
@media (max-width: 768px) {
    .hero-bg-image,
    .portfolio-slide img {
        will-change: transform;
        backface-visibility: hidden;
    }
    
    .portfolio-track {
        will-change: transform;
    }
    
    /* Reduce animations on mobile for performance */
    .portfolio-slide:hover {
        transform: none;
    }
    
    .service-card:hover {
        transform: translateY(-5px);
    }
}
