@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');
@import url('/image/theme/style.css');
@import url('/image/theme/responsive.css');

:root {
  --ct-teal-900: #153838;
  --ct-teal-800: #1e4d4d;
  --ct-teal-700: #306868;
  --ct-teal-600: #3d8282;
  --ct-teal-100: #eaf3f3;
  --ct-teal-50: #f4f9f9;
  --ct-yellow: #f0e838;
  --ct-yellow-dark: #d9cf18;
  --ct-text: #1c2e2e;
  --ct-muted: #526b6b;
  --ct-white: #ffffff;
  --ct-radius-lg: 20px;
  --ct-radius-md: 14px;
  --ct-shadow-sm: 0 8px 24px rgba(21, 56, 56, 0.07);
  --ct-shadow-md: 0 18px 42px rgba(21, 56, 56, 0.12);
  --ct-shadow-lg: 0 24px 60px rgba(21, 56, 56, 0.18);
  --ct-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  color: var(--ct-text);
  background-color: var(--ct-white);
  overflow-x: hidden;
  padding-top: 0 !important;
}

/* Hide default OpenCart storefront chrome completely */
#top,
header:not(.header_section),
body > footer,
#cart-container,
#push-notification-banner {
  display: none !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}

#common-home {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-top: 0 !important;
  overflow-x: hidden;
}

#common-home > .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

#content {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* =========================================================
   MODERN STICKY GLASS HEADER (Fixes orange header & bullets)
   ========================================================= */
header.header_section {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1050;
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(48, 104, 104, 0.12);
  box-shadow: 0 4px 24px rgba(21, 56, 56, 0.06);
  padding: 0 !important;
  margin: 0 !important;
  transition: background 0.35s var(--ct-ease), box-shadow 0.35s var(--ct-ease), transform 0.35s var(--ct-ease);
}

header.header_section.is-scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 10px 32px rgba(21, 56, 56, 0.12);
}

header.header_section > .container {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

.ct-navbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 86px;
  padding: 10px 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  transition: min-height 0.35s var(--ct-ease);
}

header.header_section.is-scrolled .ct-navbar {
  min-height: 72px;
}

.ct-navbar::before,
.ct-navbar::after {
  display: none !important;
  content: none !important;
}

.ct-brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 14px;
  text-decoration: none !important;
  padding: 4px 0;
  transition: transform 0.3s var(--ct-ease);
}

.ct-brand:hover {
  transform: translateY(-1px);
}

.ct-brand img {
  height: 58px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(21, 56, 56, 0.08));
  transition: height 0.35s var(--ct-ease);
}

header.header_section.is-scrolled .ct-brand img {
  height: 48px;
}

.ct-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.ct-brand-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ct-teal-900);
}

.ct-brand-sub {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ct-teal-700);
  letter-spacing: 0.02em;
}

/* Remove bullets and style horizontal menu */
.ct-nav-menu {
  display: flex !important;
  align-items: center !important;
  gap: 6px;
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ct-nav-menu > li {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
}

.ct-nav-menu > li::before,
.ct-nav-menu > li::marker {
  display: none !important;
  content: none !important;
}

.ct-nav-link {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  padding: 10px 16px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
  color: var(--ct-teal-900) !important;
  text-decoration: none !important;
  text-transform: none !important;
  border-radius: 999px;
  transition: color 0.25s var(--ct-ease), background-color 0.25s var(--ct-ease), transform 0.25s var(--ct-ease);
}

.ct-nav-link::after {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 5px;
  height: 2.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--ct-teal-700), var(--ct-yellow-dark));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s var(--ct-ease);
}

.ct-nav-link:hover,
.ct-nav-link:focus,
.ct-nav-link.is-active {
  color: var(--ct-teal-700) !important;
  background-color: rgba(48, 104, 104, 0.07);
}

.ct-nav-link:hover::after,
.ct-nav-link.is-active::after {
  transform: scaleX(1);
}

.ct-nav-cta {
  margin-left: 10px;
  padding: 11px 22px !important;
  background: linear-gradient(135deg, var(--ct-teal-700) 0%, var(--ct-teal-900) 100%) !important;
  color: var(--ct-white) !important;
  border-radius: 999px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 18px rgba(48, 104, 104, 0.26);
  border: 1px solid rgba(240, 232, 56, 0.35);
  transition: transform 0.3s var(--ct-ease), box-shadow 0.3s var(--ct-ease), background 0.3s var(--ct-ease) !important;
}

