/* 
  Topografía Cauquenes
  Colores tomados de la referencia:
  Azul petróleo, verde terreno, crema papel y gris tinta.
*/

:root {
  --azul: #173446;
  --azul-2: #0f2534;
  --verde: #596f3b;
  --verde-2: #7d8f5a;
  --crema: #f4f1e7;
  --papel: #fbfaf4;
  --gris: #2b2f32;
  --gris-suave: #667076;
  --linea: rgba(23, 52, 70, .16);
  --sombra: 0 22px 60px rgba(15, 37, 52, .16);
  --radio: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--gris);
  background:
    radial-gradient(circle at top left, rgba(89, 111, 59, .16), transparent 32rem),
    linear-gradient(135deg, #fffdf5 0%, var(--crema) 45%, #eef1e8 100%);
  overflow-x: hidden;
}

.topo-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image:
    repeating-radial-gradient(ellipse at 20% 15%, transparent 0 18px, rgba(23,52,70,.25) 19px 20px),
    repeating-radial-gradient(ellipse at 82% 72%, transparent 0 22px, rgba(89,111,59,.22) 23px 24px);
  background-size: 620px 420px, 720px 520px;
  z-index: -1;
}


.topo-bg2 {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background-image:
    repeating-radial-gradient(ellipse at 20% 15%, transparent 0 18px, rgba(23,52,70,.25) 19px 20px),
    repeating-radial-gradient(ellipse at 82% 72%, transparent 0 22px, rgba(89,111,59,.22) 23px 24px);
  background-size: 620px 420px, 720px 520px;
  z-index: -1;
}














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

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(249 250 244);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--linea);
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img {
  width: 130px;
  display: block;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.08));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--azul);
}

.nav-links a:hover,
.nav-cta {
  background: var(--azul);
  color: #fff !important;
}

.menu-btn {
  display: none;
  border: 0;
  background: var(--azul);
  color: #fff;
  font-size: 26px;
  border-radius: 14px;
  padding: 8px 12px;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 70px 20px;
}

.hero {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.hero-card {
  min-height: 530px;
  /*border-radius: 36px;*/
  padding: 52px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 36px;
  background:
   linear-gradient(135deg, rgba(255,255,255,.92), rgba(244,241,231,.90)),
   repeating-linear-gradient(45deg, transparent 0 18px, rgba(23,52,70,.035) 19px 20px);
  border: 1px solid rgba(23,52,70,.12);
  box-shadow: var(--sombra);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: auto -80px -90px auto;
  width: 360px;
  height: 360px;
  /*background: rgba(89,111,59,.22);*/
  border-radius: 50%;
}

.eyebrow,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  /*background: rgba(89, 111, 59, .13);*/
  color: var(--verde);
  border: 1px solid rgba(89, 111, 59, .22);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .78rem;
}

.hero h1 {
  margin: 18px 0;
  font-size: clamp(3.25rem, 3vw, 0.8rem);
  line-height: .95;
  letter-spacing: -0.06em;
  color: var(--azul);
}

.hero-text {
  font-size: 1.18rem;
  line-height: 1.65;
  color: #3f494d;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  padding: 14px 22px;
  border: 0;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--verde);
  color: #fff;
  box-shadow: 0 14px 26px rgba(89,111,59,.26);
}

.btn-secondary {
  background: #fff;
  color: var(--azul);
  border: 1px solid var(--linea);
}

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

