/*
 * JONAVEGO — Identidad visual
 * Versión 1.0
 * Plantilla hija de Cassiopeia
 */

/* 1. Colores corporativos */
:root {
  --jnav-navy: #102f49;
  --jnav-ocean: #185575;
  --jnav-turquoise: #168a9b;
  --jnav-sand: #d9b887;
  --jnav-light: #f5f8f7;
  --jnav-white: #ffffff;

  --cassiopeia-color-primary: #102f49;
  --cassiopeia-color-link: #168a9b;
  --cassiopeia-color-hover: #106475;
}

/* 2. Tipografía y fondo */
body {
  font-family: Aptos, "Segoe UI", Arial, sans-serif;
  color: #243747;
  background-color: var(--jnav-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* 3. Cabecera marítima */
.container-header {
  background: linear-gradient(
    115deg,
    #102f49 0%,
    #185575 100%
  );
  box-shadow: 0 4px 24px rgba(16, 47, 73, 0.12);
}

.container-header .navbar-brand,
.container-header .site-description {
  color: #ffffff;
}

/* 4. Selector de idiomas */
.container-header .container-topbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 8px 22px;
}

.container-topbar .mod-languages ul {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.container-topbar .mod-languages a {
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.container-topbar .mod-languages a:hover {
  color: #d9b887;
}

/* 5. Títulos */
h1, h2, h3, h4, h5, h6 {
  color: var(--jnav-navy);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}

/* 6. Enlaces */
a {
  transition: color 0.2s ease;
}

a:hover {
  color: var(--jnav-turquoise);
}

/* 7. Botones */
.btn-primary {
  background-color: var(--jnav-turquoise);
  border-color: var(--jnav-turquoise);
  border-radius: 6px;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--jnav-navy);
  border-color: var(--jnav-navy);
}

/* 8. Ajustes para móviles */
@media (max-width: 768px) {
  .container-header .container-topbar {
    justify-content: center;
  }

  h1 {
    font-size: 2.1rem;
  }
}

/* ==========================================
   JONAVEGO - PORTADA VISUAL
   ========================================== */

.container-banner .mod-custom {
    width: 100%;
}

.jnav-hero {
    width: 100%;
    min-height: 650px;
    min-height: clamp(550px, 75vh, 800px);
    display: flex;
    align-items: center;

    background-image:
        linear-gradient(
            90deg,
            rgba(8, 31, 49, 0.88) 0%,
            rgba(8, 31, 49, 0.64) 38%,
            rgba(8, 31, 49, 0.12) 75%
        ),
        url('/images/portada/portada-mediterraneo.webp');

    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;

    padding: 70px max(30px, calc((100vw - 1200px) / 2));
}

.jnav-hero__content {
    max-width: 690px;
    color: #ffffff;
}

.jnav-hero__eyebrow {
    color: #e4ba78;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.17em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.jnav-hero h1 {
    color: #ffffff;
    font-size: clamp(3rem, 5.8vw, 5.8rem);
    font-weight: 750;
    line-height: 1.06;
    letter-spacing: -0.035em;
    margin-bottom: 28px;
}

.jnav-hero__subtitle {
    color: #ffffff;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 22px;
}

.jnav-hero__description {
    color: #edf4f7;
    font-size: 1.08rem;
    line-height: 1.7;
    max-width: 580px;
}

/* Adaptación a teléfonos móviles */

@media (max-width: 767px) {
    .jnav-hero {
        min-height: 600px;
        padding: 65px 25px;
        background-position: 62% center;
        background-image:
            linear-gradient(
                90deg,
                rgba(8, 31, 49, 0.88),
                rgba(8, 31, 49, 0.50)
            ),
            url('/images/portada/portada-mediterraneo.webp');
    }

    .jnav-hero h1 {
        font-size: clamp(2.5rem, 10vw, 3.7rem);
    }

    .jnav-hero__description {
        font-size: 1rem;
    }
}

/* ==========================================
   JONAVEGO - CABECERA COMPACTA
   ========================================== */

.container-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "logo idiomas";
    align-items: center;
    column-gap: 20px;
    padding: 12px 26px;
}

.container-header .grid-child:has(.navbar-brand) {
    grid-area: logo;
    width: auto;
    margin: 0;
    padding: 0;
}

.container-header .navbar-brand {
    margin: 0;
    padding: 0;
    font-size: 1.7rem;
    line-height: 1.2;
}

.container-header .container-topbar {
    grid-area: idiomas;
    width: auto;
    margin: 0;
    padding: 0;
    justify-self: end;
}

.container-header .container-topbar .mod-languages {
    margin: 0;
}

@media (max-width: 767px) {
    .container-header {
        column-gap: 10px;
        padding: 12px 16px;
    }

    .container-header .navbar-brand {
        font-size: 1.35rem;
    }
}

/* ==========================================
   JONAVEGO - VENTAJAS DEL CLUB
   ========================================== */

.jnav-benefits {
    max-width: 1200px;
    margin: 65px auto 80px;
}

.jnav-benefits > h2 {
    text-align: center;
    color: #102f49;
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 42px;
}

.jnav-benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.jnav-benefit {
    position: relative;
    padding: 38px 30px 35px;
    background: #ffffff;
    border: 1px solid #e3ebee;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(16, 47, 73, 0.07);
    transition: transform 0.25s ease,
                box-shadow 0.25s ease;
}

.jnav-benefit:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(16, 47, 73, 0.12);
}

