html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f4f6f8;
    font-family: 'Nunito', sans-serif;
    overflow-x: hidden;
    color: #0d2c54;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Dosis', sans-serif;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================
   HERO
========================= */

.hero {
    position: relative;
    overflow: hidden;
    padding: 90px 10% 70px;
    background: #eef2f6;
    min-height: 620px;
}

.bg-shape {
    position: absolute;
    width: 800px;
    height: 800px;
    background: #dfe7ef;
    border-radius: 50%;
    top: -200px;
    right: -200px;
    z-index: 0;
}

/* =========================
   NAVBAR
========================= */

.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 20;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 210px;
    overflow: hidden;
}

.logo a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    height: 48px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
}

/* =========================
   MEN�0�3
========================= */

.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: #0d2c54;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    transition: 0.3s;
}

.nav-menu a:hover {
    color: #4da3ff;
}

.nav-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: white;
    border-radius: 50%;
    color: #0d2c54;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.nav-icons a:hover {
    color: #4da3ff;
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #0d2c54;
    transition: 0.3s;
}

.menu-toggle.active {
    transform: rotate(90deg);
    color: #4da3ff;
}

/* =========================
   HERO CONTENT
========================= */

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    position: relative;
    z-index: 2;
    min-height: 500px;
}

.hero-text {
    max-width: 52%;
    z-index: 3;
}

.hero-text h1 {
    font-size: 52px;
    font-weight: 800;
    color: #0d2c54;
    line-height: 1.12;
}

.hero-text h1 span {
    color: #4da3ff;
}

.hero-text p {
    margin: 22px 0;
    color: #5f6c7b;
    line-height: 1.75;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    max-width: 720px;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    width: 260px;
    object-fit: contain;
    animation: floatUpDown 4s ease-in-out infinite;
}

@keyframes floatUpDown {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-18px);
    }

    100% {
        transform: translateY(0);
    }
}

/* =========================
   BOTONES
========================= */

.buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(45deg, #4da3ff, #2d7ef7);
    color: white;
    border: none;
    padding: 13px 28px;
    border-radius: 28px;
    cursor: pointer;
    font-weight: 800;
    display: inline-block;
    box-shadow: 0 8px 22px rgba(45, 126, 247, 0.22);
    transition: 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(45, 126, 247, 0.30);
}

.btn-secondary {
    background: white;
    border: none;
    padding: 13px 28px;
    border-radius: 28px;
    cursor: pointer;
    color: #0d2c54;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    display: inline-block;
    font-weight: 800;
    transition: 0.3s;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    color: #4da3ff;
}

/* =========================
   FEATURES
========================= */

.features {
    padding: 70px 10%;
    background: linear-gradient(to bottom, #eef2f6 0%, #ffffff 100%);
}

.features-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: #fcfcfc;
    padding: 40px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    opacity: 0;
    transform: translateY(40px);
    transition: transform 0.8s ease, box-shadow 0.5s ease, opacity 0.6s ease;
}

.card.show {
    opacity: 1;
    transform: translateY(0);
}

.card.show:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(77, 163, 255, 0.15);
}

.card img {
    width: 70px;
    margin: 0 auto 20px;
}

.card h3 {
    font-size: 20px;
    color: #0d2c54;
    margin-bottom: 10px;
}

.card p {
    color: #5f6c7b;
    font-size: 14px;
    line-height: 1.6;
}

/* =========================
   ABOUT
========================= */

.about {
    padding: 95px 10%;
    background: linear-gradient(to bottom, #ffffff 0%, #eef2f6 90%);
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.about-image {
    position: relative;
    width: 48%;
}

.about-image img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.08);
}

.about-text {
    width: 52%;
}

.about-text h2 {
    font-size: 40px;
    color: #0d2c54;
    line-height: 1.2;
}

.about-text h2 span {
    color: #4da3ff;
}

.about-text small {
    display: block;
    margin: 15px 0;
    letter-spacing: 2px;
    color: #6c7a89;
    font-weight: 800;
}

