/* ################ */
/* HELPERS */
/* ################ */

/* Margin-top: mt-6 .. mt-15 (px fijos) */
.mt-6  { margin-top: 60px !important; }
.mt-7  { margin-top: 70px !important; }
.mt-8  { margin-top: 80px !important; }
.mt-9  { margin-top: 90px !important; }
.mt-10 { margin-top: 100px !important; }
.mt-11 { margin-top: 110px !important; }
.mt-12 { margin-top: 120px !important; }
.mt-13 { margin-top: 130px !important; }
.mt-14 { margin-top: 140px !important; }
.mt-15 { margin-top: 150px !important; }

/* Margin-bottom: mb-6 .. mb-15 (px fijos) */
.mb-6  { margin-bottom: 60px !important; }
.mb-7  { margin-bottom: 70px !important; }
.mb-8  { margin-bottom: 80px !important; }
.mb-9  { margin-bottom: 90px !important; }
.mb-10 { margin-bottom: 100px !important; }
.mb-11 { margin-bottom: 110px !important; }
.mb-12 { margin-bottom: 120px !important; }
.mb-13 { margin-bottom: 130px !important; }
.mb-14 { margin-bottom: 140px !important; }
.mb-15 { margin-bottom: 150px !important; }

/* Margin-y: my-6 .. my-15 (px fijos) */
.my-6  { margin-top: 60px !important; margin-bottom: 60px !important; }
.my-7  { margin-top: 70px !important; margin-bottom: 70px !important; }
.my-8  { margin-top: 80px !important; margin-bottom: 80px !important; }
.my-9  { margin-top: 90px !important; margin-bottom: 90px !important; }
.my-10 { margin-top: 100px !important; margin-bottom: 100px !important; }
.my-11 { margin-top: 110px !important; margin-bottom: 110px !important; }
.my-12 { margin-top: 120px !important; margin-bottom: 120px !important; }
.my-13 { margin-top: 130px !important; margin-bottom: 130px !important; }
.my-14 { margin-top: 140px !important; margin-bottom: 140px !important; }
.my-15 { margin-top: 150px !important; margin-bottom: 150px !important; }

/* Padding-y: py-6 .. py-15 (px fijos) */
.py-6  { padding-top: 60px !important; padding-bottom: 60px !important; }
.py-7  { padding-top: 70px !important; padding-bottom: 70px !important; }
.py-8  { padding-top: 80px !important; padding-bottom: 80px !important; }
.py-9  { padding-top: 90px !important; padding-bottom: 90px !important; }
.py-10 { padding-top: 100px !important; padding-bottom: 100px !important; }
.py-11 { padding-top: 110px !important; padding-bottom: 110px !important; }
.py-12 { padding-top: 120px !important; padding-bottom: 120px !important; }
.py-13 { padding-top: 130px !important; padding-bottom: 130px !important; }
.py-14 { padding-top: 140px !important; padding-bottom: 140px !important; }
.py-15 { padding-top: 150px !important; padding-bottom: 150px !important; }

/* Padding-bottom: pb-6 .. pb-15 (px fijos) */
.pb-6  { padding-bottom: 60px !important; }
.pb-7  { padding-bottom: 70px !important; }
.pb-8  { padding-bottom: 80px !important; }
.pb-9  { padding-bottom: 90px !important; }
.pb-10 { padding-bottom: 100px !important; }
.pb-11 { padding-bottom: 110px !important; }
.pb-12 { padding-bottom: 120px !important; }
.pb-13 { padding-bottom: 130px !important; }
.pb-14 { padding-bottom: 140px !important; }
.pb-15 { padding-bottom: 150px !important; }

/* gutters verticales custom */
.gy-6 { --bs-gutter-y: 4rem; }
.gy-7 { --bs-gutter-y: 5rem; }
.gy-8 { --bs-gutter-y: 6rem; }
.gy-9 { --bs-gutter-y: 7rem; }
.gy-10 { --bs-gutter-y: 8rem; }

.gx-6 { --bs-gutter-x: 4rem; }
.gx-7 { --bs-gutter-x: 5rem; }
.gx-8 { --bs-gutter-x: 6rem; }
.gx-9 { --bs-gutter-x: 7rem; }

.p-left-0 {
    padding-left: 0;
}

