/* Design System: Limpieza Hogar Providencia */
:root {
  --primary-color: #2d7a3e; /* Fresh Green */
  --primary-dark: #1e5229;
  --secondary-color: #e8f5e9;
  --accent-color: #25d366; /* WhatsApp Green */
  --text-main: #2d3436;
  --text-light: #636e72;
  --bg-light: #ffffff;
  --bg-gray: #f9fbf9;
  --shadow: 0 4px 20px rgba(45, 122, 62, 0.08);
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

h1, h2, h3 {
  color: var(--primary-color);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--accent-color);
  color: white;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  background-color: #20bd5a;
}

/* Header */
header {
  height: 80px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--text-main);
}

.main-nav {
  margin: 0 20px;
}

.main-nav a {
  font-weight: 600;
  color: var(--text-main);
  transition: var(--transition);
  font-size: 1rem;
}

.main-nav a:hover {
  color: var(--primary-color);
}

.footer-nav {
  margin-bottom: 20px;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.footer-links a {
  color: white;
  opacity: 0.8;
  font-weight: 500;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
}

/* Hero Section */
.hero {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero-content h1 {
  font-size: 3.2rem;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 30px;
}

.hero-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
}

.hero-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover; /* Prevents stretching */
}

/* Beneficios */
.beneficios {
  padding: 100px 0;
  background: var(--bg-gray);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.beneficio-card {
  background: white;
  padding: 40px 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.beneficio-card:hover {
  transform: translateY(-5px);
}

.beneficio-card i {
  font-size: 2.8rem;
  margin-bottom: 20px;
  display: block;
}

/* Servicios */
.servicios {
  padding: 100px 0;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.servicio-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: white;
  transition: var(--transition);
}

.servicio-card:hover {
  transform: scale(1.02);
}

.servicio-img {
  height: 240px;
  background-size: cover;
  background-position: center;
}

.servicio-info {
  padding: 30px;
}

.servicio-info h3 {
  margin-bottom: 15px;
}

/* Zonas */
.zonas {
  padding: 80px 0;
  background: var(--primary-color);
  color: white;
  text-align: center;
}

.zonas h2 {
  color: white;
  margin-bottom: 40px;
}

.zonas-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.zona-tag {
  background: rgba(255, 255, 255, 0.15);
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Testimonios */
.testimonios {
  padding: 100px 0;
  background: var(--bg-gray);
}

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonio-card {
  background: white;
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border-left: 5px solid var(--primary-color);
}

.testimonio-text {
  font-style: italic;
  margin-bottom: 25px;
  color: var(--text-light);
  font-size: 1.1rem;
}

.testimonio-author {
  font-weight: 700;
  color: var(--primary-color);
}

/* Footer */
footer {
  padding: 80px 0 30px;
  background: #112a17;
  color: #a8b9ad;
}

footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

footer .logo {
  color: white;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  padding-top: 30px;
  text-align: center;
  font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-image {
    order: -1;
  }
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: var(--bg-gray);
}
.faq h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
}
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: #fff;
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.faq-question {
    width: 100%;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: background 0.3s;
    font-family: inherit;
}
.faq-question:hover {
    background: #f8f9fa;
}
.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s;
}
.faq-item.active .faq-question::after {
    content: '-';
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    padding: 0 25px;
}
.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 25px;
}
.faq-answer p {
    color: var(--text-light);
    line-height: 1.6;
}