.ct-nav-cta::after {
  display: none !important;
}

.ct-nav-cta:hover,
.ct-nav-cta:focus {
  color: var(--ct-yellow) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(21, 56, 56, 0.34);
}

/* Mobile menu toggle button (hidden on desktop!) */
.ct-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(48, 104, 104, 0.2);
  background: var(--ct-teal-50);
  color: var(--ct-teal-900);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s var(--ct-ease), transform 0.25s var(--ct-ease);
}

.ct-menu-toggle:hover {
  background: var(--ct-teal-100);
}

.ct-menu-toggle-bars {
  width: 20px;
  height: 14px;
  position: relative;
  display: inline-block;
}

.ct-menu-toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--ct-teal-900);
  transition: transform 0.3s var(--ct-ease), top 0.3s var(--ct-ease), opacity 0.25s ease;
}

.ct-menu-toggle-bars span:nth-child(1) { top: 0; }
.ct-menu-toggle-bars span:nth-child(2) { top: 6px; }
.ct-menu-toggle-bars span:nth-child(3) { top: 12px; }

.ct-menu-toggle.is-open .ct-menu-toggle-bars span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}
.ct-menu-toggle.is-open .ct-menu-toggle-bars span:nth-child(2) {
  opacity: 0;
}
.ct-menu-toggle.is-open .ct-menu-toggle-bars span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

@media (max-width: 991px) {
  .ct-menu-toggle {
    display: inline-flex !important;
  }
  .ct-nav-collapse {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    background: var(--ct-white);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 20px 48px rgba(21, 56, 56, 0.18);
    border: 1px solid rgba(48, 104, 104, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s var(--ct-ease), transform 0.3s var(--ct-ease), visibility 0.3s;
  }
  .ct-nav-collapse.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(8px);
  }
  .ct-nav-menu {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 4px;
  }
  .ct-nav-link {
    width: 100%;
    padding: 12px 16px !important;
    border-radius: 12px;
  }
  .ct-nav-cta {
    margin-left: 0;
    margin-top: 6px;
    justify-content: center;
  }
}

/* =========================================================
   HERO SECTION WITH CANVA PREMIUM MEDICAL VISUAL
   ========================================================= */
.hero_area {
  position: relative;
  min-height: 92vh !important;
  padding-top: 110px !important;
  padding-bottom: 90px !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden;
  background: var(--ct-teal-900);
}

.hero_area .hero_bg_box {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero_area .hero_bg_box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    102deg,
    rgba(16, 44, 44, 0.94) 0%,
    rgba(24, 66, 66, 0.86) 46%,
    rgba(30, 82, 82, 0.55) 78%,
    rgba(21, 56, 56, 0.45) 100%
  );
  z-index: 1;
}

.hero_area .hero_bg_box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  animation: ctHeroZoom 18s ease-in-out infinite alternate;
}

@keyframes ctHeroZoom {
  0% { transform: scale(1.02) translate3d(0, 0, 0); }
  100% { transform: scale(1.09) translate3d(-1%, -1%, 0); }
}

.slider_section {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 40px 0 30px !important;
}

.ct-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(240, 232, 56, 0.14);
  border: 1px solid rgba(240, 232, 56, 0.42);
  color: var(--ct-yellow);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.ct-hero-badge span.ct-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ct-yellow);
  box-shadow: 0 0 12px var(--ct-yellow);
}

.slider_section .detail-box h1 {
  font-size: clamp(2.25rem, 4vw, 3.6rem) !important;
  font-weight: 800 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.02em;
  color: var(--ct-white) !important;
  margin-bottom: 20px !important;
  text-transform: none !important;
}

.slider_section .detail-box h1 span.ct-accent {
  color: var(--ct-yellow);
}

.slider_section .detail-box p {
  font-size: 1.12rem !important;
  line-height: 1.72 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  max-width: 620px;
  margin-bottom: 30px !important;
}

.ct-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}

.ct-btn-primary {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  padding: 14px 28px !important;
  border-radius: 999px !important;
  background: var(--ct-yellow) !important;
  color: var(--ct-teal-900) !important;
  font-weight: 700 !important;
  font-size: 14.5px !important;
  text-decoration: none !important;
  box-shadow: 0 12px 28px rgba(240, 232, 56, 0.25);
  transition: transform 0.3s var(--ct-ease), box-shadow 0.3s var(--ct-ease), background 0.3s var(--ct-ease) !important;
}