.gap-4-5 {
    gap: 2rem;
}

.text-justify {
    text-align: justify;
}

/* helper de color principal (antes apuntaba a una variable que no existia) */
.color-primary {
    color: var(--color-primary) !important;
}

.bg-primary {
    background-color: var(--color-primary) !important;
}

.bg-secondary {
    background-color: var(--color-secondary) !important;
}


/* ################ */
/* FIN HELPERS */
/* ################ */

.banner-principal {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* overlay oscuro */
.banner-principal::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.35); /* ajusta aquí */
    z-index: 0;
}

.section-pretitle {
    font-size: 20px;
    font-weight: 500; /* medium */
    letter-spacing: 1px;
}


/* ======================================
   TESTIMONIOS
====================================== */

/* ===== TITULO CON LINEAS ===== */

.section-testimonios h3 {
    position: relative;
    display: inline-block;
}

.section-testimonios h3::before,
.section-testimonios h3::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 300px;
    height: 1.3px;
    background: var(--color-primary);
    transform: translateY(-50%);
}

.section-testimonios h3::before {
    right: 100%;
    margin-right: 40px;
}

.section-testimonios h3::after {
    left: 100%;
    margin-left: 40px;
}

/* ===== CONTENIDO ===== */

.section-testimonios blockquote {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== DIVIDER INFERIOR ===== */

.testimonio-divider {
    width: 60%;
    margin: 3rem auto 0;
    height: 1.3px;
    background: var(--color-primary);
    border: none;
    opacity: 1;
}

/* ===== ICONO ===== */

.icono-testimonio {
    font-size: 32px;
    color: var(--color-accent);
}

/* ===== ESTRELLAS ===== */

.estrellas {
    font-size: 30px;
}

.star {
    color: #CBD5E1;
}

.star.filled {
    color: var(--color-accent);
}

/* ===== NOMBRE ===== */

.nombre-testimonio {
    color: var(--color-primary);
    font-weight: 500;
    font-size: 19px;
}

/* ===== SUBTITULO ===== */

.subtitulo-testimonio {
    color: var(--color-muted);
    font-weight: 500;
    font-size: 18px;
}

/* ===== FLECHAS SWIPER ===== */

.section-testimonios .swiper-button-next,
.section-testimonios .swiper-button-prev {
    color: var(--color-body);
    width: 30px;
    height: 30px;
}

.section-testimonios .swiper-button-next::after,
.section-testimonios .swiper-button-prev::after {
    font-size: 16px;
}

/* ===== POSICION FLECHAS ===== */

/* Desktop (mas pegadas al contenido) */
@media (min-width: 992px) {

    .section-testimonios .swiper-button-prev {
        left: 18%;
    }

    .section-testimonios .swiper-button-next {
        right: 18%;
    }

}

/* Tablet (un poco mas separadas) */
@media (min-width: 768px) and (max-width: 991.98px) {

    .section-testimonios .swiper-button-prev {
        left: 0%;
    }

    .section-testimonios .swiper-button-next {
        right: 0%;
    }

}

/* ===== RESPONSIVE GENERAL ===== */

@media (max-width: 991.98px) {

    .section-testimonios h3::before,
    .section-testimonios h3::after {
        display: none;
    }

    .testimonio-divider {
        width: 100%;
    }

    .nombre-testimonio {
        font-size: 16px;
    }

    .subtitulo-testimonio {
        font-size: 15px;
    }

}

/* Movil (ocultar flechas) */
@media (max-width: 767px) {

    .section-testimonios .swiper-button-next,
    .section-testimonios .swiper-button-prev {
        display: none;
    }

}


/* ======================================
   TARJETAS BLOGS
====================================== */

.tarjeta-publicacion {
  border: 1.3px solid var(--color-primary); /* borde suave */
  border-radius: 0; /* sin esquinas redondeadas */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tarjeta-publicacion:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.card-title {
  color: #000000 !important;
  font-family: var(--font-secondary);
  font-size: clamp(1.3rem, 2.5vw, 24px) !important;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-text {
    text-align: start;
    color: var(--color-body) !important;
    font-size: clamp(1.1rem, 2.5vw, 19px) !important;
    line-height: 1.3;

    /* limitar texto */
    display: -webkit-box;
    -webkit-line-clamp: 7; /* numero de lineas */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tarjeta-publicacion .card-body {
    display: flex;
    flex-direction: column;         
    justify-content: space-between;
    height: 100%;                 
}

.tarjeta-publicacion .card-img-top {
    height: 350px;
    object-fit: cover;
    border-radius: 0px !important;
}

.fecha-blog {
    color: var(--color-primary);
    font-size: clamp(1.1rem, 2.5vw, 19px) !important;
    line-height: 1.3;
}

.card-link-wrapper {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card-link-wrapper:hover {
    text-decoration: none;
    color: inherit;
}

.hr-primary {
    width: 140px;
    opacity: 1;
    border: none;
    border-top: 6px solid var(--color-primary);
}

/* imagen blog */

.img-blog{
    width:100%;
    height:260px;
    object-fit:cover;
    display:block;
}

@media (min-width:992px){

    .img-blog{
        height:320px;
    }

}

@media (min-width: 992px) {

    .tarjeta-publicacion .card-img-top {
        height: 450px;
        object-fit: cover;
    }

}

/* ======================================
   BLOGS
====================================== */

.pagination .page-item .page-link {
    background-color: var(--color-primary);
    color: #fff;
    border-color: #fff;
    transition: all 0.2s ease;
}

/* color cuando pasas el raton */
.pagination .page-item .page-link:hover {
    background-color: #fff;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

/* color del numero activo */
.pagination .page-item.active .page-link {
    background-color: #fff;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

/* cuando las flechitas estan deshabilitadas */
.pagination .page-item.disabled .page-link {
    color: #ccc !important;
    background-color: transparent !important;
    cursor: not-allowed;
}

/* quitar borde azul de bootstrap en focus */
.pagination .page-link:focus,
.pagination .page-link:active {
    outline: none !important;
    box-shadow: none !important;
}

/* =====================================================
   Evento Soñado SECTION
===================================================== */

.event-title {
    font-size: 19px;
    font-weight: 500;
    line-height: 1.2;
}

.event-text {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
}

.event-img {
    height: 70px;
}
/* Bordes solo en desktop */
@media (min-width: 992px) {

    .event-bordered {
        border-left: 1px solid var(--border);
        border-right: 1px solid var(--border);
    }

}

@media (max-width: 992px) {

    .event-title {
        font-size: 17px;
    }

    .event-text {
        font-size: 15px;
    }

}

.lista-primary {
    padding-left: 1.2rem;
}

.lista-primary li {
    margin-bottom: 0.75rem;
}

.lista-primary li::marker {
    color: var(--color-primary);
}

@media (min-width: 992px) {
    .ms-lg-4p {
        margin-left: 4%;
    }
}

/* =====================================================
   Formulario de Contacto
===================================================== */

/* inputs */
.contacto-input {
    border: 1px solid var(--color-primary);
    border-radius: 0;
    padding: 14px 16px;
    background: transparent;
}

.contacto-input:focus {
    box-shadow: none;
    border-color: var(--color-primary);
}

/* checkbox */
.contacto-check {
    border-radius: 0;
}

/* =====================================================
   Preguntas Frecuentes
===================================================== */

.faq-item {
    border-top: 1px solid #ddd;
}

.faq-item:last-child {
    border-bottom: 1px solid #ddd;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    cursor: pointer;
}

.faq-left {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
}

.faq-number {
    color: var(--color-primary);
}

.faq-text {
    line-height: 1.4;
}

.faq-icon {
    color: var(--color-primary);
    font-size: 20px;
}

.faq-answer {
    display: none;
    padding-bottom: 20px;
    color: #555;
}

/* =====================================================
   catalogos
===================================================== */

.catalogo-card {
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 10px;
}

/* activo */
.catalogo-card.is-active {
    border-color: var(--color-primary);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* imagen */
.catalogo-img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* placeholder si no hay imagen */
.catalogo-img-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f0f0f0;
    border-radius: 8px;
}

/* hover SOLO imagen */
.catalogo-item:hover .catalogo-img {
    transform: scale(1.03);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

.section-mas-alquilado .swiper-button-next,
.section-mas-alquilado .swiper-button-prev {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15); /* transparente elegante */
    backdrop-filter: blur(4px); /* efecto moderno */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

/* icono */
.section-mas-alquilado .swiper-button-next::after,
.section-mas-alquilado .swiper-button-prev::after {
    font-size: 20px;
    color: var(--color-primary);
}

/* hover */
.section-mas-alquilado .swiper-button-next:hover,
.section-mas-alquilado .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.25);
}


.section-novedad .swiper-button-next,
.section-novedad .swiper-button-prev {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15); /* transparente elegante */
    backdrop-filter: blur(4px); /* efecto moderno */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

/* icono */
.section-novedad .swiper-button-next::after,
.section-novedad .swiper-button-prev::after {
    font-size: 20px;
    color: var(--color-primary);
}

/* hover */
.section-novedad .swiper-button-next:hover,
.section-novedad .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.25);
}

.btn-favorito {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    cursor: pointer;

    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);

    display: flex;
    align-items: center;
    justify-content: center;

    transition: all 0.3s ease;
    z-index: 2;
}

.btn-favorito i {
    font-size: 16px;
    transition: all 0.3s ease;
}

/* cuando esta activo */
.btn-favorito .fa-solid {
    color: var(--color-primary);
}

/* hover */
.btn-favorito:hover {
    background: rgba(255, 255, 255, 0.35);
}

.img-wrapper {
    background: #f0f0f0;
    width: 100%;
    aspect-ratio: 5 / 4;
    overflow: hidden;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.catalogo-item:hover .img-wrapper img {
    transform: scale(1.05);
}

/* =====================================================
   SECTION CATEGORIAS
===================================================== */

.section-categorias a {
    position: relative;
    display: block;
    overflow: hidden;
}

.section-categorias img {
    width: 100%;
    transition: transform 0.4s ease;
}

/* overlay negro suave */
.section-categorias a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35); /* negro ligero */
    transition: background 0.3s ease;
}

/* texto encima del overlay */
.section-categorias .position-absolute {
    z-index: 2;
}

/* hover efecto */
.section-categorias a:hover img {
    transform: scale(1.05);
}

.section-categorias a:hover::after {
    background: rgba(0, 0, 0, 0.4); /* mas oscuro al hover */
}


/* =====================================================
   SECTION Producto
===================================================== */

.section-producto img {
    border-radius: 4px;
}

.producto-divider {
    border-top: 1.5px solid var(--border);
    width: 100%;
}

.product-description {
    font-size: 19px;
}

/* =====================================================
   SECTION Imagenes portada empresas
===================================================== */
/* redes sociales gris suave */
.empresas-grid img {
    filter: grayscale(90%);
    transition: filter 0.3s ease;
    max-height: 80px;
    width: auto;
    object-fit: contain;
}

.empresas-grid img:hover {
    filter: grayscale(0);
}


/* =====================================================
   Producto Zoom 
===================================================== */
/* wrapper principal */
.producto-img-wrapper {
    width: 100%;
    aspect-ratio: 5 / 4;
    overflow: hidden;
    border-radius: 0px;
}

/* wrapper miniaturas */
.producto-img-wrapper-small {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 0px;
}

/* hacemos que el zoom ocupe todo el wrapper */
.producto-img-wrapper .producto-zoom,
.producto-img-wrapper-small .producto-zoom {
    width: 100%;
    height: 100%;
}

/* imagen llena todo el contenedor */
.producto-img-wrapper img,
.producto-img-wrapper-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0px;
}

.producto-zoom{
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* =====================================================
   Login / Crear CUenta
===================================================== */


/* separador horizontal (movil) */
.separador-horizontal {
    position: relative;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.15);
}

.separador-horizontal span {
    position: relative;
    top: -12px;
    background: var(--color-secondary); /* mismo bg-secondary */
    padding: 0 15px;
    font-size: 14px;
    letter-spacing: 2px;
}

/* separador vertical (desktop) */
.separador-vertical {
    position: relative;
    height: 100%;
    width: 1px;
    background: rgba(0,0,0,0.15);
}

.separador-vertical span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--color-secondary);
    padding: 8px 12px;
    font-size: 14px;
    letter-spacing: 2px;
}

