/* ==========================================================================
   Pisos Durables - Optimización 2026
   Se carga después de style.css y whatsapp.css
   ========================================================================== */

:root {
  --pd-blue: #145378;
  --pd-navy: #0b2b3f;
  --pd-bright: #007bff;
  --pd-amber: #edad43;
  --pd-amber-dark: #d98f12;
  /* --pd-amber: #1f529e;
  --pd-amber-dark: #023583; */
  --pd-ink: #413e66;
  --pd-soft: #f2f6fa;
  --pd-line: #dbe4ec;
}

/* ---------- Texto base ---------- */
p,
li,
.col-md-12,
.col-lg-12 {
  text-align: justify;
}

.pd-center,
.pd-center * {
  text-align: center;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
   BANNER (hero)
   ========================================================================== */
.hero {
  position: relative;
  background-color: var(--pd-navy);
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 31, 46, .94) 0%, rgba(11, 43, 63, .82) 42%, rgba(11, 43, 63, .25) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--pd-amber), var(--pd-amber-dark) 40%, transparent);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 26px;
  padding-bottom: 22px;
  min-height: 250px;
}

.hero-logo {
  flex: 0 0 auto;
}

.hero-logo img {
  width: 190px;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .55));
}

.hero-text {
  flex: 1 1 auto;
  text-align: left;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 600 13px/1 "Open Sans", sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
}

.hero-kicker::before {
  content: "";
  width: 34px;
  height: 3px;
  background: var(--pd-amber);
  display: inline-block;
}

.hero-title {
  font: 800 clamp(28px, 4.2vw, 50px)/1.05 "Montserrat", sans-serif;
  text-transform: uppercase;
  margin: 12px 0 8px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .45);
}

.hero-title span {
  color: var(--pd-amber);
}

.hero-sub {
  font: 400 clamp(15px, 1.7vw, 19px)/1.4 "Open Sans", sans-serif;
  margin: 0 0 16px;
  max-width: 640px;
  text-align: left;
  color: #fff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn-hero {
  display: inline-block;
  background: var(--pd-amber);
  color: #0b2b3f;
  font: 700 15px/1 "Montserrat", sans-serif;
  padding: 14px 24px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .03em;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .3);
  transition: .25s;
}

.btn-hero:hover {
  background: #fff;
  color: var(--pd-blue);
  transform: translateY(-2px);
}

.hero-tel {
  color: #fff;
  font: 600 13px/1.3 "Open Sans", sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 230px;
}

.hero-tel img {
  width: 38px;
  height: auto;
}

.hero-tel:hover {
  color: var(--pd-amber);
}

