:root {

  /* Paleta aprobada: verde pastel para acentos y verde oscuro para contraste */
  --verde-pastel: #80EF80;
  --verde-pastel-hover: #62DD70;
  --verde-fondo-suave: #E8F8E8;
  --verde-contraste: #2E7D32;

  --verde: #003F2D;

  --verde-oscuro: #062F23;

  --verde-suave: #8CBF9C;

  --crema: #F7F5ED;

  --dorado: #E7C17B;

  --blanco: #FFFFFF;

}



* {

  box-sizing: border-box;

}



body {

  margin: 0;

  font-family: Arial, Helvetica, sans-serif;

  color: var(--verde-oscuro);

  background: var(--crema);

}



a { text-decoration: none; }



.header {

  min-height: 78px;

  background: white;

  display: flex;

  align-items: center;

  justify-content: space-between;

  padding: 10px 5%;

  gap: 20px;

  position: sticky;

  top: 0;

  z-index: 100;

  box-shadow: 0 2px 12px #00000010;

}



.logo img {

  width: 232.5px;

  max-height: 87px;

  object-fit: contain;

}



.nav {

  display: flex;

  align-items: center;

  gap: 20px;

}



.nav a {

  color: var(--verde-oscuro);

  font-size: 13px;

  font-weight: 600;

}



.nav a:hover,

.nav .activo {

  color: var(--verde-contraste);

}



.nav .btn-nav {

  background: var(--verde-pastel);

  color: var(--verde-oscuro);

  padding: 12px 19px;

  border-radius: 6px;

}



.menu-toggle { display: none; }



.hero {

  min-height: 540px;

  margin: 12px auto 0;

  width: 96%;

  border-radius: 16px;

  background:

    linear-gradient(90deg,

      rgba(0, 30, 19, .84),

      rgba(0, 30, 19, .15)),

    url("../assets/referencias/home_04.jpg")

    center / cover;

  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 55px 6%;

  gap: 35px;

  overflow: hidden;

}



.hero-texto {

  color: white;

  max-width: 580px;

}



.etiqueta {

  font-size: 12px;

  letter-spacing: 2px;

}



.hero h1 {

  font-size: clamp(34px, 4.5vw, 60px);

  line-height: 1.08;

  margin: 18px 0;

}



.hero h1 span { color: var(--dorado); }



.hero p {

  font-size: 17px;

  line-height: 1.6;

  max-width: 470px;

}



.hero-botones {

  display: flex;

  flex-wrap: wrap;

  gap: 12px;

  margin-top: 26px;

}



.hero-botones a {

  padding: 14px 22px;

  border-radius: 7px;

  font-size: 14px;

  font-weight: bold;

}



.btn-dorado {

  background: var(--dorado);

  color: var(--verde-oscuro);

}



.btn-borde {

  color: white;

  border: 1px solid white;

}



.hero-panel {

  width: 195px;

  background: rgba(0, 48, 32, .9);

  color: white;

  border-radius: 14px;

  padding: 22px;

  display: grid;

  gap: 20px;

}



.hero-panel div {

  display: grid;

  text-align: center;

  gap: 7px;

}



.hero-panel strong {

  font-size: 23px;

  color: var(--dorado);

}



.hero-panel span {

  font-size: 12px;

}



.accesos {

  max-width: 1350px;



  margin: -185px auto 0;

  padding: 0 20px;

  position: relative;

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 14px;

}



.acceso {

  background: white;

  padding: 23px 12px;

  border-radius: 13px;

  display: grid;

  text-align: center;

  gap: 9px;

  color: var(--verde-oscuro);

  box-shadow: 0 5px 22px #00000016;

  transition: transform .2s;

}



.acceso:hover {

  transform: translateY(-6px);

}



.acceso span {

  font-size: 30px;

  color: var(--verde);

}



.acceso strong { font-size: 14px; }