.ct-btn-primary:hover {
  background: #fff85b !important;
  color: var(--ct-teal-900) !important;
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(240, 232, 56, 0.38);
}

.ct-btn-outline {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  padding: 14px 26px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  color: var(--ct-white) !important;
  border: 1px solid rgba(255, 255, 255, 0.32) !important;
  font-weight: 600 !important;
  font-size: 14.5px !important;
  text-decoration: none !important;
  backdrop-filter: blur(8px);
  transition: transform 0.3s var(--ct-ease), background 0.3s var(--ct-ease), border-color 0.3s var(--ct-ease) !important;
}

.ct-btn-outline:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: var(--ct-yellow) !important;
  color: var(--ct-white) !important;
  transform: translateY(-3px);
}

.ct-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 640px;
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.ct-stat-item strong {
  display: block;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--ct-yellow);
  line-height: 1.15;
}

.ct-stat-item span {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}

@media (max-width: 767px) {
  .ct-hero-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* Fix Bootstrap 3 carousel compatibility with Bootstrap 4 markup */
#customCarousel1 .carousel-inner > .carousel-item {
  display: none;
  opacity: 0;
  transition: opacity 0.65s var(--ct-ease), transform 0.65s var(--ct-ease);
}

#customCarousel1 .carousel-inner > .carousel-item.active {
  display: block;
  opacity: 1;
}

.slider_section .carousel-indicators {
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  width: auto !important;
  margin: 28px 0 0 0 !important;
  display: flex !important;
  justify-content: flex-start !important;
  gap: 10px;
}

.slider_section .carousel-indicators li {
  width: 32px !important;
  height: 6px !important;
  border-radius: 999px !important;
  background-color: rgba(255, 255, 255, 0.32) !important;
  border: none !important;
  margin: 0 !important;
  transition: width 0.35s var(--ct-ease), background-color 0.35s var(--ct-ease);
}

.slider_section .carousel-indicators li.active {
  width: 52px !important;
  background-color: var(--ct-yellow) !important;
}

/* =========================================================
   SECTION HEADINGS & REVEAL ANIMATIONS
   ========================================================= */
.heading_container h2 {
  font-size: clamp(1.85rem, 3vw, 2.5rem) !important;
  font-weight: 800 !important;
  color: var(--ct-teal-900) !important;
  letter-spacing: -0.02em;
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 14px !important;
}

.heading_container h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 64px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ct-teal-700), var(--ct-yellow-dark));
}

.heading_container.heading_center h2::after {
  left: 50%;
  transform: translateX(-50%);
}

/* =========================================================
   INSTITUCIONAL CARDS
   ========================================================= */
.department_section {
  padding: 96px 0 !important;
  background: linear-gradient(180deg, var(--ct-teal-50) 0%, var(--ct-white) 100%);
  position: relative;
}

.department_section .row {
  display: flex;
  flex-wrap: wrap;
}

.department_section .col-md-4 {
  display: flex;
  margin-bottom: 28px;
}

.department_section .box {
  background: var(--ct-white) !important;
  border-radius: var(--ct-radius-lg) !important;
  padding: 36px 28px !important;
  margin-top: 0 !important;
  width: 100%;
  border: 1px solid rgba(48, 104, 104, 0.1);
  box-shadow: var(--ct-shadow-sm);
  text-align: left !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  transition: transform 0.4s var(--ct-ease), box-shadow 0.4s var(--ct-ease), border-color 0.4s var(--ct-ease);
}

.department_section .box:hover {
  transform: translateY(-10px);
  box-shadow: var(--ct-shadow-md);
  border-color: rgba(48, 104, 104, 0.32);
}

.department_section .box .img-box {
  width: 72px !important;
  height: 72px !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, var(--ct-teal-700) 0%, var(--ct-teal-900) 100%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-bottom: 22px !important;
  box-shadow: 0 10px 22px rgba(48, 104, 104, 0.24);
  transition: transform 0.35s var(--ct-ease);
}

.department_section .box:hover .img-box {
  transform: scale(1.07) rotate(-3deg);
}

.department_section .box .img-box img {
  max-width: 36px !important;
  max-height: 36px !important;
  filter: brightness(0) invert(1);
}

.department_section .box .detail-box h5 {
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  color: var(--ct-teal-900) !important;
  margin-bottom: 14px !important;
}

.department_section .box .detail-box p,
.department_section .box .detail-box ul li {
  font-size: 14.5px !important;
  line-height: 1.68 !important;
  color: var(--ct-muted) !important;
}

