/* AQUI SON STILOSSSS DE INDEX PAGINA WEB INFORMATIVA */

:root {
    --primary: #1E3A8A;
    --secondary: #5D5CDE;
    --accent: #FF4D4D;
    --light: #F8F9FA;
    --dark: #212529;
    --transition: all 0.3s ease;
}

.dark {
    color-scheme: dark;
}

.dark body {
    background-color: #181818;
    color: #e0e0e0;
}

.dark .bg-white {
    background-color: #222;
}

.dark .bg-gray-50 {
    background-color: #333;
}

.dark .bg-gray-100 {
    background-color: #2a2a2a;
}

.dark .bg-gray-200 {
    background-color: #444;
}

.dark .text-gray-600,
.dark .text-gray-700 {
    color: #bbb;
}

.dark .text-gray-800 {
    color: #ddd;
}

.dark .text-gray-900 {
    color: #f0f0f0;
}

.dark .border-gray-200,
.dark .border-gray-300 {
    border-color: #444;
}

/* Tema oscuro para CodeMirror */
.dark .CodeMirror {
    background-color: #2a2a2a;
    color: #e0e0e0;
    border-color: #444;
}

.dark .CodeMirror-gutters {
    background-color: #222;
    border-color: #444;
}

.dark .CodeMirror-linenumber {
    color: #888;
}

.dark .CodeMirror-cursor {
    border-left-color: #e0e0e0;
}

.sidebar {
    transition: all 0.3s;
    background-color: #1E3A8A !important;
    /* Asegurar fondo sólido */
}/* Busca reglas similares a estas: */

/* Busca reglas similares a estas: */
.sidebar .nav-link,
#sidebar nav a,
#sidebar ul li a {
    text-transform: uppercase; /* Esta es la que convierte el texto a mayúsculas */
}



.sidebar .nav-link i,
#sidebar nav a i,
#sidebar i {
    display: inline-block; /* Mostrar los íconos */
    margin-right: 10px; /* Espacio entre el ícono y el texto */
}



@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .content {
        margin-left: 0 !important;
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Estilos para modales */
.modal {
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

/* Estilos para tablas responsivas */
.table-responsive {
    overflow-x: auto;
}

/* Estilos para los campos de formulario */
.form-input {
    transition: border-color 0.3s ease-in-out;
}

.form-input:focus {
    border-color: var(--secondary);
}

/* Estilos para botones */
.btn-primary {
    background-color: var(--primary);
    color: white;
    transition: background-color 0.3s ease-in-out;
}

.btn-primary:hover {
    background-color: #152b6b;
}

.btn-secondary {
    background-color: var(--secondary);
    color: white;
    transition: background-color 0.3s ease-in-out;
}

.btn-secondary:hover {
    background-color: #4b4ac2;
}

/* Estilos para badges */
.badge-success {
    background-color: #10B981;
}

.badge-danger {
    background-color: #EF4444;
}

/* Estilos para notificaciones */
.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent);
}

/* Estilos para editores de contenido */
.editor-toolbar {
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
}

.editor-content {
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    padding: 0.75rem;
    min-height: 150px;
}

/* Estilos para selector de archivo con previsualización */
.file-preview {
    max-width: 100%;
    height: auto;
    margin-top: 10px;
    border-radius: 0.375rem;
    border: 1px solid #e2e8f0;
}

/* Estilos para avatares */
.avatar {
    border-radius: 50%;
    object-fit: cover;
}

/* Estilos para tooltips */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 120px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Estilos para el editor SQL */
.CodeMirror {
    height: 200px;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    font-family: monospace;
    font-size: 14px;
}

.sql-result {
    max-height: 400px;
    overflow-y: auto;
}

/* Animación para el spinner de carga */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top: 4px solid var(--secondary);
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

.dark .spinner {
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid var(--secondary);
}

/* Corrección de espacio no deseado en el viewport */
html,
body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
}

/* Eliminar cualquier margen horizontal y contenido que desborde */
* {
    box-sizing: border-box;
    max-width: 100%;
}

