/* ========================================
   AMARU Patent & Trademark Law Office
   CSS PROFESIONAL - Rojo, Azul y Blanco
   Rojo: #d60202 | Azul: #0a2b8a | Blanco: #ffffff
   ======================================== */

/* ========================================
   PALETA DE COLORES PRINCIPAL
   ======================================== */
:root {
    --primary-red: #d60202;
    --primary-red-dark: #a00202;
    --primary-red-light: #ff3333;
    --primary-blue: #0a2b8a;
    --primary-blue-dark: #061c5c;
    --primary-blue-light: #1a3fa8;
    --white: #ffffff;
    --white-smoke: #f5f5f5;
    --gray-light: #e8eaed;
    --gray-text: #6c757d;
    --dark-bg: #0a0e1a;
    --shadow-sm: 0 5px 15px rgba(0,0,0,0.08);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.12);
    --transition: all 0.3s ease;
}

body {
    color: #4a5568;
    background: var(--white);
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'EB Garamond', serif;
    font-weight: 700;
    font-style: italic;
    color: var(--primary-blue-dark);
}

a {
    color: var(--gray-text);
    transition: var(--transition);
}

a:hover, a:active, a:focus {
    color: var(--primary-red);
    outline: none;
    text-decoration: none;
}

.btn:focus {
    box-shadow: none;
}

.wrapper {
    position: relative;
    width: 100%;
    max-width: 1366px;
    margin: 0 auto;
    background: var(--white);
}

.back-to-top {
    position: fixed;
    display: none;
    background: var(--primary-red);
    color: var(--white);
    width: 48px;
    height: 48px;
    text-align: center;
    line-height: 1;
    font-size: 22px;
    right: 20px;
    bottom: 20px;
    border-radius: 50%;
    transition: var(--transition);
    z-index: 99;
    box-shadow: var(--shadow-md);
}

.back-to-top:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-5px);
}

.back-to-top i {
    padding-top: 13px;
    display: inline-block;
}

/* ========================================
   TOP BAR CSS
   ======================================== */
.top-bar {
    position: relative;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 100%);
    border-bottom: 3px solid var(--primary-red);
}

.top-bar .logo {
    padding: 15px 0;
    text-align: left;
    overflow: hidden;
}

.top-bar .logo h1 {
    margin: 0;
    color: var(--primary-red);
    font-size: 25px;
    line-height: 55px;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.top-bar .logo span {
    font-size: 15px;
    color: var(--white);
    display: block;
    letter-spacing: 1px;
    opacity: 0.9;
}

.top-bar .top-bar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
}

.top-bar .text {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 25px;
    text-align: center;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
}

.top-bar .text:hover {
    background: rgba(214, 2, 2, 0.15);
}

.top-bar .text h2 {
    color: var(--white);
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 18px;
    margin: 0;
}

.top-bar .text h2 i {
    color: var(--primary-red);
    margin-right: 8px;
}

.top-bar .text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    margin: 0;
}

.top-bar .social {
    display: flex;
    height: 100%;
    font-size: 0;
    justify-content: flex-end;
}

.top-bar .social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 100%;
    font-size: 20px;
    color: var(--white);
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
}

.top-bar .social a:first-child {
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.top-bar .social a:hover {
    color: var(--white);
    background: var(--primary-red);
    transform: translateY(-2px);
}

@media (min-width: 992px) {
    .top-bar {
        padding: 0 60px;
    }
}

@media (max-width: 991.98px) {
    /* Solo afecta al logo y su contenedor */
    .top-bar .col-lg-4 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        padding: 0 !important;
        margin: 0 !important;
        min-height: auto !important;
    }

    .top-bar .logo {
        text-align: center;
        padding: 2px 0 !important;
        margin: 0 !important;
        line-height: 1 !important;
    }
    
    .top-bar .logo h1 {
        font-size: 25px;
        line-height: 1.1 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .top-bar .logo span {
        font-size: 12px;
        line-height: 1.1 !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block;
    }

    /* Ocultar horario, teléfono y redes sociales */
    .top-bar .col-lg-8 {
        display: none !important;
    }

    /* 🔽 ELIMINAR ESPACIO - PERO SOLO DEL TOP-BAR, NO DEL MENÚ */
    .top-bar {
        margin: 0 !important;
        padding: 0 !important;
        min-height: auto !important;
        height: auto !important;
    }

    .top-bar .row {
        margin: 0 !important;
        padding: 0 !important;
        min-height: auto !important;
    }

    .top-bar .container,
    .top-bar .container-fluid {
        padding: 0 !important;
        margin: 0 !important;
    }
}
/* ========================================
   NAV BAR CSS
   ======================================== */
.nav-bar {
    position: relative;
    padding: 0;
    background: var(--primary-blue-dark);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.nav-bar.nav-sticky {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0;
    box-shadow: var(--shadow-md);
    z-index: 999;
    background: var(--primary-blue-dark);
}

.nav-bar .navbar {
    height: 100%;
    padding: 0;
}

.navbar-dark .navbar-nav .nav-link {
    padding: 20px 18px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary-red);
    background: rgba(214, 2, 2, 0.1);
}

.nav-bar .dropdown-menu {
    margin-top: 0;
    border: none;
    border-radius: 0;
    background: var(--primary-blue-dark);
    box-shadow: var(--shadow-md);
}

.nav-bar .dropdown-item {
    color: rgba(255, 255, 255, 0.85);
    padding: 12px 20px;
    transition: var(--transition);
}

.nav-bar .dropdown-item:hover {
    background: var(--primary-red);
    color: var(--white);
}

.nav-bar .btn {
    color: var(--white);
    background: transparent;
    border: 2px solid var(--primary-red);
    border-radius: 40px;
    padding: 10px 28px;
    font-weight: 600;
    transition: var(--transition);
}

.nav-bar .btn:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: scale(1.02);
}

