:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --light-gray: #f8f9fa;
  --dark-gray: #6c757d;
}

/* === BASE === */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #333;
  line-height: 1.6;
}

.navbar {
  background-color: #fff;
}

.navbar-brand {
  font-size: 1.2rem;
  letter-spacing: 1px;
}

/* === HERO === */
.hero {
  background-color: #2d2d2d;
  color: #fff;
  padding: 120px 0;
  text-align: center;
}

.hero h1 {
  font-weight: 700;
  margin-bottom: 15px;
}

.hero p {
  color: #ccc;
  max-width: 600px;
  margin: 0 auto 30px;
}

.hero-section {
  background-color: var(--light-gray);
  min-height: 400px;
  display: flex;
  align-items: center;
}

/* === SECCIONES === */
section {
  padding: 5rem 0;
}

section.bg-light {
  background-color: #f8f9fa;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--dark-gray);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--dark-gray);
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section-heading {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

/* === LISTAS === */
.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  padding: 0.5rem 0;
  display: flex;
  align-items: start;
}

.check-list li::before {
  content: "✓";
  background: black;
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
  font-size: 0.75rem;
}

/* === SERVICIOS === */
.service-card {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--dark-gray);
  margin-bottom: 0.5rem;
}

.service-box {
  background: var(--light-gray);
  border-radius: 8px;
  padding: 2.5rem;
  height: 100%;
  text-align: center;
}

.service-box h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 1.5rem 0 1rem;
}

/* === TESTIMONIOS === */
.testimonios-section {
  background-color: var(--light-gray);
  text-align: center;
}

.testimonial-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.quote-icon {
  width: 200px;
  height: 150px;
  background: #ddd;
  border-radius: 50%;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 3rem;
}

.testimonial-text {
  font-size: 1.1rem;
  color: var(--dark-gray);
  font-style: italic;
  line-height: 1.8;
}

/* === CASOS DE ÉXITO === */
.casos-section {
  background-color: white;
}

.case-card {
  background: var(--light-gray);
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  transition: transform 0.3s;
}

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

.case-image {
  width: 100%;
  height: 250px;
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}

/* === SECTORES === */
.sectores-section {
  background-color: #e8e8e8;
}

.sector-icon {
  width: 120px;
  height: 120px;
  background: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: #999;
  transition: transform 0.3s;
}

.sector-icon:hover {
  transform: scale(1.05);
}

/* === CLIENTES DESTACADOS === */
.clientes-destacados-section {
  background-color: white;
}

.client-large-image {
  background: var(--light-gray);
  border-radius: 8px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.client-small-image {
  background: var(--light-gray);
  border-radius: 8px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}

/* === GALERÍA === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item {
  background: #ddd;
  border-radius: 8px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}

/* === BOTONES === */
.btn-custom {
  background: transparent;
  border: 2px solid black;
  color: black;
  padding: 0.5rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-custom:hover {
  background: black;
  color: white;
}

/* === FOOTER === */
footer {
  background-color: #f3f3f3;
  color: #555;
  padding: 60px 0 30px;
  font-size: 0.9rem;
}

footer a {
  text-decoration: none;
  color: #555;
}

footer a:hover {
  color: #000;
}

/* === OTROS === */
.placeholder-img {
  background: #ddd;
  border-radius: 8px;
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}

.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s;
  z-index: 1000;
}

.scroll-top:hover {
  background: #1a252f;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 1px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .client-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    font-size: 1.5rem;
  }
}
