/* ===== TIPOGRAFÍAS ARTISTIC ===== */

@font-face {
  font-family: 'Marcellus';
  src: url('/fonts/marcellus/marcellus-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Montserrat Light */
@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/montserrat/montserrat-light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Montserrat Regular */
@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/montserrat/montserrat-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Montserrat SemiBold */
@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/montserrat/montserrat-semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Montserrat Bold */
@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/montserrat/montserrat-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ===== BASE TIPOGRÁFICA ===== */

body {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 400;
  background-color: #e8e8e8;
}

/* Títulos principales y subtítulos */
h1,
h2,
h3,
h4,
h5,
h6,
.hero-text,
section .fw-light.mb-4,
#contact-form-content h2 {
  font-family: 'Marcellus', Georgia, 'Times New Roman', serif;
  font-weight: 375;
  letter-spacing: 0.3px;
  line-height: 1.25;
}

/* H3 dentro de pestañas SEO */
.seo-tab-content h3 {
  font-family: 'Marcellus', Georgia, 'Times New Roman', serif;
  font-weight: 400 !important;
  letter-spacing: 0.3px;
  line-height: 1.25;
  text-align: center;
  font-size: 1.35rem;
  margin-bottom: 16px;
}

/* Párrafos y textos generales escritorio*/
p,
li,
.card-text,
.hero-subtext,
.seo-tab-content,
.nota-tecnica {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.15px;
  color: #3f3f3f;

}

/* Párrafos y textos generales mobile*/
@media (max-width:767px){
  p,
  li,
  .card-text,
  .hero-subtext,
  .seo-tab-content,
  .nota-tecnica{
    font-weight:400;
    color:#333;
  }
}

/* Fuerza texto normal dentro del bloque SEO */
.bloque-seo-tabs p,
.bloque-seo-tabs li,
.bloque-seo-tabs .fw-bold,
.bloque-seo-tabs .font-weight-bold {
  font-weight: 375 !important;
  color: #4b4b4b;
}

/* ===== Negritas elegantes en intro principal ===== */

.intro-pergolas strong,
.intro-pergolas b {
  font-weight: 550 !important;
  color: #2f2f2f !important;
}

/* Botones y pestañas */
.btn,
.btn-success,
.btn-grad,
.btn-outline-success,
.seo-tab,
button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
}

/* Estilos base para header y navegación */
header {
  background-color: #000;
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
  background-color: #ffffff !important;
}

.navbar a {
  text-decoration: none;
  color: #fff;
  padding: 0.5rem;
}

.logo {
  max-height: 50px;
}

/* Botón subir */
#button {
  display: inline-block;
  background-color: #4444449e;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  bottom: 8px;
  right: 30px;
  transition: background-color .3s, opacity .5s, visibility .5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}
#button svg {
  width: 20px;
  height: 20px;
  fill: #fff;
  margin-top: 15px;
}
#button:hover {
  cursor: pointer;
  background-color: #333;
}
#button:active {
  background-color: #555;
}
#button.show {
  opacity: 1;
  visibility: visible;
}

/* ✅ Burbuja flotante "Cotiza gratis" totalmente igual a WhatsApp */
.cotiza-gratis {
  position: fixed;
  left: 20px;
  bottom: 168px;
  background-color: #178C43; /* 💚 Verde accesible */
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 12px;
  z-index: 9999;
  text-align: center;
  max-width: 110px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  transition: all 0.25s ease-in-out;
  box-shadow:
    0 0 6px rgba(0,0,0,0.25),
    inset 0 -1px 0 rgba(0,0,0,0.15);
}

/* 🔽 Colita inferior con transición */
.cotiza-gratis::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 55%;
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-top-color: #178C43;
  border-bottom: 0;
  border-left: 0;
  margin-left: -5px;
  margin-bottom: -10px;
  transition: border-top-color 0.25s ease-in-out;
}

/* ✨ Hover sincronizado con la colita */
.cotiza-gratis:hover,
.cotiza-gratis:focus {
  background-color: #117537 !important; /* un poco más oscuro */
  transform: scale(1.05);
  text-decoration: none;
}

