html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", Arial, sans-serif;
  background: #730d36;
  color: #730d36;
}

header {
  background: #fff;
  border-bottom: 1px solid #f2d5db;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1250px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 36px 18px 24px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header-logo {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  background: #fbe4eb;
  object-fit: cover;
}

.header-title-group {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.header-title {
  font-weight: 700;
  font-size: 1.25rem;
  color: #730d36;
  margin-bottom: 2px;
}

.header-subtitle {
  font-size: 1.05rem;
  color: #d62e63;
  margin-top: 0;
}

.header-right .cta-header {
  background: #d62e63;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  padding: 10px 22px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1rem;
  transition: background 0.2s;
  border: none;
}
.header-right .cta-header:hover {
  background: #a10d3f;
}

.material-icons {
  font-size: 1.25em;
  vertical-align: middle;
}

/* HERO */
.hero {
  overflow-y: hidden;
  background: rgb(252, 242, 244);
  min-height: 540px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 56px 16px 48px 16px;
  text-align: center;
  overflow-x: hidden;
}

.hero-logo {
  z-index: 1;
  margin-top: -10rem;
  display: block;
  max-width: 50rem;
  /* max-height: auto; <-- 'auto' no es válido en max-height, omítelo o usa un valor px/rem/% */
  border: none;
  object-fit: cover;
  opacity: 0;
  transform: translateY(-40px) scale(0.95);
  animation: logo-fade-in 1.2s cubic-bezier(0.23, 1.02, 0.58, 1) forwards;
}

@keyframes logo-fade-in {
  0% {
    opacity: 0;
    transform: translateY(-40px) scale(0.95);
  }
  70% {
    opacity: 1;
    transform: translateY(5px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

#hero-content {
  z-index: 2;
  margin-top: -24rem;
}
.hero h1 {
  font-size: 3.4rem;
  font-weight: 700;
  color: #8a1a45;
  margin-bottom: 18px;
  margin-top: 0;
  letter-spacing: -1.5px;
}

.hero h2 {
  font-size: 1.45rem;
  font-weight: 600;
  color: #b0184e;
  margin-top: 0;
  margin-bottom: 24px;
}

.certificaciones {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.badge {
  background-color: rgb(255 228 230 / var(--tw-bg-opacity, 1));
  color: #a10d3f;
  border-radius: 16px;
  padding: 5px 18px;
  font-size: 1rem;
  font-weight: 600;
  display: inline-block;
  margin: 4px 0;
}

div.cedulas {
  font-size: 1.03rem;
  margin: 10px 0 32px 0;
  color: rgb(225 29 72 / var(--tw-text-opacity, 1));
}
div.cedulas a {
  font-size: 1.03rem;
  margin: 10px 0 32px 0;
  color: rgb(225 29 72 / var(--tw-text-opacity, 1));
}
a:hover {
  color: #8a1a45;
  cursor: pointer;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  border-radius: 8px;
  background: #d62e63;
  color: #fff;
  font-weight: 600;
  padding: 13px 34px;
  text-decoration: none;
  font-size: 1.07rem;
  box-shadow: 0 2px 12px #d62e6330;
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
}
.btn:hover {
  background: #a10d3f;
  transform: translateY(-2px) scale(1.02);
  color: #fff;
}
.btn.btn-message {
  background: #fff;
  color: #a10d3f;
  border: 2px solid #d62e63;
}
.btn.btn-message:hover {
  background: #fbe4eb;
}

@media (max-width: 850px) {
  .hero-logo {
    margin-top: -10rem;
    display: block;
    max-width: 50rem;
    max-height: auto;
    border-color: black 1px solid;
    object-fit: cover;
  }
  #hero-content {
    margin-top: -23rem;
  }
  .header-container {
    gap: 16px;
    align-items: flex-start;
    padding: 18px 12px;
  }
  .hero h1 {
    font-size: 2.1rem;
  }
}
@media (max-width: 500px) {
  .hero h1 {
    font-size: 1.4rem;
  }
  .hero h2 {
    font-size: 1rem;
  }
  .btn,
  .btn.btn-message {
    padding: 10px 18px;
    font-size: 0.98rem;
  }
  .header-title {
    font-size: 1.1rem;
  }
  .header-subtitle {
    font-size: 0.98rem;
  }
}
.about-me-section {
  background: #fde9ee;
  padding: 56px 0 72px 0;
}
.about-me-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  gap: 48px;
  align-items: flex-start;
  justify-content: center;
  padding: 0 24px;
}
.about-me-photo {
  flex: 0 0 270px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: sticky;
  top: 110px; /* O la distancia que quieras respecto al top de la ventana */
  z-index: 2;
}
.about-me-photo img {
  width: 270px;
  height: 430px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 36px #b0184e33;
  border: 1px solid #fff;
  background: #fbe4eb;
}
.about-me-info {
  flex: 1 1 0;
  min-width: 320px;
}
.about-title {
  font-size: 2.35rem;
  color: #8a1a45;
  font-weight: 700;
  margin-bottom: 0.5em;
  margin-top: 0;
  text-align: left;
}
.about-subtitle {
  font-size: 1.18rem;
  color: #d62e63;
  margin-bottom: 2.2em;
  text-align: left;
}
.about-cards {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.about-card {
  flex: 1 1 270px;
  min-width: 260px;
  background: #fff;
  border-radius: 1.1em;
  box-shadow: 0 6px 32px #b0184e12;
  padding: 1.8em 1.5em 1.5em 1.5em;
  margin-bottom: 16px;
  transition: box-shadow 0.2s;
}
.about-card:hover {
  box-shadow: 0 10px 40px #b0184e22;
}
.about-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  color: #b0184e;
  font-weight: 700;
  margin-bottom: 18px;
}
.about-icon {
  font-size: 2.1em !important;
  color: #d62e63;
}
.about-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 1.1em;
}
.about-item-icon {
  font-size: 1.4em !important;
  color: #d62e63;
  margin-top: 2px;
}
.about-item-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-right: 10px;
}
.about-list b {
  font-weight: 700;
  color: #8a1a45;
  display: block;
}
.about-list div {
  font-size: 0.97em;
  color: #585656;

  margin-top: -0.3em;
  display: block;
}
@media (max-width: 1100px) {
  .about-cards {
    flex-direction: column;
    gap: 24px;
  }
  .about-card {
    min-width: 0;
  }
}
@media (max-width: 800px) {
  .about-me-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .about-card {
    padding: 0;
  }
  .about-me-photo {
    position: static;
    top: auto;
    flex: 0 0 auto;
    margin-bottom: 24px;
  }
  .about-me-photo img {
    width: 310px;
    height: auto;
  }
  .about-title,
  .about-subtitle {
    text-align: center;
  }
  .about-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-align: left;
    gap: 8px;
    margin-block-start: 18px;
  }

  .about-list li {
    display: flex;
    align-items: center;
    justify-content: left;
    margin: 12px;
    text-align: left;
    gap: 8px;
    margin-block-start: 18px;
  }
}
@media (max-width: 500px) {
  header {
    display: none;
  }
  .hero {
    margin-top: -5rem;
  }
  .about-me-photo img {
    width: 240px;
    height: 400px;
    object-fit: cover;
  }
  .about-card {
    padding: 0;
  }
  .about-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-align: left;
    gap: 8px;
    margin-block-start: 18px;
  }

  .about-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 12px;
    text-align: left;
    gap: 8px;
    margin-block-start: 18px;
  }
}
.timeline-section {
  background: #fff6f8;
  padding: 48px 0 72px 0;
}
.timeline-container {
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}
.timeline-title {
  color: #8a1a45;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.timeline-desc {
  color: #e11d48;
  font-size: 1.18rem;
  margin-bottom: 2.2em;
}