.hero-ventajas {
  position: relative;
  z-index: 2;
  background: rgba(8, 31, 46, .88);
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.hero-ventajas ul {
  list-style: none;
  margin: 0;
  padding: 10px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 0;
}

.hero-ventajas li {
  flex: 1 1 25%;
  min-width: 170px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  font: 600 13px/1.2 "Montserrat", sans-serif;
  text-transform: uppercase;
  color: #fff;
  text-align: left;
  border-left: 1px solid rgba(255, 255, 255, .15);
}

.hero-ventajas li:first-child {
  border-left: 0;
}

.hero-ventajas img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

@media (max-width: 991px) {
  .hero::before {
    background: linear-gradient(180deg, rgba(8, 31, 46, .9), rgba(11, 43, 63, .72));
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 14px;
    padding-top: 22px;
    min-height: 0;
  }

  .hero-logo img {
    width: 130px;
    margin: auto;
  }

  .hero-text,
  .hero-sub {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-kicker {
    justify-content: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-ventajas li {
    flex: 1 1 50%;
    justify-content: flex-start;
    padding-left: 12px;
    border-left: 0;
  }
}

/* ==========================================================================
   MENÚ
   ========================================================================== */
.navbar {
  font-size: 13.5px;
}

.navbar .navbar-nav {
  flex-wrap: wrap;
  justify-content: center;
}

.navbar .nav-link {
  padding: .65rem .62rem;
  font-weight: 500;
  line-height: 1.25;
}

.navbar .nav-link.active {
  font-weight: 700;
  box-shadow: inset 0 -3px 0 var(--pd-amber);
}

@media (min-width: 992px) {
  .navbar .nav-link {
    white-space: nowrap;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .navbar {
    font-size: 12.5px;
  }

  .navbar .nav-link {
    padding: .6rem .42rem;
    white-space: normal;
    text-align: center;
  }
}

/* ==========================================================================
   BOTONES CTA
   ========================================================================== */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(180deg, var(--pd-amber) 0%, var(--pd-amber-dark) 100%);
  color: #0b2b3f;
  font: 700 16px/1.2 "Montserrat", sans-serif;
  border: 0;
  border-radius: 6px;
  padding: 14px 26px;
  box-shadow: 0 6px 16px rgba(217, 143, 18, .38);
  cursor: pointer;
  transition: .25s;
}

.btn-cta::after {
  content: "\F138";
  font-family: "bootstrap-icons";
  font-size: 17px;
}

.btn-cta:hover {
  background: var(--pd-blue);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(20, 83, 120, .35);
}

.btn-cta-sm {
  padding: 9px 16px;
  font-size: 14px;
}

.btn-cta-block {
  display: flex;
  justify-content: center;
  width: 100%;
}

.pd-cta-wrap {
  text-align: center;
  margin: 26px 0 12px;
}

.pd-cta-wrap form {
  display: inline-block;
  margin: 0;
}

.btn-outline-pd {
  display: inline-block;
  border: 2px solid var(--pd-blue);
  color: var(--pd-blue);
  font: 700 14px/1 "Montserrat", sans-serif;
  padding: 10px 18px;
  border-radius: 6px;
  transition: .25s;
}

.btn-outline-pd:hover {
  background: var(--pd-blue);
  color: #fff;
}

/* ==========================================================================
   BARRA LATERAL
   ========================================================================== */
.side-faq {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #0b2b3f, var(--pd-blue));
  color: #fff !important;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 14px;
  box-shadow: 0 8px 20px rgba(11, 43, 63, .25);
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: .25s;
}

.side-faq:hover {
  transform: translateY(-3px);
  color: #fff;
}

.side-faq .bi-question-circle-fill {
  font-size: 40px;
  color: var(--pd-amber);
  flex: 0 0 auto;
  line-height: 1;
}

.side-faq strong {
  display: block;
  font: 800 17px/1.1 "Montserrat", sans-serif;
  text-transform: uppercase;
}

.side-faq small {
  display: block;
  font: 400 12.5px/1.3 "Open Sans", sans-serif;
  opacity: .9;
  margin-top: 3px;
}

.side-faq .bi-arrow-right-circle-fill {
  margin-left: auto;
  font-size: 24px;
  color: var(--pd-amber);
}

.side-otros {
  display: block;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  color: #fff !important;
  margin-top: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
}

.side-otros img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .6s;
}

.side-otros:hover img {
  transform: scale(1.05);
}

.side-otros::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8, 31, 46, .85) 0%, rgba(8, 31, 46, .35) 55%, rgba(8, 31, 46, .75) 100%);
}

.side-otros .side-otros-txt {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}

.side-otros h3 {
  font: 800 25px/1.05 "Montserrat", sans-serif;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .5);
}

.side-otros h3 span {
  color: var(--pd-amber);
}

.side-otros p {
  margin: 6px 0 0;
  font: 400 15px/1.3 "Open Sans", sans-serif;
  color: #fff;
  text-align: left;
}

.side-otros .btn-hero {
  align-self: flex-start;
  font-size: 13px;
  padding: 11px 16px;
}

.form-lateral-titulo {
  font: 800 20px/1.2 "Montserrat", sans-serif;
  color: var(--pd-blue);
  display: block;
  text-align: center;
}

/* ==========================================================================
   FLOTANTE WHATSAPP (más visible: esquina inferior, PC y móvil)
   ========================================================================== */
.contenedorWhatsapp {
  bottom: 22px;
  right: 22px;
  left: auto;
  margin: 0;
}

.buttonWhatsapp {
  right: 0;
  bottom: 0;
  width: 66px;
  height: 66px;
  display: block;
}

.buttonWhatsapp:before {
  right: 0;
  bottom: 0;
  top: auto;
  width: 66px;
  height: 66px;
  font-size: 36px;
  padding-top: 13px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
  animation: pdPulse 2.4s infinite;
}

/* .buttonWhatsapp::after {
  content: "¿Dudas? Escríbenos";
  position: absolute;
  right: 78px;
  bottom: 15px;
  background: #fff;
  color: #145378;
  font: 700 13px/1 "Montserrat", sans-serif;
  white-space: nowrap;
  padding: 9px 12px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
} */
/* 
#toggleWhatsapp:checked~.buttonWhatsapp::after {
  display: none;
} */

#toggleWhatsapp:checked~.buttonWhatsapp:before {
  right: 0;
  bottom: 0;
  width: 46px;
  height: 46px;
  padding-top: 5px;
  font-size: 26px;
  animation: none;
}

.inputWhatsapp {
  right: 0;
  bottom: 82px;
  margin-top: 0;
  position: fixed;
  right: 22px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
  text-align: left;
}

#toggleWhatsapp:checked~.inputWhatsapp {
  transform: none;
  display: block;
}

@keyframes pdPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 188, 51, .55);
  }

  70% {
    box-shadow: 0 0 0 16px rgba(0, 188, 51, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(0, 188, 51, 0);
  }
}