.cotiza-gratis:hover::after,
.cotiza-gratis:focus::after {
  border-top-color: #117537 !important;
}

/* ✅ Burbujas flotantes de WhatsApp y teléfono */
#bubble-whatsapp,
#bubble-phone {
  position: fixed;
  left: 20px;
  width: 55px;
  height: 55px;
  text-align: center;
  border-radius: 50%;
  font-size: 25px;
  color: white;
  z-index: 9999;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

#bubble-whatsapp {
  bottom: 113px;
  background-color: transparent;
  color: #fff;
  font-weight: 600;
  text-shadow: none;
  box-shadow: none;
  transition: all 0.2s ease-in-out;
}

#bubble-whatsapp:hover {
  background-color: transparent;
  transform: scale(1.03);
}





#bubble-phone {
  bottom: 35px;
  background-color: #0ac7e5;
  padding-top: 3px;
}

/* Responsive: ajusta posición de botones en móviles */
@media (max-width: 768px) {
  .cotiza-gratis {
    font-size: 11px;
    padding: 4px 8px;
    bottom: 165px;
    left: 18px;
  }
  .cotiza-gratis::after {
    left: 60%;
  }
  #bubble-whatsapp,
  #bubble-phone {
    left: 18px !important;
    right: auto;
  }
  #bubble-phone {
    bottom: 30px !important;
  }
}

@media (max-width: 290px) and (min-width: 5px) {
  .sc300 {
    left: 10px;
  }
  #bubble-whatsapp {
    bottom: 20px !important;
  }
  #bubble-phone {
    left: 10px !important;
    bottom: 23px !important;
  }
  .cotiza-gratis {
    bottom: 105px !important;
  }
}

/* Animación promocional */
.texto-promocional {
  background-color: #0f802e;
  color: #ffffff;
  padding: 12px;
  animation: resaltarPromo 3s infinite alternate;
}
@keyframes resaltarPromo {
  0% { filter: brightness(100%); }
  100% { filter: brightness(110%); }
}
.texto-banner {
  font-weight: 500;
  font-size: 16px;
}
@media (max-width: 768px) {
  .texto-banner {
    font-weight: 700;
    font-size: 15.5px;
  }
}
#bubble-whatsapp svg{
  width: 60px;
  height: 60px;
  fill: #fff;
  display: block;
  margin: 10px auto 0;
  pointer-events: none;
}

#bubble-phone svg{
  width: 30px;
  height: 30px;
  fill: #fff;
  display: block;
  margin: 10px auto 0;
}
/* Sección Conócenos */
section .fw-light.mb-4 {
  font-size: 2rem;
  color: #666;
  font-weight: 400;
}

section hr {
  height: 3px;
  width: 60px;
  background-color: #28a745;
  border: none;
  margin: 10px auto 20px auto;
  border-radius: 2px;
}

/* Subtítulos tipo -¿Quiénes Somos? */
section h3.text-left.text-dark {
  font-size: 1.1rem;
  font-weight: 500;
  color: #777;
  margin-top: 28px;
  margin-bottom: 10px;
}

/* Párrafos justificados */
section p.text-justify {
  text-align: justify;
  font-size: 1rem;
  color: #333;
  line-height: 1.65;
}
/* Enlaces integrados al texto, sin color de enlace clásico */
section p a {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
}

section p a:hover {
  color: inherit;
  text-decoration: underline;
}
/* Título del formulario */
#contact-form-content h2 {
  font-size: 2rem;
  font-weight: 400;
  color: #666;
  margin-bottom: 20px;
  text-align: center;
}

/* 💎 Botón verde degradado metálico (versión #0F802E, accesible y subido 1 cm) */
.btn-grad {
  background: linear-gradient(
    145deg,
    #0B6A25 0%,    /* sombra base */
    #0F802E 40%,   /* verde selva principal */
    #19A14A 80%,   /* brillo metálico */
    #0B6A25 100%   /* cierre oscuro */
  ) !important;
  color: #fff !important;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 30px; /* mantiene el estilo redondeado original */
  border: none !important;
  cursor: pointer;
  transition: all 0.2s ease-in-out;

  /* 🔼 Sube el botón 1 cm respecto a su posición original */
  position: relative;
  top: -0.2cm;

  /* ✨ Efecto 3D y profundidad */
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.15),
    0 4px 0 rgba(7,78,27,0.8),
    0 6px 12px rgba(0,0,0,0.15);

  /* 💎 Texto blanco con delineado sutil */
  text-shadow:
    0 0 2px rgba(0,0,0,0.4),
    0 1px 3px rgba(0,0,0,0.45);
}