@media (min-width: 992px) {
    .nav-bar {
        padding: 0 60px;
    }
    .nav-bar.nav-sticky {
        padding: 0 60px;
    }
    .nav-bar .navbar-brand {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .nav-bar, .nav-bar .navbar {
        padding: 3px 0;
        background: var(--primary-blue-dark) !important;
    }
    .nav-bar .btn {
        display: none;
    }
}

/* ========================================
   PAGE HEADER CSS
   ======================================== */
.page-header {
    position: relative;
    margin-bottom: 0;
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.page-header h2 {
    position: relative;
    color: var(--white);
    font-size: 65px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.page-header h2::after {
    position: absolute;
    content: "";
    width: 80px;
    height: 3px;
    left: calc(50% - 40px);
    bottom: -15px;
    background: var(--white);
}

.page-header a {
    position: relative;
    padding: 0 12px;
    font-size: 18px;
    color: var(--white);
}

.page-header a:hover {
    color: var(--primary-blue-dark);
}

@media (max-width: 767.98px) {
    .page-header h2 {
        font-size: 40px;
    }
}

/* ========================================
   SECTION HEADER CSS
   ======================================== */
.section-header {
    position: relative;
    width: 100%;
    text-align: center;
    margin-bottom: 55px;
}

.section-header h2 {
    margin: 0;
    position: relative;
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-blue-dark);
    display: inline-block;
    padding: 0 30px;
}

.section-header h2::before {
    position: absolute;
    content: "";
    width: 60px;
    height: 3px;
    left: -70px;
    top: 50%;
    background: var(--primary-red);
}

.section-header h2::after {
    position: absolute;
    content: "";
    width: 60px;
    height: 3px;
    right: -70px;
    top: 50%;
    background: var(--primary-red);
}

@media (max-width: 767.98px) {
    .section-header h2 {
        font-size: 32px;
    }
    .section-header h2::before,
    .section-header h2::after {
        width: 30px;
    }
}

/* ========================================
   ABOUT CSS
   ======================================== */
.about {
    position: relative;
    width: 100%;
    padding: 80px 0;
    background: var(--white-smoke);
}

.about .section-header {
    margin-bottom: 30px;
    text-align: left;
}

.about .section-header h2::before,
.about .section-header h2::after {
    display: none;
}

.about .about-img {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about .about-img img {
    width: 100%;
    transition: var(--transition);
}

.about .about-img:hover img {
    transform: scale(1.05);
}

.about .about-text p {
    font-size: 16px;
    color: var(--gray-text);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about .about-text a.btn {
    margin-top: 15px;
    padding: 14px 35px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--white);
    background: var(--primary-red);
    border: none;
    border-radius: 40px;
    transition: var(--transition);
    display: inline-block;
}

.about .about-text a.btn:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

@media (max-width: 767.98px) {
    .about .about-img {
        margin-bottom: 30px;
    }
}

/* ========================================
   TIMELINE CSS
   ======================================== */
/* ========================================
   TIMELINE CSS
   ======================================== */
.timeline {
    position: relative;
    padding: 80px 0;
    background: var(--white);
}



.timeline .timeline-container {
    padding: 0 15px;
    position: relative;
    width: 50%;
    margin-bottom: 30px;
}

.timeline .timeline-container.left {
    left: 0;
    padding-right: 40px;
}

.timeline .timeline-container.right {
    left: 50%;
    padding-left: 40px;
}

/* 🔽 SOLO EL ELEMENTO IZQUIERDO tiene borde a la derecha */
.timeline .timeline-container.left .timeline-content {
    border-right: 4px solid var(--primary-red);
    border-left: none;  /* Asegurar que no tenga borde izquierdo */
}

/* 🔽 EL ELEMENTO DERECHO NO TIENE BORDE (solo la línea central) */
.timeline .timeline-container.right .timeline-content {
    border-left: none;  /* ❌ ELIMINAR el borde izquierdo */
    border-right: none; /* Asegurar que no tenga borde derecho */
}

/* Opcional: si quieres un indicador visual en el lado derecho */
.timeline .timeline-container.right .timeline-content {
    position: relative;
}

.timeline .timeline-content {
    padding: 30px;
    background: var(--white-smoke);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.timeline .timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.timeline .timeline-content h2 {
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-blue-dark);
}

.timeline .timeline-content h2 span {
    display: inline-block;
    margin-right: 12px;
    padding: 5px 15px;
    background: var(--primary-red);
    color: var(--white);
    border-radius: 30px;
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    font-style: normal;
}

.timeline .timeline-content p {
    margin: 0;
    font-size: 15px;
    color: var(--gray-text);
    line-height: 1.7;
}

/* ========================================
   RESPONSIVE MÓVIL
   ======================================== */
@media (max-width: 767.98px) {
    .timeline::before {
        display: none !important;  /* Ocultar línea central */
    }
    
    .timeline .timeline-container {
        width: 100%;
        margin-bottom: 20px;
        padding: 0;
    }
    
    .timeline .timeline-container.left,
    .timeline .timeline-container.right {
        left: 0;
        padding: 0;
    }
    
    /* En móvil, todos con borde a la izquierda */
    .timeline .timeline-container.left .timeline-content,
    .timeline .timeline-container.right .timeline-content {
        border-left: 4px solid var(--primary-red);
        border-right: none;
    }
}
/* ========================================
   FEATURE CSS
   ======================================== */
.feature {
    position: relative;
    width: 100%;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--white-smoke) 0%, var(--white) 100%);
}

.feature .feature-item {
    margin-bottom: 35px;
    padding: 20px;
    background: var(--white);
    border-radius: 16px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.feature .feature-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.feature .feature-icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
    border-radius: 50%;
    transition: var(--transition);
}

.feature .feature-item:hover .feature-icon {
    transform: scale(1.05);
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
}

.feature .feature-icon i {
    font-size: 42px;
    color: var(--white);
}

.feature .feature-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    color: var(--primary-blue-dark);
}

.feature .feature-item p {
    margin: 0;
    font-size: 14px;
    color: var(--gray-text);
    line-height: 1.6;
}

/* ========================================
   SERVICE CSS
   ======================================== */
.service {
    position: relative;
    width: 100%;
    padding: 80px 0 50px 0;
    background: var(--white);
}

.service .service-item {
    position: relative;
    width: 100%;
    text-align: center;
    background: var(--white-smoke);
    margin-bottom: 30px;
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.service .service-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.service .service-icon {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue-dark), var(--primary-blue));
}

.service .service-icon i {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--primary-red);
    background: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}

.service .service-item:hover .service-icon i {
    transform: scale(1.1);
    color: var(--white);
    background: var(--primary-red);
}

.service .service-item h3 {
    margin: 0;
    padding: 25px 15px 15px 15px;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-blue-dark);
}

.service .service-item p {
    margin: 0;
    color: var(--gray-text);
    padding: 0 25px 25px 25px;
    font-size: 15px;
    line-height: 1.7;
}

/* ========================================
   FAQS CSS
   ======================================== */
.faqs {
    position: relative;
    width: 100%;
    padding: 80px 0;
    background: var(--white-smoke);
}

