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

/* Contenedor Grid */
.grid-container {
    display: grid;
        grid-template-areas:
            "navbar navbar"
            "header header"
            "main main"
            "footer footer";
        grid-template-columns: 1fr 250px;  /* Ocupa toda la altura de la pantalla */
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    line-height: 1.7;
}

h1, h2, h3, p, a, li, ul, label, button{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    
}

/*NAVBAR*/
/* Estilos para cada área */
.navbar {
    grid-area: navbar;
    position: sticky; /* ¡Clave! */
    top: 0; /* Se pega arriba */
    z-index: 1000; /* Para que esté por encima del contenido */
    background: #2A7B9B;
    background: linear-gradient(90deg,rgba(42, 123, 155, 1) 0%, rgba(46, 130, 153, 1) 100%, rgba(87, 199, 133, 1) 50%, rgba(237, 221, 83, 1) 100%);
    display: flex;
    justify-content: space-between; /* Logo a la izquierda, enlaces a la derecha */
    align-items: center;
    padding: 0.5rem 5rem;
    transition: all 0.5s ease;

}
.navbar.scrolled {
     background: rgba(42, 123, 155, 0.95); /* Color sólido al hacer scroll (o otro gradiente) */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

}

/* Logo */
.logo {
    font-size: 1.8rem;
    letter-spacing: 1px;
}
.logo:hover{
    transform: scale(1.05);
}

.logo a {
    font-family: "Freckle Face", system-ui;
    font-weight: 400;
    font-style: normal;
    color: white;
    text-shadow: 2px 2px 0px black, -1px -1px 0px black;
    text-decoration: none;
    font-size: 2rem;
    font-weight: bold;
}
.logo a:hover{
    transform: scale(1.05);
}

/* Lista de enlaces (Flexbox para horizontal) */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem; /* Espacio entre enlaces */
}

.nav-links a {
    color: white;
    font-size: 1.1rem;
    padding: 10px 10px;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    background: white;
    color: #2A7B9B;
    border-color: #2A7B9B;
    transform: translateY(-3px);
    transition: all .3s ease-in-out;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* Menú hamburguesa (oculto en desktop) */
.hamburger {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 1000px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #2A7B9B;
        flex-direction: column;
        text-align: center;
        padding: 1rem 0;
        gap: 1rem;
    }
    .nav-links.active { /* Clase que mostrará el menú */
        display: flex;
    }
    .hamburger {
        display: block; /* Muestra el ícono */
    }
    .hamburger i {
        transition: transform 0.3s;
    }
    .hamburger.active i.fa-bars {
        transform: rotate(45deg);
    }
    .hamburger.active i.fa-bars::before {
        transform: rotate(90deg);
        position: absolute;
        top: 0;
    }
    .hamburger.active i {
    transform: rotate(90deg);
    }
}



/*HEADER*/
/* Header principal */
.header-diseno {
    grid-area: header;
    width: 100%;
    height: 40vh; /* Ajusta la altura (ej: 50vh, 70vh) */
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
                      url('../img/img-header/coding-1841550_1920.jpg'); /* Ruta de tu imagen */
    background-size: cover;
    background-position: center;

    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative; /* Para efectos overlay */
}

/* Contenido del título */
.contenido-header {
    padding: 0 20px;
    z-index: 2; /* Asegura que el texto esté sobre el overlay */
}

.titulo-pagina {
    color: white;
    font-size: 4rem; /* Ajusta según necesidad */
    text-shadow: 2px 2px 0px black, -1px -1px 0px black;
    margin: 0;
    animation: fadeIn 1.5s ease-in-out;
}


/* Efecto overlay oscuro para mejorar legibilidad */
.header-diseno::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Ajusta la opacidad (0.4 = 40%) */
    z-index: 1;
}

/* Animación suave al cargar */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
    .header-diseno {
        height: 40vh; /* Más bajo en móviles */
    }
    .titulo-pagina {
        font-size: 3.5rem;
    }
}

@media (max-width: 480px) {
    .titulo-pagina {
        font-size: 2.5rem;
    }
}

/*HEADER INDEX*/
/* Estilos del carrusel */

.header{
    grid-area: header;
}
.carousel {
    position: relative;
    margin-left: calc(-50vw + 50%); /* Elimina márgenes heredados */
    overflow: hidden;  
}

.slide {
    display: none;
    transition: opacity 6s ease-in-out;
    opacity: 0;
}

