/**
 * Estilos para Tu Ruta Tu Desarrollo
 * 
 * @package Grupo_Mexico
 */

/* ============================================
   VARIABLES Y CONFIGURACIÓN
   ============================================ */

:root {
    --tu-ruta-primary: #9B1C1C;
    --tu-ruta-primary-hover: #7F1D1D;
    --tu-ruta-bg-light: #F9FAFB;
}

/* ============================================
   WRAPPER PRINCIPAL
   ============================================ */

.tu-ruta__wrapper {
    background-color: var(--tu-ruta-bg-light);
    min-height: 100vh;
}

/* ============================================
   LAYOUT PRINCIPAL 75-25
   ============================================ */

.tu-ruta__main-wrapper {
    padding: 60px 0 80px;
}

.tu-ruta__grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

.tu-ruta__main-section {
    min-width: 0;
}

.tu-ruta__sidebar {
    position: sticky;
    top: 100px;
}

/* ============================================
   TOOLS GRID (2x2)
   ============================================ */

.tu-ruta__tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.tu-ruta__tool-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.tu-ruta__tool-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.tu-ruta__tool-card-icon {
    width: 48px;
    height: 48px;
    background-color: var(--tu-ruta-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.tu-ruta__tool-icon {
    width: 24px;
    height: 24px;
    color: #FFFFFF;
}

.tu-ruta__tool-card-title {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    color: #111827;
    margin: 0 0 12px 0;
}

.tu-ruta__tool-card-description {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: #6B7280;
    margin: 0 0 16px 0;
}

.tu-ruta__tool-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--tu-ruta-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.tu-ruta__tool-card-link:hover {
    color: var(--tu-ruta-primary-hover);
}

.tu-ruta__tool-card-link svg {
    width: 16px;
    height: 16px;
}

/* ============================================
   SIDEBAR CONTACT
   ============================================ */

.tu-ruta__sidebar-contact {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tu-ruta__sidebar-title {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: #111827;
    margin: 0 0 20px 0;
}

.tu-ruta__contact-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tu-ruta__contact-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
}

.tu-ruta__contact-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tu-ruta__contact-info {
    text-align: center;
}

.tu-ruta__contact-name {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #111827;
    margin: 0 0 4px 0;
}

.tu-ruta__contact-position {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    color: #6B7280;
    margin: 0;
}

.tu-ruta__contact-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 0;
    border-top: 1px solid #E5E7EB;
}

.tu-ruta__contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    color: #4B5563;
}

.tu-ruta__contact-item svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: #9CA3AF;
}

.tu-ruta__contact-button {
    display: block;
    width: 100%;
    padding: 12px 24px;
    background-color: var(--tu-ruta-primary);
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.tu-ruta__contact-button:hover {
    background-color: var(--tu-ruta-primary-hover);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .tu-ruta__hero {
        height: 300px;
    }

    .tu-ruta__hero-title {
        font-size: 40px;
    }

    .tu-ruta__hero-subtitle {
        font-size: 16px;
    }

    .tu-ruta__main-wrapper {
        padding: 50px 0 70px;
    }

    .tu-ruta__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .tu-ruta__sidebar {
        position: static;
        max-width: 100%;
    }

    .tu-ruta__tools-grid {
        gap: 20px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .tu-ruta__hero {
        height: 250px;
    }

    .tu-ruta__hero-title {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .tu-ruta__hero-subtitle {
        font-size: 14px;
    }

    .tu-ruta__main-wrapper {
        padding: 40px 0 60px;
    }

    .tu-ruta__grid {
        gap: 30px;
    }

    .tu-ruta__tools-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .tu-ruta__tool-card {
        padding: 24px;
    }

    .tu-ruta__tool-card-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 16px;
    }

    .tu-ruta__tool-icon {
        width: 20px;
        height: 20px;
    }

    .tu-ruta__tool-card-title {
        font-size: 18px;
    }

    .tu-ruta__sidebar-contact {
        padding: 20px;
    }
}