@media (max-width: 575px) {
  .contenedorWhatsapp {
    bottom: 14px;
    right: 14px;
  }

  /* .buttonWhatsapp::after {
    font-size: 12px;
    padding: 8px 10px;
    right: 74px;
  } */

  .inputWhatsapp {
    right: 10px;
    width: calc(100vw - 20px);
    max-width: 320px;
    bottom: 78px;
  }
}

/* ==========================================================================
   TÍTULOS DE SECCIÓN
   ========================================================================== */
.pd-h2 {
  font: 800 clamp(22px, 2.6vw, 30px)/1.2 "Montserrat", sans-serif;
  color: var(--pd-ink);
  margin: 0 0 14px;
  position: relative;
  padding-bottom: 12px;
}

.pd-h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 4px;
  background: var(--pd-amber);
  border-radius: 2px;
}

.pd-h2.text-center::after,
.text-center>.pd-h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.pd-sec {
  padding: 34px 0 10px;
}

.pd-sec-bg {
  background: var(--pd-soft);
  border-radius: 14px;
  padding: 30px 22px;
  margin: 30px 0;
}

/* ==========================================================================
   CARRUSEL (Pisos Epóxicos)
   ========================================================================== */
.pd-carousel {
  position: relative;
  margin: 8px 0 8px;
}

.pd-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px 18px;
  scrollbar-width: thin;
}

.pd-track::-webkit-scrollbar {
  height: 8px;
}

.pd-track::-webkit-scrollbar-thumb {
  background: #b9c9d6;
  border-radius: 4px;
}

.pd-slide {
  flex: 0 0 calc((100% - 36px) / 3);
  scroll-snap-align: start;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(11, 43, 63, .14);
  display: flex;
  flex-direction: column;
}

@media (max-width: 991px) {
  .pd-slide {
    flex-basis: calc((100% - 18px) / 2);
  }
}

@media (max-width: 575px) {
  .pd-slide {
    flex-basis: 86%;
  }
}

.pd-slide-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #dfe7ee;
}

.pd-slide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pd-slide-body {
  padding: 14px 14px 16px;
  text-align: center;
  margin-top: auto;
}

.pd-slide-body h3 {
  font: 700 18px/1.2 "Montserrat", sans-serif;
  color: var(--pd-blue);
  margin: 0 0 12px;
  text-align: center;
}

.pd-slide-body form {
  margin: 0;
}

.pd-arrow {
  position: absolute;
  top: 38%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--pd-blue);
  color: #fff;
  font-size: 20px;
  z-index: 3;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pd-arrow:hover {
  background: var(--pd-amber);
  color: #0b2b3f;
}

.pd-arrow.prev {
  left: -14px;
}

.pd-arrow.next {
  right: -14px;
}

@media (max-width: 575px) {
  .pd-arrow.prev {
    left: 2px;
  }

  .pd-arrow.next {
    right: 2px;
  }
}

/* ==========================================================================
   TARJETAS DE SOLUCIONES (home / industriales)
   ========================================================================== */
.pd-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 10px 0 20px;
}

@media (max-width: 1199px) {
  .pd-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .pd-cards {
    grid-template-columns: 1fr;
  }
}

.pd-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(11, 43, 63, .14);
  display: flex;
  flex-direction: column;
  transition: .25s;
  border: 1px solid #eef2f6;
}

.pd-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(11, 43, 63, .22);
}

.pd-card-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.pd-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pd-card-tag {
  position: absolute;
  left: 0;
  top: 12px;
  background: var(--pd-blue);
  color: #fff;
  font: 700 10.5px/1 "Montserrat", sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 12px 6px 10px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.pd-card-body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pd-card h3,
.pd-card h4 {
  font: 800 16px/1.2 "Montserrat", sans-serif;
  color: var(--pd-blue) !important;
  text-transform: uppercase;
  text-align: center;
  margin: 2px 0 12px;
}

.pd-card ul.pd-ico {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 9px;
}

.pd-card ul.pd-ico li {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 400 13px/1.25 "Open Sans", sans-serif;
  text-align: left;
}

.pd-card ul.pd-ico img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 34px;
}

.pd-card .pd-more {
  margin-top: auto;
  text-align: center;
  font: 700 13px/1 "Montserrat", sans-serif;
}

.pd-card .pd-more a {
  color: var(--pd-bright);
}

.pd-card .pd-more a::after {
  content: " \2192";
}

.pd-card-nav {
  background: #fff;
  text-align: center;
  padding: 10px 12px 14px;
}

.pd-card-nav .pd-nav-title {
  font: 700 15px/1.2 "Montserrat", sans-serif;
  color: var(--pd-ink);
  text-align: center;
  display: block;
}

