/* ===========================================
   CSS Variables (Custom Properties)
   =========================================== */
:root {
    --burgundy: #800020;
    --burgundy-light: #a0002a;
    --burgundy-dark: #600018;
    --white: #ffffff;
    --cream: #faf9f8;
    --text-dark: #2c1810;
    --text-muted: #666666;
    --gold: #c39531;
    --shadow: 0 8px 40px rgba(128, 0, 32, 0.15);
    --gold-light: #ac7d18;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--white);
    font-size: 12px;


}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 8px 0;
    box-shadow: 0 2px 20px rgba(128, 0, 32, 0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 15px 0;
    box-shadow: var(--shadow);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}



.logo-text h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--burgundy);
    font-family: 'Playfair Display', serif;
}

.logo-text span {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Navigation Styles */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 0;

}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--burgundy);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--burgundy);
}

/* ===========================================
   Hero Section Styles
   =========================================== */
.hero {
    background: linear-gradient(135deg, rgba(165, 130, 42, 0.85), rgba(125, 85, 38, 0.9)),
        url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?ixlib=rb-4.0.3&auto=format&fit=crop&w=2026&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 900px;
    animation: fadeInUp 1.2s ease-out;
    margin: 0;
    /* ← AGREGAR */
    padding: 0;
    /* ← AGREGAR */
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-size: 12px;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.2rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--white);
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1rem;
    margin-bottom: 50px;
    padding: 20px 50px;
    line-height: 1.8;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Download Section */
.download-section {
    margin-top: 30px;
}

.download-label {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn-download {
    background: var(--white);
    color: var(--burgundy);
    padding: 18px 40px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 50px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

/* ===========================================
   Section Styles
   =========================================== */
.section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--burgundy);
    margin-bottom: 20px;
    font-weight: 600;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 80px;
    font-weight: 300;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
    margin: 30px auto;
    border-radius: 2px;
}

/* ===========================================
   Enlaces Sugeridos Styles
   =========================================== */
.enlaces-sugeridos {
    padding: 40px 0;
    background: var(--cream);
}

.enlaces-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.enlace-item {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 2px 20px rgba(128, 0, 32, 0.08);
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    border: 1px solid rgba(128, 0, 32, 0.1);
    text-decoration: none;
    color: inherit;
    display: block;
}

.enlace-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.enlace-item:hover::before {
    transform: scaleX(1);
}

.enlace-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--burgundy);
    text-decoration: none;
    color: inherit;
}

.enlace-item i {
    font-size: 2.5rem;
    color: var(--burgundy);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.enlace-item:hover i {
    transform: scale(1.1);
    color: var(--burgundy-light);
}

.enlace-item h3 {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.enlace-item p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* ===========================================
   Enlaces de Páginas Styles
   =========================================== */
.enlaces-paginas {
    padding: 40px 0;
    background: linear-gradient(135deg, var(--white), #fefefe);
}

.logo-image img {
    width: 65px;
    height: auto;
}


.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    align-items: center;
}

.logo-item {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 2px 20px rgba(128, 0, 32, 0.08);
    transition: all 0.4s ease;
    text-align: center;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(128, 0, 32, 0.05);
}

.logo-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow);
    border-color: var(--burgundy);
}

.logo-item img {
    max-width: 100%;
    max-height: 90px;
    object-fit: contain;
    transition: all 0.4s ease;
}

.logo-item:hover img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.05);
}

/* ===========================================
   Footer Styles
   =========================================== */
.footer {
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-dark));
    color: white;
    padding: 20px 15px;
    font-size: 14px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
}

/* Social Section */
.social-section h4 {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.social-links a:hover {
    background: var(--white);
    color: var(--burgundy);
    transform: translateY(-3px);
}

/* Footer Logo */
.footer-logo {
    text-align: center;
}

.footer-logo h3 {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Contact Info */
.contact-info h4 {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.contact-item {
    margin-bottom: 15px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-item i {
    color: var(--white);
    width: 18px;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

/* ===========================================
   Scroll to Top Button
   =========================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

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

.scroll-top:hover {
    transform: translateY(-5px);
}

/* ===========================================
   Animation Classes
   =========================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================================
   Responsive Design
   =========================================== */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav-menu {
        display: none;
    }

    .hero-content h1 {
        font-size: 3.2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .enlaces-grid {
        grid-template-columns: 1fr;
    }

    .logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .social-links a {
        margin-right: 8px;
    }

    .footer h3,
    .footer h4 {
        font-size: 15px;
    }

    .footer p,
    .footer span {
        font-size: 12px;
    }

    .contact-item {
        justify-content: center;
    }

    .hero {
        background-attachment: scroll;
    }

    #scrollTop {
        display: none;
    }

}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .enlaces-grid {
        grid-template-columns: 1fr;
    }

    .enlace-item {
        padding: 30px 20px;
    }

    .logos-grid {
        grid-template-columns: 1fr;
    }


}

/* ===========================================
   Sección Nosotros Styles
   =========================================== */

/* Hero Nosotros */
.nosotros-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)),
        url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 80px;
    overflow: hidden;
}

.nosotros-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(128, 0, 32, 0.1), rgba(128, 0, 32, 0.05));
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.1;
    }
}

.nosotros-hero-overlay h1 {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    /* Reducido de 4rem */
    font-weight: 700;
    text-align: center;
    letter-spacing: 2px;
    /* Reducido de 3px */
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
    position: relative;
    z-index: 1;
    animation: fadeInUp 1.5s ease-out;
}

/* Presentación Section */
.presentacion-section {
    padding: 80px 0;
    /* Reducido de 100px */
    background: var(--white);
    position: relative;
}

.presentacion-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    /* Reducido de 2.5rem */
    color: var(--burgundy);
    margin-bottom: 50px;
    /* Reducido de 60px */
    font-weight: 600;
    position: relative;
    animation: slideInFromTop 1s ease-out;
}

