@charset "UTF-8";
/* CSS Document */

/* ==========================================================================
   1. Estilos Generales y Variables (si las hubiera)
   ========================================================================== */

:root {
    --primary-color: #0071e3; 
    --primary-hover-color: #0056b3;
    --text-color-dark: #1d1d1f;
    --text-color-light: #f5f5f7;
    --background-light: #f5f5f7;
    --background-white: #ffffff;
    --grey-text: #5a5a5f;
    --subtle-grey-bg: #e8e8ea;
    --border-color: #d2d2d7;
}

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: var(--background-light);
    color: var(--text-color-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; 
    box-sizing: border-box;
}

/* ==========================================================================
   2. Encabezado (Header)
   ========================================================================== */

header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 5px 0; 
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000; 
    width: 100%;
    transition: background-color 0.3s ease;
	border-bottom-left-radius: 15px; /* Ajusta 15px al valor que te guste */
    border-bottom-right-radius: 15px; /* Ajusta 15px al valor que te guste */
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.7);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 5px; 
    padding-bottom: 5px;
}

.logo img {
    display: block;
    height: auto; 
    max-width: 100%; 
}

/* ==========================================================================
	3.Navegación Principal 
   ========================================================================== */

nav#main-nav ul { 
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

nav#main-nav ul li {
    margin-left: 23px;
}

nav#main-nav ul li a {
    display: block;
    text-decoration: none;
    color: #6e6e73;
    font-size: 0.8em;
    transition: color 0.3s ease;
    text-align: center;
    position: relative;
    padding-top: 20px; 
}

nav#main-nav ul li a:hover {
    color: var(--primary-color);
}

nav#main-nav ul li a i {
    display: block;
    font-size: 1.4em; 
    color: var(--text-color-dark);
    text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
    padding-bottom: 5px;
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
}

/* Botones del Header */
.cta-header-container {
   display: flex;
    flex-direction: column; 
    gap: 8px; 
    align-items: stretch; 
}
.cta-header, .cta-soy-cliente-btn { 
       background-color: var(--primary-color);
    color: var(--background-white);
    padding: 9px 18px; 
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 500;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    text-align: center; 
    text-decoration: none; 
    display: inline-block; 
}
.cta-soy-cliente-btn {
    background-color: #86868b; 
}
.cta-soy-cliente-btn:hover {
    background-color: #6e6e73;
}
.cta-header:hover {
    background-color: var(--primary-hover-color);
}



/* ==========================================================================
   3. Sección Hero
   ========================================================================== */

#hero {
    background-color: #d9d9d9; 
    padding: 40px 0 60px; 
}
#hero .container { 
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px; 
}

.hero-content {
    flex: 1;
    max-width: 580px; 
    text-align: left;
    position: relative; 
    z-index: 2;
}
.hero-content h1 {
    font-size: 2.2em; 
    margin-top: 0;
    margin-bottom: 20px; 
    color: var(--text-color-dark);
    line-height: 1.25;
    font-weight: 600; 
}
.hero-content p {
    font-size: 1.1em; 
    color: var(--grey-text); 
    margin-bottom: 35px; 
}

.hero-buttons {
    display: flex;
    flex-direction: row; 
    gap: 20px; 
    align-items: center; 
    margin-top: 25px;
}
.hero-buttons .cta-principal {
    background-color: var(--primary-color);
    color: var(--background-white);
    padding: 14px 28px; 
    border: none;
    border-radius: 12px; 
    cursor: pointer;
    font-size: 1em;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
    text-decoration: none; 
    display: inline-flex; 
    align-items: center;
    justify-content: center;
    width: auto; 
    flex-shrink: 0; 
}
.hero-buttons .cta-principal:hover {
    background-color: #25D366; 
}
.hero-buttons .learn-more {
    background-color: transparent; 
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1em;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
    padding: 14px 0; 
    border: none; 
    width: auto;
    flex-shrink: 0;
}
.hero-buttons .learn-more:hover {
    color: var(--primary-hover-color);
}
.hero-buttons .learn-more i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}
.hero-buttons .learn-more:hover i {
    transform: translateX(4px); 
}
.hero-buttons .cta-principal:active,
.hero-buttons .learn-more:active {
    transform: scale(0.97); 
}