.acceso small { color: #666; }



.productos {

  max-width: 1180px;

  margin: 60px auto;

  padding: 0 20px;

}



.titulo-seccion {

  display: flex;

  align-items: center;

  justify-content: space-between;

  margin-bottom: 22px;

}



.subtitulo {

  font-size: 11px;

  font-weight: bold;

  letter-spacing: 1.5px;

  color: #43845E;

}



h2 {

  font-size: 30px;

  margin: 8px 0;

}



.flecha {

  width: 42px;

  height: 42px;

  background: var(--verde);

  color: white;

  border-radius: 50%;

  display: grid;

  place-items: center;

  font-size: 22px;

}



.grid-productos {

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 17px;

}



.producto {

  color: var(--verde-oscuro);

}



.foto-producto {

  aspect-ratio: 4 / 3;

  background: #E5E0D3;

  border-radius: 9px;

  display: grid;

  place-items: center;

  text-align: center;

  padding: 15px;

  color: #777;

  font-size: 13px;

}



.producto h3 {

  font-size: 15px;

  margin: 12px 0;

}




.compromiso {
  max-width: 1180px;
  width: calc(100% - 40px);

  margin: 70px auto 30px;

  background: var(--verde-fondo-suave);
  border-radius: 13px;
  padding: 30px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}




.compromiso p {

  max-width: 650px;

  line-height: 1.6;

}



.footer {
  background: linear-gradient(115deg, #26553E 0%, #306D4D 55%, #3A7558 100%);
  color: #F5FAF5;
  border-top: 5px solid #80EF80;
  padding: 32px 7% 18px;
  text-align: center;
  font-size: 13px;
}

.footer a { color: #DAF7DE; }
.footer a:hover { color: #FFFFFF; text-decoration: underline; }



@media (max-width: 900px) {

  .menu-toggle {

    display: block;

    border: none;

    background: transparent;

    font-size: 27px;

    cursor: pointer;

  }



  .header { flex-wrap: wrap; }



  .nav {

    display: none;

    width: 100%;

    flex-direction: column;

    align-items: stretch;

    gap: 0;

  }



  .nav.abierto { display: flex; }



  .nav a { padding: 12px; }



  .hero { padding: 40px 6%; }



  .hero-panel { display: none; }



  .accesos,

  .grid-productos {

    grid-template-columns: repeat(2, 1fr);

  }

}



@media (max-width: 540px) {

  .hero { min-height: 500px; }



  .hero h1 { font-size: 35px; }



  .accesos {

    margin-top: 15px;

    gap: 10px;

  }



  .acceso { padding: 16px 8px; }



  .grid-productos { gap: 12px; }



    .compromiso {
    margin: 35px auto 40px;
}
}

  /* AJUSTE DEL BANNER PRINCIPAL - INICIO */

.hero {

  min-height: 490px;



  width: min(1480px, 96%);

  margin: 8px auto 0;



  border-radius: 18px;



  background-image:

    linear-gradient(

      90deg,

      rgba(0, 38, 27, 0.90) 0%,

      rgba(0, 38, 27, 0.62) 52%,

      rgba(0, 38, 27, 0.15) 100%

    ),

    url("../assets/operaciones/trabajo-forestal-1.jpg");



  background-position: center;

  background-size: cover;

  background-repeat: no-repeat;



  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 45px 6%;

  gap: 30px;

  overflow: hidden;

}



@media (max-width: 600px) {

  .hero {

    min-height: 540px;

    padding: 35px 6%;

    background-position: center;

  }

}



/* ==================================

   MEJORAS VISUALES - INICIO

================================== */



/* Banner */

.hero {

  min-height: 530px;

  padding: 55px 6%;

  gap: 35px;

}



/* Título principal */

.hero h1 {

  font-size: clamp(36px, 3.5vw, 58px);

  line-height: 1.12;

  letter-spacing: -1.5px;

  max-width: 650px;

  margin: 22px 0;

}



/* Descripción del banner */

.hero p {

  font-size: 17px;

  line-height: 1.7;

  max-width: 560px;

}



/* Tarjeta informativa derecha */

.hero-stats {

  width: 230px;

  flex-shrink: 0;

  padding: 25px 20px;

  border-radius: 16px;

}



/* Logo */

header img {

  max-height: 75px;

  width: auto;

  object-fit: contain;

}



/* Pantallas pequeñas */

@media (max-width: 768px) {

  .hero {

    padding: 38px 6%;

    flex-direction: column;

    align-items: flex-start;

  }



  .hero h1 {

    font-size: 38px;

    letter-spacing: -0.5px;

  }



  .hero-stats {

    width: 100%;

  }

}



/* LOGOTIPO HORIZONTAL */

.logo-empresa {

  display: block;

  width: 210px;

  max-width: 100%;

  height: auto;

  object-fit: contain;

}



@media (max-width: 768px) {

  .logo-empresa {

    width: 165px;

  }

}



/* MENÚ DE NAVEGACIÓN */



nav a {

  transition: color 0.2s ease;

}



nav a:hover {

  color: #00864D;

}



nav a.activo {

  color: #00864D;

  font-weight: 700;

}



/* ÍTEM 3 - TÍTULO DEL BANNER PRINCIPAL */



.hero h1 {

  font-size: clamp(32px, 3.2vw, 52px);

  line-height: 1.15;

  letter-spacing: -0.8px;

  max-width: 600px;

  margin: 18px 0 22px;

}



.hero p {

  font-size: 16px;

  line-height: 1.7;

  max-width: 520px;

}



/* ÍTEM 3 - TARJETA DEL BANNER */



.hero-stats {

  width: 225px;

  max-width: 100%;

  flex-shrink: 0;

  padding: 24px;

  border-radius: 16px;

  background: rgba(0, 63, 45, 0.94);

  border: 1px solid rgba(255, 255, 255, 0.18);

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);

}



/* Separación entre elementos */

.hero-stats > * + * {

  margin-top: 14px;

}



/* Adaptación para celulares */

@media (max-width: 768px) {

  .hero-stats {

    width: 100%;

    padding: 20px;

  }

}



/* =====================================

   INICIO - BANNER SEGÚN PROTOTIPO

===================================== */



@media (min-width: 901px) {



  .hero {

    width: 98%;

    max-width: 1800px;

    min-height: 620px;

    margin: 6px auto 0;



    padding: 55px 4.5% 125px;



    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 35px;



    border-radius: 16px;

  }



  /* Texto y botones más arriba */

  .hero-content {

    margin-top: 0;

    max-width: 690px;

  }



  /* Tarjeta informativa más grande */

  .hero-panel,

  .hero-stats {

    width: 270px;

    min-width: 270px;

    margin-top: 0;

    margin-right: 0;

    padding: 28px 22px;

  }



}



/* ICONOS DE ACCESOS RÁPIDOS */



.acceso svg {

  width: 38px;

  height: 38px;

  color: #006B45;

  stroke-width: 2;

  margin: 0 auto 4px;

  transition: transform 0.25s ease;

}



.acceso:hover svg {

  transform: scale(1.12);

}



/* ICONOS DE LA TARJETA VERDE */



.hero-panel svg {

  width: 30px;

  height: 30px;

  color: #E7C17B;

  stroke-width: 1.8;

  margin: 0 auto 5px;

}



.hero-panel div {

  display: grid;

  justify-items: center;

  text-align: center;

  gap: 7px;

}



/* MEJORAS VISUALES DEL BANNER - ESCRITORIO */



@media (min-width: 1100px) {



  /* Título más grande */

  .hero-content h1 {

    font-size: clamp(54px, 3.8vw, 72px);

    line-height: 1.08;

    letter-spacing: -1.5px;

    max-width: 760px;

  }



  /* Tarjeta verde más compacta */

  .hero-panel {

    width: 255px;

    min-width: 255px;

    padding: 26px 18px;

    border-radius: 25px;

    flex-shrink: 0;

  }



  /* Separación entre elementos */

  .hero-panel div {

    gap: 5px;

  }



  /* Iconos de la tarjeta verde */

  .hero-panel svg {

    width: 27px;

    height: 27px;

  }



  /* Accesos inferiores más redondeados */

  .acceso {

    border-radius: 24px;

  }



}



/* EFECTO CRISTAL - TARJETA VERDE */



.hero-panel {

  background: rgba(0, 65, 43, 0.2);

  backdrop-filter: blur(8px);

  -webkit-backdrop-filter: blur(8px);



  border: 1px solid rgba(255, 255, 255, 0.22);

  border-radius: 26px;

}



/* EFECTO CRISTAL - ACCESOS INFERIORES */



.acceso {

  background: rgba(255, 255, 255, 0.88);

  backdrop-filter: blur(8px);

  -webkit-backdrop-filter: blur(8px);



  border: 1px solid rgba(255, 255, 255, 0.55);

  border-radius: 28px;

}



/* NUEVA FOTOGRAFÍA DEL BANNER */



.hero {

  background-image:

    linear-gradient(

      90deg,

      rgba(0, 45, 32, 0.82) 0%,

      rgba(0, 45, 32, 0.45) 48%,

      rgba(0, 45, 32, 0.12) 100%

    ),

    url("../assets/operaciones/banner-forestal.png");



  background-size: cover;

  background-position: center 80%;

  background-repeat: no-repeat;

}

/* MISIÓN Y VISIÓN */



.identidad-nosotros {

  width: 90%;

  max-width: 1450px;

  margin: 65px auto;

}



.identidad-encabezado {

  text-align: center;

  margin-bottom: 35px;

}



.identidad-encabezado h2 {

  font-size: clamp(30px, 3vw, 44px);

  color: #003f2d;

  margin-top: 12px;

}



.identidad-grid {

  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 25px;

}



.identidad-card {

  background: white;

  border-radius: 24px;

  padding: 16px 24px;

  border: 1px solid #e5ebe5;

  box-shadow: 0 8px 28px rgba(0, 50, 35, 0.05);

}



.identidad-card svg {

  width: 38px;

  height: 38px;

  color: #00834f;

  stroke-width: 1.8;

}



.identidad-card h3 {

  font-size: 28px;

  color: #003f2d;

  margin: 20px 0;

}



.identidad-card p {
  font-size: 16px;
  line-height: 1.55;
  text-align: justify;
  hyphens: none;
}



@media (max-width: 768px) {

  .identidad-grid {

    grid-template-columns: 1fr;

  }



  .identidad-card {

    padding: 28px;

  }

}




/* NOSOTROS — COMPOSICIÓN ÚNICA, SIN MÁRGENES NEGATIVOS */
body.nosotros-page main {
  display: grid;
grid-template-columns: minmax(0, 38fr) minmax(0, 62fr);  grid-template-areas: "esencia portada" "identidad identidad";
  width: 98%;
  max-width: 1800px;
  margin: 8px auto 0;
  border-radius: 26px 26px 0 0;
}

body.nosotros-page .esencia-nosotros {
  grid-area: esencia;
  min-width: 0;
  min-height: 510px;
  margin: 0;
  padding: 52px 8% 52px 10%;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 26px 0 0 26px;
  box-shadow: none;
  position: relative;
  z-index: 1;
}
body.nosotros-page .esencia-texto { max-width: 100%; }
body.nosotros-page .esencia-texto h2 {
  font-size: clamp(28px, 2.5vw, 43px);
  line-height: 1.14;
  margin: 18px 0 25px;
  color: #003f2d;
}
body.nosotros-page .esencia-texto p {
  font-size: 17px;
  line-height: 1.75;
  color: #354b43;
  margin: 0 0 18px;
  text-align: justify;
  hyphens: none;
}

body.nosotros-page .portada-nosotros {
  grid-area: portada;
  min-width: 0;
  min-height: 510px;
  width: auto;
  margin: 0;
  padding: 50px 6% 50px 12%;
  display: flex;
  align-items: left center;
  position: relative;
  isolation: isolate;
  border-radius: 0 26px 26px 0;
  background-image:
    linear-gradient(90deg, rgba(0,45,32,.65), rgba(0,45,32,.16)),
    url("../assets/nosotros/banner-nosotros.png");
  background-size: auto 115%;
  background-position: left center;
  background-repeat: no-repeat;
}
/* Transición estrecha, encima del lado izquierdo de la fotografía */
body.nosotros-page .portada-nosotros::before {
  content: "";
  position: absolute;
  top: 0;
  left: -2px;
  width: 14%;
  height: 100%;

  background: linear-gradient(
    90deg,
    #ffffff 0%,
    rgba(255,255,255,0.85) 35%,
    rgba(255,255,255,0) 100%
  );

  z-index: 0;
  pointer-events: none;
opacity: 1;
}


body.nosotros-page .portada-nosotros-contenido {
  position: relative;
  z-index: 1;
  max-width: 100%;
  color: white;
  transform: translateY(-35px);
}
body.nosotros-page .portada-nosotros h1 {
  font-size: clamp(32px, 3vw, 51px);
  line-height: 1.12;
  margin: 16px 0;
}
body.nosotros-page .portada-nosotros h1 span { color: #E7C17B; }
body.nosotros-page .portada-nosotros p { font-size: 18px; line-height: 1.5; }
body.nosotros-page .identidad-nosotros {
  grid-area: identidad;
  width: 82%;
  max-width: 1250px;
  margin: 20px auto 16px;
}
@media (max-width: 900px) {
  body.nosotros-page main {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "esencia" "portada" "identidad";
    width: 96%;
  }
  body.nosotros-page .esencia-nosotros {
    min-height: 0;
    padding: 38px 7%;
    border-radius: 22px 22px 0 0;
  }
  body.nosotros-page .portada-nosotros {
    min-height: 350px;
    padding: 45px 9%;
    border-radius: 0 0 22px 22px;
  }
  body.nosotros-page .portada-nosotros::before { display: none; }
  body.nosotros-page .portada-nosotros-contenido { transform: none; }
  body.nosotros-page .identidad-grid { grid-template-columns: 1fr; }
  body.nosotros-page .identidad-card { padding: 28px; }
}
/* POSICIÓN DE TEXTOS EN LA FOTO - NOSOTROS */

body.nosotros-page .portada-nosotros {
  align-items: flex-start;
}

body.nosotros-page .portada-nosotros-contenido {
  width: 100%;
  transform: none;
  margin-top: 2px;
}

body.nosotros-page .portada-nosotros-contenido p {
  position: absolute;
  top: 420px;
  left: 70px;
  margin: 0;
  color: #ffffff;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}
body.nosotros-page .portada-nosotros .etiqueta {
  color: #ffffff;
}

body.nosotros-page .portada-nosotros h1 {
  color: #ffffff;
}
/* CORRECCIÓN DEL NOMBRE DE LA EMPRESA EN CELULARES */
@media (max-width: 900px) {
  body.nosotros-page .portada-nosotros {
    position: relative;
    overflow: hidden;
  }

  body.nosotros-page .portada-nosotros-contenido p {
    position: absolute;
    top: auto;
    bottom: auto;
    left: 0;
    width: 100%;
    margin-top: 165px;
    font-size: 14px;
    text-align: center;
    color: #ffffff;
  }
}
/* EXPERIENCIA / CAPACITACIÓN - NOSOTROS */
body.nosotros-page .experiencia-nosotros {
  width: min(1200px,92%);
 margin: 20px auto 40px;
  padding: 24px 30px;
  background: #ffffff;
  border: 1px solid #e5ebe5;
  border-radius: 24px;
  box-shadow: 0 8px 28px rgba(0, 50, 35, 0.05);
  max-width: 1450px;
  
  display: grid;
 grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
  gap: 30px;
}

body.nosotros-page .experiencia-encabezado {
  max-width: 760px;
  margin-bottom: 26px;
}

body.nosotros-page .experiencia-encabezado .subtitulo {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #2e7d5a;
  font-weight: 700;
  margin-bottom: 12px;
}

body.nosotros-page .experiencia-encabezado h2 {
 font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.1;
  color: #004b36;
  margin-bottom: 16px;
}

body.nosotros-page .experiencia-encabezado p {
  font-size: 18px;
  line-height: 1.7;
  color: #32433c;
}

body.nosotros-page .experiencia-imagen img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  border-radius: 16px;
}

@media (max-width: 768px) {
  body.nosotros-page .experiencia-nosotros {
    width: 94%;
    padding: 24px;
    margin: 25px auto 45px;
    border-radius: 22px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  body.nosotros-page .experiencia-encabezado p {
  font-size: 16px;
line-height: 1.5;
  }

  body.nosotros-page .experiencia-imagen img {
    height: auto;
    aspect-ratio: 16 / 10;
  }
}

  body.nosotros-page .experiencia-encabezado p {
    font-size: 16px;
  }
  /* HISTORIA Y MERCADOS */
body.nosotros-page .historia-mercados {
  grid-area: auto;
  grid-column: 1 / -1;
  width: min(1250px, 90%);
  margin: 35px auto;
}


body.nosotros-page .historia-mercados-item {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 32px 38px;
  background: #ffffff;
  border: 1px solid #e5ebe5;
  border-radius: 24px;
  box-shadow: 0 8px 28px rgba(0, 50, 35, 0.05);
  box-sizing: border-box;
}


body.nosotros-page .historia-mercados-imagen img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

body.nosotros-page .historia-mercados-texto h2 {
  color: #004b36;
  font-size: 28px;
  margin: 0 0 16px;
}

body.nosotros-page .historia-mercados-texto p {
  color: #263b34;
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 16px;
}

@media (max-width: 768px) {
  body.nosotros-page .historia-mercados-item {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  body.nosotros-page .historia-mercados-imagen {
    max-width: 320px;
  }
}
/* HISTORIA Y MERCADOS - NOSOTROS */

body.nosotros-page .historia-mercados {
  grid-column: 1 / -1;
  width: 90%;
  max-width: 1250px;
  margin: 35px auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}


body.nosotros-page .historia-mercados {
  grid-column: 1 / -1;
  width: min(1200px, 92%);
  max-width: 1450px;
  margin: 35px auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}


body.nosotros-page .historia-mercados-item h2 {
  color: #004b36;
  font-size: 27px;
  margin: 0 0 18px;
}

body.nosotros-page .historia-mercados-item p {
  color: #263b34;
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 15px;
}

@media (max-width: 768px) {
  body.nosotros-page .historia-mercados {
    width: 94%;
  }

  body.nosotros-page .historia-mercados-item {
    padding: 24px;
  }
}/* VENTANA EMERGENTE - HISTORIA */

body.nosotros-page .btn-historia {
  background: #004b36;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 11px 22px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

body.nosotros-page .modal-historia {
  width: min(720px, 92%);
  max-height: 85vh;
  overflow-y: auto;
  padding: 30px;
  border: none;
  border-radius: 22px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.25);
  color: #263b34;
}

body.nosotros-page .modal-historia::backdrop {
  background: rgba(0, 30, 20, 0.65);
}

body.nosotros-page .modal-historia-encabezado {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

body.nosotros-page .modal-historia-encabezado h2 {
  color: #004b36;
  margin: 0;
}

body.nosotros-page .modal-historia-encabezado button {
  background: #f0f3f0;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 20px;
}

body.nosotros-page .modal-historia p {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 18px;
  text-align: justify;
  hyphens: none;
}


/* NUESTRA HISTORIA - GALERÍA HORIZONTAL */

body.nosotros-page .historia-galeria {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

body.nosotros-page .historia-galeria img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  padding: 0;
  background: #f7f8f5;
  border: 1px solid #dce7de;
  border-radius: 12px;
  box-sizing: border-box;
  cursor: default;
  transform: none !important;
}

/* Última fotografía centrada y destacada */

body.nosotros-page .historia-galeria img:last-child {
  grid-column: 1 / -1;
  width: min(100%, 430px);
  justify-self: center;
}

/* ADAPTACIÓN A CELULARES */

@media (max-width: 600px) {
  body.nosotros-page .historia-galeria {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body.nosotros-page .historia-galeria img:last-child {
    grid-column: auto;
    width: 100%;
  }
}

/* ENCABEZADO FIJO EN CELULARES */
@media (max-width: 768px) {

  body.nosotros-page .header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    box-sizing: border-box;
    background: #ffffff;
  }

}
/* AJUSTES DEL ENCABEZADO EN CELULAR */
@media (max-width: 768px) {

  body.nosotros-page .header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  min-height: 76px;
padding: 5px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  background: #ffffff;
}

  body.nosotros-page .header .logo {
    display: flex;
    align-items: center;
    min-width: 0;
  }

  body.nosotros-page .header .logo-empresa {
  display: block;
  width: 200px;
  max-width: 100%;
  height: 65px;
  max-height: none;
  object-fit: contain;
  object-position: center;
  margin: 0;
}

  body.nosotros-page .header .menu-toggle {
    flex-shrink: 0;
  }
}
/* POSICIÓN DEL BANNER SOLO EN CELULAR */
@media (max-width: 768px) {

  body.nosotros-page .portada-nosotros {
    background-position: 40% center;
  }

}

/* =========================================
   PÁGINA PRODUCTOS
   ========================================= */

body.productos-page {
  background: #F3FBF0;
}

/* CONTENEDOR PRINCIPAL */
body.productos-page .productos-contenido {
  width: 92%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 45px 0 55px;
}

/* PRESENTACIÓN */
body.productos-page .productos-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 30px;
}

body.productos-page .productos-intro h1 {
  font-size: clamp(32px, 3.5vw, 52px);
  line-height: 1.1;
  color: #003d2c;
  margin: 12px 0 15px;
}

body.productos-page .productos-intro p {
  font-size: 17px;
  line-height: 1.6;
  max-width: 540px;
  color: #53635b;
}

/* BUSCADOR */
body.productos-page .productos-busqueda {
  display: flex;
  width: 370px;
  max-width: 100%;
  height: 48px;
  flex-shrink: 0;
}

body.productos-page .productos-busqueda input {
  flex: 1;
  min-width: 0;
  padding: 0 16px;
  border: 1px solid #dce3da;
  border-radius: 9px 0 0 9px;
  font-size: 14px;
  outline: none;
  background: white;
}

body.productos-page .productos-busqueda input:focus {
  border-color: #00734c;
}

body.productos-page .productos-busqueda button {
  width: 50px;
  border: none;
  border-radius: 0 9px 9px 0;
  background: var(--verde-pastel);
  color: var(--verde-oscuro);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* FILTROS */
body.productos-page .productos-filtros {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}

body.productos-page .filtro {
  border: 1px solid #e2e8e1;
  background: white;
  color: #263c32;
  padding: 11px 17px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

body.productos-page .filtro:hover {
  border-color: #004b36;
  color: #004b36;
}

body.productos-page .filtro.activo {
  background: var(--verde-pastel);
  color: var(--verde-oscuro);
  border-color: var(--verde-pastel);
}

/* PRODUCTOS + PANEL LATERAL */
body.productos-page .productos-distribucion {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 245px;
  gap: 22px;
  align-items: start;
}

/* CUADRÍCULA DE GRUPOS */
body.productos-page .productos-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}


/* GRUPOS DE PRODUCTOS */

body.productos-page .productos-grupo {
  min-width: 0;
  padding: 14px;
  border: 1px solid #dce7de;
  border-radius: 20px;
  background: #ffffff;
}

body.productos-page .productos-grupo-principal {
  background: #E8F8E8;
  border-color: #b5ddbc;
}

body.productos-page .productos-grupo-titulo {
  margin: 0 0 16px;
  color: #004b36;
  font-size: 19px;
  line-height: 1.3;
  text-align: center;
}

body.productos-page .productos-grupo-tarjetas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

body.productos-page .productos-grupo .producto-card {
  min-width: 0;
  height: 100%;
}

/* TARJETAS */

body.productos-page .producto-card {
  min-width: 0;
  height: auto;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  align-content: start;
  overflow: hidden;
  background: white;
  border: 1px solid #e7ebe5;
  border-radius: 13px;
  padding: 0 0 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.productos-page .producto-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 45, 30, 0.12);
}

body.productos-page .producto-imagen {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #e5e9df;
  margin-bottom: 14px;
}

body.productos-page .producto-card h3 {
  font-size: 16px;
  line-height: 1.35;
  color: #183b2c;
  margin: 0 13px 10px;
  min-height: 44px;
}

body.productos-page .producto-detalle {
  display: inline-block;
  justify-self: start;
  align-self: end;
  margin: 12px 13px 0;
  padding: 0;
  border: none;
  background: transparent;
  color: #006646;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

body.productos-page .producto-detalle:hover {
  text-decoration: underline;
}

/* PANEL DE COTIZACIÓN */
body.productos-page .productos-cotizacion {
  background: #B8E8B8;
  color: #103B2C;
  border-radius: 15px;
  padding: 25px 20px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

body.productos-page .productos-cotizacion > i,
body.productos-page .productos-cotizacion > svg {
  width: 34px;
  height: 34px;
  color: #2E7D32;
  margin-bottom: 22px;
}

body.productos-page .productos-cotizacion h2 {
  font-size: 23px;
  line-height: 1.2;
  color: #103B2C;
  margin: 0 0 15px;
}

body.productos-page .productos-cotizacion p {
  font-size: 14px;
  line-height: 1.6;
  color: #305B3D;
  margin-bottom: 25px;
}

body.productos-page .productos-btn-cotizar {
  display: block;
  margin-top: auto;
  padding: 13px 16px;
  background: #80EF80;
  color: #153a2b;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  border-radius: 9px;
  text-align: center;
}

/* BENEFICIOS */
body.productos-page .productos-beneficios {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
  padding: 22px 0;
  border-top: 1px solid #dce5d9;
}

body.productos-page .productos-beneficios span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #28483a;
}

body.productos-page .productos-beneficios svg {
  width: 25px;
  height: 25px;
  color: #00734c;
}

/* TABLET */
@media (max-width: 1100px) {
  body.productos-page .productos-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

  body.productos-page .productos-distribucion {
    grid-template-columns: minmax(0, 1fr) 220px;
  }
}

/* CELULARES */
@media (max-width: 768px) {
  body.productos-page .productos-contenido {
    width: 92%;
    padding: 30px 0;
  }

  body.productos-page .productos-intro {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }

  body.productos-page .productos-intro h1 {
    font-size: 32px;
  }

  body.productos-page .productos-busqueda {
    width: 100%;
  }

  body.productos-page .productos-filtros {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  body.productos-page .filtro {
    white-space: nowrap;
    flex-shrink: 0;
  }

  body.productos-page .productos-distribucion {
    grid-template-columns: 1fr;
  }

  body.productos-page .productos-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

  body.productos-page .producto-card h3 {
    font-size: 14px;
  }

  
  body.productos-page .productos-cotizacion {
    min-height: auto;
  }

  body.productos-page .productos-beneficios {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}


/* CELULARES PEQUEÑOS */
@media (max-width: 360px) {
  body.productos-page .productos-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   PÁGINA SERVICIOS - MACHU PICCHU WOOD
   ========================================= */

body.servicios-page {
  background: #E8F8E8;
}

/* Contenedor principal */
body.servicios-page .servicios-contenido {
  width: 92%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 0 35px;
}

/* Presentación */
body.servicios-page .servicios-intro {
  max-width: 100%;
  margin-bottom: 8px;
}

body.servicios-page .servicios-intro h1 {
  font-size: clamp(30px, 2.8vw, 42px);
  line-height: 1.12;
  color: #003d2c;
  margin: 8px 0 10px;
}

body.servicios-page .servicios-intro p {
  font-size: 17px;
  line-height: 1.5;
  color: #53635b;
}

/* Tarjetas */
body.servicios-page .servicios-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
}

body.servicios-page .servicio-card {
  background: #ffffff;
  border: 1px solid #e5ebe5;
  border-radius: 24px;
  padding: 26px 30px;
  box-shadow: 0 8px 28px rgba(0, 50, 35, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.servicios-page .servicio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 35px rgba(0, 50, 35, 0.12);
}

/* Iconos */
body.servicios-page .servicio-icono {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  background: #CFF3CF;
  color: var(--verde-contraste);
  border-radius: 18px;
  margin-bottom: 24px;
}

body.servicios-page .servicio-icono svg {
  width: 32px;
  height: 32px;
}

/* Textos */
body.servicios-page .servicio-card h2 {
  font-size: 27px;
  color: #003f2d;
  margin: 0 0 18px;
}

body.servicios-page .servicio-card p {
  font-size: 16px;
  line-height: 1.75;
  color: #354b43;
  margin-bottom: 28px;
}

body.servicios-page .servicio-card a {
  color: #006b45;
  font-size: 15px;
  font-weight: 700;
}

/* Adaptación para celulares */
@media (max-width: 768px) {
  body.servicios-page .servicios-contenido {
    padding: 35px 0 55px;
  }

  body.servicios-page .servicios-grid {
    grid-template-columns: 1fr;
  }

  body.servicios-page .servicio-card {
    padding: 28px;
  }

  body.servicios-page .servicio-card h2 {
    font-size: 23px;
  }
}

/* =====================================
   CATÁLOGO - MACHU PICCHU WOOD
   ===================================== */

body.catalogo-page {
  background: #F3FBF0;
}

body.catalogo-page .catalogo-contenido {
  width: 92%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 25px 0 55px;
}

/* Encabezado y buscador */
body.catalogo-page .catalogo-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 25px;
}

body.catalogo-page .catalogo-intro h1 {
  font-size: clamp(30px, 2.8vw, 42px);
  color: #003d2c;
  margin: 8px 0 10px;
  line-height: 1.15;
}

body.catalogo-page .catalogo-intro p {
  font-size: 16px;
  color: #53635b;
  line-height: 1.5;
  margin: 0;
}

body.catalogo-page .catalogo-busqueda {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #dce5dc;
  border-radius: 14px;
  padding: 12px 16px;
  min-width: 260px;
}

body.catalogo-page .catalogo-busqueda input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 15px;
}

body.catalogo-page .catalogo-busqueda svg {
  width: 21px;
  height: 21px;
  color: #006b45;
  flex-shrink: 0;
}

/* Cuadrícula */
body.catalogo-page .catalogo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

/* Tarjetas */
body.catalogo-page .especie-card {
  background: #ffffff;
  border: 1px solid #e5ebe5;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 50, 35, 0.05);
  transition: transform 0.2s ease;
}

body.catalogo-page .especie-card:hover {
  transform: translateY(-4px);
}

body.catalogo-page .especie-imagen {
  height: 190px;
  background: #e8eee6;
  color: #708176;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

body.catalogo-page .especie-info {
  padding: 22px 25px 25px;
}

body.catalogo-page .especie-info h2 {
  color: #003f2d;
  font-size: 24px;
  margin: 0 0 10px;
}

body.catalogo-page .especie-info p {
  color: #53635b;
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 20px;
}

body.catalogo-page .especie-nombres {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 16px;
}

body.catalogo-page .especie-nombres strong {
  color: #153d2d;
  font-weight: 700;
}

body.catalogo-page .ver-ficha {
  background: transparent;
  border: none;
  padding: 0;
  color: #006b45;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

body.catalogo-page .ver-ficha:hover {
  text-decoration: underline;
}

body.catalogo-page #catalogo-sin-resultados {
  text-align: center;
  padding: 30px;
  color: #53635b;
}

/* Ventana de ficha técnica */
body.catalogo-page .modal-especie {
  width: min(720px, 92vw);
  max-height: 85vh;
  border: none;
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.25);
}

body.catalogo-page .modal-especie::backdrop {
  background: rgba(0, 25, 18, 0.65);
}

body.catalogo-page .modal-especie-encabezado {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

body.catalogo-page .modal-especie-encabezado h2 {
  color: #003f2d;
  margin: 0;
}

body.catalogo-page #cerrar-modal-especie {
  background: #edf2ec;
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
}

/* Celulares y tablets */
@media (max-width: 900px) {
  body.catalogo-page .catalogo-intro {
    flex-direction: column;
    align-items: stretch;
  }

  body.catalogo-page .catalogo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  body.catalogo-page .catalogo-grid {
    grid-template-columns: 1fr;
  }

  body.catalogo-page .catalogo-contenido {
    width: 92%;
    padding-top: 20px;
  }

  body.catalogo-page .especie-imagen {
    height: 180px;
  }
}

/* FICHAS TÉCNICAS DEL CATÁLOGO */

body.catalogo-page .modal-especie {
  width: min(92%, 760px);
  max-height: 85vh;
  padding: 28px;
  border: none;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
}

body.catalogo-page .modal-especie::backdrop {
  background: rgba(0, 0, 0, .65);
}

body.catalogo-page .modal-especie-encabezado {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

body.catalogo-page #cerrar-modal-especie {
  border: none;
  background: #edf2ed;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  flex-shrink: 0;
}

body.catalogo-page #modal-especie-contenido h3 {
  margin: 24px 0 12px;
  color: #285c3a;
}

body.catalogo-page #modal-especie-contenido table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

body.catalogo-page #modal-especie-contenido th,
body.catalogo-page #modal-especie-contenido td {
  padding: 11px;
  border-bottom: 1px solid #e3e8e3;
  text-align: left;
}

body.catalogo-page #modal-especie-contenido th {
  width: 65%;
  font-weight: 500;
}

body.catalogo-page .consulta-especie {
  margin-top: 28px;
  padding-top: 8px;
  border-top: 1px solid #e3e8e3;
}

body.catalogo-page .consulta-especie-botones {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

body.catalogo-page .consulta-especie-botones a {
  flex: 1;
  min-width: 190px;
  padding: 13px 15px;
  border-radius: 9px;
  background: var(--verde-pastel);
  color: var(--verde-oscuro);
  text-decoration: none;
  text-align: center;
  font-weight: 600;
}

body.catalogo-page .consulta-especie-botones a:hover {
  background: var(--verde-pastel-hover);
}


/* ==========================================
   RSC - PROTOTIPO 3
   DISEÑO COMPACTO Y COMUNIDADES
   ========================================== */

.rsc-page {
  background: #F3FBF0;
  padding-bottom: 35px;
}

/* PORTADA */

.rsc-page .rsc-portada {
  background:
    linear-gradient(
      90deg,
      rgba(0, 45, 32, 0.82),
      rgba(0, 65, 43, 0.30)
    ),
    url("../assets/rsc/fondo-hojas.png")
    center / cover no-repeat;

  color: #ffffff;
  padding: 20px 7%;
  text-align: left;
}


.rsc-page .rsc-portada-contenido {
  max-width: 1100px;
  margin: 0 auto;
}

.rsc-page .rsc-etiqueta {
  display: block;
  color: #d5e8b6;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  margin-bottom: 12px;
}

.rsc-page .rsc-portada h1 {
  color: #ffffff;
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.15;
  max-width: 660px;
  margin: 0;
}

.rsc-page .rsc-portada h1 span {
  color: #d5e8b6;
}

.rsc-page .rsc-portada p {
  color: #e3eee5;
  font-size: 14px;
  line-height: 1.6;
  max-width: 690px;
  margin: 0;
}

/* DOS TARJETAS PRINCIPALES */

/* ACTIVIDADES DE RESPONSABILIDAD SOCIAL */

.rsc-page .rsc-actividades {
  width: min(1100px, 92%);
  margin: 30px auto 24px;
  display: grid;
  gap: 24px;
}

/* Habilitación de carreteras */

.rsc-page .rsc-carreteras {
  padding: 28px;
  background: #ffffff;
  border: 1px solid #e0e8df;
  border-radius: 18px;
  box-shadow: 0 5px 18px rgba(0, 45, 30, 0.05);
}

.rsc-page .rsc-actividad-encabezado h2 {
  color: #153d2d;
  font-size: 25px;
  margin: 8px 0 12px;
}

.rsc-page .rsc-actividad-encabezado p {
  color: #526258;
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 22px;
}

/* Foto y video destacados */

.rsc-page .rsc-carreteras-destacados {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

/* Recuadros de evidencias */

.rsc-page .rsc-evidencia {
  min-width: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid #dce7de;
  border-radius: 13px;
  background: #f0f4ed;
}

.rsc-page .rsc-evidencia img,
.rsc-page .rsc-evidencia video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.rsc-page .rsc-evidencia-pendiente {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px;
  color: #527563;
  text-align: center;
  font-size: 13px;
}

.rsc-page .rsc-evidencia-pendiente svg {
  width: 32px;
  height: 32px;
  color: #27834e;
}

/* Galería desplegable */

.rsc-page .rsc-galeria-desplegable {
  margin-top: 18px;
  border-top: 1px solid #e0e8df;
  padding-top: 16px;
}

.rsc-page .rsc-galeria-desplegable summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #07553a;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.rsc-page .rsc-galeria-desplegable summary::-webkit-details-marker {
  display: none;
}

.rsc-page .rsc-galeria-desplegable summary svg {
  width: 19px;
  height: 19px;
  transition: transform 0.2s ease;
}

.rsc-page .rsc-galeria-desplegable[open] summary svg {
  transform: rotate(180deg);
}


.rsc-page .rsc-galeria-adicional {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
  align-items: stretch;
}

/* Cuatro fotografías agrupadas a la izquierda */
.rsc-page .rsc-galeria-fotos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, 150px);
  gap: 12px;
  min-width: 0;
}

.rsc-page .rsc-galeria-fotos figure {
  margin: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  overflow: hidden;
  border-radius: 12px;
}

.rsc-page .rsc-galeria-fotos img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Video a la derecha, con la altura de las cuatro fotos */
.rsc-page .rsc-galeria-video {
  height: 100%;
  aspect-ratio: auto;
  min-height: 0;
}

.rsc-page .rsc-galeria-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}




/* Socios estratégicos y espacios recreativos */

.rsc-page .rsc-comunidades-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}


.rsc-page .rsc-tarjeta {
  background: #ffffff;
  border: 1px solid #e0e8df;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 18px rgba(0, 45, 30, 0.06);
}

.rsc-page .rsc-tarjeta-imagen {
  height: 155px;
  background: linear-gradient(135deg, #E8F8E8, #B8E8B8);
  color: #668b70;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
}


/* Imagen pendiente de Espacios recreativos */

.rsc-page .rsc-imagen-pendiente {
  background: #edf3e9;
  color: #527563;
  font-size: 13px;
  text-align: center;
  padding: 18px;
}

.rsc-page .rsc-imagen-pendiente svg {
  width: 32px;
  height: 32px;
  color: #27834e;
}


.rsc-page .rsc-tarjeta-imagen svg {
  width: 34px;
  height: 34px;
}

.rsc-page .rsc-tarjeta-imagen span {
  font-size: 12px;
}

.rsc-page .rsc-tarjeta-texto {
  padding: 19px 22px 21px;
}

.rsc-page .rsc-numero {
  display: block;
  color: var(--verde-contraste);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.3px;
  margin-bottom: 9px;
}

.rsc-page .rsc-tarjeta h2 {
  color: #153d2d;
  font-size: 21px;
  line-height: 1.25;
  margin: 0 0 10px;
}

.rsc-page .rsc-tarjeta p {
  color: #526258;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* FRANJA DE COOPERACIÓN */
.rsc-page .rsc-ambitos {
  width: min(1100px, 92%);
  margin: 24px auto 0;
  padding: 22px 25px;
  background: #DDF5DC;
  border: 1px solid #d7e4d4;
  border-radius: 15px;
}

.rsc-page .rsc-ambitos-encabezado h2 {
  color: #153d2d;
  font-size: 21px;
  margin: 0 0 8px;
}

.rsc-page .rsc-ambitos-encabezado p {
  color: #526258;
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 18px;
}

.rsc-page .rsc-ambitos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}


.rsc-page .rsc-ambito {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: #ffffff;
  border-radius: 10px;
  color: #204c35;
  font-size: 12px;
  font-weight: 600;
}

.rsc-page .rsc-ambito svg {
  width: 23px;
  height: 23px;
  color: #27834e;
  flex-shrink: 0;
}

/* TABLETS */
@media (max-width: 800px) {
  .rsc-page .rsc-ambitos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* CELULARES */
@media (max-width: 600px) {
  .rsc-page .rsc-portada {
    padding: 30px 6%;
  }

  .rsc-page .rsc-portada h1 {
    font-size: 27px;
  }

  .rsc-page .rsc-compromisos {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .rsc-page .rsc-tarjeta-imagen {
    height: 145px;
  }

  .rsc-page .rsc-ambitos {
    padding: 20px 16px;
  }

  .rsc-page .rsc-ambitos-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .rsc-page .rsc-ambito {
    padding: 10px;
    font-size: 11px;
  }
  
  .rsc-page .rsc-actividades {
    width: 92%;
    gap: 18px;
  }

  .rsc-page .rsc-carreteras {
    padding: 20px 16px;
  }

  .rsc-page .rsc-actividad-encabezado h2 {
    font-size: 22px;
  }


.rsc-page .rsc-carreteras-destacados,
.rsc-page .rsc-comunidades-grid {
  grid-template-columns: minmax(0, 1fr);
}

.rsc-page .rsc-galeria-adicional {
  grid-template-columns: minmax(0, 1fr);
}

.rsc-page .rsc-galeria-fotos {
  grid-template-rows: repeat(2, 110px);
}

.rsc-page .rsc-galeria-video {
  height: auto;
  aspect-ratio: 16 / 9;
}


.rsc-page .rsc-galeria-adicional figure {
  height: 110px;
}


  .rsc-page .rsc-ambitos-grid {
    grid-template-columns: minmax(0, 1fr);
  }

}

/* ==========================================
   MACHU PICCHU WOOD - CONTÁCTENOS
   ========================================== */

.contacto-page .contacto-main {
  background: #F3FBF0;
  min-height: 75vh;
  padding-bottom: 65px;
}

/* ENCABEZADO DE LA PÁGINA */

.contacto-page .contacto-intro {
  padding: 42px 7% 30px;
  text-align: center;
}

.contacto-page .contacto-etiqueta {
  display: inline-block;
  color: #317a55;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.contacto-page .contacto-intro h1 {
  color: #153e2d;
  font-size: clamp(30px, 3.5vw, 43px);
  line-height: 1.2;
  margin: 0 0 12px;
}

.contacto-page .contacto-intro h1 span {
  color: var(--verde-contraste);
}

.contacto-page .contacto-intro p {
  color: #68756c;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 580px;
}

/* DISTRIBUCIÓN DE DOS COLUMNAS */

.contacto-page .contacto-contenedor {
  width: min(1160px, 86%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

/* COLUMNA DE INFORMACIÓN */

.contacto-page .contacto-informacion {
  background: #ffffff;
  border: 1px solid #e5eae3;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 8px 30px rgba(16, 62, 44, 0.045);
}

.contacto-page .contacto-info-titulo {
  margin-bottom: 25px;
}

.contacto-page .contacto-info-titulo h2,
.contacto-page .contacto-form-titulo h2 {
  font-size: 23px;
  color: #153e2d;
  line-height: 1.3;
  margin: 0 0 7px;
}

.contacto-page .contacto-info-titulo p,
.contacto-page .contacto-form-titulo p {
  font-size: 13px;
  color: #748077;
  margin: 0;
}

.contacto-page .contacto-dato {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.contacto-page .contacto-icono {
  width: 43px;
  height: 43px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: #eaf3ec;
  color: #24704a;
}

.contacto-page .contacto-icono svg {
  width: 21px;
  height: 21px;
}

.contacto-page .contacto-dato h3 {
  font-size: 14px;
  color: #183e2c;
  margin: 2px 0 6px;
}

.contacto-page .contacto-dato p,
.contacto-page .contacto-dato a {
  display: block;
  color: #637168;
  font-size: 13px;
  line-height: 1.7;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contacto-page .contacto-dato a:hover {
  color: #167348;
}

/* MAPA */

.contacto-page .contacto-mapa {
  width: 100%;
  height: 205px;
  overflow: hidden;
  border-radius: 12px;
  background: #e8eee8;
  margin-top: 5px;
}

.contacto-page .contacto-mapa iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contacto-page .contacto-ver-mapa {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #27744d;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  margin-top: 13px;
}

.contacto-page .contacto-ver-mapa svg {
  width: 15px;
  height: 15px;
}

/* COLUMNA DEL FORMULARIO */

.contacto-page .contacto-formulario {
  background: #ffffff;
  border: 1px solid #e5eae3;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 8px 30px rgba(16, 62, 44, 0.045);
}

.contacto-page .contacto-form-titulo {
  margin-bottom: 24px;
}

.contacto-page .contacto-form-etiqueta {
  display: block;
  font-size: 10px;
  font-weight: 800;
  color: #398359;
  letter-spacing: 1.6px;
  margin-bottom: 9px;
}

.contacto-page .contacto-campos-dobles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.contacto-page .contacto-campo {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 17px;
}

.contacto-page .contacto-campo label {
  font-size: 12px;
  font-weight: 700;
  color: #33483b;
}

.contacto-page .contacto-campo input,
.contacto-page .contacto-campo select,
.contacto-page .contacto-campo textarea {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid #dfe7df;
  border-radius: 9px;
  padding: 12px 13px;
  background: #fbfcfa;
  color: #203e2d;
  font-family: inherit;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contacto-page .contacto-campo input:focus,
.contacto-page .contacto-campo select:focus,
.contacto-page .contacto-campo textarea:focus {
  border-color: #3b9465;
  box-shadow: 0 0 0 3px rgba(59, 148, 101, 0.11);
}

.contacto-page .contacto-campo textarea {
  resize: vertical;
  min-height: 105px;
}

.contacto-page .contacto-campo input::placeholder,
.contacto-page .contacto-campo textarea::placeholder {
  color: #a0aaa2;
}

/* BOTÓN DE ENVÍO */

.contacto-page .contacto-btn-enviar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--verde-pastel);
  color: var(--verde-oscuro);
  border: none;
  border-radius: 9px;
  padding: 14px 20px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
}

.contacto-page .contacto-btn-enviar svg {
  width: 17px;
  height: 17px;
}

.contacto-page .contacto-btn-enviar:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.contacto-page .contacto-aviso {
  color: #8a948c;
  font-size: 11px;
  text-align: center;
  margin: 10px 0 0;
  line-height: 1.5;
}

/* WHATSAPP */

.contacto-page .contacto-whatsapp {
  border-top: 1px solid #e8ede7;
  margin-top: 22px;
  padding-top: 20px;
}

.contacto-page .contacto-whatsapp > p {
  text-align: center;
  color: #69776d;
  font-size: 12px;
  margin: 0 0 13px;
}

.contacto-page .contacto-whatsapp-botones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contacto-page .contacto-whatsapp-botones a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: #edf7ef;
  border: 1px solid #cde5d1;
  border-radius: 9px;
  color: #207447;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}

.contacto-page .contacto-whatsapp-botones a:hover {
  background: #dff0e2;
}

.contacto-page .contacto-whatsapp-botones svg {
  width: 18px;
  height: 18px;
}

/* RESPONSIVE */

@media (max-width: 850px) {
  .contacto-page .contacto-contenedor {
    grid-template-columns: 1fr;
    width: min(620px, 90%);
    gap: 20px;
  }

  .contacto-page .contacto-intro {
    padding: 35px 5% 25px;
  }
}

@media (max-width: 480px) {
  .contacto-page .contacto-informacion,
  .contacto-page .contacto-formulario {
    padding: 22px 18px;
  }

  .contacto-page .contacto-campos-dobles {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contacto-page .contacto-whatsapp-botones {
    grid-template-columns: 1fr;
  }

  .contacto-page .contacto-intro h1 {
    font-size: 30px;
  }

  .contacto-page .contacto-mapa {
    height: 190px;
  }
}

/* =====================================
   CONTACTO - ALINEACIÓN DE INFORMACIÓN
   ===================================== */

.contacto-page .contacto-dato {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 22px;
}

/* Alinear el texto junto al icono */
.contacto-page .contacto-dato > div:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

/* Títulos */
.contacto-page .contacto-dato h3 {
  margin: 0 0 4px;
  line-height: 1.4;
}

/* Descripciones, horarios y enlaces */
.contacto-page .contacto-dato p,
.contacto-page .contacto-dato a {
  margin: 0;
  line-height: 1.55;
}

/* Mantener los horarios juntos */
.contacto-page .contacto-dato p + p {
  margin-top: 2px;
}

/* ==========================================
   CONTACTO - SECCIÓN VISUAL CON MAPA
   ========================================== */

.contacto-page .contacto-ubicacion-visual {
  position: relative;
  width: min(1160px, 86%);
  min-height: 350px;
  margin: 35px auto 0;
  padding: 35px 45px;
  box-sizing: border-box;
  border-radius: 18px;
  overflow: hidden;

  background:
    linear-gradient(
      90deg,
      rgba(0, 43, 29, 0.88),
      rgba(0, 54, 36, 0.30)
    ),
    url("../assets/contacto/fondo-madera.jpg")
      center / cover no-repeat,
    #164a35;
}

.contacto-page .contacto-ubicacion-contenido {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 40px;
  min-height: 280px;
}

.contacto-page .contacto-ubicacion-texto {
  color: #ffffff;
}

.contacto-page .contacto-ubicacion-texto span {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #c9e8d1;
  margin-bottom: 12px;
}

.contacto-page .contacto-ubicacion-texto h2 {
  color: #ffffff;
  font-size: clamp(28px, 3vw, 39px);
  line-height: 1.2;
  margin: 0 0 12px;
}

.contacto-page .contacto-ubicacion-texto p {
  color: #e4eee6;
  font-size: 15px;
  margin: 0;
}

/* MAPA SUPERPUESTO */

.contacto-page .contacto-mapa-contenedor {
  background: #ffffff;
  border-radius: 15px;
  padding: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.22);
  transition: transform 0.3s ease;
}

.contacto-page .contacto-mapa-contenedor:hover {
  transform: translateY(-5px);
}

.contacto-page .contacto-mapa {
  height: 255px;
  margin: 0;
  border-radius: 10px;
}

.contacto-page .contacto-ver-mapa {
  margin: 12px 5px 2px;
}

/* EFECTOS EN TARJETAS */

@media (min-width: 851px) {
  .contacto-page .contacto-informacion,
  .contacto-page .contacto-formulario {
    transition:
      transform 0.3s ease,
      box-shadow 0.3s ease;
  }

  .contacto-page .contacto-informacion:hover,
  .contacto-page .contacto-formulario:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 38px rgba(16, 62, 44, 0.10);
  }
}

/* ADAPTACIÓN A CELULARES */

@media (max-width: 850px) {
  .contacto-page .contacto-ubicacion-visual {
    width: min(620px, 90%);
    padding: 28px 22px;
    margin-top: 25px;
  }

  .contacto-page .contacto-ubicacion-contenido {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .contacto-page .contacto-mapa {
    height: 240px;
  }
}

@media (max-width: 480px) {
  .contacto-page .contacto-ubicacion-visual {
    padding: 22px 16px;
  }

  .contacto-page .contacto-mapa {
    height: 210px;
  }

  .contacto-page .contacto-ubicacion-texto h2 {
    font-size: 27px;
  }
}

/* ==========================================
   CONTÁCTENOS - REDISEÑO FINAL
   ========================================== */

/* Encabezado más compacto y alineado */
.contacto-page .contacto-intro {
  width: min(1160px, 86%);
  margin: 0 auto;
  padding: 38px 0 26px;
  text-align: left;
}

.contacto-page .contacto-intro h1 {
  font-size: clamp(32px, 3.4vw, 46px);
  margin-bottom: 10px;
}

.contacto-page .contacto-intro p {
  max-width: 570px;
  margin: 0;
  font-size: 15px;
}

/* Dos columnas con protagonismo del formulario */
.contacto-page .contacto-contenedor {
  width: min(1160px, 86%);
  grid-template-columns: 0.92fr 1.08fr;
  gap: 34px;
  align-items: start;
}

/* Información sin tarjeta blanca */
.contacto-page .contacto-informacion {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 14px 8px 0 0;
}

.contacto-page .contacto-info-titulo {
  margin-bottom: 28px;
}

.contacto-page .contacto-info-titulo h2 {
  font-size: 21px;
}

/* Iconos circulares como en las referencias */
.contacto-page .contacto-icono {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #B8E8B8;
  color: #103B2C;
}

.contacto-page .contacto-icono svg {
  width: 22px;
  height: 22px;
}

.contacto-page .contacto-dato {
  gap: 17px;
  margin-bottom: 24px;
}

/* Mapa dentro de la columna izquierda */
.contacto-page .contacto-mapa {
  width: 100%;
  height: 250px;
  margin-top: 12px;
  border-radius: 14px;
  border: 1px solid #dce7dc;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 45, 30, 0.08);
}

.contacto-page .contacto-mapa iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/* Formulario con más presencia */
.contacto-page .contacto-formulario {
  border-radius: 18px;
  border: 1px solid #e1e9e0;
  padding: 34px;
  box-shadow: 0 15px 45px rgba(15, 65, 40, 0.09);
}

.contacto-page .contacto-form-titulo h2 {
  font-size: 26px;
}

.contacto-page .contacto-campo input,
.contacto-page .contacto-campo select,
.contacto-page .contacto-campo textarea {
  background: #ffffff;
  border-radius: 8px;
}

.contacto-page .contacto-campo input:hover,
.contacto-page .contacto-campo select:hover,
.contacto-page .contacto-campo textarea:hover {
  border-color: #9fc9ab;
}

/* WhatsApp más destacado */
.contacto-page .contacto-whatsapp-botones a {
  background: #80EF80;
  color: #103B2C;
  border-color: #80EF80;
}

.contacto-page .contacto-whatsapp-botones a:last-child {
  background: #e3f2e8;
  color: #087c4d;
  border-color: #c5e5cf;
}

.contacto-page .contacto-whatsapp-botones a:hover {
  background: #62DD70;
  color: #103B2C;
}

/* Evitar efectos de desplazamiento de tarjetas anteriores */
@media (min-width: 851px) {
  .contacto-page .contacto-informacion:hover,
  .contacto-page .contacto-formulario:hover {
    transform: none;
  }
}

/* Adaptación a tablets y celulares */
@media (max-width: 850px) {
  .contacto-page .contacto-intro {
    width: min(620px, 90%);
    padding: 30px 0 22px;
  }

  .contacto-page .contacto-contenedor {
    width: min(620px, 90%);
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .contacto-page .contacto-informacion {
    padding: 0;
  }

  .contacto-page .contacto-formulario {
    padding: 26px;
  }
}

@media (max-width: 480px) {
  .contacto-page .contacto-intro h1 {
    font-size: 32px;
  }

  .contacto-page .contacto-formulario {
    padding: 22px 18px;
  }

  .contacto-page .contacto-mapa {
    height: 220px;
  }
}

/* CONTÁCTENOS - AJUSTES DE PROPORCIÓN */

.contacto-page .contacto-mapa {
  display: block;
  width: 100%;
  max-width: none;
  height: 260px;
  box-sizing: border-box;
}

.contacto-page .contacto-mapa iframe {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
}

.contacto-page .contacto-intro {
  padding-top: 25px;
  padding-bottom: 20px;
}

.contacto-page .contacto-contenedor {
  gap: 26px;
}

/* NÚMEROS DE WHATSAPP MÁS VISIBLES */

.contacto-page .contacto-whatsapp-botones a {
  font-size: 16px;
  font-weight: 800;
  padding: 15px 12px;
}

.contacto-page .contacto-whatsapp-botones a svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 480px) {
  .contacto-page .contacto-whatsapp-botones a {
    font-size: 15px;
  }
}
/* BOTÓN FLOTANTE DE COTIZACIÓN */

.cotizar-flotante {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 999;

  display: flex;
  align-items: center;
  gap: 10px;

  padding: 14px 20px;
  background: #004b36;
  color: white;

  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.22);

  font-size: 15px;
  font-weight: 700;
  text-decoration: none;

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cotizar-flotante:hover {
  transform: scale(1.15);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.cotizar-flotante svg {
  width: 22px;
  height: 22px;
}

/* NO MOSTRAR EN CONTÁCTENOS */

body.contacto-page .cotizar-flotante {
  display: none;
}

/* ADAPTACIÓN A CELULARES */

@media (max-width: 600px) {
  .cotizar-flotante {
    right: 15px;
    bottom: 15px;
    padding: 12px 16px;
    font-size: 13px;
  }
}
/* MINI VENTANA FLOTANTE DE COTIZACIÓN */

.cotizar-flotante {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;

  width: 115px;
  min-height: 105px;
  padding: 15px 10px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;

  background: #004b36;
  color: white;
  border-radius: 20px;
  text-align: center;

  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cotizar-flotante:hover {
  transform: scale(1.15);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.cotizar-flotante svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

/* OCULTAR EN CONTÁCTENOS */

body.contacto-page .cotizar-flotante {
  display: none;
}

@media (max-width: 600px) {
  .cotizar-flotante {
    right: 15px;
    bottom: 15px;
    width: 95px;
    min-height: 90px;
    font-size: 12px;
  }
}

/* ==========================================
   VENTANA FLOTANTE DE COTIZACIONES
   ========================================== */

.cotizar-chat {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;

  width: 270px;
  max-width: calc(100vw - 32px);

  background: #ffffff;
  border: 1px solid #dce8de;
  border-radius: 18px;
  overflow: hidden;

  box-shadow: 0 12px 40px rgba(0, 40, 25, 0.22);
  font-family: inherit;

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ENCABEZADO VERDE */

.cotizar-chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #aee3a8;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.cotizar-chat-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.cotizar-chat-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.cotizar-chat-avatar i,
.cotizar-chat-avatar svg {
  width: 24px;
  height: 24px;
  color: #1f6f43;
  stroke-width: 2.2;
}

.cotizar-chat-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.cotizar-chat-info strong {
  font-size: 1rem;
  line-height: 1.2;
  color: #183b2b;
  font-weight: 700;
}

.cotizar-chat-info span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: #24543B;
  font-weight: 500;
}

.cotizar-chat-estado {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #16884A;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.25);
}

.cotizar-chat-cerrar {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.72);
  color: #103B2C;
  font-size: 1.35rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cotizar-chat-cerrar:hover {
  background: #ffffff;
}

/* CUERPO DE LA VENTANA */

.cotizar-chat-cuerpo {
  padding: 14px;
  background: #eaf2ec;
}

.cotizar-chat-mensaje {
  padding: 12px;
  margin-bottom: 13px;

  background: #ffffff;
  border-radius: 6px 14px 14px 14px;
}

.cotizar-chat-mensaje strong {
  display: block;
  color: #203d2d;
  font-size: 13px;
  margin-bottom: 5px;
}

.cotizar-chat-mensaje p {
  margin: 0;
  color: #41584a;
  font-size: 12px;
  line-height: 1.6;
}

/* BOTÓN PARA SOLICITAR COTIZACIÓN */

.cotizar-chat-boton {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 12px;
  border-radius: 30px;

  background: #80EF80;
  color: #103B2C;
  text-decoration: none;

  font-size: 12px;
  font-weight: 700;

  transition: background 0.2s ease;
}

.cotizar-chat-boton:hover {
  background: #054C44;
  color: #FFFFFF;
}

.cotizar-chat-boton svg {
  width: 16px;
  height: 16px;
}

/* AGRANDAR SUAVEMENTE AL PASAR EL MOUSE */

@media (hover: hover) {
  .cotizar-chat:hover {
    transform: scale(1.05);
    box-shadow: 0 18px 45px rgba(0, 40, 25, 0.3);
  }
}

/* ADAPTACIÓN A CELULARES */

@media (max-width: 600px) {
  .cotizar-chat {
    right: 12px;
    bottom: 12px;
    width: 245px;
  }

  .cotizar-chat-header {
    padding: 11px;
  }

  .cotizar-chat-cuerpo {
    padding: 11px;
  }
}

/* VENTANA FLOTANTE MÁS COMPACTA */

.cotizar-chat {
  width: min(310px, calc(100vw - 32px));
  right: 20px;
  bottom: 20px;
  border-radius: 15px;
}

.cotizar-chat-header {
  padding: 10px;
  gap: 8px;
}

.cotizar-chat-avatar {
  width: 32px;
  height: 32px;
}

.cotizar-chat-avatar svg {
  width: 19px;
  height: 19px;
}

.cotizar-chat-identidad strong {
  font-size: 11px;
}

.cotizar-chat-identidad > span {
  font-size: 10px;
}

.cotizar-chat-cuerpo {
  padding: 10px;
}

.cotizar-chat-mensaje {
  padding: 9px;
  margin-bottom: 9px;
}

.cotizar-chat-mensaje strong {
  font-size: 12px;
}

.cotizar-chat-mensaje p {
  font-size: 11px;
  line-height: 1.4;
}

.cotizar-chat-boton {
  padding: 12px 9px;
  font-size: 12px;
}

@media (max-width: 600px) {
  .cotizar-chat {
    width: min(310px, calc(100vw - 24px));
    right: 12px;
    bottom: 12px;
  }
}

/* ==========================================
   PRODUCTOS - VENTANA DE DETALLES
   ========================================== */

.producto-modal {
  width: min(460px, calc(100% - 32px));
  max-height: 85vh;
  padding: 0;
  border: 1px solid #dce8df;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(0, 35, 23, 0.25);
  overflow: auto;
  color: #243b2e;
}

.producto-modal::backdrop {
  background: rgba(0, 29, 19, 0.65);
  backdrop-filter: blur(4px);
}

.producto-modal-contenido {
  position: relative;
  padding: 35px 30px 30px;
}

.producto-modal-cerrar {
  position: absolute;
  top: 14px;
  right: 14px;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: #eef4ef;
  color: #07553a;

  font-size: 25px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.producto-modal-cerrar:hover {
  background: #dcebdd;
}

.producto-modal-titulo {
  margin: 8px 35px 14px 0;
  color: #064c36;
  font-size: 25px;
  line-height: 1.25;
}

.producto-modal-descripcion {
  margin: 0 0 26px;
  color: #526358;
  font-size: 15px;
  line-height: 1.7;
}

.producto-modal-cotizar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;

  border-radius: 11px;
  background: var(--verde-pastel);
  color: var(--verde-oscuro);
  text-decoration: none;

  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}

.producto-modal-cotizar:hover {
  background: var(--verde-pastel-hover);
  color: var(--verde-oscuro);
  transform: translateY(-2px);
}

@media (max-width: 480px) {
  .producto-modal-contenido {
    padding: 30px 22px 24px;
  }

  .producto-modal-titulo {
    font-size: 22px;
  }

  .producto-modal-descripcion {
    font-size: 14px;
  }
}

/* ==========================================
   PRODUCTOS - IMÁGENES DE LAS TARJETAS
   ========================================== */

.productos-page .producto-imagen {
  width: 100%;
  height: 190px;
  overflow: hidden;
  border-radius: 12px;
  background: #f7f8f5;

  display: flex;
  align-items: center;
  justify-content: center;
}

.productos-page .producto-imagen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.productos-page .producto-card:hover .producto-imagen img {
  transform: scale(1.05);
}

@media (max-width: 480px) {
  .productos-page .producto-imagen {
    height: 170px;
  }
}

/* ==========================================
   GALERÍA DE PRODUCTOS - PARIHUELAS
   ========================================== */

/* Ventana más amplia cuando tiene galería */
.producto-modal:has(.producto-galeria:not([hidden])) {
  width: min(650px, calc(100% - 32px));
}

/* Contenedor de la galería */
.producto-galeria {
  margin: 18px 0 22px;
}

.producto-galeria[hidden] {
  display: none;
}

/* Imagen principal */
.producto-galeria-principal {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: contain;
  background: #f7f8f5;
  border: 1px solid #e1e8e1;
  border-radius: 12px;
  padding: 10px;
  box-sizing: border-box;
}

/* Fila de miniaturas */
.producto-galeria-miniaturas {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

/* Botones de miniaturas */
.producto-miniatura {
  height: 75px;
  padding: 4px;
  border: 2px solid #e1e8e1;
  border-radius: 9px;
  background: #ffffff;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

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

/* Miniatura seleccionada */
.producto-miniatura.activo,
.producto-miniatura:hover {
  border-color: #087c4d;
}

/* Adaptación a celulares */
@media (max-width: 480px) {
  .producto-galeria-principal {
    height: 220px;
  }

  .producto-galeria-miniaturas {
    gap: 5px;
  }

  .producto-miniatura {
    height: 52px;
    padding: 2px;
  }
}
.producto-galeria-miniaturas[hidden] {
  display: none;
}

.producto-galeria-miniaturas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.producto-miniatura {
  width: 85px;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .producto-miniatura {
    width: 55px;
  }
}

/* ==========================================
   PRODUCTOS - TABLAS DE MEDIDAS
   ========================================== */

.producto-modal-medidas {
  margin: 20px 0;
}

.producto-modal-medidas[hidden] {
  display: none;
}

.producto-modal-medidas h3 {
  margin-bottom: 12px;
  color: #064c36;
  font-size: 17px;
}

.producto-tabla-medidas {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: center;
}

.producto-tabla-medidas th {
  background: #064c36;
  color: #ffffff;
  padding: 11px 6px;
  font-weight: 600;
}

.producto-tabla-medidas td {
  padding: 10px 6px;
  border-bottom: 1px solid #e4eae5;
  color: #344b3c;
}

.producto-tabla-medidas tbody tr:nth-child(even) {
  background: #f3f7f3;
}

.producto-nota-medidas {
  margin-top: 12px;
  font-size: 12px;
  color: #68796d;
  line-height: 1.5;
}

@media (max-width: 480px) {
  .producto-tabla-medidas {
    font-size: 11px;
  }

  .producto-tabla-medidas th,
  .producto-tabla-medidas td {
    padding: 9px 4px;
  }
}

/* ==========================================
   WHATSAPP FLOTANTE - BURBUJA Y PANEL
   ========================================== */

/* Burbuja flotante */
.cotizar-burbuja {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1001;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 60px;
  height: 60px;
  padding: 0;

  border: none;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff;
  box-shadow: 0 6px 22px rgba(0, 50, 30, 0.3);

  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.cotizar-burbuja:hover {
  background: #1DA851;
  transform: scale(1.06);
}

.cotizar-burbuja svg {
  width: 29px;
  height: 29px;
}

/* Panel flotante */
.cotizar-chat {
  position: fixed;
  right: 22px;
  bottom: 94px;
  z-index: 1000;
}

/* Garantizar que permanezca oculto al inicio */
.cotizar-chat[hidden] {
  display: none !important;
}

/* Botón cerrar */
.cotizar-chat-cerrar {
  margin-left: auto;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
}

.cotizar-chat-cerrar:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Celulares */
@media (max-width: 480px) {
  .cotizar-burbuja {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }

  .cotizar-chat {
    right: 12px;
    bottom: 82px;
    width: min(320px, calc(100vw - 24px));
    max-height: calc(100dvh - 100px);
    overflow-y: auto;
  }
}

/* DOS NÚMEROS DE WHATSAPP EN EL PANEL */

.cotizar-chat-opciones {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 12px;
}

.cotizar-chat-opciones .cotizar-chat-boton {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  white-space: nowrap;
}

.cotizar-chat-opciones .cotizar-chat-boton svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #FFFFFF;
}

/* ==========================================
   PRODUCTOS - FONDO UNIFORME DE IMÁGENES
   ========================================== */

.productos-page .producto-imagen {
  background: #ffffff;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}

.productos-page .producto-imagen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
}

/* Mantener la imagen estable */
.productos-page .producto-card:hover .producto-imagen img {
  transform: none;
}

/* Nombre del modelo de parihuela */
.producto-galeria-modelo {
  margin: 12px 0 0;
  padding: 10px 12px;
  background: #f0f6f0;
  border-radius: 8px;
  color: #064c36;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.producto-galeria-modelo[hidden] {
  display: none;
}

/* CATÁLOGO - FICHAS TÉCNICAS DESPLEGABLES */

.modal-especie .ficha-desplegable {
  margin: 14px 0;
  border: 1px solid #dce8df;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
}

.modal-especie .ficha-desplegable summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: #f0f6f0;
  color: #064c36;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: background 0.2s ease;
}

.modal-especie .ficha-desplegable summary::-webkit-details-marker {
  display: none;
}

.modal-especie .ficha-desplegable summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 400;
  color: #087b50;
}

.modal-especie .ficha-desplegable[open] summary::after {
  content: "−";
}

.modal-especie .ficha-desplegable summary:hover {
  background: #e1eee4;
}

.modal-especie .ficha-desplegable summary:focus-visible {
  outline: 2px solid #087b50;
  outline-offset: -3px;
}

.modal-especie .ficha-desplegable table {
  width: 100%;
  margin: 0;
}


/* CATÁLOGO - FOTOGRAFÍAS DE ESPECIES */

.catalogo-page .especie-imagen {
  height: 260px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 8px;
}

.catalogo-page .especie-imagen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}


/* AJUSTES GENERALES DE ENTREGA — OCTUBRE 2026 */
:root { --verde-institucional: #124c39; --verde-claro: #eaf1e9; }
.catalogo-page .especie-imagen {background: #f4f6f1 !important; padding: 14px !important;}
.catalogo-page .especie-imagen img {object-fit: contain !important; max-width:100%; max-height:100%; border-radius: 4px;}
.catalogo-page .especie-sin-foto { color:#48675c; background: repeating-linear-gradient(135deg,#e8efe7,#e8efe7 12px,#f3f7f0 12px,#f3f7f0 24px); width:100%;height:100%; display:flex;align-items:center;justify-content:center;text-align:center;padding:18px;font-size:14px;}
.modal-especie .ficha-fotografia {margin:20px auto;max-width:430px;text-align:center;}
.modal-especie .ficha-fotografia img {display:block;max-width:100%;max-height:400px;width:auto;height:auto;object-fit:contain;margin:auto;border-radius:9px;background:#fff;}
.modal-especie .ficha-fotografia figcaption {font-size:13px;color:#597064;margin-top:8px;}
.modal-especie .fuente-ficha a {color:#075b42;text-decoration:underline;}
.rsc-page .rsc-tarjeta-imagen {overflow:hidden;}
.rsc-page .rsc-tarjeta-imagen img {display:block;width:100%;height:100%;min-height:250px;max-height:410px;object-fit:cover;}
.rsc-page .rsc-acciones {display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;margin:30px auto;max-width:1150px;}
.rsc-page .rsc-acciones article {background:#fff;border:1px solid #dce7de;border-radius:16px;padding:24px;box-shadow:0 6px 20px rgba(11,49,35,.05);}
.rsc-page .rsc-acciones article h3 {font-size:19px;color:#124c39;margin:12px 0;}
.rsc-page .rsc-acciones article p {color:#435d50;line-height:1.65;}
.servicios-evidencia {max-width:1150px;margin:45px auto 70px;padding:0 20px;}
.servicios-evidencia h2 {color:#124c39;font-size:clamp(25px,3vw,34px);}
.operaciones-galeria {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:22px;}
.operaciones-galeria figure {margin:0;background:#fff;border:1px solid #e0e8de;border-radius:14px;overflow:hidden;}

.operaciones-galeria img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
}

/* SERVICIOS - ENCUADRE DE LA PRIMERA FOTOGRAFÍA */


/* SERVICIOS - ENCUADRE DE LA PRIMERA FOTOGRAFÍA */

.operaciones-galeria .operacion-imagen-ajustada {
  padding: 0;
  background: #ffffff;
  border: 1px solid #dce7de;
  border-radius: 14px;
  overflow: hidden;
}

.operaciones-galeria .operacion-imagen-ajustada img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center 65%;
  border-radius: 0;
}


.operaciones-galeria figcaption {padding:12px 16px;color:#124c39;font-weight:600;}
.producto-card-detalle {font-size:13px;color:#536759;padding:0 12px;}
@media (max-width:720px){.operaciones-galeria{grid-template-columns:1fr}.rsc-page .rsc-acciones{grid-template-columns:1fr}.rsc-page .rsc-tarjeta-imagen img{max-height:270px;}}

/* Catálogo: muestras documentales sin deformación ni ampliación excesiva */
.catalogo-page .especie-imagen img {width:100%;height:100%;object-fit:contain;display:block;}
.catalogo-page .especie-imagen {background:#f7f8f5;padding:12px;overflow:hidden;}
.modal-especie .ficha-fotografia img {max-width:100%;max-height:420px;object-fit:contain;display:block;margin:auto;}

/* CATÁLOGO / VERSIÓN DE PRESENTACIÓN: muestras sin texto ni fichas incrustadas */
body.catalogo-page .especie-imagen { height: 236px !important; padding: 0 !important; background: #edece7 !important; overflow:hidden; }
body.catalogo-page .especie-imagen img { width:100% !important; height:100% !important; object-fit:cover !important; border-radius:0 !important; }
body.catalogo-page .especie-sin-foto { width:100%; height:100%; display:grid; place-items:center; background:linear-gradient(145deg,#eae6db,#d8d0bb); color:#335645; font-weight:600; text-align:center; padding:16px; }
body.catalogo-page .muestra-madera { margin:24px auto 26px; width:min(100%,690px); border-radius:16px; overflow:hidden; background:#eae5dd; }
body.catalogo-page .muestra-madera img { width:100%; aspect-ratio:2.2/1; object-fit:cover; display:block; }
body.catalogo-page .especie-resumen { line-height:1.65; max-width:72ch; }
body.catalogo-page .ficha-secciones { margin:16px 0 28px; }
body.catalogo-page .ficha-desplegable .tabla-tecnica { width:100%; border-collapse:collapse; }
body.catalogo-page .ficha-desplegable .tabla-tecnica th { text-align:left; width:60%; }
body.catalogo-page .ficha-desplegable .tabla-tecnica td { text-align:left; }
@media(max-width:640px){body.catalogo-page .especie-imagen {height:205px !important;} body.catalogo-page .ficha-desplegable .tabla-tecnica th{width:53%;}}


.footer-direccion {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.20);
}

.footer-direccion strong {
  margin-bottom: 9px;
}

.footer-direccion a {
  display: block;
  color: #DAF7DE;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}


/* FOOTER CORPORATIVO — VERDE BOSQUE SUAVE CON DETALLES PASTEL */

.footer {
  padding: 34px 7% 18px;
}

.footer-contenido {
  width: min(1250px, 94%);
  max-width: 100%;
  margin: 0 auto;
  transform: none;

  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr);
  column-gap: 48px;

  align-items: start;
  text-align: left;
}

.footer-empresa {
  text-align: center;
}

.footer-direccion {
  margin: 0;
  padding: 0;
  border: none;
  min-width: 0;
  transform: translateX(120px);
}

.footer-empresa strong,
.footer-contacto strong,
.footer-direccion strong {
  display: block;
  font-size: 17px;
  margin-bottom: 13px;
  line-height: 1.3;
  color: #D9F8D9;
}

.footer-empresa p,
.footer-contacto p,
.footer-direccion p {
  margin: 0 0 8px;
  line-height: 1.5;
  color: #EEF6EE;
  font-weight: 600;
}

.footer-empresa > a,
.footer-contacto > a,
.footer-direccion > a {
  display: block;
  margin-bottom: 5px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  font-weight: 600;
}

.footer-inferior {
  max-width: 1180px;
  margin: 18px auto 0;
  padding-top: 14px;
  border-top: 1px solid rgba(228,255,229,0.26);
  text-align: center;
  color: #E0EEE2;
  font-size: 12px;
}

/* FOOTER EN CELULARES */


/* FOOTER EN CELULARES */

@media (max-width: 700px) {
  .footer-contenido {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    transform: none;
    gap: 18px;
    text-align: center;
    .footer-direccion {
  transform: none;
}
  }

  .footer-empresa,
  .footer-contacto,
  .footer-correos,
  .footer-direccion,
  .footer-direccion p {
    width: 100%;
    min-width: 0;
    text-align: center;
  }

  .footer-empresa p,
  .footer-contacto p,
  .footer-correos p {
    text-align: center;
    overflow-wrap: anywhere;
  }

  .footer-inferior {
    margin-top: 18px;
  }
}

/* ==========================================
   WHATSAPP FLOTANTE - ESTILO REAL
   ========================================== */

/* BURBUJA FLOTANTE */
.cotizar-burbuja {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1001;

  width: 60px;
  height: 60px;
  border: none;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;

  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cotizar-burbuja:hover {
  background: #1ebe5d;
  transform: scale(1.05);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.42);
}

.cotizar-burbuja svg,
.cotizar-burbuja i {
  width: 30px;
  height: 30px;
  color: #ffffff;
}

/* PANEL */
.cotizar-chat {
  position: fixed;
  right: 22px;
  bottom: 94px;
  z-index: 1000;

  width: 270px;
  max-width: calc(100vw - 24px);

  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;

  box-shadow: 0 18px 45px rgba(7, 94, 84, 0.22);
  border: 1px solid #d8e7dd;
}

.cotizar-chat[hidden] {
  display: none !important;
}

/* ENCABEZADO TIPO WHATSAPP */
.cotizar-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  background: #075E54;
  padding: 12px 14px;
}

.cotizar-chat-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.cotizar-chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cotizar-chat-avatar svg,
.cotizar-chat-avatar i {
  width: 20px;
  height: 20px;
  color: #075E54;
}

.cotizar-chat-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.cotizar-chat-info strong {
  display: block;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.cotizar-chat-info span {
  display: block;
  margin-top: 4px;
  color: #EAFBF4;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
}

.cotizar-chat-estado {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25D366;
  flex-shrink: 0;
}

.cotizar-chat-cerrar {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

  transition: background 0.2s ease;
}

.cotizar-chat-cerrar:hover {
  background: rgba(255, 255, 255, 0.24);
}

/* CUERPO */
.cotizar-chat-cuerpo {
  background: #ECE5DD;
  padding: 12px;
}

.cotizar-chat-mensaje {
  background: #ffffff;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

.cotizar-chat-mensaje strong {
  display: block;
  color: #1f2c34;
  font-size: 1rem;
  margin-bottom: 5px;
}

.cotizar-chat-mensaje p {
  margin: 0;
  color: #54656f;
  font-size: 0.95rem;
  line-height: 1.45;
}

/* BOTONES */
.cotizar-chat-botones,
.cotizar-chat-opciones {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cotizar-chat-boton {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  width: 100%;
  box-sizing: border-box;
  white-space: nowrap;

  text-decoration: none;
  background: #075E54;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 11.5px;

  padding: 12px 8px;
  border-radius: 999px;

  transition: background 0.2s ease, transform 0.2s ease;
}

.cotizar-chat-boton:hover {
  background: #054C44;
  color: #FFFFFF;
  transform: translateY(-1px);
}

.cotizar-chat-boton svg,
.cotizar-chat-boton i {
  width: 16px;
  height: 16px;
  color: #FFFFFF;
  flex-shrink: 0;
}

/* CELULAR */
@media (max-width: 600px) {
  .cotizar-burbuja {
    right: 14px;
    bottom: 14px;
    width: 56px;
    height: 56px;
  }

  .cotizar-chat {
    right: 12px;
    bottom: 82px;
    width: min(270px, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
  }

  .cotizar-chat-header {
    padding: 11px 12px;
  }

  .cotizar-chat-info strong {
    font-size: 0.88rem;
  }

  .cotizar-chat-info span {
    font-size: 0.75rem;
  }

  .cotizar-chat-boton {
    font-size: 11px;
    padding: 12px 6px;
  }
}

/* El HTML existente también puede usar .cotizar-chat-identidad */
.cotizar-chat-identidad { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.cotizar-chat-identidad strong { color: #FFFFFF; font-size: 14px; line-height: 1.2; font-weight: 700; }
.cotizar-chat-identidad > span { color: #D9F5EA; font-size: 11px; line-height: 1.2; }
.cotizar-chat-opciones .cotizar-chat-boton { gap: 6px; }
.cotizar-chat-opciones .cotizar-chat-boton svg { width: 16px; height: 16px; color: #FFFFFF; }
/* Tarjetas del catálogo: mostrar nombres técnico y comercial */
body.catalogo-page .especie-nombres {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0 0 18px;
  color: #53635b;
  font-size: 13px;
  line-height: 1.5;
}
body.catalogo-page .especie-nombres strong {
  color: #153d2d;
  font-weight: 700;
}
body.catalogo-page .especie-nombres em {
  font-style: italic;
}