/* Asegurar que las imágenes SVG no causen overflow */
svg {
    max-width: 100%;
    height: auto;
    display: block;
}

:root {
    --primary: #1E3A8A;
    --secondary: #5D5CDE;
    --accent: #FF4D4D;
    --light: #F8F9FA;
    --dark: #212529;
    --dark-blue: #1E3A8A;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    scroll-behavior: smooth;
    padding-top: 0;
    /* Eliminado el padding-top ya que el navbar será transparente */
}

/* Navbar Styles - Transparent and Elegant */
.navbar {
    background: transparent;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10;
    padding: 20px 0;
    transition: var(--transition);
}

/* Estilo para el navbar cuando se hace scroll */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 10px 0;
}

.dark .navbar.scrolled {
    background: rgba(18, 18, 18, 0.95);
}

.navbar-nav {
    gap: 20px;
}

/* Links de navegación blancos para contrastar con el fondo oscuro */
.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: white !important;
    position: relative;
    padding: 5px 0 !important;
    transition: var(--transition);
    letter-spacing: 0.3px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Cambiar color a oscuro cuando se hace scroll */
.navbar.scrolled .nav-link {
    color: var(--dark) !important;
    text-shadow: none;
}

.dark .navbar.scrolled .nav-link {
    color: white !important;
}

.nav-link:hover {
    color: var(--secondary) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary);
    transition: var(--transition);
    opacity: 0.8;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active::after {
    width: 100%;
}

/* Logo sin fondo */
.site-logo {
    font-size: 26px;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
    transition: var(--transition);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.site-logo:hover {
    transform: translateY(-2px);
    color: white;
}

/* Logo oscuro cuando se hace scroll */
.navbar.scrolled .site-logo {
    color: var(--primary);
    text-shadow: none;
}

.dark .navbar.scrolled .site-logo {
    color: white;
}

/* Botón de toggle del menú en blanco */
.navbar-toggler {
    border: none;
    outline: none;
    padding: 0.25rem 0.5rem;
    background: transparent;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.55)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.dark .navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Menú móvil con fondo semitransparente */
.navbar-collapse {
    transition: max-height 0.3s ease;
    overflow: hidden;
}

/* Hero Section */
.hero-section {
    background: url('../uploads/hero.png') no-repeat center center/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 5px;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    max-width: 800px;
    padding: 10px;
    position: relative;
    z-index: 2;
}

/* Info Box that appears on scroll */
.info-box-container {
    position: relative;
    padding: 0;
    margin-top: -150px;
    /* Reducido para móviles */
    z-index: 10;
}

.info-box {
    position: relative;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    /* Centrado para móviles */
    background: white;
    padding: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(300px);
    /* Comienza más abajo para que aparezca desde abajo */
    opacity: 0;
    transition: all 3s cubic-bezier(0.17, 0.85, 0.438, 0.99);
    visibility: hidden;
    border-radius: 10px;
}

.info-box.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.info-box h2 {
    color: var(--dark-blue);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.info-box p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.info-box-divider {
    width: 80px;
    height: 3px;
    background: var(--primary);
    margin-bottom: 25px;
}

.info-box-btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    transition: var(--transition);
    border-radius: 4px;
}

.info-box-btn:hover {
    background: var(--dark-blue);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(30, 58, 138, 0.2);
}

.more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--dark-blue);
    color: white;
    border: none;
    margin-right: 5px;
    border-radius: 4px;
}

/* Side Social Icons */
.side-social {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 999;
}

.side-social a {
    width: 40px;
    height: 40px;
    background: var(--secondary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    border-radius: 5px 0 0 5px;
    transition: var(--transition);
    transform: translateX(5px);
}

.side-social a:hover {
    transform: translateX(0);
    background: var(--primary);
}

/* Services Section */
.section-padding {
    padding: 70px 0;
    /* Reducido para móviles */
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    /* Reducido para móviles */
}

.section-title h2 {
    font-size: 2rem;
    /* Reducido para móviles */
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--secondary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    color: #6c757d;
    font-size: 1rem;
    max-width: 700px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

.service-content {
    padding: 20px;
}

.service-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary);
}

