/* --- Variables de Color (Continuidad) --- */
:root {
    --color-background-soft: #F5F5F5; /* Fondo gris claro */
    --color-background-card: #FFFFFF; /* Fondo blanco */
    --color-text-dark: #1C1C1E;   /* Texto principal (Negro) */
    --color-text-mid: #5A5A5A;    /* Párrafos */
    --color-text-light: #999999;  /* Texto de ítems */
    --color-accent-blue: #4A90E2; /* Azul Vibrante */
    --color-light-blue: #EAF3FF; /* Fondo de icono principal */
    --color-border-card: #E0E0E0; /* Borde sutil */
    --border-radius-card: 8px;
    --font-primary: 'Helvetica Neue', Arial, sans-serif;
}

/*====================================================================
  1. ESTILOS BASE Y CONTENEDOR PRINCIPAL
======================================================================*/
body {
    background-color: var(--color-background-soft);
    font-family: var(--font-primary);
    line-height: 1.6;
}

main {
    max-width: 100%x;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
    background-color: var(--color-background-soft);
}

/* --- Icono Principal (Rayo Azul) --- */
main > img:first-child {
    height: 100px;
    width: 100px;
    padding: 15px;
    margin-bottom: 25px;
    
    /* Estilo del contenedor de la imagen */
    border: 1px solid var(--color-light-blue);
    border-radius: 12px;
    
    /* Nota: Si el icono SVG es monocromo, usa un filtro para teñirlo de azul: */
    filter: invert(36%) sepia(85%) saturate(1636%) hue-rotate(200deg) brightness(98%) contrast(90%); 
}

/* --- Icono Principal (Rayo Azul) --- */
main > img:first-child {
    height: 100px;
    width: 100px;
    padding: 15px;
    margin-bottom: 25px;
    
    /* Estilo del contenedor de la imagen */
    border: 1px solid var(--color-light-blue);
    border-radius: 12px;
    
    /* Nota: Si el icono SVG es monocromo, usa un filtro para teñirlo de azul: */
    filter: invert(36%) sepia(85%) saturate(1636%) hue-rotate(200deg) brightness(98%) contrast(90%); 
}

/* --- Título H1 --- */
main h1 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 800;
    color: var(--color-text-dark);
    margin-bottom: 15px;
    line-height: 1.2;
}

/* Separar el título en dos colores (Negro y Azul) */
main span {
    content: "  construcción";
    color: var(--color-accent-blue);
}

/* --- Párrafo Descriptivo --- */
main p {
    font-size: 1.05em;
    color: var(--color-text-mid);
    max-width: 500px;
    margin: 0 auto 40px;
}


/*====================================================================
  2. ÍTEMS DE ESTADO (PROXIMAMENTE)
======================================================================*/
/* Contenedor Flex para los ítems */
main > div:nth-of-type(1),
main > div:nth-of-type(2) {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: left;
    
    /* Estilo de la tarjeta */
    background-color: var(--color-background-card);
    border: 1px solid var(--color-border-card);
    border-radius: var(--border-radius-card);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin: 0 10px 30px;
}

/* Primer Div dentro del ítem: El icono */
.card > div:first-child {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}

.card img {
    height: 25px;
    width: 25px;
    margin-right: 10px;
}

/* Estilo del Primer Icono (Clock / Azul) */
.card:first-of-type img {
    filter: invert(36%) sepia(85%) saturate(1636%) hue-rotate(200deg) brightness(98%) contrast(90%);
}
/* Estilo del Segundo Icono (Rayo / Negro) */
.card:nth-of-type(2) img {
    filter: invert(10%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(10%) contrast(100%);
}


/* Segundo Div dentro del ítem: Los textos */
.card > div:last-child {
    line-height: 1.2;
}

.card > div:last-child p:first-child {
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 2px;
}

.card > div:last-child p:last-child {
    font-size: 0.85em;
    color: var(--color-text-light);
}

/*====================================================================
  3. BOTONES DE ACCIÓN
======================================================================*/
.button {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.button a {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    font-size: 1em;
    transition: background-color 0.3s, box-shadow 0.3s, color 0.3s;
}

.button a:last-child:hover {
    background-color: #333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.button a:first-child:hover {
    background-color: #F8F8F8;
    border-color: #C0C0C0;
}

/* --- Responsive --- */
@media (max-width: 500px) {
    .button {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .button a {
        width: 100%;
        justify-content: center;
    }
    
    main > div:nth-of-type(1),
    main > div:nth-of-type(2) {
        width: 90%;
        margin: 10px auto;
        justify-content: flex-start;
        flex-direction: row;
        gap: 15px;
        height: auto;
    }
}
