
@font-face {
  font-family: 'Roboto';
  src: url('assets/Roboto-VariableFont_wdth,wght.ttf') format('truetype');
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Roboto, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #f4f5f7;
    color: #1e293b;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/*-- Barra de Navegación Superior --*/
.top-nav-bar {
    background-color: #000000;
    color: #ffffff;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid #111111;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.9rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.back-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.back-link:hover {
    background-color: #ffffff;
    color: #000000;
    transform: translateX(-3px);
}

.main-menu {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.main-menu a {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.main-menu a:hover,
.main-menu a.active {
    color: #ffffff;
    font-weight: 700;
}

/*-- Encabezado del Encargo --*/
.page-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 3rem 1.5rem 5rem 1.5rem;
    flex: 1;
}

.encargo-header-info {
    margin-bottom: 2.5rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 1.5rem;
}

.encargo-tag {
    display: inline-block;
    background-color: #000000;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.3em 0.8em;
    margin-bottom: 0.8rem;
}

.encargo-title-text {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.encargo-desc-text {
    font-size: 1.05rem;
    color: #64748b;
    max-width: 800px;
    line-height: 1.5;
}

/* ==========================================================================
   MAQUETACIÓN DE LA INTERFAZ DISE UDEC
   ========================================================================== */

.dise-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    background-color: #f4f5f7;
}

/* Sección Superior */
.dise-top-section {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 3.5rem;
    margin-bottom: 3.5rem;
    align-items: start;
}

.dise-intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.dise-main-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
    margin: 0 0 1.2rem 0;
    letter-spacing: -0.5px;
}

.dise-orange-bar {
    width: 42px;
    height: 5px;
    background-color: #e58914;
    margin-bottom: 1.4rem;
    border-radius: 2px;
}

.dise-intro-text {
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.6;
    margin: 0 0 1.8rem 0;
}

.dise-intro-text strong {
    color: #0f172a;
    font-weight: 700;
}

.dise-btn {
    background-color: #e58914;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.75rem 1.4rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.2s ease, transform 0.2s ease;
    border: none;
    box-shadow: 0 2px 6px rgba(229, 137, 20, 0.3);
}

.dise-btn:hover {
    background-color: #d17808;
    transform: translateY(-2px);
}

.dise-icon {
    display: inline-block;
    transition: transform 0.2s ease;
}

.dise-btn:hover .dise-icon {
    transform: translate(2px, -2px);
}

/* Grilla 2x2 de Tarjetas */
.dise-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.dise-card {
    background-color: #ffffff;
    padding: 1.5rem 1.3rem;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dise-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.dise-card-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.8rem;
}

.dise-tag-square {
    width: 8px;
    height: 8px;
    background-color: #2b4570;
    display: inline-block;
    flex-shrink: 0;
}

.dise-card-title {
    font-size: 1.12rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    margin: 0;
}

/* Sección Inferior: Banner Talleres Deportivos */
.dise-banner-card {
    display: flex;
    background-color: #172a45;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.15);
}

.dise-banner-info {
    flex: 1;
    padding: 3.2rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
    background-color: #172a45;
}

.dise-banner-tag {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #cbd5e1;
    margin-bottom: 1.4rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.dise-banner-tag-square {
    width: 8px;
    height: 8px;
    background-color: #60a5fa;
    display: inline-block;
    flex-shrink: 0;
}

.dise-banner-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 1rem 0;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.dise-slate-bar {
    width: 38px;
    height: 4px;
    background-color: #64748b;
    margin-bottom: 1.4rem;
    border-radius: 2px;
}

.dise-banner-text {
    font-size: 0.88rem;
    color: #e2e8f0;
    line-height: 1.65;
    margin: 0 0 2rem 0;
}

.dise-banner-btn {
    align-self: flex-start;
}

.dise-banner-img-wrapper {
    flex: 1.25;
    position: relative;
    min-height: 420px;
    background-color: #0f172a;
}

.dise-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ==========================================================================
   RESPONSIVIDAD
   ========================================================================== */
@media (max-width: 900px) {
    .dise-top-section {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .dise-banner-card {
        flex-direction: column;
    }

    .dise-banner-info {
        padding: 2.2rem 1.8rem;
    }

    .dise-banner-img-wrapper {
        min-height: 280px;
    }
}

@media (max-width: 600px) {
    .nav-container {
        flex-direction: column;
        gap: 0.8rem;
        align-items: flex-start;
    }

    .main-menu {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .dise-cards-grid {
        grid-template-columns: 1fr;
    }

    .dise-main-title,
    .dise-banner-title {
        font-size: 1.8rem;
    }

    .encargo-title-text {
        font-size: 1.7rem;
    }
}