.service-content p {
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-link {
    color: var(--secondary);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.service-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--primary);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 30px 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    /* Para móviles */
    gap: 15px;
    margin-bottom: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    background: var(--secondary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary);
}

/* Animation for scroll */
.reveal {
    position: relative;
    transform: translateY(50px);
    opacity: 0;
    transition: all 1s ease;
}

.reveal.active {
    transform: translateY(0);
    opacity: 1;
}

/* Logo Slider Styles */
.logo-slide {
    transition: transform 0.5s ease;
}

.logo-container {
    scroll-behavior: smooth;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.pulsing {
    animation: pulse 2s infinite;
}

/* Estilos para modo oscuro */
.dark body {
    background-color: var(--dark);
    color: white;
}

.dark .navbar {
    background: transparent;
}

.dark .nav-link {
    color: white !important;
}

.dark .info-box {
    background: #1a1a1a;
}

.dark .info-box h2 {
    color: white;
}

.dark .info-box p {
    color: #ccc;
}

.dark .service-card {
    background: #1a1a1a;
}

.dark .service-content h4 {
    color: white;
}

.dark .service-content p {
    color: #ccc;
}

.dark .section-title h2 {
    color: white;
}

.dark .section-title p {
    color: #ccc;
}

.dark .logo-item {
    background-color: #2d2d2d;
}

/* NUEVA SECCIÓN DE TESTIMONIOS - FIX PARA ESPACIOS */
/* Curva superior - versión simplificada y confiable */
.curva-superior {
    position: relative;
    height: 50px;
    overflow: hidden;
    margin-bottom: -1px;
    width: 100%;
}

.curva-superior svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Sección principal de testimonios - corregida para eliminar espacios */
.testimonios-section {
    position: relative;
    background: linear-gradient(135deg, #1E3A8A 0%, #3b5cbe 100%);
    color: white;
    padding: 60px 0 80px;
    overflow: hidden;
    margin-bottom: -1px;
    width: 100%;
}

/* Círculos decorativos */
.circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    z-index: 0;
}

.circle-1 {
    width: 120px;
    height: 120px;
    top: 20%;
    right: 10%;
}

.circle-2 {
    width: 180px;
    height: 180px;
    bottom: 15%;
    left: 20%;
}

.circle-3 {
    width: 80px;
    height: 80px;
    top: 40%;
    left: 5%;
}

.circle-4 {
    width: 150px;
    height: 150px;
    bottom: 30%;
    right: 5%;
}

/* Contenido de los testimonios */
.testimonios-container {
    position: relative;
    z-index: 2;
}

.title-decoration {
    width: 80px;
    height: 3px;
    background: rgba(255, 255, 255, 0.5);
    margin: 15px auto 30px;
}

/* Tarjetas de testimonios */
.testimonial-slide {
    display: none;
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testimonial-image-container {
    position: relative;
    flex-shrink: 0;
    margin-bottom: 20px;
}

.testimonial-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #f8f9fa;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 2;
    position: relative;
}

/* Decoraciones alrededor de la imagen */
.image-decoration {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}

.image-decoration-1 {
    width: 20px;
    height: 20px;
    background: rgba(93, 92, 222, 0.2);
    top: -5px;
    right: 5px;
}

.image-decoration-2 {
    width: 15px;
    height: 15px;
    background: rgba(30, 58, 138, 0.2);
    bottom: 10px;
    left: 0;
}

.testimonial-text {
    flex: 1;
}

.testimonial-quote {
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
    line-height: 1.7;
    position: relative;
    padding-left: 25px;
}

/* Comillas decorativas */
.testimonial-quote::before {
    content: '❝';
    position: absolute;
    left: 0;
    top: -5px;
    font-size: 24px;
    color: var(--secondary);
    opacity: 0.7;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary);
    position: relative;
    padding-top: 15px;
}

.testimonial-author::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--secondary);
}

/* Navegación de puntos */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 30px auto 0;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.testimonial-dot.active {
    background-color: white;
    transform: scale(1.2);
}

/* Curva inferior - la que ya funcionaba bien */
.wave-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 5;
}

