/* =========================
       VARIABLES
    ========================= */
:root {
  --muted: #9AA3B8;
  --normal-link: #4F4F4F;
  --azul-securite: #003DC4;

  --header-height: 80px;
  --border-light: #e5e7eb;
  --text-dark: #111827;
  --text-muted: #9ca3af;
  --link-color: #2563eb;
  --gris-input: #f3f4f6;



  --gap: 20px;
  --radius: 22px;
  --shadow: 0 18px 40px rgba(2, 6, 23, .18);



  /* Proyectos */
  --projects-card-radius: 16px;
  --projects-shadow: 0 16px 40px rgba(15, 23, 42, .10);
  --projects-primary: #0b3cc1;
  --projects-pill: #0b1220;
  --projects-muted: #6b7280;
  --azul_proyectos: #00123A;
  --azul-button-color: #003DC4;
}

/* =========================
      WRAPPER
    ========================= */
.page-wrapper {
  padding-top: var(--header-height);
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  padding-bottom: 24px;
}


/* =========================
   BREADCRUMB 
========================= */

nav[aria-label="breadcrumb"] {
  max-width: 1400px;
  /* margin: 0 auto; */
  box-sizing: border-box;
}

nav[aria-label="breadcrumb"] .breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  /* padding: 0;
  margin: 0; */
  font-size: 14px;
}

/* Separador */
nav[aria-label="breadcrumb"] .breadcrumb-item+.breadcrumb-item::before {
  content: "›";
  margin: 0 8px;
  color: var(--normal-link);
}

/* Link normal */
nav[aria-label="breadcrumb"] .breadcrumb-item a {
  color: var(--normal-link);
  text-decoration: none;
  transition: color .3s ease;
}

/* Hover */
nav[aria-label="breadcrumb"] .breadcrumb-item a:hover {
  color: var(--azul-securite);
}

/* Activo */
nav[aria-label="breadcrumb"] .breadcrumb-item.active {
  color: var(--azul-securite);
  font-weight: 600;
}

/* MÓVIL */
@media (max-width: 768px) {
  nav[aria-label="breadcrumb"] .breadcrumb {
    font-size: 13px;
  }
}




/*====================PAGE LOGIN================*/
.sec-login-wrapper {
  font-family: 'Montserrat', sans-serif;
  min-height: 100vh;
}

.sec-login-container {
  max-width: 1600px;
  margin: 0 auto;
  min-height: 100vh;
}

/* ================= LEFT PANEL ================= */

.sec-login-panel {
  padding: 60px 80px;
  display: flex;
  align-items: center;
}

.sec-login-form {
  width: 100%;
  max-width: 420px;
}

.sec-login-logo-area {
  margin-bottom: 25px;
}

.sec-login-title {
  font-weight: 700;
  font-size: 28px;
  text-align: center;
  color: #1f2937;
  margin-bottom: 10px;
}

.sec-login-subtitle {
  text-align: center;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 30px;
}

.sec-login-label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
  display: block;
}

.sec-login-input {
  background: #e5e7eb;
  border: none;
  border-radius: 10px;
  padding: 14px;
  font-size: 14px;
  width: 100%;
}

.sec-login-input:focus {
  outline: none;
  background: #fff;
  border: 1px solid var(--azul-securite);
}

.sec-login-password-group {
  display: flex;
  align-items: center;
  background: #e5e7eb;
  border-radius: 10px;
}

.sec-login-password-group input {
  border: none;
  background: transparent;
  padding: 14px;
  flex: 1;
}

.sec-login-password-group input:focus {
  outline: none;
}

.sec-login-eye {
  padding: 0 15px;
  color: var(--azul-securite);
  ;
  cursor: pointer;
  user-select: none;
}

.sec-login-forgot {
  display: block;
  text-align: right;
  font-size: 13px;
  color: var(--azul-securite);
  text-decoration: none;
  margin-top: 8px;
  margin-bottom: 25px;
}

/* ================= BUTTON ================= */

.sec-login-button {
  width: 100%;
  border-radius: 50px;
  padding: 14px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  background: #d1d5db;
  color: #9ca3af;
  transition: 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.sec-login-button.sec-login-enabled {
  background: var(--azul-securite);
  color: #fff;
  cursor: pointer;
}

.sec-login-button.sec-login-loading {
  pointer-events: none;
}

.sec-login-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top: 2px solid #fff;
  border-radius: 50%;
  animation: secLoginSpin 0.8s linear infinite;
  display: none;
}

@keyframes secLoginSpin {
  to {
    transform: rotate(360deg);
  }
}

.sec-login-register {
  text-align: center;
  font-size: 14px;
  margin-top: 25px;
}

.sec-login-register a {
  font-weight: 600;
  text-decoration: none;
  color: var(--azul-securite);
}

/* ================= HERO ================= */

.sec-login-hero {
  background: url("/images/Banner_login.png") center center / cover no-repeat;
  position: relative;
  color: #fff;
  padding: 80px;
  display: flex;
  align-items: flex-start;
  min-height: 100vh;
}