.categoria-card{
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: block;
}

.categoria-card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.categoria-titulo{
    text-align: center;
    letter-spacing: 1px;
}

.img-inspirate{
    aspect-ratio: 4 / 4;
    overflow:hidden;
}

.img-inspirate img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.img-blog-ideas {
    aspect-ratio: 4 / 4;
    overflow: hidden;
}

.img-blog-ideas img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.email-link:hover {
    color: var(--color-primary);
}

.telefono-link:hover {
    color: var(--color-primary);
}

.email-link-2:hover {
    color: var(--color-primary);
}

.telefono-link-2:hover {
    color: var(--color-primary);
}

.modal-close-custom {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 25px;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 10;
}

.modal-close-custom:hover {
    background: rgba(255, 255, 255, 0.65);
}

.modal-nav-btn span{
    line-height:1;
    display:block;
}

.js-modal-prev span{
    transform: translateY(-3px);
}

.js-modal-next span{
    transform: translateY(-3px);
}

.modal-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 10;
}

.modal-nav-btn span{
    display:flex;
    align-items:center;
    justify-content:center;
}

.modal-image-counter{
    position:absolute;
    bottom:15px;
    left:50%;
    transform:translateX(-50%);
    
    padding:4px 12px;
    border-radius:20px;

    background:rgba(0,0,0,0.45);
    backdrop-filter:blur(4px);

    color:#fff;
    font-size:14px;
    font-weight:500;
    z-index:10;
}