/* Hover */
.btn-grad:hover {
  background: linear-gradient(
    145deg,
    #0C7529 0%,
    #109135 40%,
    #1FB15A 80%,
    #0C7529 100%
  ) !important;
  transform: scale(1.02);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.2),
    0 3px 0 rgba(7,78,27,0.9),
    0 8px 14px rgba(0,0,0,0.25);
}

/* Active (presionado) */
.btn-grad:active {
  transform: translateY(1px);
  box-shadow:
    0 2px 0 rgba(7,78,27,0.8),
    0 4px 8px rgba(0,0,0,0.2);
}






/* Inputs y textarea */
#contact-form-content .form-control {
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 0.95rem;
  border: 1px solid #ced4da;
  margin-bottom: 15px;
}

/* Imagen de formas de pago */
#contact-form-content picture img {
  max-width: 200px;
  height: auto;
}
.social-icons {
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.social-icons li {
  display: inline-block;
}

.redesSociales {
  width: 36px;
  height: 36px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.redesSociales:hover {
  transform: scale(1.1);
}
.container,
.section-blanca,
.tarjeta-blanca,
.card,
.bg-white {
  background-color: white;
}
/* Línea verde debajo del enlace activo en el menú */
.navbar-nav .active-1 .act-1 {
  border-bottom: 3px solid #66cc99;
  padding-bottom: 4px;
  font-weight: 500;
}
/* 🔳 Galería de tarjetas */
.gallery-item {
  transition: transform 0.3s ease;
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
}

/* Efecto hover */
.gallery-item:hover {
  transform: scale(1.015);
}

/* ✨ Versión Verde #0F802E metálico */
.etiqueta-modelo {
  position: absolute;
  top: 6px;
  right: 6px;
  background: linear-gradient(
    145deg,
    #0B6A25 0%,   /* tono más oscuro para profundidad */
    #0F802E 40%,  /* tono principal esmeralda selva */
    #19A14A 70%,  /* brillo intermedio (efecto metal) */
    #0B6A25 100%  /* cierra con sombra */
  );
  color: #fff;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 16px;
  z-index: 2;
  font-weight: 500;

  /* 💡 Brillo metálico sutil */
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,0.4), /* reflejo superior */
    inset 0 -1px 2px rgba(0,0,0,0.3),      /* sombra inferior */
    0 0 6px rgba(0,0,0,0.2);               /* sombra externa */

  text-shadow: 0 0 2px rgba(0,0,0,0.25);
}

.etiqueta-modelo:hover {
  background: linear-gradient(
    145deg,
    #0C7529 0%,
    #109135 40%,
    #1FB15A 70%,
    #0C7529 100%
  );
}


/* 🧾 Texto móvil y escritorio */
.card-text {
  font-size: 14px;
  margin: 0;
  text-align: center;
  font-weight: 400;
  letter-spacing: -0.2px;
  line-height: 1.35;
  color: black;
}

/* Texto visible solo en móviles */
.texto-movil {
  display: inline-block;
  color: black; /* ✅ Aplica también por si acaso */
}

.texto-escritorio {
  display: none;
  color: black; /* ✅ También aseguramos color en escritorio */
}

@media (min-width: 768px) {
  .texto-movil {
    display: none;
  }
  .texto-escritorio {
    display: inline-block;
  }
}
.texto-movil {
  font-size: 0.9rem; /* tamaño base */
  font-weight: 400;
}

@media (min-width: 768px) {
  .texto-movil {
    font-size: 0.9rem; /* en escritorio lo hacemos más chico si quieres */
  }
}
.col-6:has(.gallery-item:not(.visible)) {
  display: none !important;
}
@media (max-width: 767px) {
  .about .row h2 {
    text-align: center !important;
  }
}
.viñeta-personal {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 8px;
  line-height: 1.5;
  text-align: justify;
}

.viñeta-personal::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #222;
  font-size: 1.1em;
  line-height: 1.5;
}
/* Tarjetas premium para bloque SEO */
.tarjeta-seo-premium {
  background-color: #fff;
  border-radius: 16px;
  padding: 35px 30px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

/* Efecto sutil al pasar el mouse (solo en escritorio) */
@media (min-width: 768px) {
  .tarjeta-seo-premium:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  }
}
@media (max-width: 767.98px) {
  #btnVerMas {
    margin-top: 1.5rem !important; /* Ajusta según lo que necesites */
  }
}
.tarjeta-blog {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tarjeta-blog:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
/* Accesibilidad para lectores de pantalla */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
img.img-fluid {
  display: block;
}
body.swal2-shown {
  padding-right: 0 !important;
  overflow: hidden;
}
@media (min-width: 768px) {
  #hero-image {
    max-height: 360px;
    object-fit: cover;
  }
}
@media (max-width: 767.98px) {
  /* Estilo solo para pérgolas */
  #contenedor-videos-pergolas .row > div.col-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  #contenedor-videos-pergolas .row > div.col-6:nth-child(3) {
    flex: 0 0 51%;
    max-width: 51%;
    margin: 1rem auto 0;
  }

  /* Estilo solo para canceles */
  #contenedor-videos-canceles .row > div.col-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  #contenedor-videos-canceles .row > div.col-6:nth-child(3) {
    flex: 0 0 51%;
    max-width: 51%;
    margin: 1rem auto 0;
  }
}

