/* ===== RESETEO Y VARIABLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

:root {
    --primary-color: #001f3f;
    --secondary-color: #E3001C;
    --accent-color: #39CCCC;
    --background-color: #f8f9fa;
    --text-color: #333;
    --white: #ffffff;
    --light-gray: #e0e0e0;
    --font-main: "Inter", sans-serif;
}

body {
    color: var(--text-color);
    font-size: 16px;
    font-family: var(--font-main);
    background-color: var(--background-color);
    line-height: 1.6;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

/* ===== HEADER Y NAVEGACIÓN ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.message-header {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    font-size: 0.85rem;
    padding: 8px 10px;
    display: none;
}

@media (min-width: 480px) {
    .message-header {
        display: block;
    }
}

.nav-content {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    height: 80px;
    background-color: var(--white);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.menu_1,
.menu_2,
.login {
    display: none;
    align-items: center;
    gap: 30px;
}

.menu_1 a,
.menu_2 a,
.login a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    position: relative;
    padding: 5px 0;
}

.menu_1 a::after,
.menu_2 a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.menu_1 a:hover::after,
.menu_2 a:hover::after {
    width: 100%;
}

.login a {
    padding: 10px 25px;
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.login a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    height: 70px;
    width: 100%;
}

.menu img {
    height: 30px;
    width: 30px;
    cursor: pointer;
}

.mini_logo {
    display: flex;
    align-items: center;
}

.mini_logo img {
    height: 45px;
    width: auto;
}

.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1001;
    top: 0;
    left: 0;
    background-color: rgba(0, 31, 63, 0.98);
    overflow-x: hidden;
    transition: 0.5s;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.overlay-content {
    text-align: center;
    width: 100%;
}

.overlay a {
    padding: 15px;
    text-decoration: none;
    font-size: 1.5rem;
    color: var(--white);
    display: block;
    transition: 0.3s;
    font-weight: 300;
    letter-spacing: 1px;
}

.overlay a:hover {
    color: var(--secondary-color);
    background-color: rgba(255, 255, 255, 0.05);
}

.overlay .close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    color: var(--white);
    cursor: pointer;
}

.overlay .close img {
    width: 30px;
    height: 30px;
    filter: invert(1);
}

/* ===== MAIN ===== */
main {
    margin-top: 90px;
    padding-bottom: 50px;
}

section {
    padding: 60px 20px;
    overflow: hidden;
    scroll-margin-top: 120px;
}

/* ===== ABOUT US ===== */
.about-us {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    min-height: calc(100vh - 90px);
    padding: 80px 20px;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.about-text {
    order: 2;
}

.about-text h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
}

.about-text h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    margin-top: 15px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}

.about-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

.highlight-text {
    background: linear-gradient(135deg, rgba(227, 0, 28, 0.1), rgba(57, 204, 204, 0.1));
    padding: 25px;
    border-left: 4px solid var(--secondary-color);
    border-radius: 8px;
    font-size: 1.15rem;
    font-style: italic;
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.about-image {
    order: 1;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

.about-text .btn {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--secondary-color), #c20018);
    color: var(--white);
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(227, 0, 28, 0.3);
    transition: all 0.3s ease;
}

.about-text .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(227, 0, 28, 0.4);
}

/* ===== AGENDAR CITA ===== */
.agenda-cita {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: calc(100vh - 90px);
    padding: 40px 0;
}

.agenda-cita h2 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
}

.agenda-cita .lead {
    color: #555;
    font-size: 1.1rem;
}

.agenda-cita fieldset {
    background: var(--white);
    border: 2px solid var(--light-gray) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.agenda-cita fieldset:hover {
    border-color: var(--primary-color) !important;
    box-shadow: 0 6px 20px rgba(0, 31, 63, 0.12);
}

.agenda-cita legend {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2rem;
}

.agenda-cita .form-control,
.agenda-cita .form-select {
    border: 2px solid var(--light-gray);
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--white);
    color: var(--text-color);
}

.agenda-cita .form-control:focus,
.agenda-cita .form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(57, 204, 204, 0.25);
    background-color: var(--white);
}

.choice-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.choice-item {
    position: relative;
}

.choice-item input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.choice-item label {
    display: block;
    padding: 20px;
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1.1rem;
}

.choice-item input[type="radio"]:checked+label {
    background: linear-gradient(135deg, var(--primary-color), #003366);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 31, 63, 0.3);
}

.choice-item label:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.time-slots-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.time-slot-btn {
    padding: 12px;
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--text-color);
}

.time-slot-btn:hover {
    border-color: var(--accent-color);
    background: rgba(57, 204, 204, 0.1);
    transform: translateY(-2px);
}