.mobile-submenu{
    padding-left: 18px;
    padding-top: 5px;
}

.mobile-sublink{
    display:block;
    padding:6px 0;
    font-size:14px;
}

/* tarjeta instagram */
.instagram-card{
    display:block;
    overflow:hidden;
}

/* imagen instagram */
.instagram-card img{
    width:100%;
    aspect-ratio:4/5;
    object-fit:cover;
    transition:transform .35s ease;
}

/* hover zoom */
.instagram-card:hover img{
    transform:scale(1.08);
}


.js-modal-image-col{
    background-color: #F8FAFC;
}

.swiperInspiracion .img-wrapper{
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.swiperInspiracion img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition: transform .4s ease;
}

.swiperInspiracion a:hover img{
    transform:scale(1.05);
}

.section-inspiracion .swiper-button-next,
.section-inspiracion .swiper-button-prev {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

/* icono */
.section-inspiracion .swiper-button-next::after,
.section-inspiracion .swiper-button-prev::after {
    font-size: 20px;
    color: var(--color-primary);
}

/* hover */
.section-inspiracion .swiper-button-next:hover,
.section-inspiracion .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* contenedor del logo para mantener la misma altura */
.footer-logo{
    width:110px;
    height:auto;
    width: 200px;
}



/* ##################################################### */
/* FISKALIS — componentes del diseño del cliente          */
/* (colores siempre vía variables de styles.css :root)    */
/* ##################################################### */

/* ---------- Tipografía ---------- */
h1, h2, h3, h4, h5, h6 { font-weight: 700; }
h2 { color: var(--color-heading); }

/* ---------- Botones ---------- */
.btn-accent {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-primary);
    border-radius: 999px;
    font-family: var(--font-primary);
    font-weight: 600;
    padding: .6rem 1.6rem;
}
.btn-accent:hover,
.btn-accent:focus {
    background: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    color: #fff;
}
.btn-brand { border-radius: 999px; }
.btn-outline-brand { border-width: 2px; font-weight: 600; }
.btn-outline-brand:hover,
.btn-outline-brand:focus {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

/* ---------- Cabecera (barra navy, logo a la izquierda) ---------- */
.header-main {
    background: var(--header-bg);
    border-bottom: 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .15);
}
.header-logo { height: 64px; }
.header-main .nav-link {
    color: #fff;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .3px;
}
.header-main .nav-link:hover,
.header-main .nav-link:focus,
.header-main .nav-link.active { color: var(--color-accent); }
.header-main .nav-link::after { background: var(--color-accent); }
.header-main .nav { gap: 32px; }
.header-main .nav > .nav-item { margin-right: 0 !important; }
.btn-menu-mobile i { color: #fff; }

@media (max-width: 991.98px) {
    .header-logo { height: 52px; }
    .brand-mark { position: static; transform: none; }
    .btn-menu-mobile { padding: 0; }
}

/* ---------- Menú móvil ---------- */
#mobileMenu { background: var(--color-primary); }
#mobileMenu .mobile-link { color: #fff; font-family: var(--font-primary); font-weight: 500; }
#mobileMenu .mobile-link.active,
#mobileMenu .mobile-link:hover { color: var(--color-accent); }

/* ---------- Hero portada ---------- */
.hero-fiskalis {
    position: relative;
    min-height: min(78vh, 720px);
    padding: 90px 0;
    background-size: cover;
    background-position: center;
}
.hero-fiskalis::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(28, 41, 75, .92) 0%, rgba(28, 41, 75, .70) 55%, rgba(28, 41, 75, .35) 100%);
}
.hero-fiskalis__text {
    color: #fff;
    font-size: 20px;
    opacity: .95;
}