/* Numeración decorativa */

.jnav-benefit::before {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 25px;
    border-radius: 14px;
    background: #e7f4f5;
    color: #168a9b;
    font-size: 1.1rem;
    font-weight: 700;
}

.jnav-benefit:nth-child(1)::before {
    content: "01";
}

.jnav-benefit:nth-child(2)::before {
    content: "02";
}

.jnav-benefit:nth-child(3)::before {
    content: "03";
}

.jnav-benefit h3 {
    color: #102f49;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 17px;
}

.jnav-benefit p {
    color: #526575;
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 0;
}

/* Adaptación a móviles */

@media (max-width: 900px) {
    .jnav-benefits__grid {
        grid-template-columns: 1fr;
    }

    .jnav-benefit {
        padding: 30px 25px;
    }

    .jnav-benefits {
        margin: 45px auto 60px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .jnav-benefit {
        transition: none;
    }

    .jnav-benefit:hover {
        transform: none;
    }
}

/* ==========================================
   JONAVEGO - FOTOGRAFÍAS DE EMBARCACIONES
   ========================================== */

.com-content-article img.jnav-boat-photo,
.com-content-article .jnav-boat-photo img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    border-radius: 12px;
    margin: 15px auto 30px;
    box-shadow: 0 8px 28px rgba(16, 47, 73, 0.10);
}

/* Adaptación a móviles */

@media (max-width: 767px) {
    .com-content-article img.jnav-boat-photo,
    .com-content-article .jnav-boat-photo img {
        max-height: 440px;
    }
}

/* ==========================================
   JONAVEGO - POSICIÓN DE IMÁGENES DE FICHA
   ========================================== */

.com-content-article .item-image {
    float: none !important;
    display: block;
    width: 100%;
    text-align: center;
    margin: 0 auto 25px;
}

