/* Tipografía y Títulos */

/* Estilo de título de sección general */
.section-title {
    position: relative;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 55px;
    padding-bottom: 15px;
    text-transform: capitalize; /* Añadido basado en .products .section-title */
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* Usado para animación, si es necesario */
.section-title.appear::after {
    width: 80px;
}

/* Título estilo "Fancy" (Ej: About) */
.fancy-title { 
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #001f54; /* Color específico de style4 */
    text-align: center; /* Asumo centrado */
}

.fancy-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    margin: 25px auto 0;
    border-radius: 2px;
}

/* Título con Gradiente (Ej: Contacto) */
.gradient-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 25px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

/* Texto resaltado genérico */
.highlight {
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding: 0 5px;
    z-index: 1;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: rgba(var(--primary-rgb), 0.1);
    z-index: -1;
    transition: height 0.3s ease;
}

/* Resaltado dentro de título gradiente */
.gradient-title .highlight {
    color: var(--primary-color);
    font-weight: 800;
    background: none;
    -webkit-text-fill-color: var(--primary-color);
    text-fill-color: var(--primary-color); /* Necesario para Firefox/otros */
}

/* Texto con acento (línea animada debajo) */
.accent-text {
    color: var(--accent-color);
    position: relative;
    display: inline-block;
    text-shadow: 0 0 15px rgba(var(--accent-rgb), 0.5);
}

.accent-text::after {
    content: "";
    position: absolute;
    height: 12px;
    width: 100%;
    bottom: 8px;
    left: 0;
    background: rgba(var(--accent-rgb), 0.25);
    z-index: -1;
    transform: scaleX(0.3);
    transform-origin: left;
    animation: accentLineExtend 1.5s 0.5s forwards cubic-bezier(0.215, 0.610, 0.355, 1.000);
    border-radius: 6px;
}

/* Títulos y descripciones específicos de Hero (ajustar si es necesario) */
.hero-label { /* También llamado .hero-badge en algunos sitios */
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    color: white;
    padding: 8px 16px; /* Ajustado desde 12px 24px en style4 */
    border-radius: 30px;
    font-size: 0.9rem; /* Ajustado desde 15px en style4 */
    font-weight: 600; /* Ajustado desde 700 en style4 */
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15); /* Ajustado desde style4 */
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
    text-shadow: none;
    /* Animaciones (si se sacan de hero.css) */
    /* transform: translateY(-30px); */
    /* opacity: 0; */
    /* animation: fadeInUp 0.8s ease 0.2s forwards; */
}

.hero-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 70%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 3s infinite;
}

.hero-title { /* Estilo base para h2 dentro de .hero */
    font-size: 4rem; /* Ajustado desde 4.5rem en style4 */
    font-weight: 700; /* Ajustado desde 800 en style4 */
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7); /* Ajustado desde style4 */
    line-height: 1.1;
    letter-spacing: -0.5px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
    /* Animaciones (si se sacan de hero.css) */
    /* transform: translateY(30px); */
    /* opacity: 0; */
    /* animation: fadeInUp 0.8s ease 0.4s forwards; */
}

.hero-description { /* Estilo base para p dentro de .hero */
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px; /* Ajustado desde 40px en style4 */
    max-width: 100%;
    line-height: 1.8;
    font-weight: 300;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7); /* Añadido desde style1 */
    /* Animaciones (si se sacan de hero.css) */
    /* opacity: 0; */
    /* transform: translateY(30px); */
    /* animation: fadeInUp 0.8s ease 0.6s forwards; */
    /* animation: fadeIn 1.5s 0.3s forwards; */
}

/* Texto principal/headline fuera del hero */
.headline-text {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 300;
    max-width: 600px;
}

/* Separador visual con icono */
.title-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
}

.title-separator span {
    width: 40px;
    height: 1px;
    background-color: rgba(0,0,0,0.1);
    display: block;
}

.title-separator span:last-child {
    margin-left: 15px;
}

.title-separator i {
    margin: 0 15px;
    color: var(--accent-color);
    animation: pulse 2s infinite;
} 