/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

body {
  background: #f9f9f9;
  color: #111;
}

/* HERO */
.hero {
  position: relative;
  width: 100%;
  height: 40vh;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.navbar {
  position: absolute;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
}

.navbar .logo span {
  font-size: 1.5rem;
  font-weight: bold;
}

.navbar .logo small {
  display: block;
  font-size: 0.7rem;
  color: #f0c36d;
}

.menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.menu li a {
  color: #fff;
  text-decoration: none;
  padding-bottom: 2px;
  position: relative;
}

.menu li a:hover,
.menu li a:focus {
  border-bottom: 2px solid #f0c36d;
}

.hero-text {
  position: absolute;
  left: 50px;
  top: 30%;
  color: #fff;
}

.hero-text h1 {
  font-size: 2rem;
  line-height: 1.2;
}

.hero-text h1 span {
  color: #f0cd1d;
  text-decoration: underline;
}

.hero-buttons {
  margin-top: 1rem;
}

.hero-buttons a {
  text-decoration: none;
  margin-right: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-weight: bold;
}

.btn-primary {
  background: #0a234d;
  color: #fff;
  border: 2px solid #f0c36d;
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

/* QUIÉNES SOMOS */
.about {
  padding: 4rem 2rem;
  text-align: center;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #0a234d;
}

.about p {
  max-width: 700px;
  margin: 0 auto 2rem auto;
  color: #333;
}

.values {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.value {
  text-align: center;
  max-width: 200px;
}

.value .icon {
  font-size: 2rem;
  color: #f0c36d;
}

.clients {
  padding: 4rem 2rem;
  text-align: center;
  background-color: #e0f0ff;
}

.clients h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #0a234d;
}

.clients p {
  margin-bottom: 2rem;
  color: #111;
}

.client-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.client-card {
  background-color: #cce6ff;
  border-radius: 15px;
  width: 200px;
  padding: 1rem;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.client-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}

.client-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.5rem;
}

.client-card h3 {
  color: #0a234d;
  margin-bottom: 0.3rem;
}

.client-card p {
  color: #111;
  font-size: 0.9rem;
}

.services {
  padding: 4rem 2rem;
  text-align: center;
  background-color: #e0f0ff;
}

.services h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #0a234d;
}

.service-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.service-card {
  background-color: #cce6ff;
  padding: 2rem;
  border-radius: 15px;
  width: 250px;
  text-align: center;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}

.service-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  margin-bottom: 0.5rem;
  color: #0a234d;
}

.service-card p {
  font-size: 0.9rem;
  color: #111;
  line-height: 1.4;
}

/* CARD DESTACADA QUIÉNES SOMOS */
.highlight-card {
  background-color: #cceeff;
  color: #0a234d;
  padding: 4rem 2rem;
  text-align: center;
  border-radius: 0;
  width: 100%;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.05);
  margin: 0;
}