.sec-login-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(10, 44, 60, 0.35),
      rgba(10, 44, 60, 0.1));
}

.sec-login-hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.sec-login-hero-content h2 {
  font-weight: 700;
  font-size: 32px;
  line-height: 1.3;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 991px) {

  .sec-login-hero {
    display: none;
  }

  .sec-login-panel {
    padding: 40px 25px;
    align-items: flex-start;
  }

  .sec-login-title {
    font-size: 26px;
  }
}


/* ============= PAGE SIGN IN ========= */
/* ========================================*/
.sec-page-wrapper {
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
}

.sec-panel-left {
  padding: 40px 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.breadcrumb {
  font-size: 0.85rem;
}

.breadcrumb-item a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb-item.active {
  color: var(--azul-securite);
  font-weight: 600;
}

.sec-title {
  font-weight: 800;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.4rem;
}

.sec-input {
  background-color: var(--gris-input);
  border: none;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.9rem;
  color: #1f2937;
}

.sec-input::placeholder {
  color: #9ca3af;
}

.password-wrapper {
  position: relative;
  width: 100%;
}

.password-wrapper .sec-input {
  width: 100%;
  padding-right: 45px;
}

.sec-signin-eye {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-check-label {
  font-size: 0.85rem;
  color: var(--texto-suave);
}

.form-check-label a {
  color: var(--azul-securite);
  text-decoration: underline;
}

/* ================= BUTTON ================= */

.sec-sigin-button {
  width: 100%;
  border-radius: 50px;
  padding: 14px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  background: #d1d5db;
  color: #9ca3af;
  transition: 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.sec-sigin-button.sec-sigin-enabled {
  background: var(--azul-securite);
  color: #fff;
  cursor: pointer;
}

.sec-sigin-button.sec-sigin-loading {
  pointer-events: none;
}

.sec-sigin-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top: 2px solid #fff;
  border-radius: 50%;
  animation: secsiginSpin 0.8s linear infinite;
  display: none;
}

@keyframes secsiginSpin {
  to {
    transform: rotate(360deg);
  }
}

.sec-sigin-register {
  text-align: center;
  font-size: 14px;
  margin-top: 25px;
}

.sec-sigin-register a {
  font-weight: 600;
  text-decoration: none;
  color: var(--azul-securite);
}


.sigin-link {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.sigin-link a {
  color: var(--azul-securite);
  font-weight: 700;
  text-decoration: none;
}

/* ================= DERECHA: HERO ================= */
.sec-hero-right {
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url('/images/segundo fondo.png');
  background-size: cover;
  background-position: center;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
}

.hero-title {
  font-weight: 700;
  font-size: 2.5rem;
  max-width: 500px;
  line-height: 1.2;
}

.feature-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  height: 100%;
  color: #333;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-card img {
  width: 50px;
  margin-bottom: 15px;
}

.feature-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
}

.feature-card p {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .sec-hero-right {
    display: none;
  }
}

/* Loader mini */
.sec-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, .45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}



/* ========================================*/
/* ============= PAGE DETALLE PROYECTO ========= */
/* ========================================*/



/* =======================
  PROJECT BREADCRUMB
======================= */
.project-detail-breadcrumb {
  font-size: .85rem;
  margin-bottom: 18px;
}

.project-detail-breadcrumb a {
  color: var(--pd-primary);
  text-decoration: none;
}


/* Gallery */
.project-detail-gallery-main img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
}

.project-detail-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.project-detail-gallery-thumbs img {
  width: 100%;
  height: 90px;
  border-radius: 12px;
  object-fit: cover;
}

/* Info */
.project-detail-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 4px;
}

.project-detail-location {
  color: var(--pd-muted);
  font-size: .9rem;
  margin-bottom: 14px;
}

.project-detail-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.project-detail-metric {
  background: #fff;
  border: 1px solid var(--pd-border);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  font-size: .8rem;
}

.project-detail-metric strong {
  display: block;
  font-size: .95rem;
}

.project-detail-box {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--pd-border);
  padding: 18px;
}

.project-detail-progress {
  height: 8px;
  background: #e5edff;
  border-radius: 999px;
  overflow: hidden;
}

.project-detail-progress span {
  display: block;
  height: 100%;
  width: 45%;
  background: linear-gradient(90deg, #0b3cc1, #0d6efd);
}

/* .project-detail-cta {
  display: flex;
  gap: 12px;
  margin-top: 16px;
} */

.project-detail-btn {
  flex: 1;
  border-radius: 999px;
  font-weight: 700;
}

/* =======================
  CALCULATOR
======================= */
.project-detail-calculator {
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--pd-border);
  padding: 24px;
  margin: 40px 0;
}

.project-detail-calc-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 20px;
}

@media(max-width:992px) {
  .project-detail-calc-grid {
    grid-template-columns: 1fr;
  }
}

