/* =====================
   VARIABLES DE COLOR
===================== */
:root {
  --verde: #72bf44;
  --azul: #007dc5;
  --azul-profundo: #034ea2;
  --azul-medio: #0089cf;
  --gris: #a7a9ac;
  --blanco: #ffffff;
  --negro: #222222;
}

/* =====================
   RESET GENERAL
===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #f8f9fa;
  color: var(--negro);
  line-height: 1.6;
  padding-top: 80px; /* espacio para header fijo */
}

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

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

/* =====================
   HEADER / NAVBAR FIJO
===================== */
.header_section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--blanco);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.custom_nav-container {
  padding: 0.4rem 1rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-brand span {
  font-weight: 600;
  color: var(--azul);
  letter-spacing: 1px;
}

.navbar-nav .nav-link {
  color: var(--azul-profundo);
  font-weight: 500;
  margin: 0 10px;
  position: relative;
  transition: 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-item.active .nav-link {
  color: var(--verde);
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--verde);
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  transition: 0.3s;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

.quote_btn-container a {
  background-color: var(--verde);
  color: var(--blanco);
  padding: 7px 15px;
  border-radius: 20px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: 0.3s ease;
}

.quote_btn-container a:hover {
  background-color: var(--azul);
  transform: translateY(-2px);
}

/* =====================
   SLIDER / CAROUSEL
===================== */
.slider_section {
  padding: 40px 0 20px;
  background: linear-gradient(135deg, #eef7ff, #ffffff);
}

.carousel-inner {
  border-radius: 16px;
  overflow: hidden;
}

.carousel-item {
  transition: transform 0.8s ease, opacity 0.8s ease;
}

.slider_detail-box {
  padding: 20px 15px;
  animation: fadeInUp 1s ease forwards;
}

.slider_detail-box h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--azul-profundo);
  line-height: 1.2;
}

.slider_detail-box h1 span {
  color: var(--verde);
}

.slider_detail-box p {
  margin: 15px 0;
  color: #555;
  font-size: 0.95rem;
}

.btn-box .btn-1 {
  background-color: var(--azul);
  color: var(--blanco);
  padding: 9px 20px;
  border-radius: 25px;
  transition: 0.3s;
}

.btn-box .btn-1:hover {
  background-color: var(--verde);
  transform: translateY(-2px);
}

/* Tamaño controlado de imágenes */
.slider_img-box img {
  max-width: 85%;
  margin: 0 auto;
}

.carousel-item img.img-fluid {
  max-height: 380px;
  object-fit: contain;
  margin: 0 auto;
}

/* Indicadores */
.carousel-indicators li {
  background-color: var(--azul);
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.carousel-indicators .active {
  background-color: var(--verde);
}

.carousel-item.active img {
  animation: zoomIn 1s ease forwards;
}

/* =====================
   ABOUT / NOSOTROS
===================== */
.about_section {
  padding: 70px 0;
  background-color: #ffffff;
}

.about_section .img-box img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease;
}

.about_section .img-box img:hover {
  transform: scale(1.04);
}

.about_section .detail-box {
  padding-left: 25px;
}

.about_section .detail-box p {
  color: #555;
  font-size: 1rem;
  line-height: 1.7;
}

.custom_heading {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--azul-profundo);
  margin-bottom: 20px;
}

.custom_heading span {
  color: var(--verde);
}

.detail-box a {
  display: inline-block;
  background-color: var(--verde);
  color: var(--blanco);
  padding: 9px 22px;
  border-radius: 25px;
  transition: 0.3s;
}

.detail-box a:hover {
  background-color: var(--azul);
  transform: translateY(-2px);
}

/* =====================
   MISIÓN Y VISIÓN
===================== */
.about_values_section {
  background: linear-gradient(135deg, #f9fbfd, #ffffff);
  padding: 80px 0;
}

.values_container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.value_box {
  flex: 1;
  min-width: 280px;
  max-width: 480px;
  background: #ffffff;
  padding: 35px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: 0.3s ease;
}

.value_box:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
}

.value_icon {
  font-size: 30px;
  color: var(--azul);
  background: rgba(0, 125, 197, 0.12);
  padding: 16px;
  border-radius: 50%;
}

.value_content h3 {
  color: var(--azul-profundo);
  font-size: 1.4rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.value_content p {
  color: #555;
  line-height: 1.7;
}

.mission_box {
  border-left: 6px solid var(--verde);
}

.vision_box {
  border-left: 6px solid var(--azul);
}

/* =====================
   GALERÍA (CÍRCULOS)
===================== */
.gallery-instalacion {
  padding: 70px 0;
  background: linear-gradient(135deg, #f1f9ff, #ffffff);
}

.gallery-instalacion .custom_heading {
  text-align: center;
  margin-bottom: 35px;
}

.gallery-instalacion .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 20px;
  justify-items: center;
}

.gallery-instalacion .img_box {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--azul);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transition: 0.35s ease;
  background-color: var(--blanco);
}

.gallery-instalacion .img_box:hover {
  transform: scale(1.08);
  border-color: var(--verde);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.gallery-instalacion .img_box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =====================
   SERVICIOS
===================== */
.service_section {
  padding: 60px 0;
}

.service_box {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
  transition: 0.3s;
}

.service_box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 26px rgba(0,  0, 0, 0.12);
}

.service_box.featured {
  border: 2px solid var(--verde);
  transform: scale(1.03);
}

.service_box .img_box img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service_box .detail_box {
  padding: 22px;
  text-align: center;
}