.com-content-article .item-image img.jnav-boat-photo {
    float: none !important;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================
   JONAVEGO - FICHA DE EMBARCACIONES
   ========================================== */

@media (min-width: 768px) {

    /* Fotografía a la izquierda */
    .com-content-article:has(.jnav-boat-details)
    .item-image {
        float: left !important;
        width: 38%;
        margin: 0 4% 30px 0;
        text-align: center;
    }

    /* Información técnica a la derecha */
    .jnav-boat-details {
        display: flow-root;
    }
}

/* Títulos y características */

.jnav-boat-details h2 {
    color: #102f49;
    font-size: 1.65rem;
    margin-bottom: 18px;
}

.jnav-boat-details p {
    line-height: 1.75;
    color: #526575;
}

.jnav-boat-specs {
    padding-left: 0;
    list-style: none;
}

.jnav-boat-specs li {
    padding: 12px 0;
    border-bottom: 1px solid #e3ebee;
    color: #526575;
}

.jnav-boat-specs strong {
    color: #102f49;
}

/* En móvil, fotografía encima del texto */

@media (max-width: 767px) {

    .com-content-article:has(.jnav-boat-details)
    .item-image {
        float: none !important;
        width: 100%;
        margin: 0 auto 25px;
    }

    .jnav-boat-details {
        display: block;
    }
}

/* ==========================================
   JONAVEGO - GALERÍA DE EMBARCACIONES
   ========================================== */

.com-content-article .jnav-boat-gallery {
    clear: both;
    display: flow-root;
    width: 100%;
    padding-top: 35px;
    margin-bottom: 60px;
}

.jnav-boat-gallery h2 {
    color: #102f49;
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    font-weight: 700;
    margin-bottom: 28px;
}

@media (max-width: 767px) {
    .com-content-article .jnav-boat-gallery {
        padding-top: 20px;
        margin-bottom: 40px;
    }
}

/* ==========================================
   JONAVEGO - TARJETAS DEL CATÁLOGO DE FLOTA
   ========================================== */

.jnav-flota-card .blog-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    padding: 0;
    background: #ffffff;
    border: 1px solid #e3ebee;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(16,47,73,.08);
    transition: transform .25s ease,
                box-shadow .25s ease;
}

.jnav-flota-card .blog-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 38px rgba(16,47,73,.13);
}

/* Fotografía horizontal de la tarjeta */

.jnav-flota-card .blog-item .item-image {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.jnav-flota-card .blog-item .item-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center 60%;
}

/* Textos de la tarjeta */

.jnav-flota-card .blog-item .item-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px;
}

.jnav-flota-card .blog-item h2 {
    font-size: 1.5rem;
    line-height: 1.25;
    margin-bottom: 14px;
}

.jnav-flota-card .blog-item h2 a {
    color: #102f49;
    text-decoration: none;
}

.jnav-flota-card .blog-item h2 a:hover {
    color: #168a9b;
}

.jnav-flota-card .blog-item p {
    color: #526575;
    line-height: 1.65;
}

.jnav-flota-card .blog-item .readmore {
    margin-top: auto;
    padding-top: 18px;
}

