/********** ECOnecta - Template CSS **********/
:root {
  --primary: #007A52;
  --primary-light: #1FCB8C;
  --secondary: #314355;
  --light: #F2F2F2;
  --dark: #2C3E50;
  color-scheme: light only;
}

body {
  font-family: 'Heebo', sans-serif;
  color: var(--dark);
  background-color: #FFFFFF;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

input,
textarea,
select {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

a {
  text-decoration: none;
}

#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease-out, visibility 0s linear .5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity .5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

.fw-semi-bold {
  font-weight: 600;
}

.fw-medium {
  font-weight: 500;
}

.btn-square {
  width: 40px;
  height: 40px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn.btn-primary {
  color: #FFFFFF;
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn.btn-primary:hover,
.btn.btn-primary:focus,
.btn-check:focus + .btn.btn-primary {
  color: #FFFFFF;
  background-color: var(--primary);
  border-color: var(--primary);
  filter: brightness(0.85);
}

#spinner .text-primary {
  color: var(--primary) !important;
}

.typed-cursor {
  font-size: 1.4rem;
  color: var(--light);
}

.back-to-top {
  position: fixed;
  display: none;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  font-size: 24px;
  right: 30px;
  bottom: 30px;
  background: var(--primary);
  color: #fff;
  border-radius: 4px;
  z-index: 99;
}

.back-to-top:hover {
  background: var(--dark);
  color: #fff;
}

.title {
  position: relative;
  font-size: 2.5rem;
}

.title::before {
  position: absolute;
  content: "";
  width: 10px;
  height: 10px;
  bottom: -4px;
  left: 0;
  border: 2px solid var(--primary);
  border-radius: 10px;
}

.title::after {
  position: absolute;
  content: "";
  width: 50px;
  height: 2px;
  bottom: 0;
  left: 15px;
  border-radius: 2px;
  background: var(--primary);
}

/* Navbar */
.navbar {
  background: #fff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, .08);
}

.navbar-brand {
  font-size: 1.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-brand i {
  color: var(--primary);
  font-size: 1.5rem;
  transition: transform .3s ease;
}

.navbar-brand:hover i {
  transform: rotate(-12deg) scale(1.15);
}

.navbar-brand span.eco {
  color: var(--primary);
}

.navbar .nav-link {
  color: var(--dark);
  font-weight: 500;
  margin: 0 .5rem;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--primary);
}

/* Hero */
.hero {
  background:
    linear-gradient(135deg, rgba(44, 62, 80, .93) 0%, rgba(49, 67, 85, .82) 100%),
    url('../img/bg-tower.webp') center / cover no-repeat;
  color: #fff;
  padding: 140px 0 100px;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
}

.hero .typed-text-output {
  color: var(--primary-light);
  font-weight: 600;
}

.hero p.lead {
  color: #dfe4e8;
}

/* Stat blocks */
.stat-item {
  background: var(--light);
  border-top: 3px solid var(--primary);
  padding: 25px;
  text-align: center;
  border-radius: 6px;
  height: 100%;
}

.stat-item .display-5 {
  color: var(--primary);
  font-weight: 700;
}

/* Services / case cards */
.service-item {
  padding: 30px;
  background: var(--secondary);
  border-radius: 6px;
  height: 100%;
  border-left: 3px solid transparent;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
  border-left-color: var(--primary-light);
  box-shadow: 0 12px 30px rgba(44, 62, 80, .22);
}

.service-item h5,
.service-item p {
  color: var(--light);
}

.service-item i {
  width: 65px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--light);
  color: var(--primary);
  transition: .4s;
  margin-bottom: 1.2rem;
}

.service-item:hover i {
  background: var(--primary);
  color: #fff;
}

/* Servicios en rejilla de 5: la tarjeta es mas estrecha, asi que el
   relleno, el icono y los tamanos de texto se ajustan para que no se
   rompan las palabras ni se descuadren las alturas. */
.services-grid .service-item {
  padding: 26px 20px;
}

.services-grid .service-item i {
  width: 54px;
  height: 54px;
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.services-grid .service-item h5 {
  font-size: 1.02rem;
  line-height: 1.35;
  margin-bottom: .6rem;
  hyphens: auto;
}

.services-grid .service-item p {
  font-size: .88rem;
  line-height: 1.5;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .services-grid .service-item {
    padding: 22px 16px;
  }
  .services-grid .service-item h5 {
    font-size: .95rem;
  }
  .services-grid .service-item p {
    font-size: .83rem;
  }
}

/* Process steps */
.process-step {
  text-align: center;
  padding: 20px;
}

.process-step .step-number {
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 1.3rem;
  margin: 0 auto 1rem;
}

/* Section background helpers */
.bg-light-alt {
  position: relative;
  overflow: hidden;
  background-color: var(--light);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.bg-light-alt > .container {
  position: relative;
  z-index: 1;
}

.bg-photo-network {
  background-image: linear-gradient(rgba(242, 242, 242, .55), rgba(242, 242, 242, .55)), url('../img/bg-network.webp');
}

.bg-photo-server {
  background-image: linear-gradient(rgba(242, 242, 242, .55), rgba(242, 242, 242, .55)), url('../img/bg-server.webp');
}

.bg-photo-globe {
  background-image: linear-gradient(rgba(242, 242, 242, .5), rgba(242, 242, 242, .5)), url('../img/bg-globe.webp');
}

/* Content sitting over a background photo gets its own quiet backdrop
   instead of being bolded into submission: the photo still shows around
   the edges, but the text reads against a calm surface. */
.photo-panel,
.bg-light-alt .process-step {
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(44, 62, 80, .10);
}

.photo-panel {
  padding: 2.25rem 2rem;
}

.photo-panel.panel-narrow {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.bg-light-alt .process-step {
  height: 100%;
}

.section-py {
  padding: 80px 0;
  background-color: inherit;
}

/* Copy-protection warning overlay */
.copy-warning-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 28, 36, .6);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100000;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility 0s linear .3s;
}

.copy-warning-overlay.show {
  opacity: 1;
  visibility: visible;
  transition: opacity .3s ease, visibility 0s linear 0s;
}

.copy-warning-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
  color: #fff;
  padding: 3rem 3.5rem;
  border-radius: 18px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, .45);
  text-align: center;
  max-width: 640px;
  transform: scale(.85);
  transition: transform .3s ease;
}

.copy-warning-overlay.show .copy-warning-card {
  transform: scale(1);
}

.copy-warning-card i {
  font-size: 3.2rem;
  color: var(--primary-light);
  margin-bottom: 1.25rem;
}

.copy-warning-card p {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: .3px;
  line-height: 1.35;
}

/* Project documentation pages */
.doc-header {
  background: linear-gradient(135deg, var(--dark) 0%, var(--secondary) 100%);
  color: #fff;
  padding: 160px 0 60px;
}

.doc-header .back-link {
  color: var(--primary-light);
  font-weight: 500;
}

.doc-header .back-link:hover {
  color: #fff;
}

.doc-list-item {
  padding: 1rem 1.25rem;
  border-radius: 6px;
  background: var(--light);
  margin-bottom: .75rem;
}

.doc-list-item i.fa-file-pdf {
  color: var(--primary);
  font-size: 1.3rem;
  width: 28px;
  text-align: center;
}

.doc-list-item span {
  font-weight: 500;
}

/* Contact form (forces light colors so OS/browser dark mode can't
   turn the native select dropdown into pale, near-invisible text) */
.form-control,
.form-select {
  color: var(--dark);
  background-color: #fff;
}

.form-control:focus,
.form-select:focus {
  color: var(--dark);
  background-color: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 .25rem rgba(0, 122, 82, .25);
}

.form-select option {
  color: var(--dark);
  background-color: #fff;
}

/* Footer */
footer {
  background: var(--dark);
  color: #cfd6dc;
}

footer a {
  color: #cfd6dc;
}

footer a:hover {
  color: var(--primary-light);
}

/* ============ Auditoria ============ */

/* Las tres fases de la auditoria */
.phase-card {
  background: #fff;
  border: 1px solid #e3e8ec;
  border-top: 4px solid var(--primary);
  border-radius: 10px;
  padding: 1.75rem 1.5rem;
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease;
}

.phase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(44, 62, 80, .13);
}