.presentacion-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
    margin: 25px auto;
    /* Reducido de 30px */
    border-radius: 2px;
    animation: expandWidth 1.5s ease-out 0.5s both;
}

@keyframes expandWidth {
    from {
        width: 0;
    }

    to {
        width: 80px;
    }
}



.presentacion-content {
    max-width: 850px;
    /* Reducido de 900px */
    margin: 0 auto;
    text-align: center;
    animation: fadeIn 1.2s ease-out 0.8s both;
}

.presentacion-content p {
    font-size: 1.1rem;
    /* Reducido de 1.2rem */
    line-height: 1.7;
    color: var(--text-dark);
    font-weight: 400;
}

/* Misión y Visión Section */
.mision-vision-section {
    font-size: 1.1rem;
    /* Reducido de 1.2rem */
    line-height: 1.7;
    color: var(--text-dark);
    font-weight: 400;
}

.mision-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    /* Reducido de 60px */
    max-width: 1100px;
    /* Reducido de 1200px */
    margin: 0 auto;
}

.mision-card,
.vision-card {
    background: var(--white);
    padding: 50px 35px;
    /* Reducido de 60px 40px */
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(128, 0, 32, 0.1);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(128, 0, 32, 0.1);
    position: relative;
    animation: slideInFromBottom 1s ease-out;
    transform: translateY(30px);
    opacity: 0;
}

/* Animaciones escalonadas */
.mision-card {
    animation-delay: 0.3s;
    animation-fill-mode: both;
}

.vision-card {
    animation-delay: 0.6s;
    animation-fill-mode: both;
}

@keyframes slideInFromBottom {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.mision-card::before,
.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
    border-radius: 20px 20px 0 0;
    transform: scaleX(0);
    transition: transform 0.6s ease;
}

.mision-card:hover::before,
.vision-card:hover::before {
    transform: scaleX(1);
}

.mision-card:hover,
.vision-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 70px rgba(128, 0, 32, 0.2);
}

.mision-card h3,
.vision-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    /* Reducido de 2rem */
    color: var(--burgundy);
    margin-bottom: 25px;
    /* Reducido de 30px */
    font-weight: 600;
    letter-spacing: 1.5px;
    /* Reducido de 2px */
}

.mision-card p,
.vision-card p {
    font-size: 1rem;
    /* Reducido de 1.1rem */
    line-height: 1.6;
    color: var(--text-dark);
    font-weight: 400;
}

/* Valores Section */

/* Valores Section - Más dinámica y compacta */
.valores-section {
    padding: 100px 0;
    /* Mantenido pero con mejores animaciones */
    background: linear-gradient(135deg, var(--white), #fefefe);
    position: relative;
    overflow: hidden;
}

.valores-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23800020" stroke-width="0.1" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% {
        transform: translateX(0) translateY(0);
    }

    25% {
        transform: translateX(-10px) translateY(-10px);
    }

    50% {
        transform: translateX(-20px) translateY(0);
    }

    75% {
        transform: translateX(-10px) translateY(10px);
    }

    100% {
        transform: translateX(0) translateY(0);
    }
}

.valores-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    /* Reducido de 2.8rem */
    color: var(--burgundy);
    margin-bottom: 70px;
    /* Reducido de 80px */
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    /* Reducido de 280px */
    gap: 35px;
    /* Reducido de 40px */
    max-width: 1300px;
    /* Reducido de 1400px */
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.valor-card {
    background: var(--white);
    padding: 40px 25px;
    /* Reducido de 50px 30px */
    border-radius: 25px;
    box-shadow: 0 8px 40px rgba(128, 0, 32, 0.08);
    text-align: center;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    border: 1px solid rgba(128, 0, 32, 0.05);
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    animation: cardFadeIn 0.8s ease-out forwards;
}