@media (max-width: 767px) {
    .jnav-flota-card .blog-item .item-content {
        padding: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .jnav-flota-card .blog-item {
        transition: none;
    }

    .jnav-flota-card .blog-item:hover {
        transform: none;
    }
}

/* ==========================================
   JONAVEGO - SELECTOR DE IDIOMAS
   ========================================== */

/* Idioma actualmente seleccionado */

.container-header .mod-languages li.lang-active {
    background-color: #ffffff;
    border-radius: 4px;
}

.container-header .mod-languages li.lang-active,
.container-header .mod-languages li.lang-active a,
.container-header .mod-languages li.lang-active span {
    color: #102f49 !important;
}

/* Los demás idiomas mantienen su color claro */

.container-header .mod-languages li:not(.lang-active) a,
.container-header .mod-languages li:not(.lang-active) span {
    color: #ffffff;
}

/* ==========================================
   JONAVEGO - LOGOTIPO DE CABECERA
   Ajuste unificado y responsive
   ========================================== */

.container-header .brand-logo img {
    display: block;
    width: 150px;
    max-width: 100%;
    height: auto;
    max-height: 50px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

@media (min-width: 1280px) {
    .container-header .brand-logo img {
        width: 180px;
        max-height: 60px;
    }
}

@media (max-width: 767px) {
    .container-header .brand-logo img {
        width: 145px;
        max-height: 42px;
    }
}

/* ==========================================
   JONAVEGO - CABECERA CON MENU E IDIOMAS
   ========================================== */

/* Ordenadores */

@media (min-width: 992px) {

    .container-header {
        grid-template-columns: minmax(150px, 1fr) auto auto;
        grid-template-areas: "logo nav idiomas";
        align-items: center;
        column-gap: 28px;
    }

    .container-header .container-nav {
        grid-area: nav;
        width: auto;
        margin: 0;
        padding: 0;
    }

    .container-header .container-topbar {
        grid-area: idiomas;
        justify-self: end;
    }
}

/* Tabletas y móviles */

@media (max-width: 991.98px) {

    .container-header {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "logo idiomas"
            "nav nav";
        align-items: center;
        row-gap: 0;
    }

    .container-header .container-nav {
        grid-area: nav;
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 0;
    }
}

/* =========================================
   JONAVEGO - ESTILO EDITORIAL DE ARTICULOS
   ========================================= */

/* Titulares principales del contenido */

.com-content-article__body > h2,
[itemprop="articleBody"] > h2 {
    max-width: 950px;
    margin: 3rem auto 1.2rem;
    padding: 0.9rem 1.4rem;

    background: linear-gradient(
        90deg,
        #eaf6f8 0%,
        #f8fbfc 75%,
        transparent 100%
    );

    border-left: 4px solid #1492a6;
    border-radius: 0 14px 14px 0;

    color: #123955;
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    font-weight: 750;
    line-height: 1.3;
    letter-spacing: -0.025em;
}

/* Evitar espacio excesivo al principio */

.com-content-article__body > h2:first-child,
[itemprop="articleBody"] > h2:first-child {
    margin-top: 1rem;
}

/* Parrafos: anchura y legibilidad */

.com-content-article__body > p,
[itemprop="articleBody"] > p {
    max-width: 900px;
    margin: 0 auto 1.35rem;

    color: #34495e;
    font-size: 1.1rem;
    line-height: 1.85;
    font-weight: 400;
}

/* Destacados en negrita */

.com-content-article__body > p strong,
[itemprop="articleBody"] > p strong {
    color: #123955;
    font-weight: 700;
}

/* Subtitulos fuera de tarjetas */

.com-content-article__body > h3,
[itemprop="articleBody"] > h3 {
    max-width: 900px;
    margin: 2rem auto 0.8rem;
    color: #123955;
    font-size: 1.4rem;
    line-height: 1.35;
}

/* Adaptacion a pantallas pequeñas */

@media (max-width: 768px) {

    .com-content-article__body > h2,
    [itemprop="articleBody"] > h2 {
        margin-top: 2rem;
        padding: 0.8rem 1rem;
        font-size: 1.5rem;
    }

    .com-content-article__body > p,
    [itemprop="articleBody"] > p {
        font-size: 1.04rem;
        line-height: 1.75;
        margin-bottom: 1.2rem;
    }
}

/* =========================================
   JONAVEGO - LECTURA EDITORIAL DEFINITIVA
   ========================================= */

/* Textos principales de los articulos */

.com-content-article__body > p,
[itemprop="articleBody"] > p {
    max-width: 760px;
    font-size: 20px !important;
    line-height: 1.7 !important;
    color: #243e54 !important;
    font-weight: 400;
    margin: 0 auto 1.5rem !important;
}

/* Textos destacados */

.com-content-article__body > p strong,
[itemprop="articleBody"] > p strong {
    color: #123955;
    font-weight: 700;
}

/* Adaptacion a moviles */

@media (max-width: 768px) {
    .com-content-article__body > p,
    [itemprop="articleBody"] > p {
        font-size: 17px !important;
        line-height: 1.7 !important;
        padding: 0 12px;
        margin-bottom: 1.3rem !important;
    }
}

/* =========================================
   JONAVEGO - TIPOGRAFIA DE TARJETAS
   ========================================= */

/* Titulos de las tarjetas */

.jnav-benefits__grid .jnav-benefit h3 {
    font-size: 20px !important;
    line-height: 1.4 !important;
    font-weight: 700;
    color: #123955;
}

/* Textos descriptivos */

.jnav-benefits__grid .jnav-benefit p {
    font-size: 18px !important;
    line-height: 1.65 !important;
    color: #34495e;
}

/* Adaptacion para moviles */

@media (max-width: 768px) {

    .jnav-benefits__grid .jnav-benefit h3 {
        font-size: 19px !important;
    }

    .jnav-benefits__grid .jnav-benefit p {
        font-size: 16px !important;
        line-height: 1.65 !important;
    }
}

/* =========================================
   JONAVEGO - TEXTOS DENTRO DE SECCIONES
   ========================================= */

/* Subtitulos fuera de las tarjetas */

.jnav-benefits > h3 {
    max-width: 760px;
    box-sizing: border-box;
    margin: 2.5rem auto 1rem;
    padding: 0.5rem 0 0.5rem 1rem;

    border-left: 3px solid #1492a6;

    color: #123955;
    font-size: 23px;
    line-height: 1.35;
    font-weight: 700;
}

/* Parrafos dentro de secciones, fuera de tarjetas */

.jnav-benefits > p {
    max-width: 760px;
    margin: 0 auto 1.5rem;

    color: #243e54;
    font-size: 20px;
    line-height: 1.7;
    font-weight: 400;
}

/* Adaptacion para moviles */

@media (max-width: 768px) {

    .jnav-benefits > h3 {
        font-size: 21px;
        margin-top: 2rem;
        padding-left: 12px;
    }

    .jnav-benefits > p {
        font-size: 17px;
        line-height: 1.7;
        padding: 0 12px;
    }
}

/* =========================================
   JONAVEGO - TARJETAS SIN NUMERACION
   EN BLOQUES DE 4 O MAS
   ========================================= */

.jnav-benefits__grid:has(> .jnav-benefit:nth-child(4))
> .jnav-benefit::before {
    content: none !important;
    display: none !important;
}

/* JONAVEGO - TARJETAS SIN NUMERACION */

.jnav-benefits.jnav-no-numbers
> .jnav-benefits__grid
> .jnav-benefit::before {
    content: none !important;
    display: none !important;
}

/* =========================================
   JONAVEGO - ALINEACION PORTADA MULTILINGUE
   ========================================= */

@media (min-width: 768px) {

    .jnav-hero {
        align-items: flex-start;
        padding-top: 145px;
    }

}

/* =========================================
   JONAVEGO - PIE CORPORATIVO
   ========================================= */

.jnav-footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;

    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 24px;

    box-sizing: border-box;
}

.jnav-footer-logo {
    flex: 0 0 auto;
}

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

.jnav-footer-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.jnav-footer-info p {
    margin: 0;
    color: #ffffff;
}

.jnav-footer-name {
    font-size: 1.4rem;
    line-height: 1.3;
    font-weight: 700;
}

.jnav-footer-location {
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
}

/* Adaptación para móviles */

@media (max-width: 640px) {

    .jnav-footer-brand {
        flex-direction: column;
        text-align: center;
        gap: 18px;
        padding: 28px 18px;
    }

   .jnav-footer-logo img {
    width: 145px;
}

    .jnav-footer-info {
        align-items: center;
        gap: 8px;
    }

    .jnav-footer-name {
        font-size: 1.25rem;
    }

    .jnav-footer-location {
        font-size: 0.95rem;
    }
}
/* AquaMare: mostrar completa la fotografía vertical en la tarjeta */

.jnav-flota-card .blog-item:has(a[href*="aquamare" i]) .item-image img {
    object-fit: contain;
    object-position: center center;
    background-color: #edf3f6;
}

/* JoNavego - Bloque PDF del Club */

.jn-guia-club {
  background: linear-gradient(120deg, #081e30, #123b56);
  border-radius: 14px;
   padding: 42px 48px;
margin: 0 auto 25px;
  color: #ffffff;
}

.jn-guia-club__contenido {
  max-width: 800px;
}

.jn-guia-club__etiqueta {
  color: #e4b75f;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.jn-guia-club h2 {
  color: #ffffff;
  font-size: clamp(25px, 3vw, 34px);
  margin: 14px 0;
  line-height: 1.2;
}

.jn-guia-club p {
  line-height: 1.7;
}

.jn-guia-club__boton {
  display: inline-block;
  background: #e4b75f;
  color: #092238;
  padding: 13px 24px;
  border-radius: 7px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 12px;
}

.jn-guia-club__boton:hover {
  background: #f2d18a;
  color: #092238;
}

.jn-guia-club .jn-guia-club__nota {
  margin: 15px 0 0;
  font-size: 13px;
  color: #d1dbe3;
}

@media (max-width: 767px) {
  .jn-guia-club {
    padding: 27px 22px;
    margin: 25px 0;
  }

  .jn-guia-club__boton {
    width: 100%;
    text-align: center;
  }
}

/* Acercar la guía del Club a las tarjetas superiores */

.jn-guia-club {
    margin-top: -45px !important;
}

/* Ajuste para móviles */
@media (max-width: 767px) {
    .jn-guia-club {
        margin-top: -15px !important;
    }
}

/* Observación bajo tarjetas de modalidades */

.jn-nota-modalidades {
    margin: 24px auto 58px;
    max-width: 720px;
    text-align: center;
    font-size: 14px;
    line-height: 1.7;
    color: #536779;
}

@media (max-width: 767px) {
    .jn-nota-modalidades {
        margin: 22px auto 42px;
        padding: 0 16px;
    }
}

/* Separación definitiva de la nota bajo las tarjetas */

.jn-nota-modalidades {
    margin-top: 0 !important;
    padding-top: 26px !important;
}

/* JoNavego - Refinamiento de portada */

.jnav-hero {
    padding-left: clamp(28px, 5vw, 72px);
    padding-right: clamp(28px, 5vw, 72px);
}

.jnav-hero__content {
    max-width: 600px;
}

.jnav-hero__subtitle {
    font-size: clamp(18px, 2vw, 23px);
    line-height: 1.4;
    font-weight: 600;
    margin: 18px 0 0;
}

.jnav-hero__description {
    font-size: 15px;
    line-height: 1.7;
    max-width: 520px;
    margin: 18px 0 0;
}

/* Botones de portada */

.jnav-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 28px;
}

.jnav-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s, color .2s;
}