.hero-image {
    flex: 1;
    text-align: center;
    max-width: 500px; 
    position: relative; 
    z-index: 1;
}
.hero-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12); 
}

/* ==========================================================================
   4. Estilos Generales de Secciones
   ========================================================================== */

section {
    padding: 70px 0; 
    text-align: center;
}
section h2 {
    font-size: 2.4em; 
    margin-top: 0;
    margin-bottom: 50px;
    color: var(--text-color-dark);
    font-weight: 600;
}

/* ==========================================================================
   5. Sección Servicios
   ========================================================================== */

.servicios {
    background-color: var(--background-light); 
}
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.servicio-item {
    background-color: var(--background-white);
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
}
.servicio-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}
.servicio-item i {
    font-size: 2.2em; 
    margin-bottom: 20px;
    display: block;
    color: var(--primary-color); 
}
.servicio-item h3 {
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--text-color-dark);
}
.servicio-item p {
    font-size: 0.95em;
    line-height: 1.5;
    color: var(--grey-text); 
    margin-bottom: 0;
}

/* ==========================================================================
   6. Sección Por Qué Elegirnos
   ========================================================================== */

.por-que-elegirnos {
    background-color: var(--background-white); 
}

.caracteristicas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 25px;
    margin-top: 40px;
    text-align: left;
}
.caracteristica-item {
    background-color: var(--background-light); 
    padding: 30px; 
    border-radius: 15px; 
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.caracteristica-item:hover {
    transform: translateY(-5px); 
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
}
.caracteristica-item i {
    font-size: 2.5em; 
    color: var(--primary-color);
    margin-bottom: 18px;
    display: block;
}
.caracteristica-item h3 {
    font-size: 1.5em; 
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-color-dark);
}
.caracteristica-item p {
    font-size: 1em; 
    line-height: 1.5;
    color: var(--grey-text);
    margin-bottom: 0;
}

/* ==========================================================================
   7. Sección Testimonios
   ========================================================================== */

.testimonios {
    background-color: var(--background-light); 
    padding-bottom: 40px; 
}

.testimonios-slider-container { 
    position: relative;
}
.testimonios-slider {
    display: flex;
    overflow-x: auto; 
    scroll-snap-type: x mandatory; 
    gap: 25px;
    padding: 20px 5px 30px 5px; 
    margin-top: 40px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin; 
    scrollbar-color: var(--border-color) var(--background-light);
    cursor: grab;
}
.testimonios-slider:active {
    cursor: grabbing;
}
.testimonios-slider::-webkit-scrollbar {
    height: 8px;
}
.testimonios-slider::-webkit-scrollbar-track {
    background: var(--subtle-grey-bg); 
    border-radius: 4px;
}
.testimonios-slider::-webkit-scrollbar-thumb {
    background-color: #b0b0b5; 
    border-radius: 4px;
}
.testimonios-slider::-webkit-scrollbar-thumb:hover {
    background-color: #86868b;
}
.testimonios-slider .testimonio {
    flex: 0 0 80%; 
    max-width: 480px; 
    min-width: 280px; 
    background-color: var(--background-white);
    padding: 30px; 
    border-radius: 18px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07); 
    scroll-snap-align: center; 
    box-sizing: border-box;
    text-align: left;
    display: flex; 
    flex-direction: column; 
    align-items: flex-start; 
}

