:root {
    --brand: #fff;
    /* Verde IESISA (acentos, subrayados) */
    --ink: #fff;
    /* Texto por defecto en fondos claros */
    --ink-inverse: #fff;
    /* Texto sobre fondos oscuros/brand */
    --hdr-bg: transparent;
    /* Fondo inicial (hero transparente) */
    --hdr-bg-scrolled: #000;
    /* Fondo al hacer scroll */
    --link: var(--ink);
    --link-hover: var(--brand);
}

.site-footer {
    padding: 36px 0 24px;
    background: inherit;
    color: inherit;
}

.site-footer .brand-mark {
    font-weight: 600;
    letter-spacing: .4px;
    font-size: 16px;
}

/* En pantallas ≥768px, alinear derecha la col derecha (Bootstrap 3 no trae text-right-sm) */
@media (min-width: 768px) {
    .text-right-sm {
        text-align: right;
    }
}

/* Acción primaria del footer como enlace sutil */
.link-quiet {
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0 0 8px;
    color: inherit;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    border-bottom: 1px solid transparent;
    transition: opacity .2s ease, border-color .2s ease;
}

.link-quiet:hover,
.link-quiet:focus {
    opacity: .85;
    border-color: currentColor;
    text-decoration: none;
}

/* Social: minimal, horizontal, tacto cómodo */
.social {
    margin: 8px 0 0;
    padding-left: 0;
}

.social>li {
    padding-left: 0;
    padding-right: 0;
    margin-right: 10px;
}

.social>li:last-child {
    margin-right: 0;
}

.icon-btn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #FFF;
    text-decoration: none;
    border: 1px solid #FFF;
    background: transparent;
    transition: background-color .2s, opacity .2s, transform .06s;
}

.icon-btn i {
    font-size: 18px;
    vertical-align: middle;
}

.icon-btn:hover,
.icon-btn:focus {
    background-color: rgba(255, 255, 255, .12);
    opacity: .95;
    color: #FFF;
}

.site-footer--on-light .icon-btn:hover,
.site-footer--on-light .icon-btn:focus {
    background-color: rgba(0, 0, 0, .06);
}

.icon-btn:active {
    transform: translateY(1px);
}

/* Divisor suave que respeta el contraste del fondo */
.soft-divider {
    border: 0;
    height: 1px;
    margin: 20px 0;
    background: rgba(255, 255, 255, .22);
}

.site-footer--on-light .soft-divider {
    background: rgba(0, 0, 0, .08);
}

/* Tonos secundarios sutiles */
.muted {
    color:#fff
}

/* Espaciado vertical ordenado entre bloques superiores/inferiores */
.footer-top {
    margin-bottom: 8px;
}

.footer-bottom {
    margin-top: 8px;
}