.department_section .box .detail-box ul {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
}

.department_section .box .detail-box ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.department_section .box .detail-box ul li i {
  color: var(--ct-teal-700);
  background: var(--ct-teal-100);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
  margin-top: 3px;
}

/* =========================================================
   NUESTRA HISTORIA
   ========================================================= */
.about_section {
  padding: 96px 0 !important;
  background: var(--ct-white);
}

.about_section .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.about_section .img-box {
  position: relative;
  border-radius: var(--ct-radius-lg);
  overflow: hidden;
  box-shadow: var(--ct-shadow-lg);
  border: 6px solid var(--ct-white);
}

.about_section .img-box::before {
  display: none !important;
}

.about_section .img-box img {
  width: 100%;
  display: block;
  border-radius: 14px;
  transition: transform 0.6s var(--ct-ease);
}

.about_section .img-box:hover img {
  transform: scale(1.04);
}

.about_section .detail-box {
  padding-left: 24px;
}

.about_section .detail-box h2 span {
  color: var(--ct-teal-700) !important;
}

.about_section .detail-box p {
  font-size: 15px !important;
  line-height: 1.75 !important;
  color: var(--ct-muted) !important;
  margin-bottom: 14px !important;
}

/* =========================================================
   INFORMACIÓN PARA PACIENTES (Canva Medical Photography)
   ========================================================= */
.doctor_section {
  padding: 96px 0 !important;
  background: linear-gradient(135deg, var(--ct-teal-900) 0%, var(--ct-teal-700) 100%) !important;
  position: relative;
}

.doctor_section .heading_container h2 {
  color: var(--ct-white) !important;
}

.doctor_section .heading_container h2::after {
  background: var(--ct-yellow);
}

.doctor_section .heading_container p {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 1.05rem;
}

.doctor_section .box {
  background: var(--ct-white) !important;
  border-radius: var(--ct-radius-lg) !important;
  overflow: hidden !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  margin-top: 32px !important;
  transition: transform 0.4s var(--ct-ease), box-shadow 0.4s var(--ct-ease);
}

.doctor_section .box:hover {
  transform: translateY(-10px);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.32);
}

.doctor_section .box .img-box {
  height: 240px !important;
  overflow: hidden;
  background: var(--ct-teal-900);
}

.doctor_section .box .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ct-ease);
}

.doctor_section .box:hover .img-box img {
  transform: scale(1.08);
}

.doctor_section .box .detail-box {
  padding: 26px 24px 30px !important;
  text-align: center;
  background: var(--ct-white) !important;
}

.doctor_section .box .detail-box h5 {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: var(--ct-teal-900) !important;
  line-height: 1.4;
  margin-bottom: 18px !important;
}

.doctor_section .box .detail-box .btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--ct-teal-700) 0%, var(--ct-teal-900) 100%) !important;
  color: var(--ct-white) !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  border: none !important;
  box-shadow: 0 8px 20px rgba(48, 104, 104, 0.25);
  transition: transform 0.3s var(--ct-ease), box-shadow 0.3s var(--ct-ease);
}

.doctor_section .box .detail-box .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(21, 56, 56, 0.36);
}

/* =========================================================
   CONTACTO SECTION & FOOTER
   ========================================================= */
.contact_section {
  padding: 96px 0 !important;
  background: var(--ct-teal-50);
}

.contact_section .form_container {
  background: var(--ct-white);
  padding: 36px 32px;
  border-radius: var(--ct-radius-lg);
  box-shadow: var(--ct-shadow-sm);
  border: 1px solid rgba(48, 104, 104, 0.1);
}

.contact_section .form_container input,
.contact_section .form_container textarea {
  width: 100%;
  border: 1.5px solid rgba(48, 104, 104, 0.18) !important;
  border-radius: 12px !important;
  background: var(--ct-teal-50) !important;
  color: var(--ct-text) !important;
  padding: 14px 18px !important;
  font-size: 14.5px !important;
  height: auto !important;
  margin-bottom: 16px !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.contact_section .form_container textarea.message-box {
  min-height: 150px !important;
}

.contact_section .form_container input:focus,
.contact_section .form_container textarea:focus {
  border-color: var(--ct-teal-700) !important;
  background: var(--ct-white) !important;
  box-shadow: 0 0 0 4px rgba(48, 104, 104, 0.12);
  outline: none;
}

.contact_section .form_container button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--ct-teal-700) 0%, var(--ct-teal-900) 100%) !important;
  color: var(--ct-white) !important;
  font-weight: 700 !important;
  font-size: 14.5px !important;
  border: none !important;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(48, 104, 104, 0.26);
  transition: transform 0.3s var(--ct-ease), box-shadow 0.3s var(--ct-ease);
}

