/* Paleta y contraste según logo Dr. Williams Trinidad */

body {
  background-color: var(--color-bg);
  color: var(--careon-gray);
}

.page-wrapper {
  background-color: var(--color-bg);
}

/* Header */
.main-menu-three__top {
  background: var(--color1-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.main-menu-three__top-inner {
  padding: 10px 0;
}

.main-menu-three__contact-list {
  flex-wrap: wrap;
  gap: 8px 40px;
}

.main-menu-three__contact-list li:before {
  background-color: rgba(255, 255, 255, 0.2);
}

.main-menu-three__contact-list li .icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  justify-content: center;
}

.main-menu-three__contact-list li .icon i {
  font-size: 14px;
  color: #fff;
}

.main-menu-three__contact-list li,
.main-menu-three__contact-list a,
.main-menu-three__contact-list p {
  color: rgba(255, 255, 255, 0.92);
}

.main-menu-three__contact-list li .text p a {
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
}

.main-menu-three__contact-list li .text p a:hover {
  color: #ffffff;
}

.main-menu-three__wrapper {
  border-bottom: 1px solid var(--careon-bdr-color);
  box-shadow: 0 2px 16px rgba(var(--color1-rgb), 0.06);
}

.stricky-header.stricked-menu.main-menu,
.stricky-header.main-menu-three {
  background: #ffffff !important;
  box-shadow: 0 8px 30px rgba(var(--color1-rgb), 0.1);
}

.main-menu-three__wrapper-inner {
  align-items: center;
}

.main-menu-three__logo a {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.main-menu-three__logo img,
.main-menu-three__logo .img-54 {
  width: auto;
  max-height: 100px;
  height: auto;
  object-fit: contain;
}

.main-menu-three .main-menu__list > li > a {
  color: var(--color1);
  font-weight: 600;
  font-size: 15px;
}

.main-menu-three .main-menu__list > li.current > a,
.main-menu-three .main-menu__list > li:hover > a,
.stricky-header.main-menu-three .main-menu__list > li.current > a,
.stricky-header.main-menu-three .main-menu__list > li:hover > a {
  color: var(--color1-light);
}

.main-menu-three .main-menu__list > li > a::before,
.stricky-header.main-menu-three .main-menu__list > li > a::before {
  background-color: var(--color1);
  height: 3px;
  border-radius: 3px;
}

.main-menu-three .main-menu__list > li.dropdown > a:after {
  color: var(--color1);
}

.main-menu-three .scrollable-dropdown {
  background: #ffffff;
  border: 1px solid var(--careon-bdr-color);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(var(--color1-rgb), 0.12);
  padding: 8px 0;
  min-width: 280px;
}

.main-menu-three .scrollable-dropdown li a {
  color: var(--color1);
  font-size: 14px;
  padding: 10px 20px;
  display: block;
  transition: all 0.25s ease;
}

.main-menu-three .scrollable-dropdown li a:hover {
  background: rgba(var(--color1-rgb), 0.08);
  color: var(--color1-dark);
}

.main-menu-three .scrollable-dropdown::-webkit-scrollbar-thumb {
  background-color: var(--color1);
}

.main-menu-three__call {
  padding: 12px 0;
}

.main-menu-three__call-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(var(--color1-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-menu-three__call-icon i {
  font-size: 20px;
  color: var(--color1);
}

.main-menu-three__call-number p {
  color: var(--color2);
  font-size: 14px;
  margin-bottom: 6px;
}

.main-menu-three__call-number h5 a {
  color: var(--color1);
  font-weight: 700;
}

.main-menu-three__call-number h5 a:hover {
  color: var(--color1-light);
}

@media (min-width: 1200px) {
  .main-menu-three__main-menu-box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
  }

  .main-menu-three .mobile-nav__toggler {
    display: none !important;
  }
}

@media (max-width: 1199px) {
  .main-menu-three__main-menu-box {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
  }

  .main-menu-three .mobile-nav__toggler {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(var(--color1-rgb), 0.08);
    color: var(--color1);
    font-size: 18px;
  }

  .main-menu-three .mobile-nav__toggler:hover {
    background: var(--color1);
    color: #fff;
  }
}

@media (max-width: 991px) {
  .main-menu-three__contact-list {
    justify-content: center;
  }

  .main-menu-three__contact-list li + li {
    margin-left: 0;
  }
}

/* Botones */
.thm-btn {
  background: var(--botones);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-weight: 600;
}

.thm-btn::before,
.thm-btn::after {
  background-color: var(--color1-dark);
}

.thm-btn:hover {
  color: #fff;
}

.thm-btn-1 {
  background: var(--color2);
  color: #fff;
}

/* Secciones */
.about-one--bio {
  background: linear-gradient(180deg, #ffffff 0%, var(--color-bg) 100%);
}

.services-one::before {
  background: rgba(var(--color1-rgb), 0.06);
}

.services-one__single {
  background: #ffffff;
  border: 1px solid var(--careon-bdr-color);
  box-shadow: 0 10px 30px rgba(var(--color1-rgb), 0.06);
}

.services-one__title {
  color: var(--color1);
}

.blog-one__single {
  background: #ffffff;
  border: 1px solid var(--careon-bdr-color);
  box-shadow: 0 12px 32px rgba(var(--color1-rgb), 0.07);
}

.blog-one__title a {
  color: var(--color1);
}

.blog-one__title a:hover {
  color: var(--color1-light);
}

.blog-one__plus a {
  background: var(--color1);
}

.blog-one__plus a:hover {
  background: var(--color1-light);
}

.blog-one__read-more .thm-btn {
  background: var(--color1);
}

/* FAQ y testimonios */
.faq-one .accrodion-title h4,
.testimonial-one .section-title__title {
  color: var(--color1);
}

/* ========== Testimonios — refinamiento visual ========== */
.testimonial-four {
  padding: 100px 0 90px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(var(--color1-rgb), 0.07) 0%, transparent 70%),
    linear-gradient(180deg, #ffffff 0%, var(--color-bg) 100%);
}

.testimonial-four .section-title {
  margin-bottom: 48px;
}

.testimonial-four .section-title__tagline {
  color: var(--color1-light);
  font-weight: 600;
}

.testimonial-four .section-title__title {
  color: var(--color1);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-four__single {
  background: linear-gradient(165deg, var(--color1) 0%, var(--color1-dark, #043150) 100%);
  border-radius: 18px;
  padding: 36px 32px 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 16px 40px rgba(var(--color1-rgb), 0.18),
    0 4px 12px rgba(16, 37, 66, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 280px;
}

.testimonial-four__single:hover {
  transform: translateY(-4px);
  box-shadow:
    0 22px 48px rgba(var(--color1-rgb), 0.24),
    0 6px 16px rgba(16, 37, 66, 0.1);
}

.testimonial-four__quote {
  top: 28px;
  right: 28px;
  opacity: 0.22;
}

.testimonial-four__quote span {
  font-size: 52px;
  color: #ffffff;
}

.testimonial-four__client-info {
  gap: 16px;
  margin-bottom: 22px;
  padding-right: 48px;
}

.testimonial-four__client-img {
  max-width: 72px;
  flex-shrink: 0;
}

.testimonial-four__client-img img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.testimonial-four__client-content h3 {
  font-size: 1.15rem;
  line-height: 1.35;
  margin-bottom: 4px;
  color: #ffffff;
}

.testimonial-four__client-content p {
  margin: 0 0 8px;
  font-size: 0.85rem;
  opacity: 0.85;
  letter-spacing: 0.02em;
}

.testimonial-four__ratting {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #f5c542;
  font-size: 0.78rem;
  line-height: 1;
}

.testimonial-four__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.94) !important;
  font-weight: 400;
}

.testimonial-four__carousel.owl-carousel .owl-dots {
  max-width: 160px;
  height: 8px;
  margin: 40px auto 0 !important;
  background: rgba(var(--color1-rgb), 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.testimonial-four__carousel.owl-carousel .owl-dots .owl-dot {
  height: 8px;
  border-radius: 999px;
  background: transparent;
}

.testimonial-four__carousel.owl-carousel .owl-dot.active {
  background: var(--color1);
}

@media only screen and (max-width: 767px) {
  .testimonial-four {
    padding: 70px 0 60px;
  }

  .testimonial-four__single {
    padding: 28px 22px 26px;
    min-height: 0;
  }

  .testimonial-four__client-content h3 {
    font-size: 1.05rem;
  }

  .testimonial-four__text {
    font-size: 0.95rem;
  }
}

.accrodion.active .accrodion-title {
  background-color: rgba(var(--color1-rgb), 0.08);
}

/* Footer */
.site-footer {
  background-color: var(--color1-dark);
}

.site-footer,
.site-footer p,
.site-footer a,
.site-footer h4,
.site-footer .site-footer__copyright-text {
  color: rgba(255, 255, 255, 0.9);
}

.site-footer a:hover {
  color: #ffffff;
}

.site-footer__newsletter-inner {
  position: relative;
  overflow: hidden;
  background-image: url(../images/backgrounds/contacto-cirujano-general-y-laparoscopista-en-puebla.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--color1-dark);
}

.site-footer__newsletter-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(16, 37, 66, 0.72) 0%,
    rgba(27, 58, 95, 0.78) 50%,
    rgba(16, 37, 66, 0.82) 100%
  );
  z-index: 0;
  pointer-events: none;
}

.site-footer__newsletter-inner > * {
  position: relative;
  z-index: 1;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* Page header */
.page-header__inner h1 {
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

/* Logo footer y móvil */
.mobile-nav__content .logo-box img,
.site-footer .img-52 {
  max-height: 72px;
  width: auto;
  object-fit: contain;
}

/* WhatsApp — verde en todos los botones */
a[data-type="whatsapp"],
a[data-type^="whatsapp"],
.thm-btndos,
.thm-btn.thm-btndos {
  
  color: #fff !important;
}

a[data-type="whatsapp"]:hover,
a[data-type^="whatsapp"]:hover,
.thm-btndos:hover,
.thm-btn.thm-btndos:hover {
  background: var(--whatsapp-hover) !important;
  background-color: var(--whatsapp-hover) !important;
  color: #fff !important;
}

a[data-type="whatsapp"]::before,
a[data-type="whatsapp"]::after,
a[data-type^="whatsapp"]::before,
a[data-type^="whatsapp"]::after,
.thm-btndos::before,
.thm-btndos::after {
  background-color: var(--whatsapp-hover) !important;
}

.fab2 {
  background: var(--whatsapp) !important;
}

.fab2:hover {
  background: var(--whatsapp-hover) !important;
}

.contacto a[data-type="whatsapp"] {
  background: var(--whatsapp) !important;
}

.contacto a[data-type="whatsapp"]:hover {
  background: var(--whatsapp-hover) !important;
}

#banner-form a[data-type="whatsapp"] {
  background: var(--whatsapp) !important;
  background-color: var(--whatsapp) !important;
}

#banner-form a[data-type="whatsapp"]:hover {
  background: var(--whatsapp-hover) !important;
  background-color: var(--whatsapp-hover) !important;
  color: #fff !important;
}

/* Redes sociales — header y footer */
.redes-sociales {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.redes-sociales__label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
}

.redes-sociales__links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.redes-sociales__link,
.redes-sociales__links > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.redes-sociales__link:hover,
.redes-sociales__links > a:hover {
  background: #fff;
  color: var(--color1);
  transform: translateY(-2px);
}

.redes-sociales--footer {
  justify-content: flex-start;
  width: 100%;
  margin-top: 18px;
  padding-top: 0;
  border-top: none;
}

.redes-sociales--footer .redes-sociales__label {
  font-size: 15px;
  color: var(--color1-light);
  font-weight: 700;
}

.redes-sociales--footer .redes-sociales__link,
.redes-sociales--footer .redes-sociales__links > a {
  background: var(--color1-light);
  color: #fff;
  border-color: var(--color1-light);
  box-shadow: 0 4px 14px rgba(var(--color1-rgb), 0.35);
}

.redes-sociales--footer .redes-sociales__link:hover,
.redes-sociales--footer .redes-sociales__links > a:hover {
  background: #fff;
  color: var(--color1);
  border-color: #fff;
}

.redes-sociales__label--mobile {
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 12px;
  color: var(--color1);
  font-size: 14px;
  font-weight: 600;
}

.mobile-nav__top {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--careon-bdr-color);
}

.mobile-nav__social {
  justify-content: center;
  gap: 14px;
}

.mobile-nav__social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(var(--color1-rgb), 0.08);
  color: var(--color1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s ease;
}

.mobile-nav__social a:hover {
  background: var(--color1);
  color: #fff;
}

@media (max-width: 991px) {
  .redes-sociales--header {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
}

/* ========== Banner home — refinamiento visual ========== */
.main-slider-three {
  overflow: hidden;
}

.main-slider-three__bg {
  background-position: center top;
  filter: saturate(1.05) contrast(1.04);
}

.main-slider-three__bg::after {
  background:
    linear-gradient(
      115deg,
      rgba(16, 37, 66, 0.78) 0%,
      rgba(27, 58, 95, 0.62) 42%,
      rgba(16, 37, 66, 0.55) 72%,
      rgba(16, 37, 66, 0.72) 100%
    ),
    linear-gradient(
      to top,
      rgba(10, 24, 44, 0.55) 0%,
      transparent 42%
    );
}

.main-slider-three .container {
  padding-top: 190px;
  padding-bottom: 130px;
}

.main-slider-three__content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
}

.main-slider-three .main-slider__sub-title {
  display: inline-flex;
  max-width: 100%;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 999px;
  padding: 10px 22px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  text-shadow: none;
}

.main-slider-three__title {
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-top: 22px;
  margin-bottom: 18px;
  color: #ffffff;
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.45),
    0 8px 28px rgba(16, 37, 66, 0.35);
}

.main-slider-three__text {
  max-width: 720px;
  margin: 0 auto 36px;
  font-size: 17px;
  font-weight: 450;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.main-slider-three__btn-and-video-box {
  gap: 14px !important;
  justify-content: center;
}

.main-slider-three__btn-and-video-box .thm-btn {
  min-height: 52px;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: var(--color1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.main-slider-three__btn-and-video-box .thm-btn i {
  margin-right: 8px;
}

.main-slider-three__btn-and-video-box .thm-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

.main-slider-three__btn-and-video-box .thm-btndos {
  background: var(--whatsapp) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35) !important;
}

.main-slider-three__btn-and-video-box .thm-btndos:hover {
  background: var(--whatsapp-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(18, 140, 126, 0.4) !important;
}

@media only screen and (max-width: 991px) {
  .main-slider-three .container {
    padding-top: 150px;
    padding-bottom: 110px;
  }

  .main-slider-three__title {
    font-size: clamp(1.75rem, 5.5vw, 2.4rem);
    margin-top: 18px;
    margin-bottom: 14px;
  }

  .main-slider-three__text {
    font-size: 15.5px;
    line-height: 1.65;
    margin-bottom: 28px;
  }

  .main-slider-three .main-slider__sub-title {
    font-size: 13px;
    padding: 8px 16px;
  }
}

@media only screen and (max-width: 767px) {
  .main-slider-three .container {
    padding-top: 120px;
    padding-bottom: 100px;
  }

  .main-slider-three__content {
    padding: 0 8px;
  }

  .main-slider-three__btn-and-video-box {
    width: 100%;
  }

  .main-slider-three__btn-and-video-box .thm-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}