/* tarjetas simples (galería de navegación al final de página) */
.pd-explore {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 10px 0 22px;
}

@media (max-width: 767px) {
  .pd-explore {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pd-explore a {
  display: block;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(11, 43, 63, .13);
  transition: .25s;
  text-align: center;
}

.pd-explore a:hover {
  transform: translateY(-4px);
}

.pd-explore img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.pd-explore h4 {
  margin: 0;
  padding: 11px 8px;
  font: 700 14px/1.2 "Montserrat", sans-serif;
  color: #085aae !important;
  text-align: center;
}

/* ==========================================================================
   GALERÍA DE PROYECTOS (fotos visibles, con liga)
   ========================================================================== */
.pd-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  margin: 10px 0 20px;
}

.pd-gallery>a {
  grid-column: span 3;
}

.pd-gallery.g3>a {
  grid-column: span 4;
}

.pd-gallery.g7>a:nth-child(n+5) {
  grid-column: span 4;
}

@media (max-width: 991px) {

  .pd-gallery>a,
  .pd-gallery.g3>a,
  .pd-gallery.g7>a:nth-child(n+5) {
    grid-column: span 6;
  }
}

@media (max-width: 575px) {

  .pd-gallery>a,
  .pd-gallery.g3>a,
  .pd-gallery.g7>a:nth-child(n+5) {
    grid-column: span 12;
  }
}

.pd-gal-item {
  display: block;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(11, 43, 63, .14);
  transition: .25s;
}

.pd-gal-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(11, 43, 63, .22);
}

.pd-gal-item img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  display: block;
}

.pd-gal-item .pd-gal-cap {
  display: block;
  padding: 12px 14px 14px;
  background: #f1f3f5;
  font: 800 16px/1.2 "Montserrat", sans-serif;
  color: #1b1b2f;
  text-align: left;
}

.pd-gal-item .pd-gal-cap small {
  display: block;
  margin-top: 6px;
  font: 600 13px/1 "Open Sans", sans-serif;
  color: var(--pd-bright);
}

.pd-gal-item .pd-gal-cap small::after {
  content: " \2192";
}

/* galería de fotos simples (no vinculadas) con modal */
.pd-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 10px 0 20px;
}

@media (max-width: 767px) {
  .pd-photos {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pd-photos a {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(11, 43, 63, .15);
  aspect-ratio: 4 / 3;
  background: #dfe7ee;
}

.pd-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.pd-photos a:hover img {
  transform: scale(1.06);
}

/* ==========================================================================
   LISTAS CON TARJETA (problemas, aplicaciones)
   ========================================================================== */
.pd-grid2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 12px 0 20px;
}

@media (max-width: 991px) {
  .pd-grid2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .pd-grid2 {
    grid-template-columns: 1fr;
  }
}

.pd-info {
  background: #fff;
  border: 1px solid var(--pd-line);
  border-top: 4px solid var(--pd-amber);
  border-radius: 10px;
  padding: 16px 16px 14px;
  box-shadow: 0 4px 14px rgba(11, 43, 63, .07);
}

.pd-info h3,
.pd-info h4 {
  font: 800 16px/1.25 "Montserrat", sans-serif;
  color: var(--pd-blue) !important;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.pd-info h3 i,
.pd-info h4 i {
  color: var(--pd-amber-dark);
  font-size: 22px;
}

.pd-info p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}

/* galería + aplicaciones lado a lado */
.pd-apps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 12px 0 20px;
}

@media (min-width: 768px) {
  .pd-apps {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* íconos de industria (hojuelas) */
.pd-ind {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 12px 0 22px;
}

@media (max-width: 767px) {
  .pd-ind {
    grid-template-columns: 1fr;
  }
}

.pd-ind-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--pd-line);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 4px 14px rgba(11, 43, 63, .07);
}

.pd-ind-item img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  flex: 0 0 58px;
  border-radius: 0 !important;
}

.pd-ind-item h3,
.pd-ind-item h4 {
  font: 800 15px/1.25 "Montserrat", sans-serif;
  color: var(--pd-blue) !important;
  margin: 0 0 5px;
  text-align: left;
}

.pd-ind-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}

/* ventajas con imagen (hojuelas) */
.pd-vent {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 12px 0 22px;
}

@media (max-width: 991px) {
  .pd-vent {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .pd-vent {
    grid-template-columns: 1fr;
  }
}

.pd-vent-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(11, 43, 63, .13);
  text-align: center;
}

.pd-vent-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.pd-vent-item h3,
.pd-vent-item h4 {
  font: 800 15px/1.2 "Montserrat", sans-serif;
  color: var(--pd-blue) !important;
  margin: 12px 8px 4px;
  text-align: center;
}

.pd-vent-item p {
  margin: 0 10px 14px;
  font-size: 13.5px;
  line-height: 1.4;
  text-align: center;
}