/* ---------- Cabecera de páginas interiores ---------- */
.page-hero {
    padding: 80px 0;
    background: var(--gradient-brand);
}
.page-hero p { color: #fff; }

/* ---------- Tarjetas de servicio ---------- */
.card-servicio {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(0, 0, 0, .08);
    transition: transform .3s ease;
}
.card-servicio:hover { transform: translateY(-5px); }
.card-servicio img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}
.card-servicio__body { padding: 30px; }
.card-servicio__body h3 { font-size: var(--h4); margin-bottom: 15px; }
.card-servicio__body p { font-size: 16px; line-height: 26px; color: var(--color-muted); margin-bottom: 25px; }

/* ---------- Bloque degradado azul ---------- */
.bloque-degradado { background: var(--gradient-brand); }
.bloque-degradado p { font-size: 18px; }

/* ---------- Listado de servicios con check ---------- */
.lista-servicios {
    padding: 2.5rem;
    border: 1px solid var(--border);
    border-radius: 1.25rem;
}
.lista-servicios li {
    display: flex;
    gap: .75rem;
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 1rem;
}
.lista-servicios li:last-child { margin-bottom: 0; }
.lista-servicios li i { color: var(--color-accent); margin-top: 4px; }

/* ---------- Contacto ---------- */
.contact-hero {
    padding: 90px 0 140px;
    background-color: var(--color-primary);
    background-image: url('../images/contenido/bg-contacto.png');
    background-size: cover;
}
.contact-card-wrap { padding-bottom: 70px; }
.contact-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    margin-top: -95px;
    border: 1px solid var(--border);
    position: relative;
}
.contact-card__left { background: var(--color-secondary); }
@media (min-width: 992px) {
    .contact-card__right { border-left: 1px solid var(--border); }
}
.contact-ico {
    flex: 0 0 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--color-accent);
}
.contact-text,
.contact-link { color: var(--color-body); font-weight: 500; font-size: 16px; }
.contact-link { text-decoration: none; }
.contact-link:hover { text-decoration: underline; }
.contact-input { border-radius: 6px; padding: 12px; }
.contact-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 .2rem rgba(28, 41, 75, .15);
}
.contact-map { max-width: 980px; margin: 0 auto; }
.contact-map__frame {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
}