.phase-card .phase-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  margin-bottom: 1rem;
}

.phase-card .phase-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(0, 122, 82, .09);
  border-radius: 100px;
  padding: .25rem .75rem;
  margin-bottom: .75rem;
}

/* El bloque del cruce: es el argumento de venta, va destacado */
.cross-check {
  background: linear-gradient(135deg, var(--dark) 0%, var(--secondary) 100%);
  color: #fff;
  border-radius: 14px;
  padding: 2.5rem;
}

.cross-check .cross-example {
  background: rgba(255, 255, 255, .07);
  border-left: 3px solid var(--primary-light);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin-bottom: .85rem;
}

.cross-check .cross-said {
  color: #b9c4cd;
}

.cross-check .cross-found {
  color: var(--primary-light);
  font-weight: 600;
}

/* Las nueve dimensiones y su peso */
.dim-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.5fr) 150px 44px;
  gap: 1rem;
  align-items: center;
  padding: .85rem 0;
  border-bottom: 1px solid #e3e8ec;
}

.dim-row:last-child {
  border-bottom: 0;
}

.dim-row .dim-name {
  font-weight: 600;
}

.dim-row .dim-what {
  color: #5a6b7a;
  font-size: .93rem;
}

.dim-bar {
  background: #e8edf1;
  border-radius: 100px;
  height: 9px;
  overflow: hidden;
}