.quick-info {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.quick-info span {
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: 999px;
  padding: 10px 12px;
  font-weight: 800;
  color: var(--azul);
}

.hero-visual {
  position: relative;
  z-index: 2;
}

/*.map-card {*/
/*  min-height: 420px;*/
/*  border-radius: 32px;*/
/*  background:*/
/*    radial-gradient(circle at 50% 35%, rgba(89,111,59,.17), transparent 160px),*/
/*    repeating-radial-gradient(ellipse at 50% 50%, transparent 0 17px, rgba(23,52,70,.12) 18px 19px),*/
/*    #fbfaf4;*/
/*  border: 1px solid rgba(23,52,70,.15);*/
/*  box-shadow: 0 18px 50px rgba(23,52,70,.14);*/
/*  position: relative;*/
/*  display: grid;*/
/*  place-items: center;*/
/*  overflow: hidden;*/
/*}*/

.map-card img {
    width: min(100%, 620px);
    background: rgba(255, 255, 255, .65);
    border-radius: 24px;
    padding: 12px;
}

.pin {
  position: absolute;
  background: var(--azul);
  color: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 900;
  font-size: .83rem;
  box-shadow: 0 10px 24px rgba(23,52,70,.22);
}

.pin-1 { top: 55px; left: 42px; }
.pin-2 { right: 42px; top: 132px; background: var(--verde); }
.pin-3 { bottom: 58px; left: 78px; }

.path-line {
  position: absolute;
  width: 76%;
  height: 62%;
  border: 3px dashed rgba(89,111,59,.6);
  border-radius: 48% 42% 58% 36%;
  transform: rotate(-12deg);
}

.mini-panel {
    margin: -108px auto 15px;
    width: 83%;
    margin-right: 71px;
    background: var(--azul);
    color: #fff;
    border-radius: 27px;
    padding: 12px;
    text-align: center;
    position: relative;
    box-shadow: 0 16px 36px rgba(15, 37, 52, .30);
}

.mini-panel strong,
.mini-panel span {
  display: block;
}

.mini-panel span {
  margin-top: 6px;
  color: rgba(255,255,255,.78);
}



@media (max-width: 768px) {
    .mini-panel {
        margin: -108px auto 16px;
        width: 88%;
        /* margin-right: 81px; */
        background: var(--azul);
        color: #fff;
        border-radius: 27px;
        padding: 12px;
        text-align: center;
        position: relative;
        box-shadow: 0 16px 36px rgba(15, 37, 52, .30);
    }

}
















.section-title {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 34px;
}

.section-title h2,
.split h2,
.zone-card h2,
.contact-copy h2 {
  color: var(--azul);
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 16px 0;
}

.section-title p,
.split p,
.zone-card p,
.contact-copy p {
  color: var(--gris-suave);
  font-size: 1.08rem;
  line-height: 1.7;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(23,52,70,.12);
  border-radius: 26px;
  padding: 24px;
  box-shadow: 0 12px 28px rgba(15,37,52,.08);
  transition: transform .2s ease, box-shadow .2s ease;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 16px auto;
  width: 44px;
  height: 44px;
  border: 2px dashed rgba(89,111,59,.28);
  border-radius: 50%;
}

.service-card:hover {
  transform: translateY(-7px) rotate(-.5deg);
  box-shadow: 0 20px 44px rgba(15,37,52,.13);
}

.service-card:nth-child(even):hover {
  transform: translateY(-7px) rotate(.5deg);
}

.service-card .icon {
  width: 75px;
  height: 75px;
  display: grid;
  place-items: center;
  border-radius: 40px;
  background: transparent;
  overflow: hidden;
}

.service-card .icon img {
  width: 136%;
  height: 104%;
  object-fit: contain;
  display: block;
}




.service-card h3 {
  color: var(--azul);
  font-size: 1.18rem;
  margin: 18px 0 8px;
}

.service-card p {
  color: var(--gris-suave);
  line-height: 1.6;
}

.service-featured {
  background: linear-gradient(135deg, var(--azul), var(--azul-2));
  color: #fff;
}

.service-featured h3,
.service-featured p {
  color: #fff;
}

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 30px;
  align-items: center;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(23,52,70,.12);
  border-radius: 32px;
  padding: 34px;
  box-shadow: var(--sombra);
}