.contact_section .form_container button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(21, 56, 56, 0.36);
}

.contact_section .map_container {
  border-radius: var(--ct-radius-lg);
  overflow: hidden;
  box-shadow: var(--ct-shadow-md);
  height: 100%;
  min-height: 410px;
  border: 4px solid var(--ct-white);
}

.footer_section {
  background: var(--ct-teal-900) !important;
  color: rgba(255, 255, 255, 0.86) !important;
  padding: 72px 0 36px !important;
}

.footer_section h4 {
  color: var(--ct-yellow) !important;
  font-weight: 700 !important;
  font-size: 1.15rem !important;
  margin-bottom: 20px !important;
}

.footer_section a {
  color: rgba(255, 255, 255, 0.84) !important;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer_section a:hover {
  color: var(--ct-yellow) !important;
}

/* Scroll reveal animation classes */
.ct-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ct-ease), transform 0.75s var(--ct-ease);
}

.ct-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Preloader */
#preloader {
  position: fixed;
  inset: 0;
  background-color: var(--ct-white);
  z-index: 9999;
  transition: opacity 0.45s ease;
}

#status {
  width: 200px;
  height: 200px;
  position: absolute;
  left: 50%;
  top: 50%;
  background-image: url('/image/preloader.gif');
  background-repeat: no-repeat;
  background-position: center;
  margin: -100px 0 0 -100px;
}

/* Per-slide background crossfade & Ken Burns zoom */
.hero_area .hero_bg_box img.ct-hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1), transform 7s ease-out;
  animation: none !important;
}

.hero_area .hero_bg_box img.ct-hero-bg-img.is-active {
  opacity: 1;
  transform: scale(1.0);
}

/* Platform Contact Modal (#contact-modal) styled in Cetramor palette */
#contact-modal .login-modal__dialog {
  max-width: 480px;
  border-radius: 20px;
  border: 1px solid rgba(48, 104, 104, 0.16);
  box-shadow: 0 24px 64px rgba(21, 56, 56, 0.28);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

#contact-modal .login-modal__title {
  color: var(--ct-teal-900);
  font-weight: 800;
  font-size: 1.4rem;
}

#contact-modal .contact-modal__identity {
  background: var(--ct-teal-50);
  border: 1px solid rgba(48, 104, 104, 0.12);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 18px;
}

#contact-modal .contact-modal__logo {
  max-height: 48px;
  width: auto;
  display: block;
  margin-bottom: 8px;
}

#contact-modal .contact-modal__row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--ct-muted);
}

#contact-modal .contact-modal__row svg {
  fill: var(--ct-teal-700);
  flex-shrink: 0;
}

#contact-modal .login-modal__label {
  color: var(--ct-teal-900);
  font-size: 13.5px;
  font-weight: 600;
}

#contact-modal .form-control {
  border-radius: 12px;
  border: 1.5px solid rgba(48, 104, 104, 0.2);
  background: var(--ct-teal-50);
  color: var(--ct-text);
  font-size: 14px;
  padding: 10px 14px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

#contact-modal textarea.form-control {
  height: auto;
  min-height: 110px;
}

#contact-modal .form-control:focus {
  border-color: var(--ct-teal-700);
  background: var(--ct-white);
  box-shadow: 0 0 0 4px rgba(48, 104, 104, 0.12);
  outline: none;
}

#contact-modal .login-modal__submit {
  background: linear-gradient(135deg, var(--ct-teal-700) 0%, var(--ct-teal-900) 100%) !important;
  color: var(--ct-white) !important;
  border: none !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  min-height: 46px;
  box-shadow: 0 10px 24px rgba(48, 104, 104, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#contact-modal .login-modal__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(21, 56, 56, 0.35);
}

/* =========================================================
   CETRAMOR CUSTOM MEDICAL PRELOADER (Teal #306868 & Yellow #f0e838)
   ========================================================= */
#preloader {
  display: none !important;
}