/* =======================
  INFO BLOCKS
======================= */
.project-detail-section {
  margin-top: 48px;
}

.project-detail-section h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 20px;
}

.project-detail-card {
  background: #fff;
  border: 1px solid var(--pd-border);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 16px;
}

/* =======================
  MORE PROJECTS
======================= */
.project-detail-more {
  margin-top: 60px;
}

.product_detail {
  margin-top: 0;
  background: #ffffff;
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.pdetail-info {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 32px;
  margin: 24px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.pdetail-info__container {
  margin: 0 auto;
}

.pdetail-info__title {
  text-align: center;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0 0 28px;
  font-size: 1.4rem;
  color: #0f172a;
}

/* Left nav (desktop) */
.pdetail-info__nav {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
}

.pdetail-info__navbtn {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 12px 12px;
  border-radius: 10px;
  font-weight: 700;
  font-size: .86rem;
  color: #64748b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background .15s ease, color .15s ease;
}

.pdetail-info__navbtn:hover {
  background: #f3f6ff;
  color: #0f172a;
}

.pdetail-info__navbtn.is-active {
  background: #98b4ff;
  color: var(--azul-securite);
}

.pdetail-info__chev {
  opacity: .8;
}

/* Sticky nav on desktop */
.pdetail-nav-sticky {
  position: sticky;
  top: 20px;
}

/* Panels */
.pdetail-info__panel {
  display: none;
  animation: pdetail-fade .2s ease;
}

.pdetail-info__panel.is-active {
  display: block;
}

@keyframes pdetail-fade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Empty state */
.pdetail-cta-bar {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 24px 0 8px;
}

/* ==============================
   GALLERY MODAL
============================== */
.gallery-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}

.gallery-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.gallery-modal {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 90vw;
  max-height: 85vh;
}

.gallery-modal-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-modal-img-wrap img {
  max-width: 80vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  display: block;
}

.gallery-modal-close {
  position: fixed;
  top: 20px;
  right: 24px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 1.8rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background .2s;
  z-index: 10000;
}

.gallery-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.gallery-modal-nav {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 2.5rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s;
  line-height: 1;
}

.gallery-modal-nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.gallery-modal-counter {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.75);
  font-size: .88rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 16px;
  border-radius: 20px;
}

.pdetail-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 40px 20px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px dashed #cbd5e1;
  color: #94a3b8;
  font-size: .9rem;
  text-align: center;
}

.pdetail-empty-icon {
  font-size: 2rem;
  opacity: .5;
}

/* Section image gallery */
.pdetail-section-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
  max-width: 520px;
}

.pdetail-section-img-wrap {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

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

@media (max-width: 600px) {
  .pdetail-section-gallery {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}

.pdetail-info__h3 {
  font-weight: 800;
  margin: 0 0 14px;
  font-size: 1.05rem;
  color: #0f172a;
}

.pdetail-info__p {
  color: #6b7280;
  font-size: .9rem;
  margin-bottom: 14px;
}

.pdetail-info__divider {
  height: 1px;
  background: #eef2f7;
  margin: 28px 0;
}


.pdetail-info__card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 18px;
  height: 100%;
  display: flex;
  flex-direction: column;
}


.pdetail-info__cardhead {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.pdetail-info__cardhead strong {
  font-size: .9rem;
  color: #0f172a;
}

.pdetail-info__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #f3f6ff;
  border: 1px solid rgba(11, 60, 193, .12);
  color: var(--azul-securite);
  ;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.pdetail-info__icon img {
    margin: 0 !important;
}

.pdetail-info__list {
  margin: 0;
  padding-left: 18px;
  color: #6b7280;
  font-size: .84rem;
  line-height: 1.45;
}

/* Bullets */
.pdetail-info__bullets {
  margin: 0 0 18px;
  padding-left: 18px;
  color: #6b7280;
  font-size: .88rem;
}

.pdetail-info__media {
  margin-top: 10px;
}

.pdetail-info__img {
  width: 100%;
  height: 170px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid #e5e7eb;
}

/* Pills in modelo */
.pdetail-info__pill {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px 14px;
  color: #6b7280;
  font-size: .88rem;
  margin-bottom: 10px;
}

/* Risks */
.pdetail-info__risks {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  color: #6b7280;
  font-size: .88rem;
}

.pdetail-info__risks li {
  display: flex;
  gap: 10px;
  padding: 6px 0;
  align-items: flex-start;
}

.pdetail-info__riskico {
  width: 22px;
  display: inline-flex;
  justify-content: center;
  margin-top: 1px;
}

.pdetail-info__risks strong {
  color: #0f172a;
}

/* CTA */
.pdetail-info__cta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* =============================
   BOTONES BLOQUE INFO ADICIONAL
============================= */

.pdetail-info__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 16px 38px;
  border-radius: 999px;

  font-size: 15px;
  font-weight: 700;
  letter-spacing: .2px;

  cursor: pointer;
  transition: all .25s ease;
  border: 2px solid transparent;
}

/* Botón azul */
.pdetail-info__btn--primary {
  background: #1d4ed8;
  color: #fff;
}

.pdetail-info__btn--primary:hover {
  background: var(--azul-securite);
  transform: translateY(-2px);
}

/* Botón outline */
.pdetail-info__btn--outline {
  background: #fff;
  color: var(--azul-securite);
  border: 2px solid var(--azul-securite);
}

.pdetail-info__btn--outline:hover {
  background: #f1f5ff;
  transform: translateY(-2px);
}

/* Icono */
.pdetail-info__btn img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}


