/* ===================================================================
   IDEAIT — sistema de diseño propio
   Componentes nuevos (prefijo .ide-) construidos sobre la paleta del
   logo: azul marino #003366 y naranja #FFA500. Se carga después de
   marketing.css y no depende de la plantilla original.
=================================================================== */

:root {
    --ide-radio: 16px;
    --ide-radio-sm: 10px;
    --ide-sombra: 0 18px 40px -28px rgba(0, 51, 102, .45);
    --ide-sombra-alta: 0 28px 60px -32px rgba(0, 51, 102, .55);
    --ide-seccion: 90px;
}

/* ── Secciones ───────────────────────────────────────────────── */
.ide-seccion {
    padding: var(--ide-seccion) 0;
    position: relative;
}
.ide-seccion.pt-0 { padding-top: 0; }
.ide-seccion.pb-0 { padding-bottom: 0; }
.ide-seccion--suave { background: var(--brand-navy-soft); }
.ide-seccion--gris { background: #fafbfd; }
.ide-seccion--azul {
    background: var(--brand-navy);
    color: var(--on-navy);
}
.ide-seccion--azul h2,
.ide-seccion--azul h3,
.ide-seccion--azul .ide-titulo { color: #fff; }
.ide-seccion--azul .ide-antetitulo { color: #ffb733; }

@media (max-width: 991px) {
    :root { --ide-seccion: 60px; }
}

/* ── Encabezado de sección ───────────────────────────────────── */
.ide-antetitulo {
    display: block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--brand-orange-text);
    margin-bottom: 12px;
}
.ide-titulo {
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.14;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--brand-navy);
    margin: 0 0 18px;
}
.ide-titulo--sm { font-size: clamp(22px, 2.2vw, 30px); }
.ide-entradilla {
    font-size: 18px;
    line-height: 31px;
    color: var(--medium-gray);
    margin: 0;
}
.ide-cab {
    max-width: 780px;
    margin-bottom: 50px;
}
.ide-cab--centro {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* ── Tarjetas ────────────────────────────────────────────────── */
.ide-rejilla {
    display: grid;
    gap: 26px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.ide-rejilla--2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.ide-rejilla--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.ide-tarjeta {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid var(--brand-navy-line);
    border-radius: var(--ide-radio);
    padding: 34px 30px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    text-decoration: none;
}
a.ide-tarjeta:hover {
    transform: translateY(-4px);
    box-shadow: var(--ide-sombra-alta);
    border-color: transparent;
}
.ide-tarjeta__icono {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--brand-orange-soft);
    color: var(--brand-orange-text);
    font-size: 24px;
    margin-bottom: 22px;
}
.ide-tarjeta h3,
.ide-tarjeta .ide-tarjeta__titulo {
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--brand-navy);
    margin: 0 0 12px;
    letter-spacing: -.3px;
}
.ide-tarjeta p {
    color: var(--medium-gray);
    margin: 0 0 18px;
    flex-grow: 1;
}
.ide-tarjeta__enlace {
    font-weight: 600;
    color: var(--brand-orange-text);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}
a.ide-tarjeta:hover .ide-tarjeta__enlace i { transform: translateX(4px); }
.ide-tarjeta__enlace i { transition: transform .25s ease; }

/* variante sobre fondo azul */
.ide-seccion--azul .ide-tarjeta {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .14);
}
.ide-seccion--azul .ide-tarjeta p { color: var(--on-navy); }
.ide-seccion--azul .ide-tarjeta h3 { color: #fff; }
.ide-seccion--azul .ide-tarjeta__icono {
    background: rgba(255, 165, 0, .18);
    color: #ffb733;
}

/* ── Cifras ──────────────────────────────────────────────────── */
.ide-cifras {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.ide-cifra {
    text-align: center;
    padding: 28px 18px;
    background: #fff;
    border-radius: var(--ide-radio);
    border: 1px solid var(--brand-navy-line);
}
.ide-cifra__valor {
    display: block;
    font-size: clamp(30px, 3vw, 40px);
    font-weight: 800;
    line-height: 1;
    color: var(--brand-navy);
    letter-spacing: -1px;
    margin-bottom: 10px;
}
.ide-cifra__texto {
    font-size: 15px;
    line-height: 24px;
    color: var(--medium-gray);
    margin: 0;
}
.ide-seccion--azul .ide-cifra {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .14);
}
.ide-seccion--azul .ide-cifra__valor { color: #ffb733; }
.ide-seccion--azul .ide-cifra__texto { color: var(--on-navy); }

/* ── Proceso por pasos ───────────────────────────────────────── */
.ide-pasos {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    counter-reset: paso;
}
.ide-paso {
    position: relative;
    padding-top: 18px;
}
.ide-paso::before {
    counter-increment: paso;
    content: counter(paso, decimal-leading-zero);
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: var(--brand-orange-text);
    letter-spacing: 1px;
    margin-bottom: 14px;
}
.ide-paso::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 46px;
    height: 3px;
    border-radius: 3px;
    background: var(--brand-orange);
}
.ide-paso h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--brand-navy);
    margin: 0 0 10px;
}
.ide-paso p {
    color: var(--medium-gray);
    margin: 0;
    font-size: 16px;
    line-height: 27px;
}
.ide-seccion--azul .ide-paso h3 { color: #fff; }
.ide-seccion--azul .ide-paso p { color: var(--on-navy); }
.ide-seccion--azul .ide-paso::before { color: #ffb733; }

/* ── Lista con checks ────────────────────────────────────────── */
.ide-checks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 16px;
}
.ide-checks--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.ide-checks li {
    position: relative;
    padding-left: 34px;
    color: var(--medium-gray);
    line-height: 27px;
}
.ide-checks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--brand-orange-soft);
}
.ide-checks li::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 12px;
    width: 8px;
    height: 4px;
    border-left: 2px solid var(--brand-orange-text);
    border-bottom: 2px solid var(--brand-orange-text);
    transform: rotate(-45deg);
}
.ide-checks strong { color: var(--brand-navy); font-weight: 600; }
.ide-seccion--azul .ide-checks li { color: var(--on-navy); }
.ide-seccion--azul .ide-checks strong { color: #fff; }
.ide-seccion--azul .ide-checks li::before { background: rgba(255, 165, 0, .22); }
.ide-seccion--azul .ide-checks li::after {
    border-left-color: #ffb733;
    border-bottom-color: #ffb733;
}

/* ── Banda de llamada a la acción ────────────────────────────── */
.ide-cta {
    background: linear-gradient(120deg, var(--brand-navy) 0%, #00478f 100%);
    border-radius: var(--ide-radio);
    padding: 56px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}
.ide-cta::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255, 165, 0, .12);
}
.ide-cta__texto { max-width: 620px; position: relative; z-index: 1; }
.ide-cta h2 {
    font-size: clamp(24px, 2.6vw, 34px);
    line-height: 1.18;
    font-weight: 700;
    color: #fff;
    letter-spacing: -.8px;
    margin: 0 0 12px;
}
.ide-cta p {
    color: var(--on-navy);
    margin: 0;
    font-size: 17px;
    line-height: 28px;
}
.ide-cta__botones {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
@media (max-width: 767px) {
    .ide-cta { padding: 36px 26px; }
}

/* ── Botones ─────────────────────────────────────────────────── */
.ide-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    border: 2px solid transparent;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    text-decoration: none;
    cursor: pointer;
}
.ide-btn:hover { transform: translateY(-2px); }
.ide-btn--naranja {
    background: var(--brand-orange);
    color: var(--brand-navy);
    box-shadow: 0 12px 26px -14px rgba(255, 165, 0, .9);
}
.ide-btn--naranja:hover { background: #ffb733; color: var(--brand-navy); }
.ide-btn--azul {
    background: var(--brand-navy);
    color: #fff;
}
.ide-btn--azul:hover { background: #00478f; color: #fff; }
.ide-btn--linea {
    border-color: rgba(255, 255, 255, .5);
    color: #fff;
}
.ide-btn--linea:hover { border-color: #fff; background: rgba(255, 255, 255, .1); color: #fff; }
.ide-btn--linea-azul {
    border-color: var(--brand-navy-line);
    color: var(--brand-navy);
    background: #fff;
}
.ide-btn--linea-azul:hover { border-color: var(--brand-navy); color: var(--brand-navy); }

/* ── Portada de página interior ──────────────────────────────── */
.ide-portada {
    position: relative;
    padding: 165px 0 70px;
    background:
        radial-gradient(circle at 85% 20%, rgba(255, 165, 0, .10) 0%, transparent 45%),
        linear-gradient(160deg, var(--brand-navy-soft) 0%, #ffffff 70%);
    overflow: hidden;
}
.ide-portada::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(0, 51, 102, .10) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: .5;
    pointer-events: none;
}
.ide-portada__contenido { position: relative; z-index: 1; max-width: 760px; }
.ide-portada h1 {
    font-size: clamp(30px, 3.8vw, 52px);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -1.5px;
    color: var(--brand-navy);
    margin: 0 0 18px;
}
.ide-portada__texto {
    font-size: 19px;
    line-height: 32px;
    color: var(--medium-gray);
    margin: 0 0 30px;
}
.ide-portada__migas {
    font-size: 14px;
    color: var(--medium-gray);
    margin-bottom: 18px;
}
.ide-portada__migas a { color: var(--medium-gray); }
.ide-portada__migas a:hover { color: var(--brand-orange-text); }
.ide-portada__migas span { margin: 0 8px; opacity: .45; }
@media (max-width: 991px) {
    .ide-portada { padding: 130px 0 50px; }
    .ide-portada__texto { font-size: 17px; line-height: 29px; }
}

/* ── Bloque de texto + lista (páginas de servicio) ───────────── */
.ide-split {
    display: grid;
    gap: 50px;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    align-items: center;
}
.ide-panel {
    background: #fff;
    border: 1px solid var(--brand-navy-line);
    border-radius: var(--ide-radio);
    padding: 38px;
}
.ide-panel--suave {
    background: var(--brand-navy-soft);
    border-color: transparent;
}
.ide-panel h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--brand-navy);
    margin: 0 0 14px;
}

/* ── Cinta de logotipos / sectores ───────────────────────────── */
.ide-sectores {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.ide-sector {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--brand-navy-line);
    color: var(--brand-navy);
    font-weight: 600;
    font-size: 15px;
}
.ide-sector i { color: var(--brand-orange-text); }

/* ── Acordeón de preguntas ───────────────────────────────────── */
.ide-faq { display: grid; gap: 14px; }
.ide-faq__item {
    background: #fff;
    border: 1px solid var(--brand-navy-line);
    border-radius: var(--ide-radio-sm);
    overflow: hidden;
    transition: box-shadow .25s ease;
}
.ide-faq__item[open] { box-shadow: var(--ide-sombra); }
.ide-faq__item summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 56px 22px 26px;
    font-weight: 700;
    font-size: 17px;
    color: var(--brand-navy);
    position: relative;
}
.ide-faq__item summary::-webkit-details-marker { display: none; }
.ide-faq__item summary::after {
    content: "";
    position: absolute;
    right: 26px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--brand-orange-text);
    border-bottom: 2px solid var(--brand-orange-text);
    transform: translateY(-70%) rotate(45deg);
    transition: transform .25s ease;
}
.ide-faq__item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.ide-faq__item p {
    margin: 0;
    padding: 0 26px 24px;
    color: var(--medium-gray);
    line-height: 28px;
}