.jnav-hero__button--primary {
    background: #e4b75f;
    color: #092238;
}

.jnav-hero__button--primary:hover {
    background: #f2d18a;
    color: #092238;
}

.jnav-hero__button--secondary {
    background: transparent;
    border: 1px solid rgba(255,255,255,.8);
    color: #ffffff;
}

.jnav-hero__button--secondary:hover {
    background: rgba(255,255,255,.15);
    color: #ffffff;
}

@media (max-width: 767px) {
    .jnav-hero {
        padding-left: 24px;
        padding-right: 24px;
    }

    .jnav-hero__button {
        width: 100%;
    }
}

/* =========================================
   JoNavego - Definiciones de créditos
   ES / CA / EN
   ========================================= */

.jn-tipos-creditos {
    margin: 18px 0 28px;
    padding: 6px 0;
}

.jn-tipo-credito {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 16px 0;
    border-bottom: 1px solid #e3ebee;
}

.jn-tipo-credito:last-child {
    border-bottom: 0;
}

.jn-tipo-credito__sigla {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8f3f5;
    border-radius: 10px;
    color: #126578;
    font-size: 17px;
    font-weight: 700;
}

.jn-tipo-credito__texto {
    flex: 1;
    min-width: 0;
}

.jn-tipo-credito__texto strong {
    display: block;
    margin-bottom: 5px;
    color: #102f49;
    font-weight: 700;
}