/* =====================
  Responsive nav (mobile)
  -> barra horizontal sticky
===================== */
@media (max-width: 991px) {
  .pdetail-nav-sticky {
    position: static;
  }

  .pdetail-info__nav {
    padding: 8px;
    overflow-x: auto;
    white-space: nowrap;
    display: flex;
    gap: 6px;
  }

  .pdetail-info__navbtn {
    display: inline-flex;
    width: auto;
    flex: 0 0 auto;
    padding: 10px 12px;
    font-size: .84rem;
  }

  .pdetail-info__chev {
    display: none;
  }
}




.moreproj {
  padding: 48px 0;
  background: #ffffff;
}

.moreproj__container {
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.moreproj__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.moreproj__title {
  font-size: 22px;
  font-weight: 800;
}

.moreproj__controls {
  display: flex;
  gap: 10px;
}

.moreproj__arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--azul-securite);
  background: #fff;
  color: var(--azul-securite);
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
}

/* Slider */
.moreproj__viewport {
  overflow: hidden;
}

.moreproj__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}

.moreproj__track::-webkit-scrollbar {
  display: none;
}

/* Card */
.moreproj__card {
  min-width: 280px;
  max-width: 280px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  scroll-snap-align: start;
}

.moreproj__imgwrap {
  position: relative;
  height: 160px;
}

.moreproj__imgwrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.moreproj__badge,
.moreproj__cat {
  position: absolute;
  top: 10px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
}

.moreproj__badge {
  left: 10px;
  background: #e0ecff;
}

.moreproj__cat {
  right: 10px;
  background: #0f172a;
  color: #fff;
}

.moreproj__body {
  padding: 14px;
}

.moreproj__name {
  font-size: 16px;
  font-weight: 800;
  margin: 0;
}

.moreproj__loc {
  font-size: 12px;
  color: #64748b;
}

.moreproj__desc {
  font-size: 12px;
  color: #64748b;
  margin: 8px 0;
}

/* Progress */
.moreproj__progress {
  height: 6px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
}

.moreproj__bar {
  height: 100%;
  background: var(--azul-securite);
}

.moreproj__meta,
.moreproj__stats {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin-top: 8px;
}

.moreproj__btn {
  width: 100%;
  margin-top: 12px;
  background: #0b3cc1;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px;
  font-weight: 700;
}

/* Footer */
.moreproj__footer {
  text-align: center;
  margin-top: 14px;
}

.moreproj__link {
  color: #2563eb;
  font-weight: 700;
  font-size: 14px;
}

/* =========================
   LAYOUT GENERAL DEL CONTENEDOR DE INFORMACIÓN
========================= */
.contenedoGeneral {
  width: 100%;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.contenedorIzquierdo,
.contenedorDerecho {
  min-width: 0;
}


.contenedorIzquierdo {
  flex: 0 0 320px;
  max-width: 320px;
}

.contenedorDerecho {
  flex: 1 1 auto;
}

@media (max-width: 991px) {
  .contenedoGeneral {
    flex-direction: column;
    gap: 14px;
  }

  .contenedorIzquierdo,
  .contenedorDerecho {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .pdetail-info__nav {
    position: sticky;
    top: 72px;
    z-index: 50;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .pdetail-info__navbtn {
    width: auto;
    flex: 0 0 auto;
  }

  .pdetail-info__chev {
    display: none;
  }
}

.pdetail-info,
.pdetail-info__container {
  overflow-x: clip;
}



.project-detail-hero {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
  margin-top: 0;
}

.project-detail-gallery-col,
.project-detail-info-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* =====================
   GALLERY
===================== */

.project-detail-gallery-main {
  border-radius: 20px;
  overflow: hidden;
}

.project-detail-gallery-main img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: opacity .25s ease;
}

.project-gallery-placeholder {
  width: 100%;
  height: 420px;
  background: #f1f5f9;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #9ca3af;
  font-size: .9rem;
}

.project-detail-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 16px;
}

.project-thumb {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  height: 125px;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-thumb-more-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  border-radius: 18px;
  pointer-events: none;
}

.pdetail-info__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

@media (max-width: 768px) {
  .pdetail-info__cards {
    grid-template-columns: 1fr;
  }
}

.container_product_title {
  display: flex;
}

.product_title_1 {
  width: 50%;
}

.product_title_2 {
  width: 50%;
}


/* =============================
   HEADER
============================= */

.product-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.project-detail-title {
  font-size: 36px;
  font-weight: 800;
  margin: 0 0 6px;
  color: #0b1e3d;
  line-height: 1.1;
}

.project-detail-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .9rem;
  color: #64748b;
  margin: 0;
}