/* ---------- Pie ---------- */
.footer-main { background: var(--color-primary); }
.footer-main .footer-title { color: var(--color-accent); font-weight: 700; }
.footer-logo { width: 110px; }

/* ---------- Menú: desplegable Servicios (navy, pegado a la barra) ---------- */
@media (min-width: 992px) {
    /* el item ocupa todo el alto de la barra: el desplegable arranca justo en su borde
       inferior y el hover no se pierde al bajar el ratón */
    .header-main .nav-item.dropdown {
        position: relative;
        padding: 29px 0;
        margin: -29px 0;
    }
    .header-main .nav-item.dropdown .nav-dropdown {
        top: 100%;
        left: -24px;
        margin-top: 0 !important;
    }
}
.header-main .nav-dropdown {
    min-width: 360px;
    padding: .5rem;
    background: var(--color-primary);
    border: 0;
    border-top: 3px solid var(--color-accent);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 18px 30px rgba(0, 0, 0, .25);
}
.header-main .nav-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: .8rem 1rem;
    border-radius: 8px;
    white-space: normal;
    color: #fff;
    background: transparent;
}
.header-main .nav-dropdown .dropdown-item:hover,
.header-main .nav-dropdown .dropdown-item:focus,
.header-main .nav-dropdown .dropdown-item.active { background: rgba(255, 255, 255, .07); color: #fff; }
.header-main .nav-dropdown__icono {
    flex: 0 0 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(218, 166, 33, .14);
}
.header-main .nav-dropdown__icono i { color: var(--color-accent); font-size: 18px; }
.header-main .nav-dropdown__titulo {
    display: block;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    transition: color .2s ease;
}
.header-main .nav-dropdown__lema {
    display: block;
    font-size: 13.5px;
    color: rgba(255, 255, 255, .65);
    line-height: 1.35;
}
.header-main .nav-dropdown .dropdown-item:hover .nav-dropdown__titulo,
.header-main .nav-dropdown .dropdown-item.active .nav-dropdown__titulo { color: var(--color-accent); }

#mobileMenu .mobile-sublink { color: rgba(255, 255, 255, .85); }
#mobileMenu .mobile-sublink.active,
#mobileMenu .mobile-sublink:hover { color: var(--color-accent); }

/* ---------- Cabecera de página con foto + migas ---------- */
.page-hero-img {
    position: relative;
    padding: 90px 0 80px;
    background-color: var(--color-primary);
    background-size: cover;
    background-position: center;
}
.page-hero-img::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(28, 41, 75, .95) 0%, rgba(28, 41, 75, .82) 50%, rgba(12, 35, 74, .55) 100%);
}
.page-hero-img h1 { max-width: 920px; }
.page-hero-img__sub {
    max-width: 640px;
    color: rgba(255, 255, 255, .9);
    font-size: 19px;
    line-height: 1.55;
}
.migas {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
}
.migas li {
    font-size: 14px;
    line-height: 1.4;
    color: var(--color-accent);
    font-weight: 500;
}
.migas li + li::before { content: "›"; margin-right: 8px; color: rgba(255, 255, 255, .5); }
.migas a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.migas a:hover { color: #fff; text-decoration: underline; }

/* ---------- Intro de servicio: imagen + puntos clave ---------- */
.img-servicio {
    display: block;
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(28, 41, 75, .15);
}
.text-muted-brand { color: var(--color-muted); }
.punto-clave { display: flex; gap: 12px; align-items: flex-start; }
.punto-clave__icono {
    flex: 0 0 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--color-primary);
}
.punto-clave__icono i { color: var(--color-accent); font-size: 16px; }
.punto-clave__titulo {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 16px;
    line-height: 1.3;
    color: var(--color-heading);
    margin: 0 0 2px;
}
.punto-clave__texto { font-size: 14.5px; line-height: 1.45; color: var(--color-muted); margin: 0; }

