/* Estilos Exclusivos para la Página de Inicio (index.html) */
.hero-home { height: 80vh; min-height: 600px; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white-color); position: relative; background-size: cover; background-position: center; }
.hero-home::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); }
.hero-home-content { position: relative; z-index: 2; max-width: 800px; padding: 20px; }
.hero-home h1 { font-size: 3.5rem; color: var(--white-color); margin-bottom: 1rem; font-weight: 700; }
.hero-home p { font-size: 1.2rem; color: rgba(255,255,255,0.9); margin-bottom: 2rem; text-align: center; }
.btn-hero { padding: 15px 35px; font-size: 1rem; }
.features-bar { padding: 4rem 0; border-bottom: 1px solid var(--border-color); }
.features-bar .container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.feature-item { display: flex; align-items: center; gap: 1.5rem; }
.feature-item i { font-size: 3rem; color: var(--primary-color); }
.feature-text h4 { margin-bottom: 0.25rem; font-size: 1.2rem; }
.feature-text p { margin-bottom: 0; font-size: 0.95rem; text-align: left;}
.services-section { padding: 5rem 0; background-color: var(--light-color); }
.home-services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.home-service-card { background: var(--white-color); border-radius: var(--border-radius); box-shadow: var(--shadow-light); overflow: hidden; transition: all 0.3s ease; display: flex; flex-direction: column; }
.home-service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-deep); }
.home-service-card img { width: 100%; height: 300px; object-fit: cover; }
.card-content { padding: 2rem; flex-grow: 1; display: flex; flex-direction: column; }
.card-content h3 { font-size: 1.4rem; margin-bottom: 1rem; }
.card-content p { font-size: 0.95rem; margin-bottom: 1.5rem; flex-grow: 1; }
.btn-card { font-weight: 600; margin-top: auto; }
.why-choose-us-section { padding: 5rem 0; }
.grid-2-col-why-us { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.why-us-text .pre-title { display: inline-block; padding: 6px 15px; background-color: #e2f0e5; color: var(--primary-color); border-radius: 50px; font-size: 0.8rem; margin-bottom: 1rem; }
.why-us-text .section-title { text-align: left; }
.btn-dark { background-color: var(--dark-color); color: var(--white-color); border: 2px solid var(--dark-color); margin-top: 1rem; }
.btn-dark:hover { background-color: #000; border-color: #000; }
.accordion-item { background-color: var(--white-color); margin-bottom: 1rem; border-radius: var(--border-radius); box-shadow: var(--shadow-light); }
.accordion-header { width: 100%; background: none; border: none; padding: 1.5rem; font-size: 1.1rem; font-weight: 600; text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.accordion-header i { transition: transform 0.3s ease; }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.accordion-content p { padding: 0 1.5rem 1.5rem 1.5rem; margin: 0; }
.accordion-item.active .accordion-header i { transform: rotate(180deg); }
.accordion-item.active .accordion-content { max-height: 200px; }

/* RESPONSIVE HOME */
@media (max-width: 992px) {
    .features-bar .container, .home-services-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-2-col-why-us { grid-template-columns: 1fr; }
    .why-us-text, .why-us-text .section-title { text-align: center; }
}
@media (max-width: 768px) {
    .hero-home { min-height: 500px; }
    .hero-home h1 { font-size: 2.5rem; }
    .hero-home p { font-size: 1.1rem; }
    .features-bar .container, .home-services-grid { grid-template-columns: 1fr; }
    .why-us-text p, .hero-home p { text-align: center; }
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.accordion-header.active + .accordion-content {
  max-height: 500px; /* suficiente para texto */
}