/* ── Utilidades ──────────────────────────────────────────────── */
.ide-mt-40 { margin-top: 40px; }
.ide-mt-60 { margin-top: 60px; }
.ide-centro { text-align: center; }
.ide-max-720 { max-width: 720px; margin-left: auto; margin-right: auto; }

/* ── Cabecera ────────────────────────────────────────────────── */
.ide-cabecera {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--brand-navy-line);
}
.ide-cabecera .navbar { padding: 10px 0; min-height: 74px; }
.ide-cabecera .navbar-brand img { max-height: 42px; width: auto; }
.ide-cabecera .navbar-nav { gap: 4px; align-items: center; }
.ide-cabecera .nav-link {
    font-size: 16px;
    font-weight: 600;
    color: var(--brand-navy) !important;
    padding: 10px 14px !important;
    border-radius: 8px;
    transition: background .2s ease, color .2s ease;
}
.ide-cabecera .nav-link:hover,
.ide-cabecera .nav-link.active {
    color: var(--brand-orange-text) !important;
    background: var(--brand-orange-soft);
}
.ide-cabecera .nav-link.active::after { display: none; }
.ide-cabecera__cta { padding: 12px 22px; font-size: 15px; }

/* separación para que el contenido no quede debajo de la cabecera fija */
body { padding-top: 82px; }
@media (max-width: 991px) {
    body { padding-top: 74px; }
}

