/* ==========================================================================
   AISHER PORTFOLIO - HOJA DE ESTILOS CSS CON CLASIFICACIÓN DE CONTENEDORES
   ========================================================================== */

/* --------------------------------------------------------------------------
   [FUENTE TIPOGRÁFICA PERSONALIZADA]
   Función: Cargar y aplicar la fuente 'Rubita Smile' desde la carpeta fuentes
   -------------------------------------------------------------------------- */
@font-face {
    font-family: 'Rubita Smile';
    src: url('../fuentes/Rubita Smile.ttf') format('truetype'),
        url('../fuentes/rubita_smile/Rubita Smile.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    /* Paleta de Colores */
    --header-bg: #dcdcdb;
    --sec-foto-bg: #414040;
    --sec-brand-bg: #4b4d58;
    --sec-web-bg: #384666;
    --sec-about-bg: #3f3e3c;
    --sec-contact-bg: #dcdcdb;
    --contact-card-bg: #384666;

    --accent-orange: #d8543f;
    --text-light: #d5d5d5;
    --text-dark: #1a1a1a;
    --input-bg: #a0a6b2;
    --input-placeholder: #ececec;

    --font-titulos: 'Rubita Smile', cursive, sans-serif;
    --font-cuerpo: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ==========================================================================
   RESETEO UNIVERSAL Y TIPOGRAFÍA
   ========================================================================== */

/* Reseteo Universal y Box-Sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Tipografía exclusiva para Encabezados */
h1,
h2,
h3,
span {
    font-family: var(--font-titulos);
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Tipografía Base para Cuerpo, Párrafos y Enlaces */

p,
a,
input,
button,
textarea,
select {
    font-family: var(--font-cuerpo);
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}



html {
    scroll-behavior: smooth;
    background-color: #121212;
    -webkit-font-smoothing: antialiased;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background-color: #1a1a1a;

}

/* ==========================================================================
   [CONTENEDOR 1: APP-CONTAINER]
   Clasificación: Marco Contenedor Principal de la Aplicación Móvil
   Función: Establecer el viewport de ancho máximo (440px) y sombreado
   ========================================================================== */
.app-container {
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    background-color: #1a1a1a;
    position: relative;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    padding-top: 60px;
}

/* ==========================================================================
   [CONTENEDOR 2: SITE-HEADER]
   Clasificación: Barra Superior de Navegación Fija (Fixed Header)
   Función: Posicionar el logo de marca e icono del menú en fondo claro (#dcdcdb)
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--header-bg);
    height: 60px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
}

.logo-group {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header-logo-icon {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.menu-btn {
    background: transparent;
    border: none;
    font-size: 30px;
    color: var(--text-dark);
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   [CONTENEDOR 3: DRAWER-OVERLAY]
   Clasificación: Capa de Fondo Oscuro Difuminado (Overlay)
   Función: Opacar la vista al abrir el menú y permitir cerrar al pulsar fuera
   ========================================================================== */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    z-index: 1900;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* ==========================================================================
   [CONTENEDOR 4: NAV-DRAWER]
   Clasificación: Menú Desplegable Lateral (Despliegue del 70% de la pantalla)
   Función: Deslizar el panel lateral con la lista de enlaces desde la derecha
   ========================================================================== */
.nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 70vw;
    /* Despliegue del 70% */
    max-width: 70vw;
    height: 100vh;
    background: #232733;
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    padding: 24px 20px;
}

.nav-drawer.open {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 16px;
    margin-bottom: 24px;
}

.drawer-logo-icon {
    height: 30px;
    margin-right: 8px;
    vertical-align: middle;
}

.logo-text {
    color: #fff;
    font-size: 1.3rem;
}

.drawer-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.drawer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.drawer-link {
    color: #d5d5d5;
    text-decoration: none;
    font-size: 1.05rem;
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: color 0.2s;
}

.drawer-link:hover {
    color: var(--accent-orange);
}

/* ==========================================================================
   [CONTENEDOR 5: MAIN-CONTENT]
   Clasificación: Contenedor Estructural Principal (<main>)
   Función: Administrar el flujo de bloques verticales del cuerpo de la app
   ========================================================================== */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   [CONTENEDOR 6: HERO-SECTION]
   Clasificación: Banner Hero de Portada (#hero)
   Función: Presentar la fotografía panorámica de iglesia y el isotipo "Aisher"
   ========================================================================== */
.hero-section {
    position: relative;
    height: 380px;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 30px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-logo-title {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.8));
}

/* Base Común de Secciones del Portafolio */
.portfolio-section,
.profile-section {
    padding: 36px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ==========================================================================
   [CONTENEDOR 7: SEC-FOTOGRAFIA]
   Clasificación: Sección Trabajos Fotográficos (#fotografia)
   Función: Dar estilo al bloque de color gris carbón (#414040) y tarjeta fotográfica
   ========================================================================== */
.sec-fotografia {
    background-color: var(--sec-foto-bg);
}

/* ==========================================================================
   [CONTENEDOR 8: SEC-BRANDING]
   Clasificación: Sección Proyectos de Branding (#branding)
   Función: Dar estilo al bloque gris pizarra (#4b4d58) y mosaico geométrico
   ========================================================================== */
.sec-branding {
    background-color: var(--sec-brand-bg);
}

/* ==========================================================================
   [CONTENEDOR 9: SEC-WEB]
   Clasificación: Sección Diseño Web (#web)
   Función: Dar estilo al bloque azul marino oscuro (#384666) y tarjeta web
   ========================================================================== */
.sec-web {
    background-color: var(--sec-web-bg);
}

/* ==========================================================================
   [CONTENEDOR GALERÍA: SEC-GALERIA]
   Clasificación: Sección Galería de Imágenes (#galeria)
   Función: Dar estilo al bloque azul slate (#384666), título Aisher y contenedores
   ========================================================================== */
.sec-galeria {
    background-color: var(--sec-web-bg);
    padding: 30px 20px 50px 20px;
}

.galeria-title-wrapper {
    margin-bottom: 24px;
    text-align: center;
    width: 100%;
}

.galeria-main-logo {
    font-family: var(--font-titulos);
    font-size: 3.2rem;
    color: #000000;
    text-align: center;
    line-height: 1;
    letter-spacing: 1px;
    text-shadow:
        -2px -2px 0 var(--accent-orange),
        2px -2px 0 var(--accent-orange),
        -2px 2px 0 var(--accent-orange),
        2px 2px 0 var(--accent-orange),
        0px 4px 10px rgba(0, 0, 0, 0.5);
    margin: 10px 0 16px 0;
}

.galeria-cards-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

/* --------------------------------------------------------------------------
   [TARJETAS CONTENEDORAS DE LA GALERÍA DE IMÁGENES - FIEL A LA REFERENCIA]
   -------------------------------------------------------------------------- */
.gallery-card {
    width: 100%;
    background-color: #9ea4b1;
    border-radius: 18px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.gallery-card-img-box {
    width: 100%;
    height: 220px;
    border-radius: 14px;
    overflow: hidden;
    background-color: #1a1a1a;
}

.gallery-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 14px;
    transition: transform 0.35s ease;
}

.gallery-card:hover .gallery-card-img {
    transform: scale(1.03);
}

.gallery-card-body {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 14px;
}

.gallery-card-title {
    color: #1a1a1a;
    font-size: 1.65rem;
    font-weight: normal;
    text-align: center;
    margin-bottom: 8px;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.gallery-card-desc {
    color: #1a1a1a;
    font-size: 0.86rem;
    line-height: 1.45;
    text-align: center;
    margin-bottom: 16px;
    padding: 0 4px;
}

.gallery-card-btn {
    width: 100%;
    background-color: var(--accent-orange);
    color: #1a1a1a;
    border: none;
    border-radius: 4px;
    padding: 11px 16px;
    font-size: 1rem;
    font-family: var(--font-custom);
    cursor: pointer;
    text-align: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.2s, transform 0.1s;
}

.gallery-card-btn:hover {
    background-color: #e5624c;
}

.gallery-card-btn:active {
    transform: scale(0.98);
}

/* ==========================================================================
   [CONTENEDOR TABLERO / DETALLES: VISTA TLABLEROS.HTML]
   Clasificación: Sección Estructural del Tablero "Iglesias de Cundinamarca"
   Función: Presentar el banner oscuro hero, grillas de imágenes y botón píldora
   ========================================================================== */
.tablero-hero-section {
    background-color: #0c0d10;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 24px;
}

.tablero-hero-header {
    width: 100%;
    padding: 10px 20px 20px 20px;
    text-align: center;
}

.tablero-hero-title {
    font-family: var(--font-titulos);
    font-size: 2.1rem;
    color: #ffffff;
    line-height: 1.25;
    font-weight: bold;
    text-align: center;
    margin: 0;
    letter-spacing: 0.5px;
}

.tablero-hero-img-box {
    width: 100%;
    height: 380px;
    overflow: hidden;
    background-color: #000;
}

.tablero-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tablero-content-section {
    background-color: #3f3e3c;
    padding: 24px 16px 44px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.tablero-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
    margin-bottom: 16px;
}

.tablero-img-item {
    width: 100%;
    height: 170px;
    border-radius: 14px;
    overflow: hidden;
    background-color: #1a1a1a;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.tablero-single-img-box {
    width: 100%;
    height: 210px;
    border-radius: 14px;
    overflow: hidden;
    background-color: #1a1a1a;
    margin-bottom: 16px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.tablero-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 14px;
    transition: transform 0.35s ease;
}

.tablero-img-item:hover .tablero-card-img,
.tablero-single-img-box:hover .tablero-card-img {
    transform: scale(1.03);
}

.tablero-text-box {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 28px;
    padding: 0 4px;
}

.tablero-desc {
    color: #ffffff;
    font-size: 0.88rem;
    line-height: 1.55;
    text-align: left;
    opacity: 0.95;
    font-family: Arial, Helvetica, sans-serif;
}

.tablero-action-box {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

.tablero-contact-btn {
    background-color: #dcdcdb;
    color: #1a1a1a;
    font-family: var(--font-cuerpo);
    font-size: 1.05rem;
    font-weight: bold;
    border-radius: 30px;
    padding: 12px 46px;
    text-decoration: none;
    display: inline-block;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    transition: background-color 0.2s, transform 0.1s, box-shadow 0.2s;
    text-transform: lowercase;
}

.tablero-contact-btn:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.tablero-contact-btn:active {
    transform: scale(0.97);
}

.tablero-hero-img,
.tablero-card-img {
    cursor: pointer;
}

/* ==========================================================================
   [CONTENEDOR 14: TABLERO-IMAGE-MODAL]
   Clasificación: Ventana Modal Especial de Imagen para Tableros (Fiel a la Referencia)
   Función: Presentar la imagen seleccionada arriba con botón X rojo y cuerpo azul slate (#384666)
   ========================================================================== */
.tablero-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 3500;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.tablero-modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.tablero-modal-container {
    width: 100%;
    max-width: 440px;
    height: 92vh;
    max-height: 92vh;
    background-color: var(--sec-web-bg);
    /* Fondo Azul Slate #384666 */
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.7);
}

.tablero-modal-backdrop.active .tablero-modal-container {
    transform: translateY(0);
}

.tablero-modal-img-wrapper {
    position: relative;
    width: 100%;
    min-height: 260px;
    max-height: 48vh;
    background-color: #b2bbd9;
    overflow: hidden;
}

.tablero-modal-close-btn {
    position: absolute;
    top: 10px;
    right: 14px;
    z-index: 30;
    background: transparent;
    border: none;
    color: #e53935;
    /* Rojo vibrante  */
    font-size: 2.6rem;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.9));
    transition: transform 0.2s ease, color 0.2s ease;
}

.tablero-modal-close-btn:hover {
    color: #ff5252;
    transform: scale(1.15);
}

.tablero-modal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tablero-modal-content-body {
    background-color: var(--sec-web-bg);
    /* #384666 */
    padding: 28px 22px 40px 22px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tablero-modal-title {
    font-family: var(--font-titulos);
    font-size: 1.85rem;
    color: #ffffff;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.25;
    letter-spacing: 0.5px;
}

.tablero-modal-subtitle {
    font-family: var(--font-titulos);
    font-size: 1.35rem;
    color: #ffffff;
    font-weight: lighter;
    margin-bottom: 12px;
    margin-top: 6px;
}

.tablero-modal-desc {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.88rem;
    color: #ffffff;
    line-height: 1.55;
    opacity: 0.95;
}

/* Botón cerrar del tablero hero */
.tablero-hero-header {
    position: relative;
}

.tablero-close-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    padding: 6px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.tablero-close-btn:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: scale(1.1);
}

/* ==========================================================================
   [CONTENEDOR 10: SEC-ABOUT]
   Clasificación: Sección Biografía Andrés Sandoval (#about)
   Función: Dar estilo al bloque gris pardo (#3f3e3c), foto retrato y trayectoria
   ========================================================================== */
.sec-about {
    background-color: var(--sec-about-bg);
}

.section-header {
    margin-bottom: 20px;
    text-align: center;
}

.section-title {
    color: var(--accent-orange);
    font-size: 1.7rem;
    font-weight: bold;
    text-align: center;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.section-card-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.portfolio-card {
    width: 100%;
    cursor: pointer;
}

/* --------------------------------------------------------------------------
   [ESTILOS DEL SLIDER EN TARJETAS DE CONTENIDO - TRASLADO CADA 3 SEGUNDOS]
   -------------------------------------------------------------------------- */
.card-img-slider-container {
    width: 100%;
    height: 210px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    margin-bottom: 20px;
    background: #000;
    position: relative;
}

.profile-avatar-slider-container {
    width: 100%;
    height: 260px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    margin: 16px 0 20px 0;
    background: #000;
    position: relative;
}

.slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.slide-item {
    min-width: 100%;
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    position: relative;
}

.slide-item .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.portfolio-card:hover .slide-item .card-img {
    transform: scale(1.04);
}

.card-desc,
.profile-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 16px;
    padding: 0 4px;
}

/* Botones de Flecha del Slider (Anterior / Siguiente) */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: #ffffff;
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.slider-arrow:hover {
    background-color: var(--accent-orange);
    transform: translateY(-50%) scale(1.08);
}

.slider-arrow-prev {
    left: 10px;
}

.slider-arrow-next {
    right: 10px;
}

/* Puntos Indicadores del Carrusel Sincronizados */
.carousel-dots {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 12px 0 8px 0;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot.active {
    background-color: #ffffff;
    transform: scale(1.25);
}

/* Perfil y Avatar de Andrés Sandoval */
.profile-content-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.profile-left-col {
    width: 100%;
    display: flex;
    justify-content: center;
}

.profile-right-col {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.profile-avatar-wrapper {
    width: 220px;
    height: 220px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-subtitle {
    color: var(--accent-orange);
    font-size: 1.6rem;
    font-weight: bold;
    margin: 20px 0 12px 0;
    text-align: center;
}

/* ==========================================================================
   [CONTENEDOR 11: SEC-CONTACTO]
   Clasificación: Sección de Formulario de Contacto (#contacto)
   Función: Estilizar el fondo claro (#dcdcdb) y centrar la tarjeta de formulario
   ========================================================================== */
.contact-section {
    background-color: var(--sec-contact-bg);
    padding: 40px 24px 50px 24px;
}

.contact-main-title {
    color: var(--text-dark);
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 24px;
    text-transform: lowercase;
}

/* Tarjeta Interna del Formulario */
.contact-card {
    background-color: var(--contact-card-bg);
    border-radius: 20px;
    padding: 28px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    width: 100%;
}

.form-input,
.form-textarea {
    width: 100%;
    background-color: var(--input-bg);
    border: none;
    border-radius: 8px;
    padding: 14px 16px;
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
    transition: background-color 0.2s;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--input-placeholder);
    opacity: 0.9;
}

.form-textarea {
    resize: vertical;
    min-height: 95px;
}

.submit-btn {
    background-color: var(--accent-orange);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 10px 28px;
    font-size: 1rem;
    cursor: pointer;
    align-self: center;
    margin-top: 8px;
    box-shadow: 0 4px 12px rgba(216, 84, 63, 0.4);
    transition: background-color 0.2s, transform 0.1s;
}

.submit-btn:hover {
    background-color: #e5624c;
}

.submit-btn:active {
    transform: scale(0.97);
}

.ver-mas-btn {
    display: inline-block;
    text-decoration: none;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.form-feedback {
    display: none;
    color: #a3e635;
    text-align: center;
    font-size: 0.9rem;
    margin-top: 12px;
}

/* ==========================================================================
   [CONTENEDOR 12: PROJECT-MODAL]
   Clasificación: Ventana Modal Emergente
   Función: Presentar la ficha técnica extendida y galería del proyecto activo
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(52, 55, 59, 0.85);
    backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    width: 100%;
    max-width: 440px;
    height: 85vh;
    background: #1a1f2c;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.35s ease;
    display: flex;
    flex-direction: column;
}

.modal-backdrop.active .modal-container {
    transform: translateY(0);
}

.modal-header-nav {
    position: sticky;
    top: 0;
    background: #12151f;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
}

.modal-logo-icon {
    height: 24px;
    margin-right: 8px;
    vertical-align: middle;
}

.modal-close-btn {
    background: none;
    border: none;
    padding: 0;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-hero-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.modal-hero-img.svg-mode {
    object-fit: contain;
    background-color: #8493c2;
    padding: 24px;
}

.modal-content-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-project-title {
    color: var(--accent-orange);
    font-size: 1.4rem;
}

.modal-section-heading {
    color: #fff;
    font-size: 1rem;
    margin-top: 6px;
}

.modal-description {
    color: var(--text-light);
    font-size: 0.88rem;
    line-height: 1.6;
}

.modal-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.modal-gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.modal-gallery-item:hover {
    transform: translateY(-2px);
    border-color: rgba(216, 84, 63, 0.6);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.modal-gallery-item.active {
    border-color: var(--accent-orange);
    box-shadow: 0 0 10px rgba(216, 84, 63, 0.5);
}

.modal-gallery-img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    display: block;
    border-radius: 6px;
    transition: transform 0.25s ease;
}

.modal-gallery-item:hover .modal-gallery-img {
    transform: scale(1.03);
}

/* ==========================================================================
   [CONTENEDOR 13: SITE-FOOTER]
   Clasificación: Pie de Página Fijo
   Función: Dar estilo al pie de página inferior en fondo claro
   ========================================================================== */
.site-footer {
    background-color: var(--sec-contact-bg);
    color: var(--text-dark);
    text-align: center;
    padding: 20px;
    font-size: 0.8rem;
}

.footer-content {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.footer-copy {
    display: flex;
    align-items: center;
    text-align: center;
}

.footer-social {
    display: flex;
    align-items: center;
    position: absolute;
    right: 30px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-link:hover {
    transform: scale(1.15);
    opacity: 0.85;
}

.social-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* ==========================================================================
   NAVEGACIÓN DESKTOP (Oculta por defecto en móvil)
   ========================================================================== */
.desktop-nav {
    display: none;
    align-items: center;
    gap: 24px;
}

.desktop-nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 6px 2px;
    position: relative;
    transition: color 0.3s ease;
}

.desktop-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-orange);
    transition: width 0.3s ease;
}

.desktop-nav-link:hover {
    color: var(--accent-orange);
}

.desktop-nav-link:hover::after {
    width: 100%;
}

/* ==========================================================================
   MEDIA QUERIES RESPONSIVE
   ========================================================================== */

/* --------------------------------------------------------------------------
   BREAKPOINT XS: Teléfonos muy pequeños (≤360px)
   Dispositivos: iPhone SE, Galaxy S mini
   -------------------------------------------------------------------------- */
@media (max-width: 360px) {
    .app-container {
        padding-top: 50px;
    }

    .site-header {
        height: 50px;
        padding: 0 14px;
    }

    .header-logo-icon {
        height: 30px;
    }

    .menu-btn {
        font-size: 24px;
    }

    .hero-section {
        height: 260px;
        padding-top: 20px;
    }

    .hero-logo-title {
        max-width: 150px;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .portfolio-section,
    .profile-section {
        padding: 24px 16px;
    }

    .card-img-slider-container {
        height: 170px;
        border-radius: 12px;
        margin-bottom: 14px;
    }

    .card-desc,
    .profile-desc {
        font-size: 0.82rem;
    }

    .profile-subtitle {
        font-size: 1.3rem;
    }

    .contact-section {
        padding: 28px 16px 36px 16px;
    }

    .contact-main-title {
        font-size: 1.25rem;
    }

    .contact-card {
        padding: 20px 14px;
        border-radius: 14px;
    }

    .form-input,
    .form-textarea {
        padding: 11px 13px;
        font-size: 0.88rem;
    }

    .submit-btn {
        padding: 9px 22px;
        font-size: 0.9rem;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .modal-container {
        height: 90vh;
    }

    .modal-hero-img {
        height: 170px;
    }

    .site-footer {
        font-size: 0.7rem;
        padding: 14px;
    }

    .footer-content {
        flex-direction: column;
        gap: 10px;
    }

    .footer-social {
        position: static;
        right: auto;
        justify-content: center;
    }

    .social-icon {
        width: 24px;
        height: 24px;
    }
}

/* --------------------------------------------------------------------------
   BREAKPOINT MD: Tablets en vertical (441px – 768px)
   Dispositivos: iPad vertical, tablets Android
   -------------------------------------------------------------------------- */
@media (min-width: 441px) and (max-width: 768px) {
    .app-container {
        padding-top: 65px;
    }

    .site-header {
        height: 65px;
        padding: 0 28px;
    }

    .header-logo-icon {
        height: 42px;
    }

    .hero-section {
        height: 420px;
        padding-top: 40px;
    }

    .hero-logo-title {
        max-width: 240px;
    }

    .section-title {
        font-size: 2rem;
    }

    .portfolio-section,
    .profile-section {
        padding: 44px 36px;
    }

    .card-img-slider-container {
        height: 280px;
        border-radius: 18px;
    }

    .card-desc,
    .profile-desc {
        font-size: 1rem;
        padding: 0 12px;
    }

    .profile-subtitle {
        font-size: 1.8rem;
    }

    .contact-section {
        padding: 48px 36px 56px 36px;
    }

    .contact-main-title {
        font-size: 1.7rem;
    }

    .contact-card {
        padding: 32px 28px;
        max-width: 560px;
        margin: 0 auto;
    }

    .form-input,
    .form-textarea {
        padding: 16px 18px;
        font-size: 1rem;
    }

    .submit-btn {
        padding: 12px 36px;
        font-size: 1.05rem;
    }

    .modal-container {
        max-width: 600px;
    }

    .modal-hero-img {
        height: 280px;
    }

    .modal-gallery-img {
        height: 140px;
    }

    .nav-drawer {
        width: 55vw;
        max-width: 55vw;
    }

    .site-footer {
        font-size: 0.85rem;
        padding: 24px;
    }

    .footer-content {
        flex-direction: row;
    }

    .footer-social {
        position: absolute;
        right: 20px;
    }

    .social-icon {
        width: 26px;
        height: 26px;
    }
}

/* --------------------------------------------------------------------------
   BREAKPOINT LG: Tablets horizontal / Laptops (769px – 1024px)
   Dispositivos: iPad horizontal, laptops pequeños
   -------------------------------------------------------------------------- */
@media (min-width: 769px) and (max-width: 1024px) {
    .app-container {
        padding-top: 70px;
    }

    /* Header: mostrar nav desktop, ocultar hamburguesa */
    .site-header {
        height: 70px;
        padding: 0 36px;
    }

    .menu-btn {
        display: none;
    }

    .desktop-nav {
        display: flex;
    }

    .desktop-nav-link {
        font-size: 0.9rem;
    }

    .header-logo-icon {
        height: 44px;
    }

    /* Hero */
    .hero-section {
        height: 480px;
        padding-top: 50px;
    }

    .hero-logo-title {
        max-width: 280px;
    }

    /* Secciones de portafolio */
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 8px;
    }

    .portfolio-section,
    .profile-section {
        padding: 52px 48px;
    }

    .section-card-wrapper {
        max-width: 640px;
    }

    .card-img-slider-container {
        height: 320px;
        border-radius: 20px;
    }

    .card-desc,
    .profile-desc {
        font-size: 1.05rem;
        max-width: 600px;
    }

    /* About: layout horizontal 2 columnas (Imagen Izq, Texto Der) */
    .profile-content-box {
        flex-direction: row;
        gap: 32px;
        align-items: flex-start;
        max-width: 850px;
        margin: 0 auto;
    }

    .profile-left-col {
        width: auto;
        flex-shrink: 0;
    }

    .profile-right-col {
        flex: 1;
        text-align: left;
    }

    .profile-right-col .profile-desc {
        text-align: left;
        padding: 0;
        max-width: none;
    }

    .profile-right-col .profile-subtitle {
        text-align: left;
        font-size: 1.8rem;
        margin: 16px 0 10px 0;
    }

    .profile-avatar-wrapper {
        width: 260px;
        height: 260px;
        border-radius: 16px;
        overflow: hidden;
        flex-shrink: 0;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    }

    /* Galería responsive en tablet/desktop */
    .sec-galeria {
        padding: 50px 40px 70px 40px;
    }

    .galeria-cards-wrapper {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 28px;
        max-width: 1000px;
        width: 100%;
        margin: 0 auto;
    }

    /* Contacto */
    .contact-section {
        padding: 52px 48px 60px 48px;
    }

    .contact-main-title {
        font-size: 1.8rem;
    }

    .contact-card {
        max-width: 600px;
        margin: 0 auto;
        padding: 36px 32px;
    }

    /* Formulario en 2 columnas */
    .contact-form {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .contact-form .form-group:nth-child(1) {
        grid-column: 1;
    }

    .contact-form .form-group:nth-child(2) {
        grid-column: 2;
    }

    .contact-form .form-group:nth-child(3) {
        grid-column: 1 / -1;
    }

    .contact-form .submit-btn {
        grid-column: 1 / -1;
        justify-self: center;
    }

    .contact-form .form-feedback {
        grid-column: 1 / -1;
    }

    /* Modal */
    .modal-container {
        max-width: 700px;
        height: 80vh;
    }

    .modal-hero-img {
        height: 300px;
    }

    .modal-gallery-img {
        height: 160px;
    }

    .site-footer {
        font-size: 0.9rem;
        padding: 28px;
    }

    .footer-social {
        right: 30px;
    }

    .social-icon {
        width: 28px;
        height: 28px;
    }
}

/* --------------------------------------------------------------------------
   BREAKPOINT XL: Escritorio (≥1025px)
   Dispositivos: Monitores, laptops grandes
   -------------------------------------------------------------------------- */
@media (min-width: 1025px) {
    .app-container {
        padding-top: 72px;
    }

    /* Header: nav desktop con más espacio */
    .site-header {
        height: 72px;
        padding: 0 60px;
    }

    .menu-btn {
        display: none;
    }

    .desktop-nav {
        display: flex;
        gap: 32px;
    }

    .desktop-nav-link {
        font-size: 1rem;
    }

    .header-logo-icon {
        height: 46px;
    }

    /* Hero */
    .hero-section {
        height: 520px;
        padding-top: 60px;
    }

    .hero-logo-title {
        max-width: 320px;
    }

    .hero-overlay {
        background: linear-gradient(180deg,
                rgba(0, 0, 0, 0.35) 0%,
                rgba(0, 0, 0, 0.05) 40%,
                rgba(0, 0, 0, 0.1) 60%,
                rgba(0, 0, 0, 0.5) 100%);
    }

    /* Secciones de portafolio */
    .section-title {
        font-size: 2.4rem;
        margin-bottom: 10px;
        text-align: left;
    }

    .section-header {
        margin-bottom: 28px;
    }

    .portfolio-section,
    .profile-section {
        padding: 60px 80px;
    }

    .section-card-wrapper {
        max-width: 750px;
    }

    .card-img-slider-container {
        height: 380px;
        border-radius: 22px;
    }

    .card-desc,
    .profile-desc {
        font-size: 1.1rem;
        line-height: 1.7;
        max-width: 680px;
    }

    .portfolio-card:hover .slide-item .card-img {
        transform: scale(1.06);
    }

    /* About: layout horizontal expandido 2 columnas */
    .profile-content-box {
        flex-direction: row;
        gap: 48px;
        align-items: flex-start;
        max-width: 950px;
        margin: 0 auto;
    }

    .profile-left-col {
        width: auto;
        flex-shrink: 0;
    }

    .profile-right-col {
        flex: 1;
        text-align: left;
    }

    .profile-right-col .profile-desc {
        text-align: left;
        padding: 0;
        max-width: none;
    }

    .profile-right-col .profile-subtitle {
        text-align: left;
        font-size: 2rem;
        margin: 20px 0 12px 0;
    }

    .profile-avatar-wrapper {
        width: 300px;
        height: 300px;
        border-radius: 18px;
        overflow: hidden;
        flex-shrink: 0;
        box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
    }

    /* Galería responsive en escritorio (>1025px) */
    .sec-galeria {
        padding: 60px 60px 80px 60px;
    }

    .galeria-cards-wrapper {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 410px));
        justify-content: center;
        gap: 32px;
        max-width: 1350px;
        width: 100%;
        margin: 0 auto;
    }

    .gallery-card {
        width: 100%;
        max-width: 410px;
        max-height: 425.55px;
    }

    /* Dots más grandes */
    .dot {
        width: 14px;
        height: 14px;
    }

    .carousel-dots {
        gap: 14px;
        margin: 16px 0 10px 0;
    }

    /* Contacto */
    .contact-section {
        padding: 60px 80px 70px 80px;
    }

    .contact-main-title {
        font-size: 2rem;
        margin-bottom: 32px;
    }

    .contact-card {
        max-width: 680px;
        margin: 0 auto;
        padding: 40px 36px;
        border-radius: 24px;
    }

    /* Formulario en 2 columnas */
    .contact-form {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .contact-form .form-group:nth-child(1) {
        grid-column: 1;
    }

    .contact-form .form-group:nth-child(2) {
        grid-column: 2;
    }

    .contact-form .form-group:nth-child(3) {
        grid-column: 1 / -1;
    }

    .contact-form .submit-btn {
        grid-column: 1 / -1;
        justify-self: center;
    }

    .contact-form .form-feedback {
        grid-column: 1 / -1;
    }

    .form-input,
    .form-textarea {
        padding: 16px 20px;
        font-size: 1.05rem;
        border-radius: 10px;
    }

    .submit-btn {
        padding: 13px 40px;
        font-size: 1.1rem;
        border-radius: 8px;
    }

    /* Modal */
    .modal-backdrop {
        align-items: center;
    }

    .modal-container {
        max-width: 800px;
        height: 85vh;
        border-radius: 20px;
    }

    .modal-hero-img {
        height: 340px;
    }

    .modal-gallery-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .modal-gallery-img {
        height: 160px;
        border-radius: 10px;
    }

    .modal-content-body {
        padding: 28px 32px;
    }

    .modal-project-title {
        font-size: 1.6rem;
    }

    /* Footer */
    .site-footer {
        font-size: 0.9rem;
        padding: 30px 60px;
    }

    .footer-social {
        right: 30px;
    }

    .social-icon {
        width: 30px;
        height: 30px;
    }
}

/* ==========================================================================
   BOTONES DE SELECCIÓN MÚLTIPLE EN LA PARTE INFERIOR DE LA GALERÍA
   ========================================================================== */
.galeria-filter-wrapper {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    padding: 0 16px;
}

.galeria-filter-btn {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(4px);
}

.galeria-filter-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.galeria-filter-btn.active {
    background: #ffffff;
    color: #1e293b;
    border-color: #ffffff;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.galeria-filter-btn .filter-icon {
    font-size: 0.9rem;
    line-height: 1;
}

/* ==========================================================================
   ANIMACIONES DE TRANSICIÓN PARA TARJETAS DE GALERÍA AL FILTRAR
   ========================================================================== */
.gallery-card {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

@keyframes galleryCardEnter {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.gallery-card-entering {
    animation: galleryCardEnter 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    opacity: 0;
}