.wave-bottom svg {
    position: relative;
    display: block;
    width: 100%;
    height: 70px;
}

.wave-bottom .shape-fill {
    fill: var(--dark);
}

/* Correcciones para elementos Bootstrap que puedan causar overflow */
.container,
.container-fluid,
.row {
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.row {
    margin-left: -15px;
    margin-right: -15px;
}

/* Estilos específicos para móviles */
@media (max-width: 991px) {
    body {
        width: 100%;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .navbar-brand {
        margin-right: 0;
    }

    /* Menú móvil con fondo semi-transparente */
    .navbar-collapse {
        max-height: 0;
        transition: max-height 0.3s ease-out;
        overflow: hidden;
        padding-top: 0;
        padding-bottom: 0;
        margin-top: 10px;
        display: block !important;
    }

    .navbar-collapse.show {
        max-height: 700px;
        padding-top: 10px;
        padding-bottom: 10px;
        background: rgb(255, 255, 255);
        border-radius: 8px;
        padding: 15px;
    }

    .navbar.scrolled .navbar-collapse.show {
        background: rgba(255, 255, 255, 0.95);
    }

    .dark .navbar.scrolled .navbar-collapse.show {
        background: rgb(255, 255, 255);
    }

    .navbar-nav {
        padding-top: 5px;
        padding-bottom: 5px;
        gap: 0;
    }

    .nav-item {
        width: 100%;
        text-align: center;
        margin-bottom: 8px;
    }

    .nav-link {
        padding: 8px 0 !important;
        display: inline-block;
        font-size: 15px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .info-box-container {
        margin-top: -80px;
    }

    .info-box {
        max-width: 90%;
        padding: 20px;
    }

    .info-box h2 {
        font-size: 1.75rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    /* Ajustes para testimonios en móviles */
    .curva-superior {
        height: 40px;
    }

    .testimonios-section {
        padding: 40px 0 60px;
    }

    .testimonial-card {
        padding: 20px;
    }

    .wave-bottom svg {
        height: 50px;
    }
}

@media (max-width: 767px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }

    .section-title h2 {
        font-size: 1.75rem;
    }

    .info-box h2 {
        font-size: 1.6rem;
    }

    .info-box {
        margin: 0 auto;
        padding: 15px;
    }

    .side-social {
        /* Reducir tamaño o ocultar en móviles muy pequeños */
        transform: translateY(-50%) scale(0.85);
    }

    /* Ajustes para testimonios en tablets */
    .curva-superior {
        height: 30px;
    }

    .testimonial-card {
        padding: 20px 15px;
    }

    .testimonial-image {
        width: 80px;
        height: 80px;
    }

    .testimonial-quote {
        font-size: 0.95rem;
    }

    .testimonial-author {
        font-size: 0.95rem;
    }

    .wave-bottom svg {
        height: 40px;
    }
}

@media (max-width: 575px) {
    .navbar {
        padding: 15px 0;
    }

    .site-logo {
        font-size: 22px;
    }

    .hero-section h1 {
        font-size: 1.5rem;
    }

    .hero-section p.lead {
        font-size: 1rem;
    }

    .info-box h2 {
        font-size: 1.4rem;
    }

    .info-box p {
        font-size: 0.9rem;
    }

    .info-box-btn,
    .more-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    /* Ajustes para testimonios en móviles pequeños */
    .curva-superior {
        height: 25px;
    }

    .testimonial-image {
        width: 70px;
        height: 70px;
    }

    .testimonial-quote {
        font-size: 0.9rem;
        padding-left: 20px;
    }

    .testimonial-quote::before {
        font-size: 20px;
    }

    .testimonial-author {
        font-size: 0.85rem;
    }

    .wave-bottom svg {
        height: 35px;
    }
}

@media (min-width: 768px) {
    .testimonial-content {
        flex-direction: row;
        text-align: left;
        align-items: center;
    }

    .testimonial-image-container {
        margin-right: 30px;
        margin-bottom: 0;
    }

    .testimonial-author::before {
        left: 0;
        transform: none;
    }
}