/* =============================
   MÉTRICAS
============================= */

/* Header: title+location | metrics */
.project-card-header {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e8ecf0;
}

.project-card-header-left {
  flex: 0 0 auto;
  min-width: 200px;
}

.project-detail-metrics {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  flex-wrap: wrap;
}

.metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: 0 24px;
  border-left: 1px solid #e2e8f0;
}

.metric:first-child {
  border-left: none;
  padding-left: 0;
}

.metric strong {
  font-size: 20px;
  font-weight: 800;
  color: #0b1e3d;
}

.metric span,
.metric .metric-label {
  font-size: .82rem;
  color: #64748b;
}

/* =============================
   RIESGO
============================= */

.project-risk {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 24px;
  border-left: 1px solid #e2e8f0;
}

.project-risk-scale {
  display: flex;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  overflow: hidden;
}

.project-risk-scale span {
  padding: 6px 10px;
  font-size: .75rem;
  background: #f3f4f6;
  color: #94a3b8;
}

.project-risk-scale .active {
  background: #22c55e;
  color: #fff;
  font-weight: 700;
}

.project-risk-label {
  font-size: .8rem;
  color: #64748b;
}

/* =============================
   HERO
============================= */
.project-detail-gallery-main img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 20px;
}

.project-detail-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.project-thumb {
  height: 150px;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =============================
   INFO
============================= */

.project-detail-question {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 12px;
  color: #0b1e3d;
  line-height: 1.2;
}

.project-detail-description {
  color: #64748b;
  line-height: 1.7;
  font-size: .95rem;
  margin-bottom: 16px;
  max-height: 180px;
  overflow-y: auto;
  padding-right: 4px;
}

/* =============================
   PROGRESS
============================= */

.project-progress-top {
  display: flex;
  justify-content: space-between;
  font-size: .85rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}

.project-progress-bar {
  position: relative;
  height: 44px;
  border-radius: 999px;
  background: #e4e7ed;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 18px;
}

.project-progress-filled {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: #0f1d3b;
  border-radius: 999px;
  min-width: 128px;
  transition: width .5s ease;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 18px;
  overflow: hidden;
}

.project-progress-amount {
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  white-space: nowrap;
}

.project-progress-total {
  position: relative;
  z-index: 1;
  color: #6b7280;
  font-weight: 700;
  font-size: .95rem;
}

.project-progress-raised {
  margin: 6px 0 0;
  font-size: .85rem;
  font-weight: 700;
  color: #1e293b;
}

.project-progress-investors {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 8px;
  font-size: .85rem;
  color: #6b7280;
}

.project-progress-first-cta {
  margin: 8px 0 0;
  font-size: .85rem;
  font-weight: 600;
  color: #1d4ed8;
  text-align: right;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
}

.dot.blue {
  background: #1d4ed8;
}

.dot.orange {
  background: #f59e0b;
}

/* =============================
   BOTONES
============================= */

.project-detail-cta {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.btn-primary-project,
.btn-outline-project {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
  text-decoration: none;
  box-sizing: border-box;
}

.btn-primary-project {
  background: #1d4ed8;
  color: #fff !important;
  border: 2px solid #1d4ed8;
}

.btn-outline-project {
  background: #fff;
  color: #1d4ed8;
  border: 2px solid #1d4ed8;
}

.btn-outline-project img,
.btn-primary-project img {
  width: 14px;
  height: 14px;
  display: block;
  flex-shrink: 0;
}


/* =========================
   SHARE
========================= */

.project-share {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  font-size: .9rem;
  color: #64748b;
}

.project-share-icons {
  display: flex;
  gap: 10px;
}

.project-share-icons a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eef2ff;
  color: #0b3cc1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  text-decoration: none;
}

.metric-info-icon {
  width: 12px;
  height: 12px;
  object-fit: contain;
  vertical-align: middle;
  margin-top: -2%;
}

.metric-info-icon2 {
  width: 12px;
  height: 12px;
  object-fit: contain;
  vertical-align: middle;
}


/* =============================
   RESPONSIVE
============================= */

@media(max-width:992px) {
  .project-detail-hero {
    grid-template-columns: 1fr;
  }

  .project-risk {
    align-items: flex-start;
  }
}

@media(max-width:600px) {
  .project-detail-gallery-main img {
    height: 280px;
  }

  .project-detail-title {
    font-size: 32px;
  }

  .project-detail-metrics {
    gap: 24px;
  }
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:768px) {

  .project-share {
    justify-content: flex-start;
  }

  .btn-primary-project {
    width: 100%;
  }

  .btn-outline-project {
    width: 100%;
  }
}




/* =========================
   TOOLTIP MÉTRICAS
========================= */

.metric-tooltip-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.metric-info-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.metric-tooltip {
  position: absolute;
  top: 130%;
  left: 0;
  width: 260px;
  max-width: 90vw;
  background: #0b1e3d;
  color: #fff;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: .85rem;
  line-height: 1.5;
  box-shadow: 0 15px 35px rgba(0, 0, 0, .25);
  display: none;
  z-index: 100;
}

/* Flecha */
.metric-tooltip::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 20px;
  width: 14px;
  height: 14px;
  background: #0b1e3d;
  transform: rotate(45deg);
}