.testimonio-header { 
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    width: 100%;
}
.testimonio img {
    width: 60px; 
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid var(--primary-color); 
}
.testimonio-autor-info {
    flex-grow: 1;
}
.testimonio-autor-info .nombre {
    font-weight: 600;
    color: var(--text-color-dark);
    font-size: 1.1em;
    margin: 0;
}
.testimonio-autor-info .estrellas {
    color: #ffb400; 
    font-size: 0.9em;
}
.testimonio-texto p { 
    font-style: italic;
    color: var(--grey-text);
    margin-bottom: 0; 
    font-size: 1em; 
    line-height: 1.6;
}
.testimonios-ver-mas { 
    display: inline-block; 
    width: auto; 
    margin: 30px auto 0 auto; 
    padding: 10px 25px;
    background-color: var(--primary-color);
    color: var(--background-white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}
.testimonios-ver-mas:hover {
    background-color: var(--primary-hover-color);
}

/* ==========================================================================
   8. Sección Contacto
   ========================================================================== */

.contacto {
    background-color: var(--background-white);
}
.contacto-form {
    max-width: 650px;
    margin: 0 auto;
    padding: 40px;
    background-color: var(--background-light); 
    border-radius: 18px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.form-group { 
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color-dark);
    font-weight: 500;
    font-size: 0.9em;
}
.form-group input,
.form-group textarea { 
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 10px; 
    box-sizing: border-box;
    font-size: 1em;
    background-color: var(--background-white);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: inherit;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
    outline: none;
}
.form-group input:hover,
.form-group textarea:hover {
    border-color: #b0b0b5;
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

button.cta-form { 
    background-color: var(--primary-color);
    color: var(--background-white);
    padding: 14px 30px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 500;
    transition: background-color 0.3s ease;
    width: 100%;
    margin-top: 10px;
}
button.cta-form:hover {
    background-color: var(--primary-hover-color);
}

.contacto-info {
    margin-top: 40px;
    text-align: center;
    font-size: 1.05em;
}
.contacto-info p {
    margin-bottom: 12px;
    color: var(--grey-text);
}
.contacto-info a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}
.contacto-info a:hover {
    color: var(--primary-hover-color);
    text-decoration: underline;
}
.contacto-info i {
    margin-right: 8px;
    width: 20px; 
    text-align: center;
}
.social-icons {
    margin: 20px 0;
}
.social-icons a {
    margin: 0 10px;
    font-size: 1.6em;
    color: #4a4a4a; 
}
.social-icons a:hover {
    color: var(--primary-color);
}


/* ==========================================================================
   9. Pie de Página (Footer)
   ========================================================================== */

footer {
    background-color: var(--subtle-grey-bg); 
    color: #6e6e73;
    padding: 35px 0;
    text-align: center;
    font-size: 0.9em;
    border-top: 1px solid var(--border-color);
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; 
    gap: 15px; 
}

footer p { 
     margin: 0; 
     flex-basis: 100%; 
     text-align: center;
}

footer nav ul {
    list-style: none;
    padding: 0;
    margin: 0 auto; 
    display: flex;
    flex-wrap: wrap; 
    gap: 10px 20px; 
    justify-content: center; 
}

footer nav ul li {
     margin-left: 0; 
}

footer nav a {
    color: #6e6e73;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer nav a:hover {
    color: var(--primary-color);
}

@media (min-width: 768px) { 
    footer p {
        flex-basis: auto;
        text-align: left;
    }
    footer nav ul {
        margin: 0;
    }
}


/* ==========================================================================
   10. Estilos del Modal
   ========================================================================== */

.service-modal {
    display: none;
    position: fixed;
    z-index: 1001; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; 
    background-color: rgba(0,0,0,0.7); 
    padding: 20px; 
    box-sizing: border-box;
}
.modal-content {
  width: 90%; 
    max-width: 650px;
	margin: 5% auto; 
    border-radius: 18px; 
    position: relative;
    display: flex; 
    flex-direction: column;
    max-height: 90vh; /* Altura máxima para que no ocupe toda la pantalla */

    /* --- Estilos Glass --- */
    background: rgba(30, 30, 30, 0.7); /* Fondo oscuro para mejor contraste del texto claro */
    color: var(--text-color-light); /* Texto claro */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3); 
    
    animation: fadeInModalContent 0.4s ease-out; 
}