.equipment-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.equipment-cards article {
  min-height: 250px;
  border-radius: 28px;
  padding: 26px;
  background:
    repeating-radial-gradient(ellipse at 50% 40%, transparent 0 18px, rgba(23,52,70,.10) 19px 20px),
    var(--papel);
  border: 1px solid rgba(23,52,70,.12);
}

.equipment-cards span {
  /*font-size: 2.6rem;*/
  font-size: 0.9rem;
}

.equipment-cards h3 {
  font-size: 1.45rem;
  color: var(--azul);
}

.equipment-cards p {
  color: var(--gris-suave);
  line-height: 1.6;
}

.checks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.checks div {
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(23,52,70,.12);
  border-radius: 18px;
  padding: 16px 18px;
  color: var(--azul);
  font-weight: 800;
}

.zone-card {
  background:
    linear-gradient(120deg, rgba(23,52,70,.96), rgba(23,52,70,.86)),
    repeating-radial-gradient(ellipse at 50% 50%, transparent 0 18px, rgba(255,255,255,.22) 19px 20px);
  color: #fff;
  border-radius: 34px;
  padding: 42px;
  box-shadow: var(--sombra);
}

.zone-card h2,
.zone-card p {
  color: #fff;
}

.zone-card .tag {
  background: rgba(255,255,255,.14);
  color: #fff;
  border-color: rgba(255,255,255,.24);
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

details {
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(23,52,70,.12);
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: 0 12px 30px rgba(15,37,52,.07);
}

summary {
  cursor: pointer;
  color: var(--azul);
  font-weight: 900;
  font-size: 1.05rem;
}

details p {
  color: var(--gris-suave);
  line-height: 1.6;
}

.contact-card {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 30px;
  align-items: start;
  background: var(--papel);
  border: 1px solid rgba(23,52,70,.12);
  border-radius: 34px;
  padding: 34px;
  box-shadow: var(--sombra);
}

.form {
  display: grid;
  gap: 14px;
}

.form label {
  display: grid;
  gap: 8px;
  color: var(--azul);
  font-weight: 900;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid rgba(23,52,70,.18);
  background: #fff;
  border-radius: 16px;
  padding: 14px 15px;
  font-size: 1rem;
  outline: none;
  font-family: inherit;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--verde);
  box-shadow: 0 0 0 4px rgba(89,111,59,.13);
}

.closing {
  margin-top: 50px;
  padding: 72px 20px;
  text-align: center;
  background: var(--verde);
  color: #fff;
}