.service_box h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--azul);
  margin-bottom: 10px;
}

.price {
  font-size: 28px;
  font-weight: 700;
  color: var(--verde);
}

.price span {
  font-size: 14px;
  font-weight: 500;
}

.price_note {
  font-size: 13px;
  color: var(--gris);
  margin-bottom: 15px;
}

.service_box ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.service_box ul li {
  font-size: 14px;
  margin: 6px 0;
  color: #444;
}

.service_box ul li i {
  color: var(--verde);
  margin-right: 6px;
}

/* =====================
   BOTÓN WHATSAPP
===================== */
.btn_whatsapp {
  display: inline-block;
  background: #25D366;
  color: white;
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: 600;
  transition: 0.3s;
}

.btn_whatsapp i {
  margin-right: 6px;
}

.btn_whatsapp:hover {
  background: #1ebe5d;
}

/* =====================
   SECCIÓN COSTOS / PRÓXIMAMENTE
===================== */
.costos_section {
  padding: 60px 0;
  background: #f9fbfd;
}

.proximamente_box,
.lista_servicios_box {
  background: white;
  border-radius: 18px;
  padding: 30px;
  height: 100%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.proximamente_box h3,
.lista_servicios_box h3 {
  color: var(--azul);
  font-weight: 700;
  margin-bottom: 15px;
}

.proximamente_box img {
  max-height: 180px;
  margin-top: 15px;
}

.lista_servicios {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lista_servicios li {
  font-size: 16px;
  margin: 10px 0;
  color: #333;
}

.lista_servicios li i {
  color: var(--verde);
  margin-right: 8px;
}

/* =====================
   INFO SECTION / CONTACTO
===================== */
.info_section {
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
  padding: 50px 20px;
  border-top: 1px solid #e0e0e0;
}

.info_row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.info_column {
  flex: 1;
  min-width: 260px;
}

.info_column .item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 16px;
  padding: 12px 18px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
}

.info_column .item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.info_column i {
  font-size: 1.3rem;
  color: var(--azul);
}

.info_column p {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
}

.social_column {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 15px;
}

.social-icon {
  width: 42px;
  height: 42px;
  background-color: var(--gris);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blanco);
  font-size: 1.1rem;
  transition: 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.social-icon:hover {
  background-color: var(--verde);
  transform: translateY(-3px) scale(1.05);
}

/* =====================
   HORARIOS
===================== */
.bg-horarios {
  background: linear-gradient(
      rgba(0, 125, 197, 0.85),
      rgba(3, 78, 162, 0.85)
    ),
    url("../images/horarios-bg.jpg") center/cover no-repeat;
  color: var(--blanco);
  border-radius: 20px;
}

.bg-horarios h4 {
  color: var(--verde);
  font-weight: 700;
}

.bg-horarios ul li {
  font-size: 15px;
  margin-bottom: 6px;
}

/* =====================
   FORMULARIO CONTACTO
===================== */
.bg-contacto {
  background: linear-gradient(
      rgba(255, 255, 255, 0.9),
      rgba(255, 255, 255, 0.9)
    ),
    url("../images/contact-bg.jpg") center/cover no-repeat;
  border-radius: 20px;
}

.bg-contacto h4 {
  color: var(--azul-profundo);
  font-weight: 700;
}

.bg-contacto .form-control {
  border-radius: 25px;
  border: 1px solid #ddd;
  padding: 10px 15px;
  font-size: 14px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.bg-contacto .form-control:focus {
  border-color: var(--azul);
  box-shadow: 0 0 0 3px rgba(0, 125, 197, 0.15);
}

.bg-contacto .btn {
  background: linear-gradient(135deg, var(--verde), var(--azul));
  border: none;
  color: var(--blanco);
  padding: 10px 30px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.bg-contacto .btn:hover {
  background: linear-gradient(135deg, var(--azul), var(--azul-profundo));
  transform: translateY(-2px);
}

/* =====================
   FOOTER
===================== */
.footer_section {
  background-color: #f4f4f4;
  color: #666;
  padding: 12px 0;
  text-align: center;
  font-size: 0.85rem;
  border-top: 1px solid #ddd;
}

/* =====================
   ANIMACIONES
===================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoomIn {
  from {
    transform: scale(1.1);
  }
  to {
    transform: scale(1);
  }
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 991px) {
  .slider_detail-box h1 {
    font-size: 1.9rem;
  }

  .custom_heading {
    font-size: 1.7rem;
  }

  .navbar-brand span {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .slider_section {
    padding: 30px 0;
  }

  .slider_detail-box {
    text-align: center;
  }

  .about_section .row {
    flex-direction: column-reverse;
  }

  .gallery-instalacion .container {
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  }

  .gallery-instalacion .img_box {
    width: 90px;
    height: 90px;
  }

  .buy_section h2 {
    font-size: 1.5rem;
  }

  .about_section .detail-box {
    padding-left: 0;
    text-align: center;
  }

  .values_container {
    flex-direction: column;
  }

  .value_box {
    max-width: 100%;
  }

  .info_row {
    flex-direction: column;
    text-align: center;
  }

  .social_column {
    justify-content: center;
    margin-top: 15px;
  }

  .info_column .item {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .slider_detail-box h1 {
    font-size: 1.5rem;
  }

  .quote_btn-container a {
    padding: 6px 12px;
    font-size: 0.85rem;
  }

  .price {
    font-size: 24px;
  }

  .btn_whatsapp {
    width: 100%;
    text-align: center;
  }
}