/* menú desplegable de servicios */
.ide-desplegable { position: relative; }
.ide-desplegable__flecha { font-size: 14px; margin-left: 4px; transition: transform .2s ease; }
.ide-desplegable:hover .ide-desplegable__flecha { transform: rotate(180deg); }
.ide-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: min(760px, 92vw);
    background: #fff;
    border: 1px solid var(--brand-navy-line);
    border-radius: var(--ide-radio);
    box-shadow: var(--ide-sombra-alta);
    padding: 18px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.ide-desplegable:hover .ide-menu,
.ide-desplegable:focus-within .ide-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.ide-menu__rejilla {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
}
.ide-menu__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 10px;
    color: var(--brand-navy);
    font-weight: 600;
    font-size: 15px;
    transition: background .18s ease;
}
.ide-menu__item i { color: var(--brand-orange-text); font-size: 18px; }
.ide-menu__item:hover { background: var(--brand-navy-soft); color: var(--brand-navy); }
.ide-menu__pie {
    display: block;
    margin-top: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--brand-navy-line);
    text-align: center;
    font-weight: 700;
    color: var(--brand-orange-text);
    font-size: 15px;
}

@media (max-width: 991px) {
    .ide-menu {
        position: static;
        transform: none;
        width: 100%;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: 0;
        padding: 6px 0 0;
    }
    .ide-menu__rejilla { grid-template-columns: 1fr; }
    .ide-cabecera .navbar-collapse {
        background: #fff;
        padding: 14px;
        border-radius: var(--ide-radio);
        margin-top: 10px;
        max-height: 78vh;
        overflow-y: auto;
    }
}