.closing h2 {
  max-width: 850px;
  margin: 0 auto 24px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.wa-bubble {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 70px;
  height: 70px;
  border: 0;
  border-radius: 50%;
  background: #01a43e;
  cursor: pointer;
  box-shadow: 0 18px 34px rgba(0,0,0,.25);
  animation: pulse 1.8s infinite;

  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.wa-bubble img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 600px) {
  .wa-bubble {
    width: 62px;
    height: 62px;
    right: 16px;
    bottom: 16px;
  }

  .wa-bubble img {
    width: 46px;
    height: 46px;
  }
}







@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.wa-assistant {
  position: fixed;
  right: 22px;
  bottom: 98px;
  z-index: 81;
  width: min(360px, calc(100vw - 32px));
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
}

.wa-assistant.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.wa-head {
  background: var(--azul);
  color: #fff;
  padding: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.wa-head strong,
.wa-head small {
  display: block;
}

.wa-head small {
  opacity: .75;
}

.wa-head button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  font-size: 1.4rem;
  color: var(--azul);
  background: #fff;
  cursor: pointer;
}

.wa-body {
  padding: 18px;
  display: grid;
  gap: 10px;
}

.wa-body p {
  margin: 0 0 8px;
  color: var(--gris-suave);
  line-height: 1.4;
}

.wa-body button,
.wa-direct {
  border: 1px solid rgba(23,52,70,.12);
  background: var(--papel);
  border-radius: 14px;
  padding: 12px;
  cursor: pointer;
  font-weight: 900;
  color: var(--azul);
  text-align: left;
  font-family: inherit;
}

.wa-direct {
  background: #25D366;
  color: #fff;
  text-align: center;
  border-color: #25D366;
}

.footer {
  background: var(--azul-2);
  color: #fff;
  padding: 26px 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.footer strong,
.footer span {
  display: block;
}

.footer span {
  opacity: .72;
  margin-top: 4px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  opacity: .85;
}

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

@media (max-width: 920px) {
  .menu-btn {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    background: #fff;
    border: 1px solid var(--linea);
    border-radius: 22px;
    padding: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--sombra);
  }

  .nav-links.open {
    display: flex;
  }

  .hero-card,
  .split,
  .contact-card {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .checks,
  .equipment-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .brand img {
    width: 145px;
  }

  .section,
  .hero {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-card {
    min-height: auto;
    border-radius: 26px;
  }

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

  .hero-actions .btn {
    width: 100%;
  }

  .map-card {
    min-height: 330px;
  }

  .footer {
    align-items: flex-start;
  }
}






/* ================================
   CARRUSEL BANNER ANCHO COMPLETO
================================ */

.banner-carrusel {
  width: 100%;
  height: 500px;
  position: relative;
  overflow: hidden;
  background: #173446;
}

.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.banner-slide.activo {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.04);
  transition: transform 6s ease;
}

.banner-slide.activo img {
  transform: scale(1);
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(15, 37, 52, 0.92) 0%,
      rgba(15, 37, 52, 0.78) 38%,
      rgba(15, 37, 52, 0.30) 72%,
      rgba(15, 37, 52, 0.15) 100%
    );
}

.banner-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-radial-gradient(
      ellipse at 20% 30%,
      transparent 0 18px,
      rgba(255, 255, 255, 0.10) 19px 20px
    );
  opacity: 0.45;
}

.banner-texto {
  position: absolute;
  z-index: 4;
  left: 7%;
  top: 50%;
  transform: translateY(-50%);
  max-width: 720px;
  color: #ffffff;
}

.banner-texto span {
  display: inline-block;
  background: rgba(89, 111, 59, 0.92);
  color: #ffffff;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.banner-texto h1 {
  margin: 0 0 18px;
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-weight: 900;
}

.banner-texto p {
  margin: 0 0 30px;
  max-width: 640px;
  font-size: 1.22rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.90);
}

.banner-botones {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-banner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 24px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-banner:hover {
  transform: translateY(-3px);
}

.btn-whatsapp {
  background: #596f3b;
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25);
}

.btn-servicios {
  background: #ffffff;
  color: #173446;
}

.banner-control {
  position: absolute;
  z-index: 6;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(15, 37, 52, 0.45);
  color: #ffffff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.banner-control:hover {
  background: #596f3b;
  transform: translateY(-50%) scale(1.08);
}

.banner-control.anterior {
  left: 24px;
}

.banner-control.siguiente {
  right: 24px;
}

.banner-indicadores {
  position: absolute;
  z-index: 7;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.banner-indicadores button {
  width: 13px;
  height: 13px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  cursor: pointer;
  transition: all 0.25s ease;
}

.banner-indicadores button.activo {
  width: 38px;
  background: #596f3b;
}



@media (max-width: 768px) {
  .banner-carrusel {
    height: 520px;
  }

  .banner-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(15, 37, 52, 0.80) 0%,
        rgba(15, 37, 52, 0.90) 100%
      );
  }

  .banner-texto {
    left: 22px;
    right: 22px;
    max-width: none;
    text-align: center;
  }

  .banner-texto h1 {
    font-size: 2.5rem;
  }

  .banner-texto p {
    font-size: 1rem;
  }

  .banner-botones {
    flex-direction: column;
  }

  .btn-banner {
    width: 100%;
  }

  .banner-control {
    width: 40px;
    height: 40px;
    font-size: 1.8rem;
  }

  .banner-control.anterior {
    left: 10px;
  }

  .banner-control.siguiente {
    right: 10px;
  }
}


