/* ================================================================= */
/* ESTILOS GENERALES */
/* ================================================================= */
footer {
    margin-top: 2rem;
}

/* ================================================================= */
/* ESTILOS INDEX */
/* ================================================================= */
.home-page {
    background-color: #fff;
}

.home-kicker {
    font-size: .95rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #6c757d;
}

.home-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.1;
    margin: 0;
}

.home-lead {
    font-size: 1.05rem;
    color: #495057;
    max-width: 60ch;
}

.home-section-title {
    font-size: 1.75rem;
    line-height: 1.2;
    margin: 0;
}

.home-box {
    height: 100%;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    border-radius: 1rem;
    background-color: #fff;
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .04);
}

.home-card {
    height: 100%;
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 1rem;
    background-color: #fff;
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .04);
    display: flex;
    flex-direction: column;
}

.home-card-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    border-radius: .75rem;
    margin-bottom: 1rem;
    background-color: #f8f9fa;
}

.home-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}

.home-tag {
    display: inline-block;
    padding: .45rem .85rem;
    border-radius: 999px;
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #e2e2e2;
    font-size: .9rem;
    line-height: 1;
}

.home-card .btn {
    margin-top: auto;
}

.home-repo .btn {
    margin-top: .5rem;
}

/* ================================================================= */
/* ESTILOS WEB CENTRO DE ESTUDIOS ALDERETE */
/* ================================================================= */
/* -- estilo tags -- */
.project-tag {
    margin-top: 30px;
    display: inline-block;
    padding: .5rem .95rem;
    border-radius: 999px;
    background-color: #0d6efd;
    color: #fff;
    text-decoration: none;
    font-size: .9rem;
    line-height: 1;
    transition: background-color .2s ease, transform .2s ease;
}

.project-tag:visited {
    color: #fff;
}

.project-tag:hover,.project-tag:focus,.project-tag:active {
    background-color: #0d6efd;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.project-tag:focus-visible {
    outline: 3px solid rgba(13, 110, 253, 0.35);
    outline-offset: 3px;
}

/* -- para imagenes de la pagina centro de estudios -- */
.image-button {
    cursor: zoom-in;
    width: 100%;
}

.project-image {
    transition: transform .25s ease, box-shadow .25s ease;
}

.image-button:hover .project-image {
    transform: scale(1.01);
}

.image-button:focus-visible {
    outline: 3px solid #0d6efd;
    outline-offset: 6px;
    border-radius: 12px;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.project-tag {
    display: inline-block;
    padding: .5rem .95rem;
    border-radius: 999px;
    background-color: #0d6efd;
    color: #fff;
    text-decoration: none;
    font-size: .9rem;
    line-height: 1;
    transition: background-color .2s ease, transform .2s ease;
}

.project-tag:hover {
    background-color: #0b5ed7;
    transform: translateY(-1px);
}

.project-tag:focus-visible {
    outline: 3px solid rgba(13, 110, 253, 0.35);
    outline-offset: 3px;
}

/* ================================================================= */
/* ESTILOS WEB ALDERETE SPORTS */
/* ================================================================= */
.project-subnav {
    position: sticky;
    top: 56px;
    z-index: 1020;
    background-color: #fff;
    border-bottom: 1px solid #e9ecef;
    padding: .75rem 0;
    width: 100%;
}
/* -- reutilizo estilos de tags del proyecto centro de estudios -- */
/* .project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
} */

section[id] {
    scroll-margin-top: 140px;
}

/* ================================================================= */
/* ESTILOS WEB PROTOTIPO INTERACTIVO */
/* ================================================================= */
.img-pantallas {
    width: 100%;
    height: 400px;
    object-fit: contain;
    display: block;
}

.double-image-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    align-items: start;}

.half-preview {
    width: 100%;
}

.img-grillas-columnas {
    width: 100%;
    height: 240px;
    object-fit: contain;
    display: block;
    background-color: #f8f9fa;
    border-radius: .75rem;
}

.small-preview {
    border: 1px solid #dee2e6;
    border-radius: .5rem;
    background-color: #f8f9fa;
    padding: .25rem;
}

.gallery-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 1rem;
    padding: 1rem;
    height: 100%;
}

.gallery-card p {
    margin-bottom: 0;
}

#pantallas {
    scroll-margin-top: 160px;
}

/* ================================================================= */
/* ESTILOS WEB BIBLIOTECA ALDERETE */
/* ================================================================= */
.video-preview img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.project-video .btn {
    margin-top: .5rem;
}
/* ================================================================= */
/* ESTILOS WEB NUTRIAPP KALDE */
/* ================================================================= */
.project-hero .image-button {
    display: block;
    max-width: 360px;
    margin-inline: auto;
}

.project-hero .project-image {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    display: block;
}
/* ================================================================= */
/* ESTILOS MI SITIO */
/* ================================================================= */
.home-card-compact {
    max-width: 760px;
    margin-inline: auto;
    padding: 1rem;
}

.home-card-image-compact {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-radius: .75rem;
    margin-bottom: 1rem;
    background-color: #f8f9fa;
}

.home-extra-project .home-card h3 {
    font-size: 1.35rem;
}

.home-extra-project .home-card p {
    max-width: 60ch;
}