.timeline-steps {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}
.timeline-step {
  background: #fff;
  border: 2px solid #f8c3d2;
  border-radius: 18px;
  box-shadow: 0 3px 24px #e11d4822;
  flex: 1 1 230px;
  min-width: 210px;
  max-width: 300px;
  padding: 32px 22px 26px 22px;
  margin-bottom: 24px;
  position: relative;
  transition: box-shadow 0.17s, border-color 0.17s;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.timeline-step:hover {
  border-color: #e11d48;
  box-shadow: 0 10px 36px #e11d4844;
}
.timeline-icon {
  width: 66px;
  height: 66px;
  background: #fde9ee;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.timeline-circle {
  width: 36px;
  height: 36px;
  background: #e11d48;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2em;
  position: relative;
  margin-bottom: 14px;
  margin-top: -30px;
  z-index: 1;
  border: 4px solid #fff6f8;
  box-shadow: 0 2px 12px #e11d4822;
}
.timeline-step h3 {
  color: #b0184e;
  font-size: 1.19rem;
  font-weight: 700;
  margin: 0 0 8px 0;
}
.timeline-step p {
  color: #495057;
  font-size: 1.01rem;
  margin: 0;
  font-weight: 400;
}

/* Línea horizontal entre pasos en desktop */
.timeline-steps {
  position: relative;
}
.timeline-steps::before {
  content: "";
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, #fde9ee 5%, #e11d48 65%, #fde9ee 95%);
  z-index: 0;
  /* El gradiente le da un toque sutil */
}

/* Ajuste para que los círculos de los pasos tapen la línea */
.timeline-step {
  z-index: 1;
  background-clip: padding-box;
}

/* Responsive: Vertical en móviles */
@media (max-width: 1000px) {
  .timeline-steps {
    flex-direction: column;
    align-items: center;
    gap: 0px;
  }
  .timeline-steps::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, #fde9ee 5%, #e11d48 65%, #fde9ee 95%);
    transform: translateX(-50%);
    z-index: 0;
  }
  .timeline-step {
    max-width: 95vw;
    min-width: 0;
    margin-bottom: 42px;
  }
  .timeline-circle {
    margin-top: -24px;
  }
}