/* ================================
   FOOTER ORDENADO EN 3 COLUMNAS
================================ */
/* ================================
   FOOTER CON L�0�1NEAS TOPOGR�0�9FICAS
   MISMO ESTILO DEL CUERPO
================================ */

.footer {
  background:
    linear-gradient(
      rgba(15, 37, 52, 0.86),
      rgba(15, 37, 52, 0.86)
    ),
    repeating-radial-gradient(
      ellipse at 18% 22%,
      transparent 0 15px,
      rgba(255, 255, 255, 0.28) 16px 18px
    ),
    repeating-radial-gradient(
      ellipse at 82% 65%,
      transparent 0 18px,
      rgba(255, 255, 255, 0.22) 19px 21px
    ),
    linear-gradient(135deg, #0f2534, #173446);

  background-size: auto, 520px 360px, 620px 420px, auto;
  background-position: center, left center, right center, center;

  color: #ffffff;
  padding: 42px 24px 38px;
  /*border-top: 28px solid var(--verde);*/

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  position: relative;
  overflow: hidden;
}
.footer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-info strong {
  font-size: 1.6rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 8px;
}

.footer-info > span {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.76);
}

/* CONTADOR */
.contador-visitas {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 14px 26px;
  border-radius: 22px;
  backdrop-filter: blur(6px);
}

.contador-texto {
  font-size: 0.95rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.72);
}

.contador-visitas strong {
  font-size: 2rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.12em;
  line-height: 1;
  margin: 0;
}

/* CONTACTO */
.footer-links {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  font-weight: 800;
  white-space: nowrap;
}

.footer-links a:hover {
  color: #ffffff;
}