@keyframes fadeInModalContent { 
    from { opacity: 0; transform: translateY(-15px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-title-bar {
   background-color: rgba(255, 255, 255, 0.05); /* Barra de título sutilmente más clara */
    padding: 12px 20px; 
    padding-right: 50px; 
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
    border-radius: 18px 18px 0 0; 
    flex-shrink: 0; 
}
.modal-title-bar h3 { 
   color: var(--text-color-light); /* Texto del título claro */
    margin: 0;
    font-size: 1.3em; 
    font-weight: 600;
    line-height: 1.3;
}

.modal-body {
  	padding: 12px; /* Un poco más de padding */
    display: flex; 
    flex-direction: column;
    gap: 15px; 
    overflow-y: auto; /* Scroll si el contenido es muy largo */
    flex-grow: 1; 
}
.modal-image-placeholder,
#modal-text-content, 
#modal-form-container, 
#modal-carousel-container { 
    display: none; 
}

.modal-body-columns { 
      display: flex;
    flex-direction: row; 
    gap: 20px; 
}
.modal-image-placeholder { 
    flex: 0 0 35%; 
    background-color: var(--subtle-grey-bg); 
    min-height: 180px; 
    max-height: 300px;
    border-radius: 10px; 
    background-size: cover;
    background-position: center;
}

#modal-text-content { 
    flex: 1; 
}
#modal-description { 
    color: var(--text-color-light); 
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.6; 
    font-size: 0.95em; 
}
#modal-details-list { 
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
#modal-details-list li {
    margin-bottom: 8px;
    padding-left: 20px; 
    position: relative;
    font-size: 0.9em; 
    color: #d2d2d7; /* Gris claro */
}
#modal-details-list li::before { 
    content: '\f058'; 
    font-family: "Font Awesome 6 Free"; 
    font-weight: 900; 
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--primary-color);
}
#modal-form-container 

.modal-form-description {
    font-size: 1em;
    margin-bottom: 1px;
    text-align: center;
    color: #d2d2d7;
}
.modal-form-group {
    margin-bottom: 5px;
}
.modal-form-group label {
    display: block;
    margin-bottom:1px;
    color: var(--text-color-light);
    font-weight: 500;
    font-size: 0.85em;
}
.modal-form-input,
.modal-form-textarea { 
    width: 80%;
    padding: 1px;
    border: 1px solid var(--border-color);
    border-radius: 8px; 
    box-sizing: border-box;
    font-size: 0.95em;
    background-color: var(--background-white);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: inherit;
}
.modal-form-input:focus,
.modal-form-textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 113, 227, 0.15); 
    outline: none;
}
.modal-form-textarea {
    resize: vertical;
    min-height: 80px;
	align-content: center;
}
.modal-form-button {
    background-color: var(--primary-color);
    color: var(--background-white);
    padding: 10px 10px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95em;
    font-weight: 500;
    transition: background-color 0.3s ease;
    width: 80%;
    margin-top: 8px;
}
.modal-form-button:hover {
    background-color: var(--primary-hover-color);
}

.required-asterisk { 
    color: red;
    margin-left: 2px;
}

.close-button {
    color: #86868b; 
    position: absolute;
    top: 6px; 
    right: 12px; 
    font-size: 28px; 
    font-weight: 300; 
    line-height: 1;
    cursor: pointer;
    padding: 5px; 
    transition: color 0.2s ease, transform 0.2s ease;
    z-index: 10; 
}
.close-button:hover {
    color: var(--text-color-light); 
    transform: rotate(90deg) scale(1.1); 
}

/* Estilos del Carrusel en el Modal */
#modal-carousel-container {
    width: 100%;
    position: relative;
    overflow: hidden; 
    display: flex; 
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; 
    flex-grow: 1; 
}

.carousel-slides {
    display: flex; 
    width: 100%; 
    transition: transform 0.4s ease-in-out; 
    align-items: center; 
    flex-shrink: 0; 
}
.carousel-slide {
    min-width: 100%; 
    box-sizing: border-box;
    display: none; 
    flex-direction: column; 
    align-items: center;
    justify-content: flex-start; 
    text-align: center;
    padding: 5px; 
    height: 100%; 
}
.carousel-slide.active { 
    display: flex; 
    animation: fadeInModalSlide 0.4s ease-in-out;
}