/* Mejora visual en pantallas muy pequeñas */
@media (max-width: 600px) {
  .timeline-step {
    padding: 20px 10px 18px 10px;
  }
}
.proceso-timeline-simple {
  background: #fff;
  padding: 50px 0 70px 0;
  text-align: center;
}
.timeline-title {
  color: #000000;
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  margin-top: 12px;
}
.timeline-desc {
  color: #000000;
  font-size: 1.17rem;
  margin-bottom: 2.2em;
  padding: 0 2rem;
}

/* Contenedor pasos */
.timeline-simple-steps {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  gap: 48px;
  margin: 0 auto;
  max-width: 1150px;
  padding: 36px 16px 0 16px;
  min-height: 170px;
}

/* Línea horizontal */
.timeline-simple-steps::before {
  content: "";
  position: absolute;
  top: 33px;
  left: 20px;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, #fde9ee 0%, #e11d48 70%, #fde9ee 100%);
  z-index: 0;
  border-radius: 2px;
}

/* Paso individual */
.timeline-simple-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 140px;
  min-width: 120px;
  position: relative;
  z-index: 2;
}

/* Círculo/número */
.timeline-simple-marker {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #e11d48;
  color: #fff;
  border: 4px solid #fff6f8;
  font-weight: 700;
  font-size: 1.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  margin-bottom: 14px;
  margin-top: -27px;
  box-shadow: 0 2px 10px #e11d4833;
}
.timeline-simple-marker span {
  position: relative;
  top: 2px;
}

/* Texto debajo del número */
.timeline-simple-text {
  font-size: 1.07rem;
  color: #b0184e;
  margin-top: 7px;
}
.timeline-simple-text strong {
  font-size: 1.09em;
  font-weight: 700;
  display: block;
  margin-bottom: 3px;
}
.timeline-simple-text span {
  color: #495057;
  font-size: 0.98em;
  font-weight: 400;
}

/* RESPONSIVE: vertical en móviles */
@media (max-width: 900px) {
  .timeline-simple-steps {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    min-height: unset;
    padding: 0 0 0 38px;
    max-width: 98vw;
  }
  .timeline-simple-steps::before {
    /* Línea vertical */
    top: 0;
    left: 46px;
    right: auto;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, #fde9ee 0%, #e11d48 70%, #fde9ee 100%);
  }
  .timeline-simple-step {
    flex-direction: row;
    align-items: flex-start;
    min-width: unset;
    max-width: unset;
  }
  .timeline-simple-marker {
    margin: 0 18px 0 0;
    margin-left: -20px;
    min-width: 52px;
    min-height: 52px;
  }
  .timeline-simple-text {
    text-align: left;
    margin-top: 0;
    margin-left: 0;
  }
}
@media (max-width: 500px) {
  .timeline-desc {
    padding: 0 2rem;
  }
  .timeline-simple-steps::before {
    /* Línea vertical */
    top: 0;
    left: 30px;
    right: auto;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, #fde9ee 0%, #e11d48 70%, #fde9ee 100%);
  }
  .timeline-simple-marker {
    margin-left: -35px;
    min-width: 50px;
    height: 50px;
    font-size: 1.15rem;
  }
  .timeline-simple-text {
    font-size: 0.98rem;
  }
}
.seccion-listas-medicas {
  background-image: url(/assets/dra-galvan2.png);
  background-size: cover;
  background-position: center 25%; /* 30% baja la imagen, puedes probar con 40%, 50%, etc. */
  position: relative;
  padding: 52px 0 64px 0;
  text-align: center;
  z-index: 1;
  overflow: hidden;
}
.seccion-listas-medicas::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55); /* Oscuro con transparencia */
  z-index: 2;
  pointer-events: none;
  backdrop-filter: blur(0px);
}
.seccion-listas-medicas > * {
  position: relative;
  z-index: 3;
}

