/* MAZ Memoria Bootstrap + HTML5 */

:root {
  --maz-blue: #006CA6;
  --maz-blue-dark: #005f86;
  --maz-blue-soft: #8DCDED;
  --maz-blue-soft-alpha: rgba(141, 205, 237, 0.60);
  --maz-blue-pale: #e9f7fb;
  --maz-white: #ffffff;
  --maz-text: #006CA6;
  --maz-muted: #5e7b88;
  --maz-card: #f3fbfd;
  --maz-shadow: 0 18px 45px rgba(0, 91, 130, .14);
  --maz-radius: 14px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Museo Sans", Arial, Helvetica, sans-serif;
  color: var(--maz-text);
  background: #fff;
  font-weight: 300;
}

h1,
h2,
h3,
h4,
h5,
.navbar-brand,
.nav-link {
  font-weight: 600;
}

p {
  line-height: 1.55;
}

a {
  color: inherit;
}

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

.section {
  padding: 72px 0;
}

.section-sm {
  padding: 48px 0;
}

.bg-maz-soft {
  background: var(--maz-blue-soft-alpha) !important;
}

.bg-maz-pale {
  background: var(--maz-blue-pale) !important;
}

.bg-maz-blue {
  background: var(--maz-blue) !important;
  color: #fff;
}

.hero-video {
  background-image: none !important;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.text-maz-blue {
  color: var(--maz-blue);
}

.text-muted-maz {
  color: var(--maz-muted);
}

.container-narrow {
  max-width: 600px;
}

/* HEADER */

/* HEADER HERO — absoluto, sobre el hero, logo blanco */
header.header-hero {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
}

header.header-hero .navbar-maz {
  background: rgba(0, 108, 166, 0.25) !important;
  backdrop-filter: blur(2px);
  min-height: 100px;
  padding: 0;
}

/* HEADER STICKY — fijo, oculto por defecto, aparece al hacer scroll */
header.header-sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: none;
}

header.header-sticky.visible {
  display: block;
  animation: headerSlideDown 0.25s ease forwards;
}

@keyframes headerSlideDown {
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}

header.header-sticky .navbar-maz {
  background: #ffffff !important;
  backdrop-filter: none;
  min-height: 74px;
  padding: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

header.header-sticky .navbar-maz .nav-link {
  color: #006CA6 !important;
}

header.header-sticky .navbar-maz .nav-link:hover,
header.header-sticky .navbar-maz .nav-link.active {
  color: #0088CC !important;
  opacity: 1;
}

header.header-sticky .navbar-toggler {
  border-color: #006CA6;
}

header.header-sticky .navbar-toggler-icon {
  filter: invert(30%) sepia(80%) saturate(800%) hue-rotate(172deg);
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 25px 50px;
}

.navbar-brand {
  margin-right: 0;
  padding: 0;
}

.navbar-brand img,
.navbar-maz .navbar-brand img {
  width: 190px;
  height: auto;
  display: block;
}

.navbar-maz .navbar-collapse {
  flex-grow: 0;
}

.navbar-maz .navbar-nav {
  gap: 28px;
}

.navbar-maz .nav-link {
  color: #ffffff !important;
  font-family: "Museo Sans", Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  padding: 0 !important;
}

.navbar-maz .nav-link:hover,
.navbar-maz .nav-link.active {
  color: #ffffff !important;
  opacity: 0.9;
}

/* HERO PORTADA */

.hero.hero-home {
  position: relative;
  height: 803px;
  min-height: 803px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 65px 212px;
  background-color: var(--maz-blue);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(141, 205, 237, 0.82) 100%
  );
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1016px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-copy {
  width: 100%;
  text-align: center;
}

.hero .year {
  font-family: "Museo Sans", Arial, Helvetica, sans-serif;
  font-size: 138px;
  font-weight: 600;
  line-height: 0.78;
  letter-spacing: 0.02em;
  color: #ffffff;
  margin: 0 0 22px 0;
  text-shadow: none;
}

.hero .subtitle {
  margin: 0;
  font-family: "Museo Sans", Arial, Helvetica, sans-serif;
  font-size: 27px;
  font-weight: 600;
  line-height: 35.2px;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #ffffff;
  max-width: 1047px;
  margin-left: auto;
  margin-right: auto;
}

/* INTRO HOME */

.intro-home {
  background: var(--maz-blue-soft-alpha) !important;
  padding-top: 50px;
  padding-bottom: 50px;
}

.intro-home .container-narrow {
  max-width: 600px;
}

.intro-home p {
  font-size: 16px;
  line-height: 20px;
  color: #006CA6;
  margin-bottom: 18px;
}

.intro-home strong {
  font-weight: 600;
}

.audio-widget {
  margin-top: 18px;
}

.audio-widget .label {
  display: block;
  font-size: 14px;
  line-height: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: inherit;
}

.audio-widget audio {
  width: 204px;
  height: 30px;
}

.audio-centered {
  text-align: center;
}

/* CARTAS */

.carta-section {
  min-height: 360px;
  padding: 72px 0;
  background: #006CA6 !important;
}

.carta-presidente {
  background: #006CA6 !important;
}

.carta-section-alt {
  padding-top: 54px;
  background: rgba(0, 108, 166, 0.95) !important;
}

.carta-container {
  max-width: 900px;
}

.carta-photo-col {
  display: flex;
  justify-content: center;
}

.portrait {
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
  box-shadow: none;
}

.portrait-large {
  width: 210px;
  height: 210px;
  border: 9px solid rgba(141, 205, 237, 0.9);
}

.carta-copy {
  color: #ffffff;
  max-width: 500px;
}

.carta-copy h2 {
  font-size: 30px;
  line-height: 36px;
  font-weight: 600;
  letter-spacing: 0;
  margin: 0 0 8px;
  color: #ffffff;
}

.carta-copy h3 {
  font-size: 24px;
  line-height: 29px;
  font-weight: 400;
  letter-spacing: 0;
  margin: 0 0 28px;
  color: #8DCDED;
}

.carta-copy p {
  font-size: 16px;
  line-height: 20px;
  color: #ffffff;
  margin-bottom: 18px;
}

.pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  line-height: 18px;
  font-weight: 600;
  margin-bottom: 14px;
}