/* materiales (abrillantado) */
.pd-mat {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin: 14px 0 22px;
}

@media (max-width: 991px) {
  .pd-mat {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 575px) {
  .pd-mat {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pd-mat figure {
  margin: 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(11, 43, 63, .13);
  text-align: center;
}

.pd-mat img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.pd-mat figcaption {
  padding: 9px 6px 11px;
  font: 800 14px/1.2 "Montserrat", sans-serif;
  color: var(--pd-blue);
  text-align: center;
}

/* ícono + texto de ventajas de una línea */
.pd-chip-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 12px 0 20px;
}

@media (max-width: 575px) {
  .pd-chip-list {
    grid-template-columns: 1fr;
  }
}

/* texto + imagen */
.pd-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
  margin: 12px 0 20px;
}

@media (min-width: 768px) {
  .pd-split {
    grid-template-columns: 1fr 1fr;
  }

  .pd-split.s-40 {
    grid-template-columns: 2fr 3fr;
  }

  .pd-split.s-rev {
    direction: rtl;
  }

  .pd-split.s-rev>* {
    direction: ltr;
  }
}

.pd-split img {
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(11, 43, 63, .18);
}

/* ==========================================================================
   BREADCRUMB / FOOTER
   ========================================================================== */
.breadcrumb {
  font-size: 13.5px;
}

#footer .footer-top a {
  text-decoration: underline;
}

#footer .aviso {
  font-size: 13px;
  margin-top: 8px;
}

/* lista en dos columnas */
ul.pd-two-col {
  columns: 2;
  column-gap: 28px;
  padding-left: 20px;
}

ul.pd-two-col li {
  break-inside: avoid;
  margin-bottom: 6px;
  text-align: left;
}

@media (max-width: 575px) {
  ul.pd-two-col {
    columns: 1;
  }
}

.pd-card h2 {
  font: 800 16px/1.2 "Montserrat", sans-serif;
  color: var(--pd-blue);
  text-transform: uppercase;
  text-align: center;
  margin: 2px 0 12px;
}

.pd-photos>div>a {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(11, 43, 63, .15);
  aspect-ratio: 4 / 3;
  background: #dfe7ee;
}

.pd-photos>div>a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.pd-photos>div>a:hover img {
  transform: scale(1.06);
}

.pd-grid4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 991px) {
  .pd-grid4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .pd-grid4 {
    grid-template-columns: 1fr;
  }
}

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

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

@media (max-width: 575px) {
  .pd-grid-2 {
    grid-template-columns: 1fr;
  }
}

.pd-mat figure a {
  display: block;
}

.pd-h2,
h1,
h2,
h3 {
  text-align: left;
}

h1[align="center"],
.text-center>h2 {
  text-align: center;
}


/* ==========================================================================
   Ajustes 2026-11-13
   ========================================================================== */
.btn-hero-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  box-shadow: none;
  padding: 12px 22px;
}

.btn-hero-outline:hover {
  background: #fff;
  color: var(--pd-blue);
}

/* WhatsApp centrado verticalmente */
.buttonWhatsapp {
  top: 50%;
  bottom: auto;
  margin-top: -33px;
  right: 14px;
}

.inputWhatsapp {
  top: 50%;
  bottom: auto;
  right: 96px;
  margin-top: 0;
  max-height: calc(100vh - 40px);
  transform: translateY(-50%);
}

#toggleWhatsapp:checked~.inputWhatsapp {
  transform: translateY(-50%);
  display: block;
  opacity: 1;
}

@media (max-width: 575px) {
  .buttonWhatsapp {
    right: 8px;
  }

  .inputWhatsapp {
    right: 84px;
    width: calc(100vw - 100px);
    max-width: 300px;
    bottom: auto;
  }
}

/* Volver al inicio: esquina inferior derecha */
.back-to-top {
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  line-height: 46px;
  background: var(--pd-blue);
  border: 2px solid var(--pd-amber);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
  z-index: 99998;
}

.back-to-top:hover {
  background: var(--pd-amber);
}

.back-to-top i {
  padding-top: 0;
  line-height: 42px;
  font-size: 20px;
  color: #fff;
}

.back-to-top:hover i {
  color: var(--pd-navy);
}

/* Menú gráfico (Nuestras Soluciones Integrales / Explora más Servicios) */
.pd-explore {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: var(--pd-soft);
  border: 1px solid var(--pd-line);
  border-radius: 14px;
  padding: 16px;
  margin: 10px 0 22px;
}

@media (max-width: 991px) {
  .pd-explore {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .pd-explore {
    grid-template-columns: 1fr;
    padding: 12px;
  }
}

.pd-explore a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px 8px 8px;
  background: #fff;
  border: 1px solid var(--pd-line);
  border-left: 4px solid var(--pd-amber);
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(11, 43, 63, .08);
  text-align: left;
}