.listas-titulo {
  color: #ffffff;
  font-size: 2.08rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -1px;
  text-align: center;
}
.listas-titulo.subtitulo {
  margin-top: 40px;
  font-size: 1.5rem;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.lista-medica {
  display: grid;
  color: white;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px 22px;
  max-width: 1200px;
  margin: 0 auto 16px auto;
  padding: 12px;
  background: none;
  text-align: left;
  font-weight: 700;
}
@media (max-width: 1000px) {
  .lista-medica {
    list-style: none;
    /* 2 columnas en tablets */
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 10px;
    margin: 0 auto 16px 20px;
  }
}
.testimonios-section {
  background: #fff6f8;
  padding: 60px 0 72px 0;
  text-align: center;
}
.testimonios-titulo {
  font-size: 2rem;
  font-weight: 700;
  color: #8a1a45;
  margin-bottom: 38px;
  letter-spacing: -1px;
}

.testimonio-card {
  background: #fff;
  border-radius: 19px;
  box-shadow: 0 4px 32px #fff6f8;
  padding: 32px 36px 22px 36px;
  text-align: left;
  /* min-width: 400px; */
  /* max-width: 550px; */
  min-height: 260px;
  max-height: 320px;
  border: 1.5px solid #fbe4eb;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  height: 320px;
  overflow: hidden;
  width: 100%; /* Nuevo: ocupa todo el slide */
  box-sizing: border-box; /* Asegura que el padding no desborde */
}

.testimonio-quote {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.testimonio-comillas {
  color: #e11d48;
  font-size: 2.3em;
  line-height: 1;
}
.testimonio-stars {
  color: #fec901;
  font-size: 1.4em;
  letter-spacing: -3px;
}
blockquote {
  font-style: italic;
  color: #283646;
  margin: 0 0 18px 0;
  line-height: 1.56;
  flex: 1 1 auto;
  overflow-y: auto; /* Si el texto es muy largo, sale scroll dentro de la tarjeta */
  max-height: 140px; /* Ajusta para que nunca desborde el avatar ni el nombre */
}
.testimonio-user {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
  flex-shrink: 0;
}
.testimonio-avatar {
  width: 52px;
  height: 52px;
  font-weight: 700;
  font-size: 1.26em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fde9ee;
  color: #b0184e;
  box-shadow: 0 2px 10px #e11d4813;
  margin-right: 2px;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.testimonio-nombre {
  font-weight: 700;
  color: #b0184e;
  font-size: 1.08em;
}
.testimonio-meta {
  color: #283646;
  font-size: 0.96em;
  font-weight: 400;
}
#testimoniosSwiper {
  margin: 0 20px 0 20px;
}
.swiper-pagination {
  margin-top: 20px;
}
.swiper-pagination-bullet {
  background: #e11d48 !important;
  opacity: 1;
}
.swiper-pagination-bullet-active {
  background: #b0184e !important;
}
#menu-swiper {
  margin-top: 20px;
  position: initial;
}

@media (max-width: 900px) {
  .testimonio-card {
    padding: 14px 8px 10px 8px;
    min-height: 280px;
    height: 210px;
    max-height: 410px;
  }
  blockquote {
    max-height: 1000px;
    font-size: 0.96rem;
  }
}
.contacto-section {
  background: #ffffff;
  padding: 60px 0 70px 0;
  text-align: center;
}
.contacto-titulo {
  color: #000000;
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -1px;
}
.contacto-subtitulo {
  color: #000000;
  font-size: 1.18rem;
  font-weight: 400;
  margin-bottom: 38px;
}
.contacto-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: center;
}
.contacto-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 18px #e11d4811;
  padding: 30px 30px 22px 30px;
  flex: 1 1 320px;
  min-width: 310px;
  max-width: 370px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: flex-start;
  border: 1.3px solid #fbe4eb;
  text-align: left;
  transition: box-shadow 0.15s, border-color 0.13s;
}
.contacto-card:hover {
  border-color: #e11d48;
  box-shadow: 0 6px 24px #e11d4822;
}
.contacto-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 700;
  color: #b0184e;
  margin-bottom: 16px;
}
.contacto-card-ico {
  font-size: 1.4em;
  background: #fde9ee;
  color: #e11d48;
  border-radius: 8px;
  padding: 7px 8px;
  margin-right: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.contacto-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}