.dim-bar span {
  display: block;
  height: 100%;
  border-radius: 100px;
  background: var(--primary);
}

.dim-row .dim-weight {
  font-weight: 700;
  color: var(--primary);
  text-align: right;
}

@media (max-width: 767.98px) {
  .dim-row {
    grid-template-columns: 1fr 52px;
    row-gap: .4rem;
  }
  .dim-row .dim-what {
    grid-column: 1 / -1;
  }
  .dim-bar {
    grid-column: 1 / 2;
  }
}

/* La escala de bandas de la nota */
.band-scale {
  display: flex;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.band-scale div {
  padding: .7rem .4rem;
  text-align: center;
  color: #fff;
  font-weight: 600;
  font-size: .82rem;
  line-height: 1.3;
}

.band-scale .band-crit    { background: #B3261E; flex: 0 0 40%; }
.band-scale .band-flojo   { background: #C2610A; flex: 0 0 15%; }
.band-scale .band-acept   { background: #8A7100; flex: 0 0 15%; }
.band-scale .band-bueno   { background: #2E7D53; flex: 0 0 15%; }
.band-scale .band-excel   { background: var(--primary); flex: 1 1 auto; }

/* Lo que NO se hace: garantias que rompen la objecion del cliente */
.guarantee {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--light);
  border-radius: 8px;
  padding: 1.25rem 1.4rem;
  height: 100%;
}

.guarantee i {
  color: var(--primary);
  font-size: 1.35rem;
  flex-shrink: 0;
  margin-top: .15rem;
}

.guarantee p {
  margin: 0;
  font-size: .95rem;
  color: #4a5a68;
}

.guarantee strong {
  display: block;
  color: var(--dark);
  margin-bottom: .2rem;
}

/* Bloque de la auditoria dentro de la home */
.audit-highlight {
  background: linear-gradient(135deg, var(--dark) 0%, var(--secondary) 100%);
  color: #fff;
  border-radius: 16px;
  padding: 3rem;
}

.audit-highlight .audit-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  border-radius: 100px;
  padding: .3rem .9rem;
  margin-bottom: 1rem;
}

.audit-highlight ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
}

.audit-highlight li {
  padding-left: 1.85rem;
  position: relative;
  margin-bottom: .6rem;
  color: #dfe4e8;
}

.audit-highlight li::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--primary-light);
}

@media (max-width: 575.98px) {
  .audit-highlight,
  .cross-check {
    padding: 2rem 1.5rem;
  }
}

/* ============ Paginas legales ============ */

/* Marcador imposible de pasar por alto para los datos que faltan.
   Buscar "COMPLETAR" antes de publicar: no debe quedar ninguno. */
.dato-pendiente {
  background: #FFF3CD;
  border: 1px dashed #B8860B;
  color: #7A5C00;
  border-radius: 4px;
  padding: .1rem .45rem;
  font-weight: 600;
  font-size: .92em;
  white-space: nowrap;
}

.legal-body h2 {
  font-size: 1.35rem;
  margin-top: 2.5rem;
  margin-bottom: .9rem;
  color: var(--dark);
}

.legal-body h2:first-of-type {
  margin-top: 0;
}

.legal-body h3 {
  font-size: 1.05rem;
  margin-top: 1.6rem;
  margin-bottom: .6rem;
  color: var(--secondary);
}

.legal-body p,
.legal-body li {
  color: #3B4753;
  line-height: 1.7;
}

.legal-body ul {
  margin-bottom: 1.2rem;
}

.legal-body li {
  margin-bottom: .45rem;
}

.legal-body .dl-datos {
  background: var(--light);
  border-left: 3px solid var(--primary);
  border-radius: 6px;
  padding: 1.4rem 1.6rem;
  margin-bottom: 1.5rem;
}

.legal-body .dl-datos div {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding: .35rem 0;
}

.legal-body .dl-datos dt {
  font-weight: 600;
  color: var(--dark);
  min-width: 190px;
}

