/*
    Theme Name:Tesacredit
    Theme URI: 
    Author: Andres Nieto
    Author URI: http://twitter.com/andresn19
    Description: Theme Diseñado para Tesacredit
    Version: 1.0
    License: GNU General Public License v2 or later
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    Tags: Gym, gimnasio, flexbox, css grid, mobile first
    Text Domain: tesacredit
*/

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;700;900&family=Staatliches&display=swap');

:root {
    /** Fuentes **/
    --fuente-principal: 'Raleway', sans-serif;
    --fuente-headings: 'Staatliches', cursive;

    /** Colores - TEMA AZUL, NEGRO Y BLANCO **/
    --primario: #007bff; /* Un azul vibrante, perfecto para un color primario */
    --gris-oscuro: #1a1a1a; /* Un negro/gris muy oscuro para fondos */
    --gris-claro: #EBEBEB;
    --blanco: #FFF;
    --negro: #000;
}
html {
    box-sizing: border-box;
    font-size: 62.5%; /* 10 PX = 1rem */
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    font-family: var(--fuente-principal);
    font-size: 18px;
    font-size: 1.8rem;
    line-height: 2;
}

/** Headings **/
h1, h2, h3, h4 {
    font-family: var(--fuente-headings);
    margin: 0 0 5rem 0;
    line-height: 1.2;
}
h1 {
    font-size: 6rem;
}
h2 {
    font-size: 4.8rem;
}
h3 {
    font-size: 3.6rem;
}
h4 {
    font-size: 2.4rem;
}

/** Globales **/
p {
    margin: 0;
}
a {
    text-decoration: none;
}
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
img {
    display: block;
    max-width: 100%;
    height: auto;
}
hr {
    border: 1px solid var(--gris-claro);
}
.imagen-destacada {
    margin-bottom: 3rem;
}
.contenedor {
    width: min(95%, 120rem);
    margin: 0 auto;
}
.contenido-centrado {
    width: min(95%, 80rem);
}

.contenedor-boton {
    display: flex;
    justify-content: flex-end;
}

/** Botones **/
.form-submit .submit,
.boton {
    background-color: var(--blanco);
    color: var(--negro);
    padding: 1rem 3rem;
    display: block;
    flex: 1;
    width: 100%;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: .5rem;
    margin: 1rem 0;
    border: none;
}
@media (min-width: 768px) {
    .boton {
        display: inline-block;
        flex: 0 0 auto;
        width: auto;
    }
}

.boton-primario {
    background-color: var(--primario);
    color: var(--blanco);
}


/** Utilidades **/
.text-center {
    text-align: center;
}
.text-primary {
    color: var(--primario);
}
.text-blanco {
    color: var(--blanco);
}
.seccion {
    padding: 5rem 0;
}

/** Header **/
body.home .header {
    padding-top: 2rem;
    height: auto;
    min-height: 70rem;
    background-size: cover;
    background-position: center center;
}
@media (min-width: 768px) {
    body.home .header {
        height: 100vh;
        max-height: 90rem;
    }
}

.header {
    background-color: var(--gris-oscuro);
    padding: 2rem 0;
}
.barra-navegacion {
    display: flex;
    flex-direction: column;
    align-items: center;
}
@media (min-width: 768px) {
    .barra-navegacion {
        flex-direction: row;
        justify-content: space-between;
    }
}
.tagline {
    color: var(--blanco);
    margin-top: 5rem;
}
@media (min-width: 768px) {
    .tagline {
        margin-top: 15rem;
    }
}
.tagline p {
    font-size: 2rem;
}
@media (min-width: 992px) {
    .fixed-top {
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        background-color: var(--gris-oscuro);
        padding: 1rem 5rem;
        height: 10rem;
        z-index: 1000;
        transition: background-color 300ms ease-in-out;
    }
    .fixed-top .logo{
        width: 12rem;
    }
}

/* .menu-principal {
    display: none;
} */