.pd-explore a:hover {
  transform: translateY(-2px);
  border-left-color: var(--pd-blue);
  box-shadow: 0 6px 14px rgba(11, 43, 63, .16);
}

.pd-explore a::after {
  content: "\F138";
  font-family: "bootstrap-icons";
  font-size: 18px;
  color: var(--pd-amber-dark);
  margin-left: auto;
  flex: 0 0 auto;
}

.pd-explore img {
  width: 78px;
  height: 58px;
  aspect-ratio: auto;
  flex: 0 0 78px;
  object-fit: cover;
  border-radius: 8px;
}

.pd-explore h4 {
  margin: 0;
  padding: 0;
  font: 700 14px/1.2 "Montserrat", sans-serif;
  color: var(--pd-blue) !important;
  text-align: left;
}


/* Ajustes 2026-11-14 */
/* Ícono de WhatsApp centrado dentro del círculo (abierto y cerrado) */
.buttonWhatsapp:before,
#toggleWhatsapp:checked~.buttonWhatsapp:before {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
}

/* Más separación entre el contenido y el footer */
#footer {
  margin-top: 4rem !important;
}


/* CTA pegado al texto al que pertenece (margin-top 1.2rem) */
.pd-cta-wrap {
  margin: 0 0 12px;
}

form:has(> .btn-cta) {
  display: inline-block;
  margin: 1.2rem 0 0;
}

.pd-slide-body form:has(> .btn-cta) {
  margin: 0;
}

/* El CTA siempre en su propia línea, 1.2rem bajo el texto; centrado si su contenedor lo está */
form:has(> .btn-cta) {
  display: block;
  width: fit-content;
  margin: 1.2rem 0 0;
}

.pd-cta-wrap form:has(> .btn-cta),
.text-center form:has(> .btn-cta),
[align="center"] form:has(> .btn-cta),
center form:has(> .btn-cta),
.pd-slide-body form:has(> .btn-cta) {
  margin-left: auto;
  margin-right: auto;
}

[align="right"] form:has(> .btn-cta) {
  margin-left: auto;
  margin-right: 0;
}

.pd-slide-body form:has(> .btn-cta) {
  margin-top: 0;
  margin-bottom: 0;
}

/* Proyectos destacados: el CTA siempre al final de la card */
.pd-gal-item {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pd-gal-item .pd-gal-cap {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.pd-gal-item .pd-gal-cap small {
  margin-top: auto;
  padding-top: 8px;
}

/* Todos los CTA: margin-bottom 1.5rem (mb-4); los botones del carrusel viven dentro de su card */
form:has(> .btn-cta) {
  margin-bottom: 1.5rem;
}

.pd-slide-body form:has(> .btn-cta) {
  margin-bottom: 0;
}

/* Pisos Epóxicos Industriales: cards con imagen cuadrada y etiqueta translúcida */
.pd-cards .pd-card-img {
  aspect-ratio: 1 / 1;
}

.pd-cards .pd-card-tag {
  background: rgba(20, 83, 120, .72);
  text-align: left;
}

.pd-cards .pd-card h2 {
  text-align: left;
}

.pd-cards .pd-card .pd-more {
  text-align: left;
}


/* ==========================================================================
   Footer rediseñado (B2B): franja de contacto, 3 columnas y barra legal
   ========================================================================== */
#footer {
  padding: 0;
  text-align: left;
  background: #0b2b3f;
  color: #dbe7ef;
  font-size: 14.5px;
  margin-top: 4rem !important;
}

#footer a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

#footer a:hover {
  color: var(--pd-amber);
}

#footer .footer-cta {
  background: var(--pd-blue);
  border-bottom: 4px solid var(--pd-amber);
  padding: 18px 0;
  font: 600 16px/1.5 "Open Sans", sans-serif;
  color: #fff;
  text-align: center;
}

#footer .footer-cta a {
  color: var(--pd-amber);
  text-decoration: underline;
}

#footer .footer-main {
  padding: 36px 0 28px;
}

#footer .footer-logo img {
  width: 170px;
  display: block;
  margin-bottom: 14px;
}

#footer .footer-info {
  margin: 0;
  text-align: justify;
  line-height: 1.7;
  color: #dbe7ef;
}

#footer .footer-info a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .35);
}

#footer .footer-title {
  display: block;
  font: 700 13px/1 "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--pd-amber);
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}

#footer .footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

#footer .footer-links a::before {
  content: "\F285";
  font-family: "bootstrap-icons";
  font-size: 11px;
  color: var(--pd-amber);
  margin-right: 8px;
}

#footer .footer-contact p {
  margin: 0 0 12px;
  text-align: left;
  line-height: 1.55;
}