.seccion-soluciones {
    margin-top: 50px;
    margin-bottom: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.seccion-soluciones p,
h2 {
    padding: 15px;
}

.texto {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}

.texto h2 {
    text-align: center !important;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.texto p {
    font-size: 18px;
    line-height: 1.6;
    color: #444;
    padding: 15px;
}

.texto strong {
    font-weight: 700;
    color: #333;
}

.imagenes_SOLUCIONES {
    flex: 1;
    min-width: 300px;
    position: relative;
    max-width: 500px;
}

.imagen1_SOLUCIONES {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 300px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.imagen2_SOLUCIONES {
    position: absolute;
    top: 60px;
    left: 240px;
    z-index: 2;
    width: 100%;
    max-width: 300px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .seccion-certificacion {
        flex-direction: column;
        text-align: center;
    }

    .imagenes_SOLUCIONES {
        display: flex;
        justify-content: center;
        margin-top: 30px;
    }

    .imagen2_SOLUCIONES {
        top: 20px;
        left: 80px;
    }
}

.seccion-certificacion {
    margin-top: 50px;
    margin-bottom: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.texto {
    flex: 1;
    text-align: justify;
    min-width: 300px;
    max-width: 600px;
}

.texto h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.texto p {
    font-size: 18px;
    line-height: 1.6;
    color: #444;
}

.texto strong {
    font-weight: 700;
    color: #333;
}

.imagenes_ISO {
    flex: 1;
    min-width: 300px;
    padding: 15px;
    position: relative;
    max-width: 500px;
}

.imagen1_ISO {
    position: relative;
    top: 60px;
    z-index: 2;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.imagen2_ISO {
    position: absolute;
    left: 240px;
    z-index: 1;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contenedor1 {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url("../images/carrousel_1.png") no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 10%;
}

.contenedor1 h1 {
    color: white;
    font-size: 3vw;
    /* Texto responsivo */
    margin-bottom: 1em;
}

.contenedor1 p {
    font-size: 1.2em;
    margin-bottom: 2em;
    line-height: 1.6;
}

.contenido {
    max-width: 800px;
}

.boton_contacto {
    background-color: #71bf44;
    color: white;
    padding: 0.8em 1.6em;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    font-size: 1em;
}

.boton_contacto:hover {
    background-color: #13a10e;
    text-decoration: none;
    cursor: pointer;
    color: white;
}

/* Responsive: ajustar tamaños para pantallas pequeñas */
@media (max-width: 768px) {
    .contenedor1 h1 {
        font-size: 6vw;
    }

    .contenedor1 p {
        font-size: 1em;
    }

    .boton_contacto {
        font-size: 0.9em;
        padding: 0.7em 1.4em;
    }
}

@media (max-width: 480px) {
    .contenedor1 {
        padding: 0 5%;
    }

    .contenedor1 h1 {
        font-size: 7vw;
    }

    .contenedor1 p {
        font-size: 0.95em;
    }

    .boton_contacto {
        width: 100%;
        display: inline-block;
    }
}

.error {
    margin-left: 10px;
    color: red;
    font-size: 14px;
}



.c-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    /* sobre navbar BS3 */
    background: var(--hdr-bg);
    transition: background-color .28s ease, box-shadow .28s ease, padding .28s ease;
    padding: 18px 0;
    /* altura cómoda inicialmente */
    will-change: background-color, box-shadow, padding;
}

.c-header.is-scrolled {
    background: var(--hdr-bg-scrolled);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
    padding: 10px 0;
    /* shrink elegante */
}

.c-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Marca / logo */
.c-header__brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.c-header__logo {
    height: 48px;
    transition: height .28s ease;
}

.c-header.is-scrolled .c-header__logo {
    height: 38px;
}

/* Toggle móvil (hamburger) */
.c-header__toggle {
    background: transparent;
    border: 0;
    padding: 8px;
    margin: 0;
    line-height: 1;
    cursor: pointer;
    border-radius: 10px;
}

.c-header__burger,
.c-header__burger::before,
.c-header__burger::after {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ink);
    position: relative;
    transition: transform .2s ease, background .2s ease;
}

.c-header__burger::before,
.c-header__burger::after {
    content: "";
    position: absolute;
    left: 0;
}

.c-header__burger::before {
    top: -7px;
}

.c-header__burger::after {
    top: 7px;
}

.c-header.is-open .c-header__burger {
    background: transparent;
}

.c-header.is-open .c-header__burger::before {
    transform: translateY(7px) rotate(45deg);
}

.c-header.is-open .c-header__burger::after {
    transform: translateY(-7px) rotate(-45deg);
}

/* Nav desktop */
.c-nav {
    display: flex;
    gap: 22px;
}

.c-nav__link {
    position: relative;
    display: inline-block;
    padding: 6px 2px;
    color: var(--link);
    text-decoration: none;
    font-weight: 500;
    transition: color .2s ease;
}

.c-nav__link:hover,
.c-nav__link:focus {
    color: var(--link-hover);
    text-decoration: none;
}

.c-nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .22s ease;
}

.c-nav__link:hover::after,
.c-nav__link.is-active::after {
    transform: scaleX(1);
}

.c-header.is-scrolled .c-nav__link:hover {
    color: #71bf44;
}


/* Nav móvil (slide-down) */
.c-nav-mobile {
    max-height: 0;
    overflow: hidden;
    transition: max-height .28s ease;
    border-top: 1px solid rgba(255, 255, 255);
}

.c-header.is-open .c-nav-mobile {
    max-height: 240px;
}

/* ajusta según # de links */
.c-nav-mobile__link {
    display: block;
    padding: 12px 0;
    color: var(--link);
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.c-nav-mobile__link:last-child {
    border-bottom: 0;
}

.c-nav-mobile__link:hover {
    color: var(--brand);
    text-decoration: none;
}

/* Estados sobre fondo verde (si usas header con bg brand) */
.c-header--brand {
    background: var(--brand);
}

.c-header--brand .c-nav__link,
.c-header--brand .c-nav-mobile__link {
    color: var(--ink-inverse);
}

.c-header--brand .c-header__burger,
.c-header--brand .c-header__burger::before,
.c-header--brand .c-header__burger::after {
    background: var(--ink-inverse);
}

/* Helpers: ocultar/mostrar según Bootstrap 3 */
.hidden-xs.hidden-sm {
    display: none !important;
}

@media (min-width: 768px) {
    .hidden-xs.hidden-sm {
        display: block !important;
    }
}

@media (min-width: 768px) {
    .visible-xs.visible-sm {
        display: none !important;
    }
}

/* Opcional: resalta el link activo en verde incluso sin hover */
.c-nav__link.is-active {
    color: var(--brand);
}

.c-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1040;
    /* por encima de BS3 navbar/modals backdrop */
}

/* fallback fijo cuando sticky no aplica en tu estructura */
.c-header.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

/* separador para evitar “salto” al fijar */
.c-header-spacer {
    display: none;
}

.c-header.is-fixed+.c-header-spacer {
    display: block;
}

header#site-header.c-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    /* sobre navs/otros */
    background: var(--hdr-bg-scrolled);
    transition: background-color .28s, box-shadow .28s, padding .28s, height .28s;
    padding: 18px 0;
    /* altura inicial */
}

/* Estado en scroll (shrink + sombra + fondo blanco) */
header#site-header.c-header.is-scrolled {
    background: var(--hdr-bg-scrolled, #fff);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
    padding: 10px 0;
}

/* Barra interna */
.c-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.c-header__logo {
    height: 48px;
    transition: height .28s;
}

header#site-header.c-header.is-scrolled .c-header__logo {
    height: 38px;
}

/* Nav desktop */
.c-nav {
    display: flex;
    gap: 22px;
}

.c-nav__link {
    position: relative;
    display: inline-block;
    padding: 6px 2px;
    color: rgba(0, 0, 0, .78);
    text-decoration: none;
    font-weight: 500;
}

.c-nav__link:hover {
    color: #76c14b;
    text-decoration: none;
}

.c-nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: .22s;
}