.hamburguer-menu:hover {
    cursor: pointer;
}
@media (min-width: 768px) {
    .hamburguer-menu {
        display: none;
    }
}
.contenedor-menu {
    opacity: 0;
    max-height: 0;
    transition-delay: 100ms, 300ms;
    transition-property: opacity, max-height ;
    transition-timing-function: ease-in-out;
    transition-duration: 300ms;
}
@media (min-width: 768px) {
    .contenedor-menu {
        all: unset;
    }
}
.mostrar {
    opacity: 1;
    max-height: 35rem;
    transition-delay: 100ms, 300ms;
    transition-property: max-height, opacity ;
    transition-timing-function: ease-in-out;
    transition-duration: 300ms;
}

@media (min-width: 768px) {
    .menu-principal {
        display: block;
    }
    .menu-principal .menu {
        display: flex;
    }
}
.menu-principal a {
    font-family: var(--fuente-headings);
    display: block;
    text-align: center;
    color: var(--blanco);
    font-size: 2.2rem;
    padding: .5rem 2rem;
}



@media (min-width: 768px) {
    .menu-principal a {
        position: relative;
        z-index: 1;
    }
    .menu-principal .current_page_item {
        border-bottom: 3px solid var(--primario);
    }

    .menu-principal a::before, 
    .menu-principal a::after {
        position: absolute;
        left: 0;
        content: '';
        display: block;
        width: 100%;
        height: 50%;
        background-color: var(--primario);
        z-index: -1;
        transform: scaleX(0);
        transition: transform .6s;
    }
    .menu-principal a::before {
        top: 0;
        transform-origin: left;
    }
    .menu-principal a::after {
        top:50%;
        transform-origin: right;
    }
    .menu-principal a:hover::before {
        transform: scaleX(1);
    }
    .menu-principal a:hover::after {
        transform: scaleX(1);
    }
}

/** Footer **/
.contenido-footer {
    padding: 4rem 0;
}
@media (min-width: 768px) {
    .contenido-footer {
        display: flex;
        justify-content: space-between;
    }
}
.footer .menu-principal a {
    color: var(--negro);
    text-align: center;
    font-size: 2.4rem;
    padding: 0 1rem;
}
.footer .menu-principal a::before, 
.footer .menu-principal a::after {
    display: none;
}
.copyright {
    text-align: center;
    font-family: var(--fuente-headings);
    font-size: 1.8rem;
    margin: 2rem 0 0 0;
}
@media (min-width: 768px) {
    .copyright {
        font-size: 2.4rem;
        margin: 0;
    }
}

/** Cards **/
.listado-grid {
    margin-top: 4rem;
    display: grid;
    gap: 2rem;
}
@media (min-width:768px) {
    .listado-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.card {
    background-image: linear-gradient(to bottom, transparent 0, rgb(0 0 0 / .7));
    position: relative;
    overflow: hidden;
}
/** Categorias en Cards **/
.card .post-categories {
    position: absolute;
    top: 2rem;
    left: 2rem;
    display: flex;
    gap: 2rem;
}
.card .post-categories li {
    background-color: var(--primario);
    padding: .5rem 1rem;
    border-radius: .5rem;
}
.card .post-categories a {
    color: var(--blanco);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.6rem;
}
.card:hover img {
    transform: scale(1.2);
}
.card img {
    display: block;
    position: relative;
    z-index: -1;
    height: 40rem;
    object-fit: cover;
    transition: transform 300ms ease;
}
.card .contenido {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 2rem;
}
.card .contenido h3 {
    color: var(--blanco);
    margin: 0;
}
.card .contenido p,
.card .contenido .meta a {
    color: var(--blanco);
}
.card .meta {
    font-size: 1.4rem;
    font-weight: 700;
}
.card .meta span {
    color: var(--primario)
}

/** Sidebar **/
@media (min-width: 768px) {
    .con-sidebar {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 4rem;
    }
}
.informacion-clase {
    font-weight: 700;
    font-size: 2.2rem;
    text-align: center;
}

/** Listado de clases sidebar **/
.clases-sidebar li {
    border-bottom: 1px solid var(--gris-claro);
    padding: 2rem 0;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}
.clases-sidebar li:last-of-type {
    border: none;
}
.clases-sidebar .contenido-clase h3 {
    margin: 0;
    font-size: 2.6rem;
}
.clases-sidebar .contenido-clase a {
    color: var(--primario);
}
.clases-sidebar .contenido-clase p {
    font-size: 1.2rem;
}

/** Galería **/

.galeria-imagenes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(6, 300px);
    gap: 2rem;
}
@media (min-width: 768px) {
    .galeria-imagenes {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: auto;
    }
}
.galeria-imagenes li:nth-child(4) {
    grid-row: 2 / 4;
    grid-column: 2 / 3;
}
.galeria-imagenes li:nth-child(6) {
    grid-row: 4 / 6;
    grid-column: 1 / 2;
}
@media (min-width: 768px) {
    .galeria-imagenes li:nth-child(4) {
        grid-column: 4 /5;
        grid-row: 1 / 3;
    }
    .galeria-imagenes li:nth-child(6) {
        grid-column: 2 /3;
        grid-row: 2 / 4;
    }
}