#footer .footer-contact i {
  color: var(--pd-amber);
  margin-right: 6px;
}

#footer .footer-address {
  display: flex;
  gap: 8px;
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .15);
  font-style: normal;
  line-height: 1.55;
}

#footer .footer-address i {
  color: var(--pd-amber);
  margin-top: 3px;
}

#footer .footer-bottom {
  background: #08202f;
  padding: 12px 0;
  font-size: 13px;
  text-align: center;
}

/* Imagen cuadrada (Sellos: ventajas) */
.pd-img-sq {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
}


/* ==========================================================================
   Imágenes de contenido: esquinas redondeadas, altura proporcionada y sin huecos
   ========================================================================== */
/* Esquinas redondeadas en todas las imágenes de contenido (las de ícono/logo no) */
main img.img-fluid,
main a[data-bs-toggle="modal"]>img {
  border-radius: 12px;
}

.pd-ico img,
.pd-ind-item img,
.hero img,
.side-otros img {
  border-radius: 0;
}

/* La altura de una imagen no puede exceder lo que el contenido que la acompaña justifica:
   tope relativo al ancho de pantalla y recorte centrado (object-fit) */
main a[data-bs-toggle="modal"]>img {
  display: block;
  width: 100%;
  max-height: min(430px, 75vw);
  object-fit: cover;
  object-position: center;
}

.pd-photos>div>a>img {
  max-height: none;
}

.pd-mat img,
.pd-vent-item img {
  max-height: none;
}

.pd-split img {
  box-shadow: 0 8px 22px rgba(11, 43, 63, .18);
}

/* Sin <br> sobrante debajo de una imagen con modal */
.modal+br {
  display: none;
}

/* Filas imagen + texto: el contenido se centra verticalmente para repartir el espacio */
.row:has(> [class*="col-"] > a[data-bs-toggle="modal"]),
.row:has(> [class*="col-"] > .row-img) {
  align-items: center;
}

.row>.sticky-top {
  align-self: flex-start;
}

/* En pantallas pequeñas, las imágenes laterales ocupan el ancho y quedan separadas del texto */
@media (max-width: 767px) {
  main a[data-bs-toggle="modal"]>img {
    max-height: 280px;
  }

  .row:has(> [class*="col-"] > a[data-bs-toggle="modal"])>[class*="col-"] {
    margin-bottom: .5rem;
  }
}

/* Afinación de espacios entre imagen y contenido */
.pd-split {
  align-items: center;
}

a[data-bs-toggle="modal"]+.modal+a[data-bs-toggle="modal"],
a[data-bs-toggle="modal"]+.modal+br+a[data-bs-toggle="modal"] {
  margin-top: 14px;
}

h2.pd-h2 {
  margin-top: .75rem;
}

/* Banner lateral "Otros servicios": cuando el lateral baja debajo del contenido, no se estira */
@media (max-width: 991px) {
  .side-otros img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: center 40%;
  }
}


/* Ajustes 2026-11-17 */
main a[data-bs-toggle="modal"] {
  display: block;
}

/* Menú gráfico: tarjetas más grandes, acordes al resto del contenido */
.pd-explore {
  gap: 16px;
  padding: 20px;
}

.pd-explore a {
  gap: 16px;
  padding: 12px 18px 12px 12px;
}

.pd-explore img {
  width: 124px;
  height: 92px;
  flex: 0 0 124px;
  border-radius: 10px;
}

.pd-explore h4 {
  font-size: 16.5px;
  line-height: 1.25;
}

.pd-explore a::after {
  font-size: 22px;
}

@media (max-width: 575px) {
  .pd-explore img {
    width: 96px;
    height: 72px;
    flex-basis: 96px;
  }

  .pd-explore h4 {
    font-size: 15px;
  }
}

.mt-3[data-bs-toggle="modal"] {
  margin-top: 1.25rem !important;
}


/* ==========================================
   PREGUNTAS FRECUENTES
========================================== */