.preloader {
  background: radial-gradient(circle at center, #ffffff 0%, #f0f7f7 65%, #e2efef 100%) !important;
  backdrop-filter: blur(12px);
}

.preloader > img,
.preloader > .preloader-custom {
  display: none !important;
}

.ct-preloader-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  text-align: center;
  padding: 24px;
}

.ct-preloader-emblem {
  position: relative;
  width: 128px;
  height: 128px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ct-preloader-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.ct-preloader-ring--outer {
  inset: 0;
  border: 3px solid rgba(48, 104, 104, 0.14);
  border-top-color: #153838;
  border-right-color: #306868;
  animation: ctPreloaderSpin 1.5s cubic-bezier(0.55, 0.15, 0.45, 0.85) infinite;
}

.ct-preloader-ring--inner {
  inset: 11px;
  border: 2.5px solid rgba(240, 232, 56, 0.22);
  border-bottom-color: #f0e838;
  border-left-color: #d9cf18;
  animation: ctPreloaderSpinReverse 2.1s linear infinite;
}

.ct-preloader-core {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 232, 56, 0.26) 0%, rgba(255, 255, 255, 0.96) 72%);
  box-shadow: 0 10px 28px rgba(21, 56, 56, 0.14), inset 0 0 0 1px rgba(48, 104, 104, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: ctPreloaderPulse 2s ease-in-out infinite;
}

.ct-preloader-core img.ct-preloader-logo {
  position: static !important;
  width: 64px !important;
  height: 64px !important;
  margin: 0 !important;
  object-fit: contain;
  filter: none !important;
  animation: none !important;
}

.ct-preloader-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.ct-preloader-brand {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #153838;
}

.ct-preloader-sub {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #306868;
}

.ct-preloader-bar {
  width: 148px;
  height: 3.5px;
  border-radius: 999px;
  background: rgba(48, 104, 104, 0.14);
  overflow: hidden;
  margin-top: 8px;
  position: relative;
}

.ct-preloader-bar > span {
  display: block;
  width: 45%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #306868 0%, #f0e838 100%);
  animation: ctPreloaderSlide 1.35s ease-in-out infinite;
}

@keyframes ctPreloaderSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes ctPreloaderSpinReverse {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

@keyframes ctPreloaderPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 10px 28px rgba(21, 56, 56, 0.14); }
  50% { transform: scale(1.04); box-shadow: 0 14px 34px rgba(240, 232, 56, 0.32); }
}

@keyframes ctPreloaderSlide {
  0% { transform: translateX(-110%); }
  50% { transform: translateX(120%); }
  100% { transform: translateX(240%); }
}

/* Remove focus outline/box-shadow on brand logo and header navigation links */
.ct-brand,
.ct-brand:focus,
.ct-brand:focus-visible,
.ct-brand:active,
.ct-brand img,
.ct-nav-link:focus,
.ct-nav-link:focus-visible,
.ct-nav-link:active,
.ct-menu-toggle:focus,
.ct-menu-toggle:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

/* 1. Spacing below section subtitle in Institucional (and all heading_container sections) */
.heading_container {
  margin-bottom: 44px !important;
}

.heading_container p {
  font-size: 1.06rem !important;
  line-height: 1.65 !important;
  color: var(--ct-muted) !important;
  margin-top: 8px !important;
  margin-bottom: 0 !important;
}

/* 2. Remove global #content .row ul:not(.pagination) li border/justify-content:center on Prácticas destacadas */
#content .department_section .box .detail-box ul li,
.department_section .box .detail-box ul li {
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  text-align: left !important;
  cursor: default !important;
  padding: 6px 0 !important;
  margin: 0 0 8px 0 !important;
  width: 100% !important;
}

#content .department_section .box .detail-box ul li:hover,
.department_section .box .detail-box ul li:hover {
  box-shadow: none !important;
  background: transparent !important;
}

#content .department_section .box .detail-box ul li span,
.department_section .box .detail-box ul li span {
  flex: 1 1 auto;
  text-align: left !important;
}

/* Enlarge section subtitle ("Te contamos qué hacemos, en dónde lo hacemos y quiénes somos") */
.department_section .heading_container p,
.heading_container p {
  font-size: clamp(1.18rem, 1.55vw, 1.38rem) !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
  margin-top: 12px !important;
}


/* Restore platform footer floating buttons (#btnwhatsapp, #whatsapp-widget-panel, #backToTop) while hiding only the ecommerce footer blocks */
body > footer {
  display: block !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  min-height: 0 !important;
}
body > footer > .container-fluid,
body > footer > .powered {
  display: none !important;
}