/* Estilos globales */
:root {
  --primary-color: #ff7c3f;
  --secondary-color: #3b82f6;
  --gradient-start: #5d8dee;
  --gradient-end: #f78037;
  --text-color: #333;
  --bg-light: #f7fbff;
}

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

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-light);
}

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

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

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

/* Encabezado */
header {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo img {
  height: 48px;
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text-color);
  font-weight: 600;
  transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  padding: 4rem 0 3rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .hero-content {
    flex-direction: row;
    align-items: center;
  }
}

.hero-text {
  flex: 1;
  color: #fff;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-buttons .btn {
  margin-right: 1rem;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image img {
  border-radius: 8px;
  max-height: 350px;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Botones */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn.primary {
  background-color: var(--primary-color);
  color: #fff;
}


.btn.primary:hover {
  /* slightly darker shade of the primary color */
  background-color: #e66a2e;
}

.btn.secondary {
  background-color: var(--secondary-color);
  color: #fff;
}


.btn.secondary:hover {
  /* slightly darker shade of the secondary color */
  background-color: #3169c9;
}

.btn.whatsapp {
  background-color: #25d366;
  color: #fff;
}

.btn.whatsapp:hover {
  background-color: #1ebd59;
}

/* Stats Section */
.stats {
  background-color: #fff;
  padding: 2rem 0;
  text-align: center;
}

.stats-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
}

@media (min-width: 600px) {
  .stats-grid {
    flex-direction: row;
  }
}

.stat-item {
  flex: 1;
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary-color);
}

/* Services Section */
.services {
  padding: 3rem 0;
  background-color: var(--bg-light);
}

.services h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: var(--text-color);
}

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

.service-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  padding-bottom: 1.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-image img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.service-card h3 {
  margin: 1rem;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  color: var(--primary-color);
}

.service-card p {
  margin: 0 1rem 1rem;
  flex-grow: 1;
  color: var(--text-color);
}

/* CTA Section */
.cta {
  padding: 3rem 0;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  color: #fff;
  text-align: center;
}

.cta-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-content p {
  margin-bottom: 1.5rem;
}

/* About and Values */
.about-values {
  background-color: #fff;
  padding: 3rem 0;
}

.about-values-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .about-values-grid {
    flex-direction: row;
  }
}

.about, .values {
  flex: 1;
}

.about h2, .values h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.values ul {
  list-style: none;
}

.values li {
  margin-bottom: 0.75rem;
}

.values strong {
  color: var(--secondary-color);
}

/* Mission & Vision */
.mission-vision {
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  color: #fff;
  padding: 3rem 0;
}

.mv-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .mv-grid {
    flex-direction: row;
  }
}

.mission, .vision {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mission h3, .vision h3 {
  margin-bottom: 0.75rem;
  color: #fff;
}

/* Clients */
.clients {
  background-color: var(--bg-light);
  padding: 3rem 0;
}

.clients h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-color);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.client-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.client-card h3 {
  margin-bottom: 0.75rem;
  color: var(--primary-color);
}

/* Testimonials */
.testimonials {
  background-color: #fff;
  padding: 3rem 0;
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 2rem;
}

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

.testimonials blockquote {
  background-color: var(--bg-light);
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  border-radius: 4px;
  font-style: italic;
  position: relative;
}

.testimonials cite {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
  color: var(--secondary-color);
}

/* Contact */
.contact {
  background-color: var(--bg-light);
  padding: 3rem 0;
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact-grid {
    flex-direction: row;
  }
}

.contact-info, .contact-cta {
  flex: 1;
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.contact-info h2, .contact-cta h2 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.contact-info p {
  margin-bottom: 0.75rem;
}

/* Footer */
footer {
  background-color: #1f2937;
  color: #cbd5e1;
  padding-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  padding-bottom: 1.5rem;
}

.footer-logo img {
  height: 40px;
}

.footer-links h4, .footer-contact h4 {
  margin-bottom: 0.75rem;
  color: #fff;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #cbd5e1;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.copy {
  text-align: center;
  border-top: 1px solid #334155;
  padding: 1rem 0;
  color: #94a3b8;
  font-size: 0.875rem;
}