.jn-tipo-credito__texto p {
    margin: 0 !important;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .jn-tipo-credito {
        gap: 13px;
        padding: 14px 0;
    }

    .jn-tipo-credito__sigla {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
        font-size: 15px;
    }
}

/* JoNavego - Centrar definiciones de créditos */

.jn-tipos-creditos {
    width: calc(100% - 32px);
    max-width: 750px;
    margin: 18px auto 28px !important;
    box-sizing: border-box;
}

/* Adaptación móvil */
@media (max-width: 767px) {
    .jn-tipos-creditos {
        width: calc(100% - 24px);
        margin: 16px auto 24px !important;
    }
}

/* ==========================================
   JoNavego - Llamada comercial Modalidades
   ES / CA / EN
   ========================================== */

.jn-modalidades-cta {
    max-width: 1000px;
    margin: 55px auto 40px;
    padding: clamp(30px, 5vw, 54px);
    background: #0f3048;
    border-radius: 16px;
    color: #ffffff;
    box-sizing: border-box;
}

.jn-modalidades-cta__eyebrow {
    margin: 0 0 15px !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #e4b75f;
}

.jn-modalidades-cta h2 {
    margin: 0 0 17px;
    color: #ffffff;
    font-size: clamp(25px, 3vw, 33px);
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
}

.jn-modalidades-cta__texto {
    max-width: 680px;
    margin: 0 0 28px !important;
    color: #e4edf3;
    font-size: 16px;
    line-height: 1.7;
}