.faqs .faqs-img {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.faqs .faqs-img img {
    width: 100%;
    transition: var(--transition);
}

.faqs .faqs-img:hover img {
    transform: scale(1.05);
}

.faqs .card {
    margin-bottom: 18px;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: var(--white);
}

.faqs .card-header {
    padding: 0;
    border: none;
    background: var(--white);
}

.faqs .card-header a {
    display: block;
    width: 100%;
    padding: 18px 20px;
    color: var(--primary-blue-dark);
    font-size: 17px;
    font-weight: 600;
    transition: var(--transition);
}

.faqs .card-header a span {
    display: inline-block;
    width: 36px;
    height: 36px;
    margin-right: 12px;
    text-align: center;
    line-height: 36px;
    background: var(--primary-red);
    color: var(--white);
    border-radius: 50%;
    font-weight: 700;
}

.faqs .card-header a:hover {
    color: var(--primary-red);
}

.faqs .card-header [data-toggle="collapse"]:after {
    font-family: 'Font Awesome 6 Free';
    content: "\f067";
    float: right;
    color: var(--primary-red);
    font-size: 14px;
    font-weight: 900;
    transition: var(--transition);
}

.faqs .card-header [data-toggle="collapse"][aria-expanded="true"]:after {
    content: "\f068";
}

.faqs .card-body {
    padding: 0 20px 20px 20px;
    font-size: 15px;
    color: var(--gray-text);
    line-height: 1.7;
    border-top: 1px solid var(--gray-light);
}

@media (max-width: 767.98px) {
    .faqs .faqs-img {
        margin-bottom: 30px;
    }
}

/* ========================================
   NEWSLETTER CSS
   ======================================== */
.newsletter {
    position: relative;
    max-width: 1000px;
    margin: 0 auto -140px auto;
    padding: 50px 40px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    border-radius: 20px;
    z-index: 1;
    box-shadow: var(--shadow-md);
}

.newsletter .section-header {
    margin-bottom: 25px;
}

.newsletter .section-header h2 {
    color: var(--white);
}

.newsletter .section-header h2::before,
.newsletter .section-header h2::after {
    background: var(--white);
}

.newsletter .form {
    position: relative;
    max-width: 450px;
    margin: 0 auto;
}

.newsletter input {
    height: 55px;
    border: none;
    border-radius: 50px;
    padding: 0 20px;
    font-size: 15px;
}

.newsletter .btn {
    position: absolute;
    top: 5px;
    right: 5px;
    height: 45px;
    padding: 0 30px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--white);
    background: var(--primary-red);
    border: none;
    border-radius: 50px;
    transition: var(--transition);
}

.newsletter .btn:hover {
    background: var(--primary-red-dark);
    transform: scale(1.02);
}

/* ===============================
   FOOTER PREMIUM AMARU
=============================== */

.footer {
    position: relative;
    margin-top: 100px;
    padding-top: 120px;
    background: linear-gradient(135deg, #081c4a 0%, #020b22 100%);
    color: rgba(255, 255, 255, 0.75);
}

/* LINEA SUPERIOR PREMIUM */
.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-blue));
}

/* TITULOS */
.footer h2 {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
    position: relative;
}

/* SUBRAYADO ELEGANTE */
.footer h2::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-red);
}

/* TEXTO */
.footer p {
    font-size: 14px;
    line-height: 1.7;
}

/* LINKS */
.footer .footer-link a {
    display: block;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: all 0.3s ease;
}

/* ICONO */
.footer .footer-link a i {
    margin-right: 8px;
    color: var(--primary-red);
}

/* HOVER MÁS FINO */
.footer .footer-link a:hover {
    color: #ffffff;
    transform: translateX(6px);
}

/* CONTACTO */
.footer .footer-contact p i {
    width: 25px;
    color: var(--primary-red);
}

/* ICONOS SOCIALES */
.footer-social a i {
    font-size: 18px;
    color: rgba(255,255,255,0.6);
    transition: 0.3s;
}

.footer-social a:hover i {
    color: var(--primary-red);
    transform: translateY(-3px);
}