/* ── Pie de página ───────────────────────────────────────────── */
.ide-pie {
    background: var(--brand-navy);
    color: var(--on-navy);
    padding: 70px 0 0;
}
.ide-pie__rejilla {
    display: grid;
    gap: 40px;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr;
    padding-bottom: 50px;
}
.ide-pie__marca img { max-height: 40px; width: auto; margin-bottom: 20px; }
.ide-pie__marca p {
    color: var(--on-navy);
    font-size: 15px;
    line-height: 26px;
    margin: 0 0 22px;
}
.ide-pie__redes { display: flex; gap: 10px; }
.ide-pie__redes a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    transition: background .2s ease, color .2s ease;
}
.ide-pie__redes a:hover { background: var(--brand-orange); color: var(--brand-navy); }

.ide-pie__col { display: flex; flex-direction: column; }
.ide-pie__titulo {
    display: block;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 18px;
}
.ide-pie__col a {
    color: var(--on-navy);
    font-size: 15px;
    line-height: 22px;
    padding: 6px 0;
    transition: color .2s ease;
}
.ide-pie__col a:hover { color: #ffb733; }
.ide-pie__boletin p { color: var(--on-navy); font-size: 15px; line-height: 24px; margin-bottom: 16px; }

.ide-pie__legal {
    border-top: 1px solid rgba(255, 255, 255, .14);
    padding: 26px 0 30px;
    text-align: center;
}
.ide-pie__legal-enlaces {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 28px;
    margin-bottom: 14px;
}
.ide-pie__legal-enlaces a { color: var(--on-navy); font-size: 15px; }
.ide-pie__legal-enlaces a:hover { color: #ffb733; }
.ide-pie__legal p {
    margin: 0;
    color: #9db4cd;
    font-size: 14px;
}

@media (max-width: 1199px) {
    .ide-pie__rejilla { grid-template-columns: 1fr 1fr 1fr; }
    .ide-pie__marca { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
    .ide-pie { padding-top: 50px; }
    .ide-pie__rejilla { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .ide-pie__redes { justify-content: center; }
    .ide-pie__col a { padding: 5px 0; }
}

/* ── Héroe de la portada ─────────────────────────────────────── */
.ide-hero {
    position: relative;
    padding: 70px 0 60px;
    background:
        radial-gradient(circle at 78% 25%, rgba(255, 165, 0, .14) 0%, transparent 42%),
        linear-gradient(150deg, var(--brand-navy-soft) 0%, #ffffff 62%);
    overflow: hidden;
}
.ide-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(0, 51, 102, .10) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: .55;
    pointer-events: none;
}
.ide-hero__rejilla {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 40px;
    align-items: center;
}
.ide-hero__sello {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--brand-navy-line);
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 22px;
}
.ide-hero__sello i { color: var(--brand-orange-text); }
.ide-hero h1 {
    font-size: clamp(32px, 4.2vw, 58px);
    line-height: 1.06;
    font-weight: 800;
    letter-spacing: -2px;
    color: var(--brand-navy);
    margin: 0 0 22px;
}
.ide-hero h1 span {
    position: relative;
    white-space: nowrap;
}
.ide-hero h1 span::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
    height: 12px;
    background: var(--brand-orange);
    opacity: .35;
    border-radius: 6px;
    z-index: -1;
}
.ide-hero__entradilla {
    font-size: 19px;
    line-height: 32px;
    color: var(--medium-gray);
    margin: 0 0 30px;
    max-width: 600px;
}
.ide-hero__puntos {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 26px;
    margin: 30px 0 0;
    padding: 0;
}
.ide-hero__puntos li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--brand-navy);
}
.ide-hero__puntos i { color: var(--brand-orange-text); }
.ide-hero__imagen img { width: 100%; height: auto; }