.video-thumbnail {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ✅ Solo cuando ya se abrió el video, forzamos el alto */
.video-thumbnail.video-abierto {
  height: 360px; /* O el alto visual real del iframe */
}

/* ✅ Que el iframe ocupe todo el contenedor */
.video-thumbnail iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 767.98px) {
  .formas-pago {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}
.hero-text {
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-family: 'Marcellus', Georgia, serif;
  font-weight: 400;
  text-shadow:
    1px 1px 2px rgba(0, 0, 0, 0.75),
    2px 2px 6px rgba(0, 0, 0, 0.45);
  line-height: 1.18;
  letter-spacing: 0.4px;
  text-align: center;
  word-break: break-word;
}

@media (max-width: 375px) {
  .hero-text {
    font-size: 1.3rem;
    line-height: 1.2;
  }
}
.hero-subtext {
  font-size: clamp(0.95rem, 4vw, 1.25rem);
  line-height: 1.4;
  text-align: center;
  text-shadow:
  1px 1px 2px rgba(0, 0, 0, 0.9),
  2px 2px 5px rgba(0, 0, 0, 0.7);
  word-break: break-word;
  padding: 0 15px;
  font-weight: 400;

  max-width: 90%;     /* 🆕 limita el ancho del párrafo */
  margin: 0 auto;     /* 🆕 lo centra horizontalmente */
}
/* === Floater SEO — versión final limpia === */

/* Base (mobile-first) */
.seo-floater{
  position: fixed;
  left: 50%;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px)); /* pegado al borde con safe area iOS */
  transform: translate(-50%, 120%);       /* oculto: entra desde abajo */
  background: #fff;
  border: 1px solid #e9ecef;
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
  border-radius: 10px;
  padding: 8px 30px 8px 12px;             /* 30px reserva para la “X” */
  font-size: .95rem;
  line-height: 1.35;
  z-index: 9998;

  /* ancho al contenido, con límite */
  width: max-content;
  max-width: min(92vw, 520px);

  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;

  /* Animación lenta y suave */
  opacity: 0;
  transition: transform .8s cubic-bezier(.22,.61,.36,1), opacity .8s ease;
  will-change: transform, opacity;
}
.seo-floater.show{
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Texto y enlaces */
.seo-floater .label{ color:#6c757d; margin-right:6px; }
.seo-floater .seo-link{ color:#198754; text-decoration:none; }
.seo-floater .seo-link:hover{ text-decoration:underline; }
.seo-floater .sep{ color:#adb5bd; margin: 0 6px; }
.seo-floater .seo-close{
  position:absolute; right:10px; top:50%; transform:translateY(-50%);
  border:0; background:transparent; font-size:20px; line-height:1; color:#6c757d; cursor:pointer;
}

/* Móvil: compacto, centrado y sin huecos */
@media (max-width: 576px){
  .seo-floater{
    /* ya centrado por defecto; sólo compactamos */
    max-width: min(70vw, 360px);
    font-size: .88rem;
    line-height: 1.3;
    gap: 4px;
    text-align: center;
    justify-content: center;
  }
  .seo-floater .label{ display: none; }  /* oculta “También te puede interesar:” */
  .seo-floater .sep{ display: none; }
  .seo-floater .seo-link{ display:block; white-space: normal; }
}

/* Muy chico: un pelín más compacto */
@media (max-width: 360px){
  .seo-floater{ padding-right: 26px; }
}

/* Escritorio: a la derecha como antes */
@media (min-width: 768px){
  .seo-floater{
    left: auto;
    right: 10px;
    bottom: 18px;
    border-radius: 10px 0 0 10px;
    transform: translateX(120%);         /* entra desde la derecha */
  }
  .seo-floater.show{ transform: translateX(0); }
}

/* Accesibilidad: menos animación si el usuario lo prefiere */
@media (prefers-reduced-motion: reduce){
  .seo-floater{ transition: none; }
}
/* ===== FAQ global — Artistic ===== */

#faq .card {
  border-radius: 12px;
}

#faq .card-header {
  border-radius: 12px;
}

#faq .faq-toggle {
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  padding:14px 18px;
  color:#333;
  text-decoration:none;

  font-family:'Montserrat', Arial, Helvetica, sans-serif !important;
  font-weight:450 !important;
  font-size:1.03rem !important;
  letter-spacing:0.1px;
}

#faq .faq-toggle:hover {
  text-decoration: none;
}