/* COPYRIGHT */
.footer .copyright {
    margin-top: 40px;
    padding: 20px 0;
    background: rgba(0,0,0,0.4);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer .copyright p {
    font-size: 13px;
    margin: 0;
}

.footer .copyright a {
    color: var(--primary-red);
    font-weight: 500;
}

.footer .copyright a:hover {
    color: #ffffff;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .footer {
        text-align: center;
        padding-top: 80px;
    }

    .footer h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

     
        /* ===============================
        SECCIÓN PROFESIONAL MEJORADA
        =============================== */
        .sections-area {
            padding: 80px 0;
            background: linear-gradient(135deg, #f8f9fc 0%, var(--white) 100%);
        }

        /* HEADER MODERNO */
        .section-header {
            text-align: center;
            margin-bottom: 3.5rem;
        }

        .section-header {
            font-size: 2.8rem;
            font-weight: 800;
            background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            margin-bottom: 1rem;
            letter-spacing: -0.02em;
        }

        .section-header p {
            font-size: 1.1rem;
            color: var(--gray-text);
            max-width: 600px;
            margin: 0 auto;
            font-weight: 400;
        }

        /* FLIP CARD CONTAINER */
        .flip-card {
            background-color: transparent;
            width: 100%;
            height: 250px;
            perspective: 1200px;
            cursor: pointer;
        }

        /* TARJETA BASE */
        .flip-inner {
            position: relative;
            width: 100%;
            height: 100%;
            transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease;
            transform-style: preserve-3d;
            border-radius: 20px;
            box-shadow: 0 12px 28px rgba(10, 43, 138, 0.12);
        }

        /* HOVER MÁS PREMIUM */
        .flip-card:hover .flip-inner {
            transform: rotateY(180deg);
            box-shadow: 0 25px 45px rgba(214, 2, 2, 0.15), 0 25px 45px rgba(10, 43, 138, 0.15);
        }

        /* FRONT & BACK */
        .flip-front, .flip-back {
            position: absolute;
            width: 100%;
            height: 100%;
            backface-visibility: hidden;
            border-radius: 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 24px;
        }

        /* FRONT (elegante + glass) */
        .flip-front {
            background: linear-gradient(145deg, var(--white), var(--white-smoke));
            border: 1px solid rgba(0, 0, 0, 0.05);
            border-bottom: 4px solid var(--primary-red);
            backdrop-filter: blur(2px);
        }

        /* ICONOS PREMIUM con gradiente rojo-azul */
        .flip-front i {
            font-size: 3rem;
            margin-bottom: 16px;
            background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            transition: all 0.3s ease;
        }

        /* ICONO ANIMADO al hover */
        .flip-card:hover .flip-front i {
            transform: scale(1.15);
            background: linear-gradient(135deg, var(--primary-red-light), var(--primary-blue-light));
            -webkit-background-clip: text;
            background-clip: text;
        }

        /* TÍTULO */
        .flip-front h6 {
            font-size: 1.1rem;
            font-weight: 800;
            color: var(--primary-blue);
            margin-bottom: 8px;
            letter-spacing: -0.3px;
        }

        /* SUBTÍTULO */
        .flip-sub {
            font-size: 0.7rem;
            color: var(--gray-text);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            background: rgba(10, 43, 138, 0.1);
            padding: 4px 12px;
            border-radius: 30px;
            transition: background 0.3s ease;
        }

        .flip-card:hover .flip-sub {
            background: rgba(214, 2, 2, 0.1);
        }

        /* BACK PROFESIONAL (gradiente rojo/azul) */
        .flip-back {
            background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
            color: var(--white);
            transform: rotateY(180deg);
            text-align: center;
        }

        /* TEXTO BACK */
        .flip-back p {
            font-size: 0.9rem;
            line-height: 1.6;
            font-weight: 500;
            opacity: 0.95;
            text-shadow: 0 1px 2px rgba(0,0,0,0.2);
        }

        /* BORDE ILUMINADO SUTIL (efecto premium) */
        .flip-inner::before {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: 20px;
            padding: 1.5px;
            background: linear-gradient(135deg, transparent, var(--primary-red), var(--primary-blue));
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            pointer-events: none;
            z-index: 2;
        }

        /* EFECTO DE GLOW EN HOVER */
        .flip-card:hover .flip-inner::before {
            background: linear-gradient(135deg, transparent, var(--primary-red-light), var(--primary-blue-light));
        }

        /* ===============================
        RESPONSIVE MEJORADO
        =============================== */
        @media (max-width: 1200px) {
            .flip-card {
                height: 240px;
            }
        }

        @media (max-width: 992px) {
            .flip-card {
                height: 260px;
            }
            .section-header h2 {
                font-size: 2.4rem;
            }
            .flip-back p {
                font-size: 0.85rem;
            }
        }

        @media (max-width: 768px) {
            .sections-area {
                padding: 60px 0;
            }
            .flip-card {
                height: 230px;
            }
            .flip-front i {
                font-size: 2.5rem;
            }
            .flip-front h6 {
                font-size: 1rem;
            }
            .section-header h2 {
                font-size: 2rem;
            }
            .section-header p {
                font-size: 1rem;
            }
            .flip-back p {
                font-size: 0.8rem;
            }
        }

        @media (max-width: 576px) {
            .flip-card {
                height: 280px;
            }
            .flip-back p {
                font-size: 0.75rem;
                line-height: 1.5;
            }
            .flip-front {
                padding: 20px;
            }
            .flip-front i {
                font-size: 2.2rem;
            }
            .flip-front h6 {
                font-size: 0.9rem;
            }
            .section-header h2 {
                font-size: 1.8rem;
            }
        }

        /* Grid spacing */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }

        .row {
            display: flex;
            flex-wrap: wrap;
            margin: 0 -12px;
        }

        .row.g-4 {
            margin: 0 -12px;
        }

        .row.g-4 > [class*="col-"] {
            padding: 0 12px;
            margin-bottom: 24px;
        }

        .col-lg-4 {
            flex: 0 0 auto;
            width: 33.33333333%;
        }

        .col-md-6 {
            flex: 0 0 auto;
            width: 50%;
        }

        @media (max-width: 768px) {
            .col-md-6 {
                width: 100%;
            }
        }

        @media (min-width: 769px) and (max-width: 992px) {
            .col-md-6 {
                width: 50%;
            }
        }


   /* ============================================
      codigo de servicios
    ============================================ */
    /* ============================================
       VARIABLES GLOBALES - COLORES INSTITUCIONALES
    ============================================ */
   
    /* ============================================
       ANIMACIONES GLOBALES
    ============================================ */
    @keyframes fadeInUp {
        from { opacity: 0; transform: translateY(40px); }
        to { opacity: 1; transform: translateY(0); }
    }

    @keyframes fadeInLeft {
        from { opacity: 0; transform: translateX(-50px); }
        to { opacity: 1; transform: translateX(0); }
    }

    @keyframes fadeInRight {
        from { opacity: 0; transform: translateX(50px); }
        to { opacity: 1; transform: translateX(0); }
    }

    @keyframes slideInLeft {
        from { opacity: 0; transform: translateX(-55px); }
        to { opacity: 1; transform: translateX(0); }
    }

    @keyframes slideInRight {
        from { opacity: 0; transform: translateX(55px); }
        to { opacity: 1; transform: translateX(0); }
    }

    @keyframes iconFloat {
        0% { transform: translateY(0); }
        50% { transform: translateY(-8px); }
        100% { transform: translateY(0); }
    }

    @keyframes pulseGlow {
        0% { box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
        50% { box-shadow: 0 20px 40px rgba(214,2,2,0.15); }
        100% { box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
    }

    @keyframes shineBorder {
        0% { left: -100%; }
        100% { left: 100%; }
    }

    @keyframes countPulse {
        0% { transform: scale(1); background: var(--primary-red); }
        50% { transform: scale(1.08); background: var(--primary-blue); }
        100% { transform: scale(1); background: var(--primary-red); }
    }

    @keyframes rotateIcon {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }

    /* ============================================
       SCROLL REVEAL GLOBAL
    ============================================ */
    .reveal {
        opacity: 0;
        transform: translateY(35px);
        transition: all 0.9s ease;
    }

    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }

    /* ============================================
       SECCIÓN: MARCAS / SIGNOS DISTINTIVOS
    ============================================ */
    .marca-section {
        background: linear-gradient(135deg, #f5f7fb, #ffffff);
        overflow-x: hidden;
    }

    .marca-card {
        background: #ffffff;
        padding: 30px;
        border-radius: 18px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.05);
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        border-bottom: 3px solid var(--primary-red);
        position: relative;
        overflow: hidden;
        opacity: 0;
        animation: fadeInUp 0.6s ease forwards;
    }

    .marca-card:nth-child(1) { animation-delay: 0.1s; }
    .marca-card:nth-child(2) { animation-delay: 0.2s; }
    .marca-card:nth-child(3) { animation-delay: 0.3s; }
    .marca-card:nth-child(4) { animation-delay: 0.4s; }
    .marca-card:nth-child(5) { animation-delay: 0.5s; }
    .marca-card:nth-child(6) { animation-delay: 0.6s; }

    .marca-card:hover {
        transform: translateY(-12px) scale(1.02);
        box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    }

    .marca-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
        color: var(--primary-red);
        display: inline-block;
        transition: all 0.3s ease;
    }

    .marca-card:hover .marca-icon {
        animation: iconFloat 0.5s ease;
        color: var(--primary-blue);
    }

    .marca-card h4 {
        font-weight: 700;
        color: var(--primary-blue);
        margin-bottom: 10px;
        transition: transform 0.3s ease;
    }

    .marca-card:hover h4 {
        transform: translateX(5px);
    }

    .marca-card p {
        font-size: 0.9rem;
        color: #555;
        line-height: 1.6;
    }

    .marca-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, var(--primary-red), var(--primary-blue));
        transition: left 0.5s ease;
    }

    .marca-card:hover::before {
        left: 0;
    }

    .marca-card::after {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 50%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
        transform: skewX(-25deg);
        transition: left 0.6s ease;
        pointer-events: none;
    }

    .marca-card:hover::after {
        left: 150%;
    }

    /* Sección de Signos Distintivos */
    .feature {
        background: linear-gradient(135deg, #f8f9fa, #e9ecef);
        overflow-x: hidden;
    }

    .feature-item {
        transition: all 0.3s ease;
        padding: 10px;
        border-radius: 12px;
    }

    .feature-item:hover {
        background: rgba(214, 2, 2, 0.05);
        transform: translateX(8px);
    }

    .feature-icon {
        font-size: 2rem;
        color: var(--primary-red);
        transition: all 0.3s ease;
        display: inline-block;
    }

    .feature-item:hover .feature-icon {
        animation: iconFloat 0.5s ease;
        color: var(--primary-blue);
    }

    /* ============================================
       SECCIÓN: LEMAS Y SIGNOS ESPECIALIZADOS
    ============================================ */
    .lemas-section {
        background: linear-gradient(135deg, #f5f7fb, #ffffff);
        overflow-x: hidden;
    }

    .lema-card {
        background: #ffffff;
        padding: 28px 24px;
        border-radius: 20px;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
        transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
        border-left: 4px solid var(--primary-red);
        position: relative;
        overflow: hidden;
        height: 100%;
        opacity: 0;
        animation: fadeInUp 0.7s ease forwards;
    }

    .lema-card:nth-child(1) { animation-delay: 0.1s; }
    .lema-card:nth-child(2) { animation-delay: 0.2s; }
    .lema-card:nth-child(3) { animation-delay: 0.3s; }
    .lema-card:nth-child(4) { animation-delay: 0.4s; }

    .lema-card:hover {
        transform: translateY(-8px) scale(1.01);
        box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
    }

    .lema-icon {
        font-size: 2.4rem;
        margin-bottom: 18px;
        color: var(--primary-red);
        display: inline-block;
        transition: all 0.3s ease;
    }

    .lema-card:hover .lema-icon {
        animation: iconFloat 0.5s ease;
        color: var(--primary-blue);
    }

    .lema-card h4 {
        font-weight: 700;
        font-size: 1.35rem;
        color: var(--primary-blue);
        margin-bottom: 12px;
        transition: transform 0.25s ease;
    }

    .lema-card:hover h4 {
        transform: translateX(6px);
    }

    .legal-badge {
        display: inline-block;
        background: #f8f9fc;
        padding: 4px 12px;
        border-radius: 30px;
        font-size: 0.7rem;
        font-weight: 600;
        color: var(--primary-red);
        margin-top: 14px;
        transition: all 0.2s ease;
    }

    .lema-card:hover .legal-badge {
        background: var(--primary-red);
        color: white;
    }

    .lema-card::after {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 60%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
        transform: skewX(-20deg);
        transition: left 0.6s ease;
        pointer-events: none;
    }

    .lema-card:hover::after {
        left: 150%;
    }

    .dual-highlight {
        background: linear-gradient(135deg, #fef9f0, #ffffff);
        border-radius: 28px;
        padding: 28px;
        transition: all 0.3s ease;
        margin-top: 20px;
        opacity: 0;
        animation: slideInLeft 0.8s ease forwards;
        animation-delay: 0.5s;
    }

    .dual-highlight:hover {
        transform: translateY(-5px);
        box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
    }

    .sub-icon {
        font-size: 2rem;
        color: var(--primary-red);
        transition: transform 0.2s ease;
    }

    .dual-item:hover .sub-icon {
        transform: scale(1.1) rotate(5deg);
    }

    /* ============================================
       SECCIÓN: DENOMINACIÓN DE ORIGEN
    ============================================ */
    .do-section {
        background: linear-gradient(135deg, #f2f4f8, #ffffff);
        overflow-x: hidden;
    }

    .do-card {
        background: #ffffff;
        padding: 28px 24px;
        border-radius: 24px;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
        transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
        border-bottom: 3px solid var(--primary-red);
        position: relative;
        overflow: hidden;
        height: 100%;
        opacity: 0;
    }

    .do-card:hover {
        transform: translateY(-10px);
        animation: pulseGlow 0.5s ease;
    }

    .do-card:nth-child(1) { animation: fadeInUp 0.6s ease forwards 0.1s; }
    .do-card:nth-child(2) { animation: fadeInUp 0.6s ease forwards 0.2s; }
    .do-card:nth-child(3) { animation: fadeInUp 0.6s ease forwards 0.3s; }

    .do-icon {
        font-size: 2.6rem;
        margin-bottom: 18px;
        color: var(--primary-red);
        display: inline-block;
        transition: all 0.3s ease;
    }

    .do-card:hover .do-icon {
        animation: iconFloat 0.4s ease;
        color: var(--primary-blue);
    }

    .do-card h4 {
        font-weight: 700;
        font-size: 1.4rem;
        color: var(--primary-blue);
        margin-bottom: 16px;
        transition: transform 0.25s ease;
    }

    .do-card:hover h4 {
        transform: translateX(6px);
    }

    .do-badge {
        display: inline-block;
        background: #f8f9fc;
        padding: 5px 14px;
        border-radius: 40px;
        font-size: 0.7rem;
        font-weight: 600;
        color: var(--primary-red);
        margin-top: 16px;
        transition: all 0.25s ease;
        border: 1px solid #ffe5e5;
    }

    .do-card:hover .do-badge {
        background: var(--primary-red);
        color: white;
    }

    .do-card::after {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 50%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
        transform: skewX(-20deg);
        transition: left 0.65s ease;
        pointer-events: none;
    }

    .do-card:hover::after {
        left: 150%;
    }

    .proceso-timeline {
        background: linear-gradient(135deg, #fff8f5, #ffffff);
        border-radius: 28px;
        padding: 28px;
        margin-top: 30px;
        border-left: 4px solid var(--primary-red);
        transition: all 0.3s ease;
    }

    .proceso-timeline:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 35px rgba(0, 0, 0, 0.08);
    }

    .timeline-step {
        display: flex;
        align-items: flex-start;
        gap: 18px;
        margin-bottom: 24px;
        transition: all 0.25s ease;
    }

    .timeline-step:hover {
        transform: translateX(8px);
    }

    .step-number {
        width: 42px;
        height: 42px;
        background: var(--primary-red);
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 800;
        font-size: 1.2rem;
        flex-shrink: 0;
        transition: all 0.3s ease;
    }

    .timeline-step:hover .step-number {
        background: var(--primary-blue);
        transform: scale(1.05);
    }

    .requisitos-clave {
        background: #ffffff;
        border-radius: 24px;
        padding: 28px;
        margin-top: 30px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.04);
        border: 1px solid #f0f0f0;
        transition: all 0.3s ease;
    }

    .requisitos-clave:hover {
        box-shadow: 0 18px 35px rgba(0,0,0,0.08);
    }

    .requisito-item {
        display: flex;
        gap: 15px;
        padding: 14px 0;
        border-bottom: 1px solid #f0f0f0;
        transition: all 0.2s;
    }

    .requisito-item:hover {
        background: #fef9f5;
        padding-left: 12px;
        border-radius: 12px;
    }

    .requisito-num {
        width: 32px;
        height: 32px;
        background: #ffe5e5;
        color: var(--primary-red);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 800;
        font-size: 0.9rem;
        flex-shrink: 0;
    }

    /* ============================================
       SECCIÓN: RENOVACIONES
    ============================================ */
    .renovaciones-section {
        background: linear-gradient(135deg, #f0f4f8, #ffffff);
        overflow-x: hidden;
    }

    .renovacion-card {
        background: #ffffff;
        padding: 30px 26px;
        border-radius: 24px;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
        transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
        border-bottom: 4px solid var(--primary-red);
        position: relative;
        overflow: hidden;
        height: 100%;
        opacity: 0;
    }

    .renovacion-card:hover {
        transform: translateY(-10px);
        animation: pulseGlow 0.5s ease;
    }

    .renovacion-card:nth-child(1) { animation: fadeInUp 0.6s ease forwards 0.1s; }
    .renovacion-card:nth-child(2) { animation: fadeInUp 0.6s ease forwards 0.2s; }
    .renovacion-card:nth-child(3) { animation: fadeInUp 0.6s ease forwards 0.3s; }

    .renovacion-icon {
        font-size: 2.8rem;
        margin-bottom: 20px;
        color: var(--primary-red);
        display: inline-block;
        transition: all 0.3s ease;
    }

    .renovacion-card:hover .renovacion-icon {
        animation: iconFloat 0.4s ease;
        color: var(--primary-blue);
    }

    .renovacion-card h4 {
        font-weight: 800;
        font-size: 1.45rem;
        color: var(--primary-blue);
        margin-bottom: 16px;
        transition: transform 0.25s ease;
    }

    .renovacion-card:hover h4 {
        transform: translateX(6px);
    }

    .renovacion-badge {
        display: inline-block;
        background: #f8f9fc;
        padding: 6px 16px;
        border-radius: 40px;
        font-size: 0.7rem;
        font-weight: 700;
        color: var(--primary-red);
        margin-top: 12px;
        border: 1px solid #ffe5e5;
        transition: all 0.25s ease;
    }

    .renovacion-card:hover .renovacion-badge {
        background: var(--primary-red);
        color: white;
    }

    .renovacion-card::after {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 50%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
        transform: skewX(-20deg);
        transition: left 0.65s ease;
        pointer-events: none;
    }

    .renovacion-card:hover::after {
        left: 150%;
    }

    .timeline-container {
        background: linear-gradient(135deg, #fff8f5, #ffffff);
        border-radius: 28px;
        padding: 30px;
        margin: 30px 0;
        border-left: 5px solid var(--primary-red);
        transition: all 0.3s ease;
    }

    .timeline-container:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 35px rgba(0, 0, 0, 0.08);
    }

    .timeline-track {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        position: relative;
    }

    .timeline-step {
        flex: 1;
        text-align: center;
        padding: 20px 10px;
        position: relative;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .timeline-step:hover {
        transform: translateY(-5px);
    }

    .step-circle {
        width: 65px;
        height: 65px;
        background: var(--primary-red);
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 800;
        font-size: 1.3rem;
        margin: 0 auto 15px;
        transition: all 0.3s ease;
    }

    .timeline-step:hover .step-circle {
        animation: countPulse 0.5s ease;
        transform: scale(1.05);
    }

    .timeline-step:not(:last-child)::after {
        content: "→";
        position: absolute;
        right: -15px;
        top: 35px;
        font-size: 1.5rem;
        color: var(--primary-red);
        opacity: 0.5;
    }

    .info-box {
        background: #ffffff;
        border-radius: 20px;
        padding: 25px;
        margin-top: 20px;
        border: 1px solid #f0f0f0;
        transition: all 0.3s ease;
    }

    .info-box:hover {
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
        transform: translateY(-3px);
    }

    .info-icon {
        font-size: 2rem;
        color: var(--primary-red);
        margin-bottom: 15px;
    }

    .plazo-table {
        background: #f8f9fc;
        border-radius: 18px;
        overflow: hidden;
    }

    .plazo-row {
        display: flex;
        border-bottom: 1px solid #e9ecef;
        transition: all 0.2s ease;
    }

    .plazo-row:hover {
        background: #fff5f5;
    }

    .plazo-cell {
        flex: 1;
        padding: 15px 20px;
        font-size: 0.9rem;
    }

    .plazo-cell:first-child {
        font-weight: 700;
        color: var(--primary-blue);
        border-right: 1px solid #e9ecef;
    }

    /* ============================================
       SECCIÓN: PATENTES
    ============================================ */
    .patentes-section {
        background: linear-gradient(135deg, #f0f4f8, #ffffff);
        overflow-x: hidden;
    }

    .patente-card {
        background: #ffffff;
        padding: 28px 24px;
        border-radius: 24px;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
        transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
        border-bottom: 4px solid var(--primary-blue);
        position: relative;
        overflow: hidden;
        height: 100%;
        opacity: 0;
    }

    .patente-card:hover {
        transform: translateY(-10px);
        animation: pulseGlow 0.5s ease;
    }

    .patente-card:nth-child(1) { animation: fadeInUp 0.6s ease forwards 0.1s; }
    .patente-card:nth-child(2) { animation: fadeInUp 0.6s ease forwards 0.2s; }
    .patente-card:nth-child(3) { animation: fadeInUp 0.6s ease forwards 0.3s; }
    .patente-card:nth-child(4) { animation: fadeInUp 0.6s ease forwards 0.4s; }
    .patente-card:nth-child(5) { animation: fadeInUp 0.6s ease forwards 0.5s; }
    .patente-card:nth-child(6) { animation: fadeInUp 0.6s ease forwards 0.6s; }

    .patente-icon {
        font-size: 2.6rem;
        margin-bottom: 18px;
        color: var(--primary-blue);
        display: inline-block;
        transition: all 0.3s ease;
    }

    .patente-card:hover .patente-icon {
        animation: iconFloat 0.4s ease;
        color: var(--primary-red);
    }

    .patente-card h4 {
        font-weight: 800;
        font-size: 1.4rem;
        color: var(--primary-blue);
        margin-bottom: 16px;
        transition: transform 0.25s ease;
    }

    .patente-card:hover h4 {
        transform: translateX(6px);
    }

    .patente-badge {
        display: inline-block;
        background: #e8f0fe;
        padding: 6px 16px;
        border-radius: 40px;
        font-size: 0.7rem;
        font-weight: 700;
        color: var(--primary-blue);
        margin-top: 12px;
        transition: all 0.25s ease;
    }

    .patente-card:hover .patente-badge {
        background: var(--primary-blue);
        color: white;
    }

    .patente-card::after {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 50%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(10,43,138,0.08), transparent);
        transform: skewX(-20deg);
        transition: left 0.65s ease;
        pointer-events: none;
    }

    .patente-card:hover::after {
        left: 150%;
    }

    .requisitos-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 24px;
        margin: 30px 0;
    }

    .requisito-card {
        background: #ffffff;
        border-radius: 20px;
        padding: 28px 22px;
        text-align: center;
        transition: all 0.3s ease;
        border: 1px solid #f0f0f0;
    }

    .requisito-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 35px rgba(0, 0, 0, 0.08);
        border-color: var(--primary-red);
    }

    .requisito-card:hover .requisito-icon {
        animation: rotateIcon 0.6s ease;
    }

    .requisito-icon {
        font-size: 3rem;
        margin-bottom: 20px;
        display: inline-block;
    }

    .requisito-title {
        font-size: 1.5rem;
        font-weight: 800;
        color: var(--primary-blue);
        margin-bottom: 12px;
    }

    .timeline-patente {
        background: linear-gradient(135deg, #f0f9ff, #ffffff);
        border-radius: 28px;
        padding: 30px;
        margin: 30px 0;
        border-left: 5px solid var(--primary-blue);
        transition: all 0.3s ease;
    }

    .timeline-patente:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 35px rgba(0, 0, 0, 0.08);
    }

    .timeline-point {
        flex: 1;
        text-align: center;
        padding: 15px 10px;
        position: relative;
    }

    .timeline-point .circle {
        width: 60px;
        height: 60px;
        background: var(--primary-blue);
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 800;
        font-size: 1.2rem;
        margin: 0 auto 12px;
        transition: all 0.3s;
    }

    .timeline-point:hover .circle {
        transform: scale(1.1);
        background: var(--primary-red);
    }

    .timeline-point:not(:last-child)::after {
        content: "→";
        position: absolute;
        right: -20px;
        top: 25px;
        font-size: 1.5rem;
        color: var(--primary-blue);
        opacity: 0.4;
    }

    .servicio-card {
        background: #ffffff;
        border-radius: 20px;
        padding: 25px;
        transition: all 0.3s ease;
        border: 1px solid #eef2f6;
        height: 100%;
    }

    .servicio-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
        border-color: var(--primary-red);
    }

    .servicio-icon {
        font-size: 2.2rem;
        color: var(--primary-red);
        margin-bottom: 18px;
    }

    .docs-table {
        background: #f8fafc;
        border-radius: 20px;
        overflow: hidden;
    }

    .docs-row {
        display: flex;
        border-bottom: 1px solid #e2e8f0;
        transition: all 0.2s;
    }

    .docs-row:hover {
        background: #eef2ff;
    }

    .docs-cell {
        flex: 1;
        padding: 14px 20px;
        font-size: 0.9rem;
    }

    .docs-cell:first-child {
        font-weight: 700;
        color: var(--primary-blue);
        border-right: 1px solid #e2e8f0;
    }

    .analisis-box {
        background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
        border-radius: 24px;
        padding: 35px;
        color: white;
        text-align: center;
        margin: 30px 0;
    }

    .analisis-box .time-badge {
        font-size: 3rem;
        font-weight: 800;
        background: rgba(255,255,255,0.2);
        display: inline-block;
        padding: 10px 30px;
        border-radius: 60px;
        margin: 15px 0;
    }

    /* ============================================
       SECCIÓN: LITIGIOS
    ============================================ */
    .litigios-section {
        background: linear-gradient(135deg, #f8f9fc, #ffffff);
        overflow-x: hidden;
    }

    .litigio-card {
        background: #ffffff;
        padding: 28px 26px;
        border-radius: 24px;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
        transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
        border-left: 5px solid var(--primary-red);
        position: relative;
        overflow: hidden;
        height: 100%;
        opacity: 0;
    }

    .litigio-card:nth-child(1) { animation: fadeInUp 0.6s ease forwards 0.1s; }
    .litigio-card:nth-child(2) { animation: fadeInUp 0.6s ease forwards 0.2s; }
    .litigio-card:nth-child(3) { animation: fadeInUp 0.6s ease forwards 0.3s; }

    .litigio-card:hover {
        transform: translateY(-8px);
        animation: pulseGlow 0.5s ease;
    }

    .litigio-icon {
        font-size: 2.5rem;
        margin-bottom: 18px;
        color: var(--primary-red);
        display: inline-block;
        transition: all 0.3s ease;
    }

    .litigio-card:hover .litigio-icon {
        animation: iconFloat 0.4s ease;
        color: var(--primary-blue);
    }

    .litigio-card h4 {
        font-weight: 800;
        font-size: 1.35rem;
        color: var(--primary-blue);
        margin-bottom: 16px;
        transition: transform 0.25s ease;
    }

    .litigio-card:hover h4 {
        transform: translateX(6px);
    }

    .litigio-badge {
        display: inline-block;
        background: #fef2f2;
        padding: 5px 14px;
        border-radius: 40px;
        font-size: 0.7rem;
        font-weight: 700;
        color: var(--primary-red);
        margin-top: 12px;
        border: 1px solid #ffe5e5;
    }

    .litigio-card:hover .litigio-badge {
        background: var(--primary-red);
        color: white;
    }

    .litigio-card::after {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 50%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(214,2,2,0.05), transparent);
        transform: skewX(-20deg);
        transition: left 0.65s ease;
        pointer-events: none;
    }

    .litigio-card:hover::after {
        left: 150%;
    }

    .causales-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 24px;
        margin: 30px 0;
    }

    .causal-item {
        background: #ffffff;
        border-radius: 20px;
        padding: 24px 22px;
        transition: all 0.3s ease;
        border: 1px solid #f0f0f0;
    }

    .causal-item:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 32px rgba(0, 0, 0, 0.08);
        border-left: 3px solid var(--primary-red);
    }

    .causal-icon {
        font-size: 2rem;
        margin-bottom: 15px;
        display: inline-block;
    }

    .causal-title {
        font-size: 1.2rem;
        font-weight: 800;
        color: var(--primary-blue);
        margin-bottom: 12px;
    }

    .infraccion-box {
        background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
        border-radius: 24px;
        padding: 35px;
        color: white;
        text-align: center;
        margin: 30px 0;
    }

    /* ============================================
       SECCIÓN: MAP LOCATION MODERNO
    ============================================ */
    .map-location-modern {
        background: linear-gradient(125deg, #ffffff 0%, #f5f7fc 100%);
        padding: 80px 0;
        position: relative;
        overflow: hidden;
    }

    .modern-header {
        text-align: center;
        margin-bottom: 60px;
    }

    .modern-header .badge-map {
        background: rgba(214, 2, 2, 0.1);
        color: var(--primary-red);
        padding: 8px 20px;
        border-radius: 40px;
        font-size: 0.85rem;
        font-weight: 600;
        margin-bottom: 20px;
        display: inline-block;
    }

    .modern-header h2 {
        font-size: 2.8rem;
        font-weight: 800;
        background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-red) 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

    .office-card-modern {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 32px;
        padding: 35px;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
        transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
        position: relative;
        overflow: hidden;
        border: 1px solid rgba(214, 2, 2, 0.1);
    }

    .office-card-modern:hover {
        transform: translateY(-10px);
        box-shadow: 0 30px 60px -12px rgba(214, 2, 2, 0.2);
    }

    .floating-badge {
        position: absolute;
        top: -12px;
        right: 25px;
        background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
        color: white;
        padding: 8px 20px;
        border-radius: 40px;
        font-size: 0.75rem;
        font-weight: 700;
        z-index: 10;
        animation: iconFloat 3s ease infinite;
    }

    .info-block-modern {
        display: flex;
        align-items: flex-start;
        gap: 18px;
        padding: 18px;
        margin-bottom: 18px;
        background: var(--gray-light);
        border-radius: 20px;
        transition: all 0.3s ease;
    }

    .info-block-modern:hover {
        background: white;
        transform: translateX(8px);
        box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.1);
    }

    .info-icon-modern {
        width: 50px;
        height: 50px;
        background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-light) 100%);
        border-radius: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.5rem;
    }

    .map-card-modern {
        background: rgba(255, 255, 255, 0.95);
        border-radius: 32px;
        padding: 15px;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
        transition: all 0.4s ease;
        border: 1px solid rgba(214, 2, 2, 0.1);
    }

    .map-card-modern:hover {
        transform: translateY(-10px);
        box-shadow: 0 30px 60px -12px rgba(214, 2, 2, 0.2);
    }

    .map-card-modern iframe {
        width: 100%;
        height: 400px;
        border-radius: 24px;
    }

    .footer-bar-modern {
        margin-top: 40px;
        padding: 18px 25px;
        background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
        border-radius: 50px;
        text-align: center;
        transition: all 0.3s;
    }

    .footer-bar-modern:hover {
        transform: scale(1.02);
        box-shadow: 0 15px 30px rgba(10, 43, 138, 0.3);
    }

    /* ============================================
       SECCIÓN: COTIZACIÓN
    ============================================ */
    .cotizacion-section {
        background: linear-gradient(125deg, var(--primary-blue) 0%, #0d3b9a 50%, var(--primary-red) 100%);
        padding: 80px 0;
        position: relative;
        overflow: hidden;
    }

    .cotizacion-header {
        text-align: center;
        margin-bottom: 50px;
    }

    .cotizacion-header .badge-cotizacion {
        display: inline-block;
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        padding: 10px 24px;
        border-radius: 60px;
        font-size: 0.85rem;
        font-weight: 600;
        color: white;
        margin-bottom: 25px;
    }

    .cotizacion-header h2 {
        font-size: 2.8rem;
        font-weight: 800;
        color: white;
    }

    .servicios-grid-cotizacion {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
        margin-bottom: 50px;
    }

    .servicio-cotizacion {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border-radius: 28px;
        padding: 28px;
        text-align: center;
        transition: all 0.4s;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .servicio-cotizacion:hover {
        transform: translateY(-12px);
        background: rgba(255, 255, 255, 0.2);
    }

    .servicio-icon-cotizacion {
        width: 70px;
        height: 70px;
        background: white;
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
    }

    .servicio-icon-cotizacion i {
        font-size: 2rem;
        color: var(--primary-red);
    }

    .servicio-cotizacion h4 {
        font-size: 1.3rem;
        font-weight: 700;
        color: white;
    }

    .precio-base {
        display: inline-block;
        background: rgba(255, 255, 255, 0.2);
        padding: 6px 18px;
        border-radius: 40px;
        font-size: 0.9rem;
        font-weight: 700;
        color: #ffd700;
        margin-top: 10px;
    }

    .formulario-cotizacion {
        background: white;
        border-radius: 32px;
        padding: 40px;
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    }

    .formulario-cotizacion h3 {
        font-size: 1.8rem;
        font-weight: 800;
        color: var(--primary-blue);
    }

    .input-group-modern {
        margin-bottom: 20px;
    }

    .input-group-modern label {
        display: block;
        font-weight: 600;
        color: var(--gray-dark);
        margin-bottom: 8px;
        font-size: 0.85rem;
    }

    .input-group-modern input,
    .input-group-modern select,
    .input-group-modern textarea {
        width: 100%;
        padding: 14px 18px;
        border: 2px solid #e2e8f0;
        border-radius: 16px;
        font-size: 0.9rem;
        transition: all 0.3s;
    }

    .input-group-modern input:focus,
    .input-group-modern select:focus,
    .input-group-modern textarea:focus {
        outline: none;
        border-color: var(--primary-red);
        box-shadow: 0 0 0 3px rgba(214, 2, 2, 0.1);
    }

    .btn-cotizar {
        width: 100%;
        padding: 16px;
        background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
        border: none;
        border-radius: 20px;
        color: white;
        font-weight: 700;
        font-size: 1rem;
        transition: all 0.3s;
    }

    .btn-cotizar:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 30px rgba(214, 2, 2, 0.3);
    }

    /* ============================================
       RESPONSIVE
    ============================================ */
    @media (max-width: 992px) {
        .modern-header h2, .cotizacion-header h2 {
            font-size: 2rem;
        }
        .office-card-modern, .formulario-cotizacion {
            padding: 25px;
        }
    }

    @media (max-width: 768px) {
        .timeline-step:not(:last-child)::after,
        .timeline-point:not(:last-child)::after {
            display: none;
        }
        .timeline-track {
            flex-direction: column;
            gap: 20px;
        }
        .plazo-row, .docs-row {
            flex-direction: column;
        }
        .plazo-cell:first-child, .docs-cell:first-child {
            border-right: none;
            border-bottom: 1px solid #e2e8f0;
        }
        .map-card-modern iframe {
            height: 280px;
        }
        .footer-bar-modern {
            border-radius: 20px;
        }
    }
    


   /* Evita parpadeo */
.navbar .dropdown-menu {
  margin-top: 0;
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

/* Mostrar al pasar el mouse */
.navbar .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Evita el espacio que causa el bug */
.navbar .dropdown {
  position: relative;
}


        /* Botón flotante de idiomas */
        .language-switcher {
            position: fixed;
            bottom: 30px;
            left: 30px;
            z-index: 9999;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
          .language-btn {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            border: none;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            cursor: pointer;
            transition: all 0.3s ease;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            background: white;
        }
        
        .language-btn:hover {
            transform: scale(1.1);
        }
        
        .language-btn img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .language-btn.active {
            box-shadow: 0 0 0 3px #a47bd8;
        }
        /* Para móviles - cambiar a horizontal y reducir más */
@media (max-width: 768px) {
    .language-switcher {
        flex-direction: row;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        gap: 8px;
    }
    
    .language-btn {
        width: 45px;
        height: 45px;
    }
    
    .language-btn:hover {
        transform: none;
    }
}

/* Móviles pequeños */
@media (max-width: 576px) {
    .language-switcher {
        bottom: 15px;
        gap: 6px;
    }
    
    .language-btn {
        width: 40px;
        height: 40px;
    }
}

/* Móviles muy pequeños */
@media (max-width: 400px) {
    .language-switcher {
        bottom: 10px;
        gap: 5px;
    }
    
    .language-btn {
        width: 35px;
        height: 35px;
    }
}
        /* Estilos para ocultar el widget de Google Translate */
        #google_translate_element, .goog-te-banner-frame, .goog-te-gadget-icon {
            display: none !important;
        }
        
        .goog-te-combo {
            opacity: 0;
            position: absolute;
            width: 1px;
            height: 1px;
        }
        
        .goog-te-banner-frame, 
        .goog-te-gadget-icon, 
        .goog-te-combo, 
        .goog-te-footer, 
        .skiptranslate {
            display: none !important;
        }
        
        .goog-tooltip, 
        .goog-tooltip:hover, 
        .goog-text-highlight {
            background-color: transparent !important;
            border: none !important;
            box-shadow: none !important;
        }
        
        body {
            top: 0 !important;
        }