@keyframes cardFadeIn {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Animaciones escalonadas para valores */
.valor-card:nth-child(1) {
    animation-delay: 0.1s;
}

.valor-card:nth-child(2) {
    animation-delay: 0.2s;
}

.valor-card:nth-child(3) {
    animation-delay: 0.3s;
}

.valor-card:nth-child(4) {
    animation-delay: 0.4s;
}

.valor-card:nth-child(5) {
    animation-delay: 0.5s;
}

.valor-card:hover {
    transform: translateY(-20px) scale(1.03);
    box-shadow: 0 25px 70px rgba(128, 0, 32, 0.18);
    border-color: rgba(128, 0, 32, 0.2);
}

.valor-icon {
    width: 70px;
    /* Reducido de 80px */
    height: 70px;
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    /* Reducido de 30px */
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(128, 0, 32, 0.2);
}

.valor-card:hover .valor-icon {
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 15px 40px rgba(128, 0, 32, 0.3);
}

.valor-icon i {
    font-size: 1.8rem;
    /* Reducido de 2rem */
    color: var(--white);
    transition: all 0.3s ease;
}

.valor-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    /* Reducido de 1.4rem */
    color: var(--burgundy);
    margin-bottom: 18px;
    /* Reducido de 20px */
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

.valor-card p {
    color: var(--text-muted);
    font-size: 14px;
    /* Reducido de 15px */
    line-height: 1.6;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
}

/* Equipo Section - Más compacta */
.equipo-section {
    padding: 80px 0;
    /* Reducido de 100px */
    background: var(--cream);
}

.equipo-card {
    max-width: 750px;
    /* Reducido de 800px */
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(128, 0, 32, 0.1);
    padding: 50px;
    /* Reducido de 60px */
    display: flex;
    align-items: center;
    gap: 50px;
    /* Reducido de 60px */
    transition: all 0.4s ease;
    animation: slideInFromLeft 1s ease-out;
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.equipo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 60px rgba(128, 0, 32, 0.2);
}

.foto-placeholder {
    width: 180px;
    height: 220px;
    border: 2px solid var(--gold);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.equipo-card:hover .foto-placeholder {
    transform: scale(1.05);
}

.equipo-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    /* Reducido de 1.8rem */
    color: var(--gold);
    margin-bottom: 12px;
    /* Reducido de 15px */
    font-weight: 600;
    letter-spacing: 1px;
}

.cargo {
    font-size: 0.95rem;
    /* Reducido de 1rem */
    color: var(--text-muted);
    margin-bottom: 18px;
    /* Reducido de 20px */
    font-weight: 500;
    letter-spacing: 1px;
}

.equipo-card:hover .titulo-profesional {
    background: var(--gold-light);
    transform: scale(1.05);
}

/* Responsive mejorado */
@media (max-width: 768px) {
    .nosotros-hero h1 {
        font-size: 2.2rem;
        /* Reducido de 2.5rem */
    }

    .presentacion-title,
    .valores-title {
        font-size: 1.9rem;
        /* Reducido */
    }

    .mision-card h3,
    .vision-card h3 {
        font-size: 1.4rem;
        /* Reducido */
    }

    .equipo-card {
        flex-direction: column;
        text-align: center;
        padding: 35px 25px;
        /* Reducido */
        gap: 35px;
        /* Reducido */
    }

    .foto-placeholder {
        width: 150px;
        /* Reducido */
        height: 180px;
        /* Reducido */
    }

    .logo-text h2 {
        font-size: 12px;
    }

    .logo-text span {
        font-size: 10px;
    }

    .logo-image img {
        width: 50px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo h3 {
        font-size: 1.25rem;
    }

    .footer-logo p {
        font-size: 0.85rem;
    }

    .contact-item,
    .social-links {
        justify-content: center;
    }


}


.foto-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: 600;
    color: var(--burgundy);
    font-size: 14px;
    letter-spacing: 2px;
    z-index: 1;
}

.equipo-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--burgundy);
    margin-bottom: 15px;
    font-weight: 600;
    letter-spacing: 1px;
}

.cargo {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-weight: 500;
    letter-spacing: 1px;
}

.titulo-profesional {
    background: var(--gold);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
}

/* Responsive Design para Nosotros */
@media (max-width: 768px) {
    .nosotros-hero h1 {
        font-size: 2.5rem;
    }

    .mision-vision-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mision-card,
    .vision-card {
        padding: 40px 30px;
    }

    .equipo-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
        gap: 40px;
    }

    .foto-placeholder {
        width: 160px;
        height: 200px;
    }

    .presentacion-content p {
        font-size: 1.1rem;
    }

    .valores-list {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .nosotros-hero {
        height: 40vh;
    }

    .nosotros-hero h1 {
        font-size: 2rem;
    }

    .presentacion-title,
    .valores-title {
        font-size: 2rem;
    }

    .mision-card h3,
    .vision-card h3 {
        font-size: 1.5rem;
    }

    .equipo-info h3 {
        font-size: 1.5rem;
    }
}

/* Valores Section Mejorada */
.valores-section {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--white), #fefefe);
    position: relative;
}

.valores-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23800020" stroke-width="0.1" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

.valores-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: var(--burgundy);
    margin-bottom: 80px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.valores-title::after {
    content: '';
    display: block;
    width: 120px;
    height: 4px;
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
    margin: 30px auto;
    border-radius: 2px;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.valor-card {
    background: var(--white);
    padding: 50px 30px;
    border-radius: 25px;
    box-shadow: 0 8px 40px rgba(128, 0, 32, 0.08);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    border: 1px solid rgba(128, 0, 32, 0.05);
    overflow: hidden;
}

.valor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
    transition: left 0.5s ease;
}

.valor-card:hover::before {
    left: 0;
}

.valor-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(128, 0, 32, 0.03) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
    border-radius: 50%;
}

.valor-card:hover::after {
    width: 300px;
    height: 300px;
}

.valor-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 70px rgba(128, 0, 32, 0.15);
    border-color: rgba(128, 0, 32, 0.2);
}

.valor-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(128, 0, 32, 0.2);
}

.valor-icon::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.valor-card:hover .valor-icon::before {
    opacity: 0.3;
}

.valor-card:hover .valor-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(128, 0, 32, 0.3);
}

.valor-icon i {
    font-size: 2rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.valor-card:hover .valor-icon i {
    transform: scale(1.1);
}

.valor-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--burgundy);
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

.valor-card:hover h3 {
    color: var(--burgundy-dark);
    transform: translateY(-2px);
}

.valor-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
}

.valor-card:hover p {
    color: var(--text-dark);
}

/* Efecto de staggered animation */
.valor-card:nth-child(1) {
    animation-delay: 0.1s;
}

.valor-card:nth-child(2) {
    animation-delay: 0.2s;
}

.valor-card:nth-child(3) {
    animation-delay: 0.3s;
}

.valor-card:nth-child(4) {
    animation-delay: 0.4s;
}

.valor-card:nth-child(5) {
    animation-delay: 0.5s;
}

/* Responsive Design para Valores */
@media (max-width: 768px) {
    .valores-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }

    .valor-card {
        padding: 40px 25px;
    }

    .valores-title {
        font-size: 2.2rem;
        margin-bottom: 60px;
    }

    .valor-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 25px;
    }

    .valor-icon i {
        font-size: 1.7rem;
    }

    .valor-card h3 {
        font-size: 1.2rem;
    }

    .valor-card p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .valores-section {
        padding: 80px 0;
    }

    .valores-title {
        font-size: 1.8rem;
    }

    .valor-card {
        padding: 35px 20px;
        border-radius: 20px;
    }

    .valor-icon {
        width: 60px;
        height: 60px;
    }

    .valor-icon i {
        font-size: 1.5rem;
    }
}