#faq .chev {
  width: 10px;
  height: 10px;
  border-right: 2px solid #28a745;
  border-bottom: 2px solid #28a745;
  transform: rotate(-45deg);
  transition: transform .2s ease;
}

#faq .collapse.show ~ .chev,
#faq .faq-toggle[aria-expanded="true"] .chev {
  transform: rotate(45deg);
}

#faq .card-body {
  padding: 14px 18px 18px;
}

/* FAQ sin huecos grises arriba/abajo */
#faq {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

#faq .faq-panel {
  margin: 0 auto;
}

/* Pequeños ajustes visuales */
#faq h2 {
  margin-bottom: .25rem;
}

#faq hr {
  margin: 8px auto 20px !important;
}

/* Opción flush si alguna sección deja línea gris mínima */
#faq.flush {
  margin-top: -8px !important;
  margin-bottom: -8px !important;
}

/* Desktop: FAQ más angosto y centrado */
@media (min-width: 992px) {
  .faq-narrow {
    max-width: 860px;
    margin: 0 auto;
  }

  .faq-narrow .accordion-button {
    padding: 0.9rem 1.25rem;
    font-size: 1.05rem;
  }
}
/* Nota técnica / detalle arquitectónico */
.nota-tecnica{
  background:#f8f9fa;
  border:1px solid #e9ecef;
  border-radius:10px;
  padding:12px 16px;
  font-size:.95rem;
  line-height:1.5;
  color:#343a40;
  box-shadow:0 4px 12px rgba(0,0,0,.04);
  margin-top:12px; 
  margin-bottom:0; /* evita abrir “huecos” grises */
}
.nota-tecnica strong{ color:#0f5132; }
.nota-tecnica em{ color:#495057; }
@media (min-width: 992px){
  .nota-tecnica{ max-width:860px; margin-left:auto; margin-right:auto; }
}
/* 🟢 Chips internos centrados (verde #0F802E metálico coherente con botones y etiquetas) */
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid #e9ecef;
  border-radius: 999px;
  font-size: .92rem;
  background: #fff;
  color: #0F802E; /* 💎 verde esmeralda selva */
  text-decoration: none;
  line-height: 1;
  transition: all 0.2s ease-in-out;
}

/* Hover */
.chip:hover {
  background: linear-gradient(145deg, #0B6A25 0%, #0F802E 40%, #19A14A 80%, #0B6A25 100%); /* 💎 efecto metálico */
  color: #fff;
  text-decoration: none;
}

/* Activo (chip de página actual) */
.chip[aria-current="page"] {
  background: linear-gradient(145deg, #0C7529 0%, #109135 40%, #1FB15A 80%, #0C7529 100%); /* 💎 coherente con hover */
  color: #fff;
  pointer-events: none;
  cursor: default;
}

/* Ajuste móvil */
@media (max-width: 576px) {
  .chip {
    font-size: .9rem;
    padding: 6px 10px;
  }
}


/* 💎 Botón success: Verde #0F802E metálico coherente con el nuevo estilo */
.btn-success {
  background: linear-gradient(
    145deg,
    #0B6A25 0%,    /* tono sombra */
    #0F802E 40%,   /* verde selva base */
    #19A14A 80%,   /* brillo metálico */
    #0B6A25 100%   /* cierre oscuro */
  ) !important;
  border: none !important;
  color: #fff !important;
  font-weight: 700;
  letter-spacing: 0.25px;
  padding: 10px 22px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease-in-out;

  /* ✨ Efecto 3D + cuerpo visual */
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.15), /* luz superior interna */
    0 4px 0 rgba(7,78,27,0.8),             /* sombra base */
    0 6px 12px rgba(0,0,0,0.15);

  /* 💎 Texto blanco con delineado sutil */
  text-shadow:
    0 0 2px rgba(0,0,0,0.4),
    0 1px 3px rgba(0,0,0,0.45);
}

/* Hover con brillo más sólido */
.btn-success:hover {
  background: linear-gradient(
    145deg,
    #0C7529 0%,
    #109135 40%,
    #1FB15A 80%,
    #0C7529 100%
  ) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.2),
    0 3px 0 rgba(7,78,27,0.9),
    0 8px 14px rgba(0,0,0,0.25);
  transform: translateY(-1px);
}

/* Active (presionado) */
.btn-success:active {
  transform: translateY(1px);
  box-shadow:
    0 2px 0 rgba(7,78,27,0.8),
    0 4px 8px rgba(0,0,0,0.2);
}
/* ...otros estilos generales y componentes... */

/* 💚 Íconos de contacto (color verde actualizado) */
#info-contacto-blog i.text-success {
  color: #0F802E !important;
  transition: color 0.2s ease-in-out;
}
#info-contacto-blog i.text-success:hover {
  color: #19A14A !important;
}
/* 💚 Botones outline success — color verde esmeralda coherente con el resto del sitio */
.btn-outline-success {
  color: #0F802E !important; /* texto y borde */
  border-color: #0F802E !important;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
}