.galeria-imagenes li:nth-child(4) img,
.galeria-imagenes li:nth-child(6) img {
    height: 620px;
}
.galeria-imagenes img {
    height: 300px;
    object-fit: cover;
}

/** Información meta **/
.meta-info {
    background-color: var(--gris-claro);
    padding: 2rem;
}
@media (min-width: 992px) {
    .meta-info {
        display: flex;
        justify-content: space-between;
    }
}
.meta-info p,
.meta-info a {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--negro);
}
.meta-info span {
    color: var(--primario);
}
.meta-info .categoria {
    display: flex;
    align-items: center;
    gap: .5rem;
}
.meta-info .post-categories {
    display: flex;
    gap: 1rem;
}

/** Formulario de Contacto **/

.wpcf7-form label {
    font-weight: 700;
}
.wpcf7-form .wpcf7-form-control {
    width: 100%;
    border: 1px solid var(--gris-claro);
    padding: 1rem;
}
.wpcf7-form .wpcf7-submit {
    background-color: var(--primario);
    font-size: 2rem;
    font-family: var(--fuente-headings);
    padding: 1.2rem;
    color: var(--blanco);
}
.wpcf7-form .wpcf7-submit:hover {
    cursor: pointer;
}
.wpcf7-form .wpcf7-not-valid-tip {
    background-color: rgb(200, 6, 6);
    color: var(--blanco);
    padding: .5rem;
    margin: .5rem 0;
    display: block;
    font-size: 1.4rem;
}
.wpcf7-form .ajax-loader {
    display: block;
    margin: 2rem auto 0 auto;
}
.wpcf7-form .wpcf7-spinner {
    display: block;
    margin: 2rem auto 0 auto;
    background-color: var(--primario);
    opacity: 1;
}

.mapa {
    margin-bottom: 5rem;
}

/** Página Principal **/
.bienvenida p {
    max-width: 80rem;
    margin: 0 auto;
}