/* ===========================================
   Sección Servicios Styles
   =========================================== */

/* Hero Servicios */
.servicios-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)),
        url('/images/servicios-contables.jpg');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 80px;
}

.servicios-hero-overlay h1 {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 3px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

/* Contenido de Servicios */
.servicios-content {
    padding: 40px 0;
    background: linear-gradient(135deg, var(--cream), #fefefe);
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Cards de Servicios */
.servicio-card {
    background: var(--white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(128, 0, 32, 0.08);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    border: 1px solid rgba(128, 0, 32, 0.05);
    cursor: pointer;
    margin-bottom: 60px;
}

.servicio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(128, 0, 32, 0.05), rgba(128, 0, 32, 0.02));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

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

.servicio-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 70px rgba(128, 0, 32, 0.15);
    border-color: rgba(128, 0, 32, 0.2);
}

/* Imagen del Servicio */
.servicio-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.servicio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Overlay con icono */
.servicio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(128, 0, 32, 0.8), rgba(128, 0, 32, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.servicio-card:hover .servicio-overlay {
    opacity: 1;
}

.servicio-overlay i {
    font-size: 3rem;
    color: white;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.servicio-card:hover .servicio-overlay i {
    transform: scale(1);
}

/* Contenido del Servicio */
.servicio-content {
    padding: 30px 25px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.servicio-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.servicio-card:hover .servicio-content h3 {
    color: var(--burgundy);
    transform: translateY(-2px);
}



.servicio-card:hover .servicio-content-2 h3 {

    transform: translateY(-2px);
}

.servicio-card:hover .placeholder-box {
    border-color: rgba(128, 0, 32, 0.3);
}

.servicio-card:hover .line {
    background: rgba(128, 0, 32, 0.6);
}

/* Efectos de animación escalonada */
.servicio-card:nth-child(1) {
    animation-delay: 0.1s;
}

.servicio-card:nth-child(2) {
    animation-delay: 0.2s;
}

.servicio-card:nth-child(3) {
    animation-delay: 0.3s;
}

.servicio-card:nth-child(4) {
    animation-delay: 0.4s;
}

.servicio-card:nth-child(5) {
    animation-delay: 0.5s;
}

.servicio-card:nth-child(6) {
    animation-delay: 0.6s;
}

.servicio-card:nth-child(7) {
    animation-delay: 0.7s;
}

.servicio-card:nth-child(8) {
    animation-delay: 0.8s;
}

/* Responsive Design para Servicios */
@media (max-width: 768px) {
    .servicios-hero h1 {
        font-size: 2.5rem;
    }

    .servicios-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }

    .servicio-image {
        height: 200px;
    }

    .servicio-content {
        padding: 25px 20px;
    }

    .servicio-content h3 {
        font-size: 1rem;
    }

    .servicio-overlay i {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .servicios-hero {
        height: 40vh;
    }

    .servicios-hero h1 {
        font-size: 2rem;
    }

    .servicios-content {
        padding: 80px 0;
    }

    .servicio-card {
        border-radius: 20px;
    }

    .servicio-image {
        height: 180px;
    }

    .servicio-content {
        padding: 20px 15px;
    }

    .servicio-content h3 {
        font-size: 0.9rem;
    }

    .servicio-overlay i {
        font-size: 2rem;
    }
}

/* ===========================================
   Sección Contacto Styles
   =========================================== */

/* Hero Contacto */
.contacto-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)),
        url('https://plus.unsplash.com/premium_photo-1661302884827-5d0474877b5f?q=80&w=1171&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-position: center;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 80px;
}

.contacto-hero-overlay {
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.contacto-hero-overlay h1 {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
    margin-bottom: 30px;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    line-height: 1.6;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Contenido de Contacto */
.contacto-content {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--cream), #fefefe);
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    align-items: start;
}

/* Información de Contacto */
.contacto-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--burgundy);
    margin-bottom: 50px;
    font-weight: 600;
    position: relative;
}

.contacto-info h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
    margin-top: 20px;
    border-radius: 2px;
}

/* Métodos de Contacto */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 60px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 25px;
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(128, 0, 32, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(128, 0, 32, 0.05);
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 60px rgba(128, 0, 32, 0.15);
}

.method-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.whatsapp-icon {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.email-icon {
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
}

.phone-icon {
    background: linear-gradient(135deg, #4285F4, #1976D2);
}

.contact-method:hover .method-icon {
    transform: scale(1.1);
}

.method-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.method-info p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 15px;
    font-weight: 500;
}

/* Botones de Contacto */
.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    color: white;
}

.whatsapp-button {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.whatsapp-button:hover {
    background: linear-gradient(135deg, #128C7E, #075E54);
    transform: translateY(-2px);
}

.email-button {
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
}

.email-button:hover {
    background: linear-gradient(135deg, var(--burgundy-dark), var(--burgundy));
    transform: translateY(-2px);
}

.phone-button {
    background: linear-gradient(135deg, #4285F4, #1976D2);
}

.phone-button:hover {
    background: linear-gradient(135deg, #1976D2, #1565C0);
    transform: translateY(-2px);
}

/* Redes Sociales */
.social-contact {
    margin-top: 40px;
}

.social-contact h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--burgundy);
    margin-bottom: 25px;
    font-weight: 600;
}

.social-buttons {
    display: flex;
    gap: 20px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    font-size: 14px;
}

.facebook-btn {
    background: linear-gradient(135deg, #1877F2, #0C63D4);
}

.facebook-btn:hover {
    background: linear-gradient(135deg, #0C63D4, #084298);
    transform: translateY(-2px);
}

.instagram-btn {
    background: linear-gradient(135deg, #E4405F, #C13584);
}

.instagram-btn:hover {
    background: linear-gradient(135deg, #C13584, #833AB4);
    transform: translateY(-2px);
}

/* Tarjeta de Horarios */
.horarios-card {
    background: var(--white);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 8px 40px rgba(128, 0, 32, 0.08);
    border: 1px solid rgba(128, 0, 32, 0.05);
    position: sticky;
    top: 100px;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
}

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

.card-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--burgundy);
    font-weight: 600;
}

.horario-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(128, 0, 32, 0.1);
}

.horario-item:last-child {
    border-bottom: none;
}

.dia {
    font-weight: 600;
    color: var(--text-dark);
}

.hora {
    color: var(--text-muted);
    font-weight: 500;
}

.horario-item.special .hora {
    color: var(--burgundy);
    font-weight: 600;
}

/* CTA de Emergencia */
.emergency-cta {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(255, 87, 87, 0.1), rgba(255, 99, 99, 0.05));
    border-radius: 15px;
    border: 1px solid rgba(255, 87, 87, 0.2);
    text-align: center;
}

.emergency-cta i {
    font-size: 1.5rem;
    color: #FF5757;
    margin-bottom: 15px;
}

.emergency-cta p {
    color: var(--text-dark);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.emergency-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #FF5757, #FF3030);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.emergency-button:hover {
    background: linear-gradient(135deg, #FF3030, #FF1010);
    transform: translateY(-2px);
}

/* CTA Principal */
.main-cta {
    margin-top: 80px;
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-dark));
    border-radius: 25px;
    padding: 60px 40px;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

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

.cta-primary,
.cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.cta-primary {
    background: var(--white);
    color: var(--burgundy);
}

.cta-primary:hover {
    background: var(--cream);
    transform: translateY(-3px);
}

.cta-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-float a {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 2rem;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--text-dark);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 85px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive Design para Contacto */
@media (max-width: 768px) {
    .contacto-hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-method {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }

    .horarios-card {
        position: static;
        margin-top: 30px;
    }

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

    .cta-primary,
    .cta-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .social-buttons {
        flex-direction: column;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float a {
        width: 60px;
        height: 60px;
        font-size: 1.7rem;
    }
}

@media (max-width: 480px) {
    .contacto-hero {
        height: 50vh;
    }

    .contacto-hero h1 {
        font-size: 2rem;
    }

    .contacto-content {
        padding: 80px 0;
    }

    .contacto-info h2 {
        font-size: 2rem;
    }

    .main-cta {
        padding: 40px 20px;
        margin-top: 60px;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .horarios-card {
        padding: 30px 25px;
    }
}

/* ===========================================
   CLASES NUEVAS PARA SERVICIOS ELEGANTES
   =========================================== */

/* Hero Particles y Elementos */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px, 120px 120px;
    animation: floatParticles 20s linear infinite;
}

@keyframes floatParticles {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-100px);
    }
}

.hero-content-wrapper {
    max-width: 900px;
    padding: 0 20px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInDown 1s ease-out;
}

.hero-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 50px;
    font-weight: 300;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    animation: fadeInUp 1s ease-out 0.9s both;
}

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

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
}