/* Hover: fondo sólido con texto blanco */
.btn-outline-success:hover {
  color: #fff !important;
  background-color: #0F802E !important;
  border-color: #0F802E !important;
  box-shadow:
    0 3px 0 rgba(10, 70, 30, 0.7),
    0 8px 12px rgba(0, 0, 0, 0.15);
}

/* Active (clic presionado) */
.btn-outline-success:active {
  background-color: #0D6A28 !important;
  border-color: #0D6A28 !important;
  transform: translateY(1px);
}
/* 🟩 Corrección de clics y hover en barra de contacto informativa */
#info-contacto-blog a {
  display: inline-block;
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease-in-out;
}

#info-contacto-blog i {
  pointer-events: none; /* evita que el ícono bloquee el clic */
}

#info-contacto-blog a:hover i,
#info-contacto-blog a:hover h5,
#info-contacto-blog a:hover h6,
#info-contacto-blog a:hover p {
  color: #0F802E !important; /* tu verde esmeralda actual */
}

#info-contacto-blog a:hover i {
  transform: scale(1.1);
  transition: transform 0.2s ease-in-out;
}
/* ✅ Mejora de contraste para el botón de menú en navbar-light */
.navbar-light .navbar-toggler {
  color: #222 !important; /* gris más oscuro,  accesible */
  border-color: rgba(0, 0, 0, 0.25) !important;
}