.contacto-item-ico {
  font-size: 1.35em;
  background: #fde9ee;
  color: #e11d48;
  border-radius: 8px;
  padding: 7px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
  min-width: 32px;
  text-align: center;
}
.contacto-item-titulo {
  font-weight: 700;
  color: #b0184e;
  font-size: 1.09em;
  margin-bottom: 2px;
}
.contacto-link {
  color: #e11d48;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.16s;
  word-break: break-all;
}
.contacto-link:hover {
  color: #a10d3f;
  text-decoration: underline;
}
.contacto-item-desc {
  font-size: 0.97em;
  color: #6c7383;
}
.contacto-resaltado {
  color: #e11d48;
  font-weight: 700;
  font-size: 1.06em;
}
.contacto-card-sociales {
  margin-bottom: 18px;
}
.contacto-social-titulo {
  font-weight: 700;
  color: #23283a;
  margin-bottom: 10px;
}
.contacto-social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1.4px solid #e11d48;
  color: #e11d48;
  border-radius: 8px;
  padding: 8px 18px;
  margin-bottom: 12px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.04em;
  transition: background 0.13s, color 0.13s, border-color 0.13s;
}
.contacto-social-link:hover {
  background: #fde9ee;
  color: #a10d3f;
  border-color: #a10d3f;
}
.contacto-social-ico {
  font-size: 1.21em;
}
.contacto-divider {
  border: none;
  border-top: 1.2px solid #fbe4eb;
  margin: 13px 0 18px 0;
}

@media (max-width: 1000px) {
  .contacto-cards {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }
  .contacto-card {
    min-width: 0;
    max-width: 80vw;
    width: 98vw;
    padding: 26px 8vw 18px 8vw;
  }
}

@media (max-width: 600px) {
  .contacto-section {
    padding: 34px 0 38px 0;
  }
  .contacto-titulo {
    margin-bottom: 7px;
  }
  .contacto-subtitulo {
    font-size: 1.01rem;
    margin-bottom: 20px;
  }
  .contacto-card {
    max-width: 90vw;
    padding: 17px 2vw 12px 2vw;
    font-size: 0.98em;
    border-radius: 8px;
  }
  .contacto-card-header {
    font-size: 1.1rem;
  }
  .contacto-card-ico,
  .contacto-item-ico {
    padding: 5px 6px;
    font-size: 1em;
  }
}
.footer-section {
  background: #89183a;
  color: #fff;
  padding: 38px 0 0 0;
  font-size: 1.06em;
}
.footer-main {
  display: flex;
  gap: 46px;
  max-width: 1450px;
  margin: 0 auto;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 42px 0 42px;
}
.footer-col {
  flex: 1 1 240px;
  min-width: 200px;
  max-width: 370px;
  margin-bottom: 18px;
}
.footer-col-logo {
  flex: 2 1 340px;
  min-width: 270px;
  max-width: 550px;
}
.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 13px;
}
.footer-logo-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  border: 2.4px solid #fbe4eb33;
  box-shadow: 0 1px 8px #0002;
}
.footer-title {
  font-weight: 700;
  font-size: 1.38em;
}
.footer-subtitle {
  color: #fff;
  font-size: 1.03em;
  margin-top: 2px;
}
.footer-desc {
  margin: 15px 0 18px 0;
  color: #fff;
  font-size: 1em;
  font-weight: 400;
}
.footer-socials {
  display: flex;
  gap: 16px;
  margin-top: 9px;
}
.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 9px;
  padding: 8px 14px;
  transition: box-shadow 0.13s, background 0.13s;
  border: none;
  box-shadow: 0 1px 6px #e11d4832;
}
.footer-social-btn:hover {
  background: #fde9ee;
  box-shadow: 0 2px 18px #e11d4877;
}
.footer-subsection-title {
  font-size: 1.24em;
  font-weight: 700;
  margin-bottom: 15px;
}
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact-link {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px dotted #fff4;
  transition: color 0.14s, border-bottom-color 0.14s;
}
.footer-contact-link:hover {
  color: #fde9ee;
  border-bottom: 1.5px solid #fde9ee;
}
.footer-contact-ico {
  margin-right: 8px;
  font-size: 1.11em;
}
.footer-list {
  list-style: disc inside;
  padding-left: 0;
  margin: 0;
  color: #fff;
}
.footer-list li {
  margin-bottom: 7px;
  font-size: 1.07em;
}
.footer-divider {
  border: none;
  border-top: 1.4px solid #e11d4865;
  margin: 22px 1vw 18px 1vw;
}
.footer-bottom {
  text-align: center;
  padding-bottom: 22px;
  color: #fff;
  font-size: 1.07em;
}
.footer-cedulas {
  margin-bottom: 4px;
  font-weight: 500;
}
.footer-legal {
  font-size: 0.98em;
  color: #fff;
}