@media (max-width: 991px) {
    .ide-hero { padding: 40px 0 50px; }
    .ide-hero__rejilla { grid-template-columns: 1fr; }
    .ide-hero__imagen { display: none; }
    .ide-hero__entradilla { font-size: 17px; line-height: 29px; }
}

/* ── Tarjeta de artículo del blog en la portada ──────────────── */
.ide-tarjeta--post { padding: 0; overflow: hidden; }
.ide-tarjeta--post img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    margin-bottom: 22px;
}
.ide-tarjeta--post h3,
.ide-tarjeta--post p,
.ide-tarjeta--post .ide-tarjeta__meta,
.ide-tarjeta--post .ide-tarjeta__enlace { padding: 0 28px; }
.ide-tarjeta--post .ide-tarjeta__enlace { padding-bottom: 30px; }
.ide-tarjeta__meta {
    display: block;
    font-size: 14px;
    color: var(--medium-gray);
    margin-bottom: 10px;
}

/* ── Bloques de contacto ─────────────────────────────────────── */
.ide-contacto { display: grid; gap: 14px; }
.ide-contacto__item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 22px;
    background: #fff;
    border: 1px solid var(--brand-navy-line);
    border-radius: var(--ide-radio);
    transition: box-shadow .25s ease, transform .25s ease;
}
a.ide-contacto__item:hover { transform: translateY(-2px); box-shadow: var(--ide-sombra); }
.ide-contacto__icono {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--brand-orange-soft);
    color: var(--brand-orange-text);
    font-size: 22px;
}
.ide-contacto__item strong { display: block; color: var(--brand-navy); font-size: 17px; margin-bottom: 3px; }
.ide-contacto__item small { display: block; color: var(--medium-gray); font-size: 14px; }

/* El formulario heredado del tema, dentro de los paneles nuevos */
.ide-panel .form-control {
    border-radius: 10px;
    border: 1px solid var(--brand-navy-line);
    padding: 13px 16px;
    font-size: 15px;
}
.ide-panel .form-control:focus {
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 3px rgba(255, 165, 0, .18);
}
.ide-panel .btn,
.ide-panel button.submit {
    background: var(--brand-orange) !important;
    color: var(--brand-navy) !important;
    border: 0;
    border-radius: 999px;
    padding: 14px 28px;
    font-weight: 700;
}
.ide-panel h5 { color: var(--brand-navy); }

/* Ajustes finos de la cabecera sobre los estilos de la plantilla */
.ide-cabecera .navbar-nav .nav-item .nav-link,
.ide-cabecera .navbar-nav .nav-item.active .nav-link {
    padding: 9px 13px !important;
    line-height: 22px;
    background: transparent;
}
.ide-cabecera .nav-link.active {
    background: var(--brand-orange-soft) !important;
    border-radius: 8px;
}
.ide-cabecera .navbar-nav .nav-item .nav-link.active::after { content: none; }
.ide-cabecera__cta { white-space: nowrap; padding: 12px 20px; }
@media (max-width: 1199px) {
    .ide-cabecera .nav-link { font-size: 15px; padding: 9px 10px !important; }
    .ide-cabecera__cta { font-size: 14px; padding: 11px 16px; }
}

/* La plantilla fija su propio .navbar; aquí el elemento fijo es la cabecera,
   así que el navbar interior vuelve al flujo normal. */
.ide-cabecera .navbar {
    position: static !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 8px 0 !important;
    min-height: 0 !important;
    width: 100%;
}
.ide-cabecera .navbar .container-fluid { padding-left: 30px; padding-right: 30px; }