.pdf-link::before {
  content: "▧";
  font-size: 16px;
  line-height: 1;
}

.pdf-link::after {
  content: "";
  position: absolute;
  inset: -4px;
}

.pdf-link:hover {
  color: #ffffff;
  opacity: 0.85;
  text-decoration: underline;
}

.audio-white {
  margin-top: 14px;
}

.audio-white .label {
  color: #8DCDED;
}

/* BLOQUES RESTANTES */

.play-box {
  min-height: 160px;
  border-radius: 10px;
  background: var(--maz-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: var(--maz-shadow);
}

.play-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  color: var(--maz-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.card-maz {
  background: #fff;
  border: 0;
  border-radius: var(--maz-radius);
  box-shadow: var(--maz-shadow);
}

.metric-card {
  background: rgba(255, 255, 255, .82);
  border-radius: 8px;
  padding: 16px 20px;
  text-align: center;
  min-height: 78px;
}

.metric-card strong {
  display: block;
  color: var(--maz-blue);
  font-weight: 600;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1;
}

.metric-card span {
  display: block;
  font-size: .82rem;
}

.metric-list .list-group-item {
  border: 0;
  margin-bottom: 10px;
  border-radius: 8px !important;
  color: var(--maz-blue);
  font-weight: 600;
  font-size: .88rem;
}

.metric-list .list-group-item.active {
  background: var(--maz-blue);
  color: #fff;
}

/* FOOTER */

.footer-maz {
  background: var(--maz-blue);
  color: #fff;
  padding: 22px 0;
  font-size: .82rem;
}

.footer-maz img {
  width: 145px;
}

.footer-maz a {
  text-decoration: none;
  color: #fff;
  opacity: .9;
}

.footer-maz a:hover {
  opacity: 1;
}

.social-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--maz-blue);
  font-weight: 600;
  font-size: .75rem;
  text-decoration: none;
}

/* RESPONSIVE */

@media (max-width: 1199px) {
  .hero.hero-home {
    padding: 65px 120px;
    height: 720px;
    min-height: 720px;
  }

  .hero-inner {
    max-width: 100%;
  }

  .hero .year {
    font-size: 110px;
  }

  .hero .subtitle {
    font-size: 24px;
    line-height: 31px;
  }

  .navbar-maz .navbar-nav {
    gap: 18px;
  }

  .navbar-maz .nav-link {
    font-size: 16px;
  }
}