/* ---------- Servicios agrupados por temas ---------- */
.grupo-servicio {
    display: flex;
    flex-direction: column;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: transform .25s ease, box-shadow .25s ease;
}
.grupo-servicio:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(28, 41, 75, .10); }
.grupo-servicio__icono {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 12px;
    background: var(--color-primary);
}
.grupo-servicio__icono i { color: var(--color-accent); font-size: 20px; }
.grupo-servicio__titulo { font-size: var(--h5); margin-bottom: 14px; }
.grupo-servicio__lista { list-style: none; padding: 0; margin: 0; }
.grupo-servicio__lista li {
    display: flex;
    gap: 10px;
    font-size: 15px;
    line-height: 1.45;
    margin-bottom: 9px;
}
.grupo-servicio__lista li:last-child { margin-bottom: 0; }
.grupo-servicio__lista li i { color: var(--color-accent); font-size: 13px; margin-top: 4px; }
.grupo-servicio--cta { background: var(--gradient-brand); border: 0; }
.grupo-servicio--cta .grupo-servicio__icono { background: rgba(255, 255, 255, .12); }
.grupo-servicio--cta .grupo-servicio__titulo,
.grupo-servicio--cta p { color: #fff; }
.grupo-servicio--cta p { font-size: 16px; line-height: 1.5; }

/* ---------- Tarjetas de servicio (portada): lema ---------- */
.card-servicio__lema {
    font-size: 13px !important;
    line-height: 1.3 !important;
    font-weight: 600;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: var(--color-accent-dark) !important;
    margin-bottom: 8px !important;
}

/* ---------- Cómo trabajamos (pasos) ---------- */
.paso { position: relative; text-align: center; padding: 0 8px; }
.paso__num {
    position: relative;
    z-index: 1;
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-primary);
    border: 3px solid var(--color-accent);
    color: #fff;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 20px;
}
@media (min-width: 992px) {
    /* línea que une los pasos */
    .pasos > div:not(:last-child) .paso::after {
        content: "";
        position: absolute;
        top: 28px;
        left: calc(50% + 36px);
        width: calc(100% - 48px);
        border-top: 2px dashed rgba(218, 166, 33, .55);
    }
}
.paso__titulo { font-size: var(--h6); margin-bottom: 8px; }
.paso__texto { font-size: 15px; line-height: 1.5; color: var(--color-muted); margin: 0; }