.time-slot-btn.selected {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
    box-shadow: 0 4px 12px rgba(227, 0, 28, 0.3);
}

.agenda-cita .btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), #c20018);
    border: none;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(227, 0, 28, 0.3);
    transition: all 0.3s ease;
}

.agenda-cita .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(227, 0, 28, 0.4);
}

.video-section {
    margin: 40px 0;
}

.video-container {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.video-container:hover {
    transform: translateY(-5px);
}

.video-container h3 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.video-container .ratio {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    background: #000;
}

/* ===== SERVICES ===== */
.services-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 20px;
    min-height: calc(100vh - 90px);
}

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

.services-header h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.services-subtitle {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.8;
}

.services-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-card.featured {
    border: 3px solid var(--secondary-color);
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(227, 0, 28, 0.4);
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

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

.service-card:hover .service-image img {
    transform: scale(1.08);
}

.service-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-card p {
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-features {
    list-style: none;
    padding: 20px;
    margin: 20px 0 25px 0;
    background: #f8f9fa;
    border-radius: 8px;
}

.service-features li {
    padding: 8px 0;
    color: #333;
    font-size: 0.95rem;
    font-weight: 500;
}

.btn-service {
    display: inline-block;
    width: 100%;
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--secondary-color), #c20018);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.05rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(227, 0, 28, 0.3);
    transition: all 0.3s ease;
    margin-top: auto;
}

.btn-service:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(227, 0, 28, 0.4);
    color: var(--white);
}

/* ===== BLOG ===== */
.blog-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 20px;
    min-height: calc(100vh - 90px);
}

.blog-section h2 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 30px;
}

.blog-section .card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.blog-section .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.blog-section .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-section .card:hover .card-img-top {
    transform: scale(1.08);
}

.blog-section .card-body {
    padding: 20px;
}

.blog-section .card-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.blog-section .sidebar {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.blog-section .sidebar h4 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
}

.blog-section .form-select {
    border: 2px solid var(--light-gray);
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 6px;
}

.blog-section .form-control {
    border: 2px solid var(--light-gray);
    padding: 12px;
    border-radius: 6px;
}

.blog-section .btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), #c20018);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-section .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(227, 0, 28, 0.4);
}

/* ===== CONTACT ===== */
.contact-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 20px;
    min-height: calc(100vh - 90px);
}