/* Introducción de Servicios */
.servicios-intro {
    padding: 70px 0;
    background: var(--white);
}

.intro-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.intro-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--burgundy);
    margin-bottom: 25px;
    font-weight: 600;
}

.intro-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-muted);
}

/* Card Header */
.card-header {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 3;
}

.service-number {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--burgundy);
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(128, 0, 32, 0.3);
    transition: all 0.3s ease;
}

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

/* Featured Card */
.featured-card {
    border: 2px solid var(--burgundy);
    position: relative;
}

.featured-badge {
    position: absolute;
    top: -1px;
    right: 20px;
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
    color: white;
    padding: 6px 15px;
    border-radius: 0 0 10px 10px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 4;
}

/* Premium Card */
.premium-card {
    background: linear-gradient(135deg, #f8f9fa, var(--white));
}

/* Special Card */
.special-card {
    background: linear-gradient(135deg, #fff8f0, var(--white));
}

/* Image Overlay */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(128, 0, 32, 0.7), rgba(128, 0, 32, 0.5));
    opacity: 0;
    transition: all 0.4s ease;
}

.servicio-card:hover .image-overlay {
    opacity: 1;
}

/* Placeholder Elegante */
.placeholder-elegant {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f1f3f4, #e8eaed);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.placeholder-pattern {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.pattern-dot {
    background: rgba(128, 0, 32, 0.1);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

.pattern-dot:nth-child(1) {
    animation-delay: 0s;
}

.pattern-dot:nth-child(2) {
    animation-delay: 0.5s;
}

.pattern-dot:nth-child(3) {
    animation-delay: 1s;
}

.pattern-dot:nth-child(4) {
    animation-delay: 1.5s;
}

@keyframes dotPulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.8;
    }
}

.placeholder-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.placeholder-text i {
    font-size: 2.5rem;
    color: var(--burgundy);
    margin-bottom: 10px;
}

.placeholder-text span {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Service Features */
.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px;
    justify-content: center;
}

.feature-tag {
    background: rgba(128, 0, 32, 0.1);
    color: var(--burgundy);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Card Footer */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(128, 0, 32, 0.1);

}

.service-price {
    font-weight: 600;
    color: var(--burgundy);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-btn {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
    border: none;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
    text-decoration: none;
}

.service-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(128, 0, 32, 0.3);
}

/* CTA Section */
.servicios-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-dark));
    color: white;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 50px;
}

.cta-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.cta-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
}

.cta-primary,
.cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.cta-primary {
    background: var(--white);
    color: var(--burgundy);
}

.cta-primary:hover {
    background: var(--cream);
    transform: translateY(-2px);
}

.cta-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Animación para las cards */
@keyframes cardSlideIn {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive para elementos nuevos */
@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-primary,
    .cta-secondary {
        justify-content: center;
    }

    .card-header {
        left: 15px;
        right: 15px;
        top: 15px;
    }

    .service-features {
        justify-content: center;
    }
}