.faq-page {
  --faq-blue: var(--pd-blue, #145378);
  --faq-navy: var(--pd-navy, #0b2b3f);
  --faq-amber: var(--pd-amber, #edad43);
  --faq-amber-dark: var(--pd-amber-dark, #d98f12);
  --faq-ink: var(--pd-ink, #413e66);
  --faq-soft: var(--pd-soft, #f2f6fa);
  --faq-line: var(--pd-line, #dbe4ec);

  padding: 65px 0 80px;
  color: var(--faq-ink);
  background: #fff;
}

/* Encabezado */

.faq-page .faq-header {
  max-width: 850px;
  margin: 0 auto 38px;
  text-align: center;
}

.faq-page .faq-header h1 {
  position: relative;
  display: inline-block;
  margin: 0 0 22px;
  padding-bottom: 18px;
  color: var(--faq-navy);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
}

.faq-page .faq-header h1::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 65px;
  height: 4px;
  content: "";
  background: var(--faq-amber);
  border-radius: 4px;
  transform: translateX(-50%);
}

.faq-page .faq-header p {
  margin: 0;
  color: #5e6d7a;
  font-size: 16px;
  line-height: 1.8;
}

/* Acordeón */

.faq-page .faq-accordion {
  max-width: 1000px;
  margin: 0 auto;
}

.faq-page .faq-accordion .card {
  margin-bottom: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--faq-line);
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(11, 43, 63, 0.045);
  transition: border-color .25s ease,
              box-shadow .25s ease;
}

.faq-page .faq-accordion .card:hover {
  border-color: #b7cbd9;
}

.faq-page .faq-accordion .card-header {
  padding: 0;
  background: #fff;
  border: 0;
}

.faq-page .faq-accordion .faq-question {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 21px 24px;
  color: var(--faq-navy);
  background: #fff;
  border: 0;
  text-align: left;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  box-shadow: none;
  transition: color .25s ease,
              background .25s ease;
}

.faq-page .faq-accordion .faq-question:hover {
  color: var(--faq-blue);
  background: var(--faq-soft);
}

.faq-page .faq-accordion .faq-question:focus-visible {
  outline: 3px solid rgba(0, 123, 255, .3);
  outline-offset: -4px;
}

/* Indicador de apertura */

.faq-page .faq-question .faq-icon {
  position: relative;
  display: flex;
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: var(--faq-blue);
  background: var(--faq-soft);
  border-radius: 50%;
  transition: color .25s ease,
              background .25s ease,
              transform .25s ease;
}

.faq-page .faq-question .faq-icon::before,
.faq-page .faq-question .faq-icon::after {
  position: absolute;
  width: 12px;
  height: 2px;
  content: "";
  background: currentColor;
  border-radius: 2px;
}

.faq-page .faq-question .faq-icon::after {
  transform: rotate(90deg);
  transition: transform .25s ease;
}

/* Pregunta activa */

.faq-page .faq-question[aria-expanded="true"] {
  color: var(--faq-blue);
  background: var(--faq-soft);
}

.faq-page .faq-question[aria-expanded="true"] .faq-icon {
  color: var(--faq-navy);
  background: rgba(237, 173, 67, .25);
}

.faq-page .faq-question[aria-expanded="true"] .faq-icon::after {
  transform: rotate(0);
}

/* Respuesta */

.faq-page .faq-accordion .card-body {
  padding: 22px 25px 25px;
  color: #596a78;
  background: #fff;
  border-top: 1px solid var(--faq-line);
  font-size: 15px;
  line-height: 1.85;
}

.faq-page .faq-accordion .card-body p:last-child {
  margin-bottom: 0;
}

/* Llamado a la acción */

.faq-page .faq-contact {
  margin-top: 45px;
  text-align: center;
}

.faq-page .faq-contact p {
  margin-bottom: 18px;
  color: var(--faq-navy);
  font-size: 18px;
  font-weight: 700;
}

.faq-page .faq-contact .btn-faq {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  padding: 13px 28px;
  color: var(--faq-navy);
  background: var(--faq-amber);
  border: 2px solid var(--faq-amber);
  border-radius: 5px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background .25s ease,
              border-color .25s ease,
              color .25s ease,
              transform .25s ease;
}

.faq-page .faq-contact .btn-faq:hover {
  color: #fff;
  background: var(--faq-blue);
  border-color: var(--faq-blue);
  transform: translateY(-2px);
}

/* Responsive */

@media (max-width: 767.98px) {

  .faq-page {
    padding: 45px 0 55px;
  }

  .faq-page .faq-header {
    margin-bottom: 28px;
  }

  .faq-page .faq-header h1 {
    margin-bottom: 17px;
    font-size: 30px;
  }

  .faq-page .faq-header p {
    font-size: 15px;
    line-height: 1.7;
  }

  .faq-page .faq-accordion .card {
    margin-bottom: 11px;
    border-radius: 6px;
  }

  .faq-page .faq-accordion .faq-question {
    gap: 12px;
    padding: 17px 15px;
    font-size: 14px;
  }

  .faq-page .faq-question .faq-icon {
    flex-basis: 27px;
    width: 27px;
    height: 27px;
  }

  .faq-page .faq-accordion .card-body {
    padding: 18px 16px 20px;
    font-size: 14px;
    line-height: 1.75;
  }

  .faq-page .faq-contact {
    margin-top: 32px;
  }

  .faq-page .faq-contact p {
    font-size: 16px;
  }

  .faq-page .faq-contact .btn-faq {
    width: 100%;
    max-width: 280px;
  }
}