.contact-section h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.contact-info {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-info h2 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 25px;
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-form h2 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 25px;
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.contact-form .form-control {
    border: 2px solid var(--light-gray);
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(57, 204, 204, 0.25);
}

.contact-form .btn-success {
    background: linear-gradient(135deg, var(--secondary-color), #c20018);
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
}

.contact-form .btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(227, 0, 28, 0.4);
}

/* ===== FOOTER ===== */
footer {
    background-color: #00152a;
    color: rgba(255, 255, 255, 0.7);
    padding: 50px 20px 20px;
    font-size: 0.9rem;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
}

.footer-logo img {
    height: 50px;
    filter: brightness(0) invert(1);
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.footer-links a {
    color: var(--white);
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-info {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    padding-top: 20px;
    margin-top: 20px;
}

.whatsapp-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.3s;
}

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

.whatsapp-icon img {
    width: 35px;
    height: 35px;
}

/* ===== RESPONSIVE DESKTOP ===== */
@media (min-width: 768px) {
    .nav-content {
        display: flex;
    }

    .menu {
        display: none;
    }

    .menu_1,
    .menu_2,
    .login {
        display: flex;
    }

    main {
        margin-top: 100px;
    }

    section {
        padding: 80px 40px;
    }

    .about-container {
        flex-direction: row;
        align-items: center;
        gap: 60px;
    }

    .about-text {
        flex: 1;
        order: 1;
    }

    .about-image {
        flex: 1;
        order: 2;
    }

    .about-text h1 {
        font-size: 3rem;
    }

    .about-text p {
        font-size: 1.15rem;
    }

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

    .service-image {
        height: 220px;
    }

    .service-content {
        padding: 35px;
    }
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

/* ===== TECHNOLOGIES SECTION ===== */
.title-content {
    text-align: center;
    padding: 60px 20px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.title-content h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.content-section {
    display: flex;
    flex-direction: column;
    /* Mobile first: stack */
    gap: 40px;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.content-izq,
.content-der {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-content img {
    width: 100%;
    height: auto;
    max-width: 600px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.image-content img:hover {
    transform: scale(1.02);
}

.text-content {
    padding: 10px;
}

.text-content h2 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.text-content p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 25px;
}

.divid,
.divider {
    height: 1px;
    background-color: #e0e0e0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Desktop Layout for Technologies */
@media (min-width: 768px) {
    .content-section {
        flex-direction: row;
        align-items: center;
        padding: 80px 20px;
        gap: 60px;
    }

    .content-izq,
    .content-der {
        flex: 1;
    }

    .text-content {
        padding: 20px;
    }
}

.contact-info {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-info h2 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 25px;
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-form h2 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 25px;
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.contact-form .form-control {
    border: 2px solid var(--light-gray);
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(57, 204, 204, 0.25);
}

.contact-form .btn-success {
    background: linear-gradient(135deg, var(--secondary-color), #c20018);
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
}

.footer-logo img {
    height: 50px;
    filter: brightness(0) invert(1);
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.footer-links a {
    color: var(--white);
    font-weight: 500;
}

.footer-info {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    padding-top: 20px;
    margin-top: 20px;
}

.whatsapp-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.3s;
}

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

.whatsapp-icon img {
    width: 35px;
    height: 35px;
}

/* ===== RESPONSIVE DESKTOP ===== */
@media (min-width: 768px) {
    .nav-content {
        display: flex;
    }

    .menu {
        display: none;
    }

    .menu_1,
    .menu_2,
    .login {
        display: flex;
    }

    main {
        margin-top: 100px;
    }

    section {
        padding: 80px 40px;
    }

    .about-container {
        flex-direction: row;
        align-items: center;
        gap: 60px;
    }

    .about-text {
        flex: 1;
        order: 1;
    }

    .about-image {
        flex: 1;
        order: 2;
    }

    .about-text h1 {
        font-size: 3rem;
    }

    .about-text p {
        font-size: 1.15rem;
    }

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

    .service-image {
        height: 220px;
    }

    .service-content {
        padding: 35px;
    }

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

    .footer-container {
        flex-direction: row;
        justify-content: space-between;
        max-width: 1200px;
        margin: 0 auto;
        text-align: left;
    }
}

/* ===== TESTIMONIOS SECTION ===== */
.testimonios-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 20px;
    min-height: calc(100vh - 90px);
}

.filter-btn {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), #003366);
    color: var(--white);
    border-color: var(--primary-color);
}

.video-item {
    transition: all 0.3s ease;
}

.video-item .card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.video-item .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.video-item .card-body {
    padding: 20px;
}

.video-item .card-title {
    color: var(--primary-color);
    text-transform: uppercase;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
}

.footer-logo img {
    height: 50px;
    filter: brightness(0) invert(1);
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.footer-links a {
    color: var(--white);
    font-weight: 500;
}

.footer-info {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    padding-top: 20px;
    margin-top: 20px;
}

.whatsapp-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.3s;
}

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

.whatsapp-icon img {
    width: 35px;
    height: 35px;
}/* ===== DETALLE BLOG ===== */
.detalle-blog {
    background-color: #f8f9fa;
    padding: 60px 0;
    min-height: calc(100vh - 90px);
}

.blog-detail {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.blog-detail h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.blog-detail .text-muted {
    font-size: 0.9rem;
    margin-bottom: 25px;
    display: block;
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 15px;
}

.blog-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.blog-content p {
    margin-bottom: 20px;
}

.blog-content h2,
.blog-content h3 {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
}

.bibliography {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid var(--light-gray);
}

.bibliography h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.bibliography ul {
    list-style: none;
    padding-left: 0;
}

.bibliography li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #666;
    padding-left: 20px;
    position: relative;
}

.bibliography li::before {
    content: "•";
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.bibliography a {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Sidebar Widgets */
.sidebar-blog {
    position: sticky;
    top: 100px;
}

.search-widget,
.latest-blogs-widget {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.search-widget h4,
.latest-blogs-widget h4 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-gray);
    position: relative;
}

.search-widget h4::after,
.latest-blogs-widget h4::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
}

.search-form .form-control {
    border: 2px solid var(--light-gray);
    border-right: none;
}

.search-form .form-control:focus {
    border-color: var(--accent-color);
    box-shadow: none;
}

.search-form .btn {
    border: 2px solid var(--primary-color);
    background: var(--primary-color);
    color: var(--white);
}

.search-form .btn:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.latest-blogs-widget .list-group-item {
    border: none;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
}

.latest-blogs-widget .list-group-item:last-child {
    border-bottom: none;
}

.latest-blogs-widget .list-group-item:hover {
    background-color: #f9f9f9;
}

.latest-blogs-widget h6 {
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.4;
    font-size: 1rem;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.latest-blogs-widget .list-group-item:hover h6 {
    color: var(--secondary-color);
}

.latest-blogs-widget small {
    font-size: 0.8rem;
    color: #888;
}