.highlight-card h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.highlight-card h3 {
  font-size: 1.8rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.highlight-card p {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 900px;
  margin: 0.8rem auto;
}

/* CONTACTO / BROCHURE */
.contact {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 4rem 2rem;
  background: #f9f9f9;
}

.brochure,
.contact-info {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  width: 300px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.brochure button,
.contact-info button {
  background: #f0c36d;
  border: none;
  padding: 0.5rem 1rem;
  color: #0a234d;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}

/* FOOTER */
.site-footer {
  background: #0c3461;
  color: #fff;
  padding: 3rem 2rem;
  position: relative;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}

.footer-logo img {
  width: 140px;
  border-radius: 80px;
}

.footer-contact h4,
.footer-services h4 {
  margin-bottom: 0.5rem;
  color: #f0c36d;
}

.footer-contact p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: aliceblue;
}

.footer-services ul {
  list-style: none;
  padding: 0;
}

.footer-socials a {
  margin-right: 0.5rem;
}

.footer-socials img {
  width: 25px;
  height: 25px;
}

.derechos {
  color: #f0b400;
  text-align: center;
  margin-top: 2rem;
  font-size: 0.8rem;
}

/* WhatsApp flotante */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  text-align: center;
  font-size: 2rem;
  line-height: 50px;
  z-index: 1000;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

#quienes-somos {
  scroll-margin-top: 80px;
}

.btn-brochure {
  display: inline-block;
  background-color: #f0c36d;
  color: #0a234d;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  transition: 0.3s ease;
}

.btn-brochure:hover {
  background-color: white;
  color: #0a234d;
  transform: translateY(-3px);
}

.whatsapp {
  display: inline-block;
  background-color: #25D366;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  transition: 0.3s ease;
}

.whatsapp:hover {
  background-color: #1ebe5d;
  transform: translateY(-3px);
}

/* SECCIÓN NUESTRO TRABAJO */
.work-gallery {
  width: 100%;
  padding: 4rem 2rem;
  background-color: #e0f0ff;
  text-align: center;
}

.work-gallery h2 {
  font-size: 2.5rem;
  color: #0a234d;
  margin-bottom: 1rem;
}

.work-gallery>p {
  font-size: 1.1rem;
  color: #111;
  margin-bottom: 3rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-card {
  background-color: #cce6ff;
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.gallery-card img,
.gallery-card video {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 1rem;
}

.gallery-card h3 {
  color: #0a234d;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.gallery-card p {
  color: #111;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* SECCIÓN COMENTARIOS Y CALIFICACIÓN */
.reviews-section {
  width: 100%;
  padding: 4rem 2rem;
  background-color: #e0f0ff;
  text-align: center;
}

.reviews-section h2 {
  font-size: 2.5rem;
  color: #0a234d;
  margin-bottom: 1rem;
}

.reviews-section>p {
  font-size: 1.1rem;
  color: #111;
  margin-bottom: 3rem;
}

.reviews-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  max-width: 1300px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.reviews-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  flex: 1;
  min-width: 650px;
}

.review-card {
  background-color: #cce6ff;
  padding: 2rem;
  border-radius: 18px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.stars {
  color: #f0b400;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.review-card h3 {
  color: #0a234d;
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.review-card p {
  color: #111;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.review-card span {
  color: #0a234d;
  font-weight: bold;
  font-size: 0.9rem;
}

/* FORMULARIO */
.review-form-card {
  background-color: #0a234d;
  color: white;
  padding: 2rem;
  border-radius: 18px;
  width: 350px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.review-form-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.review-form-card form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.review-form-card textarea {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  outline: none;
  font-size: 1rem;
  resize: none;
}

.review-form-card button {
  background-color: #f0c36d;
  color: #0a234d;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
}

.review-form-card button:hover {
  background-color: white;
  transform: translateY(-3px);
}

/* =========================================
   DISEÑO RESPONSIVO PARA CELULARES
   ========================================= */
@media (max-width: 768px) {
  
  /* 1. Ajustes de la Cabecera y el Video */
  .hero {
    height: auto;
    min-height: 50vh;
  }

  /* 2. Ajustes del Menú (Para que no choque con el texto) */
  .navbar {
    position: relative;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 0.5rem;
  }

  .menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
  }

  .menu li a {
    font-size: 13px;
  }

  /* 3. Ajustes del Texto Principal (Centrado y adaptado) */
  .hero-text {
    position: relative;
    left: 0;
    top: 0;
    text-align: center;
    padding: 2rem 1rem;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  /* 4. Apilar los botones uno debajo del otro */
  .hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .hero-buttons a {
    margin-right: 0;
    width: 90%;
    max-width: 300px;
    text-align: center;
  }

  /* 5. Ajustes para que las secciones inferiores no se desborden */
  .reviews-list {
    grid-template-columns: 1fr;
    min-width: 100%;
  }
  
  .review-form-card {
    width: 100%;
  }

  .contact {
    flex-direction: column;
    align-items: center;
  }
  
  .brochure,
  .contact-info {
    width: 100%;
  }
}