.slide.active {
    display: block;
    opacity: 1;
}

.slide img {
    width: 100%;
    height: calc(100vh - 60px);
    object-fit: cover;
    object-position: center;
    display: block;
    filter: brightness(50%);
}

.slide-text {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    padding: 1rem;

}

.slide-text h1{
    font-size: 4.5rem;
    text-shadow: 2px 2px 0px black, -1px -1px 0px black;

}
.slide-text p{
    font-size: 1.5rem ;
    text-shadow: 2px 2px 0px black, -1px -1px 0px black;
}
.slide-text a{
    margin-top: 30px;
}

.header, .carousel, .slide, .slide img {
    max-width: 100vw; /* Máximo ancho de la pantalla */
    overflow-x: hidden; /* Oculta cualquier desbordamiento */
}

.slide-text2 {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    
    color: white;
    padding: 1rem;
}

.slide-text2 h2 {
    font-size: 4.5rem;
    text-shadow: 2px 2px 0px black, -1px -1px 0px black;
    
}
.slide-text2 p{
    font-size: 1.5rem ;
    text-shadow: 2px 2px 0px black, -1px -1px 0px black;
    
}
.slide-text2 a{
    margin-top: 30px;
}

@media (max-width: 768px) {
    .carousel {
        height: calc(100vh - 50px); /* Nav más bajo en móvil */
    }
    .slide-text h1{
        font-size: 3.5rem;
    }
    .slide-text2 h2{
        font-size: 3.5 rem;
    }
    
}

@media (max-width: 600px){
    .slide-text h1{
        font-size: 2.7rem;
    }
    .slide-text p{
        font-size: 1rem;
    }
    .slide-text2 h2{
        font-size: 2.7rem;
    }

}




/* Flechas de navegación */
.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 1.5rem;
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}


/*MAIN*/
.main {
    grid-area: main;
    padding: 2rem;
    background-color: #f9f9f9;
    text-align: center;
}

/* Contenedor principal */
.about-section {
    padding: 4rem 1rem; /* Espaciado superior/inferior y lateral */
    background-color: #f9f9f9; /* Fondo claro (opcional) */
}

.about-container {
    max-width: 1200px; /* Ancho máximo para no estirarse en pantallas grandes */
    margin: 0 auto; /* Centrar en la página */
    display: flex; /* Flexbox para alinear imagen y texto */
    align-items: center; /* Centrar verticalmente */
    gap: 3rem; /* Espacio entre imagen y texto */
}

/* Imagen */
.about-image {
    flex: 1; /* Ocupa 1 parte del espacio */
    border-radius: 8px; /* Bordes redondeados */
    overflow: hidden; /* Recorta la imagen si es necesario */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra suave */
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s; /* Efecto hover (opcional) */
}

.about-image img:hover {
    transform: scale(1.02); /* Zoom leve al pasar el mouse */
}

/* Texto */
.about-text {
    flex: 1; /* Ocupa 1 parte del espacio */
}

.about-title {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 1rem;
}

.about-subtitle {
    font-size: 1.2rem;
    color: #3498db; /* Color verde (ajusta según tu paleta) */
    margin-bottom: 1.5rem;
}

.about-description {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.3rem;
    line-height: 1.6; /* Espaciado entre líneas */
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column; /* Apila imagen y texto */
        gap: 2rem;
    }
    .about-image, .about-text {
        flex: none;
        width: 100%;
    }
    .about-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px){
    .about-description{
        font-size: 0.9rem
    }
}


/*sEGUNDO CONTENEDOR SLOGAN*/
/* Estilos del separador */
/* Sección "¿Por qué yo?" - Minimalista */
.porque-yo-simple {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);;
    text-align: center;
}

.titulo-simple {
    font-size: 3em;
    color: #2c3e50;
    margin-bottom: 60px;
    font-family: 'Montserrat', sans-serif;
}

.destacado-simple {
    color: #2A7B9B;
    position: relative;
}

.destacado-simple::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #2A7B9B;
    transform: scaleX(0);
    transition: transform 0.2s;
}

.titulo-simple:hover .destacado-simple::after {
    transform: scaleX(1);
}

