/* =========================================================
   Talleres Kaiju — Estilos de páginas interiores
   - page-taller-tabletagrafica.php
   - page-quienessomos.php
   Se carga desde functions.php solo en esas plantillas.
   ========================================================= */

:root {
    --tk-cyan: #12b3d3;
    --tk-cyan-dark: #0794b1;
    --tk-cyan-soft: rgba(18, 179, 211, 0.45);
    --tk-blue-deep: #05558a;
    --tk-ink: #1d1d1d;
    --tk-text: #333333;
    --tk-nav-offset: 96px;
}

/* Título con subrayado "pastilla + puntos" */
.tk-title-deco {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0.5rem 0 1.1rem;
}

.tk-title-deco span {
    display: block;
    width: 52px;
    height: 5px;
    border-radius: 10px;
    background: var(--tk-cyan);
}

.tk-title-deco i {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--tk-cyan);
}

/* =========================================================
   TALLER TABLETA GRÁFICA
   ========================================================= */
.tk-workshop-page {
    margin-top: var(--tk-nav-offset);
    padding: 2.25rem 0 3.5rem;
    background: #ffffff;
}

.tk-workshop-hero {
    margin-bottom: 2rem;
}

.tk-workshop-title {
    font-size: clamp(1.9rem, 2.8vw, 2.6rem);
    font-weight: 700;
    color: var(--tk-ink);
    line-height: 1.15;
    margin: 0;
}

.tk-workshop-page p {
    color: var(--tk-text);
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 0.95rem;
}

.tk-workshop-page p strong {
    color: var(--tk-ink);
}

.tk-workshop-intro p {
    margin-bottom: 0.15rem;
}

.tk-workshop-intro {
    margin-bottom: 1rem;
}

.tk-workshop-details h2 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--tk-ink);
    margin: 1.4rem 0 1rem;
}

.tk-detail-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2rem;
    row-gap: 0.9rem;
}

.tk-detail-grid li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.95rem;
    color: var(--tk-text);
}

.tk-detail-grid li strong {
    color: var(--tk-ink);
}

.tk-detail-grid i {
    color: var(--tk-cyan);
    font-size: 1.05rem;
    width: 1.25rem;
    text-align: center;
    flex-shrink: 0;
}

.tk-workshop-image-wrap {
    margin: 0;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    background: #f2f2f2;
}

.tk-workshop-image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 460px;
    object-fit: cover;
}

/* Horarios */
.tk-workshop-schedule h2 {
    font-size: clamp(1.7rem, 2.4vw, 2.2rem);
    font-weight: 700;
    color: var(--tk-ink);
    margin-bottom: 0.9rem;
}

.tk-workshop-schedule h2 .tk-accent {
    color: var(--tk-cyan);
}

.tk-schedule-table {
    border: 2px solid var(--tk-cyan);
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(18, 179, 211, 0.12);
}

.tk-schedule-row {
    display: grid;
    grid-template-columns: 1.55fr 1fr 1.05fr 0.95fr 1fr 1.5fr;
    align-items: center;
    min-height: 62px;
}

.tk-schedule-row + .tk-schedule-row {
    border-top: 2px solid var(--tk-cyan);
}

.tk-cell {
    position: relative;
    padding: 0.7rem 0.9rem;
    color: var(--tk-ink);
    font-size: 1rem;
    text-align: center;
    white-space: nowrap;
}

/* Separadores verticales cortos, como en el diseño */
.tk-cell + .tk-cell::before {
    content: "";
    position: absolute;
    left: 0;
    top: 26%;
    bottom: 26%;
    width: 2px;
    border-radius: 2px;
    background: var(--tk-cyan);
}

.tk-cell-day {
    text-align: left;
    font-weight: 700;
    text-transform: uppercase;
}

.tk-cell-action a {
    display: inline-block;
    background: var(--tk-cyan);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.55rem 0.9rem;
    border-radius: 5px;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease;
}

.tk-cell-action a:hover,
.tk-cell-action a:focus {
    background: var(--tk-cyan-dark);
    color: #ffffff;
    transform: translateY(-1px);
}

@media (max-width: 1199px) {
    .tk-cell {
        font-size: 0.92rem;
        padding: 0.65rem 0.6rem;
    }

    .tk-cell-action a {
        font-size: 0.78rem;
        padding: 0.5rem 0.65rem;
    }
}

@media (max-width: 991px) {
    :root {
        --tk-nav-offset: 88px;
    }

    .tk-workshop-image-wrap img {
        min-height: 320px;
        max-height: 420px;
    }

    .tk-schedule-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tk-cell {
        text-align: left;
        white-space: normal;
        border-bottom: 1px solid var(--tk-cyan-soft);
    }

    .tk-cell + .tk-cell::before {
        display: none;
    }

    .tk-cell-day {
        grid-column: span 2;
        background: rgba(18, 179, 211, 0.08);
    }

    .tk-cell-action {
        grid-column: span 2;
        border-bottom: none;
        text-align: center;
    }

    .tk-cell-action a {
        width: 100%;
        white-space: normal;
    }
}

@media (max-width: 575px) {
    :root {
        --tk-nav-offset: 82px;
    }

    .tk-workshop-page {
        padding: 1.75rem 0 2.5rem;
    }

    .tk-workshop-page p {
        font-size: 0.95rem;
    }

    .tk-detail-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   QUIÉNES SOMOS
   ========================================================= */
.tk-about-page {
    margin-top: var(--tk-nav-offset);
}

.tk-about-section {
    position: relative;
    color: #ffffff;
    padding: 2.5rem 0 3rem;
    background:
        radial-gradient(ellipse at 0% 0%, rgba(120, 220, 240, 0.85) 0%, rgba(120, 220, 240, 0) 45%),
        linear-gradient(115deg, #3fb6d8 0%, #1789bf 32%, #0b6aa6 62%, var(--tk-blue-deep) 100%);
}

.tk-about-section h1 {
    font-size: clamp(2rem, 3.4vw, 2.9rem);
    font-weight: 700;
    line-height: 1.12;
    margin-bottom: 1.4rem;
    color: #ffffff;
}

.tk-about-section p {
    font-size: 1.08rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.96);
}

.tk-about-section strong {
    color: #ffffff;
    font-weight: 700;
}

.tk-about-subtitle {
    font-style: italic;
    margin-top: 0.4rem;
}

.tk-about-image-wrap {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(0, 20, 50, 0.38);
}

.tk-about-image-wrap img {
    display: block;
    width: 100%;
    min-height: 280px;
    object-fit: cover;
}

/* Franja inferior (reemplaza al footer general en esta página) */
.tk-about-bottom {
    background: #d6f3fb;
}

.tk-about-bottom-inner {
    min-height: 92px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0;
}

.tk-about-bottom-inner img {
    height: 48px;
    width: auto;
}

.tk-about-bottom-inner p {
    margin: 0;
    color: #3b3b3b;
    font-size: 0.9rem;
    text-align: center;
    align-self: end;
}

body.tk-page-quienessomos .footer {
    display: none;
}

@media (max-width: 991px) {
    .tk-about-section {
        padding: 2rem 0 2.4rem;
    }

    .tk-about-section p {
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    .tk-about-bottom-inner {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .tk-about-bottom-inner img {
        height: 40px;
    }
}

@media (max-width: 575px) {
    .tk-about-section h1 {
        font-size: 1.9rem;
    }

    .tk-about-section p {
        font-size: 0.97rem;
    }
}