/* ---------- También le puede interesar ---------- */
.relacionado {
    display: flex;
    overflow: hidden;
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: box-shadow .25s ease, transform .25s ease;
}
.relacionado:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(28, 41, 75, .10); }
.relacionado img { flex: 0 0 38%; width: 38%; object-fit: cover; }
.relacionado__cuerpo { padding: 26px 28px; }
.relacionado__lema {
    font-size: 13px;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: var(--color-accent-dark);
    margin-bottom: 6px;
}
.relacionado__titulo { font-size: var(--h5); margin-bottom: 8px; }
.relacionado__texto { font-size: 15px; line-height: 1.5; color: var(--color-muted); margin-bottom: 12px; }
.relacionado__mas { font-weight: 600; color: var(--color-primary); }
.relacionado:hover .relacionado__mas { color: var(--color-accent); }
@media (max-width: 575.98px) {
    .relacionado { flex-direction: column; }
    .relacionado img { width: 100%; height: 200px; }
}

/* ---------- Franja final de contacto ---------- */
.cta-banda {
    padding: 60px 0;
    /* degradado azul para que no se funda con el pie navy */
    background: linear-gradient(90deg, #0C234A 0%, #0048A8 60%, #006FE6 100%);
}
.cta-banda__texto { color: rgba(255, 255, 255, .8); font-size: 17px; }
.cta-banda__dato {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
}
.cta-banda__dato i { color: var(--color-accent); }
.cta-banda__dato:hover { color: var(--color-accent); }

/* ---------- Antetítulo (texto pequeño sobre los h2) ---------- */
.antetitulo {
    font-family: var(--font-primary);
    font-size: 14px;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--color-accent-dark);               /* dorado oscuro: contraste AA sobre fondos claros */
}
.hero-fiskalis .antetitulo,
.bloque-degradado .antetitulo,
.page-hero-img .antetitulo,
.cta-banda .antetitulo { color: var(--color-accent); }

/* ---------- Portada: hero + barra de confianza ---------- */
.hero-fiskalis { padding-bottom: 130px; }
.barra-confianza-wrap { position: relative; z-index: 2; margin-top: -70px; }
.barra-confianza {
    padding: 28px 32px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(28, 41, 75, .14);
}
@media (max-width: 575.98px) {
    .barra-confianza { padding: 22px 18px; }
    .barra-confianza .punto-clave { flex-direction: column; gap: 8px; }
}

/* ---------- Tarjeta de servicio enlazable ---------- */
a.card-servicio { display: block; color: inherit; text-decoration: none; }
.card-servicio__mas { font-weight: 600; color: var(--color-primary); transition: color .2s ease; }
a.card-servicio:hover .card-servicio__mas { color: var(--color-accent-dark); }
a.card-servicio:hover h3 { color: var(--color-primary); }

/* ---------- Nosotros: perfiles de cliente ---------- */
.perfiles { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.perfiles__label { font-size: 15px; font-weight: 600; color: var(--color-heading); margin-right: 4px; }
.perfil {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    background: var(--color-secondary);
    font-size: 15px;
    font-weight: 500;
    color: var(--color-heading);
}
.perfil i { color: var(--color-accent-dark); }

/* ---------- Contacto ---------- */
.page-hero-img--contacto { padding-bottom: 150px; }
.contact-card__titulo { font-size: var(--h4); font-weight: 700; }
.contact-text { min-width: 0; line-height: 1.5; }
.contact-como-llegar {
    display: inline-block;
    margin-top: 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent-dark);
    text-decoration: none;
}
.contact-como-llegar:hover { text-decoration: underline; }