/* Contenedor de palabras */
.contenedor-palabras {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

/* Items (imagen + palabra) */
.item-palabra {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.item-palabra.visible {
    opacity: 1;
    transform: translateY(0);
}

.icono-palabra {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
    filter: drop-shadow(0 5px 10px rgba(52, 152, 219, 0.2));
}

.texto-palabra {
    font-size: 1.5em;
    color: #2c3e50;
    font-weight: 600;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.item-palabra:nth-child(1) { transition-delay: 0.2s; }
.item-palabra:nth-child(2) { transition-delay: 0.4s; }
.item-palabra:nth-child(3) { transition-delay: 0.6s; }
.item-palabra:nth-child(4) { transition-delay: 0.8s; }

/* Sección de servicios */
.services-section {
    padding: 4rem 1rem;
    text-align: center;
    background-color: #f9f9f9; /* Fondo claro */
}

.services-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
}

.services-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Grid de servicios */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Tarjetas */
.service-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    text-decoration: none;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-image {
    position: relative;
}

.service-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-image h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem;
    margin: 0;
    font-size: 1.5rem;
}

.service-description {
    padding: 1.5rem;
    color: #555;
    font-size: 0.95rem;
}

/* Responsive */

.service-card::after {
    content: "➜";
    position: absolute;
    top: 10px;
    right: 10px;
    background: #2A7B9B;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}
.service-card:hover::after {
    opacity: 1;
}


/* Efecto hover para el ícono */
.service-link:hover {
    background: #2A7B9B;
    transform: scale(1.1);
}

@media (max-width: 1024px) {
    .services-grid{
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    .grid-razones{
        grid-template-columns: 1fr;
    }


    .service-image h3{
        font-size: 2.5rem;
    }
    .service-description{
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .titulo-simple{
        font-size: 1.8rem;
    }
    .texto-palabra{
        font-size: 1.2rem;
    }
    .icono-palabra{
        width: 70px;
        height: 70px;
    }
    .services-title{
        font-size: 1.8rem;
    }
    .services-subtitle{
        font-size: 0.9rem;
    }
    .service-image h3{
        font-size: 1.3rem;
    }
    .service-description{
        font-size: 0.9rem;
    }
}

/*ASIDE*/
.aside{
    grid-area: sidebar;
    background-color: blueviolet;
}
/*FOOTER*/
.footer {
    grid-area: footer;
    background: #2A7B9B; /* Oscuro para contraste */

    color: white;
    text-align: center;
    padding: 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-column {
    margin-bottom: 1.5rem;
}

.footer-logo h3 {
    font-family: "Freckle Face", system-ui;
    font-weight: 400;
    font-style: normal;
    color: white;
    text-shadow: 2px 2px 0px black, -1px -1px 0px black;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

.footer-logo p {
    opacity: 0.8;
}

.footer-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 0px black, -1px -1px 0px black;
    position: relative;
    display: inline-block;
}

.footer-title::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50%;
    height: 2px;
    background-color: white;
}

.footer-list {
    list-style: none;
    padding: 0;
}

.footer-list li {
    margin-bottom: 0.6rem;
}

.footer-list a {
    color: #ddd;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-list a:hover {
    transition: all .3s 
ease-in-out;
    color: black;
    transform: translateY(5px);
  
}

.footer-social {
    display: flex;
    gap: 1rem;
    justify-content: center; /* Añade esta línea */
    margin-left: -1rem; /* Compensa el gap para centrar exactamente */
}

.footer-social a {
    color: white;
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.footer-social a:hover {
    transform: translateY(-3px);
    color: #25D366;
}
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 943px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}


/*FORMULARIO*/

/* Estilos generales */
.contacto {
    background: #f9fbfd;
}

.header-contacto {
    text-align: center;
    margin: 15px
}

.header-contacto h2 {
    color: #2c3e50;
    font-size: 2.2em;
}

.subtitle {
    color: #7f8c8d;
    font-size: 1.1em;
    max-width: 600px;
    margin: 15px auto;
}

/* Grid formulario + info */
.grid-contacto {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    
}

/* Formulario */
.form-container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;

}

/* Info de contacto */
.info-contacto {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.info-contacto h3{
    margin: 15px;
}

.contacto-list,
.value-list {
    list-style: none;
    padding: 0;
}

.contacto-list li,
.value-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.contacto-list i {
    position: absolute;
    left: 0;
    color: #3498db;
}

.value-list li:before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #27ae60;
}

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

@media (max-width: 500px) {
    .header-contacto h2 {
        font-size: 1.8rem;
    }
    .subtitle{
        font-size: 0.9rem;
    }
}


/*COMO TRABAJO*/
/* SECCION 1*/
/* Variables time line */
:root {
  --body-bg-color: #f1fafe;
  --primary-color: #2A7B9B;
  --timeline-gap: 2rem;
  --timeline-content-gap: 1.5rem;
  --timeline-entry-bg-color: #fff;
  --timeline-entry-padding: 2rem;
  --timeline-title-font-size: 2rem;
  --timeline-content-font-size: 1.2rem;
  --timeline-circle-size: 24px;
  --timeline-border-width: 5px;
}

#timeline-section { padding: 4rem 0; }

/* The container stays positioned for the spine & markers */
#timeline {
  position: relative;
}

/* LIST is the flex column now (restores gap + align-self behaviour) */
.timeline-list {
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex;
  flex-direction: column;
  gap: var(--timeline-gap);
}

/* centre spine uses token; sits behind markers */
#timeline::before {
  content: "";
  width: var(--timeline-border-width);
  height: 100%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
  z-index: 0;
}

.timeline-entry {
  display: flex;
  flex-direction: column;
  gap: var(--timeline-content-gap);
  box-sizing: border-box;
  padding: var(--timeline-entry-padding);
  background: var(--timeline-entry-bg-color);
  width: 45%;
  box-shadow: 0px 15px 30px -25px rgba(0,0,0,0.5);
}

/* marker anchored to #timeline (intentional) */
.timeline-entry::after {
  content: "";
  width: var(--timeline-circle-size);
  height: var(--timeline-circle-size);
  border-radius: 50%;
  border-width: var(--timeline-border-width);
  border-style: solid;
  border-color: var(--primary-color);
  background: var(--timeline-entry-bg-color);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1; /* above spine */
}

.timeline-entry .title { font-size: var(--timeline-title-font-size); }
.timeline-entry p { font-size: var(--timeline-content-font-size); }
.timeline-entry svg { color: var(--primary-color); order: -1; }

/* Desktop zig-zag: even items to the right */
@media (min-width: 768px) {
  .timeline-list .timeline-entry:nth-child(even) {
    align-self: flex-end;
  }
}

/* Mobile: move spine to start and widen entries */
@media (max-width: 767px) {
  #timeline::before {
    left: 0;
    transform: none;
  }
  .timeline-entry {
    width: 90%;
    align-self: flex-end;
  }
  .timeline-entry::after {
    left: calc(-1 * ((var(--timeline-circle-size) / 2) + (var(--timeline-border-width) / 2)));
    transform: none;
  }
}