@keyframes fadeInModalSlide {
    from { opacity: 0.2; }
    to { opacity: 1; }
}

.carousel-slide .carousel-image-link { 
    display: flex; /* Para centrar la imagen si es más angosta que el 40% */
    align-items: center;
    justify-content: center;
    width: 40%; /* El CONTENEDOR del enlace toma el 40% del slide */
    max-width: 180px; 
    height: 40%; /* ALTURA FIJA para el contenedor del enlace */
    margin: 0 auto 8px auto; 
    text-decoration: none; 
    flex-shrink: 0; 
    overflow: hidden; /* Para que la imagen no desborde este contenedor */
}
.carousel-slide .carousel-image-link img {
    display: block; 
    max-width: 100%; /* La imagen no supera el ancho de su contenedor <a> */
    max-height: 40% !important; /* IMAGEN CON ALTURA MÁXIMA DE 40PX */
    width: auto !important; /* Ancho se ajusta a la altura para mantener proporción */
    height: auto !important; /* Para que la imagen se ajuste a la altura manteniendo proporción */
    object-fit: contain !important; 
    border-radius: 4px; 
}
.carousel-caption {
    padding: 5px 10px 0 10px; 
    width: 100%;
    max-width: 90%; 
    margin: 0 auto; 
    box-sizing: border-box;
    overflow-y: auto; 
    flex-grow: 1; 
    min-height: 50px; 
}
.carousel-caption h4 {
    margin-top: 0;
    margin-bottom: 4px; 
    font-size: 1em; 
    color: var(--text-color-dark); 
    font-weight: 600;
}
.carousel-caption p { 
    font-size: 0.85em; 
    color: var(--grey-text);
    margin-bottom: 6px; 
    line-height: 1.35; 
}
.carousel-item-details {
    list-style: none;
    padding-left: 0;
    margin-bottom: 8px; 
    font-size: 0.8em; 
    color: #555; 
    text-align: left; 
    max-width: 90%; 
    margin-left: auto;  
    margin-right: auto; 
}
.carousel-item-details li {
    margin-bottom: 4px; 
    position: relative;
    padding-left: 18px; 
}
.carousel-item-details li::before {
    content: '\f00c'; 
    font-family: 'Font Awesome 6 Free'; 
    font-weight: 900; 
    position: absolute;
    left: 0;
    top: 1px; 
    font-size: 0.85em; 
    color: var(--primary-color); 
}
.carousel-item-price {
    font-weight: bold;
    font-size: 1em; 
    color: var(--primary-color); 
    margin-top: 8px; 
    margin-bottom: 5px; 
}
.carousel-prev,
.carousel-next {
    cursor: pointer;
    position: absolute;
    top: 20px; /* Mitad de 40px (altura de la imagen) */
    transform: translateY(-50%);
    padding: 5px 7px; 
    color: white;
    font-weight: bold;
    font-size: 16px; 
    background-color: rgba(0, 0, 0, 0.5); 
    border: none;
    border-radius: 50%; 
    user-select: none; 
    transition: background-color 0.3s ease, transform 0.2s ease;
    z-index: 10; 
    height: 32px; 
    width: 32px;  
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel-prev:hover,
.carousel-next:hover {
    background-color: rgba(0, 0, 0, 0.75); 
    transform: translateY(-50%) scale(1.05);
}
.carousel-next {
    right: 5px; 
}
.carousel-prev {
    left: 5px; 
}
.carousel-dots {
    text-align: center;
    padding: 8px 0 0 0; 
    flex-shrink: 0; 
}
.carousel-dot {
    cursor: pointer;
    height: 7px; 
    width: 7px;
    margin: 0 3px; 
    background-color: #ccc; 
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.carousel-dot.active {
    background-color: var(--primary-color); 
    transform: scale(1.1); 
}
.carousel-dot:hover {
     background-color: #999; 
}


/* ==========================================================================
   11. Media Queries (Estilos Responsivos)
   ========================================================================== */

/* Tablet y pantallas medianas (hasta 992px) */
@media (max-width: 992px) { 
    .container {
        padding: 0 20px; 
    }

    nav#main-nav ul li {
        margin-left: 15px; 
    }
    nav#main-nav ul li a {
        font-size: 0.75em;
    }
    nav#main-nav ul li a i { 
        font-size: 1.3em; 
    }

    .cta-header-container { 
        gap: 6px;
    }
    .cta-header, .cta-soy-cliente-btn { 
        padding: 8px 15px;
        font-size: 0.8em; 
    }


    #hero {
        padding: 30px 0 50px;
    }
    #hero .container {
        /* Los botones del hero se apilan en 768px, no aquí */
    }
	
    .hero-content {
        max-width: 100%; 
    }
    .hero-content h1 {
        font-size: 2.4em; 
    }
    .hero-content p {
        font-size: 1.1em;
        margin-bottom: 30px;
    }
    .hero-image {
        max-width: 400px; 
        margin-top: 20px;
    }

    section h2 {
        font-size: 2.2em;
        margin-bottom: 40px;
    }

    .servicios-grid, .caracteristicas-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 20px;
    }
    .servicio-item, .caracteristica-item {
        padding: 25px;
    }

    .testimonios-slider .testimonio {
        flex-basis: 70%;
        max-width: 400px;
    }

    .contacto-form {
        padding: 30px;
    }

    .modal-content {
        width: 90%; 
        margin: auto; 
        /* height: 90vh; */ /* Quitamos altura fija */
        max-height: 90vh; 
    }
    .modal-body-columns { 
        flex-direction: column;
    }
    .modal-image-placeholder {
        flex-basis: auto; 
        min-height: 180px;
        max-height: 250px;
    }
    .carousel-slide .carousel-image-link { /* Tablet */
        max-width: 40%; 
        height: 40px; 
    }
    .carousel-slide .carousel-image-link img { /* Tablet */
        max-height: 40px !important;
    }
    .carousel-prev, .carousel-next { /* Tablet */
        top: 20px; 
    }

}