@media (max-width: 950px) {
  .footer-col-logo {
    flex: 1 1 100%;
    max-width: 100%;
    text-align: center;
  }
  .footer-main {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    padding: 0 5vw;
  }
  .footer-col,
  .footer-col-logo {
    min-width: 0;
    max-width: 98vw;
    margin-bottom: 12px;
  }
  .footer-logo-img {
    width: 52px;
    height: 52px;
  }
  .footer-title {
    font-size: 1.1em;
  }
}
@media (max-width: 550px) {
  .footer-main {
    padding: 20px;
    gap: 24px;
  }
  .footer-section {
    font-size: 0.95em;
    padding-top: 16px;
  }

  .footer-logo-img {
    width: 40px;
    height: 40px;
  }
}
/* En tu archivo de footer o global: */

.footer-section {
  background: #b7617a;
  color: #fff;
  padding: 38px 0 0 0;
  font-size: 1.06em;
}
.footer-section a {
  color: #fff;
  text-decoration: none;
  transition: color 0.18s, border-bottom 0.15s;
  border-bottom: 1.5px dotted transparent;
  font-weight: 600;
  word-break: break-word;
}
.footer-section a:visited {
  color: #fff;
}
.footer-section a:hover,
.footer-section a:focus {
  color: #fff;
  border-bottom: 1.5px solid #fde9ee;
  text-decoration: none;
}

/* Iconos redes sociales footer */
.footer-social-btn svg {
  display: block;
}
.footer-social-btn {
  background: #fff;
  border-radius: 9px;
  padding: 8px 14px;
  transition: box-shadow 0.13s, background 0.13s;
  border: none;
  box-shadow: 0 1px 6px #e11d4832;
}
.footer-social-btn:hover svg path,
.footer-social-btn:hover svg rect {
  stroke: #e11d48 !important;
  fill: #fde9ee !important;
}

/* Quita el azul de los links de cédula (heredado de anchor) */
.footer-section .footer-bottom a {
  color: #fff;
}
.footer-section .footer-bottom a:hover,
.footer-section .footer-bottom a:focus {
  color: #fff;
}

/* Si tienes iconos con fontawesome/lucide, igual: */
.footer-section .footer-contact-ico svg,
.footer-section .footer-social-btn svg {
  stroke: #fff !important;
}

.footer-contact-list > div {
  display: flex;
  align-items: center;
  gap: 10px; /* Espacio entre icono y texto/link */
  margin-bottom: 8px; /* Espacio entre filas */
}
body > footer > div.footer-main > div.footer-col.footer-col-logo > div.footer-socials > a:nth-child(1) > svg,
body > footer > div.footer-main > div.footer-col.footer-col-logo > div.footer-socials > a:nth-child(2) > svg {
  stroke: #e11d48 !important;
}