.c-nav__link:hover::after,
.c-nav__link.is-active::after {
    transform: scaleX(1);
}

/* Toggle móvil */
.c-header__toggle {
    background: transparent;
    border: 0;
    padding: 8px;
}

.c-header__burger,
.c-header__burger::before,
.c-header__burger::after {
    display: block;
    width: 24px;
    height: 2px;
    background: rgba(255, 255, 255, .78);
    position: relative;
    transition: transform .2s;
}

.c-header__burger::before,
.c-header__burger::after {
    content: "";
    position: absolute;
    left: 0;
}

.c-header__burger::before {
    top: -7px;
}

.c-header__burger::after {
    top: 7px;
}

header#site-header.c-header.is-open .c-header__burger {
    background: transparent;
}

header#site-header.c-header.is-open .c-header__burger::before {
    transform: translateY(7px) rotate(45deg);
}

header#site-header.c-header.is-open .c-header__burger::after {
    transform: translateY(-7px) rotate(-45deg);
}

/* Menú móvil (slide-down) */
.c-nav-mobile {
    max-height: 0;
    overflow: hidden;
    transition: max-height .28s ease;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

header#site-header.c-header.is-open .c-nav-mobile {
    max-height: 240px;
}

/* Utilidades BS3 responsivas (por si el tema las toca) */
.hidden-xs.hidden-sm {
    display: none !important;
}

@media (min-width: 768px) {
    .hidden-xs.hidden-sm {
        display: block !important;
    }
}

@media (min-width: 768px) {
    .visible-xs.visible-sm {
        display: none !important;
    }
}

/* Spacer bajo el header fijo */
.c-header-spacer {
    height: 0;
}

.privacy{
    margin: 4rem;
}