/* ===========================================
   CSS PARA PÁGINAS DE DETALLE DE SERVICIOS
   =========================================== */

/* Breadcrumb */
.breadcrumb-section {
    background: linear-gradient(135deg, var(--cream), #fefefe);
    padding: 20px 0;
    margin-top: 80px;
    border-bottom: 1px solid rgba(128, 0, 32, 0.1);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--burgundy);
}

.breadcrumb .separator {
    color: var(--text-muted);
    font-size: 12px;
}

.breadcrumb .current {
    color: var(--burgundy);
    font-weight: 600;
}

/* Hero del Servicio */
.service-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 70vh;
    align-items: center;
    background: var(--white);
}

.service-hero-content {
    padding: 80px 0;
    display: flex;
    align-items: center;
}

.hero-info {
    max-width: 600px;
}

.service-category {
    display: inline-flex;
    align-items: center;

    background: rgba(128, 0, 32, 0.1);
    color: var(--burgundy);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    display: flex;
    gap: 15px;
    /* Espacio uniforme entre todos los elementos */
}

.service-category i {
    font-size: 16px;
}

.service-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    color: var(--burgundy);
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--burgundy-dark), var(--burgundy));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(128, 0, 32, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--burgundy);
    border: 2px solid var(--burgundy);
}

.btn-secondary:hover {
    background: var(--burgundy);
    color: white;
    transform: translateY(-2px);
}

.hero-image {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(128, 0, 32, 0.1), rgba(128, 0, 32, 0.05));
}

/* Descripción del Servicio */
.service-description {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--cream), #fefefe);
}

.description-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: start;
}

.description-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--burgundy);
    margin-bottom: 30px;
    font-weight: 600;
}

.description-content>p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 50px;
}

.service-features-detailed h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 40px;
    font-weight: 600;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 10px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(128, 0, 32, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(128, 0, 32, 0.05);
}

.feature-item:hover {
    border-width: 2px;
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(128, 0, 32, 0.1);
    border-color: rgba(133, 17, 46, 0.927);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
}

.feature-text h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.feature-text p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Sidebar */
.description-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: sticky;
    top: 100px;
}

.info-card,
.contact-card,
.related-services {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 40px rgba(128, 0, 32, 0.08);
    border: 1px solid rgba(128, 0, 32, 0.05);
}

.info-card h3,
.contact-card h3,
.related-services h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--burgundy);
    margin-bottom: 25px;
    font-weight: 600;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(128, 0, 32, 0.1);
}

.info-item:last-child {
    border-bottom: none;
}

.info-item strong {
    color: var(--text-dark);
    font-weight: 600;
}

.info-item span {
    color: var(--text-muted);
    text-align: right;
}

.contact-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    padding: 15px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E, #075E54);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.related-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    color: var(--text-dark);
    text-decoration: none;
    border-bottom: 1px solid rgba(128, 0, 32, 0.1);
    transition: all 0.3s ease;
}

.related-link:last-child {
    border-bottom: none;
}

.related-link:hover {
    color: var(--burgundy);
    padding-left: 10px;
}

.related-link i {
    color: var(--burgundy);
    width: 20px;
    text-align: center;
}

/* CTA Final */
.service-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-dark));
    color: white;
    text-align: center;
}

.service-cta .cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.service-cta .cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

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

.btn-cta-primary,
.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-size: 14px;
}

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

.btn-cta-primary:hover {
    background: var(--cream);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-cta-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .service-hero {
        grid-template-columns: 1fr;
    }

    .hero-image {
        order: -1;
        height: 300px;
    }

    .service-hero h1 {
        font-size: 2.5rem;
    }

    .description-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .description-sidebar {
        position: static;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-secondary {
        justify-content: center;
    }

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

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .service-hero h1 {
        font-size: 2rem;
    }

    .description-content h2 {
        font-size: 2rem;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
    }

    .feature-icon {
        align-self: center;
    }
}

/* ===========================================
   CSS ADICIONAL PARA ASESORÍA TRIBUTARIA
   =========================================== */

/* Category Featured */
.featured-category {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 193, 7, 0.1));
    border: 2px solid #FFD700;
    padding-right: 120px;
}

.popular-badge {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #8B4513;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

/* Featured Info Card */
.featured-info {
    position: relative;
    border: 2px solid #FFD700;
    background: linear-gradient(135deg, #FFFBF0, var(--white));
}

.featured-header {
    position: absolute;
    top: -12px;
    left: 20px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #8B4513;
    padding: 6px 15px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.featured-header i {
    color: #FF8C00;
}

.featured-info h3 {
    margin-top: 15px;
}

/* Urgent Contact Card */
.urgent-contact {
    position: relative;
    border: 2px solid #FF4444;
    background: linear-gradient(135deg, #FFF5F5, var(--white));
}

.urgent-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: linear-gradient(135deg, #FF4444, #CC0000);
    color: white;
    padding: 6px 15px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.3);
    animation: urgentPulse 2s ease-in-out infinite;
}

@keyframes urgentPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 68, 68, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(255, 68, 68, 0.5);
    }
}

.urgent-contact h3 {
    margin-top: 15px;
    color: #CC0000;
}

.urgent-btn {
    background: linear-gradient(135deg, #FF4444, #CC0000);
    animation: urgentGlow 3s ease-in-out infinite;
}

.urgent-btn:hover {
    background: linear-gradient(135deg, #CC0000, #AA0000);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 68, 68, 0.4);
}

@keyframes urgentGlow {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(255, 68, 68, 0.3);
    }

    50% {
        box-shadow: 0 8px 25px rgba(255, 68, 68, 0.5);
    }
}

/* Responsive para elementos nuevos */
@media (max-width: 768px) {
    .featured-category {
        padding-right: 10px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }

    .popular-badge {
        position: static;
        transform: none;
        margin-top: 5px;
    }

    .featured-header,
    .urgent-badge {
        position: static;
        margin-bottom: 15px;
        align-self: flex-start;
    }

    .featured-info h3,
    .urgent-contact h3 {
        margin-top: 0;
    }
}

.laboral-category {
    position: relative;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.2), rgba(41, 128, 185, 0.1));
    border: 2px solid #3498DB;
    padding-right: 150px;
}