.legal-body .dl-datos dd {
  margin: 0;
  color: #44515e;
}

.legal-body .actualizado {
  font-size: .9rem;
  color: #7a8794;
  border-top: 1px solid #e3e8ec;
  padding-top: 1.25rem;
  margin-top: 2.5rem;
}

/* Enlaces legales del pie */
footer .footer-legal {
  font-size: .9rem;
}

footer .footer-legal a {
  text-decoration: underline;
}

/* ============ Widget de WhatsApp ============ */

/* Nada de esto se aplica si js/config.js no tiene numero: el JS ni siquiera
   llega a crear los elementos. */

/* --- La burbuja --- */
.wa-float {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 31px;
  box-shadow: 0 6px 22px rgba(37, 211, 102, .45);
  z-index: 9998;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.wa-float:hover,
.wa-float:focus-visible {
  color: #fff;
  transform: scale(1.07);
  box-shadow: 0 8px 28px rgba(37, 211, 102, .6);
}

/* Al abrir el panel, el icono pasa de WhatsApp a una equis */
.wa-float .wa-icono-cerrar {
  display: none;
  font-size: 25px;
}

.wa-float.abierta {
  background: var(--secondary);
  box-shadow: 0 6px 22px rgba(49, 67, 85, .45);
}

.wa-float.abierta .fa-whatsapp {
  display: none;
}

.wa-float.abierta .wa-icono-cerrar {
  display: block;
}

/* Con la burbuja puesta, "volver arriba" sube para no solaparse */
body.wa-activo .back-to-top {
  bottom: 100px;
}

/* --- El panel --- */
.wa-panel {
  position: fixed;
  right: 30px;
  bottom: 100px;
  width: 350px;
  max-width: calc(100vw - 40px);
  background: #ECE5DD;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .3);
  z-index: 9999;
  opacity: 0;
  transform: translateY(14px) scale(.97);
  transform-origin: bottom right;
  transition: opacity .22s ease, transform .22s ease;
}

.wa-panel.abierto {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Cabecera */
.wa-cab {
  background: #075E54;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}

.wa-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #cfd6dc;
}

.wa-cab-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  min-width: 0;
}

.wa-cab-txt strong {
  font-size: 1rem;
}

.wa-cab-txt span {
  font-size: .78rem;
  color: #b8d8d2;
}

.wa-cerrar {
  margin-left: auto;
  background: transparent;
  border: 0;
  color: #b8d8d2;
  font-size: 1.1rem;
  padding: 6px 8px;
  border-radius: 6px;
  flex-shrink: 0;
}

.wa-cerrar:hover,
.wa-cerrar:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, .12);
}

/* Cuerpo de la conversacion */
.wa-cuerpo {
  padding: 18px 16px 16px;
  max-height: 340px;
  overflow-y: auto;
}

.wa-msg {
  position: relative;
  background: #fff;
  border-radius: 0 10px 10px 10px;
  padding: 11px 14px 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .13);
  max-width: 90%;
}

/* El piquito de la burbuja de mensaje */
.wa-msg::before {
  content: "";
  position: absolute;
  top: 0;
  left: -7px;
  border-width: 0 8px 8px 0;
  border-style: solid;
  border-color: transparent #fff transparent transparent;
}

.wa-msg p {
  margin: 0 0 .45rem;
  font-size: .92rem;
  color: #303030;
  line-height: 1.45;
}

.wa-hora {
  position: absolute;
  right: 11px;
  bottom: 6px;
  font-size: .68rem;
  color: #8d9499;
}

/* Atajos por tema */
.wa-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.wa-chip {
  background: #fff;
  border: 1px solid #25D366;
  color: #075E54;
  border-radius: 100px;
  padding: 7px 14px;
  font-size: .83rem;
  font-weight: 500;
  transition: background .2s ease, color .2s ease;
}

.wa-chip:hover,
.wa-chip:focus-visible {
  background: #25D366;
  color: #fff;
}

/* Pie con el campo de texto */
.wa-pie {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 12px;
  background: #F0F0F0;
  border-top: 1px solid #dcdcdc;
}

.wa-input {
  flex: 1;
  min-width: 0;
  border: 1px solid #dcdcdc;
  border-radius: 100px;
  padding: 10px 16px;
  font-size: .9rem;
  font-family: inherit;
  background: #fff;
  color: #303030;
}

.wa-input:focus {
  outline: none;
  border-color: #25D366;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, .16);
}

.wa-enviar {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border: 0;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}