.jn-modalidades-cta__acciones {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.jn-modalidades-cta a.jn-modalidades-cta__boton {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 12px 23px;
    border-radius: 7px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    transition: background .2s ease;
}

.jn-modalidades-cta a.jn-modalidades-cta__boton--principal {
    background: #e4b75f;
    border: 1px solid #e4b75f;
    color: #092238;
}

.jn-modalidades-cta a.jn-modalidades-cta__boton--principal:hover {
    background: #f2d18a;
    color: #092238;
}

.jn-modalidades-cta a.jn-modalidades-cta__boton--secundario {
    background: transparent;
    border: 1px solid rgba(255,255,255,.85);
    color: #ffffff;
}

.jn-modalidades-cta a.jn-modalidades-cta__boton--secundario:hover {
    background: rgba(255,255,255,.14);
    color: #ffffff;
}

.jn-modalidades-cta__pie {
    margin: 22px 0 0 !important;
    font-size: 13px;
    color: #bdd1dc;
}

@media (max-width: 767px) {
    .jn-modalidades-cta {
        margin: 38px 12px 30px;
        padding: 28px 22px;
    }

    .jn-modalidades-cta__acciones {
        flex-direction: column;
        align-items: stretch;
        gap: 11px;
    }

    .jn-modalidades-cta a.jn-modalidades-cta__boton {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================
   JONAVEGO - TARJETAS DE CREDITOS
   Gregal / Xaloc / Tramuntana
   ========================================== */

.jn-modalidades-privadas .jn-credito-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.jnav-benefits__grid .jn-credito-card h3 {
    margin: 0 0 18px !important;
    font-size: 23px !important;
    font-weight: 700;
    color: #102f49;
}

/* Total de creditos */

.jn-credito-card__total {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 18px;
    margin-bottom: 20px;
    background: #e8f3f5;
    border-radius: 11px;
}

.jn-credito-card__total strong {
    color: #126578;
    font-size: 42px;
    font-weight: 750;
    line-height: 1;
}

.jn-credito-card__total span {
    color: #24465a;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

/* Desglose de creditos */

.jn-credito-card__reparto {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.jn-credito-card__reparto li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #34495e;
    font-size: 16px;
    line-height: 1.4;
}

.jn-credito-card__reparto li::marker {
    content: "";
}

.jn-credito-card__reparto li strong {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    background: #edf5f7;
    border-radius: 8px;
    color: #126578;
    font-size: 17px;
    font-weight: 700;
}

/* Descripcion inferior */

.jnav-benefits__grid .jn-credito-card
.jn-credito-card__descripcion {
    margin: auto 0 0 !important;
    padding-top: 17px;
    border-top: 1px solid #e3ebee;
    color: #526575;
    font-size: 16px !important;
    line-height: 1.65 !important;
}

/* ==========================================
   JONAVEGO - VENTAJA DE FLOTA FLEXIBLE
   Modalidades ES / CA / EN
   ========================================== */

.jn-flota-flexible {
    width: 100%;
    max-width: 950px;
    box-sizing: border-box;
    margin: 30px auto 12px;
    padding: 25px 30px;
    background: #edf5f7;
    border-left: 4px solid #168a9b;
    border-radius: 0 12px 12px 0;
}

.jn-flota-flexible h3 {
    margin: 0 0 12px !important;
    padding: 0 !important;
    border: 0 !important;
    color: #102f49;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.35;
}

.jn-flota-flexible p {
    margin: 0 !important;
    padding: 0 !important;
    color: #34495e;
    font-size: 16px;
    line-height: 1.7;
}

/* ==========================================
   ADAPTACION A MOVILES
   ========================================== */

@media (max-width: 767px) {

    .jn-credito-card__total {
        gap: 12px;
        padding: 14px;
    }

    .jn-credito-card__total strong {
        font-size: 38px;
    }

    .jn-flota-flexible {
        margin: 25px auto 12px;
        padding: 21px;
    }

    .jn-flota-flexible h3 {
        font-size: 19px;
    }

    .jn-flota-flexible p {
        font-size: 16px;
    }
}