@media (max-width: 700px) {
  .footer {
    padding: 36px 18px;
    background-size: auto, 480px 340px, 560px 380px, auto;
  }

  .footer-info strong {
    font-size: 1.35rem;
  }

  .footer-info > span {
    font-size: 1rem;
  }

  .contador-visitas {
    gap: 10px;
    padding: 12px 20px;
  }

  .contador-visitas strong {
    font-size: 1.7rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
}



/* ================================
   IMAGEN DE FONDO GNSS RTK
================================ */

.equipment-cards .equipo-gnss {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgb(15 37 52 / 0%), rgb(0 0 0 / 72%)), url(assets/icono/gnss-rtk.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
}

.equipment-cards .equipo-gnss span,
.equipment-cards .equipo-gnss h3,
.equipment-cards .equipo-gnss p {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

/* ================================
   IMAGEN DE FONDO Drone
================================ */

.equipment-cards .drone {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgb(15 37 52 / 0%), rgb(0 0 0 / 72%)), url(assets/icono/drone.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
}

.equipment-cards .drone span,
.equipment-cards .drone h3,
.equipment-cards .drone p {
  position: relative;
  z-index: 2;
  color: #ffffff;
}


/* ================================
   POPUP CENTRAL CON IMAGEN
================================ */

/* ================================
   POPUP CENTRAL SOLO IMAGEN
================================ */

.popup-centro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;

  background: transparent !important;
  backdrop-filter: none !important;
  pointer-events: none;
}

.popup-centro.mostrar {
  display: flex;
  animation: popupFondoEntrada 0.4s ease forwards;
}

.popup-centro.ocultar {
  animation: popupFondoSalida 0.35s ease forwards;
}

.popup-centro-contenido {
  max-width: 520px;
  width: auto;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
  box-shadow: none !important;
  transform: scale(0.92);
  animation: popupEntrada 0.45s ease forwards;
  pointer-events: auto;
}

.popup-centro-contenido img {
  width: 100%;
  max-width: 720px;
  height: auto;
  display: block;
  cursor: pointer;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

@keyframes popupEntrada {
  from {
    opacity: 0;
    transform: scale(0.88) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes popupFondoEntrada {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes popupFondoSalida {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@media (max-width: 600px) {
  .popup-centro-contenido img {
  width: 100%;
  max-width: 720px;

}
  
}









/* ================================
   TESTIMONIOS
================================ */

/*.testimonios-section {*/
/*  padding: 80px 20px;*/
/*  background:*/
/*    linear-gradient(*/
/*      rgba(244, 241, 231, 0.92),*/
/*      rgba(244, 241, 231, 0.92)*/
/*    ),*/
/*    repeating-radial-gradient(*/
/*      ellipse at 20% 15%,*/
/*      transparent 0 18px,*/
/*      rgba(23, 52, 70, 0.12) 19px 20px*/
/*    ),*/
/*    repeating-radial-gradient(*/
/*      ellipse at 82% 72%,*/
/*      transparent 0 22px,*/
/*      rgba(89, 111, 59, 0.12) 23px 24px*/
/*    );*/
/*  background-size: auto, 620px 420px, 720px 520px;*/
/*}*/

.testimonios-header {
  max-width: 850px;
  margin: 0 auto 42px;
  text-align: center;
}

.testimonios-header h2 {
  color: var(--azul);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 16px 0;
}

.testimonios-header p {
  color: var(--gris-suave);
  font-size: 1.08rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.testimonios-carrusel {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  align-items: center;
  gap: 18px;
}

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  min-height: 260px;
}

.testimonio-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(23, 52, 70, 0.12);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 16px 38px rgba(15, 37, 52, 0.10);
  position: relative;
  overflow: hidden;
}

.testimonio-card::before {
  content: "“";
  position: absolute;
  top: -28px;
  right: 24px;
  font-size: 8rem;
  font-weight: 900;
  color: rgba(89, 111, 59, 0.12);
  line-height: 1;
}

.testimonio-card h3 {
  color: var(--azul);
  font-size: 1.25rem;
  font-weight: 900;
  margin: 0 0 14px;
  position: relative;
  z-index: 2;
}

.testimonio-card p {
  color: var(--gris-suave);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
  position: relative;
  z-index: 2;
}

.testimonio-control {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: var(--azul);
  color: #ffffff;
  font-size: 2.3rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(15, 37, 52, 0.18);
  transition: all 0.25s ease;
}

.testimonio-control:hover {
  background: var(--verde);
  transform: scale(1.08);
}

.testimonio-vacio {
  grid-column: 1 / -1;
  text-align: center;
  background: rgba(255, 255, 255, 0.75);
  border: 1px dashed rgba(23, 52, 70, 0.22);
  border-radius: 24px;
  padding: 34px;
  color: var(--gris-suave);
  font-weight: 800;
}

/* ================================
   MODAL TESTIMONIO
================================ */

.modal-testimonio {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 37, 52, 0.48);
  backdrop-filter: blur(5px);
}

.modal-testimonio.mostrar {
  display: flex;
}

.modal-testimonio-contenido {
  width: min(560px, 100%);
  background:
    linear-gradient(
      rgba(255, 255, 255, 0.96),
      rgba(255, 255, 255, 0.96)
    ),
    repeating-radial-gradient(
      ellipse at 20% 15%,
      transparent 0 18px,
      rgba(23, 52, 70, 0.10) 19px 20px
    );
  border-radius: 30px;
  padding: 34px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  position: relative;
  animation: modalTestimonioEntrada 0.35s ease forwards;
}

@keyframes modalTestimonioEntrada {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.cerrar-modal-testimonio {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--azul);
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-testimonio-contenido h2 {
  color: var(--azul);
  font-size: 2rem;
  margin: 16px 0 8px;
}

.modal-testimonio-contenido p {
  color: var(--gris-suave);
  line-height: 1.6;
}

.form-testimonio {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.form-testimonio label {
  display: grid;
  gap: 8px;
  color: var(--azul);
  font-weight: 900;
}

.form-testimonio input,
.form-testimonio textarea {
  width: 100%;
  border: 1px solid rgba(23, 52, 70, 0.18);
  background: #ffffff;
  border-radius: 16px;
  padding: 14px 15px;
  font-size: 1rem;
  outline: none;
  font-family: inherit;
}

.form-testimonio input:focus,
.form-testimonio textarea:focus {
  border-color: var(--verde);
  box-shadow: 0 0 0 4px rgba(89, 111, 59, 0.13);
}

.mensaje-testimonio {
  font-weight: 900;
  color: var(--verde);
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 780px) {
  .testimonios-carrusel {
    grid-template-columns: 42px 1fr 42px;
    gap: 10px;
  }

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

  .testimonio-control {
    width: 42px;
    height: 42px;
    font-size: 1.8rem;
  }

  .modal-testimonio-contenido {
    padding: 28px 22px;
  }
}


/* ===== CARRUSEL TESTIMONIOS RESPONSIVE ===== */

.testimonios-section {
  padding: 60px 20px;
  /*background: #f5f5f5;*/
  text-align: center;
}

.testimonios-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.testimonios-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonios-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonio-card {
  min-width: 50%;
  padding: 15px;
  box-sizing: border-box;
}

.testimonio-inner {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.10);
  height: 100%;
  text-align: left;
}

.testimonio-texto {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 18px;
}

.testimonio-nombre {
  font-weight: bold;
  color: #2f5f3a;
  font-size: 1.05rem;
}

/* Botones */
.testimonios-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #2f5f3a;
  color: white;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonios-btn:hover {
  background: #244b2d;
}

.testimonios-btn.prev {
  left: 5px;
}

.testimonios-btn.next {
  right: 5px;
}

/* Botón agregar testimonio */
.btn-testimonio {
  margin-top: 30px;
  background: #2f5f3a;
  color: #fff;
  border: none;
  padding: 14px 24px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1rem;
}

.btn-testimonio:hover {
  background: #244b2d;
}

/* ===== MÓVIL ===== */
@media (max-width: 768px) {
  .testimonios-section {
    padding: 45px 14px;
  }

  .testimonios-section h2 {
    font-size: 1.55rem;
    margin-bottom: 22px;
  }

  .testimonios-wrapper {
    max-width: 100%;
    padding: 0 8px;
  }

  .testimonio-card {
    min-width: 100%;
    padding: 10px;
  }

  .testimonio-inner {
    padding: 22px 20px;
    border-radius: 16px;
    text-align: center;
  }

  .testimonio-texto {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .testimonio-nombre {
    font-size: 1rem;
  }

  .testimonios-btn {
    width: 36px;
    height: 36px;
    font-size: 19px;
    top: 48%;
  }

  .testimonios-btn.prev {
    left: 0;
  }

  .testimonios-btn.next {
    right: 0;
  }

  .btn-testimonio {
    width: 100%;
    max-width: 280px;
    padding: 13px 18px;
    font-size: 0.95rem;
  }
}

.testimonio-correo {
  margin-top: 14px;
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
  word-break: break-word;
}

.testimonio-texto {
  margin-bottom: 0;
}

.testimonio-texto {
  margin-bottom: 0;
}

.testimonio-correo {
  margin-top: 14px;
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
  word-break: break-word;
}


/* ===== CELULARES MUY PEQUEÑOS ===== */
@media (max-width: 480px) {
  .testimonios-section h2 {
    font-size: 1.35rem;
  }

  .testimonio-inner {
    padding: 20px 16px;
  }

  .testimonio-texto {
    font-size: 0.9rem;
  }

  .testimonios-btn {
    width: 32px;
    height: 32px;
    font-size: 17px;
  }
}