@media (max-width: 991px) {
  .navbar-maz {
    background: rgba(0, 108, 166, 0.78) !important;
    min-height: auto;
  }

  .header-inner {
    padding: 20px 24px;
  }

  .navbar-brand img,
  .navbar-maz .navbar-brand img {
    width: 150px;
  }

  .navbar-maz .navbar-collapse {
    background: rgba(0, 108, 166, 0.95);
    padding: 18px 20px;
    margin-top: 12px;
    border-radius: 8px;
  }

  .navbar-maz .navbar-nav {
    gap: 12px;
  }

  .navbar-maz .nav-link {
    font-size: 16px;
    padding: 6px 0 !important;
  }

  .hero.hero-home {
    height: 620px;
    min-height: 620px;
    padding: 40px 40px 55px;
  }

  .hero .year {
    font-size: 92px;
    line-height: 0.82;
    margin-bottom: 18px;
  }

  .hero .subtitle {
    font-size: 22px;
    line-height: 29px;
    letter-spacing: -0.02em;
  }

  .section {
    padding: 56px 0;
  }

  .carta-copy {
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
  }

  .portrait-large {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 575px) {
  .header-inner {
    padding: 16px 16px;
  }

  .navbar-brand img,
  .navbar-maz .navbar-brand img {
    width: 120px;
  }

  .hero.hero-home {
    height: 520px;
    min-height: 520px;
    padding: 35px 20px 45px;
  }

  .hero .year {
    font-size: 72px;
    line-height: 0.9;
    letter-spacing: 0.02em;
  }

  .hero .subtitle {
    font-size: 18px;
    line-height: 24px;
    letter-spacing: -0.01em;
  }

  .audio-widget audio {
    width: 100%;
  }

  .portrait-large {
    width: 150px;
    height: 150px;
  }
}





/* AJUSTE SECCIÓN PRINCIPALES HITOS */
.hitos-section {
  min-height: 455px;
  padding: 60px 0 !important;
  background: #ffffff !important;
}

.hitos-container {
  max-width: 1040px;
}

.hitos-row {
  min-height: 335px;
  column-gap: 55px;
}

.hitos-copy {
  flex: 0 0 500px;
  max-width: 500px;
}

.hitos-copy h2 {
  font-size: 30px;
  line-height: 36px;
  font-weight: 600;
  letter-spacing: 0;
  color: #006CA6;
  margin-bottom: 18px;
}

.hitos-copy p {
  font-size: 16px;
  line-height: 20px;
  font-weight: 300;
  color: #545353;
  margin-bottom: 26px;
}

.hitos-copy p strong {
  font-weight: 600;
}

.hitos-video-col {
  flex: 0 0 410px;
  max-width: 410px;
}

.hitos-section .audio-widget {
  margin-top: 18px;
}

.hitos-section .audio-widget .label {
  color: #006CA6;
}

.video-frame {
  width: 100%;
  max-width: 410px;
  height: 230px;
  min-height: 230px;
  margin: 0 auto;
  background: #006CA6;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-frame-hitos {
  aspect-ratio: 16 / 9;
}

.maz-video {
  width: 100%;
  height: 100%;
  min-height: 230px;
  display: block;
  object-fit: cover;
  background: #006CA6;
}

@media (max-width: 1199px) {
  .hitos-container {
    max-width: 920px;
  }

  .hitos-row {
    column-gap: 30px;
  }

  .hitos-copy {
    flex: 1 1 0;
    max-width: 500px;
  }

  .hitos-video-col {
    flex: 0 0 410px;
    max-width: 410px;
  }
}

@media (max-width: 991px) {
  .hitos-section {
    min-height: auto;
    padding: 56px 0 !important;
  }

  .hitos-container {
    max-width: 720px;
  }

  .hitos-row {
    min-height: auto;
    column-gap: 0;
  }

  .hitos-copy,
  .hitos-video-col {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .hitos-copy {
    text-align: left;
  }

  .video-frame {
    max-width: 100%;
  }
}

@media (max-width: 575px) {
  .hitos-section {
    padding: 42px 0 !important;
  }

  .hitos-copy h2 {
    font-size: 25px;
    line-height: 31px;
  }

  .video-frame,
  .maz-video {
    height: 190px;
    min-height: 190px;
  }
}


/* AJUSTE SECCIÓN PRINCIPALES CIFRAS */
.cifras-section {
  min-height: 451px;
  padding: 60px 0 30px !important;
  background: rgba(141, 205, 237, 0.65) !important;
}

.cifras-container {
  max-width: 1040px;
}

.cifras-row {
  min-height: 361px;
  column-gap: 55px;
}

.cifras-video-col {
  flex: 0 0 410px;
  max-width: 410px;
}

.cifras-copy {
  flex: 0 0 500px;
  max-width: 500px;
}

.cifras-copy h2 {
  font-size: 30px;
  line-height: 36px;
  font-weight: 600;
  letter-spacing: 0;
  color: #006CA6;
  margin-bottom: 22px;
}

.cifras-copy p {
  font-size: 16px;
  line-height: 20px;
  font-weight: 300;
  color: #545353;
  margin-bottom: 22px;
}

.cifras-copy p strong {
  font-weight: 600;
}

.video-frame-cifras {
  width: 410px;
  height: 230px;
  min-height: 230px;
  max-width: 100%;
  background: #006CA6;
  border-radius: 10px;
  overflow: hidden;
}

.cifras-section .audio-widget {
  margin-top: 20px;
}

.cifras-section .audio-widget .label {
  color: #006CA6;
}

@media (max-width: 1199px) {
  .cifras-container {
    max-width: 920px;
  }

  .cifras-row {
    column-gap: 30px;
  }

  .cifras-video-col {
    flex: 0 0 410px;
    max-width: 410px;
  }

  .cifras-copy {
    flex: 1 1 0;
    max-width: 500px;
  }
}

@media (max-width: 991px) {
  .cifras-section {
    min-height: auto;
    padding: 56px 0 46px !important;
  }

  .cifras-container {
    max-width: 720px;
  }

  .cifras-row {
    min-height: auto;
    column-gap: 0;
  }

  .cifras-video-col,
  .cifras-copy {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .video-frame-cifras {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 575px) {
  .cifras-section {
    padding: 42px 0 !important;
  }

  .cifras-copy h2 {
    font-size: 25px;
    line-height: 31px;
  }
}


/* AJUSTE INTRO + PODCAST HITOS */
.intro-home {
  min-height: 433px;
  padding: 50px 200px !important;
  background: rgba(141, 205, 237, 0.60) !important;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.intro-home .container-narrow {
  width: 600px;
  max-width: 600px;
  padding-left: 0;
  padding-right: 0;
}

.intro-home p {
  width: 600px;
  max-width: 100%;
  font-size: 16px;
  line-height: 20px;
  color: #006CA6;
  margin-bottom: 18px;
}

.intro-home .audio-widget {
  margin-top: 42px;
}

.hitos-video-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.audio-hitos-video {
  margin-top: 20px;
  width: 204px;
}

.audio-hitos-video .label {
  color: #006CA6;
  text-align: center;
}

@media (max-width: 991px) {
  .intro-home {
    min-height: auto;
    padding: 50px 32px !important;
  }

  .intro-home .container-narrow,
  .intro-home p {
    width: 100%;
    max-width: 600px;
  }
}

@media (max-width: 575px) {
  .intro-home {
    padding: 42px 20px !important;
  }
}


/* TABS PRINCIPALES CIFRAS */
.cifras-tabs-section {
  background: rgba(141, 205, 237, 0.65) !important;
  padding: 30px 200px 60px !important;
}

.cifras-tabs-container {
  max-width: 1040px;
  padding-left: 0;
  padding-right: 0;
}

.cifras-tabs-row {
  column-gap: 25px;
  align-items: flex-start;
}

.cifras-tabs-section .col-lg-4 {
  flex: 0 0 413px;
  max-width: 413px;
}

.cifras-tabs-section .col-lg-8 {
  flex: 0 0 600px;
  max-width: 600px;
  align-self: flex-start;
  position: relative;
}

.cifras-tabs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cifras-tab {
  width: 413px;
  min-height: 60.5px;
  padding: 17px 20px;
  border: 0;
  border-radius: 10px;
  background: #ffffff;
  color: #006CA6;
  font-family: "Museo Sans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 23px;
  font-weight: 600;
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.25s ease, color 0.25s ease,
              transform 0.2s ease, box-shadow 0.2s ease;
}

/* Ripple de fondo al hover */
.cifras-tab::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 108, 166, 0.06);
  opacity: 0;
  transition: opacity 0.2s ease;
  border-radius: 10px;
}

.cifras-tab:hover::before { opacity: 1; }

.cifras-tab:hover {
  transform: translateX(-4px);
  box-shadow: -4px 0 14px rgba(0, 108, 166, 0.12);
}

.cifras-tab.active {
  background: #006CA6;
  color: #ffffff;
  transform: translateX(-6px);
  box-shadow: -4px 4px 18px rgba(0, 108, 166, 0.28);
}

.cifras-tab.active::before { opacity: 0; }

.cifras-tab img {
  width: 21px;
  height: 23.67px;
  object-fit: contain;
  flex: 0 0 21px;
  transition: transform 0.2s ease;
}

.cifras-tab:hover img {
  transform: scale(1.12);
}

.cifras-tab.active img {
  filter: brightness(0) invert(1);
  transform: scale(1.08);
}

.cifras-panels {
  width: 600px;
}

.cifras-panel {
  display: none;
  background: #ffffff;
  border-radius: 10px;
  padding: 25px 50px;
  color: #545353;
  /* Cada panel se ajusta a su contenido: evitamos espacios vacíos en bloques con pocas cifras. */
  min-height: 0;
  box-shadow: 0 4px 24px rgba(0, 108, 166, 0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.cifras-panel[hidden] { display: none; }

@keyframes panelFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cifras-panel.active {
  display: block;
  animation: panelFadeIn 0.3s ease forwards;
}

.cifras-panel.active:hover {
  box-shadow: 0 10px 40px rgba(0, 108, 166, 0.15);
  transform: translateY(-3px);
}

.cifras-panel h2 {
  font-size: 24px;
  line-height: 29px;
  font-weight: 600;
  color: #006CA6;
  margin: 0 0 12px;
}

.cifras-panel .panel-line {
  width: 125px;
  height: 3px;
  background: #8DCDED;
  margin-bottom: 24px;
}

.cifras-panel h3 {
  font-size: 20px;
  line-height: 26px;
  font-weight: 600;
  color: #006CA6;
  margin: 20px 0 6px;
}

.cifras-panel h4 {
  font-size: 20px;
  line-height: 26px;
  font-weight: 600;
  color: #006CA6;
  margin: 0;
}

.cifras-panel p {
  font-size: 16px;
  line-height: 23px;
  font-weight: 300;
  margin-bottom: 14px;
  color: #545353;
}

.cifras-panel strong {
  font-weight: 600;
}

.cifras-panel .small-blue {
  color: #006CA6;
  font-size: 14px;
  line-height: 18px;
}

.stats-grid {
  display: grid;
  gap: 18px 35px;
  margin-bottom: 18px;
}

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

.stats-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

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

.stats-grid.compact {
  gap: 14px 30px;
}

.stats-grid > div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

/* Número principal */
.stats-grid strong {
  display: block;
  color: #006CA6;
  font-size: 18px;
  line-height: normal;
  font-weight: 400;
}

/* Etiqueta descriptiva */
.stats-grid span {
  display: block;
  color: #006CA6;
  font-size: 14px;
  line-height: 18px;
  font-weight: 300;
}

/* Porcentaje */
.stats-grid em {
  display: block;
  color: #006CA6;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  font-style: normal;
}

/* Dato desactualizado (rojo) */
.stats-grid .rojo strong,
.stats-grid .rojo span,
.stats-grid .rojo em {
  color: #EF2F2F;
}

/* Texto descriptivo dentro del panel (Nuestras instalaciones, etc.) */
.cifras-panel h3 {
  font-size: 18px;
  font-weight: 400;
  color: #006CA6;
  margin: 16px 0 4px;
  line-height: normal;
}

.cifras-panel .colectivo-instalaciones-p,
.cifras-panel .prof-p,
.cifras-panel .comunes-p,
.cifras-panel .seg-p,
.cifras-panel .clima-p-gris {
  font-size: 14px;
  font-weight: 300;
  color: #545353;
  line-height: 21px;
  margin-bottom: 8px;
}

.cifras-panel .colectivo-instalaciones-p strong,
.cifras-panel .prof-p strong,
.cifras-panel .comunes-p strong,
.cifras-panel .seg-p strong,
.cifras-panel .clima-p-gris strong {
  font-weight: 600;
  color: #545353;
}

.cifras-panel .note {
  font-size: 9px;
  line-height: 11px;
  font-weight: 300;
  color: #545353;
  margin-top: 16px;
}

@media (max-width: 1199px) {
  .cifras-tabs-section {
    padding-left: 80px !important;
    padding-right: 80px !important;
  }

  .cifras-tabs-container {
    max-width: 100%;
  }
}

@media (max-width: 991px) {
  .cifras-tabs-section {
    padding: 45px 30px !important;
  }

  .cifras-tabs-section .col-lg-4,
  .cifras-tabs-section .col-lg-8,
  .cifras-tabs,
  .cifras-tab,
  .cifras-panels {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  .cifras-tab {
    justify-content: space-between;
    text-align: left;
  }

  .cifras-panel {
    padding: 32px 28px;
    margin-top: 20px;
  }

  .stats-grid.two,
  .stats-grid.three,
  .stats-grid.four {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .cifras-tabs-section {
    padding: 36px 20px !important;
  }

  .cifras-panel {
    padding: 28px 22px;
  }

  .cifras-panel h2 {
    font-size: 21px;
    line-height: 27px;
  }
}


/* FIX FUNCIONAMIENTO TABS */


.cifras-panel.active {
  display: block !important;
}


/* FIX VISIBILIDAD ICONOS TABS */
.cifras-tab img {
  width: 21px !important;
  height: 23.67px !important;
  object-fit: contain;
  flex: 0 0 21px;
  opacity: 1 !important;
  display: block !important;
}

/* Iconos azules sobre fondo blanco */
.cifras-tab:not(.active) img {
  filter: brightness(0) saturate(100%) invert(31%) sepia(98%) saturate(1080%) hue-rotate(172deg) brightness(86%) contrast(101%) !important;
}

/* Iconos blancos sobre fondo azul */
.cifras-tab.active img {
  filter: brightness(0) invert(1) !important;
}


/* AJUSTES DE CONTENIDO CIFRAS */
.cifras-panel {
  overflow: visible;
}

.stats-muted strong {
  color: #545353 !important;
  font-size: 18px;
  font-weight: 400;
  line-height: normal;
}

.stats-muted span {
  color: #545353 !important;
  font-size: 14px;
  font-weight: 300;
  line-height: 18px;
}

.stats-muted em {
  color: #545353 !important;
  font-size: 13px;
  font-weight: 600;
  font-style: normal;
  line-height: 18px;
  display: block;
}

.stats-highlight strong,
.stats-highlight > div > strong {
  color: #006CA6 !important;
  font-size: 18px;
  font-weight: 400;
  line-height: normal;
}

.stats-highlight span {
  color: #006CA6 !important;
  font-size: 14px;
  font-weight: 300;
  line-height: 18px;
}

.stats-highlight em {
  color: #006CA6 !important;
  font-size: 13px;
  font-weight: 600;
  font-style: normal;
  line-height: 18px;
  display: block;
}

.stats-highlight span strong {
  color: #006CA6 !important;
  font-size: 14px;
  font-weight: 600;
}

/* Nuestras instalaciones — h3 18px, párrafo 14px */
.cifras-panel h3 {
  font-size: 18px;
  line-height: 22px;
  font-weight: 600;
  color: #006CA6;
  margin: 16px 0 6px;
}

.colectivo-instalaciones-p {
  font-size: 14px !important;
  line-height: 21px !important;
  font-weight: 300;
  color: #545353;
}

.cifras-panel .note {
  color: #545353;
  font-size: 9px;
  line-height: 11px;
  margin-top: 18px;
}

.hospital-grid h3 {
  margin-top: 4px;
}

.hospital-grid p {
  line-height: 22px;
}

.personas-stats {
  margin-top: 18px;
  margin-bottom: 26px;
}


/* AJUSTE FINO ACTIVIDAD ASISTENCIAL */
.cifras-panel[data-panel="actividad"] {
  padding: 38px 48px 34px;
}

.cifras-panel[data-panel="actividad"] h2 {
  max-width: 520px;
  margin-bottom: 12px;
}

.cifras-panel[data-panel="actividad"] h2 small {
  font-size: 14px;
  vertical-align: baseline;
}

.actividad-top-grid {
  margin-bottom: 20px;
}

.actividad-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 76px;
  margin-top: 24px;
  margin-bottom: 26px;
}

.actividad-main-stat strong {
  display: block;
  color: #006CA6;
  font-size: 18px;
  line-height: 23px;
  font-weight: 600;
  margin-bottom: 4px;
}

.actividad-main-stat span {
  display: block;
  color: #006CA6;
  font-size: 14px;
  line-height: 18px;
  font-weight: 300;
}

.actividad-main-stat b {
  font-weight: 600;
}

.actividad-secondary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 58px;
  row-gap: 18px;
  margin-bottom: 26px;
}

.actividad-secondary-grid strong {
  display: block;
  color: #545353;
  font-size: 18px;
  line-height: 23px;
  font-weight: 400;
  margin-bottom: 2px;
}

.actividad-secondary-grid span {
  display: block;
  color: #545353;
  font-size: 14px;
  line-height: 18px;
  font-weight: 300;
}

.actividad-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 84px;
  margin-top: 4px;
}

.actividad-bottom h3 {
  color: #006CA6;
  font-size: 18px;
  line-height: 22px;
  font-weight: 600;
  margin: 0 0 6px;
}

.actividad-bottom-p,
.actividad-bottom p {
  color: #545353;
  font-size: 14px;
  line-height: 21px;
  font-weight: 300;
  margin: 0;
}

.actividad-bottom-p strong,
.actividad-bottom p strong {
  font-weight: 600;
  color: #545353;
}

.cifras-panel[data-panel="actividad"] .note {
  margin-top: 20px;
  font-size: 9px;
  line-height: 11px;
  color: #545353;
}

/* Panel Prestaciones complementarias */
.prestaciones-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prestaciones-num {
  display: block;
  color: #006CA6;
  font-size: 18px;
  font-weight: 400;
  line-height: normal;
}

.prestaciones-p {
  color: #006CA6;
  font-size: 14px;
  font-weight: 300;
  line-height: 18px;
  margin: 0;
}

.prestaciones-p strong {
  font-weight: 600;
  color: #006CA6;
}

.prestaciones-pct {
  font-size: 15px;
  font-weight: 600;
  font-style: normal;
  color: #006CA6;
  line-height: 23px;
}

@media (max-width: 991px) {
  .actividad-top,
  .actividad-bottom {
    grid-template-columns: 1fr;
    row-gap: 22px;
  }

  .actividad-secondary-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 30px;
  }
}

@media (max-width: 575px) {
  .cifras-panel[data-panel="actividad"] {
    padding: 28px 22px;
  }

  .actividad-secondary-grid {
    grid-template-columns: 1fr;
  }
}


/* FOOTER ICONOS SVG */
.footer-maz {
  min-height: 105px;
  display: flex;
  align-items: center;
}

.footer-maz .row {
  align-items: center;
}

.footer-maz .col-md-3:first-child img {
  width: 239px;
  height: 50px;
  object-fit: contain;
}

.footer-maz .col-md-6 a {
  font-size: 16px;
  line-height: 20px;
  font-weight: 300;
  color: #ffffff;
  text-decoration: none;
}

.footer-maz .col-md-6 a:hover {
  text-decoration: underline;
}

.social-circle {
  width: 37.61px;
  height: 37.56px;
  border-radius: 50%;
  background: #ffffff;
  color: #006CA6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  text-decoration: none;
  padding: 0;
}

.social-circle img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: block;
}

.social-circle:hover {
  opacity: 0.9;
}

@media (max-width: 767px) {
  .footer-maz {
    min-height: auto;
    padding: 28px 0;
    text-align: center;
  }

  .footer-maz .col-md-3:first-child img {
    width: 200px;
    height: auto;
  }

  .footer-maz .col-md-6 {
    margin: 18px 0;
  }

  .footer-maz .col-md-6 a {
    display: inline-block;
    margin-bottom: 8px;
  }
}





/* =========================================================
   PÁGINA MUTUA MAZ - HERO INTERIOR
   Controla el hero superior de la página mutua-maz.html
   ========================================================= */
.hero-inner-page {
  position: relative;
  height: 803px;
  min-height: 803px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 65px 212px;
  background-color: #006CA6;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
  color: #ffffff;
}

.hero-inner-page .hero-inner {
  width: 100%;
  max-width: 1047px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-inner-page .page-title {
  font-family: "Museo Sans", Arial, Helvetica, sans-serif;
  font-size: 27px;
  line-height: 35.2px;
  font-weight: 600;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0;
}


/* =========================================================
   PÁGINA MUTUA MAZ - MISIÓN, VISIÓN Y VALORES
   Primera sección de contenido bajo el hero.
   La cuadrícula replica los bloques de Figma:
   - Misión y propósito
   - Visión
   - Valores
   - Podcast
   ========================================================= */
.mutua-content-section {
  background: #ffffff;
  padding: 60px 200px 30px !important;
}

.mutua-content-container {
  max-width: 1052px;
  padding-left: 0;
  padding-right: 0;
}

.mutua-content-section h2 {
  color: #006CA6;
  font-size: 30px;
  line-height: 36px;
  font-weight: 600;
  margin: 0 0 35px;
}

.mutua-grid {
  display: grid;
  grid-template-columns: 600px 417px;
  grid-template-rows: auto auto;
  gap: 35px;
  align-items: stretch;
}

.mutua-card,
.mutua-values {
  background: rgba(141, 205, 237, 0.10);
  padding: 20px;
}

.mutua-card {
  min-height: 156px;
}

.mutua-card h3,
.mutua-values h3 {
  color: #8DCDED;
  font-size: 20px;
  line-height: 26px;
  font-weight: 600;
  margin: 0 0 12px;
}

.mutua-card p,
.mutua-values p {
  color: #545353;
  font-size: 16px;
  line-height: 20px;
  font-weight: 300;
  margin-bottom: 8px;
}

.mutua-card strong,
.mutua-values strong {
  font-weight: 600;
}

.mutua-card-mision {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.mutua-card-vision {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.mutua-values {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  min-height: 536px;
}

.mutua-audio-box {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  min-height: 536px;
  background: rgba(141, 205, 237, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 40px;
  gap: 20px;
}

.mutua-content-img {
  width: 100%;
  max-width: 405px;
  height: 228px;
  object-fit: cover;
  border-radius: 15px;
  display: block;
}

.mutua-audio-box .audio-widget .label {
  color: #006CA6;
}


/* =========================================================
   PÁGINA MUTUA MAZ - CULTURA ORGANIZACIONAL
   Segunda sección de la página, fondo azul claro.
   ========================================================= */
.mutua-cultura-section {
  background: #C7E8F7;
  padding: 60px 200px 60px !important;
}

.mutua-cultura-container {
  max-width: 1052px;
  padding-left: 0;
  padding-right: 0;
}

.mutua-cultura-row {
  min-height: 260px;
}

.mutua-cultura-section h2 {
  color: #006CA6;
  font-size: 30px;
  line-height: 36px;
  font-weight: 600;
  margin: 0 0 28px;
}

.mutua-cultura-section p {
  color: #545353;
  font-size: 16px;
  line-height: 20px;
  font-weight: 300;
  margin-bottom: 16px;
  max-width: 600px;
}

.mutua-cultura-audio-col {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

.mutua-cultura-audio-col .audio-widget .label {
  color: #006CA6;
}


/* =========================================================
   RESPONSIVE - PÁGINA MUTUA MAZ
   Ajustes tablet y móvil.
   ========================================================= */
@media (max-width: 1199px) {
  .hero-inner-page {
    height: 720px;
    min-height: 720px;
    padding-left: 80px !important;
    padding-right: 80px !important;
  }

  .mutua-content-section,
  .mutua-cultura-section {
    padding-left: 80px !important;
    padding-right: 80px !important;
  }

  .mutua-grid {
    grid-template-columns: 1fr 0.7fr;
  }
}

@media (max-width: 991px) {
  .hero-inner-page {
    height: 620px;
    min-height: 620px;
    padding: 50px 32px !important;
  }

  .mutua-content-section,
  .mutua-cultura-section {
    padding: 50px 32px !important;
  }

  .mutua-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .mutua-card-mision,
  .mutua-card-vision,
  .mutua-values,
  .mutua-audio-box {
    grid-column: auto;
    grid-row: auto;
  }

  .mutua-values,
  .mutua-audio-box {
    min-height: auto;
  }

  .mutua-audio-box {
    padding: 36px 20px;
  }

  .mutua-cultura-audio-col {
    min-height: 140px;
    justify-content: flex-start;
  }
}

@media (max-width: 575px) {
  .hero-inner-page {
    height: 520px;
    min-height: 520px;
    padding: 42px 20px !important;
  }

  .hero-inner-page .page-title {
    font-size: 22px;
    line-height: 28px;
  }

  .mutua-content-section,
  .mutua-cultura-section {
    padding: 42px 20px !important;
  }

  .mutua-content-section h2,
  .mutua-cultura-section h2 {
    font-size: 24px;
    line-height: 30px;
  }

  .mutua-card p,
  .mutua-values p,
  .mutua-cultura-section p {
    font-size: 14px;
    line-height: 19px;
  }
}


/* =========================================================
   PÁGINA MUTUA MAZ - RED DE CENTROS
   Sección azul oscuro posterior a Cultura organizacional.
   Incluye texto, enlace, podcast e ilustración.
   ========================================================= */
.mutua-red-centros-section {
  background: #006CA6;
  padding: 50px 200px !important;
  color: #ffffff;
}

.mutua-red-centros-container {
  max-width: 1040px;
  padding-left: 0;
  padding-right: 0;
}

.mutua-red-centros-row {
  min-height: 326px;
}

.mutua-red-copy {
  max-width: 500px;
}

.mutua-red-copy h2 {
  color: #ffffff;
  font-size: 30px;
  line-height: 36px;
  font-weight: 600;
  margin: 0 0 30px;
}

.mutua-red-copy p {
  color: #ffffff;
  font-size: 16px;
  line-height: 20px;
  font-weight: 300;
  margin-bottom: 22px;
  max-width: 430px;
}

.mutua-red-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #ffffff;
  font-size: 14px;
  line-height: 18px;
  font-weight: 600;
  text-decoration: none;
  margin: 4px 0 24px;
}

.mutua-red-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.mutua-red-link-icon {
  font-size: 16px;
  line-height: 1;
}

.mutua-red-audio {
  align-items: center;
  justify-content: center;
  margin-top: 0;
  text-align: center;
}

.mutua-red-audio .label {
  color: #ffffff;
  text-align: center;
}

.mutua-red-illustration {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 260px;
}

.mutua-red-illustration img {
  width: 360px;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* Si todavía no has subido red-centros.svg, este fondo evita que quede un hueco raro */
.mutua-red-illustration img[src$="zaragoza.png"] {
  min-height: 190px;
}


/* =========================================================
   RESPONSIVE - RED DE CENTROS
   Ajusta la sección azul en tablet y móvil.
   ========================================================= */
@media (max-width: 1199px) {
  .mutua-red-centros-section {
    padding-left: 80px !important;
    padding-right: 80px !important;
  }
}

@media (max-width: 991px) {
  .mutua-red-centros-section {
    padding: 50px 32px !important;
  }

  .mutua-red-copy {
    max-width: 100%;
  }

  .mutua-red-copy p {
    max-width: 100%;
  }

  .mutua-red-illustration {
    margin-top: 35px;
    min-height: auto;
  }

  .mutua-red-illustration img {
    width: 320px;
  }
}

@media (max-width: 575px) {
  .mutua-red-centros-section {
    padding: 42px 20px !important;
  }

  .mutua-red-copy h2 {
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 22px;
  }

  .mutua-red-copy p {
    font-size: 14px;
    line-height: 19px;
  }

  .mutua-red-illustration img {
    width: 260px;
  }
}


/* =========================================================
   PÁGINA MUTUA MAZ - DISTINCIONES, CERTIFICADOS Y PREMIOS
   Sección blanca posterior a Red de centros.
   Incluye texto a la izquierda, vídeo y podcast a la derecha.
   ========================================================= */
.mutua-distinciones-section {
  background: #ffffff;
  padding: 45px 200px 45px !important;
}

.mutua-distinciones-container {
  max-width: 1040px;
  padding-left: 0;
  padding-right: 0;
}

.mutua-distinciones-row {
  min-height: 463px;
}

.mutua-distinciones-copy {
  max-width: 500px;
}

.mutua-distinciones-copy h2 {
  color: #006CA6;
  font-size: 30px;
  line-height: 36px;
  font-weight: 600;
  margin: 0 0 28px;
}

.mutua-distinciones-copy p {
  color: #545353;
  font-size: 16px;
  line-height: 20px;
  font-weight: 300;
  margin-bottom: 22px;
  max-width: 500px;
}

.mutua-distinciones-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 320px;
}

.mutua-distinciones-media .section-video {
  width: 500px;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: 10px;
  background: #006CA6;
  object-fit: contain;
  display: block;
}

.mutua-distinciones-audio {
  margin-top: 24px;
}

.mutua-distinciones-audio .label {
  color: #006CA6;
}


/* =========================================================
   RESPONSIVE - DISTINCIONES, CERTIFICADOS Y PREMIOS
   Ajusta texto, vídeo y podcast en tablet y móvil.
   ========================================================= */
@media (max-width: 1199px) {
  .mutua-distinciones-section {
    padding-left: 80px !important;
    padding-right: 80px !important;
  }
}

@media (max-width: 991px) {
  .mutua-distinciones-section {
    padding: 50px 32px !important;
  }

  .mutua-distinciones-copy {
    max-width: 100%;
    margin-bottom: 32px;
  }

  .mutua-distinciones-copy p {
    max-width: 100%;
  }

  .mutua-distinciones-media {
    align-items: flex-start;
    min-height: auto;
  }

  .mutua-distinciones-media .section-video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .mutua-distinciones-audio {
    align-items: flex-start;
  }
}

@media (max-width: 575px) {
  .mutua-distinciones-section {
    padding: 42px 20px !important;
  }

  .mutua-distinciones-copy h2 {
    font-size: 24px;
    line-height: 30px;
  }

  .mutua-distinciones-copy p {
    font-size: 14px;
    line-height: 19px;
  }
}


/* =========================================================
   PÁGINA MUTUA MAZ - INTELIGENCIA ARTIFICIAL
   Sección azul claro posterior a Distinciones.
   Texto a la izquierda y podcast a la derecha.
   ========================================================= */
.mutua-ia-section {
  background: #BBE1F4;
  padding: 60px 200px 60px !important;
}

.mutua-ia-container {
  max-width: 1040px;
  padding-left: 0;
  padding-right: 0;
}

.mutua-ia-row {
  min-height: 406px;
}

.mutua-ia-copy {
  max-width: 741px;
}

.mutua-ia-copy h2 {
  color: #006CA6;
  font-size: 30px;
  line-height: 36px;
  font-weight: 600;
  margin: 0 0 28px;
}

.mutua-ia-copy p {
  color: #545353;
  font-size: 16px;
  line-height: 20px;
  font-weight: 300;
  margin-bottom: 18px;
  max-width: 600px;
}

.mutua-ia-audio-col {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mutua-ia-illustration img {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  border-radius: 12px;
  margin: 0 auto;
}

.mutua-ia-audio {
  margin-top: 16px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.mutua-ia-audio-col .audio-widget .label {
  color: #006CA6;
}


/* =========================================================
   RESPONSIVE - INTELIGENCIA ARTIFICIAL
   Ajusta la sección en tablet y móvil.
   ========================================================= */
@media (max-width: 1199px) {
  .mutua-ia-section {
    padding-left: 80px !important;
    padding-right: 80px !important;
  }
}

@media (max-width: 991px) {
  .mutua-ia-section {
    padding: 50px 32px !important;
  }

  .mutua-ia-copy {
    max-width: 100%;
  }

  .mutua-ia-copy p {
    max-width: 100%;
  }

  .mutua-ia-audio-col {
    min-height: 140px;
    justify-content: flex-start;
  }
}

@media (max-width: 575px) {
  .mutua-ia-section {
    padding: 42px 20px !important;
  }

  .mutua-ia-copy h2 {
    font-size: 24px;
    line-height: 30px;
  }

  .mutua-ia-copy p {
    font-size: 14px;
    line-height: 19px;
  }
}


/* =========================================================
   AJUSTE FINAL IA
   Ajusta la sección final de Inteligencia Artificial:
   - fondo azul claro del diseño
   - bloque de texto amplio
   - podcast alineado a la derecha
   ========================================================= */
.mutua-ia-section {
  background: #BBE1F4;
}

.mutua-ia-copy {
  max-width: 741px;
}

.mutua-ia-row {
  min-height: 406px;
}

.mutua-ia-audio-col {
  min-height: 320px;
}

/* =========================================================
   HOVER ANIMATIONS — botones y enlaces
========================================================= */

/* Nav links — subrayado deslizante */
.navbar-maz .nav-link {
  position: relative;
}
.navbar-maz .nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: width 0.25s ease;
}
.navbar-maz .nav-link:hover::after,
.navbar-maz .nav-link.active::after {
  width: 100%;
}

/* Links de texto (PDF, Portal Transparencia…) — subrayado + desplazamiento */
a.carta-pdf-link,
a.partners-link-text,
a.legal-link {
  transition: color 0.2s ease, letter-spacing 0.2s ease;
}
a.carta-pdf-link:hover,
a.partners-link-text:hover,
a.legal-link:hover {
  letter-spacing: 0.02em;
}

/* Page-nav — escala sutil al hover */
.page-nav-next-block,
.page-nav-prev-link {
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.page-nav-next-block:hover {
  opacity: 0.85;
  transform: translateX(4px);
}
.page-nav-prev-link:hover {
  opacity: 0.85;
  transform: translateX(-4px);
}

/* Tarjetas sociedad — elevación */
.sociedad-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sociedad-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,108,166,0.12);
}

/* Botones de descarga / CTA genéricos */
.btn-maz,
.btn-download,
[class*="btn-"] {
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.btn-maz:hover,
.btn-download:hover,
[class*="btn-"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,108,166,0.20);
  opacity: 0.92;
}
/* Carta director gerente — texto alineado a la derecha */
.carta-copy-right-align {
  text-align: right;
}
.carta-copy-right-align .pdf-link,
.carta-copy-right-align .audio-widget {
  justify-content: flex-end;
}
/* Contingencias profesionales — bloques IMS, CUME, Lactancia */
.prof-block {
  margin-top: 16px;
}

.prof-block h3 {
  color: #006CA6;
  font-size: 18px;
  line-height: 22px;
  font-weight: 600;
  margin: 0 0 4px;
}

.prof-p {
  color: #545353;
  font-size: 14px !important;
  line-height: 21px !important;
  font-weight: 300;
  margin: 0;
}

.prof-p strong {
  font-weight: 600;
  color: #545353;
}

/* Contingencias comunes — párrafos gris */
.comunes-p {
  color: #545353;
  font-size: 14px;
  line-height: 21px;
  font-weight: 300;
  margin-bottom: 10px;
}

.comunes-p strong {
  font-weight: 600;
  color: #545353;
}

/* Nuestras personas — intro azul */
.personas-intro-p {
  color: #006CA6;
  font-size: 14px;
  line-height: 21px;
  font-weight: 300;
  margin-bottom: 16px;
}

.personas-intro-p strong {
  font-weight: 600;
  color: #006CA6;
}

/* Stats grid personas — gris, b bold gris */
.personas-stats-grid b {
  font-weight: 600;
  color: #545353;
  font-size: 13px;
}

/* Colaboración con la Seguridad Social */
.seg-stat-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 14px;
}

.seg-big {
  font-size: 18px;
  font-weight: 600;
  line-height: normal;
}

.seg-label {
  font-size: 14px;
  font-weight: 300;
  line-height: 18px;
}

.seg-pct {
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
}

.dato-rojo-suave {
  color: #EF2F2F !important;
}

.seg-p {
  color: #545353;
  font-size: 14px;
  line-height: 21px;
  font-weight: 300;
  margin-bottom: 12px;
}

.seg-p strong {
  font-weight: 600;
  color: #545353;
}

.seg-p strong.dato-rojo,
.seg-p .dato-rojo {
  color: #EF2F2F !important;
}

/* Cambio climático — párrafos gris y rojo */
.clima-p-gris {
  color: #545353;
  font-size: 14px;
  line-height: 21px;
  font-weight: 300;
  margin-bottom: 12px;
}

.clima-p-gris strong {
  font-weight: 600;
  color: #545353;
}

.clima-p-rojo {
  color: #EF2F2F;
  font-size: 14px;
  line-height: 21px;
  font-weight: 300;
  margin-bottom: 12px;
}

.clima-p-rojo strong {
  font-weight: 600;
  color: #EF2F2F;
}

.clima-pct {
  font-size: 13px;
  font-weight: 600;
  color: inherit;
}

/* AJUSTE VÍDEOS YOUTUBE: el vídeo reemplaza completamente el cuadro guía */
.video-frame,
.video-frame-cifras,
.mutua-distinciones-media .section-video,
.mutua-distinciones-media iframe {
  background: transparent !important;
}

.video-frame iframe,
.video-frame-cifras iframe,
.mutua-distinciones-media .section-video,
.mutua-distinciones-media iframe {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  border: 0 !important;
}