/* Desktop hover */
@media (hover: hover) {
  .metric-tooltip-wrapper:hover .metric-tooltip {
    display: block;
  }
}

@media (max-width: 768px) {
  .metric-tooltip {
    width: calc(100vw - 40px);
    left: 0;
    right: auto;
    font-size: .9rem;
    border-radius: 18px;
  }

  .metric-tooltip::before {
    left: 20px;
  }

  .project-detail-metrics {
    gap: 20px;
  }
}


/* ======= Tooltip alineado( Riesgo) ======= */
.tooltip-right .metric-tooltip {
  left: auto;
  right: 0;
}

.tooltip-right .metric-tooltip::before {
  left: auto;
  right: 20px;
}



/* =========================
   FIX (MOBILE) TOOLTIP
========================= */
@media (max-width: 768px) {
  .tooltip-right .metric-tooltip {
    position: fixed;
    left: 16px;
    right: 16px;
    width: auto;
    max-width: none;
    top: 280px;
    bottom: auto;
    z-index: 9999;
  }


  .tooltip-right .metric-tooltip::before {
    left: 50%;
    right: auto;
    transform: translateX(-50%) rotate(45deg);
    top: -8px;
  }
}

/* =============================
   SECCION CALCULADORA 
============================= */

.pd-calc-section {
  background: #ffffff;
  padding: 50px 32px;
  border-radius: 16px;
  margin: 24px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.pd-calc-container {
  max-width: 1200px;
  margin: auto;
}

/* =============================
   ODS IMAGES
============================= */
.ods .image-201 {
  width: 120px !important;
  height: 120px !important;
  border-radius: 8px;
  flex-shrink: 0;
}

/* =============================
   HERO BANNER — centrado
============================= */
.framebanner {
  justify-content: center !important;
  align-items: center !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}

.titulo_main {
  align-items: center !important;
  text-align: center !important;
}

.text-content-title {
  align-items: center !important;
  text-align: center !important;
}

.button-group {
  justify-content: center !important;
  flex-wrap: wrap;
}

.button-style,
.buttonproyectos_main {
  width: auto !important;
  min-width: 220px;
  padding: 14px 36px !important;
}

/* =============================
   HOME CARDS — estructura homogénea
============================= */

/* Grid: misma altura en cada celda */
.quick-stack-19 {
  align-items: stretch !important;
}

.quick-stack-19 > .w-layout-cell.cell-8 {
  display: flex !important;
  flex-direction: column !important;
}

/* Card ocupa toda la celda */
.card-projecto {
  height: 100% !important;
  justify-content: flex-start !important;
}

/* Imagen: altura fija + recorte uniforme */
.card-projecto .rectangle-23808 {
  height: 180px !important;
  min-height: 180px !important;
  max-height: 180px !important;
  overflow: hidden !important;
  width: 100% !important;
}

.card-projecto .rectangle-23808 img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* Placeholder cuando no hay imagen */
.card-projecto .card-img-no-image {
  width: 100% !important;
  height: 100% !important;
  background: #f1f5f9 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Body ocupa el espacio restante */
.card-projecto .frame-1000007915 {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Título: máx 2 líneas */
.card-projecto .textiles-pachamama {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* Descripción: máx 2 líneas */
.card-projecto .text-669 {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* =============================
   HOME PROJECT CARDS (hpc-*)
============================= */
.hpc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 320px));
  gap: 24px;
  justify-content: center;
  width: 100%;
}

.hpc-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Badges */
.hpc-badges {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px 8px;
}

.hpc-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: .70rem;
  font-weight: 700;
  line-height: 1;
}

.hpc-badge img { display: block; flex-shrink: 0; }
.hpc-badge--rec    { background: #C7D8FF; color: #00123a; }
.hpc-badge--marcha { background: #D1FAE5; color: #065F46; }
.hpc-badge--fin    { background: #F3F4F6; color: #374151; }
.hpc-badge--cat    { background: #00123a; color: #fff;    }

/* Imagen */
.hpc-img {
  width: 100%;
  height: 145px;
  overflow: hidden;
  background: #f1f5f9;
  flex-shrink: 0;
}

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

.hpc-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Body */
.hpc-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hpc-info { margin-bottom: 14px; }

.hpc-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0b1e3d;
  margin: 0 0 5px;
  letter-spacing: -.01em;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hpc-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .78rem;
  color: #6b7280;
  margin-bottom: 6px;
}

.hpc-location img { display: block; flex-shrink: 0; }

.hpc-desc {
  font-size: .78rem;
  color: #6b7280;
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Bottom section: siempre al fondo */
.hpc-bottom { margin-top: auto; }

.hpc-progress-row {
  display: flex;
  justify-content: space-between;
  font-size: .72rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}

.hpc-bar {
  display: flex;
  height: 22px;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 6px;
  font-size: .65rem;
  font-weight: 700;
}

.hpc-seg {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  white-space: nowrap;
  overflow: hidden;
  min-width: 72px;
  flex-shrink: 0;
}

.hpc-seg--inst { background: #0b3cc1; color: #fff; }
.hpc-seg--nat  { background: #f59e0b; color: #fff; }
.hpc-seg--rest { background: #d1d5db; color: #334155; }

.hpc-legend {
  display: flex;
  gap: 12px;
  font-size: .70rem;
  color: #64748b;
  margin-bottom: 12px;
}

.hpc-legend span { display: flex; align-items: center; gap: 5px; }

.hpc-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  display: inline-block;
  flex-shrink: 0;
}

.hpc-dot--inst { background: #0b3cc1; }
.hpc-dot--nat  { background: #f59e0b; }

/* Métricas */
.hpc-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
}

.hpc-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 6px;
  border-left: 1px solid #e5e7eb;
  gap: 3px;
}

.hpc-metric:first-child { border-left: none; }
.hpc-metric strong { font-size: .88rem; font-weight: 800; color: #0f172a; }
.hpc-metric > span { font-size: .65rem; color: #64748b; font-weight: 600; }

.hpc-risk {
  display: flex;
  gap: 1px;
  margin-bottom: 2px;
}

.hpc-risk span {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  font-size: .6rem;
  font-weight: 800;
  border: 1px solid rgba(148,163,184,.5);
  color: #94a3b8;
  background: #f8fafc;
}

.hpc-risk span:nth-child(1).active { background:#16a34a; color:#fff; border-color:#16a34a; }
.hpc-risk span:nth-child(2).active { background:#22c55e; color:#fff; border-color:#22c55e; }
.hpc-risk span:nth-child(3).active { background:#f59e0b; color:#fff; border-color:#f59e0b; }
.hpc-risk span:nth-child(4).active { background:#f97316; color:#fff; border-color:#f97316; }
.hpc-risk span:nth-child(5).active { background:#ef4444; color:#fff; border-color:#ef4444; }

/* Botón */
.hpc-btn {
  display: block;
  width: 100%;
  background: #003DC4;
  color: #fff !important;
  text-align: center;
  padding: 11px;
  border-radius: 999px;
  text-decoration: none !important;
  font-weight: 800;
  font-size: .9rem;
  box-sizing: border-box;
}

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

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

/* Sección de métricas y botón siempre al fondo */
.card-projecto .values-2 {
  margin-top: auto !important;
}

/* Botón full-width */
.card-projecto .button-style-14 {
  width: 100% !important;
  margin-top: 14px !important;
}

.pd-calc-title {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 40px;
  color: #0b1e3d;
}

.pd-calc-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr auto 1fr auto 1fr;
  gap: 20px;
  align-items: center;
}

.pd-calc-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .04);
  border: 1px solid #e5e7eb;
}

.pd-calc-label {
  display: block;
  font-size: .85rem;
  color: #64748b;
  margin-bottom: 6px;
}

.pd-calc-value {
  font-size: 22px;
  font-weight: 800;
}

.pd-calc-value.green {
  color: #1e8e3e;
}

.pd-calc-value.blue {
  color: #1d4ed8;
}

.pd-calc-symbol {
  font-size: 28px;
  font-weight: 700;
  color: #64748b;
}

/* SLIDER */
.pd-calc-slider input[type="range"] {
  width: 100%;
  margin-top: 16px;
}

.pd-calc-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pd-calc-slider-minmax {
  display: flex;
  justify-content: space-between;
  font-size: .75rem;
  color: #94a3b8;
  margin-top: 8px;
}

.pd-calc-interest {
  background: #eaf7ee;
}

.pd-calc-note {
  text-align: center;
  font-size: .82rem;
  color: #64748b;
  background: #eff6ff;
  border-radius: 8px;
  padding: 8px 20px;
  margin: -20px auto 28px;
  white-space: nowrap;
  width: fit-content;
}

.pd-calc-disclaimer {
  text-align: center;
  margin-top: 30px;
  font-size: .75rem;
  color: #94a3b8;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .pd-calc-grid {
    grid-template-columns: 1fr;
  }

  .pd-calc-symbol {
    display: none;
  }
}

@media (max-width: 991px) {
  .contenedoGeneral {
    width: 100%;
  }

  .contenedorIzquierdo,
  .contenedorDerecho {
    width: 100%;
    max-width: 100%;
    flex: unset;
  }

  .pdetail-info__cards {
    width: 100%;
  }

}

/* ---------------------------------------- */

/* PAGE DETALLE NOTICIA */
/* --------------------------------- */
 
    .ntc-wrapper {
      max-width: 1400px;
      margin: 0 auto;
      padding: 30px 0px 80px;
    }

    .ntc-main {
      display: grid;
      grid-template-columns: 2.2fr 1fr;
      gap: 50px;
    }

    /* ================= ARTICLE ================= */
    .ntc-title {
      font-size: 28px;
      font-weight: 800;
      margin-bottom: 14px;
    }

    .ntc-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      font-size: 14px;
      color: #64748b;
      margin-bottom: 20px;
    }

    .ntc-share {
      display: flex;
      gap: 12px;
      font-weight: 600;
    }

    .ntc-share a {
      text-decoration: none;
      color: #2563eb;
    }

    /* HERO IMAGE */

    .ntc-hero-wrapper {
      position: relative;
      margin: 30px 0;
      border-radius: 20px;
      overflow: hidden;
    }

    .ntc-hero-wrapper img {
      width: 100%;
      display: block;
    }

    .ntc-badge {
      position: absolute;
      top: 20px;
      left: 20px;
      background: #dbeafe;
      color: #1e3a8a;
      padding: 6px 16px;
      border-radius: 999px;
      font-size: 13px;
      font-weight: 600;
    }

    /* TEXT */

    .ntc-article p {
      margin-bottom: 18px !important;
      line-height: 1.7 !important;
      color: #475569 !important;
      font-size: 14px!important;
    }

    /* ================= SIDEBAR ================= */

    .ntc-aside {
      position: sticky;
      top: 100px;
      height: fit-content;
    }

    .ntc-sidebar {
      background: #fff;
      border-radius: 20px;
      padding: 28px;
      box-shadow: 0 15px 40px rgba(0, 0, 0, .05);
    }

    .ntc-sidebar h3 {
      font-size: 18px;
      margin-bottom: 25px;
    }

    .ntc-side-item {
      display: flex;
      gap: 16px;
      margin-bottom: 28px;
    }

    /* IMAGE WRAPPER PARA BADGE */
    .ntc-side-image-wrapper {
      position: relative;
      width: 110px;
      height: 95px;
      flex-shrink: 0;
    }

    .ntc-side-image-wrapper img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 14px;
    }

    .ntc-side-badge {
      position: absolute;
      top: 8px;
      left: 8px;
      background: #fde68a;
      color: #92400e;
      padding: 4px 10px;
      border-radius: 999px;
      font-size: 11px;
      font-weight: 600;
    }

    .ntc-side-text span {
      font-size: 13px;
      color: #64748b;
    }

    .ntc-side-text h4 {
      font-size: 15px;
      margin: 6px 0;
      font-weight: 700;
    }

    .ntc-side-text a {
      font-size: 14px;
      color: #2563eb;
      text-decoration: none;
      font-weight: 600;
    }

    .ntc-view-all {
      display: block;
      text-align: center;
      margin-top: 20px;
      font-weight: 700;
      color: #2563eb;
      text-decoration: none;
    }

    /* ================= AUTHOR ================= */

    .ntc-author {
      grid-column: 1 / -1;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      margin-top: 60px;
      padding-top: 30px;
      border-top: 1px solid #e2e8f0;
    }

    .ntc-author-info {
      display: flex;
      align-items: center;
      gap: 18px;
    }

    .ntc-author img {
      width: 65px;
      height: 65px;
      border-radius: 50%;
      object-fit: cover;
    }

    .ntc-author-info span {
      font-size: 13px;
      color: #64748b;
    }

    .ntc-author a {
      border: 2px solid #2563eb;
      padding: 10px 18px;
      border-radius: 999px;
      font-size: 14px;
      font-weight: 600;
      text-decoration: none;
      color: #2563eb;
      transition: .2s;
    }

    .ntc-author a:hover {
      background: #2563eb;
      color: #fff;
    }

    /* ================= RESPONSIVE ================= */

    @media(max-width:1024px) {
      .ntc-main {
        grid-template-columns: 1fr;
      }

      .ntc-aside {
        position: relative;
        top: auto;
      }
    }

    @media(max-width:600px) {

      .ntc-title {
        font-size: 22px;
      }

      .ntc-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
      }

      .ntc-author {
        flex-direction: column;
        align-items: flex-start;
      }

      .ntc-author a {
        width: 100%;
        text-align: center;
      }

      .ntc-side-item {
        flex-direction: column;
      }

      .ntc-side-image-wrapper {
        width: 100%;
        height: 180px;
      }
    }

  
/* evitar efecto de volt en img */

.ntc-article img {
  margin: 0 !important;
}


input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}

/* ----ERROR mensaje login-- */
.sec-login-error {
  background: #fff1f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-bottom: 15px;
}