.navbar-light .navbar-toggler:focus,
.navbar-light .navbar-toggler:hover {
  color: #000 !important; /* completamente visible al hover */
  border-color: rgba(0, 0, 0, 0.35) !important;
}

body.swal2-shown {
  overflow: hidden !important;
  padding-right: 0 !important;
}
html.swal2-shown {
  overflow: hidden !important;
}


/* ====== FIX CLS HEADER – Artistic (2025) ====== */

/* 1. Reservamos altura estable para la barra de navegación */
.navbar.container {
  min-height: 72px; /* Ajusta a 68–76px si ves que se ve muy alta o baja */
}

/* 2. Tamaño fijo para el área del logo */
.navbar-brand {
  display: flex;
  align-items: center;
  width: 176px;   /* ajustado a la proporción real del logo */
  height: 50px;
  flex-shrink: 0; /* evita que se comprima en móviles */
}

/* 3. Aseguramos que la imagen del logo no cambie de tamaño al cargar */
.navbar-brand img {
  width: 176px;
  height: 50px;
  display: block;
  object-fit: contain;
}

/* 4. Ajustamos el padding para que no cambie demasiado la altura total */
.navbar {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}


/* ===== FIX CLS GALERÍA (2025-12) ===== */
/* No cambiamos estilos, solo el display inicial */

.gallery-item {
  display: none;
}

.gallery-item.visible {
  display: block;
}

/* ===============================================================
   FIX CLS GALERÍAS — relación de aspecto por categoría
   =============================================================== */

.galeria-pergolas .gallery-item img{
  width:100%;
  height:auto;
  aspect-ratio:1 / 1;
  object-fit:contain;
  display:block;
}

.galeria-barandales .gallery-item img{
  width:100%;
  height:auto;
  aspect-ratio:1 / 1;
  object-fit:contain;
  display:block;
}

.galeria-canceles .gallery-item img{
  width:100%;
  height:auto;
  aspect-ratio:3 / 4;
  object-fit:cover;
  display:block;
}
/* === Bloque SEO con pestañas premium === */
.bloque-seo-tabs {
  background: #fff;
  border-radius: 18px;
  padding: 34px 30px;
  box-shadow: 0 14px 32px rgba(0,0,0,.08);
  border: 1px solid rgba(0,0,0,.04);
}

.seo-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px auto 24px;
}

.seo-tab {
  border: 1px solid #0F802E;
  background: #fff;
  color: #0F802E;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease-in-out;
}

.seo-tab:hover,
.seo-tab.active {
  background: linear-gradient(145deg, #0B6A25 0%, #0F802E 45%, #19A14A 85%, #0B6A25 100%);
  color: #fff;
  box-shadow: 0 5px 12px rgba(0,0,0,.16);
}

.seo-tab-content {
  display: none;
  max-width: 820px;
  margin: 0 auto;
  text-align: justify;
  font-size: 1rem;
  line-height: 0.95;
}

.seo-tab-content.active {
  display: block;
}


@media (max-width: 767.98px) {
  .bloque-seo-tabs {
    padding: 28px 20px;
    border-radius: 14px;
  }

  .seo-tabs {
    gap: 8px;
  }

  .seo-tab {
    width: 100%;
    max-width: 260px;
    font-size: .92rem;
  }

  .seo-tab-content {
    text-align: left;
  }
}
/* ===== Negritas elegantes ===== */

strong,
b,
.intro-pergolas strong,
.intro-pergolas b {
  font-weight: 600 !important;
  color: #2f2f2f !important;
}
/* Texto blanco en descripciones del popup */
.mfp-content .mfp-bottom-bar,
.mfp-content .mfp-bottom-bar p{
  color:#fff !important;
}

.modelo-destacado{
  outline:3px solid #4d90fe!important;
  outline-offset:4px;
  border-radius:8px;
}
.galeria-barandales-v2 .gallery-item img{
  width:100%;
  aspect-ratio:1 / 1;
  object-fit:cover;
  display:block;
}
/* Footer Artistic */
footer .w-75{
    width:100% !important;
}

/* Actualizado 2026-06-02 */