/* Accessibility helper for the hidden heading */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
/* Lista específica para Figma */
.detalles-figma {
    margin-top: 15px;
    padding-left: 40px;
    list-style-type: none;
}

.detalles-figma li {
    position: relative;
    margin-bottom: 8px;
    color: #2A7B9B;
}

.detalles-figma li:before {
    content: "✓";
    position: absolute;
    left: -25px;
    color: #27ae60;
}

@media (max-width: 480px){
    .timeline-entry .title{
        font-size: 1.5rem;
    }
    .timeline-entry p{
        font-size: 0.8rem;
    }
    .timeline-entry svg{
        width: 30px;
        height: 30px;
    }
    .detalles-figma li{
        font-size: 0.8rem;
    }
}

/*SECCION 2*/
/*PREGUNTAS FRECUENTES*/

/* ... (conservar todos los estilos anteriores) ... */

/* Estilos FAQ */
.faq-section {
    margin-top: 30px;
    padding: 20px;
}

.faq-section h2 {
    font-size: 2rem;
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.faq-pregunta {
    width: 100%;
    text-align: left;
    padding: 18px 25px;
    background: #f8f9fa;
    border: none;
    border-left: 4px solid #2A7B9B;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-pregunta:hover {
    background: #e9ecef;
}

.faq-icon {
    font-size: 1.3em;
    transition: transform 0.3s;
}

.faq-respuesta {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    background: white;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-respuesta p, .faq-respuesta ul {
    margin: 15px 25px;
}

.faq-respuesta ul {
    padding-left: 20px;
}

.faq-respuesta li {
    margin-bottom: 8px;
}

/* Clase activa para JS */
.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-respuesta {
    max-height: 500px;
    padding: 15px 0;
}

/* Estilos para el CTA después del FAQ */
.faq-cta {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
    border-top: 3px solid #2A7B9B;
}

.faq-cta p {
    font-size: 1.2em;
    color: #2c3e50;
    margin-bottom: 20px;
}

@media (max-width: 480px){
    .faq-section h2{
        font-size: 1.5rem;
    }
    .faq-pregunta{
        font-size: 0.8rem;
    }
    .faq-respuesta p, .faq-respuesta ul{
        font-size: 0.7rem;
    }
    .faq-cta p{
        font-size: 1rem;
    }  
}

/*BOTONOES GENERALES*/
.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background: #2A7B9B;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.cta-button:hover {
    background: white;
    color: #2A7B9B;
    border-color: #2A7B9B;
    transition: all .3s ease-in-out;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

@media (max-width: 480px){
    .cta-button{
        font-size: 0.8rem;
    }
}


/*SECCION DESARROLLO WEB*/

/* Estilos para la sección Desarrollo Web */
.desarrollo-web {
    padding: 80px 0;
    background-color: #f9fbfd;
}

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

.grid-desarrollo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.texto-desarrollo h2 {
    font-size: 2.2em;
    color: #2c3e50;
    margin-bottom: 20px;
}

.texto-desarrollo p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #555;
    margin-bottom: 25px;
}

.lista-destacada {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.lista-destacada li {
    margin-bottom: 12px;
    font-size: 1.05em;
    color: #333;
}

.lista-destacada span {
    color: #2A7B9B;
    margin-right: 10px;
    font-weight: bold;
}


.imagen-desarrollo {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.imagen-desarrollo:hover .img-responsive {
    transform: scale(1.03);
}

/* Responsive: Tablet y móvil */
@media (max-width: 768px) {
    .grid-desarrollo {
        grid-template-columns: 1fr;
    }
    
    .texto-desarrollo {
        order: 2; /* Mueve el texto abajo en móviles */
    }
    
    .imagen-desarrollo {
        order: 1; /* Mueve la imagen arriba en móviles */
    }
}

@media (max-width: 500px){
    .texto-desarrollo p{
        font-size: 0.9rem;
    }
    .lista-destacada li{
        font-size: 0.9rem;
    }
}

/* Estilos para la sección Tipos de Páginas */
.tipos-paginas {
    padding: 80px 0;
    background-color: #fff;
}

.titulo-seccion {
    text-align: center;
    font-size: 2.2em;
    color: #2c3e50;
    margin-bottom: 10px;
}

.subtitulo {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 50px;
    font-size: 1.1em;
}

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

.tarjeta-tipo {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    border: 1px solid #eee;
}

.tarjeta-tipo:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.contenido-tarjeta {
    display: flex;
    padding: 25px;

}

.imagen-tipo {
    flex: 0 0 80px;
    margin-right: 20px;
}

.img-tipo {
    width: 90px;
    height: auto;
    object-fit: contain;
}

.texto-tipo h3 {
    color: #2A7B9B;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.lista-tipo {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lista-tipo li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
    color: #555;
    line-height: 1.5;
}

.lista-tipo span {
    position: absolute;
    left: 0;
    color: #2A7B9B;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
    .contenido-tarjeta {
        flex-direction: column;
        text-align: center;
    }
    
    .imagen-tipo {
        margin-right: 0;
        margin-bottom: 15px;
        flex: 0 0 auto;
    }
    .titulo-seccion{
        font-size: 1.8rem;
    }
}

@media (max-width: 500px){
    /*.tarjeta-tipo{
        width: ;
    }*/
    .grid-tipos{
        grid-template-columns: 1fr;
    }
    .titulo-seccion{
        font-size: 1.5rem;
    }
    .lista-tipo{
        font-size: 0.8rem;
    }
    .subtitulo{
        font-size: 0.8rem;
    }
}
.precio-tipo {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed #2A7B9B;
    text-align: center;
}

.desde {
    font-size: 0.9em;
    color: #7f8c8d;
}

.monto {
    font-size: 1.8em;
    font-weight: bold;
    color: #2c3e50;
    display: block;
    margin: 5px 0;
}

.nota {
    font-size: 0.8em;
    color: #95a5a6;
    display: block;
}


/*LOADER*/
/* Loader: Pantalla completa */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff; /* Fondo blanco (cambia el color si prefieres) */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

/* Spinner: Círculo de carga giratorio */
.loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3; /* Color del borde exterior */
    border-top: 5px solid #3498db; /* Color del borde superior (azul) */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Animación */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Clase para ocultar el loader cuando la página cargue */
.loader-hidden {
    opacity: 0;
    pointer-events: none; /* Permite interactuar con la página mientras desaparece */
}