.wa-enviar:hover,
.wa-enviar:focus-visible {
  background: #1EBE5A;
  color: #fff;
}

/* Boton de WhatsApp dentro de las secciones */
.btn-whatsapp {
  background: #25D366;
  border-color: #25D366;
  color: #fff;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus {
  background: #1EBE5A;
  border-color: #1EBE5A;
  color: #fff;
}

.btn-whatsapp i {
  margin-right: .5rem;
}

/* En movil el panel ocupa el ancho util de la pantalla */
@media (max-width: 575.98px) {
  .wa-float {
    right: 18px;
    bottom: 18px;
    width: 54px;
    height: 54px;
    font-size: 28px;
  }
  body.wa-activo .back-to-top {
    bottom: 84px;
    right: 18px;
  }
  .wa-panel {
    right: 12px;
    left: 12px;
    bottom: 84px;
    width: auto;
    max-width: none;
  }
  .wa-cuerpo {
    max-height: 46vh;
  }
}

/* Quien haya pedido menos animacion en su sistema, que no la tenga */
@media (prefers-reduced-motion: reduce) {
  .wa-panel,
  .wa-float {
    transition: none;
  }
}

/* ============ Datos destacados de cada proyecto ============ */

/* Las cifras estaban enterradas dentro del parrafo. Sacarlas a la superficie
   permite comparar proyectos de un vistazo, sin leerse las ocho tarjetas. */
.proj-datos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 1.1rem 0 1.25rem;
  padding: .9rem 0;
  border-top: 1px solid rgba(255, 255, 255, .13);
  border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.proj-datos div {
  line-height: 1.15;
}

.proj-datos strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-light);
  letter-spacing: -.5px;
}

.proj-datos span {
  font-size: .78rem;
  color: #b9c4cd;
  text-transform: uppercase;
  letter-spacing: .4px;
}

/* ============ Credenciales ============ */

.credenciales {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.credencial {
  display: flex;
  align-items: center;
  gap: .85rem;
  background: #fff;
  border: 1px solid #e0e6ea;
  border-left: 3px solid var(--primary);
  border-radius: 10px;
  padding: .9rem 1.25rem;
  text-align: left;
  min-width: 260px;
  box-shadow: 0 2px 10px rgba(44, 62, 80, .06);
}

.credencial i {
  font-size: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
}

.credencial .cred-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  min-width: 0;
}

.credencial .cred-cod {
  font-weight: 700;
  color: var(--dark);
  font-size: .95rem;
}

.credencial .cred-desc {
  font-size: .8rem;
  color: #5a6b7a;
}

/* La cifra que mas pesa del negocio: treinta anos */
.destacado-anios {
  background: linear-gradient(135deg, var(--dark) 0%, var(--secondary) 100%);
  color: #fff;
  border-radius: 14px;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.destacado-anios .anios-num {
  font-size: 4.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--primary-light);
  letter-spacing: -2px;
}

.destacado-anios .anios-txt {
  flex: 1;
  min-width: 240px;
}

.destacado-anios .anios-txt strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: .3rem;
}

.destacado-anios .anios-txt span {
  color: #dfe4e8;
  font-size: .95rem;
}

@media (max-width: 575.98px) {
  .destacado-anios {
    padding: 1.75rem 1.5rem;
    gap: 1.25rem;
  }
  .destacado-anios .anios-num {
    font-size: 3.4rem;
  }
  .proj-datos {
    gap: 1.1rem;
  }
  .proj-datos strong {
    font-size: 1.3rem;
  }
}

/* ============ Piezas visuales explicativas ============ */

/* El diagrama y la muestra del informe se sirven como <img> de un SVG:
   escalan sin perder nitidez y pesan menos que cualquier captura. */
.figura {
  background: #fff;
  border: 1px solid #e0e6ea;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 18px rgba(44, 62, 80, .07);
}

.figura img {
  width: 100%;
  height: auto;
  display: block;
}

.figura figcaption {
  margin-top: 1rem;
  font-size: .87rem;
  color: #5a6b7a;
  text-align: center;
}

/* La muestra del informe se inclina un poco: sugiere documento fisico
   sin necesidad de simular una sombra de papel complicada. */
.figura-informe {
  max-width: 430px;
  margin: 0 auto;
  transform: rotate(-1.4deg);
  transition: transform .35s ease;
}

.figura-informe:hover {
  transform: rotate(0deg) scale(1.02);
}

@media (prefers-reduced-motion: reduce) {
  .figura-informe,
  .figura-informe:hover {
    transform: none;
    transition: none;
  }
}
