.home-faq {
padding: 64px 24px;
background-color: #ffffff;
}
.home-faq__container {
max-width: 900px;
margin: 0 auto;
}
.home-faq__titulo {
font-family: 'Roboto', sans-serif;
font-weight: 700;
font-size: 1.75rem;
line-height: 1.2;
color: #1A0E00;
margin: 0 0 32px;
text-align: center;
}
.home-faq__lista {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
gap: 12px;
}
.home-faq__item {
border: 1px solid #ECE6DD;
border-radius: 6px;
background-color: #ffffff;
overflow: hidden;
opacity: 0;
transform: translateY(16px);
transition: opacity 0.7s ease, transform 0.7s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.home-faq__item.is-visible {
opacity: 1;
transform: translateY(0);
}
.home-faq__item:hover {
border-color: #1A0E00;
box-shadow: 0 2px 8px rgba(26, 14, 0, 0.06);
}
.home-faq__item.is-open {
border-color: #1A0E00;
}
.home-faq__detalle {
width: 100%;
}
.home-faq__detalle[open] .home-faq__icono {
transform: rotate(180deg);
}
.home-faq__resumen {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
padding: 18px 24px;
cursor: pointer;
list-style: none;
user-select: none;
background-color: #ffffff;
transition: background-color 0.2s ease;
}
.home-faq__resumen::-webkit-details-marker {
display: none;
}
.home-faq__resumen:hover {
background-color: #FFE0C1;
}
.home-faq__pregunta {
font-family: 'Roboto', sans-serif;
font-weight: 500;
font-size: 1rem;
line-height: 1.4;
color: #1A0E00;
margin: 0;
flex: 1;
}
.home-faq__icono {
display: inline-flex;
align-items: center;
justify-content: center;
width: 24px;
height: 24px;
color: currentColor;
flex-shrink: 0;
transition: transform 0.3s ease;
}
.home-faq__icono svg {
width: 18px;
height: 18px;
}
.home-faq__respuesta {
font-family: 'Lato', sans-serif;
font-weight: 400;
font-size: 0.95rem;
line-height: 1.6;
color: #1A0E00;
padding: 0 24px 20px;
border-top: 1px solid #ECE6DD;
}
.home-faq__respuesta > * {
margin: 16px 0 0;
}
.home-faq__respuesta > *:last-child {
margin-bottom: 0;
}
@media (max-width: 921px) {
.home-faq {
padding: 48px 20px;
}
.home-faq__titulo {
font-size: 1.5rem;
margin-bottom: 24px;
}
.home-faq__resumen {
padding: 16px 20px;
}
.home-faq__respuesta {
padding: 0 20px 16px;
}
}
@media (max-width: 544px) {
.home-faq {
padding: 40px 16px;
}
.home-faq__titulo {
font-size: 1.3rem;
}
.home-faq__pregunta {
font-size: 0.95rem;
}
.home-faq__respuesta {
font-size: 0.9rem;
}
}