.about-text p {
    color: #5f6c7b;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* =========================
   BLOG / ACCESOS
========================= */

.blog {
    padding: 80px 10%;
    background: linear-gradient(to bottom, #eef2f6, #ffffff);
}

.blog-header {
    text-align: center;
    margin-bottom: 50px;
}

.blog-header h2 {
    font-size: 36px;
    color: #0d2c54;
}

.blog-header h2 span {
    color: #4da3ff;
}

.blog-header p {
    color: #6c7a89;
    letter-spacing: 2px;
    font-size: 14px;
    margin-top: 8px;
    font-weight: 700;
}

.blog-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(77, 163, 255, 0.15);
}

.blog-img img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.blog-content {
    padding: 24px;
}

.blog-content h3 {
    font-size: 21px;
    color: #0d2c54;
    margin-bottom: 10px;
}

.category {
    display: inline-block;
    font-size: 13px;
    color: #4da3ff;
    margin-bottom: 10px;
    border-left: 3px solid #2d7ef7;
    padding-left: 7px;
    font-weight: 800;
}

.blog-content p {
    font-size: 14px;
    color: #5f6c7b;
    line-height: 1.65;
    margin-bottom: 15px;
}

.blog-content a {
    color: #4da3ff;
    font-weight: 800;
}

.blog-content a:hover {
    color: #0d2c54;
}

/* =========================
   FOOTER
========================= */

.footer {
    background: #14104a;
    color: white;
    position: relative;
    padding-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    padding: 0 10% 40px;
}

.footer-col h3 {
    margin-bottom: 15px;
}

.footer-col h3::before {
    content: "|";
    color: #4da3ff;
    margin-right: 8px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #cfd6e4;
}

.footer-col a:hover {
    color: #4da3ff;
}

.footer-col p {
    font-size: 14px;
    color: #cfd6e4;
    margin-bottom: 10px;
    line-height: 1.6;
}

.socials {
    margin-top: 10px;
}

.socials a {
    display: inline-flex;
    width: 35px;
    height: 35px;
    background: #4da3ff;
    color: white;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    transition: 0.3s;
}

.socials a:hover {
    color: #14104a;
    transform: translateY(-3px);
}

.newsletter {
    display: flex;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    margin-top: 15px;
}

.newsletter input {
    border: none;
    padding: 12px 15px;
    flex: 1;
    outline: none;
    font-family: 'Nunito', sans-serif;
}

.newsletter button {
    background: linear-gradient(45deg, #4da3ff, #2d7ef7);
    border: none;
    color: white;
    padding: 0 20px;
    cursor: pointer;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    padding: 15px;
    font-size: 13px;
    color: #cfd6e4;
}

/* =========================
   ANIMACION CLICK
========================= */

.click-effect {
    animation: clickPulse 0.35s ease;
}

@keyframes clickPulse {
    0% {
        transform: scale(1);
    }

    45% {
        transform: scale(0.96);
    }

    100% {
        transform: scale(1);
    }
}

a,
button,
.card,
.blog-card {
    -webkit-tap-highlight-color: transparent;
}

/* =========================
   RESPONSIVE TABLET
========================= */

@media (max-width: 1100px) {

    .navbar {
        padding: 18px 6%;
    }

    .hero {
        padding: 90px 6% 60px;
    }

    .nav-menu ul {
        gap: 18px;
    }

    .hero-text h1 {
        font-size: 42px;
    }

    .hero-image img {
        width: 250px;
    }

    .about {
        padding: 90px 8%;
    }
}

/* =========================
   RESPONSIVE CELULAR
========================= */

@media (max-width: 900px) {

    .menu-toggle {
        display: block;
    }

    .navbar {
        padding: 16px 6%;
    }

    .logo {
        max-width: 170px;
    }

    .logo-img {
        height: 40px;
        max-width: 165px;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        right: 6%;
        background: white;
        width: 88%;
        max-width: 320px;
        border-radius: 18px;
        display: none;
        flex-direction: column;
        box-shadow: 0 10px 25px rgba(0,0,0,0.12);
        padding: 10px 0;
        z-index: 99;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
        align-items: stretch;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .nav-menu a {
        display: block;
        width: 100%;
        padding: 14px 20px;
    }

    .nav-icons {
        padding: 10px 0 15px;
    }

    .hero {
        padding: 90px 6% 60px;
        min-height: auto;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 25px;
        min-height: auto;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .hero-text p {
        font-size: 15px;
    }

    .buttons {
        justify-content: center;
    }

    .hero-image img {
        width: 220px;
    }

    .bg-shape {
        width: 520px;
        height: 520px;
        top: -160px;
        right: -260px;
    }

    .features,
    .about,
    .blog {
        padding-left: 6%;
        padding-right: 6%;
    }

    .features-container,
    .blog-container {
        grid-template-columns: 1fr;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-image,
    .about-text {
        width: 100%;
    }

    .about-image img {
        height: 260px;
    }

    .about-text h2,
    .blog-header h2 {
        font-size: 30px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .newsletter {
        flex-direction: column;
        border-radius: 10px;
    }

    .newsletter button {
        padding: 10px;
    }
}

/* =========================
   CELULARES PEQUE�0�5OS
========================= */

@media (max-width: 520px) {

    .logo {
        max-width: 145px;
    }

    .logo-img {
        height: 35px;
        max-width: 140px;
    }

    .hero-text h1 {
        font-size: 30px;
    }

    .hero-text p {
        font-size: 14px;
    }

    .buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .card,
    .blog-content {
        padding: 25px 18px;
    }

    .blog-img img {
        height: 190px;
    }

    .footer {
        padding-top: 70px;
    }
    /* =========================
   CORRECCION DEFINITIVA LOGO
========================= */

.site-logo {
    width: 200px !important;
    max-width: 200px !important;
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
    position: relative !important;
    z-index: 30 !important;
}

.site-logo a {
    display: flex !important;
    align-items: center !important;
    width: auto !important;
    height: auto !important;
}

.site-logo-img {
    height: 48px !important;
    width: auto !important;
    max-width: 190px !important;
    object-fit: contain !important;
    display: block !important;
}

/* Anula cualquier regla vieja del logo */
.logo,
.logo a,
.logo img,
.logo-img {
    max-width: none;
}

/* Responsive */
@media (max-width: 900px) {
    .site-logo {
        width: 165px !important;
        max-width: 165px !important;
        height: 52px !important;
    }

    .site-logo-img {
        height: 40px !important;
        max-width: 155px !important;
    }
}

@media (max-width: 520px) {
    .site-logo {
        width: 140px !important;
        max-width: 140px !important;
        height: 46px !important;
    }

    .site-logo-img {
        height: 34px !important;
        max-width: 132px !important;
    }
}
}

/*A PARTIR DE ACA ES BIBLIOTECA*/
.hero-library{
    min-height:100vh;
    position:relative;
    overflow:hidden;
    background:#eef2f7;
}

/* EFECTO CÍRCULO */

.hero-library::before{
    content:"";
    position:absolute;
    width:850px;
    height:850px;
    background:rgba(255,255,255,0.55);
    border-radius:50%;
    top:-180px;
    right:-180px;
    z-index:0;
}

.hero-library-container{
    position:relative;
    z-index:2;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:60px;
    padding-top:60px;
}

.mini-tag{
    display:inline-block;
    background:#dceeff;
    color:#149bd7;
    padding:10px 18px;
    border-radius:50px;
    font-size:14px;
    font-weight:700;
    margin-bottom:25px;
}

.hero-library .hero-text h1{
    font-size:72px;
    line-height:1.1;
}

.hero-library .hero-text h1 span{
    color:#4b9cff;
}

.hero-library .hero-text p{
    max-width:650px;
    line-height:2;
    color:#596273;
    margin:25px 0 35px;
}

/* BUSCADOR */

.library-search{
    width:100%;
    max-width:560px;
    background:rgba(255,255,255,0.75);
    backdrop-filter:blur(10px);
    border-radius:20px;
    padding:10px;
    display:flex;
    align-items:center;
    box-shadow:0 10px 35px rgba(0,0,0,0.08);
    margin-bottom:35px;
}

.library-search input{
    flex:1;
    border:none;
    background:none;
    outline:none;
    padding:14px;
    font-size:16px;
    color:#333;
}

.library-search button{
    width:55px;
    height:55px;
    border:none;
    border-radius:14px;
    background:#149bd7;
    color:#fff;
    cursor:pointer;
    transition:.3s;
}

.library-search button:hover{
    transform:scale(1.05);
}

/* IMAGEN */

.library-image img{
    width:100%;
    max-width:560px;
    animation:floatImage 6s ease-in-out infinite;
}

/* BURBUJAS */

.floating-bubbles span{
    position:absolute;
    border-radius:50%;
    background:rgba(20,155,215,0.08);
    animation:floatBubble 10s infinite ease-in-out;
}

.floating-bubbles span:nth-child(1){
    width:120px;
    height:120px;
    left:8%;
    top:20%;
}

.floating-bubbles span:nth-child(2){
    width:70px;
    height:70px;
    right:18%;
    top:18%;
}

.floating-bubbles span:nth-child(3){
    width:180px;
    height:180px;
    bottom:10%;
    right:15%;
}

.floating-bubbles span:nth-child(4){
    width:90px;
    height:90px;
    bottom:15%;
    left:15%;
}

/* DOCUMENTOS */

.library-section{
    padding:100px 6%;
    background:transparent;
}

.library-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:35px;
}

.library-card{
    background:rgba(255,255,255,0.7);
    backdrop-filter:blur(10px);
    border-radius:28px;
    overflow:hidden;
    box-shadow:0 15px 40px rgba(0,0,0,0.07);
    transition:.4s;
}

.library-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 45px rgba(20,155,215,0.16);
}

.library-card-img img{
    width:100%;
    height:240px;
    object-fit:cover;
}

.library-card-content{
    padding:28px;
}

.library-category{
    display:inline-block;
    padding:8px 14px;
    border-radius:30px;
    background:#e5f4ff;
    color:#149bd7;
    font-size:13px;
    font-weight:700;
}

.library-card-content h3{
    margin:18px 0;
    color:#0b2c5f;
    font-size:24px;
}

.library-card-content p{
    color:#606b7b;
    line-height:1.8;
}

.library-buttons{
    display:flex;
    gap:15px;
    margin-top:25px;
}

.library-btn{
    flex:1;
    padding:14px;
    border-radius:14px;
    text-align:center;
    text-decoration:none;
    font-weight:700;
    transition:.3s;
}

.library-btn.view{
    background:#149bd7;
    color:#fff;
}

.library-btn.download{
    background:#0b2c5f;
    color:#fff;
}

.library-btn:hover{
    transform:translateY(-3px);
}

/* ANIMACIONES */

@keyframes floatBubble{

    0%{
        transform:translateY(0px);
    }

    50%{
        transform:translateY(-25px);
    }

    100%{
        transform:translateY(0px);
    }

}

@keyframes floatImage{

    0%{
        transform:translateY(0px);
    }

    50%{
        transform:translateY(-15px);
    }

    100%{
        transform:translateY(0px);
    }

}

/* RESPONSIVE */

@media(max-width:992px){

    .hero-library-container{
        flex-direction:column;
        text-align:center;
    }

    .hero-library .hero-text h1{
        font-size:54px;
    }

    .library-search{
        margin:auto auto 35px;
    }

}

@media(max-width:768px){

    .hero-library .hero-text h1{
        font-size:42px;
    }

    .library-grid{
        grid-template-columns:1fr;
    }

}

/*A PARTIR DE ACA ES PARA LOS PDFS*/
.pdf-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.65);
}

.pdf-modal.active {
    display: flex;
}

.pdf-modal-content {
    position: relative;
    width: min(1000px, 96vw);
    height: min(780px, 90vh);
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.pdf-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #0b5f7a;
    color: #fff;
    cursor: pointer;
}

.pdf-modal-content iframe {
    width: 100%;
    height: 100%;
    border: 0;
}


/*PARA EL BUSCADOR*/
.search-modal {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(7, 24, 33, 0.72);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.search-modal.active {
    opacity: 1;
    visibility: visible;
}

.search-modal-content {
    width: min(1050px, 96vw);
    max-height: 88vh;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 8px;
    padding: 28px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    transform: translateY(20px) scale(0.98);
    transition: transform 0.25s ease;
}

.search-modal.active .search-modal-content {
    transform: translateY(0) scale(1);
}

.search-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e8eef2;
}

.search-modal-tag {
    display: inline-flex;
    margin-bottom: 8px;
    color: #0b8fac;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.search-modal-header h2 {
    margin: 0;
    color: #102a35;
    font-size: 30px;
}

.search-modal-header p {
    margin: 8px 0 0;
    color: #60727b;
}

.search-modal-close {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #eef7f9;
    color: #0b5f7a;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.search-modal-close:hover {
    background: #0b5f7a;
    color: #fff;
    transform: rotate(90deg);
}

.search-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.search-result-card {
    overflow: hidden;
    border: 1px solid #e3edf1;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(16, 42, 53, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.search-result-card:hover {
    transform: translateY(-6px);
    border-color: #8bd3df;
    box-shadow: 0 18px 38px rgba(16, 42, 53, 0.16);
}

.search-result-image {
    position: relative;
    height: 170px;
    overflow: hidden;
    cursor: pointer;
}

.search-result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.search-result-card:hover .search-result-image img {
    transform: scale(1.08);
}

.search-result-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(11, 95, 122, 0.55);
    color: #fff;
    font-weight: 800;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.search-result-card:hover .search-result-overlay {
    opacity: 1;
}

.search-result-content {
    padding: 18px;
}

.search-result-content span {
    display: inline-flex;
    margin-bottom: 10px;
    color: #0b8fac;
    font-size: 13px;
    font-weight: 800;
}

.search-result-content h3 {
    margin: 0 0 10px;
    color: #102a35;
    font-size: 19px;
    line-height: 1.25;
}

.search-result-content p {
    margin: 0 0 16px;
    color: #5f717a;
    font-size: 14px;
    line-height: 1.55;
}

.search-result-go {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    color: #0b5f7a;
    font-weight: 800;
    cursor: pointer;
    padding: 0;
}

.search-result-go:hover {
    color: #0b9ec1;
}

.no-results {
    grid-column: 1 / -1;
    padding: 34px 20px;
    text-align: center;
    color: #60727b;
    background: #f4fafb;
    border: 1px dashed #b9dce4;
    border-radius: 8px;
    font-weight: 700;
}

.library-card-highlight {
    outline: 3px solid #0b9ec1;
    box-shadow: 0 0 0 8px rgba(11, 158, 193, 0.18);
}

@media (max-width: 640px) {
    .search-modal {
        padding: 14px;
    }

    .search-modal-content {
        padding: 20px;
    }

    .search-modal-header h2 {
        font-size: 24px;
    }

    .search-results {
        grid-template-columns: 1fr;
    }
}

/*NOSOTROS*/
.team-section {
    padding: 90px 8%;
    background: #f5fbfd;
}

.team-header {
    max-width: 720px;
    margin: 0 auto 46px;
    text-align: center;
}

.team-header span {
    display: inline-block;
    margin-bottom: 10px;
    color: #0b8fac;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.team-header h2 {
    margin-bottom: 14px;
    color: #102a35;
    font-size: 42px;
}

.team-header p {
    color: #60727b;
    font-size: 17px;
    line-height: 1.7;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.team-card {
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(16, 42, 53, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 46px rgba(16, 42, 53, 0.18);
}

.team-card-image {
    position: relative;
    height: 340px;
    overflow: hidden;
}

.team-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.team-card:hover .team-card-image img {
    transform: scale(1.08);
}

.team-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    background: linear-gradient(
        to top,
        rgba(7, 42, 54, 0.92),
        rgba(7, 42, 54, 0.45),
        transparent
    );
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.team-card:hover .team-card-overlay {
    opacity: 1;
    transform: translateY(0);
}

.team-card-overlay p {
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.6;
}

.team-socials {
    display: flex;
    gap: 10px;
}

.team-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    color: #0b5f7a;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.team-socials a:hover {
    background: #0b9ec1;
    color: #fff;
    transform: translateY(-3px);
}

.team-card-info {
    padding: 22px;
    text-align: center;
}

.team-card-info h3 {
    margin-bottom: 6px;
    color: #102a35;
    font-size: 22px;
}

.team-card-info span {
    color: #0b8fac;
    font-size: 15px;
    font-weight: 800;
}

@media (max-width: 640px) {
    .team-section {
        padding: 70px 6%;
    }

    .team-header h2 {
        font-size: 32px;
    }

    .team-card-image {
        height: 300px;
    }

    .team-card-overlay {
        opacity: 1;
        transform: none;
    }
}

/*ORDEN DE LA EMPRESA*/
.org-section {
    padding: 90px 6%;
    background: linear-gradient(180deg, #f6fbfd 0%, #ffffff 100%);
}

.org-header {
    max-width: 760px;
    margin: 0 auto 54px;
    text-align: center;
}

.org-header span {
    display: inline-block;
    margin-bottom: 10px;
    color: #0b8fac;
    font-weight: 800;
    text-transform: uppercase;
}

.org-header h2 {
    margin: 0 0 12px;
    color: #102a35;
    font-size: 42px;
}

.org-header p {
    color: #60727b;
    font-size: 17px;
    line-height: 1.7;
}

.org-chart {
    position: relative;
    max-width: 1120px;
    margin: 0 auto;
    padding: 34px 20px 10px;
}

.org-chart::before {
    content: "";
    position: absolute;
    top: 118px;
    bottom: 126px;
    left: 50%;
    width: 2px;
    background: linear-gradient(180deg, #0b9ec1, #d7edf2);
    transform: translateX(-50%);
}

.org-row {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 36px;
    margin-bottom: 42px;
}

.org-row::before {
    content: "";
    position: absolute;
    top: 38px;
    left: 50%;
    width: min(420px, 70%);
    height: 2px;
    background: #c6e4eb;
    transform: translateX(-50%);
    z-index: -1;
}

.org-row-top::before {
    width: 270px;
}

.org-row-bottom::before {
    width: min(760px, 86%);
}

.org-row-bottom {
    gap: 24px;
    margin-top: 6px;
    margin-bottom: 0;
}

.org-card {
    position: relative;
    width: 205px;
    min-height: 132px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.25s ease;
}

.org-card::before {
    content: "";
    position: absolute;
    top: 34px;
    left: 50%;
    width: 12px;
    height: 12px;
    background: #0b9ec1;
    border: 3px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(11, 158, 193, 0.16);
    transform: translate(-50%, -50%);
    z-index: -1;
}

.org-card:hover {
    transform: translateY(-8px);
}

.org-role {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 12px;
    background: #ffffff;
    border: 1px solid #d9ebf0;
    border-top: 5px solid #0b8fac;
    border-radius: 8px;
    color: #12313c;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
    box-shadow: 0 14px 30px rgba(16, 42, 53, 0.1);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.org-card:hover .org-role {
    border-color: #9bd8e3;
    box-shadow: 0 20px 42px rgba(16, 42, 53, 0.16);
}

.org-name {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 92%;
    margin-top: 10px;
    padding: 7px 12px;
    background: #0b5f7a;
    border-radius: 999px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(11, 95, 122, 0.2);
}

.org-info {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 16px);
    z-index: 10;
    width: 250px;
    padding: 14px;
    background: #ffffff;
    border: 1px solid #dcebf0;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(16, 42, 53, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(12px) scale(0.98);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.org-info::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -8px;
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-right: 1px solid #dcebf0;
    border-bottom: 1px solid #dcebf0;
    transform: translateX(-50%) rotate(45deg);
}

.org-card:hover .org-info {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
}

.org-info img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 10px;
}

.org-info p {
    margin: 0;
    color: #52666f;
    font-size: 14px;
    line-height: 1.45;
}

@media (max-width: 900px) {
    .org-chart {
        padding-top: 10px;
    }

    .org-chart::before,
    .org-row::before,
    .org-card::before {
        display: none;
    }

    .org-row,
    .org-row-bottom {
        flex-wrap: wrap;
        gap: 22px;
    }

    .org-card {
        width: min(235px, 100%);
    }
}

@media (max-width: 560px) {
    .org-section {
        padding: 70px 5%;
    }

    .org-header h2 {
        font-size: 32px;
    }

    .org-row,
    .org-row-bottom {
        flex-direction: column;
        align-items: center;
    }

    .org-card {
        width: 100%;
        max-width: 320px;
    }

    .org-info {
        position: static;
        width: 100%;
        margin-top: 12px;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .org-info::after {
        display: none;
    }
}
.org-name-double {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.org-name-double span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 10px;
    background: #0b5f7a;
    border-radius: 999px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(11, 95, 122, 0.2);
}
.org-info-double {
    width: 420px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.org-person img {
    height: 130px;
    margin-bottom: 8px;
}

.org-person h4 {
    margin: 0 0 6px;
    color: #102a35;
    font-size: 15px;
}

.org-person p {
    font-size: 13px;
}

@media (max-width: 560px) {
    .org-info-double {
        width: 100%;
        grid-template-columns: 1fr;
    }
}


/* BLOG */
.blog-navbar {
    position: relative;
    background: #ffffff;
    box-shadow: 0 8px 26px rgba(16, 42, 53, 0.08);
}

.blog-list-section {
    padding: 95px 8% 100px;
    background: linear-gradient(180deg, #f7fbfc 0%, #ffffff 38%);
}

.blog-page-title {
    max-width: 760px;
    margin: 0 auto 56px;
    text-align: center;
}

.blog-page-title span {
    display: inline-block;
    margin-bottom: 10px;
    color: #0b8fac;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.blog-page-title h1 {
    margin: 0 0 14px;
    color: #102a35;
    font-size: 44px;
    line-height: 1.15;
}

.blog-page-title p {
    margin: 0;
    color: #60727b;
    font-size: 17px;
    line-height: 1.7;
}

.blog-list-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 46px;
    max-width: 1120px;
    margin: 0 auto;
}

.blog-list-card {
    overflow: hidden;
    border: 1px solid #e1edf1;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(16, 42, 53, 0.09);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.blog-list-card:hover {
    transform: translateY(-7px);
    border-color: #a9dce6;
    box-shadow: 0 22px 48px rgba(16, 42, 53, 0.16);
}

.blog-list-image {
    display: block;
    width: 100%;
    height: 245px;
    border: 0;
    padding: 0;
    overflow: hidden;
    background: #eef6f8;
    cursor: pointer;
}

.blog-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease, filter 0.35s ease;
}

.blog-list-card:hover .blog-list-image img {
    transform: scale(1.07);
    filter: brightness(0.86);
}

.blog-list-body {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 20px;
    padding: 24px;
}

.blog-date {
    width: 56px;
    height: 62px;
    border: 2px solid #0b9ec1;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #0b5f7a;
    line-height: 1;
    background: #f4fbfd;
}

.blog-date strong {
    font-size: 24px;
    font-weight: 800;
}

.blog-date span {
    margin-top: 5px;
    color: #f43545;
    font-size: 11px;
    font-weight: 800;
}

.blog-list-content h2 {
    margin: 0 0 12px;
    font-size: 23px;
    line-height: 1.35;
    font-weight: 800;
    text-transform: uppercase;
}

.blog-title-btn {
    border: 0;
    background: transparent;
    padding: 0;
    color: #102a35;
    font: inherit;
    text-align: left;
    letter-spacing: 0;
    cursor: pointer;
    transition: color 0.2s ease;
}

.blog-title-btn:hover {
    color: #0b8fac;
}

.blog-list-content p {
    margin: 0;
    color: #52666f;
    font-size: 15px;
    line-height: 1.75;
}

.blog-red-line {
    width: 36px;
    height: 3px;
    margin: 24px 0 14px;
    background: #f43545;
}

.blog-published {
    color: #8a9ba2;
    font-size: 13px;
}

.blog-category-text {
    color: #f43545;
    font-weight: 800;
}

/* MODAL BLOG */
.blog-title-link {
    color: #102a35;
    text-decoration: none;
}

.blog-title-link:hover {
    color: #0b8fac;
}

.single-blog-section {
    max-width: 980px;
    margin: 0 auto;
    padding: 90px 7%;
}

.single-blog-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 34px;
    color: #0b5f7a;
    font-weight: 800;
    text-decoration: none;
}

.single-blog-back:hover {
    color: #0b9ec1;
}

.single-blog-header {
    text-align: center;
    margin-bottom: 34px;
}

.single-blog-header span {
    color: #f43545;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.single-blog-header h1 {
    margin: 12px 0 14px;
    color: #102a35;
    font-size: 44px;
    line-height: 1.15;
}

.single-blog-date {
    color: #0b8fac;
    font-weight: 800;
}

.single-blog-image {
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 34px;
}

.single-blog-image img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

.single-blog-content {
    color: #52666f;
    font-size: 17px;
    line-height: 1.9;
}

.single-blog-content p {
    margin-bottom: 22px;
}


/*BLOG FOOTER*/
.blog-author-box {
    margin-top: 56px;
    color: #102a35;
}

.blog-author-line {
    position: relative;
    height: 1px;
    background: #d9d9d9;
    margin: 0 0 46px;
}

.blog-author-line::before {
    content: "";
    position: absolute;
    left: 0;
    top: -1px;
    width: 45px;
    height: 3px;
    background: #f43545;
}

.blog-author-box h3 {
    margin: 0 0 22px;
    color: #072b45;
    font-size: 15px;
    font-weight: 400;
}

.blog-author-content {
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 20px;
    align-items: center;
    margin-bottom: 36px;
}

.blog-author-content img {
    width: 68px;
    height: 68px;
    object-fit: cover;
}

.blog-author-content p {
    margin: 0;
    color: #656565;
    font-size: 13px;
    line-height: 1.8;
}

.blog-author-box .blog-author-line:last-child {
    margin: 0;
}

@media (max-width: 560px) {
    .blog-author-content {
        grid-template-columns: 1fr;
    }

    .blog-author-content img {
        width: 86px;
        height: 86px;
    }
}