.areas {
    display: grid;
    grid-template-columns: 1fr;
}
@media (min-width: 480px) {
    .areas {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 768px) {
    .areas {
        grid-template-columns: repeat(4, 1fr);
    }
}

.area {
    height: 25rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.area::after {
    content: '';
    background-image: linear-gradient( rgb(0 0 0 / .75), rgb(0 0 0 / .75));
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
}
.area img {
    height: 25rem;
    width: 50rem;
    object-fit: cover;
}
@media (min-width: 768px) {
    .area,
    .area img {
        height: 30rem;
    }
}

.area p {
    position: absolute;
    color: var(--blanco);
    z-index: 100;
    font-weight: 900;
}
@media (min-width: 768px) {
    .area p {
        opacity: 0;
        transition: opacity .5s ease-out;
    }
    .area:hover p {
        opacity: 1;
    }
}
/** Instructores **/
.instructor {
    margin: 2rem 0;
    border-bottom: 1px solid var(--gris-claro);
}
.instructor:last-of-type {
    border: none;
}
@media (min-width: 992px) {
    .instructor {
        position: relative;
        margin: 0;
    }
}
.instructor img {
    height: 40rem;
    object-fit: cover;
}
.instructor .contenido {
    padding: 3rem;
}
@media (min-width: 992px) {
    .instructor .contenido {
        position: absolute;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgb(0 0 0 / .75);
        display: flex;
        flex-direction: column;
        justify-content: center;
        color: var(--blanco);
        opacity: 0;
        transition: opacity .5s ease-out;
        transition-delay: .2s;
    }
    .instructor:hover .contenido {
        opacity: 1;
    }
}
.instructor h3 {
    margin-bottom: 2rem;
}

.especialidad {
    margin-top: 2rem;
}
.instructor .etiqueta {
    background-color: var(--primario);
    color: var(--blanco);
    text-transform: uppercase;
    font-family: var(--fuente-headings);
    margin-right: 2rem;
    font-size: 2.2rem;
    border-radius: .5rem;
    padding: .5rem 2rem;
}
.instructor .etiqueta:last-of-type {
    margin-right: 0;
}

/** Testimoniales **/
.testimoniales {
    background: linear-gradient(
        rgb(0 0 0 / .75),
        rgb(0 0 0 / .75)
    ), url(img/business.jpg);
    background-size: cover;
    background-position: center center;
    padding: 12rem 0;
}
.contenedor-testimoniales {
    width: min(95%, 80rem);
    margin: 0 auto;
}
.testimonial {
    color: var(--blanco);
}
.testimonial blockquote {
    position: relative;
    padding-left: 12rem;
}
.testimonial blockquote::before {
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    background-image: url(img/quote.svg);
    background-repeat: no-repeat;
    width: 10rem;
    height: 9rem;
}
.testimonial-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}
@media (min-width: 768px) {
    .testimonial-footer {
        justify-content: flex-end;
    }
}
.testimonial-footer img {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
}
.testimonial-footer p {
    font-weight: 700;
    color: var(--primario);
}

/** Animación Letras **/
.ml2 {
    font-weight: 900;
    font-size: 3.5em;
}
.ml2 .letter {
    display: inline-block;
    line-height: 1em;
}

/** Comentarios **/
.comentarios {
    width: min(95%, 60rem);
    margin: 5rem auto 0 auto;
}
.comment-reply-title {
    color: var(--primario);
    text-align: center;
}

.logged-in-as a {
    color: var(--primario);
}
.comment-form-comment label {
    font-weight: 700;
    margin: 2rem 0;
    display: block;
}

.form-submit .submit {
    background-color: var(--primario);
    color: var(--blanco);
}
.comment-form-comment textarea,
.comentarios input[type="text"] {
    border: 1px solid var(--gris-claro);
    width: 100%;
    padding: 1rem;
}

.comentarios input[type="text"] {
    margin: .5rem 0;
}

h3.comentarios {
    margin: 3rem 0;
}

.lista-comentarios .comment {
    background-color: var(--gris-claro);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: .5rem;
}
.lista-comentarios a {
    color: var(--primario);

}
.lista-comentarios cite {
    color: var(--primario);
    font-size: 2rem;
    font-weight: 700;
}
.lista-comentarios .children .comment {
    background-color: var(--blanco);
    margin: 2rem 0;
}
/** Paginación **/
.pagination .screen-reader-text {
    visibility: hidden;
}
.nav-links {
    display: flex;
    justify-content: center;
    gap: .5rem;
}
.nav-links a {
    font-size: 1.4rem;
    color: var(--primario);
    font-weight: 700;
    padding: .5rem;
}
.nav-links .current {
    font-size: 1.4rem;
    padding: .5rem;
}









/* Footer legales y politicas */

/* Versión minimalista elegante */
.footer-enlaces-legales {
    padding: 30px 0;
    text-align: center;
    position: relative;
}

.footer-enlaces-legales a {
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin: 0 15px;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

/* Separador elegante */
.footer-enlaces-legales a:not(:last-child)::after {
    content: '•';
    position: absolute;
    right: -18px;
    top: 50%;
    transform: translateY(-50%);
    color: #d1d5db;
    font-size: 12px;
}

/* Efecto hover minimalista */
.footer-enlaces-legales a:hover {
    color: #111827;
}

/* Línea sutil al pasar el ratón */
.footer-enlaces-legales a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.footer-enlaces-legales a:hover::before {
    transform: scaleX(0.5);
    left: 25%;
    right: 25%;
}




/** estilo pagina servicios **/

/* ESTILOS PARA SERVICIOS DINÁMICOS */
/* ESTILOS ESPECÍFICOS PARA SERVICIOS (CPT) */
.servicios-cpt {
    display: grid;
    gap: 30px;
    margin: 40px 0;
    padding: 20px 0;
}

/* Sistema de columnas responsivas */
.servicios-cpt.columnas-1 { grid-template-columns: 1fr; }
.servicios-cpt.columnas-2 { grid-template-columns: repeat(2, 1fr); }
.servicios-cpt.columnas-3 { grid-template-columns: repeat(3, 1fr); }
.servicios-cpt.columnas-4 { grid-template-columns: repeat(4, 1fr); }

/* Tarjeta de servicio */
.servicio-item {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.servicio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: #0073aa;
}

.servicio-item.destacado {
    border: 2px solid #0073aa;
    position: relative;
}

.servicio-item.destacado:before {
    content: "★ DESTACADO";
    position: absolute;
    top: 15px;
    right: 15px;
    background: #0073aa;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    z-index: 2;
}

/* Imagen/Icono */
.servicio-imagen {
    height: 200px;
    overflow: hidden;
}

.servicio-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.servicio-item:hover .servicio-imagen img {
    transform: scale(1.05);
}

.servicio-icono {
    text-align: center;
    padding: 40px 20px 20px;
    font-size: 60px;
    line-height: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.servicio-icono a {
    color: white;
    text-decoration: none;
    display: block;
}

/* Contenido */
.servicio-contenido {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.servicio-titulo {
    margin: 0 0 15px 0;
    font-size: 1.4em;
    line-height: 1.3;
}

.servicio-titulo a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.servicio-titulo a:hover {
    color: #0073aa;
}

.servicio-extracto {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    font-size: 0.95em;
}

.servicio-precio {
    font-size: 1.3em;
    font-weight: bold;
    color: #28a745;
    margin: 15px 0;
    padding: 10px;
    background: #f8fff9;
    border-radius: 6px;
    text-align: center;
    border: 1px dashed #c3e6cb;
}

/* Botón */
.servicio-boton {
    display: inline-block;
    background: #0073aa;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s;
    margin-top: 15px;
    border: none;
    cursor: pointer;
    font-size: 0.95em;
}

.servicio-boton:hover {
    background: #005a87;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 115, 170, 0.3);
}

.servicio-boton .flecha {
    margin-left: 5px;
    transition: transform 0.3s;
}

.servicio-boton:hover .flecha {
    transform: translateX(5px);
}

/* Paginación */
.paginacion-servicios {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.no-servicios {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-style: italic;
    background: #f9f9f9;
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 1200px) {
    .servicios-cpt.columnas-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .servicios-cpt.columnas-3,
    .servicios-cpt.columnas-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .servicios-cpt.columnas-2,
    .servicios-cpt.columnas-3,
    .servicios-cpt.columnas-4 {
        grid-template-columns: 1fr;
    }
    
    .servicio-contenido {
        padding: 20px;
    }
}



/** servicios partII**/
/* Página de Servicios */
.pagina-servicios {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero-servicios {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 0 0 20px 20px;
    margin-bottom: 60px;
}

.contenedor-hero {
    max-width: 800px;
    margin: 0 auto;
}

.hero-servicios h1 {
    font-size: 3em;
    margin-bottom: 20px;
    color: white;
}

.descripcion-hero {
    font-size: 1.2em;
    opacity: 0.9;
    line-height: 1.6;
}

/* Filtro de categorías */
.filtro-categorias {
    margin-bottom: 40px;
    text-align: center;
}

.contenedor-filtro {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 800px;
    margin: 0 auto;
}

.filtro-btn {
    padding: 10px 20px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.filtro-btn:hover,
.filtro-btn.activo {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
    transform: translateY(-2px);
}

/* Grid de servicios */
.grid-servicios {
    margin: 60px 0;
}

.contenedor-grid {
    display: grid;
    gap: 30px;
}

/* Servicios adicionales */
.servicios-adicionales {
    background: #f8f9fa;
    padding: 60px 40px;
    border-radius: 15px;
    margin: 60px 0;
}

.servicios-adicionales h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.lista-adicionales {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.item-adicional {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.item-adicional:hover {
    transform: translateY(-5px);
}

.item-adicional h3 {
    color: #0073aa;
    margin-bottom: 10px;
    font-size: 1.1em;
}

/* CTA Section */
.cta-servicios {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    border-radius: 20px;
    margin: 80px 0;
}

.contenedor-cta {
    max-width: 700px;
    margin: 0 auto;
}

.cta-servicios h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: white;
}

.cta-servicios p {
    font-size: 1.2em;
    opacity: 0.9;
    margin-bottom: 40px;
}

.botones-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primario {
    background: #28a745;
    color: white;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-primario:hover {
    background: #218838;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(40, 167, 69, 0.2);
}

.btn-secundario {
    background: transparent;
    color: white;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid white;
    transition: all 0.3s;
}

.btn-secundario:hover {
    background: white;
    color: #2c3e50;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-servicios h1 {
        font-size: 2em;
    }
    
    .hero-servicios {
        padding: 50px 20px;
    }
    
    .filtro-btn {
        padding: 8px 15px;
        font-size: 0.9em;
    }
    
    .botones-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primario,
    .btn-secundario {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .cta-servicios {
        padding: 50px 20px;
    }
    
    .cta-servicios h2 {
        font-size: 1.8em;
    }
}

/* Estilos para pestañas */
.pagina-servicios-tabs {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.cabecera-servicios {
    text-align: center;
    margin-bottom: 50px;
}

.cabecera-servicios h1 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 15px;
}

.cabecera-servicios p {
    color: #666;
    font-size: 1.1em;
}

/* Navegación de pestañas */
.tabs-navegacion {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
    border-bottom: 2px solid #eee;
    padding-bottom: 20px;
}

.tab-btn {
    padding: 12px 25px;
    background: #f8f9fa;
    border: none;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn.activo {
    background: #0073aa;
    color: white;
    position: relative;
}

.tab-btn.activo:after {
    content: '';
    position: absolute;
    bottom: -22px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #0073aa;
}

.tab-btn:hover:not(.activo) {
    background: #e9ecef;
}

.contador {
    background: rgba(0,0,0,0.1);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8em;
}

.tab-btn.activo .contador {
    background: rgba(255,255,255,0.3);
}

/* Contenido de pestañas */
.tab-contenido {
    display: none;
}

.tab-contenido.activo {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.tab-header {
    text-align: center;
    margin-bottom: 40px;
}

.tab-header h2 {
    color: #0073aa;
    margin-bottom: 10px;
}

.tab-header p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Grid de servicios en pestaña */
.grid-tab {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.servicio-tab {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
}

.servicio-tab:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.servicio-icono-tab {
    font-size: 40px;
    margin-bottom: 20px;
}

.servicio-tab h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.servicio-tab p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95em;
}

.precio-tab {
    font-size: 1.3em;
    font-weight: bold;
    color: #28a745;
    margin: 15px 0;
}

.btn-tab {
    display: inline-block;
    background: #0073aa;
    color: white;
    padding: 10px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
}

.btn-tab:hover {
    background: #005a87;
    color: white;
}

.no-servicios-tab {
    text-align: center;
    padding: 40px;
    color: #666;
    font-style: italic;
    background: #f9f9f9;
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .tabs-navegacion {
        flex-direction: column;
    }
    
    .tab-btn {
        border-radius: 8px;
        margin-bottom: 5px;
    }
    
    .tab-btn.activo:after {
        display: none;
    }
    
    .grid-tab {
        grid-template-columns: 1fr;
    }
}

/** page-servicios III
.servicio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px 0;
}

.servicio-header {
    background: #f4f4f4;
    padding: 60px 0;
    text-align: center;
}

.servicio-precio-destacado {
    font-size: 24px;
    margin-bottom: 20px;
    color: #27ae60;
    font-weight: bold;
}

.boton-servicio {
    display: inline-block;
    padding: 15px 30px;
    background: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}