.specialist-badge {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #3498DB, #2980B9);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.laboral-info {
    position: relative;
    border: 2px solid #3498DB;
    background: linear-gradient(135deg, #F0F8FF, var(--white));
}

.laboral-header {
    position: absolute;
    top: -12px;
    left: 20px;
    background: linear-gradient(135deg, #3498DB, #2980B9);
    color: white;
    padding: 6px 15px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.laboral-header i {
    color: #87CEEB;
}

.laboral-info h3 {
    margin-top: 15px;
}

.inspection-contact {
    position: relative;
    border: 2px solid #E67E22;
    background: linear-gradient(135deg, #FDF6F0, var(--white));
}

.inspection-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: linear-gradient(135deg, #E67E22, #D35400);
    color: white;
    padding: 6px 15px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
    animation: inspectionAlert 3s ease-in-out infinite;
}

@keyframes inspectionAlert {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
    }
}

.inspection-contact h3 {
    margin-top: 15px;
    color: #D35400;
}

.inspection-btn {
    background: linear-gradient(135deg, #E67E22, #D35400);
}

.inspection-btn:hover {
    background: linear-gradient(135deg, #D35400, #B8860B);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.4);
}

@media (max-width: 768px) {
    .laboral-category {
        padding-right: 10px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }

    .specialist-badge {
        position: static;
        transform: none;
        margin-top: 5px;
    }

    .laboral-header,
    .inspection-badge {
        position: static;
        margin-bottom: 15px;
        align-self: flex-start;
    }

    .laboral-info h3,
    .inspection-contact h3 {
        margin-top: 0;
    }
}

.financiero-category {
    position: relative;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.2), rgba(39, 174, 96, 0.1));
    border: 2px solid #2ECC71;
    padding-right: 160px;
}

.strategic-badge {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #2ECC71, #27AE60);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(46, 204, 113, 0.3);
}

.financiero-info {
    position: relative;
    border: 2px solid #2ECC71;
    background: linear-gradient(135deg, #F0FFF4, var(--white));
}

.financiero-header {
    position: absolute;
    top: -12px;
    left: 20px;
    background: linear-gradient(135deg, #2ECC71, #27AE60);
    color: white;
    padding: 6px 15px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.financiero-header i {
    color: #90EE90;
}

.financiero-info h3 {
    margin-top: 15px;
}

.investment-contact {
    position: relative;
    border: 2px solid #9B59B6;
    background: linear-gradient(135deg, #F8F5FF, var(--white));
}

.investment-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: linear-gradient(135deg, #9B59B6, #8E44AD);
    color: white;
    padding: 6px 15px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(155, 89, 182, 0.3);
    animation: investmentGlow 4s ease-in-out infinite;
}

@keyframes investmentGlow {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(155, 89, 182, 0.3);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 6px 20px rgba(155, 89, 182, 0.4);
    }
}

.investment-contact h3 {
    margin-top: 15px;
    color: #8E44AD;
}

.investment-btn {
    background: linear-gradient(135deg, #9B59B6, #8E44AD);
}

.investment-btn:hover {
    background: linear-gradient(135deg, #8E44AD, #7D3C98);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(155, 89, 182, 0.4);
}

@media (max-width: 768px) {
    .financiero-category {
        padding-right: 10px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }

    .strategic-badge {
        position: static;
        transform: none;
        margin-top: 5px;
    }

    .financiero-header,
    .investment-badge {
        position: static;
        margin-bottom: 15px;
        align-self: flex-start;
    }

    .financiero-info h3,
    .investment-contact h3 {
        margin-top: 0;
    }
}

.constitucion-category {
    position: relative;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.2), rgba(192, 57, 43, 0.1));
    border: 2px solid #E74C3C;
    padding-right: 150px;
}

.startup-badge {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #E74C3C, #C0392B);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

.constitucion-info {
    position: relative;
    border: 2px solid #E74C3C;
    background: linear-gradient(135deg, #FFF5F5, var(--white));
}

.constitucion-header {
    position: absolute;
    top: -12px;
    left: 20px;
    background: linear-gradient(135deg, #E74C3C, #C0392B);
    color: white;
    padding: 6px 15px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.constitucion-header i {
    color: #FFB3B3;
}

.constitucion-info h3 {
    margin-top: 15px;
}

.startup-contact {
    position: relative;
    border: 2px solid #F39C12;
    background: linear-gradient(135deg, #FFFACD, var(--white));
}

.startup-contact-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: linear-gradient(135deg, #F39C12, #E67E22);
    color: white;
    padding: 6px 15px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
    animation: startupPulse 3s ease-in-out infinite;
}

@keyframes startupPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
    }
}

.startup-contact h3 {
    margin-top: 15px;
    color: #E67E22;
}

.startup-btn {
    background: linear-gradient(135deg, #F39C12, #E67E22);
}

.startup-btn:hover {
    background: linear-gradient(135deg, #E67E22, #D68910);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4);
}

@media (max-width: 768px) {
    .constitucion-category {
        padding-right: 10px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }

    .startup-badge {
        position: static;
        transform: none;
        margin-top: 5px;
    }

    .constitucion-header,
    .startup-contact-badge {
        position: static;
        margin-bottom: 15px;
        align-self: flex-start;
    }

    .constitucion-info h3,
    .startup-contact h3 {
        margin-top: 0;
    }
}

.inventario-category {
    position: relative;
    background: linear-gradient(135deg, rgba(52, 73, 94, 0.2), rgba(44, 62, 80, 0.1));
    border: 2px solid #34495E;
    padding-right: 140px;
}

.precision-badge {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #34495E, #2C3E50);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(52, 73, 94, 0.3);
}

.inventario-info {
    position: relative;
    border: 2px solid #34495E;
    background: linear-gradient(135deg, #F8F9FA, var(--white));
}

.inventario-header {
    position: absolute;
    top: -12px;
    left: 20px;
    background: linear-gradient(135deg, #34495E, #2C3E50);
    color: white;
    padding: 6px 15px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(52, 73, 94, 0.3);
}

.inventario-header i {
    color: #BDC3C7;
}

.inventario-info h3 {
    margin-top: 15px;
}

.audit-contact {
    position: relative;
    border: 2px solid #16A085;
    background: linear-gradient(135deg, #F0FDFA, var(--white));
}

.audit-badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: linear-gradient(135deg, #16A085, #138D75);
    color: white;
    padding: 6px 15px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(22, 160, 133, 0.3);
    animation: auditShine 4s ease-in-out infinite;
}

@keyframes auditShine {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(22, 160, 133, 0.3);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 6px 20px rgba(22, 160, 133, 0.4);
    }
}

.audit-contact h3 {
    margin-top: 15px;
    color: #138D75;
}

.audit-btn {
    background: linear-gradient(135deg, #16A085, #138D75);
}

.audit-btn:hover {
    background: linear-gradient(135deg, #138D75, #117A65);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(22, 160, 133, 0.4);
}

@media (max-width: 768px) {
    .inventario-category {
        padding-right: 10px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }

    .precision-badge {
        position: static;
        transform: none;
        margin-top: 5px;
    }

    .inventario-header,
    .audit-badge {
        position: static;
        margin-bottom: 15px;
        align-self: flex-start;
    }

    .inventario-info h3,
    .audit-contact h3 {
        margin-top: 0;
    }
}

.foto-equipo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    /* si quieres bordes redondeados */
}

/* ------------------------------------------------------------ */

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #444;
}

.highlight-icon {
    color: #ead066;
    font-size: 16px;
}

.servicio-card-2 {
    display: flex;
    align-items: stretch;
}

.card-content {
    flex: 1;
}

.servicio-image-2 {
    flex: 0 0 600px;
    height: 420px;
}

.servicio-image-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 768px) {
    .servicio-card-2 {
        flex-direction: column;
    }

    .servicio-image-2 {
        flex: none;
        height: 300px;
    }
}

.service-highlights {
    background: linear-gradient(135deg, #fffbdb, #ebe6c6);
    padding: 20px;
    border-radius: 15px;
    border-left: 4px solid #ecc031;
    margin-bottom: 25px;
}


/* Botón flotante principal - Servicio Virtual */
.virtual-service-float {
    position: fixed;
    top: 120px;
    left: 25px;
    z-index: 1000;
    cursor: pointer;
}

.virtual-service-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 200px;
    height: 50px;
    padding: 0 25px;
    background: linear-gradient(135deg, #722F37 0%, #8B0000 100%);
    border-radius: 30px;
    text-decoration: none;
    color: white;
    font-size: 10px;
    font-weight: 200;
    box-shadow: 0 8px 25px rgba(93, 36, 43, 0.937);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: shadow-pulse 4s infinite;
}

.virtual-service-float a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #8B0000 0%, #722F37 100%);
    opacity: 0;
    transition: opacity 0.1s ease;
}

.virtual-service-float a:hover::before {
    opacity: 1;
}

.virtual-service-float a i {
    position: relative;
    z-index: 2;
    margin-right: 10px;
    font-size: 20px;
}

.virtual-service-float a .virtual-text {
    position: relative;
    z-index: 2;
    font-size: 16px;
    font-weight: 600;
}

.virtual-service-float a:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(114, 47, 55, 0.6);
}



.virtual-service-float:hover .virtual-service-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(10px);
}

/* Animación de pulso */
@keyframes virtual-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes shadow-pulse {
    0% {
        box-shadow: 0 0 0 rgba(139, 0, 0, 0.4);
        /* inicio: más visible */
    }

    50% {
        box-shadow: 0 0 10px 10px rgba(222, 110, 110, 0.42);
        /* medio: muy brillante */
    }

    100% {
        box-shadow: 0 0 0 rgba(139, 0, 0, 0.4);
        /* regreso: igual al inicio */
    }
}


/* Responsive */
@media (max-width: 768px) {
    .virtual-service-float {
        bottom: 20px;
        left: 20px;
        display:none;
    }

    .virtual-service-float a {
        min-width: 180px;
        height: 50px;
        padding: 0 20px;
        font-size: 14px;
    }

    .virtual-service-float a i {
        font-size: 18px;
        margin-right: 8px;
    }

    .virtual-service-float a .virtual-text {
        font-size: 14px;
    }
}

/* Botón hamburguesa */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Animación del botón hamburguesa cuando está activo */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mostrar botón solo en pantallas pequeñas */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        align-items: center;
        display: none;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 8px 8px;
        padding: 20px 0;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        display: flex;
        animation: slideDown 0.3s ease forwards;
    }

    .nav-menu li {
        margin: 10px 0;
        opacity: 0;
        transform: translateY(-10px);
        animation: fadeInUp 0.3s ease forwards;
    }

    .nav-menu.active li:nth-child(1) {
        animation-delay: 0.1s;
    }

    .nav-menu.active li:nth-child(2) {
        animation-delay: 0.2s;
    }

    .nav-menu.active li:nth-child(3) {
        animation-delay: 0.3s;
    }

    .nav-menu.active li:nth-child(4) {
        animation-delay: 0.4s;
    }
}


/* Animaciones adicionales */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}