/* Estilos para Móviles (hasta 768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 10px; 
    }
    
    header { 
        padding: 3px 0; 
    }
    header 
	.container {
        flex-direction: column; 
        align-items: center; 
        padding-top: 0; 
        padding-bottom: 0; 
        gap: 3px; 
    }
    .logo {
        margin-bottom: 0; 
        order: 1; 
        text-align: center; 
    }
    .logo img {
        max-height: 70px; 
        width: auto; 
    }

    nav#main-nav { 
        width: 100%;
        order: 2; 
        margin-top: 3px; 
    }
    nav#main-nav ul {
        display: flex !important; 
        flex-direction: row; 
        justify-content: center; 
        flex-wrap: wrap; 
        align-items: center; 
        width: 100%;
        margin-top: 0; 
        background-color: transparent; 
        box-shadow: none; 
        position: static; 
        gap: 0px 3px; 
    }
    nav#main-nav ul li {
        margin-left: 0; 
        width: auto; 
        text-align: center;
        border-bottom: none; 
        margin-bottom: 0; 
    }
    nav#main-nav ul li a {
        padding: 1px 2px; 
        padding-top: 25px; 
        font-size: 0.8em; 
        color: var(--text-color-dark); 
    }
    nav#main-nav ul li a i { 
        display: block; 
        font-size: 1.8em; 
        color: var(--text-color-dark);
        padding-bottom: 1px; 
        top: 0px; 
    }
    
   	.cta-header-container { 
        flex-direction: row;
        gap: 10px;
        width: 100%;
        justify-content: center; 
        margin-top: 5px; 
    }
    .cta-header, .cta-soy-cliente-btn { 
        flex: 1; 
		order: 3; 
        padding: 8px 1px; 
        font-size: 0.85em; 
    }

	#hero {
    			background-image: url('img/service_apple_la_plata.jpg'); /* Asegúrate que la ruta sea correcta */
    			background-size: cover;
    			background-position: center;
    			background-repeat: no-repeat;
    			padding-top: 10px; 
   				padding-bottom: 60px; 	
			}
	.hero-image {
                display: none;
            }
	
    #hero 
	.container { 
        flex-direction: column;
        padding-top: 20px; 
        padding-bottom: 20px;
    }
	.hero-content {
                background-color: rgba(220, 220, 220, 0.6); /* Aumenté un poco la opacidad */
                color: #fff; 
                padding: 25px; /* Un poco más de padding */
                border-radius: 12px; 
                text-align: center; 
                max-width: 90%; 
                box-shadow: 0 4px 15px rgba(0,0,0,0.2); /* Sombra sutil para destacar */
            }	
    .hero-buttons {
                justify-content: center; 
                flex-direction: column; /* Apilar botones en móvil */
                width: 100%;
                gap: 12px;
            }
	.hero-buttons .cta-principal, 
	.hero-buttons .learn-more {
                width: 100%; /* Botones ocupan todo el ancho disponible */
                max-width: 185px; /* Pero no más de esto para que no se vean raros */
                font-size: 0.95em;
                padding: 12px 20px;
				border: none;
            }
    .hero-buttons .learn-more {
   		 /* background-color: rgba(255,255,255,0.2); /* Fondo sutil para el "ver más" */
		 align-content: center;
         color: #fff;
            }
	
    .hero-buttons .learn-more:hover {
               /* background-color: rgba(255,255,255,0.3);*/
                 color: #fff;
            }        
    section h2 {
        font-size: 1em;
    }
    .servicios-grid, .caracteristicas-grid {
        grid-template-columns: 1fr; 
    }	
    .testimonios-slider .testimonio {
        flex-basis: 90%; 
        min-width: calc(100% - 30px); 
        scroll-snap-align: start; 
        padding: 25px;
    }
    .testimonio img {
        width: 50px;
        height: 50px;
    }
    .contacto-form {
        padding: 25px;
    }  
    footer .container {
        flex-direction: column;
        gap: 20px;
    }	
    footer nav ul {
        gap: 10px 15px;
    }
	
    .modal-content { 
        width: 95%; 
		margin: 10% auto; 
        max-height: 90vh; 
    }
    .modal-title-bar {
        padding: 10px 15px; 
        padding-right: 40px;
    }
    .modal-title-bar h3 {
        font-size: 1.1em; 
    }
    .modal-body {
        padding: 10px; 
    }
    .modal-body-columns { 
        flex-direction: column;
    }
    .modal-image-placeholder {
        max-height: 150px; 
    }

    /* Ajustes para el carrusel en móvil */
    .carousel-slide .carousel-image-link { 
        width: 40% !important; /* Forzar el 40% del ancho del slide */
        max-width: 40% !important; /* Refuerzo */
        height: 40px !important; /* ALTURA FIJA PARA EL CONTENEDOR DEL ENLACE */
    }
    .carousel-slide .carousel-image-link img {
        max-height: 40px !important; 
        width: auto !important;
        height: 100% !important; 
    }	
    .carousel-caption {
        margin-top: 5px; 
    }
	
    .carousel-caption h4 {
        font-size: 0.9em; 
        margin-bottom: 2px;
    }
    .carousel-caption p {
        font-size: 0.7em; 
        line-height: 1.2;
        margin-bottom: 3px;
    }
	
    .carousel-item-details {
        font-size: 0.65em; 
        margin-bottom: 3px;
    }
    .carousel-item-details li {
        margin-bottom: 1px;
        padding-left: 14px;
    }
    .carousel-item-details li::before {
        font-size: 0.7em; 
        top: 0;
    }
    .carousel-item-price {
        font-size: 0.85em; 
        margin-top: 4px;
    }
	
    .carousel-prev, .carousel-next {
        font-size: 12px; 
        padding: 3px 4px; 
        height: 24px; 
        width: 24px;
        top: 20px; /* Mitad de 40px */
    }
    .carousel-next { right: 3px; } 
    .carousel-prev { left: 3px; } 
}
