/**
* Template Name: Clinic
* Template URL: https://bootstrapmade.com/clinic-bootstrap-template/
* Updated: Jul 23 2025 with Bootstrap v5.3.7
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

@charset "UTF-8";

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Montserrat",  sans-serif;
  --nav-font: "Lato",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #050b29; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #050b29; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #d5a448; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #3c4049;  /* The default color of the main navmenu links */
  --nav-hover-color: #050b29; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #3c4049; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #175cdd; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #050b29;
  --surface-color: #ffffff;
  --default-color: #ffffff;
}

.dark-background {
  --background-color: #021418;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #11262a;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(255, 255, 255, 0);
  color: var(--default-color);
  transition: all 0.5s;
  z-index: 997;
  background-color: var(--background-color);
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

.header .topbar {
  background-color: var(--accent-color);
  height: 40px;
  padding: 0;
  font-size: 14px;
  transition: all 0.5s;
}

.header .topbar .contact-info i {
  font-style: normal;
  color: var(--contrast-color);
}

.header .topbar .contact-info i a,
.header .topbar .contact-info i span {
  padding-left: 5px;
  color: var(--contrast-color);
}

@media (max-width: 575px) {

  .header .topbar .contact-info i a,
  .header .topbar .contact-info i span {
    font-size: 13px;
  }
}

.header .topbar .contact-info i a {
  line-height: 0;
  transition: 0.3s;
}

.header .topbar .contact-info i a:hover {
  color: var(--contrast-color);
  text-decoration: underline;
}


/* --- ICONOS DE REDES SOCIALES EN TOPBAR --- */
.header .topbar .social-links1 a {
  color: rgba(255, 255, 255, 0.6); /* Color inicial tenue */
  line-height: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Movimiento elástico */
  margin-left: 20px;
  display: inline-block; /* Necesario para que el transform funcione */
  font-size: 1.1rem;      /* Tamaño base profesional */
}

/* Efecto general al pasar el cursor (Aumentar tamaño) */
.header .topbar .social-links1 a:hover {
  transform: scale(1.3); /* Crece un 30% al pasar el mouse */
  color: #fff;
}

/* --- COLORES ESPECÍFICOS POR RED SOCIAL --- */

/* Facebook: Azul oficial */
.header .topbar .social-links1 a.facebook:hover {
  color: #1877F2 !important;
  text-shadow: 0 0 10px rgba(24, 119, 242, 0.4);
}

/* Instagram: Degradado/Rosa oficial */
.header .topbar .social-links1 a.instagram:hover {
  color: #E4405F !important;
  text-shadow: 0 0 10px rgba(228, 64, 95, 0.4);
}

/* TikTok: Negro/Cian/Rojo */
.header .topbar .social-links1 a.tiktok:hover {
  color: #00f2ea !important; /* Cian neón de TikTok */
  text-shadow: 2px 2px #ff0050; /* Sombra roja característica */
}


.header .branding {
  min-height: 60px;
  padding: 10px 0;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 600;
  color: var(--heading-color);
}

.scrolled .header .topbar {
  height: 0;
  visibility: hidden;
  overflow: hidden;
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: #ffffff;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    padding: 10px;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu>ul>li {
    white-space: nowrap;
    padding: 15px 14px;
  }

  .navmenu>ul>li:last-child {
    padding-right: 0;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    font-size: 15px;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu>ul>li>a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--accent-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover>a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer-16 {
  background: var(--background-color);
  color: var(--default-color);
  font-size: 15px;
  padding: 100px 0 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

.footer-16 .footer-main {
  margin-bottom: 80px;
}

.footer-16 .brand-section .logo {
  text-decoration: none;
}

.footer-16 .brand-section .logo .sitename {
  font-family: var(--heading-font);
  font-size: 32px;
  font-weight: 300;
  color: var(--heading-color);
  letter-spacing: -0.5px;
}

.footer-16 .brand-section .brand-description {
  font-size: 18px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  font-weight: 300;
  max-width: 380px;
  margin: 0;
}

.footer-16 .brand-section .contact-info .contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.footer-16 .brand-section .contact-info .contact-item i {
  font-size: 16px;
  color: var(--accent-color);
  margin-right: 12px;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-16 .brand-section .contact-info .contact-item span {
  line-height: 1.6;
}

.footer-16 .footer-nav-wrapper {
  padding-left: 60px;
}

@media (max-width: 991px) {
  .footer-16 .footer-nav-wrapper {
    padding-left: 0;
    margin-top: 50px;
  }
}

.footer-16 .nav-column {
  margin-bottom: 40px;
}

.footer-16 .nav-column h6 {
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 400;
  color: var(--heading-color);
  margin-bottom: 24px;
  letter-spacing: 0.3px;
}

.footer-16 .nav-column .footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-16 .nav-column .footer-nav a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  text-decoration: none;
  font-size: 15px;
  font-weight: 300;
  transition: all 0.3s ease;
  line-height: 1.4;
}

.footer-16 .nav-column .footer-nav a:hover {
  color: var(--accent-color);
  transform: translateX(4px);
}

.footer-16 .footer-social {
  padding: 50px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 94%);
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 94%);
}

.footer-16 .footer-social .newsletter-section h5 {
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 300;
  color: var(--heading-color);
  margin-bottom: 12px;
  letter-spacing: -0.2px;
}

.footer-16 .footer-social .newsletter-section p {
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
  margin: 0;
  line-height: 1.6;
  max-width: 340px;
}

.footer-16 .footer-social .social-section {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 991px) {
  .footer-16 .footer-social .social-section {
    justify-content: flex-start;
    margin-top: 30px;
  }
}

.footer-16 .footer-social .social-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

@media (max-width: 576px) {
  .footer-16 .footer-social .social-links {
    gap: 20px;
    flex-wrap: wrap;
  }
}

.footer-16 .footer-social .social-links .social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 14px;
  font-weight: 400;
  transition: all 0.3s ease;
}

.footer-16 .footer-social .social-links .social-link i {
  font-size: 18px;
  transition: all 0.3s ease;
}

.footer-16 .footer-social .social-links .social-link span {
  transition: all 0.3s ease;
}

.footer-16 .footer-social .social-links .social-link:hover {
  color: var(--accent-color);
  transform: translateY(-2px);
}

.footer-16 .footer-social .social-links .social-link:hover i {
  transform: scale(1.1);
}

.footer-16 .footer-bottom {
  padding: 30px 0;
}

.footer-16 .footer-bottom .copyright p {
  margin: 0;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 45%);
  font-weight: 300;
}

.footer-16 .footer-bottom .copyright p .sitename {
  color: var(--heading-color);
  font-weight: 400;
}

.footer-16 .footer-bottom .legal-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

@media (max-width: 991px) {
  .footer-16 .footer-bottom .legal-links {
    justify-content: flex-start;
    margin-top: 20px;
    flex-wrap: wrap;
  }
}

.footer-16 .footer-bottom .legal-links a {
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  text-decoration: none;
  font-weight: 300;
  transition: color 0.3s ease;
}

.footer-16 .footer-bottom .legal-links a:hover {
  color: var(--accent-color);
}

.footer-16 .footer-bottom .legal-links .credits {
  font-size: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  margin-left: 8px;
  padding-left: 24px;
  border-left: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

@media (max-width: 576px) {
  .footer-16 .footer-bottom .legal-links .credits {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    width: 100%;
    margin-top: 12px;
  }
}

.footer-16 .footer-bottom .legal-links .credits a {
  color: var(--accent-color);
  font-size: 12px;
}

.footer-16 .footer-bottom .legal-links .credits a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-16 {
    padding: 70px 0 0;
  }

  .footer-16 .brand-section {
    text-align: center;
    margin-bottom: 50px;
  }

  .footer-16 .brand-section .brand-description {
    max-width: none;
  }

  .footer-16 .brand-section .contact-info {
    text-align: left;
    display: inline-block;
  }

  .footer-16 .footer-nav-wrapper .nav-column {
    text-align: left;
  }

  .footer-16 .footer-nav-wrapper .nav-column h6 {
    margin-bottom: 16px;
  }

  .footer-16 .footer-nav-wrapper .nav-column .footer-nav {
    gap: 10px;
  }

  .footer-16 .footer-social {
    text-align: center;
  }

  .footer-16 .footer-social .newsletter-section p {
    max-width: none;
  }

  .footer-16 .footer-social .social-links {
    justify-content: center;
  }

  .footer-16 .footer-bottom {
    text-align: center;
  }

  .footer-16 .footer-bottom .legal-links {
    justify-content: center;
  }
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background-color: var(--background-color);
  transition: all 0.6s ease-out;
  width: 100%;
  height: 100vh;
}

#preloader:before,
#preloader:after {
  content: "";
  position: absolute;
  border: 4px solid var(--accent-color);
  border-radius: 50%;
  animation: animate-preloader 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

#preloader:after {
  animation-delay: -0.5s;
}

@keyframes animate-preloader {
  0% {
    width: 10px;
    height: 10px;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
    opacity: 1;
  }

  100% {
    width: 72px;
    height: 72px;
    top: calc(50% - 36px);
    left: calc(50% - 36px);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
  padding-top: 100px;
}

.page-title .heading {
  padding: 80px 0;
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 500;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title nav ol li+li {
  padding-left: 10px;
}

.page-title nav ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:before {
  content: "";
  position: absolute;
  display: block;
  width: 160px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  left: 0;
  right: 0;
  bottom: 1px;
  margin: auto;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  padding-top: 80px;
  padding-bottom: 30px;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--surface-color) 0%, color-mix(in srgb, var(--accent-color), transparent 95%) 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../img/bg/abstract-bg-3.webp") center/cover;
  opacity: 0.08;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero .hero-content {
  padding: 2rem 0;
}

.hero .hero-content .trust-badges {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero .hero-content .trust-badges .badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50px;
  color: var(--accent-color);
  font-size: 0.875rem;
  font-weight: 500;
}

.hero .hero-content .trust-badges .badge-item i {
  font-size: 1rem;
}

@media (max-width: 576px) {
  .hero .hero-content .trust-badges {
    gap: 0.75rem;
  }

  .hero .hero-content .trust-badges .badge-item {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }
}

.hero .hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 1.5rem 0;
  color: var(--heading-color);
}

.hero .hero-content h1 .highlight {
  color: var(--accent-color);
  position: relative;
}

.hero .hero-content h1 .highlight::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
}

@media (max-width: 992px) {
  .hero .hero-content h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .hero .hero-content h1 {
    font-size: 2rem;
  }
}

.hero .hero-content .hero-description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 1rem;
  max-width: 500px;
}

.hero .hero-content .hero-stats {
  display: flex;
  gap: 2rem;
}

.hero .hero-content .hero-stats .stat-item {
  text-align: left;
}

.hero .hero-content .hero-stats .stat-item h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-color);
  margin: 0;
  line-height: 1;
}

.hero .hero-content .hero-stats .stat-item p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 0.25rem 0 0 0;
  font-size: 0.875rem;
  font-weight: 500;
}

@media (max-width: 576px) {
  .hero .hero-content .hero-stats {
    gap: 1rem;
  }

  .hero .hero-content .hero-stats .stat-item h3 {
    font-size: 1.5rem;
  }
}

.hero .hero-content .hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.hero .hero-content .hero-actions .btn {
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.hero .hero-content .hero-actions .btn.btn-primary {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.hero .hero-content .hero-actions .btn.btn-primary:hover {
  background: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
}

.hero .hero-content .hero-actions .btn.btn-outline {
  color: var(--accent-color);
  border-color: var(--accent-color);
  background: transparent;
}

.hero .hero-content .hero-actions .btn.btn-outline:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

@media (max-width: 576px) {
  .hero .hero-content .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero .hero-content .hero-actions .btn {
    text-align: center;
    justify-content: center;
  }
}

.hero .hero-content .emergency-contact {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: color-mix(in srgb, var(--surface-color), transparent 50%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.hero .hero-content .emergency-contact .emergency-icon {
  width: 50px;
  height: 50px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.hero .hero-content .emergency-contact .emergency-info small {
  display: block;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
}

.hero .hero-content .emergency-contact .emergency-info strong {
  color: var(--heading-color);
  font-size: 1.125rem;
  font-weight: 600;
}

.hero .hero-visual {
  position: relative;
  height: 600px;
}

.hero .hero-visual .main-image {
  position: relative;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 85%);
}

.hero .hero-visual .main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero .hero-visual .main-image .floating-card {
  position: absolute;
  background-color: #050b29;
  padding: 1rem;
  border-radius: 20px;
  box-shadow: 0 15px 40px color-mix(in srgb, var(--default-color), transparent 85%);
  backdrop-filter: blur(10px);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.hero .hero-visual .main-image .floating-card.appointment-card {
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 200px;
}

.hero .hero-visual .main-image .floating-card.appointment-card .card-icon {
  width: 50px;
  height: 50px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.hero .hero-visual .main-image .floating-card.appointment-card .card-content h6 {
  margin: 0 0 0.25rem 0;
  color: #ffff;
  font-weight: 600;
  font-size: 0.875rem;
}

.hero .hero-visual .main-image .floating-card.appointment-card .card-content p {
  margin: 0 0 0.25rem 0;
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
}

.hero .hero-visual .main-image .floating-card.appointment-card .card-content small {
  color: color-mix(in srgb, #fff, transparent 40%);
  font-size: 0.75rem;
}

.hero .hero-visual .main-image .floating-card.rating-card {
  bottom: 20px;
  left: 20px;
  text-align: center;
  min-width: 140px;
}

.hero .hero-visual .main-image .floating-card.rating-card .rating-stars {
  color: #ffc107;
  margin-bottom: 0.5rem;
}

.hero .hero-visual .main-image .floating-card.rating-card .rating-stars i {
  font-size: 1rem;
}

.hero .hero-visual .main-image .floating-card.rating-card h6 {
  margin: 0 0 0.25rem 0;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.125rem;
}

.hero .hero-visual .main-image .floating-card.rating-card small {
  color: color-mix(in srgb, #ffffff, transparent 40%);
  font-size: 0.75rem;
}

@media (max-width: 768px) {
  .hero .hero-visual .main-image .floating-card.appointment-card {
    right: 10px;
    top: 10px;
    padding: 1rem;
    min-width: 160px;
  }

  .hero .hero-visual .main-image .floating-card.rating-card {
    left: 10px;
    bottom: 10px;
    padding: 1rem;
    min-width: 120px;
  }
}

.hero .hero-visual .background-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.hero .hero-visual .background-elements .element {
  position: absolute;
  border-radius: 50%;
  background: var(--accent-color);
  opacity: 0.1;
}

.hero .hero-visual .background-elements .element.element-1 {
  width: 200px;
  height: 200px;
  top: -50px;
  left: -50px;
  animation: float1 6s ease-in-out infinite;
}

.hero .hero-visual .background-elements .element.element-2 {
  width: 150px;
  height: 150px;
  bottom: -30px;
  right: -30px;
  animation: float2 8s ease-in-out infinite;
}

.hero .hero-visual .background-elements .element.element-3 {
  width: 100px;
  height: 100px;
  top: 50%;
  left: -25px;
  transform: translateY(-50%);
  animation: float3 7s ease-in-out infinite;
}

@media (max-width: 992px) {
  .hero .hero-visual {
    height: 400px;
    margin-top: 2rem;
  }
}

@keyframes float1 {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

@keyframes float2 {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-15px) rotate(-180deg);
  }
}

@keyframes float3 {

  0%,
  100% {
    transform: translateY(-50%) rotate(0deg);
  }

  50% {
    transform: translateY(-70%) rotate(180deg);
  }
}

/*--------------------------------------------------------------
# Home About Section
--------------------------------------------------------------*/
.home-about {
  padding: 35px 0;
  background-color: var(--surface-color);
}

.home-about .about-content .section-heading {
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .home-about .about-content .section-heading {
    font-size: 2rem;
  }
}

.home-about .about-content .lead-text {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  margin-bottom: 1.5rem;
}

.home-about .about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 2.5rem;
}

.home-about .about-content .stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (max-width: 576px) {
  .home-about .about-content .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.home-about .about-content .stats-grid .stat-item {
  text-align: center;
}

.home-about .about-content .stats-grid .stat-item .stat-number {
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--accent-color);
  display: block;
  line-height: 1;
}

.home-about .about-content .stats-grid .stat-item .stat-number::after {
  content: "+";
  font-size: 1.5rem;
  margin-left: 2px;
}

.home-about .about-content .stats-grid .stat-item .stat-label {
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-top: 0.5rem;
  font-weight: 400;
}

.home-about .about-content .cta-section {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.home-about .about-content .cta-section .btn-primary {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 400;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.home-about .about-content .cta-section .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
  color: var(--contrast-color);
}

.home-about .about-content .cta-section .btn-secondary {
  color: var(--heading-color);
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.home-about .about-content .cta-section .btn-secondary i {
  font-size: 1.5rem;
  color: var(--accent-color);
}

.home-about .about-content .cta-section .btn-secondary:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

.home-about .about-visual {
  position: relative;
}

.home-about .about-visual .main-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 85%);
}

.home-about .about-visual .main-image img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.home-about .about-visual .main-image:hover img {
  transform: scale(1.05);
}

.home-about .about-visual .floating-card {
  position: absolute;
  bottom: -30px;
  left: -30px;
  background-color: var(--surface-color);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 15px 40px color-mix(in srgb, var(--default-color), transparent 90%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

@media (max-width: 768px) {
  .home-about .about-visual .floating-card {
    position: static;
    margin-top: 2rem;
    left: auto;
    bottom: auto;
  }
}

.home-about .about-visual .floating-card .card-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.home-about .about-visual .floating-card .card-content .icon {
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.home-about .about-visual .floating-card .card-content .icon i {
  color: var(--accent-color);
  font-size: 1.5rem;
}

.home-about .about-visual .floating-card .card-content .card-text h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.home-about .about-visual .floating-card .card-content .card-text p {
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0;
  line-height: 1.4;
}

.home-about .about-visual .experience-badge {
  /* CAMBIO 1: Cambiar el posicionamiento para que no ocupe todo */
  width: fit-content;      /* Hace que el ancho sea igual al texto más largo */
  max-width: 240px;        /* Límite para que no se vea muy largo en pantallas grandes */
  max-height: 140px;
  /* CAMBIO 2: Ajustar márgenes para que respire */
  top: 15px;               
  right: 15px;             
  padding: 1rem;

  position: absolute;
  top: 0px;
  right: 0px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 1.25rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 15px 40px color-mix(in srgb, var(--accent-color), transparent 70%);
}

@media (max-width: 768px) {
  .home-about .about-visual .experience-badge {
    position: static;
    margin-bottom: 2rem;
    right: auto;
    top: auto;
    display: inline-block;
  }
}

.home-about .about-visual .experience-badge .badge-content .years {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
}

.home-about .about-visual .experience-badge .badge-content .text {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  margin-top: 0.25rem;
  opacity: 0.9;
}

@media (max-width: 992px) {
  .home-about {
    padding: 80px 0;
  }

  .home-about .row {
    text-align: center;
  }

  .home-about .about-content .stats-grid {
    margin: 2rem 0;
  }
}

/*--------------------------------------------------------------
# Featured Departments Section
--------------------------------------------------------------*/
.featured-departments .specialty-card {
  background: var(--surface-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 40px color-mix(in srgb, var(--default-color), transparent 92%);
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.featured-departments .specialty-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 85%);
}

.featured-departments .specialty-content {
  padding: 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.featured-departments .specialty-meta {
  margin-bottom: 15px;
}

.featured-departments .specialty-meta .specialty-label {
  display: inline-block;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 16px;
  border-radius: 20px;
}

.featured-departments h3 {
  font-size: 28px;
  font-weight: 300;
  color: var(--heading-color);
  margin-bottom: 20px;
  line-height: 1.3;
}

.featured-departments .specialty-card p {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 25px;
  flex: 1;
}

.featured-departments .specialty-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.featured-departments .specialty-features span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.featured-departments .specialty-features span i {
  color: var(--accent-color);
  font-size: 16px;
}

.featured-departments .specialty-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-color);
  font-weight: 400;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.featured-departments .specialty-link:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 20%);
  transform: translateX(5px);
}

.featured-departments .specialty-link i {
  transition: transform 0.3s ease;
}

.featured-departments .specialty-link:hover i {
  transform: translateX(3px);
}

.featured-departments .specialty-visual {
  height: 250px;
  position: relative;
  overflow: hidden;
}

.featured-departments .specialty-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.featured-departments .specialty-visual .visual-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: color-mix(in srgb, var(--contrast-color), transparent 10%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.featured-departments .specialty-visual .visual-overlay i {
  color: var(--accent-color);
  font-size: 24px;
}

.featured-departments .specialty-card:hover .specialty-visual img {
  transform: scale(1.08);
}

.featured-departments .department-highlight {
  background: var(--surface-color);
  border-radius: 16px;
  padding: 40px 30px;
  height: 100%;
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  transition: all 0.3s ease;
}

.featured-departments .department-highlight:hover {
  border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
  transform: translateY(-3px);
}

.featured-departments .highlight-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #667eea 30%));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.featured-departments .highlight-icon i {
  color: var(--contrast-color);
  font-size: 32px;
}

.featured-departments h4 {
  font-size: 22px;
  font-weight: 400;
  color: var(--heading-color);
  margin-bottom: 15px;
}

.featured-departments .department-highlight p {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.featured-departments .highlight-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.featured-departments .highlight-list li {
  padding: 8px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 14px;
  position: relative;
}

.featured-departments .highlight-list li:before {
  content: "→";
  color: var(--accent-color);
  font-weight: bold;
  margin-right: 10px;
}

.featured-departments .highlight-cta {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.featured-departments .highlight-cta:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.featured-departments .emergency-banner {
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #667eea 30%));
  border-radius: 20px;
  padding: 40px;
  margin-top: 60px;
  color: var(--contrast-color);
}

.featured-departments .emergency-banner h3 {
  color: var(--contrast-color);
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 10px;
}

.featured-departments .emergency-banner p {
  color: color-mix(in srgb, var(--contrast-color), transparent 15%);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 0;
}

.featured-departments .emergency-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--contrast-color);
  color: var(--accent-color);
  padding: 16px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

.featured-departments .emergency-btn:hover {
  background: color-mix(in srgb, var(--contrast-color), transparent 10%);
  transform: translateY(-2px);
  color: var(--accent-color);
}

.featured-departments .emergency-btn i {
  font-size: 18px;
}

@media (max-width: 992px) {
  .featured-departments .specialty-card {
    flex-direction: column;
  }

  .featured-departments .specialty-visual {
    height: 200px;
    order: -1;
  }
}

@media (max-width: 768px) {
  .featured-departments .specialty-content {
    padding: 30px 25px;
  }

  .featured-departments h3 {
    font-size: 24px;
  }

  .featured-departments .department-highlight {
    padding: 30px 20px;
    text-align: center;
  }

  .featured-departments .highlight-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
  }

  .featured-departments .highlight-icon i {
    font-size: 24px;
  }

  .featured-departments h4 {
    font-size: 20px;
  }

  .featured-departments .emergency-banner {
    padding: 30px 25px;
    text-align: center;
  }

  .featured-departments .emergency-banner h3 {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .featured-departments .emergency-banner .emergency-btn {
    margin-top: 20px;
    padding: 14px 25px;
    font-size: 15px;
  }
}

/*--------------------------------------------------------------
# Featured Services Section
--------------------------------------------------------------*/
.featured-services {
  padding: 100px 0;
}

.featured-services .featured-service-main {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.featured-services .service-image-wrapper {
  position: relative;
  height: 400px;
  overflow: hidden;
  border-radius: 8px;
}

.featured-services .service-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-services .service-image-wrapper:hover img {
  transform: scale(1.02);
}

.featured-services .service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 20%) 0%, transparent 70%);
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 40px;
}

.featured-services .service-badge {
  background: var(--surface-color);
  padding: 16px 24px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 25px color-mix(in srgb, var(--default-color), transparent 90%);
}

.featured-services .service-badge i {
  font-size: 20px;
  color: var(--accent-color);
}

.featured-services .service-badge span {
  font-weight: 500;
  color: var(--heading-color);
  font-size: 14px;
}

.featured-services .service-details {
  padding: 40px 0 0 0;
}

.featured-services .service-details h2 {
  font-size: 32px;
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 24px;
  color: var(--heading-color);
}

.featured-services .service-details p {
  font-size: 16px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  margin-bottom: 32px;
}

.featured-services .main-cta {
  display: inline-flex;
  align-items: center;
  padding: 0;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 400;
  font-size: 16px;
  position: relative;
  transition: all 0.3s ease;
}

.featured-services .main-cta::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent-color);
  transition: transform 0.3s ease;
}

.featured-services .main-cta:hover {
  color: var(--heading-color);
}

.featured-services .main-cta:hover::after {
  transform: scaleX(1.1);
}

.featured-services .services-sidebar {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 60px;
}

.featured-services .service-item {
  padding: 32px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  display: flex;
  gap: 20px;
  transition: all 0.3s ease;
}

.featured-services .service-item:last-child {
  border-bottom: none;
}

.featured-services .service-item:hover {
  transform: translateX(8px);
}

.featured-services .service-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.featured-services .service-icon-wrapper i {
  font-size: 20px;
  color: var(--accent-color);
  transition: all 0.3s ease;
}

.service-item:hover .featured-services .service-icon-wrapper {
  background: var(--accent-color);
  transform: scale(1.1);
}

.service-item:hover .featured-services .service-icon-wrapper i {
  color: var(--contrast-color);
}

.featured-services .service-info {
  flex: 1;
}

.featured-services .service-info h4 {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--heading-color);
  line-height: 1.4;
}

.featured-services .service-info p {
  font-size: 14px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 12px;
}

.featured-services .service-link {
  font-size: 13px;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.featured-services .service-link:hover {
  color: var(--heading-color);
}

.featured-services .specialties-grid {
  margin-top: 80px;
}

.featured-services .specialty-card {
  text-align: center;
  transition: transform 0.3s ease;
}

.featured-services .specialty-card:hover {
  transform: translateY(-5px);
}

.featured-services .specialty-card:hover .specialty-image img {
  transform: scale(1.05);
}

.featured-services .specialty-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  position: relative;
}

.featured-services .specialty-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.featured-services .specialty-content h5 {
  font-size: 16px;
  font-weight: 400;
  color: var(--heading-color);
  margin-bottom: 8px;
}

.featured-services .specialty-content span {
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  line-height: 1.5;
}

@media (max-width: 992px) {
  .featured-services .services-sidebar {
    padding-left: 0;
    margin-top: 40px;
  }

  .featured-services .service-details h2 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .featured-services {
    padding: 60px 0;
  }

  .featured-services .service-image-wrapper {
    height: 280px;
  }

  .featured-services .service-overlay {
    padding: 24px;
  }

  .featured-services .service-details {
    padding-top: 24px;
  }

  .featured-services .service-details h2 {
    font-size: 24px;
  }

  .featured-services .service-details p {
    font-size: 15px;
  }

  .featured-services .service-item {
    padding: 24px 0;
  }

  .featured-services .specialties-grid {
    margin-top: 50px;
  }

  .featured-services .specialty-image {
    width: 80px;
    height: 80px;
    margin-bottom: 16px;
  }

  .featured-services .specialty-content h5 {
    font-size: 14px;
  }

  .featured-services .specialty-content span {
    font-size: 12px;
  }
}

/*--------------------------------------------------------------
# Find A Doctor Section
--------------------------------------------------------------*/
.find-a-doctor .search-section {
  max-width: 100%;
  margin: 0 auto;
}

.find-a-doctor .search-section .search-title {
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--heading-color);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.find-a-doctor .search-section .search-subtitle {
  font-size: 1.125rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 3rem;
  line-height: 1.6;
  font-weight: 300;
}

.find-a-doctor .search-section .search-form .search-input-group {
  display: flex;
  align-items: stretch;
  background: var(--surface-color);
  border-radius: 60px;
  padding: 8px;
  box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 94%);
  transition: all 0.4s ease;
}

.find-a-doctor .search-section .search-form .search-input-group:focus-within {
  box-shadow: 0 25px 80px color-mix(in srgb, var(--accent-color), transparent 90%);
}

.find-a-doctor .search-section .search-form .input-wrapper,
.find-a-doctor .search-section .search-form .select-wrapper {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.find-a-doctor .search-section .search-form .input-wrapper i,
.find-a-doctor .search-section .search-form .select-wrapper i {
  position: absolute;
  left: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 1.1rem;
  z-index: 2;
}

.find-a-doctor .search-section .search-form .form-control,
.find-a-doctor .search-section .search-form .form-select {
  border: none;
  background: transparent;
  padding: 20px 20px 20px 50px;
  font-size: 1rem;
  color: var(--default-color);
  border-radius: 0;
}

.find-a-doctor .search-section .search-form .form-control:focus,
.find-a-doctor .search-section .search-form .form-select:focus {
  box-shadow: none;
  background: transparent;
}

.find-a-doctor .search-section .search-form .form-control::placeholder,
.find-a-doctor .search-section .search-form .form-select::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-weight: 300;
}

.find-a-doctor .search-section .search-form .search-btn {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  border-radius: 50px;
  padding: 18px 32px;
  font-weight: 500;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.find-a-doctor .search-section .search-form .search-btn:hover {
  background: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.find-a-doctor .search-section .search-form .search-btn i {
  font-size: 1.1rem;
}

.find-a-doctor .doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.find-a-doctor .doctor-profile {
  background: var(--surface-color);
  border-radius: 24px;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 95%);
}

.find-a-doctor .doctor-profile:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px color-mix(in srgb, var(--default-color), transparent 88%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 80%);
}

.find-a-doctor .doctor-profile .profile-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.find-a-doctor .doctor-profile .profile-header .doctor-avatar {
  position: relative;
  flex-shrink: 0;
}

.find-a-doctor .doctor-profile .profile-header .doctor-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  object-fit: cover;
}

.find-a-doctor .doctor-profile .profile-header .doctor-avatar .status-indicator {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid var(--surface-color);
}

.find-a-doctor .doctor-profile .profile-header .doctor-avatar .status-indicator.available {
  background: #10b981;
}

.find-a-doctor .doctor-profile .profile-header .doctor-avatar .status-indicator.busy {
  background: #f59e0b;
}

.find-a-doctor .doctor-profile .profile-header .doctor-avatar .status-indicator.offline {
  background: color-mix(in srgb, var(--default-color), transparent 40%);
}

.find-a-doctor .doctor-profile .profile-header .doctor-details {
  flex: 1;
}

.find-a-doctor .doctor-profile .profile-header .doctor-details h4 {
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.find-a-doctor .doctor-profile .profile-header .doctor-details .specialty-tag {
  display: inline-block;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 12px;
  margin-bottom: 0.75rem;
}

.find-a-doctor .doctor-profile .profile-header .doctor-details .experience-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.9rem;
}

.find-a-doctor .doctor-profile .profile-header .doctor-details .experience-info i {
  color: color-mix(in srgb, var(--accent-color), transparent 20%);
  font-size: 1rem;
}

.find-a-doctor .doctor-profile .rating-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.find-a-doctor .doctor-profile .rating-section .stars {
  display: flex;
  gap: 2px;
}

.find-a-doctor .doctor-profile .rating-section .stars i {
  color: #fbbf24;
  font-size: 1rem;
}

.find-a-doctor .doctor-profile .rating-section .rating-score {
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--heading-color);
}

.find-a-doctor .doctor-profile .rating-section .review-count {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 0.875rem;
}

.find-a-doctor .doctor-profile .action-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.find-a-doctor .doctor-profile .action-buttons .btn-secondary,
.find-a-doctor .doctor-profile .action-buttons .btn-primary {
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 500;
  font-size: 0.9rem;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid;
}

.find-a-doctor .doctor-profile .action-buttons .btn-secondary:hover,
.find-a-doctor .doctor-profile .action-buttons .btn-primary:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.find-a-doctor .doctor-profile .action-buttons .btn-secondary {
  background: transparent;
  color: var(--default-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.find-a-doctor .doctor-profile .action-buttons .btn-secondary:hover {
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  color: var(--default-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.find-a-doctor .doctor-profile .action-buttons .btn-primary {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
}

.find-a-doctor .doctor-profile .action-buttons .btn-primary:hover {
  background: color-mix(in srgb, var(--accent-color), black 10%);
  border-color: color-mix(in srgb, var(--accent-color), black 10%);
  color: var(--contrast-color);
}

.find-a-doctor .btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 16px 32px;
  background: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
  border-radius: 50px;
  font-weight: 500;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.find-a-doctor .btn-view-all:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
  text-decoration: none;
  box-shadow: 0 8px 25px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.find-a-doctor .btn-view-all i {
  transition: transform 0.3s ease;
}

.find-a-doctor .btn-view-all:hover i {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .find-a-doctor .search-section .search-title {
    font-size: 2rem;
  }

  .find-a-doctor .search-section .search-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .find-a-doctor .search-section .search-input-group {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 24px;
  }

  .find-a-doctor .search-section .search-input-group .search-btn {
    border-radius: 16px;
    justify-content: center;
  }

  .find-a-doctor .search-section .search-input-group .form-control,
  .find-a-doctor .search-section .search-input-group .form-select {
    padding: 16px 20px;
  }

  .find-a-doctor .search-section .search-input-group .input-wrapper i,
  .find-a-doctor .search-section .search-input-group .select-wrapper i {
    display: none;
  }

  .find-a-doctor .doctors-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
  }

  .find-a-doctor .doctor-profile {
    padding: 1.5rem;
  }

  .find-a-doctor .doctor-profile .profile-header {
    gap: 1rem;
  }

  .find-a-doctor .doctor-profile .profile-header .doctor-avatar img {
    width: 60px;
    height: 60px;
  }

  .find-a-doctor .doctor-profile .profile-header .doctor-details h4 {
    font-size: 1.25rem;
  }

  .find-a-doctor .doctor-profile .action-buttons {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

@media (max-width: 576px) {
  .find-a-doctor .search-section .search-title {
    font-size: 1.75rem;
  }

  .find-a-doctor .doctor-profile {
    border-radius: 16px;
    padding: 1.25rem;
  }
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
  padding: 120px 0 100px;
}

.call-to-action .hero-content {
  margin-bottom: 120px;
}

.call-to-action .hero-content .content-wrapper {
  padding-right: 40px;
}

@media (max-width: 992px) {
  .call-to-action .hero-content .content-wrapper {
    padding-right: 0;
    margin-bottom: 60px;
    text-align: center;
  }
}

.call-to-action .hero-content h1 {
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 30px;
  color: var(--heading-color);
}

@media (max-width: 768px) {
  .call-to-action .hero-content h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .call-to-action .hero-content h1 {
    font-size: 2rem;
  }
}

.call-to-action .hero-content p {
  font-size: 18px;
  line-height: 1.8;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 50px;
}

.call-to-action .hero-content .cta-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 992px) {
  .call-to-action .hero-content .cta-wrapper {
    align-items: center;
  }
}

.call-to-action .hero-content .cta-wrapper .primary-cta,
.call-to-action .hero-content .cta-wrapper .secondary-cta {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 400;
  font-size: 16px;
  transition: all 0.3s ease;
  width: fit-content;
}

.call-to-action .hero-content .cta-wrapper .primary-cta span,
.call-to-action .hero-content .cta-wrapper .secondary-cta span {
  margin-right: 8px;
}

.call-to-action .hero-content .cta-wrapper .primary-cta i,
.call-to-action .hero-content .cta-wrapper .secondary-cta i {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.call-to-action .hero-content .cta-wrapper .primary-cta:hover i,
.call-to-action .hero-content .cta-wrapper .secondary-cta:hover i {
  transform: translateX(4px);
}

.call-to-action .hero-content .cta-wrapper .primary-cta {
  color: var(--accent-color);
  border-bottom: 1px solid var(--accent-color);
  padding-bottom: 2px;
}

.call-to-action .hero-content .cta-wrapper .primary-cta:hover {
  color: color-mix(in srgb, var(--accent-color), black 20%);
  border-color: color-mix(in srgb, var(--accent-color), black 20%);
}

.call-to-action .hero-content .cta-wrapper .secondary-cta {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.call-to-action .hero-content .cta-wrapper .secondary-cta:hover {
  color: var(--default-color);
}

.call-to-action .hero-content .image-container {
  position: relative;
}

.call-to-action .hero-content .image-container img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .call-to-action .hero-content .image-container img {
    height: 300px;
  }
}

.call-to-action .features-section {
  margin-bottom: 120px;
}

.call-to-action .features-section .feature-block {
  padding: 60px 40px;
  text-align: left;
  border-right: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  height: 100%;
}

@media (max-width: 992px) {
  .call-to-action .features-section .feature-block {
    border-right: none;
    border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    text-align: center;
  }
}

.call-to-action .features-section .feature-block:last-child {
  border-right: none;
}

@media (max-width: 992px) {
  .call-to-action .features-section .feature-block:last-child {
    border-bottom: none;
  }
}

.call-to-action .features-section .feature-block .feature-icon {
  margin-bottom: 30px;
}

.call-to-action .features-section .feature-block .feature-icon i {
  font-size: 2.5rem;
  color: var(--accent-color);
}

.call-to-action .features-section .feature-block h3 {
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 20px;
  color: var(--heading-color);
}

.call-to-action .features-section .feature-block p {
  font-size: 15px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 0;
}

.call-to-action .contact-block {
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  padding: 60px 40px;
  border-radius: 4px;
}

.call-to-action .contact-block .contact-content h2 {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 20px;
  color: var(--heading-color);
}

@media (max-width: 768px) {
  .call-to-action .contact-block .contact-content h2 {
    font-size: 1.6rem;
  }
}

.call-to-action .contact-block .contact-content p {
  font-size: 16px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .call-to-action .contact-block .contact-content p {
    margin-bottom: 30px;
  }
}

.call-to-action .contact-block .contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}

@media (max-width: 992px) {
  .call-to-action .contact-block .contact-actions {
    align-items: center;
  }
}

.call-to-action .contact-block .contact-actions .emergency-call {
  display: inline-flex;
  align-items: center;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 15px 25px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
}

.call-to-action .contact-block .contact-actions .emergency-call i {
  margin-right: 10px;
  font-size: 16px;
}

.call-to-action .contact-block .contact-actions .emergency-call:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 15%);
  transform: translateY(-2px);
}

.call-to-action .contact-block .contact-actions .contact-link {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.call-to-action .contact-block .contact-actions .contact-link:hover {
  color: var(--default-color);
}

@media (max-width: 992px) {
  .call-to-action .contact-block {
    text-align: center;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about {
  padding: 100px 0;
}

.about .about-content h2 {
  font-size: 2.8rem;
  font-weight: 300;
  margin-bottom: 2rem;
  line-height: 1.3;
}

.about .about-content p.lead {
  font-size: 1.25rem;
  font-weight: 300;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.about .about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 3rem;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.about .stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 576px) {
  .about .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.about .stats-grid .stat-item {
  text-align: center;
  padding: 1.5rem;
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  transition: transform 0.3s ease;
}

.about .stats-grid .stat-item:hover {
  transform: translateY(-5px);
}

.about .stats-grid .stat-item .stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.about .stats-grid .stat-item .stat-label {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-weight: 500;
}

.about .image-wrapper {
  position: relative;
}

.about .image-wrapper .main-image {
  border-radius: 12px;
  box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 85%);
}

.about .image-wrapper .floating-image {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 8px solid var(--surface-color);
  box-shadow: 0 15px 40px color-mix(in srgb, var(--default-color), transparent 80%);
}

@media (max-width: 768px) {
  .about .image-wrapper .floating-image {
    width: 150px;
    height: 150px;
    bottom: -20px;
    right: -20px;
    border-width: 6px;
  }
}

.about .image-wrapper .floating-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about .values-section {
  margin-top: 120px;
}

.about .values-section h3 {
  font-size: 2.2rem;
  font-weight: 300;
  margin-bottom: 1rem;
}

.about .values-section .section-description {
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.about .values-section .value-item {
  text-align: center;
  padding: 2rem 1rem;
  transition: transform 0.3s ease;
}

.about .values-section .value-item:hover {
  transform: translateY(-5px);
}

.about .values-section .value-item .value-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.about .values-section .value-item .value-icon i {
  font-size: 2rem;
  color: var(--accent-color);
}

.about .values-section .value-item h4 {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.about .values-section .value-item p {
  font-size: 1rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin: 0;
}

.about .values-section .value-item:hover .value-icon {
  background: var(--accent-color);
  transform: scale(1.1);
}

.about .values-section .value-item:hover .value-icon i {
  color: var(--contrast-color);
}

.about .certifications-section {
  margin-top: 80px;
  padding: 4rem 0;
  background: color-mix(in srgb, var(--accent-color), transparent 98%);
  border-radius: 16px;
}

.about .certifications-section h3 {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 1rem;
}

.about .certifications-section .section-description {
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 3rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.about .certifications-section .certification-item {
  padding: 1.5rem;
  background: var(--surface-color);
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.about .certifications-section .certification-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--default-color), transparent 85%);
}

.about .certifications-section .certification-item img {
  max-height: 60px;
  max-width: 100%;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  filter: grayscale(100%);
}

.about .certifications-section .certification-item:hover img {
  opacity: 1;
  filter: grayscale(0%);
}

@media (max-width: 992px) {
  .about {
    padding: 80px 0;
  }

  .about .about-content {
    margin-bottom: 3rem;
  }

  .about .about-content h2 {
    font-size: 2.4rem;
  }

  .about .values-section {
    margin-top: 80px;
  }

  .about .image-wrapper .floating-image {
    position: relative;
    bottom: auto;
    right: auto;
    margin: 2rem auto 0;
    display: block;
  }
}

@media (max-width: 768px) {
  .about .about-content h2 {
    font-size: 2rem;
  }

  .about .stats-grid .stat-item .stat-number {
    font-size: 2rem;
  }

  .about .values-section .value-item {
    margin-bottom: 2rem;
  }

  .about .certifications-section {
    margin-top: 60px;
    padding: 3rem 1rem;
  }
}

/*--------------------------------------------------------------
# Departments Tabs Section
--------------------------------------------------------------*/
.departments-tabs .section-label {
  color: var(--accent-color);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 0;
  display: block;
}

.departments-tabs .medical-specialties {
  margin-top: 3rem;
}

.departments-tabs .specialty-navigation {
  margin-bottom: 2rem;
}

.departments-tabs .specialty-navigation .nav-pills {
  flex-wrap: wrap;
  gap: 0;
  justify-content: center;
}

@media (max-width: 768px) {
  .departments-tabs .specialty-navigation .nav-pills {
    flex-direction: column;
    gap: 0.5rem;
  }
}

.departments-tabs .specialty-navigation .department-tab {
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  border: none;
  border-radius: 0;
  color: var(--default-color);
  font-size: 1.2rem;
  font-weight: 600;
  padding: 2rem 1.5rem;
  position: relative;
  transition: all 0.3s ease;
  flex: 1;
  text-align: center;
}

@media (max-width: 992px) {
  .departments-tabs .specialty-navigation .department-tab {
    font-size: 1rem;
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 768px) {
  .departments-tabs .specialty-navigation .department-tab {
    width: 100%;
    margin-bottom: 0;
  }
}

.departments-tabs .specialty-navigation .department-tab:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 10%);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

.departments-tabs .specialty-navigation .department-tab.active {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.departments-tabs .specialty-navigation .department-tab.active::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid var(--accent-color);
}

@media (max-width: 768px) {
  .departments-tabs .specialty-navigation .department-tab.active::after {
    display: none;
  }
}

.departments-tabs .department-content {
  background-color: var(--surface-color);
  border-radius: 12px;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 3rem;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .departments-tabs .department-content {
    padding: 2rem 1.5rem;
  }
}

.departments-tabs .department-layout {
  align-items: stretch;
}

.departments-tabs .department-image {
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.departments-tabs .department-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.departments-tabs .department-image img:hover {
  transform: scale(1.05);
}

@media (max-width: 992px) {
  .departments-tabs .department-image {
    height: 300px;
    margin-bottom: 2rem;
  }
}

.departments-tabs .department-info {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 992px) {
  .departments-tabs .department-info {
    height: auto;
  }
}

.departments-tabs .department-title {
  color: var(--heading-color);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .departments-tabs .department-title {
    font-size: 1.8rem;
  }
}

.departments-tabs .department-description {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.departments-tabs .service-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding: 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.departments-tabs .service-item:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  transform: translateY(-2px);
}

.departments-tabs .service-icon {
  background-color: var(--accent-color);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

.departments-tabs .service-icon i {
  color: var(--contrast-color);
  font-size: 1.5rem;
}

.departments-tabs .service-content {
  flex: 1;
}

.departments-tabs .service-content h4 {
  color: var(--heading-color);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.departments-tabs .service-content p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0;
}

.departments-tabs .tab-pane {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.departments-tabs .tab-pane.show.active {
  opacity: 1;
  transform: translateY(0);
}

/*--------------------------------------------------------------
# Departments Section
--------------------------------------------------------------*/
.departments .department-card {
  position: relative;
  background-color: var(--surface-color);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.departments .department-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.departments .department-card:hover .department-image img {
  transform: scale(1.05);
}

.departments .department-card:hover .department-icon {
  transform: scale(1.1);
  color: var(--contrast-color);
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), var(--heading-color) 20%));
}

.departments .department-card:hover .learn-more {
  color: var(--accent-color);
}

.departments .department-card:hover .learn-more i {
  transform: translateX(5px);
}

.departments .department-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 24px;
  transition: all 0.4s ease;
  z-index: 2;
}

.departments .department-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.departments .department-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.departments .department-content {
  padding: 30px 25px 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.departments .department-content h3 {
  font-size: 22px;
  font-weight: 300;
  margin-bottom: 15px;
  color: var(--heading-color);
  font-family: var(--heading-font);
  line-height: 1.3;
}

.departments .department-content p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}

.departments .department-content .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--heading-color);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-top: auto;
}

.departments .department-content .learn-more span {
  font-family: var(--heading-font);
}

.departments .department-content .learn-more i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .departments .department-card {
    margin-bottom: 20px;
  }

  .departments .department-image {
    height: 200px;
  }

  .departments .department-content {
    padding: 25px 20px 20px;
  }

  .departments .department-content h3 {
    font-size: 20px;
  }

  .departments .department-content p {
    font-size: 14px;
  }

  .departments .department-icon {
    width: 50px;
    height: 50px;
    top: 15px;
    right: 15px;
    font-size: 20px;
  }
}

/*--------------------------------------------------------------
# Department Details Section
--------------------------------------------------------------*/
.department-details .department-hero {
  padding: 2rem 0;
}

.department-details .department-hero .badge-wrap {
  margin-bottom: 1.5rem;
}

.department-details .department-hero .badge-wrap .specialty-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.department-details .department-hero .department-title {
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.1;
  color: var(--heading-color);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.department-details .department-hero .department-intro {
  font-size: 1.125rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 3rem;
  max-width: 90%;
}

.department-details .department-hero .key-highlights {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.department-details .department-hero .key-highlights .highlight-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.department-details .department-hero .key-highlights .highlight-item .highlight-number {
  font-size: 2.25rem;
  font-weight: 300;
  color: var(--accent-color);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.department-details .department-hero .key-highlights .highlight-item .highlight-text {
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.department-details .department-hero .action-group {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.department-details .department-hero .action-group .btn-primary {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 1rem 2.5rem;
  border-radius: 0;
  font-weight: 400;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--accent-color);
}

.department-details .department-hero .action-group .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 15%);
  transform: translateX(5px);
}

.department-details .department-hero .action-group .btn-secondary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--default-color);
  text-decoration: none;
  font-weight: 400;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.department-details .department-hero .action-group .btn-secondary i {
  transition: transform 0.3s ease;
}

.department-details .department-hero .action-group .btn-secondary:hover {
  color: var(--accent-color);
}

.department-details .department-hero .action-group .btn-secondary:hover i {
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .department-details .department-hero .department-title {
    font-size: 2.5rem;
  }

  .department-details .department-hero .key-highlights {
    gap: 1.5rem;
  }

  .department-details .department-hero .action-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}

.department-details .department-visual .image-container {
  position: relative;
  height: 100%;
  min-height: 500px;
}

.department-details .department-visual .image-container .primary-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.department-details .department-visual .image-container .floating-card {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background-color: var(--surface-color);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  max-width: 280px;
}

.department-details .department-visual .image-container .floating-card .card-icon {
  width: 50px;
  height: 50px;
  background-color: var(--accent-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.department-details .department-visual .image-container .floating-card .card-icon i {
  font-size: 1.5rem;
  color: var(--contrast-color);
}

.department-details .department-visual .image-container .floating-card .card-content h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
}

.department-details .department-visual .image-container .floating-card .card-content p {
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 0;
  line-height: 1.5;
}

@media (max-width: 991px) {
  .department-details .department-visual {
    margin-top: 3rem;
  }

  .department-details .department-visual .image-container {
    min-height: 400px;
  }

  .department-details .department-visual .image-container .floating-card {
    bottom: 1rem;
    left: 1rem;
    max-width: 250px;
  }
}

.department-details .services-overview {
  margin-top: 8rem;
  margin-bottom: 6rem;
}

.department-details .services-overview .overview-header {
  text-align: center;
  margin-bottom: 4rem;
}

.department-details .services-overview .overview-header h3 {
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--heading-color);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.department-details .services-overview .overview-header p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  max-width: 600px;
  margin: 0 auto;
}

.department-details .services-overview .services-grid .service-item {
  text-align: left;
  padding: 2rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.3s ease;
}

.department-details .services-overview .services-grid .service-item:hover {
  padding-left: 1rem;
}

.department-details .services-overview .services-grid .service-item:hover .service-icon {
  background-color: var(--accent-color);
}

.department-details .services-overview .services-grid .service-item:hover .service-icon i {
  color: var(--contrast-color);
}

.department-details .services-overview .services-grid .service-item .service-icon {
  width: 60px;
  height: 60px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.department-details .services-overview .services-grid .service-item .service-icon i {
  font-size: 1.5rem;
  color: var(--accent-color);
  transition: color 0.3s ease;
}

.department-details .services-overview .services-grid .service-item h4 {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--heading-color);
  margin-bottom: 1rem;
}

.department-details .services-overview .services-grid .service-item p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  line-height: 1.6;
  margin-bottom: 0;
}

.department-details .expert-care-section {
  margin-top: 6rem;
}

.department-details .expert-care-section .expert-image img {
  width: 100%;
  height: auto;
  border-radius: 0;
}

.department-details .expert-care-section .expert-content {
  padding-left: 3rem;
}

.department-details .expert-care-section .expert-content h3 {
  font-size: 2.25rem;
  font-weight: 300;
  color: var(--heading-color);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.department-details .expert-care-section .expert-content .lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 2.5rem;
}

.department-details .expert-care-section .expert-content .expertise-list {
  margin-bottom: 3rem;
}

.department-details .expert-care-section .expert-content .expertise-list .expertise-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.department-details .expert-care-section .expert-content .expertise-list .expertise-item i {
  color: var(--accent-color);
  font-size: 1.125rem;
  flex-shrink: 0;
}

.department-details .expert-care-section .expert-content .expertise-list .expertise-item span {
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  line-height: 1.6;
}

.department-details .expert-care-section .expert-content .contact-info .contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.department-details .expert-care-section .expert-content .contact-info .contact-item i {
  width: 40px;
  height: 40px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.department-details .expert-care-section .expert-content .contact-info .contact-item div {
  display: flex;
  flex-direction: column;
}

.department-details .expert-care-section .expert-content .contact-info .contact-item div .contact-label {
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 0.25rem;
}

.department-details .expert-care-section .expert-content .contact-info .contact-item div .contact-value {
  font-weight: 500;
  color: var(--default-color);
}

@media (max-width: 991px) {
  .department-details .expert-care-section .expert-content {
    padding-left: 0;
    margin-top: 3rem;
  }
}

@media (max-width: 768px) {
  .department-details .expert-care-section .expert-content h3 {
    font-size: 1.875rem;
  }
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services {
  padding: 80px 0;
}

.services .service-item {
  background: var(--surface-color);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.services .service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.services .service-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.services .service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.services .service-image .service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 20%));
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.services .service-image .service-overlay i {
  font-size: 3rem;
  color: var(--contrast-color);
  transform: scale(0.7);
  transition: transform 0.3s ease;
}

.services .service-image:hover img {
  transform: scale(1.05);
}

.services .service-image:hover .service-overlay {
  opacity: 0.9;
}

.services .service-image:hover .service-overlay i {
  transform: scale(1);
}

.services .service-content {
  padding: 30px 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.services .service-content h3 {
  color: var(--heading-color);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.3;
}

.services .service-content p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.services .service-content .service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 25px;
}

.services .service-content .service-features .feature-item {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  color: var(--default-color);
}

.services .service-content .service-features .feature-item i {
  color: var(--accent-color);
  font-size: 0.75rem;
  margin-right: 8px;
}

.services .service-content .service-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 20px;
  background: color-mix(in srgb, var(--accent-color), transparent 5%);
  color: var(--contrast-color);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-top: auto;
}

.services .service-content .service-btn i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.services .service-content .service-btn:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.services .service-content .service-btn:hover i {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .services {
    padding: 60px 0;
  }

  .services .service-image {
    height: 200px;
  }

  .services .service-content {
    padding: 25px 20px;
  }

  .services .service-content h3 {
    font-size: 1.3rem;
  }

  .services .service-content p {
    font-size: 0.9rem;
  }

  .services .service-content .service-features .feature-item {
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .services .service-features {
    flex-direction: column;
    gap: 10px;
  }

  .services .service-features .feature-item {
    justify-content: flex-start;
  }
}

/*--------------------------------------------------------------
# Service Details 2 Section
--------------------------------------------------------------*/
.service-details-2 .service-header .service-category span {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 20%));
  color: var(--contrast-color);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2rem;
}

.service-details-2 .service-header h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.15;
}

@media (max-width: 768px) {
  .service-details-2 .service-header h2 {
    font-size: 2.2rem;
  }
}

.service-details-2 .service-header .lead {
  font-size: 1.25rem;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  font-weight: 400;
  line-height: 1.5;
}

.service-details-2 .service-details .detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.service-details-2 .service-details .detail-item .icon-wrapper {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), black 15%));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 25px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.service-details-2 .service-details .detail-item .icon-wrapper i {
  font-size: 1.5rem;
  color: var(--contrast-color);
}

.service-details-2 .service-details .detail-item .content h4 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
  color: var(--heading-color);
}

.service-details-2 .service-details .detail-item .content p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.6;
  margin: 0;
}

.service-details-2 .service-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.service-details-2 .service-visual img {
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-details-2 .service-visual .visual-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
}

.service-details-2 .service-visual .stats-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  justify-content: space-around;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-details-2 .service-visual .stats-card .stat {
  text-align: center;
}

.service-details-2 .service-visual .stats-card .stat .number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1;
}

.service-details-2 .service-visual .stats-card .stat .label {
  display: block;
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-weight: 500;
  margin-top: 0.3rem;
}

.service-details-2 .service-overview {
  background: var(--surface-color);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.service-details-2 .service-overview h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .service-details-2 .service-overview h3 {
    font-size: 1.6rem;
  }
}

.service-details-2 .service-overview p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  margin-bottom: 2rem;
}

.service-details-2 .service-overview .features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (max-width: 576px) {
  .service-details-2 .service-overview .features-grid {
    grid-template-columns: 1fr;
  }
}

.service-details-2 .service-overview .features-grid .feature {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem;
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-radius: 12px;
}

.service-details-2 .service-overview .features-grid .feature i {
  color: var(--accent-color);
  font-size: 1.2rem;
}

.service-details-2 .service-overview .features-grid .feature span {
  font-weight: 500;
  color: var(--heading-color);
}

.service-details-2 .service-overview .treatment-areas {
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  padding: 2rem;
  border-radius: 16px;
}

.service-details-2 .service-overview .treatment-areas h4 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--heading-color);
  font-weight: 600;
}

.service-details-2 .service-overview .treatment-areas .condition-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.service-details-2 .service-overview .treatment-areas .condition-tags .tag {
  background: var(--surface-color);
  color: color-mix(in srgb, var(--default-color), transparent 10%);
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.3s ease;
}

.service-details-2 .service-overview .treatment-areas .condition-tags .tag:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

@media (max-width: 992px) {
  .service-details-2 .service-overview {
    padding: 2rem;
  }

  .service-details-2 .service-overview .treatment-areas {
    margin-top: 2rem;
  }
}

.service-details-2 .action-card {
  background: var(--surface-color);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  height: 100%;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.service-details-2 .action-card.primary {
  border-color: var(--accent-color);
  background: linear-gradient(135deg, var(--surface-color), color-mix(in srgb, var(--accent-color), transparent 97%));
}

.service-details-2 .action-card.primary .card-header i {
  color: var(--accent-color);
}

.service-details-2 .action-card.primary .btn-action {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.service-details-2 .action-card.primary .btn-action:hover {
  background: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-3px);
}

.service-details-2 .action-card.secondary {
  border-color: color-mix(in srgb, var(--heading-color), transparent 70%);
}

.service-details-2 .action-card.secondary .card-header i {
  color: var(--heading-color);
}

.service-details-2 .action-card.secondary .btn-action {
  background: transparent;
  color: var(--default-color);
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 50%);
}

.service-details-2 .action-card.secondary .btn-action:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-3px);
}

.service-details-2 .action-card.tertiary {
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.service-details-2 .action-card.tertiary .card-header i {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.service-details-2 .action-card.tertiary .btn-action {
  background: transparent;
  color: var(--default-color);
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 50%);
}

.service-details-2 .action-card.tertiary .btn-action:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-3px);
}

.service-details-2 .action-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.service-details-2 .action-card .card-header {
  margin-bottom: 1rem;
}

.service-details-2 .action-card .card-header i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.service-details-2 .action-card .card-header h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
}

.service-details-2 .action-card p {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.service-details-2 .action-card .card-footer .btn-action {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
  width: 100%;
}

.service-details-2 .action-card .card-footer .availability {
  display: block;
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-weight: 500;
}

@media (max-width: 768px) {
  .service-details-2 .service-header {
    margin-bottom: 3rem;
  }

  .service-details-2 .service-header .service-category span {
    margin-bottom: 1rem;
  }

  .service-details-2 .service-details {
    margin-bottom: 3rem;
  }

  .service-details-2 .service-details .detail-item {
    margin-bottom: 2rem;
  }

  .service-details-2 .visual-overlay {
    position: static !important;
    margin-top: 1rem;
  }

  .service-details-2 .visual-overlay .stats-card {
    background: var(--surface-color);
    backdrop-filter: none;
  }
}

/*--------------------------------------------------------------
# Doctors Section
--------------------------------------------------------------*/
.doctors .doctor-card {
  background: var(--surface-color);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px color-mix(in srgb, var(--default-color), transparent 90%);
}

.doctors .doctor-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px color-mix(in srgb, var(--default-color), transparent 80%);
}

.doctors .doctor-card:hover .doctor-overlay {
  opacity: 1;
}

.doctors .doctor-image {
  position: relative;
  margin-bottom: 25px;
  overflow: hidden;
  border-radius: 50%;
  width: 150px;
  height: 150px;
  margin: 0 auto 25px;
}

.doctors .doctor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.doctors .doctor-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.doctors .doctor-overlay .social-links {
  display: flex;
  gap: 10px;
}

.doctors .doctor-overlay .social-links a {
  width: 35px;
  height: 35px;
  background: var(--contrast-color);
  color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.doctors .doctor-overlay .social-links a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.doctors .doctor-overlay .social-links a i {
  font-size: 16px;
}

.doctors .doctor-content h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--heading-color);
}

.doctors .doctor-content .specialty {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 15px;
  display: block;
}

.doctors .doctor-content p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.doctors .doctor-meta {
  margin-bottom: 20px;
}

.doctors .doctor-meta .experience,
.doctors .doctor-meta .department {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 8px;
}

.doctors .doctor-meta .experience i,
.doctors .doctor-meta .department i {
  color: var(--accent-color);
  font-size: 14px;
}

.doctors .doctor-meta .department {
  margin-bottom: 0;
}

.doctors .btn-appointment {
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-block;
}

.doctors .btn-appointment:hover {
  background: color-mix(in srgb, var(--accent-color) 90%, black 15%);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .doctors .doctor-card {
    padding: 20px;
  }

  .doctors .doctor-image {
    width: 120px;
    height: 120px;
  }

  .doctors .doctor-content h4 {
    font-size: 20px;
  }

  .doctors .doctor-content .specialty {
    font-size: 14px;
  }

  .doctors .doctor-content p {
    font-size: 13px;
  }

  .doctors .btn-appointment {
    padding: 10px 25px;
    font-size: 13px;
  }
}

/*--------------------------------------------------------------
# Appointmnet Section
--------------------------------------------------------------*/
.appointmnet .booking-wrapper {
  background-color: var(--surface-color);
  border-radius: 15px;
  padding: 60px 40px;
  box-shadow: 0 5px 25px color-mix(in srgb, var(--default-color), transparent 90%);
}

.appointmnet .booking-header {
  margin-bottom: 50px;
}

.appointmnet .booking-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--heading-color);
}

.appointmnet .booking-header p {
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  max-width: 600px;
  margin: 0 auto;
}

.appointmnet .booking-steps {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 50px;
  padding: 30px 0;
}

.appointmnet .booking-steps .step {
  text-align: center;
  flex: 1;
  max-width: 200px;
  position: relative;
}

.appointmnet .booking-steps .step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 30px;
  right: -15px;
  width: 30px;
  height: 2px;
  background-color: var(--accent-color);
  z-index: 1;
}

.appointmnet .booking-steps .step .step-icon {
  width: 60px;
  height: 60px;
  background-color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  position: relative;
  z-index: 2;
}

.appointmnet .booking-steps .step .step-icon i {
  font-size: 24px;
  color: var(--contrast-color);
}

.appointmnet .booking-steps .step .step-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--heading-color);
}

.appointmnet .booking-steps .step .step-content p {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 0;
}

@media (max-width: 768px) {
  .appointmnet .booking-steps {
    flex-direction: column;
    gap: 20px;
  }

  .appointmnet .booking-steps .step {
    max-width: none;
  }

  .appointmnet .booking-steps .step:not(:last-child)::after {
    display: none;
  }
}

.appointmnet .appointment-form .php-email-form input[type=text],
.appointmnet .appointment-form .php-email-form input[type=email],
.appointmnet .appointment-form .php-email-form input[type=tel],
.appointmnet .appointment-form .php-email-form input[type=date],
.appointmnet .appointment-form .php-email-form select,
.appointmnet .appointment-form .php-email-form textarea {
  color: var(--default-color);
  background-color: transparent;
  font-size: 14px;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 80%);
  border-radius: 8px;
  padding: 15px;
  transition: all 0.3s ease;
}

.appointmnet .appointment-form .php-email-form input[type=text]:focus,
.appointmnet .appointment-form .php-email-form input[type=email]:focus,
.appointmnet .appointment-form .php-email-form input[type=tel]:focus,
.appointmnet .appointment-form .php-email-form input[type=date]:focus,
.appointmnet .appointment-form .php-email-form select:focus,
.appointmnet .appointment-form .php-email-form textarea:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--accent-color), transparent 80%);
  outline: none;
}

.appointmnet .appointment-form .php-email-form input[type=text]::placeholder,
.appointmnet .appointment-form .php-email-form input[type=email]::placeholder,
.appointmnet .appointment-form .php-email-form input[type=tel]::placeholder,
.appointmnet .appointment-form .php-email-form input[type=date]::placeholder,
.appointmnet .appointment-form .php-email-form select::placeholder,
.appointmnet .appointment-form .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.appointmnet .appointment-form .php-email-form .form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.appointmnet .appointment-form .php-email-form .btn-book {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 15px 40px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  width: 100%;
  cursor: pointer;
}

.appointmnet .appointment-form .php-email-form .btn-book:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
}

.appointmnet .appointment-form .php-email-form .btn-book:active {
  transform: translateY(0);
}

.appointmnet .emergency-info {
  margin-top: 30px;
  padding: 20px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 8px;
  text-align: center;
}

.appointmnet .emergency-info p {
  margin: 0;
  color: var(--heading-color);
  font-size: 0.9rem;
}

.appointmnet .emergency-info p i {
  color: #dc3545;
  margin-right: 8px;
}

.appointmnet .emergency-info p strong {
  color: #dc3545;
  font-weight: 700;
}

@media (max-width: 768px) {
  .appointmnet .booking-wrapper {
    padding: 40px 25px;
  }

  .appointmnet .booking-header h2 {
    font-size: 2rem;
  }
}


/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallery .gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.gallery .gallery-item img {
  transition: 0.3s;
}

.gallery .gallery-links {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: all ease-in-out 0.3s;
  background: rgba(0, 0, 0, 0.6);
  z-index: 3;
}

.gallery .gallery-links .preview-link,
.gallery .gallery-links .details-link {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.5);
  transition: 0.3s;
  line-height: 1.2;
  margin: 30px 8px 0 8px;
}

.gallery .gallery-links .preview-link:hover,
.gallery .gallery-links .details-link:hover {
  color: #ffffff;
}

.gallery .gallery-links .details-link {
  font-size: 30px;
  line-height: 0;
}

.gallery .gallery-item:hover .gallery-links {
  opacity: 1;
}

.gallery .gallery-item:hover .preview-link,
.gallery .gallery-item:hover .details-link {
  margin-top: 0;
}

.gallery .gallery-item:hover img {
  transform: scale(1.1);
}

.glightbox-clean .gslide-description {
  background: #272727;
}

.glightbox-clean .gslide-title {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .faq-item {
  margin-bottom: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq .faq-item:last-child {
  border-bottom: none;
}

.faq .faq-item.faq-active .faq-header .faq-number {
  color: var(--accent-color);
  font-weight: 500;
}

.faq .faq-item.faq-active .faq-header h4 {
  color: var(--accent-color);
}

.faq .faq-item.faq-active .faq-header .faq-toggle {
  color: var(--accent-color);
  transform: rotate(0deg);
}

.faq .faq-item.faq-active .faq-header .faq-toggle i.bi-plus {
  opacity: 0;
  transform: rotate(90deg);
}

.faq .faq-item.faq-active .faq-header .faq-toggle i.bi-dash {
  opacity: 1;
  transform: rotate(0deg);
}

.faq .faq-item.faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
}

.faq .faq-item:not(.faq-active) .faq-header .faq-toggle i.bi-plus {
  opacity: 1;
  transform: rotate(0deg);
}

.faq .faq-item:not(.faq-active) .faq-header .faq-toggle i.bi-dash {
  opacity: 0;
  transform: rotate(-90deg);
}

.faq .faq-item .faq-header {
  display: flex;
  align-items: center;
  padding: 40px 0;
  cursor: pointer;
  gap: 0;
  transition: all 0.3s ease;
}

.faq .faq-item .faq-header:hover .faq-number {
  transform: scale(1.1);
}

.faq .faq-item .faq-header:hover .faq-toggle {
  transform: scale(1.1);
}

.faq .faq-item .faq-header .faq-number {
  flex-shrink: 0;
  width: 80px;
  font-family: var(--heading-font);
  font-size: 1.1rem;
  font-weight: 300;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  transition: all 0.3s ease;
  letter-spacing: -0.02em;
}

.faq .faq-item .faq-header h4 {
  flex: 1;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--heading-color);
  transition: all 0.3s ease;
  line-height: 1.5;
  letter-spacing: -0.01em;
  margin-right: 20px;
}

.faq .faq-item .faq-header .faq-toggle {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 18px;
  transition: all 0.3s ease;
  position: relative;
}

.faq .faq-item .faq-header .faq-toggle i {
  position: absolute;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  visibility: hidden;
  opacity: 0;
}

.faq .faq-item .faq-content .content-inner {
  padding: 0 80px 40px 80px;
  overflow: hidden;
}

.faq .faq-item .faq-content .content-inner p {
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  line-height: 1.8;
  font-size: 1rem;
  font-weight: 300;
}

@media (max-width: 768px) {
  .faq .faq-item .faq-header {
    padding: 30px 0;
  }

  .faq .faq-item .faq-header .faq-number {
    width: 60px;
    font-size: 1rem;
  }

  .faq .faq-item .faq-header h4 {
    font-size: 1.1rem;
    margin-right: 15px;
  }

  .faq .faq-item .faq-header .faq-toggle {
    width: 20px;
    height: 20px;
    font-size: 16px;
  }

  .faq .faq-item .faq-content .content-inner {
    padding: 0 60px 30px 60px;
  }

  .faq .faq-item .faq-content .content-inner p {
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .faq .faq-item .faq-header {
    padding: 25px 0;
  }

  .faq .faq-item .faq-header .faq-number {
    width: 50px;
    font-size: 0.9rem;
  }

  .faq .faq-item .faq-header h4 {
    font-size: 1rem;
    margin-right: 10px;
  }

  .faq .faq-item .faq-content .content-inner {
    padding: 0 50px 25px 50px;
  }

  .faq .faq-item .faq-content .content-inner p {
    font-size: 0.9rem;
  }
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact .contact-info-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact .contact-info-item .info-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact .contact-info-item .info-icon i {
  font-size: 24px;
  color: var(--accent-color);
}

.contact .contact-info-item .info-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.contact .contact-info-item .info-content p {
  margin-bottom: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.7;
}

.contact .contact-info-item .info-content p:last-child {
  margin-bottom: 0;
}

.contact .contact-form-card {
  background-color: var(--surface-color);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.03);
}

.contact .contact-form-card h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 10px;
}

.contact .contact-form-card p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.7;
  margin-bottom: 30px;
}

.contact .contact-form-card .form-control {
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  padding: 15px 20px;
  height: calc(3.5rem + 2px);
  background-color: var(--surface-color);
  color: var(--default-color);
  margin-bottom: 20px;
}

.contact .contact-form-card .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--accent-color), transparent 90%);
}

.contact .contact-form-card .form-control::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.contact .contact-form-card textarea.form-control {
  min-height: 150px;
  margin-bottom: 25px;
}

.contact .btn-submit {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
  width: 100%;
}

.contact .btn-submit:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.contact .map-container {
  position: relative;
  margin-top: 50px;
  padding: 0;
}

.contact .map-container .map-overlay {
  position: absolute;
  top: -30px;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, var(--background-color), transparent);
  z-index: 10;
}

.contact .map-container iframe {
  display: block;
  width: 100%;
  height: 500px;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

@media (max-width: 992px) {
  .contact .contact-form-card {
    padding: 30px;
  }

  .contact .map-container {
    margin-top: 40px;
  }

  .contact .map-container .map-overlay {
    top: -25px;
    height: 50px;
  }

  .contact .map-container iframe {
    height: 450px;
  }
}

@media (max-width: 768px) {
  .contact .contact-info-wrapper {
    gap: 25px;
  }

  .contact .contact-info-item {
    gap: 15px;
  }

  .contact .contact-info-item .info-icon {
    width: 50px;
    height: 50px;
  }

  .contact .contact-form-card {
    padding: 25px;
  }

  .contact .contact-form-card h2 {
    font-size: 24px;
  }

  .contact .map-container {
    margin-top: 30px;
  }

  .contact .map-container .map-overlay {
    top: -20px;
    height: 40px;
  }

  .contact .map-container iframe {
    height: 400px;
  }
}

@media (max-width: 576px) {
  .contact .contact-form-card {
    padding: 20px;
  }

  .contact .map-container {
    margin-top: 25px;
  }

  .contact .map-container .map-overlay {
    top: -15px;
    height: 30px;
  }

  .contact .map-container iframe {
    height: 350px;
    border-radius: 8px;
  }
}

/*--------------------------------------------------------------
# Terms Of Service Section
--------------------------------------------------------------*/
.terms-of-service .tos-header {
  margin-bottom: 60px;
}

.terms-of-service .tos-header .last-updated {
  display: inline-block;
  padding: 8px 20px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 30px;
  color: var(--accent-color);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.terms-of-service .tos-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.terms-of-service .tos-header p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.terms-of-service .tos-content .content-section {
  margin-bottom: 50px;
  scroll-margin-top: 100px;
}

.terms-of-service .tos-content .content-section:last-child {
  margin-bottom: 0;
}

.terms-of-service .tos-content .content-section h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--heading-color);
}

.terms-of-service .tos-content .content-section p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.7;
  margin-bottom: 20px;
}

.terms-of-service .tos-content .content-section p:last-child {
  margin-bottom: 0;
}

.terms-of-service .tos-content .content-section .info-box {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-radius: 15px;
  margin-top: 20px;
}

.terms-of-service .tos-content .content-section .info-box i {
  font-size: 1.5rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.terms-of-service .tos-content .content-section .info-box p {
  margin: 0;
  font-size: 0.95rem;
}

.terms-of-service .tos-content .content-section .list-items {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.terms-of-service .tos-content .content-section .list-items li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.terms-of-service .tos-content .content-section .list-items li:last-child {
  margin-bottom: 0;
}

.terms-of-service .tos-content .content-section .list-items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-color);
}

.terms-of-service .tos-content .content-section .alert-box {
  display: flex;
  gap: 20px;
  padding: 25px;
  background-color: var(--surface-color);
  border-radius: 15px;
  border-left: 4px solid var(--accent-color);
  margin-top: 20px;
}

.terms-of-service .tos-content .content-section .alert-box i {
  font-size: 2rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.terms-of-service .tos-content .content-section .alert-box .alert-content h5 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.terms-of-service .tos-content .content-section .alert-box .alert-content p {
  margin: 0;
  font-size: 0.95rem;
}

.terms-of-service .tos-content .content-section .prohibited-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

@media (max-width: 576px) {
  .terms-of-service .tos-content .content-section .prohibited-list {
    grid-template-columns: 1fr;
  }
}

.terms-of-service .tos-content .content-section .prohibited-list .prohibited-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background-color: var(--surface-color);
  border-radius: 12px;
}

.terms-of-service .tos-content .content-section .prohibited-list .prohibited-item i {
  color: #dc3545;
  font-size: 1.2rem;
}

.terms-of-service .tos-content .content-section .prohibited-list .prohibited-item span {
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.terms-of-service .tos-content .content-section .disclaimer-box {
  background-color: var(--surface-color);
  padding: 25px;
  border-radius: 15px;
  margin-top: 20px;
}

.terms-of-service .tos-content .content-section .disclaimer-box p {
  margin-bottom: 15px;
  font-weight: 500;
}

.terms-of-service .tos-content .content-section .disclaimer-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.terms-of-service .tos-content .content-section .disclaimer-box ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 0.95rem;
}

.terms-of-service .tos-content .content-section .disclaimer-box ul li:last-child {
  margin-bottom: 0;
}

.terms-of-service .tos-content .content-section .disclaimer-box ul li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--accent-color);
}

.terms-of-service .tos-content .content-section .notice-box {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-radius: 15px;
  margin-top: 20px;
}

.terms-of-service .tos-content .content-section .notice-box i {
  font-size: 1.5rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.terms-of-service .tos-content .content-section .notice-box p {
  margin: 0;
  font-size: 0.95rem;
}

.terms-of-service .tos-contact {
  margin-top: 60px;
}

.terms-of-service .tos-contact .contact-box {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 95%) 0%, color-mix(in srgb, var(--accent-color), transparent 98%) 100%);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 30px;
}

@media (max-width: 576px) {
  .terms-of-service .tos-contact .contact-box {
    flex-direction: column;
    text-align: center;
  }
}

.terms-of-service .tos-contact .contact-box .contact-icon {
  width: 60px;
  height: 60px;
  background-color: var(--accent-color);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.terms-of-service .tos-contact .contact-box .contact-icon i {
  font-size: 1.8rem;
  color: var(--contrast-color);
}

.terms-of-service .tos-contact .contact-box .contact-content {
  flex: 1;
}

.terms-of-service .tos-contact .contact-box .contact-content h4 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.terms-of-service .tos-contact .contact-box .contact-content p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 15px;
}

.terms-of-service .tos-contact .contact-box .contact-content .contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 25px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}

.terms-of-service .tos-contact .contact-box .contact-content .contact-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media print {
  .terms-of-service .tos-contact {
    display: none;
  }

  .terms-of-service .content-section {
    page-break-inside: avoid;
  }
}

/*--------------------------------------------------------------
# Privacy Section
--------------------------------------------------------------*/
.privacy {
  font-size: 1rem;
  line-height: 1.7;
}

.privacy .privacy-header {
  margin-bottom: 60px;
  text-align: center;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding-bottom: 40px;
}

.privacy .privacy-header .header-content {
  max-width: 800px;
  margin: 0 auto;
}

.privacy .privacy-header .header-content .last-updated {
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 20px;
}

.privacy .privacy-header .header-content h1 {
  font-size: 2.8rem;
  color: var(--heading-color);
  margin-bottom: 20px;
  font-weight: 600;
}

.privacy .privacy-header .header-content .intro-text {
  font-size: 1.2rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.6;
}

.privacy .privacy-content {
  max-width: 800px;
  margin: 0 auto 60px;
}

.privacy .privacy-content .content-section {
  margin-bottom: 50px;
}

.privacy .privacy-content .content-section:last-child {
  margin-bottom: 0;
}

.privacy .privacy-content .content-section h2 {
  font-size: 1.8rem;
  color: var(--heading-color);
  margin-bottom: 25px;
  font-weight: 600;
}

.privacy .privacy-content .content-section h3 {
  font-size: 1.4rem;
  color: var(--heading-color);
  margin: 30px 0 20px;
  font-weight: 500;
}

.privacy .privacy-content .content-section p {
  margin-bottom: 20px;
}

.privacy .privacy-content .content-section p:last-child {
  margin-bottom: 0;
}

.privacy .privacy-content .content-section ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.privacy .privacy-content .content-section ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
}

.privacy .privacy-content .content-section ul li:last-child {
  margin-bottom: 0;
}

.privacy .privacy-content .content-section ul li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--accent-color);
}

.privacy .privacy-contact {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.privacy .privacy-contact h2 {
  font-size: 1.8rem;
  color: var(--heading-color);
  margin-bottom: 20px;
  font-weight: 600;
}

.privacy .privacy-contact p {
  margin-bottom: 20px;
}

.privacy .privacy-contact .contact-details {
  background-color: var(--surface-color);
  padding: 25px;
  border-radius: 10px;
}

.privacy .privacy-contact .contact-details p {
  margin-bottom: 10px;
}

.privacy .privacy-contact .contact-details p:last-child {
  margin-bottom: 0;
}

.privacy .privacy-contact .contact-details p strong {
  color: var(--heading-color);
  font-weight: 600;
}

@media print {
  .privacy {
    font-size: 12pt;
    line-height: 1.5;
  }

  .privacy .privacy-header {
    text-align: left;
    border-bottom: 1pt solid #000;
    padding-bottom: 20pt;
    margin-bottom: 30pt;
  }

  .privacy h1 {
    font-size: 24pt;
  }

  .privacy h2 {
    font-size: 18pt;
    page-break-after: avoid;
  }

  .privacy h3 {
    font-size: 14pt;
    page-break-after: avoid;
  }

  .privacy p,
  .privacy ul {
    page-break-inside: avoid;
  }

  .privacy .contact-details {
    border: 1pt solid #000;
    padding: 15pt;
  }
}

@media (max-width: 767px) {
  .privacy .privacy-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
  }

  .privacy .privacy-header .header-content h1 {
    font-size: 2.2rem;
  }

  .privacy .privacy-header .header-content .intro-text {
    font-size: 1.1rem;
  }

  .privacy .privacy-content .content-section {
    margin-bottom: 40px;
  }

  .privacy .privacy-content .content-section h2 {
    font-size: 1.6rem;
  }

  .privacy .privacy-content .content-section h3 {
    font-size: 1.3rem;
  }
}

/*--------------------------------------------------------------
# Error 404 Section
--------------------------------------------------------------*/
.error-404 {
  padding: 120px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--surface-color) 0%, color-mix(in srgb, var(--accent-color), transparent 97%) 100%);
}

.error-404 .error-number {
  font-size: clamp(120px, 20vw, 280px);
  font-weight: 300;
  color: color-mix(in srgb, var(--heading-color), transparent 15%);
  line-height: 0.8;
  margin-bottom: 40px;
  font-family: var(--heading-font);
  letter-spacing: -0.02em;
}

.error-404 .error-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 300;
  color: var(--heading-color);
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

.error-404 .error-description {
  font-size: 18px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.error-404 .error-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  margin-bottom: 80px;
}

@media (min-width: 576px) {
  .error-404 .error-actions {
    flex-direction: row;
    justify-content: center;
    gap: 24px;
  }
}

.error-404 .error-actions .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 400;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-color);
}

.error-404 .error-actions .btn-primary:hover {
  background-color: transparent;
  color: var(--accent-color);
  transform: translateY(-2px);
}

.error-404 .error-actions .btn-primary i {
  font-size: 18px;
}

.error-404 .error-actions .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background-color: transparent;
  color: var(--heading-color);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 400;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 80%);
}

.error-404 .error-actions .btn-secondary:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  transform: translateY(-2px);
}

.error-404 .error-actions .btn-secondary i {
  font-size: 18px;
}

.error-404 .helpful-links {
  text-align: center;
}

.error-404 .helpful-links h3 {
  font-size: 24px;
  font-weight: 300;
  color: var(--heading-color);
  margin-bottom: 40px;
}

.error-404 .helpful-links .links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .error-404 .helpful-links .links-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.error-404 .helpful-links .link-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 20px;
  background-color: var(--surface-color);
  border-radius: 8px;
  text-decoration: none;
  color: var(--default-color);
  transition: all 0.3s ease;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.error-404 .helpful-links .link-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px color-mix(in srgb, var(--default-color), transparent 90%);
  color: var(--accent-color);
  border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
}


.error-404 .helpful-links .link-item i {
  font-size: 24px;
  color: var(--accent-color);
  transition: all 0.3s ease;
}

.error-404 .helpful-links .link-item span {
  font-size: 16px;
  font-weight: 400;
}

.error-404 .helpful-links .link-item:hover i {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .error-404 {
    padding: 80px 0;
  }

  .error-404 .error-actions {
    margin-bottom: 60px;
  }

  .error-404 .helpful-links .links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .error-404 .helpful-links .links-grid {
    grid-template-columns: 1fr;
  }
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  padding-top: 10px;
  padding-bottom: 60px;
  /* Add your styles here */
}



/* --- TICKER SECTION --- */
.carreras-ticker-premium {
  background: #000814; /* Azul oscuro profundo */
  padding: 30px 0;
  overflow: hidden;
  position: relative;
}

/* El contenedor que permite el movimiento infinito */
.ticker-viewport {
  display: flex;
  width: 100%;
}

.ticker-track {
  display: flex;
  width: fit-content;
  animation: scrollLinear 40s linear infinite; /* Movimiento constante sin frenos */
}

/* Pausa al pasar el mouse para facilitar el clic */
.ticker-track:hover {
  animation-play-state: paused;
}

@keyframes scrollLinear {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* Se desplaza exacto la mitad */
}

.ticker-item-container {
  display: flex;
  gap: 60px; /* Espacio generoso entre botones */
  padding-right: 60px;
}

/* --- ESTILO DE LOS BOTONES OVALADOS --- */
.carrera-card-button {
  text-decoration: none !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.4s ease;
}

.oval-visual {
  width: 180px;
  height: 120px;
  border-radius: 100px;
  border: 3px solid #d5a448; /* Dorado Institucional */
  position: relative;
  overflow: hidden; /* Mantiene el zoom dentro del óvalo */
  box-shadow: 0 0 20px rgba(213, 164, 72, 0.2);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.oval-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

/* Aura dorada interna */
.glow-effect {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle, rgba(213, 164, 72, 0.4) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}

.carrera-name {
  margin-top: 15px;
  color: #d5a448;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: 0.3s;
  text-align: center;
}

/* --- SUPER ANIMACIÓN (HOVER) --- */
.carrera-card-button:hover .oval-visual {
  transform: translateY(-20px) scale(1.1); /* Sube y crece con fluidez */
  border-color: #fff; /* Borde brilla en blanco */
  box-shadow: 0 15px 45px rgba(213, 164, 72, 0.8); /* Explosión de aura */
}

.carrera-card-button:hover img {
  transform: scale(1.2); /* Zoom controlado */
}

.carrera-card-button:hover .glow-effect {
  opacity: 1;
}

.carrera-card-button:hover .carrera-name {
  color: #fff;
  text-shadow: 0 0 10px rgba(213, 164, 72, 0.8);
}



/* --- SECCIÓN CONTACTO: VERSIÓN COMPACTA --- */
.carrera-contacto-premium {
    position: relative;
    background: #050b29;
    padding: 50px 0; /* Reducido de 100px a 50px */
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
}

.nebula-bg {
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle at center, rgba(213, 164, 72, 0.08) 0%, transparent 40%);
    animation: rotateSlow 30s linear infinite;
    z-index: 0;
}

@keyframes rotateSlow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Títulos más pequeños */
.premium-title {
    color: #ffffff;
    font-size: 1.8rem; /* Reducido de 2.5rem */
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.premium-subtitle {
    color: #d5a448;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem; /* Más pequeño */
    margin-bottom: 20px;
    letter-spacing: 2px;
}

/* --- FORMULARIO COMPACTO --- */
.form-glass-container {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    padding: 25px; /* Reducido de 40px */
    border-radius: 20px;
    border: 1px solid rgba(213, 164, 72, 0.3);
}

.pablo-casals-form label {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.75rem; /* Fuente más pequeña */
    margin-bottom: 5px;
    display: block;
    text-transform: uppercase;
}

.form-input-premium {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 15px; /* Altura más baja */
    color: #ffffff !important;
    font-size: 0.9rem;
    transition: all 0.4s ease;
}

.form-input-premium:focus {
    background: rgba(213, 164, 72, 0.1);
    border-color: #d5a448;
    box-shadow: 0 0 15px rgba(213, 164, 72, 0.3);
    outline: none;
    transform: translateX(4px);
}

/* Botón más ajustado */
.btn-premium-send {
    width: 100%;
    background: #d5a448;
    color: #050b29;
    border: none;
    padding: 12px; /* Reducido de 15px */
    border-radius: 50px;
    font-weight: 900;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.4s;
}

.btn-premium-send:hover {
    background: #ffffff;
    transform: translateY(-3px);
}

/* --- MAPA Y BENEFICIOS COMPACTOS --- */
.map-premium-wrapper {
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(213, 164, 72, 0.2);
    min-height: 250px; /* Altura mínima controlada */
}

.beneficios-modern-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.modern-card {
    background: rgba(10, 20, 69, 0.6);
    border: 1px solid rgba(213, 164, 72, 0.2);
    padding: 12px 5px; /* Más pequeño */
    border-radius: 12px;
    text-align: center;
    color: #ffffff;
    animation: floatVertical 5s ease-in-out infinite;
}

@keyframes floatVertical { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.modern-card i {
    font-size: 1.2rem; /* Iconos más pequeños */
    color: #d5a448;
    display: block;
    margin-bottom: 4px;
}

.modern-card span {
    font-size: 0.65rem; /* Texto de beneficio compacto */
    font-weight: 800;
    text-transform: uppercase;
}


/* esto es para el logod e pablo casals 
/* Ajuste personalizado para el logo del Pablo Casals */
.header .logo img {
    max-height: 70px !important; /* Aumenta este número según quieras */
    width: auto !important;       /* Mantiene la proporción */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    filter: drop-shadow(0 0 0 rgba(212, 160, 77, 0)); /* Sombra invisible al inicio */
}

.header .logo:hover img {
    transform: scale(1.15) rotate(1deg); /* Se agranda un poco y gira levemente */
    filter: drop-shadow(0 5px 15px rgba(212, 160, 77, 0.6)) brightness(1.1); 
    /* Crea un resplandor dorado (como el de tus botones) y le da brillo */
}

/* Efecto opcional: Brillo de barrido (Flash) */
.header .logo {
    position: relative;
    overflow: visible;
}

.header .logo::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    transition: 0.5s;
}
/* Opcional: Ajuste para que el logo se vea bien en móviles */
@media (max-width: 768px) {
    .header .logo img {
        max-height: 70px !important;
    }
}

/* flotante inicio de clases */
.floating-card {
  animation: flotar 2s ease-in-out infinite;
}

@keyframes flotar {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* --- VARIABLES --- */
:root {
  --casals-blue: #050b29;
  --casals-gold: #d5a448;
  --text-muted: #a0a8b9;
}

/* --- FONDO CON MOVIMIENTO ORGÁNICO --- */
@keyframes fluidBg {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.footer {
  background: linear-gradient(-45deg, #050b29, #0a1445, #000816, #050b29);
  background-size: 400% 400%;
  animation: fluidBg 15s ease infinite; /* Fondo que fluye lentamente */
  color: #fff;
  padding: 40px 0 30px;
  border-top: 4px solid var(--casals-gold);
  font-family: 'Montserrat', sans-serif;
}

/* --- TÍTULOS CON "RESPIRACIÓN" --- */
@keyframes glowTitle {
  0%, 100% { text-shadow: 0 0 5px rgba(213, 164, 72, 0.2); }
  50% { text-shadow: 0 0 15px rgba(213, 164, 72, 0.6); }
}

.footer h4 {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--casals-gold);
  margin-bottom: 50px; /* MUCHO ESPACIO debajo del título */
  text-transform: uppercase;
  animation: glowTitle 3s infinite;
}

/* --- LISTAS: ESPACIADO MÁXIMO Y MOVIMIENTO --- */
.footer ul li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 35px; /* SEPARACIÓN AGRESIVA entre bloques */
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer ul li:hover {
  transform: translateX(12px) scale(1.02); /* El bloque se mueve y crece al tocarlo */
}

.footer ul li i {
  color: var(--casals-gold);
  font-size: 1.3rem;
  margin-right: 20px; /* Más aire entre icono y texto */
  margin-top: 2px;
  transition: transform 0.6s ease;
}

.footer ul li:hover i {
  transform: rotate(360deg); /* El check gira al pasar el mouse */
}

/* --- TEXTOS ESTILIZADOS Y SEPARADOS --- */
.footer .info-content {
  display: flex;
  flex-direction: column;
  gap: 8px; /* Espacio entre el título y el dato */
}

.footer .info-content strong {
  font-size: 0.95rem; /* Un poco más pequeño para elegancia */
  color: #fff;
  letter-spacing: 0.5px;
}

.footer .info-content span {
  font-size: 0.88rem; /* Fuente más estilizada */
  color: #cbd5e0;
  line-height: 1.7; /* Más espacio entre líneas de texto */
}

/* --- ANEXOS CON GUIONES (MÁS LIMPIOS) --- */
.sub-list {
  margin-top: 10px !important;
  padding-left: 0 !important;
}

.sub-list li {
  margin-bottom: 8px !important;
  font-size: 0.82rem !important;
  color: var(--text-muted) !important;
  border-left: 1px solid var(--casals-gold); /* Guion visual moderno */
  padding-left: 10px;
}
/* --- REDES SOCIALES ESTÁTICAS (REGLA ACTUALIZADA) --- */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08); /* Fondo sutil inicial */
    border: 1px solid rgba(213, 164, 72, 0.2);
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    /* ELIMINAMOS LA ANIMACIÓN DE FLOTACIÓN */
    animation: none !important; 
}

/* --- EFECTO HOVER: CRECIMIENTO Y COLOR REAL --- */
.social-links a:hover {
    transform: scale(1.25) translateY(-3px); /* Crece y sube solo un poco al tocarlo */
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

/* Colores de marca exactos para el Instituto Pablo Casals */
.social-links a.instagram:hover { 
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); 
}

.social-links a.facebook:hover { 
    background: #1877F2; 
}

.social-links a.youtube:hover { 
    background: #FF0000; 
}

.social-links a.tiktok:hover { 
    background: #000000; 
    border-color: #fff;
}
/* --- FACEBOOK PLUGIN --- */
.footer-facebook .fb-page-container {
  background: #fff;
  border-radius: 20px;
  padding: 5px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  border: 1px solid rgba(213, 164, 72, 0.2);
  transition: all 0.5s ease;
  
  /* BORRA O COMENTA LA SIGUIENTE LÍNEA PARA QUE NO SE MUEVA */
  /* animation: floatIcon 6s infinite ease-in-out; */ 
}

/* --- FRANJA DE DERECHOS COMPACTA --- */
.footer-bottom {
  background: rgba(0, 0, 0, 0.6); /* Un tono oscuro sólido */
  padding: 15px 0; /* Reducido para que sea una franja delgada y elegante */
  margin-top: 20px; /* Reducido de 50px para que esté pegado a la info de arriba */
  border-top: 1px solid rgba(213, 164, 72, 0.2); /* Línea dorada sutil */
}

.footer-bottom p {
  margin: 0; /* Eliminamos márgenes internos del párrafo */
  font-size: 0.85rem;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.footer-bottom b {
  color: #d5a448; /* Dorado oficial Casals */
  font-weight: 700;
}

/* --- AJUSTE PARA ELIMINAR ESPACIOS EN BLANCO EN EL FOOTER --- */
.footer {
  padding-bottom: 0 !important; /* Asegura que el footer no tenga espacio extra abajo */
}

/* --- CONFIGURACIÓN DE SECCIÓN --- */
.quienes-somos-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.section-header {
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title {
  font-size: 30px;
  font-weight: 800;
  color: #050b29; /* Azul Casals */
  margin-bottom: -5px; /* Pega el título a la línea */
  letter-spacing: -0.5px;
}

.title-divider-center {
  width: 80px;
  height: 4px;
  background: #d5a448; /* Dorado Casals */
  border-radius: 10px;
  transition: all 0.5s ease;
}

.section-header:hover .title-divider-center {
  width: 160px;
  box-shadow: 0 0 15px rgba(213, 164, 72, 0.4);
}

/* --- VIDEO CON EFECTO AURA (RESPIRACIÓN) --- */
@keyframes auraPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
  50% { box-shadow: 0 15px 45px rgba(213, 164, 72, 0.2); }
}

.video-container-premium {
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  transition: all 0.5s ease;
  animation: auraPulse 4s infinite ease-in-out; /* El video "respira" dorado */
}

.video-container-premium:hover {
  transform: scale(1.02); /* Crece sutilmente */
}

.video-ratio {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-ratio iframe {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
}

.video-caption-bar {
  background: #fdfdfd;
  padding: 15px 25px;
  border-top: 3px solid #d5a448;
}

.video-caption-bar p {
  margin: 0;
  font-size: 0.88rem;
  color: #666;
  font-style: italic;
  line-height: 1.5;
}

/* --- CAJA DE TEXTO CON MOVIMIENTO DE BORDE --- */
.texto-box-institucional {
  border: 2px dashed rgba(213, 164, 72, 0.3);
  padding: 40px;
  border-radius: 20px;
  background: #fff;
  transition: all 0.4s ease;
  position: relative;
}

.texto-box-institucional:hover {
  border-style: solid;
  border-color: #d5a448;
  transform: translateX(10px); /* Se mueve a la derecha al leer */
  box-shadow: 5px 5px 25px rgba(213, 164, 72, 0.1);
}

/* --- REVELADO DE TEXTO FLUIDO --- */
.reveal-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
  text-align: justify;
  opacity: 0;
  transform: translateY(20px);
  animation: slideInText 0.8s ease forwards;
}

.reveal-text:nth-child(1) { animation-delay: 0.3s; }
.reveal-text:nth-child(2) { animation-delay: 0.5s; }
.reveal-text:nth-child(3) { animation-delay: 0.7s; }

@keyframes slideInText {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-text b {
  color: #050b29;
}

/* --- SECCIÓN VALORES COMPACTA --- */
.valores-section {
  padding: 50px 0; /* Reducido de 80px */
  background: linear-gradient(135deg, #050b29, #000816);
}

.section-title-alt {
  font-size: 22px; /* Reducido de 26px */
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* --- TARJETAS MÁS PEQUEÑAS --- */
.valor-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(213, 164, 72, 0.1);
  padding: 15px 10px; /* Padding mucho más pequeño */
  border-radius: 15px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 140px; /* Altura mínima controlada */
}

/* Mantenemos el efecto de aura pero más sutil */
.valor-card:hover {
  transform: translateY(-8px); /* Elevación menor */
  border-color: #d5a448;
  box-shadow: 0 10px 25px rgba(213, 164, 72, 0.2);
}

/* Iconos más pequeños */
.valor-card i {
  font-size: 1.8rem; /* Reducido de 2.5rem */
  color: #d5a448;
  margin-bottom: 12px;
}

.valor-card h3 {
  font-size: 0.72rem; /* Fuente más pequeña y fina */
  color: #fff;
  font-weight: 600;
  margin: 0;
  line-height: 1.2;
}


/* --- CONFIGURACIÓN DE LA SECCIÓN --- */
.mision-vision-section {
  padding: 100px 0;
  background: #ffffff;
}

.mv-card-interactive {
  position: relative;
  padding: 50px 40px;
  background: #fff;
  border-radius: 25px;
  border: 1px solid rgba(213, 164, 72, 0.2);
  overflow: hidden;
  height: 100%;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Efecto de Brillo de Fondo (Glow) */
.mv-bg-glow {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(213, 164, 72, 0.08) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s;
}

.mv-card-interactive:hover .mv-bg-glow {
  opacity: 1;
}

/* ICONO CON ÓRBITA ELÁSTICA */
.mv-icon-box {
  position: relative;
  width: 80px;
  height: 80px;
  background: #050b29; /* Azul Casals */
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  z-index: 2;
  transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.mv-icon-box i {
  font-size: 2.2rem;
  color: #d5a448; /* Dorado Casals */
  z-index: 3;
}

.icon-ring {
  position: absolute;
  width: 100%; height: 100%;
  border: 2px solid #d5a448;
  border-radius: 22px;
  opacity: 0;
  transition: all 0.5s;
}

.mv-card-interactive:hover .mv-icon-box {
  transform: scale(1.1) rotate(10deg);
  background: #d5a448;
}

.mv-card-interactive:hover .mv-icon-box i {
  color: #050b29;
}

.mv-card-interactive:hover .icon-ring {
  opacity: 1;
  transform: scale(1.4);
}

/* TÍTULO CON BARRIDO DORADO */
.mv-title-main {
  font-size: 28px;
  font-weight: 800;
  color: #050b29;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.mv-title-main::after {
  content: "";
  position: absolute;
  bottom: -5px; left: 0;
  width: 0; height: 4px;
  background: #d5a448;
  transition: width 0.4s ease;
}

.mv-card-interactive:hover .mv-title-main::after {
  width: 100%;
}

/* TEXTO CON REVELADO POR PÁRRAFO */
.mv-text-main {
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
  text-align: justify;
  transition: color 0.3s;
}

.mv-card-interactive:hover .mv-text-main {
  color: #000;
}

.mv-text-main b {
  color: #050b29;
  transition: color 0.3s;
}

.mv-card-interactive:hover .mv-text-main b {
  background: linear-gradient(120deg, #d5a448 0%, #d5a448 100%);
  background-repeat: no-repeat;
  background-size: 100% 0.2em;
  background-position: 0 88%;
}

/* ELEVACIÓN DE LA TARJETA */
.mv-card-interactive:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(5, 11, 41, 0.12);
  border-color: #d5a448;
}




/* --- SECCIÓN CARRERA PREMIUM --- */
.carrera-section {
  padding-top: 80px;
  padding-bottom: 50px;
  background: #fdfdfd;
}

.carrera-title {
  font-size: 38px;
  font-weight: 900;
  color: #050b29;
  margin-bottom: 10px;
}

.carrera-subtitle {
  font-size: 1.1rem;
  color: #d5a448;
  font-weight: 600;
  letter-spacing: 1px;
}

.carrera-line {
  width: 100px;
  height: 6px;
  background: #d5a448;
  border-radius: 10px;
  margin-top: 15px;
}

/* --- BOTÓN BROCHURE CON PULSO --- */
.btn-brochure {
  display: inline-block;
  padding: 15px 30px;
  background: #050b29;
  color: #fff;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.4s;
  box-shadow: 0 0 0 0 rgba(5, 11, 41, 0.7);
  animation: pulse-blue 2s infinite;
}

@keyframes pulse-blue {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 11, 41, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(5, 11, 41, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 11, 41, 0); }
}

.btn-brochure:hover {
  background: #d5a448;
  color: #050b29;
}

/* --- MEDIA WRAPPER CON PARALAJE --- */
.carrera-media-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.carrera-media-wrapper img {
  transition: transform 0.8s ease;
}

.carrera-media-wrapper:hover img {
  transform: scale(1.1);
}

.experience-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: #d5a448;
  padding: 20px;
  border-radius: 15px;
  color: #050b29;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.experience-badge .number { font-size: 2rem; font-weight: 900; display: block; line-height: 1; }
.experience-badge .text { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; }

/* --- GRID DE INFORMACIÓN --- */
.info-grid {
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 15px;
  margin-bottom: 15px;
  border-left: 5px solid #d5a448;
  box-shadow: 0 5px 15px rgba(0,0,0,0.02);
  transition: all 0.3s ease;
}

.info-item:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.icon-wrap {
  width: 50px;
  height: 50px;
  background: rgba(213, 164, 72, 0.1);
  color: #d5a448;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.5rem;
}

/* --- CTA BOX (LLAMADO A LA ACCIÓN) --- */
.cta-box {
  background: #050b29;
  padding: 40px;
  border-radius: 20px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-box h4 { font-size: 1.5rem; font-weight: 800; color: #d5a448; }

.cta-buttons {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.btn-cta-whatsapp {
  background: #25d366;
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.3s;
}

.btn-cta-whatsapp:hover{
  background: #ffffff;
}

.btn-cta-primario {
  background: #d5a448;
  color: #050b29;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 800;
  transition: 0.3s;
}

.btn-cta-primario:hover { background: #fff; }



/* --- ESTILOS COMPACTOS CASALS --- */
.casals-objetivos-compact {
  background: #ffffff;
  padding: 20px 0;
  overflow: hidden;
}

.casals-title-sm {
  color: #050b29;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.8rem; /* Título más pequeño */
  text-transform: uppercase;
}

.gold-txt { color: #d5a448; }

.casals-line-pulse {
  width: 50px;
  height: 4px;
  background: #d5a448;
  margin: 10px auto;
  border-radius: 10px;
  animation: linePulse 3s infinite ease-in-out;
}

@keyframes linePulse { 0%, 100% { width: 50px; } 50% { width: 80px; } }



/* --- TICKER ENGINE SIN CORTES --- */
.casals-ticker-viewport {
  width: 100%;
  /* El secreto: padding vertical para que el zoom no se corte */
  padding: 30px 0; 
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.casals-ticker-move {
  display: flex;
  width: max-content;
  animation: scrollTicker 35s linear infinite;
  will-change: transform;
}

@keyframes scrollTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.casals-ticker-move:hover { animation-play-state: paused; }

.casals-ticker-items {
  display: flex;
  gap: 20px;
  padding-right: 20px;
}

/* --- TARJETA COMPACTA --- */
.casals-mini-card {
  flex: 0 0 260px; /* Ancho reducido de 350px a 260px */
  min-height: 180px;
  background: #f8f9fa;
  border-radius: 20px;
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.03);
  /* Transición suave y elástica */
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.icon-bubble {
  width: 50px;
  height: 50px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #050b29;
  margin-bottom: 12px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.casals-mini-card p {
  color: #050b29;
  font-size: 1.10rem; /* Texto más pequeño */
  line-height: 1.4;
  margin: 0;
  font-weight: 500;
}

.casals-mini-card strong { font-weight: 800; }

/* --- HOVER SIN CORTES --- */
.casals-mini-card:hover {
  transform: scale(1.08); /* El zoom ahora tiene espacio gracias al padding del padre */
  background: #ffffff;
  border-color: #d5a448;
  box-shadow: 0 10px 25px rgba(213, 164, 72, 0.2);
  z-index: 10; /* Asegura que la tarjeta activa esté al frente */
}

.casals-mini-card:hover .icon-bubble {
  background: #d5a448;
  color: #ffffff;
}



/* --- SECCIÓN OPORTUNIDADES --- */
.oportunidades-section {
  background-color: #f8faff;
  padding: 20px 0;
  font-family: 'Montserrat', sans-serif;
}

.title-modern {
  color: #050b29;
  font-weight: 900;
  font-size: 2.2rem;
}

.gold-text { color: #d5a448; }

.line-style {
  width: 80px;
  height: 4px;
  background: #d5a448;
  margin: 15px auto 0;
  border-radius: 10px;
}

/* --- TARJETAS DE CRISTAL --- */
.glass-card {
  background: #ffffff;
  border-radius: 25px;
  padding: 20px;
  border: 1px solid rgba(213, 164, 72, 0.2);
  box-shadow: 0 15px 35px rgba(5, 11, 41, 0.05);
  transition: transform 0.4s ease;
}

.glass-card:hover {
  transform: translateY(-10px);
}

.card-head {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.card-head i {
  font-size: 2.5rem;
  color: #d5a448;
}

.card-head h3 {
  color: #050b29;
  font-weight: 800;
  margin: 0;
  font-size: 1.5rem;
}

/* --- TIMELINE DE CERTIFICACIONES --- */
.module-timeline {
  position: relative;
  border-left: 2px dashed rgba(213, 164, 72, 0.5);
  margin-left: 10px;
  padding-left: 30px;
}

.timeline-item {
  position: relative;
  margin-bottom: 25px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -37px;
  top: 5px;
  width: 12px;
  height: 12px;
  background: #d5a448;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(213, 164, 72, 0.5);
}

.cycle {
  font-weight: 800;
  color: #d5a448;
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.timeline-item p {
  color: #050b29;
  font-weight: 600;
  margin: 0;
}

/* --- GRID LABORAL --- */
.labor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.labor-tag {
  background: #f1f4f9;
  padding: 10px 15px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #050b29;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: 0.3s;
}

.labor-tag i { color: #d5a448; }

.labor-tag:hover {
  background: #050b29;
  color: #fff;
}

/* --- BOX DE GRADOS --- */
.degree-box {
  background: #050b29;
  padding: 30px;
  border-radius: 20px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  color: #fff;
}

.degree-item {
  text-align: center;
}

.degree-item .label {
  display: block;
  font-size: 0.7rem;
  color: #d5a448;
  text-transform: uppercase;
  font-weight: 800;
}

.degree-item .value {
  font-size: 1.1rem;
  font-weight: 700;
}

.degree-divider {
  width: 2px;
  height: 50px;
  background: rgba(213, 164, 72, 0.3);
}

@media (max-width: 768px) {
  .degree-box { flex-direction: column; gap: 20px; }
  .degree-divider { display: none; }
}


/* --- SECCIÓN HORARIOS Y SEDE --- */
.horarios-section {
  background-color: #ffffff;
  padding: 30px 0;
  font-family: 'Montserrat', sans-serif;
}

.modern-title {
  color: #050b29; /* Azul Casals */
  font-weight: 900;
  font-size: 2.2rem;
  text-transform: uppercase;
}

.gold-text { color: #d5a448; }

.title-divider {
  width: 60px;
  height: 5px;
  background: #d5a448;
  margin: 15px auto 0;
  border-radius: 10px;
}

/* --- BLOQUE DE UBICACIÓN --- */
.location-box {
  background: #050b29;
  border-radius: 25px;
  padding: 40px;
  color: #fff;
  text-align: center;
  transition: 0.4s;
}

.location-icon {
  font-size: 3rem;
  color: #d5a448;
  margin-bottom: 20px;
}

.location-box h3 {
  font-weight: 800;
  font-size: 1.6rem;
}

.address-text {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.urbanization {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

.campus-badge {
  display: inline-block;
  margin-top: 20px;
  background: rgba(213, 164, 72, 0.2);
  border: 1px solid #d5a448;
  color: #d5a448;
  padding: 5px 20px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.8rem;
}


/* --- CONTENEDOR DE HORARIOS --- */
.schedule-container {
  background: #f8faff;
  border-radius: 25px;
  padding: 40px;
  border: 1px solid rgba(5, 11, 41, 0.05);
}

.schedule-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.schedule-header i { font-size: 2rem; color: #050b29; }
.schedule-header h3 { color: #050b29; font-weight: 800; margin: 0; }

.schedule-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.time-card {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 20px 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  border-left: 6px solid #d5a448;
  transition: 0.3s;
}

.time-icon {
  font-size: 1.8rem;
  margin-right: 25px;
  color: #d5a448;
}

.time-info .shift-name {
  display: block;
  font-weight: 800;
  color: #050b29;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.time-info .hours {
  color: #666;
  font-weight: 600;
  font-size: 1.1rem;
}

.time-card:hover {
  transform: translateX(10px);
  background: #050b29;
  border-left-color: #ffffff;
}

.time-card:hover .shift-name, 
.time-card:hover .hours,
.time-card:hover .time-icon {
  color: #ffffff;
}
/* --- BOTÓN DISPARADOR DE MAPA --- */
.btn-map-trigger {
  margin-top: 25px;
  background: #d5a448;
  color: #050b29;
  border: none;
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 0 20px rgba(213, 164, 72, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-map-trigger:hover {
  background: #ffffff;
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

/* --- CONTENEDOR DE MAPA REVELADO --- */
.map-reveal {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1), margin-top 0.4s;
  margin-top: 0;
  opacity: 0;
}

.map-reveal.active {
  max-height: 300px; /* Altura del mapa al abrirse */
  margin-top: 25px;
  opacity: 1;
}





/* --- CONFIGURACIÓN DE ALTO NIVEL --- */
.biblio-modern-section {
  background: #ffffff;
  padding: 50px 0;
  font-family: 'Montserrat', sans-serif;
}

.text-gold { color: #d5a448; }

.custom-underline {
  width: 60px; height: 5px;
  background: #d5a448;
  margin: 15px auto;
  border-radius: 10px;
}

/* --- COMMAND CENTER (SEARCH & FILTERS) --- */
.biblio-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.search-glass {
  width: 100%;
  max-width: 600px;
  position: relative;
  background: #f8f9fa;
  border-radius: 50px;
  padding: 5px;
  border: 2px solid #eee;
  transition: 0.3s;
}

.search-glass:focus-within {
  border-color: #d5a448;
  box-shadow: 0 10px 30px rgba(213, 164, 72, 0.15);
}

.search-glass input {
  width: 100%;
  border: none;
  background: transparent;
  padding: 12px 20px 12px 45px;
  font-weight: 600;
  outline: none;
}

.search-glass i {
  position: absolute;
  left: 20px; top: 50%;
  transform: translateY(-50%);
  color: #d5a448;
}

.filter-pills-v2 {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.pill-v2 {
  border: none;
  background: #f1f3f5;
  color: #050b29;
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pill-v2.active {
  background: #050b29;
  color: #d5a448;
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(5, 11, 41, 0.2);
}

/* --- GRID CON ANIMACIÓN DE MORPHING --- */
.biblio-grid-dynamic {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
  transition: all 0.5s ease;
}

.book-item-v2 {
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 1;
  transform: scale(1);
}

/* Efecto cuando se oculta */
.book-item-v2.hidden {
  opacity: 0;
  transform: scale(0.5) translateY(30px);
  pointer-events: none;
  position: absolute; /* Esto permite que los otros fluyan */
  visibility: hidden;
}

.book-inner {
  background: #ffffff;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid #f0f0f0;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
  transition: 0.4s;
}

.icon-section {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #d5a448;
}

.enf-gradient { background: linear-gradient(135deg, #050b29, #0a1845); }
.far-gradient { background: linear-gradient(135deg, #050b29, #1a2a6c); }

.info-section { padding: 25px; text-align: center; }

.tag {
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #d5a448;
  letter-spacing: 2px;
}

.info-section h3 {
  font-size: 1.2rem;
  color: #050b29;
  margin: 10px 0;
  font-weight: 800;
}

.btn-read {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 25px;
  background: #050b29;
  color: #d5a448;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.7rem;
  text-decoration: none;
  transition: 0.3s;
}

.book-inner:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 60px rgba(5, 11, 41, 0.1);
  border-color: #d5a448;
}

.btn-read:hover {
  background: #d5a448;
  color: #050b29;
}


/* --- PLANA DOCENTE: DISEÑO COMPACTO Y ELITE --- */
.docente-modern-section {
  background: #ffffff;
  padding: 60px 0;
  font-family: 'Montserrat', sans-serif;
}

.txt-azul-casals { 
  color: #050b29; 
  font-weight: 900; 
  font-size: 2.2rem; 
  letter-spacing: -1px; 
}

.txt-gold { color: #d5a448; }

.divider-animado {
  width: 50px; height: 5px;
  background: #d5a448;
  margin: 10px auto 40px;
  border-radius: 50px;
}

/* --- LA TARJETA REDimensionada --- */
.docente-card-v3 {
  position: relative;
  background: #fff;
  max-width: 300px; /* Tamaño más pequeño y elegante */
  margin: 0 auto;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.image-viewport {
  position: relative;
  border-radius: 25px; /* Bordes redondeados sutiles */
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(5, 11, 41, 0.05);
  aspect-ratio: 1 / 1.1; /* Proporción más equilibrada */
  background: #f8f9fa;
}

.foto-docente {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(20%); /* Toque artístico sutil */
  transition: all 0.5s ease;
}

/* --- CATEGORÍA: ETIQUETA SIEMPRE VISIBLE --- */
.carrera-badge-float {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(5, 11, 41, 0.85);
  backdrop-filter: blur(8px);
  color: #d5a448;
  padding: 6px 15px;
  font-weight: 800;
  font-size: 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(213, 164, 72, 0.3);
  z-index: 5;
  transition: 0.3s;
}

/* --- ACCIONES: PANEL INFERIOR FIJO --- */
.actions-group {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  background: linear-gradient(to top, rgba(5, 11, 41, 0.9), transparent);
  display: flex;
  justify-content: center;
  gap: 10px;
  opacity: 0; /* Aparece suavemente sin tapar la cara */
  transform: translateY(10px);
  transition: all 0.4s ease;
}

.btn-action-premium {
  flex: 1;
  padding: 8px 5px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: 0.3s;
}

.btn-action-premium i {
  color: #d5a448;
  font-size: 0.9rem;
}

.btn-action-premium:hover {
  background: #d5a448;
  color: #050b29;
  border-color: #d5a448;
}

.btn-action-premium:hover i { color: #050b29; }

/* --- BLOQUE DE TEXTO DEBAJO --- */
.docente-details {
  padding: 20px 10px;
  text-align: left; /* Alineación lateral para look más editorial */
}

.nombre-docente {
  color: #050b29;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 2px;
  transition: 0.3s;
}

.especialidad-tag {
  color: #d5a448;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.magic-bar {
  width: 30px;
  height: 3px;
  background: #f1f1f1;
  margin-top: 10px;
  border-radius: 10px;
  transition: all 0.4s ease;
}

/* --- HOVER EFFECTS (SIN OCULTAR IMAGEN) --- */
.docente-card-v3:hover .foto-docente {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.docente-card-v3:hover .actions-group {
  opacity: 1;
  transform: translateY(0);
}

.docente-card-v3:hover .nombre-docente {
  color: #d5a448;
}

.docente-card-v3:hover .magic-bar {
  width: 100%;
  background: #d5a448;
}

.docente-card-v3:hover .carrera-badge-float {
  background: #d5a448;
  color: #050b29;
}




/* --- CONFIGURACIÓN DE SECCIÓN --- */
.matricula-premium-section {
  background: #ffffff;
  padding: 80px 0;
  font-family: 'Montserrat', sans-serif;
}

.titulo-principal { color: #050b29; font-weight: 900; font-size: 2.3rem; }
.dorado-bright { color: #d5a448; text-shadow: 0 0 15px rgba(213, 164, 72, 0.2); }

.bar-animation {
  width: 60px; height: 5px;
  background: #d5a448;
  margin: 15px auto;
  border-radius: 50px;
  animation: expandBar 3s infinite alternate ease-in-out;
}

@keyframes expandBar { from { width: 60px; } to { width: 120px; } }

/* --- MENÚ LATERAL VIBRANTE --- */
.menu-lateral {
  background: #fdfdfd;
  padding: 20px;
  border-radius: 30px;
  border: 1px solid #f1f1f1;
}

.menu-lateral .nav-link {
  background: #fff;
  border: 1px solid #eee;
  padding: 18px 25px;
  border-radius: 20px;
  margin-bottom: 12px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pill-content {
  display: flex;
  align-items: center;
  gap: 15px;
}

.pill-content i { font-size: 1.5rem; color: #050b29; transition: 0.3s; }
.textos { display: flex; flex-direction: column; text-align: left; }
.textos strong { color: #050b29; font-size: 0.95rem; }
.textos small { color: #888; font-size: 0.75rem; }

.menu-lateral .nav-link.active {
  background: #050b29 !important;
  border-color: #050b29;
  transform: translateX(15px);
  box-shadow: 0 10px 25px rgba(5, 11, 41, 0.2);
}

.menu-lateral .nav-link.active i, 
.menu-lateral .nav-link.active strong { color: #d5a448; }
.menu-lateral .nav-link.active small { color: rgba(213, 164, 72, 0.7); }

/* --- CONTENEDOR DE INFORMACIÓN --- */
.dashboard-content {
  background: #ffffff;
  padding: 45px;
  border-radius: 35px;
  border: 1px solid #f1f1f1;
  box-shadow: 0 20px 60px rgba(0,0,0,0.03);
  position: relative;
  min-height: 450px;
}

.card-title-box {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.card-title-box i { font-size: 2rem; color: #d5a448; }
.card-title-box h3 { color: #050b29; font-weight: 800; margin: 0; }

.sub-seccion {
  color: #050b29;
  font-weight: 800;
  font-size: 1rem;
  border-left: 4px solid #d5a448;
  padding-left: 15px;
  margin: 25px 0 15px;
}

/* --- LISTA CON ANIMACIÓN STAGGERED --- */
.lista-animada {
  list-style: none;
  padding: 0;
}

.lista-animada li {
  padding: 12px 0 12px 35px;
  position: relative;
  font-weight: 600;
  color: #444;
  border-bottom: 1px solid #f8f9fa;
  opacity: 0;
  transform: translateY(20px);
  animation: slideInUp 0.5s forwards;
  animation-delay: calc(var(--i) * 0.1s); /* EFECTO CASCADA */
}

@keyframes slideInUp {
  to { opacity: 1; transform: translateY(0); }
}

.lista-animada li::before {
  content: '\f26a'; /* Check de Bootstrap Icons */
  font-family: 'bootstrap-icons';
  position: absolute;
  left: 0;
  color: #d5a448;
  font-weight: 900;
  font-size: 1.2rem;
}

/* --- ADMISIÓN ELITE CSS --- */
.admision-ultra-section {
  background: #ffffff;
  padding: 100px 0;
  font-family: 'Montserrat', sans-serif;
}

.ultra-title { color: #050b29; font-weight: 900; font-size: 2.8rem; letter-spacing: -2px; }
.gold-text { color: #d5a448; }

.animated-underline {
  width: 60px; height: 6px;
  background: #d5a448;
  margin: 15px auto;
  border-radius: 50px;
  animation: barFlow 3s infinite alternate;
}

@keyframes barFlow { from { width: 60px; } to { width: 120px; } }

/* --- TARJETA DE NODO (DISEÑO ARQUITECTÓNICO) --- */
.card-node {
  background: #ffffff;
  border-radius: 40px;
  border: 1px solid #f0f0f0;
  height: 450px;
  position: relative;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.card-visual {
  padding: 50px 30px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 2;
}

.icon-circle {
  width: 100px; height: 100px;
  background: #f8f9fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: #050b29;
  margin-bottom: 25px;
  transition: 0.5s;
  border: 2px solid transparent;
}

.card-visual h3 { color: #050b29; font-weight: 900; margin-bottom: 10px; }
.status-label { 
  font-size: 0.7rem; font-weight: 800; color: #d5a448; 
  text-transform: uppercase; letter-spacing: 1px;
}

/* --- CONTENIDO OCULTO (REVELADO POR CAPAS) --- */
.card-content-hidden {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: #050b29; /* Azul Casals de fondo */
  padding: 40px;
  opacity: 0;
  transform: translateY(100%); /* Viene desde abajo */
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* --- HOVER EFFECTS: LA MAGIA --- */
.card-node:hover {
  transform: translateY(-20px);
  border-color: #d5a448;
  box-shadow: 0 40px 80px rgba(5, 11, 41, 0.15);
}

.card-node:hover .card-visual {
  transform: translateY(-50px);
  opacity: 0;
}

.card-node:hover .card-content-hidden {
  opacity: 1;
  transform: translateY(0);
}

.card-node:hover .icon-circle {
  border-color: #d5a448;
  transform: scale(1.1);
}

/* LISTA DENTRO DEL AZUL */
.check-list-v5 { list-style: none; padding: 0; margin: 0; }
.check-list-v5 li {
  color: #ffffff;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateX(-20px);
  transition: 0.4s;
}

.check-list-v5 li::before {
  content: '\f26a';
  font-family: 'bootstrap-icons';
  color: #d5a448;
  font-size: 1.2rem;
}

.card-node:hover .check-list-v5 li {
  opacity: 1;
  transform: translateX(0);
  transition-delay: calc(var(--d) * 0.1s);
}

.sub-category { color: #d5a448; font-weight: 800; font-size: 0.9rem; margin-bottom: 20px; }



/* --- DASHBOARD 7 CARRERAS SUPREME --- */
.stats-master-v11 {
  background: #ffffff;
  padding: 100px 0;
  font-family: 'Montserrat', sans-serif;
}

.ultra-title { color: #050b29; font-weight: 900; font-size: 2.8rem; letter-spacing: -2px; }
.gold-shimmer {
  color: #d5a448;
  background: linear-gradient(90deg, #d5a448, #fff, #d5a448);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerTitle 4s infinite linear;
}

@keyframes shimmerTitle { to { background-position: 200% center; } }

.shimmer-line {
  width: 60px; height: 6px;
  background: #d5a448;
  margin: 15px auto 60px;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
}

.shimmer-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: #050b29;
  animation: barFlow 2s infinite ease-in-out;
}

@keyframes barFlow { to { left: 100%; } }

/* --- TARJETA DE CRISTAL LÍQUIDO --- */
.stat-card-v11 {
  background: #ffffff;
  border-radius: 35px;
  padding: 35px;
  border: 1px solid #f1f1f1;
  position: relative;
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 40px rgba(0,0,0,0.02);
  z-index: 1;
}

.stat-card-v11::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: var(--c);
  border-radius: 35px;
  opacity: 0;
  z-index: -1;
  transition: 0.5s;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.card-header i {
  font-size: 2rem;
  color: var(--c);
  transition: 0.4s;
}

.card-header h3 {
  color: #050b29;
  font-weight: 900;
  font-size: 1.1rem;
  margin: 0;
  transition: 0.4s;
}

.card-body {
  text-align: left;
}

.data-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f8f9fa;
}

.data-row span { font-size: 0.75rem; color: #888; font-weight: 700; text-transform: uppercase; }
.data-row strong { color: #050b29; font-weight: 900; font-size: 1.1rem; }

.progress-box {
  width: 100%; height: 6px;
  background: #eee;
  border-radius: 10px;
  margin-top: 20px;
  overflow: hidden;
}

.progress-box .fill {
  height: 100%;
  background: var(--c);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.5s ease;
}

/* --- EFECTO HOVER PRO --- */
.stat-card-v11:hover {
  transform: translateY(-20px) scale(1.05);
  box-shadow: 0 40px 80px rgba(5, 11, 41, 0.12);
}

.stat-card-v11:hover .card-header i,
.stat-card-v11:hover .card-header h3,
.stat-card-v11:hover .data-row strong,
.stat-card-v11:hover .data-row span {
  color: #fff;
}

.stat-card-v11:hover::before {
  opacity: 1;
}

.stat-card-v11:hover .fill {
  background: #fff;
  transform: scaleX(1);
}

.stat-card-v11:hover .data-row {
  border-bottom-color: rgba(255,255,255,0.1);
}





/* --- BASE CONTACTO --- */
.contacto-final-casals {
  background: #ffffff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* Capa de fondo suave sin bloquear clics */
.bg-animated-layer {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 20%, rgba(213, 164, 72, 0.03) 0%, transparent 40%);
  pointer-events: none; /* ESTO PERMITE PRESIONAR BOTONES */
}

.main-card-container {
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(5, 11, 41, 0.08);
  border: 1px solid #f1f1f1;
}

/* LADO IZQUIERDO: FORMULARIO */
.form-side-v20 { background: #ffffff; padding: 60px; }
.ultra-title { color: #050b29; font-weight: 900; font-size: 2.8rem; margin-bottom: 5px; }
.subtitle-v20 { color: #d5a448; font-weight: 700; font-size: 0.9rem; margin-bottom: 40px; }

/* INPUTS: TEXTO NEGRO REAL */
.field-wrap { position: relative; }
.casals-input {
  width: 100%; padding: 15px;
  background: #fdfdfd; border: 1px solid #eee;
  border-radius: 15px; color: #000000 !important;
  font-weight: 700; font-size: 1rem;
  transition: 0.4s;
}

.casals-input:focus {
  background: #fff; border-color: #d5a448;
  outline: none; transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(213, 164, 72, 0.1);
}

.input-focus-line {
  position: absolute; bottom: 0; left: 0; width: 0; height: 3px;
  background: #d5a448; transition: 0.5s;
}
.casals-input:focus ~ .input-focus-line { width: 100%; }

/* BOTÓN DE ACCIÓN */
.btn-ultra-v20 {
  width: 100%; padding: 20px;
  background: #050b29; color: #d5a448;
  border: none; border-radius: 20px;
  font-weight: 900; font-size: 1.1rem;
  display: flex; justify-content: center; align-items: center; gap: 15px;
  cursor: pointer; position: relative; transition: 0.4s;
  z-index: 10; /* Asegura el clic */
}

.btn-ultra-v20:hover { background: #d5a448; color: #050b29; transform: scale(1.02); }

/* LADO DERECHO: INFO HUB (OSCURO) */
.info-side-v20 { background: #050b29; padding: 60px; color: #fff; position: relative; }
.hub-title { font-weight: 900; font-size: 2rem; margin-bottom: 30px; }
.gold-text { color: #d5a448; text-shadow: 0 0 15px rgba(213,164,72,0.3); }

/* TAGS DE LAS 7 CARRERAS */
.carreras-cloud-v20 { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tag-v20 {
  background: rgba(255,255,255,0.05); color: var(--clr);
  padding: 8px 15px; border-radius: 50px;
  font-size: 0.8rem; font-weight: 800; border: 1px solid rgba(255,255,255,0.1);
  transition: 0.4s; cursor: default;
  animation: floatV20 3s infinite ease-in-out alternate;
}

@keyframes floatV20 { from { transform: translateY(0); } to { transform: translateY(-8px); } }

.tag-v20:hover { background: #d5a448; color: #050b29; transform: scale(1.1) !important; }

/* REDES SOCIALES NEÓN */
.social-flex-v20 { display: flex; gap: 15px; justify-content: center; margin-top: 15px; }
.s-btn {
  width: 55px; height: 55px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; transition: 0.5s;
  background: rgba(255,255,255,0.05); color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
}

.s-btn:hover { transform: scale(1.3) rotate(360deg); border-color: #d5a448; }
.ws:hover { background: #25d366; box-shadow: 0 0 30px #25d366; }
.fb:hover { background: #1877f2; box-shadow: 0 0 30px #1877f2; }
.ig:hover { background: #e4405f; box-shadow: 0 0 30px #e4405f; }
.tk:hover { background: #000; box-shadow: 0 0 30px #fff; }

.contact-pill-v20 {
  background: rgba(213,164,72,0.1); padding: 12px 20px;
  border-radius: 15px; color: #d5a448; font-weight: 700;
  display: flex; align-items: center; gap: 10px; margin-top: 15px;
}

/* --- ESTILO DE LA NOTIFICACIÓN FLOTANTE --- */
.toast-premium-container {
  position: fixed;
  top: 30px;
  right: -400px; /* Oculto inicialmente */
  z-index: 9999;
  transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast-premium-container.active {
  right: 30px; /* Se desliza hacia adentro */
}

.toast-content {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-left: 5px solid #d5a448;
  padding: 20px 30px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 15px 35px rgba(5, 11, 41, 0.2);
  position: relative;
  overflow: hidden;
}

.toast-icon {
  width: 50px;
  height: 50px;
  background: #050b29;
  color: #d5a448;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  animation: scaleCheck 0.5s 0.6s both;
}

.toast-text h4 {
  color: #050b29; /* Azul oscuro legible */
  font-weight: 800;
  margin: 0;
  font-size: 1.1rem;
}

.toast-text p {
  color: #555;
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Barra de progreso de tiempo */
.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: #d5a448;
  animation: progressTime 4s linear forwards;
}

@keyframes progressTime {
  from { width: 100%; }
  to { width: 0%; }
}

@keyframes scaleCheck {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}

/* --- MEJORA PARA LOS INPUTS (Para que se vea bien al escribir) --- */
.form-input-premium {
  color: #000000 !important; /* Texto negro real al escribir */
  font-weight: 700;
}



/* --- CONFIGURACIÓN CRONOGRAMA V21 --- */
.cronograma-premium-v21 {
  background: #ffffff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  font-family: 'Montserrat', sans-serif;
}

.glow-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(213, 164, 72, 0.05), transparent);
  pointer-events: none;
}

/* Encabezado */
.badge-admision {
  background: #050b29;
  color: #d5a448;
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 2px;
}

.title-v21 { color: #050b29; font-weight: 900; font-size: 2.8rem; margin: 20px 0; }
.gold-txt { color: #d5a448; }

/* --- TARJETAS DE CRONOGRAMA --- */
.cronos-card {
  background: #ffffff;
  border-radius: 40px;
  border: 1px solid #f1f1f1;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.cronos-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 40px 80px rgba(5, 11, 41, 0.1);
  border-color: #d5a448;
}

.card-inner-v21 {
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 30px;
}

/* Iconos y Números */
.semester-icon {
  width: 90px;
  height: 90px;
  background: #050b29;
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #d5a448;
  font-size: 2rem;
  position: relative;
}

.semester-number {
  position: absolute;
  top: -10px; right: -10px;
  background: #d5a448;
  color: #050b29;
  width: 30px; height: 30px;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
}

/* Información de Fecha */
.semester-info h3 {
  color: #050b29;
  font-weight: 900;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.date-box {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 5px;
}

.day { font-size: 3rem; font-weight: 900; color: #d5a448; line-height: 1; }
.month { font-size: 1.2rem; font-weight: 800; color: #050b29; }

.time-box {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #888;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Footer de Tarjeta */
.card-footer-v21 {
  background: #f8f9fa;
  padding: 15px 40px;
  border-top: 1px solid #f1f1f1;
  text-align: right;
}

.status-live { color: #25d366; font-weight: 900; font-size: 0.8rem; text-transform: uppercase; }
.status-upcoming { color: #d5a448; font-weight: 900; font-size: 0.8rem; text-transform: uppercase; }

/* --- ANIMACIONES ADICIONALES --- */
.cronos-card:hover .semester-icon i {
  animation: rotateIcon 0.6s ease-in-out;
}

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




/* ultimop*/


/* --- BASE V37 --- */
.horarios-ultimate-v37 {
  background: #ffffff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  font-family: 'Montserrat', sans-serif;
}

/* Orbes de luz de fondo sin líneas */
.orb {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  z-index: 0;
  animation: orbMovement 20s infinite alternate ease-in-out;
}
.orb-gold { background: #d5a448; top: -20%; left: -10%; }
.orb-navy { background: #050b29; bottom: -20%; right: -10%; animation-delay: -5s; }

@keyframes orbMovement {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(150px, 100px) scale(1.3); }
}

/* --- TÍTULO KINETIC --- */
.title-kinetic-v37 { font-size: 2.5rem; font-weight: 900; color: #050b29; }
.shimmer-text {
  color: #d5a448;
  background: linear-gradient(120deg, #d5a448 20%, #fff 50%, #d5a448 80%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }

.brand-v37 { font-weight: 900; color: #050b29; letter-spacing: 4px; font-size: 0.7rem; margin-top: 10px; }

.kinetic-line {
  width: 80px; height: 4px; background: #050b29;
  margin: 20px auto 70px; border-radius: 10px;
  animation: linePulse 3s infinite ease-in-out;
}
@keyframes linePulse { 0%, 100% { width: 40px; opacity: 0.5; } 50% { width: 120px; opacity: 1; } }

/* --- TARJETAS KINETIC --- */
.stage-v37 { perspective: 2000px; }

.card-kinetic {
  background: #050b29; /* FONDO OSCURO SIEMPRE */
  height: 360px;
  border-radius: 45px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
  transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
  /* LEVITACIÓN FLUIDA CORREGIDA */
  animation: fluidLevitate 6s infinite ease-in-out alternate;
  animation-delay: var(--delay);
  cursor: pointer;
  z-index: 1;
}

@keyframes fluidLevitate {
  0% { transform: translateY(0) rotateX(4deg) rotateY(-2deg); }
  100% { transform: translateY(-30px) rotateX(-4deg) rotateY(2deg); }
}

/* HOVER DEFINITIVO: EFECTO MAGNETO */
.card-kinetic:hover {
  transform: scale(1.1) translateZ(60px) rotate(0) !important;
  border-color: var(--accent);
  box-shadow: 0 40px 80px rgba(0,0,0,0.4), 0 0 40px rgba(var(--accent), 0.2);
}

.card-content-v37 {
  height: 100%; padding: 40px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  position: relative; z-index: 5;
}

/* --- ANIMACIONES DE ICONOS --- */
.icon-v37 {
  font-size: 4.5rem; color: var(--accent);
  margin-bottom: 25px; filter: drop-shadow(0 0 10px var(--accent));
  transition: 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-kinetic:hover .icon-v37 { transform: scale(1.3) rotate(360deg); }

/* Bucle de animaciones corregido para fluidez */
.spin-v37 { animation: spin 20s linear infinite; }
.breathe-v37 { animation: breathe 3s infinite ease-in-out; }
.float-v37 { animation: drift 5s infinite ease-in-out; }

@keyframes spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes breathe { 0%, 100% { transform: scale(1); filter: brightness(1); } 50% { transform: scale(1.15); filter: brightness(1.3); } }
@keyframes drift { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(15px, -15px); } }

/* TEXTOS BLANCOS */
.name-v37 { color: #fff; font-weight: 900; letter-spacing: 3px; font-size: 1rem; margin-bottom: 15px; }
.hour-v37 { font-size: 1.5rem; font-weight: 700; color: #fff; letter-spacing: -1.5px; }

.line-v37 {
  width: 40px; height: 5px; background: var(--accent);
  margin: 10px 0; border-radius: 10px; transition: 0.6s;
}

.card-kinetic:hover .line-v37 { width: 100px; box-shadow: 0 0 20px var(--accent); }

/* Efecto Rayo Láser que atraviesa la tarjeta */
.card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(125deg, transparent 30%, rgba(255,255,255,0.05) 50%, transparent 70%);
  background-size: 200% 200%;
  animation: shineScan 4s infinite linear;
}

@keyframes shineScan {
  0% { background-position: -200% -200%; }
  100% { background-position: 200% 200%; }
}


/* rglamentos*/

/* ================================
   V47 ULTRA ENERGY NODES
================================ */

.v47-nodes-section{
    background: linear-gradient(135deg,#ffffff,#f7f9ff);
    padding:120px 0;
    font-family:'Montserrat',sans-serif;
    position:relative;
}

/* TITULOS */

.v47-title{
    font-size:3rem;
    font-weight:900;
    color:#050b29;
    letter-spacing:-1px;
}

.v47-highlight{
    background:linear-gradient(45deg,#d5a448,#ffd87a);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.v47-subtitle{
    color:#aaa;
    font-size:0.75rem;
    letter-spacing:6px;
    font-weight:800;
}

/* CONTENEDOR */

.v47-nodes-container{
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:70px;
    margin-top:90px;
}

/* NODO */

.v47-node-item{
    position:relative;
    width:260px;
    display:flex;
    flex-direction:column;
    align-items:center;
    perspective:1000px;
}

/* CORE */

.v47-node-core{
    width:110px;
    height:110px;
    border-radius:50%;

    background:linear-gradient(145deg,#050b29,#0e184d);

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:2.5rem;
    color:var(--node-clr);

    position:relative;
    z-index:2;

    box-shadow:
    0 15px 30px rgba(0,0,0,0.2),
    inset 0 0 10px rgba(255,255,255,0.1);

    transition:all .6s cubic-bezier(.17,.67,.3,1.3);

    animation:nodeFloat 5s ease-in-out infinite;
}

/* FLOTACION */

@keyframes nodeFloat{
0%{transform:translateY(0) scale(1)}
50%{transform:translateY(-12px) scale(1.05)}
100%{transform:translateY(0) scale(1)}
}

/* PULSO */

.v47-node-pulse{
    position:absolute;
    inset:-6px;
    border-radius:50%;
    border:2px solid var(--node-clr);

    animation:pulseEnergy 2.5s infinite;
}

@keyframes pulseEnergy{
0%{
transform:scale(1);
opacity:.9;
}
100%{
transform:scale(2);
opacity:0;
}
}

/* AURA */

.v47-node-core::after{
content:"";
position:absolute;
width:150%;
height:150%;
background:radial-gradient(circle,var(--node-clr),transparent 70%);
opacity:.15;
filter:blur(20px);
z-index:-1;
}

/* DATOS */

.v47-node-data{
    margin-top:28px;
    text-align:center;
    opacity:.85;
    transform:translateY(5px);
    transition:.5s;
}

.v47-node-data h3{
    color:#050b29;
    font-weight:900;
    font-size:1.15rem;
    margin-bottom:10px;
}

.v47-node-data p{
    color:#050b29;
    font-size:.82rem;
    line-height:1.5;
    max-width:210px;
}

/* HOVER ULTRA */

.v47-node-item:hover .v47-node-core{

    background:var(--node-clr);
    color:#050b29;

    transform:
    scale(1.25)
    rotateY(360deg)
    rotateX(10deg);

    box-shadow:
    0 0 25px var(--node-clr),
    0 0 60px rgba(0,0,0,.3);
}

.v47-node-item:hover .v47-node-data{
    opacity:1;
    transform:translateY(-5px);
}

.v47-node-item:hover .v47-node-data h3{
    color:var(--node-clr);
}

/* ======================
   BOTON LIQUIDO PREMIUM
====================== */

.v47-btn{
    display:inline-block;
    padding:16px 45px;
    font-size:.8rem;
    font-weight:900;
    letter-spacing:1px;

    color:#fff;

    background:linear-gradient(135deg,#050b29,#1b2f88);

    border-radius:60px;
    text-decoration:none;

    position:relative;
    overflow:hidden;

    transition:.5s;

    box-shadow:0 12px 30px rgba(5,11,41,.25);
}

/* EFECTO LIQUIDO */

.v47-btn::before{
content:"";
position:absolute;
width:200%;
height:200%;
background:radial-gradient(circle,#ffffff55,transparent 70%);
top:-50%;
left:-50%;
transition:.6s;
}

.v47-btn:hover::before{
transform:scale(1.3);
opacity:.3;
}

.v47-btn:hover{
transform:translateY(-4px);
box-shadow:0 18px 40px rgba(0,0,0,.3);
}

/* RESPONSIVE */

@media(max-width:768px){

.v47-title{
font-size:2rem;
}

.v47-nodes-container{
gap:50px;
}

.v47-node-item{
width:200px;
}

}




/* --- CONFIGURACIÓN ELITE V66 --- */
.v66-section {
    background: #ffffff;
    padding: 100px 0;
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
}

.v66-top {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    color: #bbb;
    letter-spacing: 6px;
    margin-bottom: 10px;
}

.v66-title { font-size: 2.5rem; font-weight: 950; color: #050b29; letter-spacing: -1.5px; }
.v66-gold { color: #d5a448; }

.v66-divider {
    width: 40px; height: 1px; background: #d5a448;
    margin: 20px auto 70px;
    animation: lineElite 4s infinite ease-in-out;
}
@keyframes lineElite { 0%, 100% { width: 40px; opacity: 0.3; } 50% { width: 120px; opacity: 1; } }

/* --- REJILLA DE CRISTAL SUSPENDIDO --- */
.v66-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    perspective: 2000px;
}

.v66-card {
    background: #050b29; /* Onyx Institucional */
    height: 75px;
    border-radius: 4px; /* Bordes casi rectos para mayor elegancia */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    
    /* ANIMACIÓN DE RESPIRACIÓN MECÁNICA */
    animation: prestigeFloat 8s infinite ease-in-out alternate;
    animation-delay: calc(var(--i) * 0.2s);
}

@keyframes prestigeFloat {
    0% { transform: translateY(0) rotateX(0); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
    100% { transform: translateY(-15px) rotateX(10deg); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
}

.v66-card span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: center;
    transition: 0.5s;
    z-index: 5;
}

/* --- EL HOVER DE ALTA GAMA --- */
.v66-card:hover {
    background: #000;
    transform: scale(1.08) translateZ(80px) rotateX(0) !important;
    border-color: #d5a448;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    z-index: 100;
    animation-play-state: paused;
}

.v66-card:hover span {
    color: #d5a448;
    letter-spacing: 3px; /* El texto se expande con clase */
    font-weight: 900;
}

/* Efecto de hilo de oro líquido en el borde */
.v66-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid #d5a448;
    opacity: 0;
    transition: 0.4s;
    transform: scale(1.1);
}

.v66-card:hover::before {
    opacity: 1;
    transform: scale(1);
    animation: goldGlow 2s infinite alternate;
}

@keyframes goldGlow {
    from { box-shadow: inset 0 0 5px #d5a448, 0 0 5px #d5a448; }
    to { box-shadow: inset 0 0 20px #d5a448, 0 0 20px #d5a448; }
}

/* Brillo sutil de cristal */
.v66-card::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
    animation: crystalSlide 5s infinite linear;
}

@keyframes crystalSlide { 0% { left: -100%; } 100% { left: 100%; } }


/* --- BASE V72: PRESTIGIO Y SIMETRÍA --- */
.v72-section {
    background: #ffffff;
    padding: 100px 0;
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
}

.v72-tag {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    color: #bbb;
    letter-spacing: 7px;
    margin-bottom: 15px;
    text-transform: uppercase;
    padding: 10px 0;
}

.v72-title { font-size: 2.2rem; font-weight: 950; color: #050b29; letter-spacing: -1.5px; }
.v72-gold { color: #d5a448; }

.v72-focus-line {
    width: 40px; height: 1px; background: #d5a448;
    margin: 30px auto 90px;
    transition: 0.8s;
}

/* --- MONOLITOS ONYX --- */
.v72-card {
    background: #050b29; /* Azul Medianoche Institucional */
    padding-top: 20px;
    height: 100%;
    position: relative;
    border-radius: 0; /* Bordes rectos = Elegancia absoluta */
    padding: 40px 40px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    /* Animación de entrada fluida */
    opacity: 0;
    animation: slideUpV72 1s forwards;
    animation-delay: var(--v-delay);
}

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

.v72-inner { position: relative; z-index: 10; text-align: center; }

.v72-icon-shield {
    font-size: 3rem;
    color: #d5a448;
    margin-bottom: 35px;
    transition: 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0.7;
}

.v72-card-title {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
}

.v72-text {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    line-height: 1.8;
    margin-bottom: 45px;
    transition: 0.4s;
}

/* --- BOTÓN REFINADO --- */
.v72-download-link {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 900;
    font-size: 0.65rem;
    letter-spacing: 3px;
    padding: 15px 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.4s;
}

.v72-download-link i { font-size: 1rem; color: #d5a448; }

/* --- EL HOVER DE ALTA GAMA --- */
.v72-card:hover {
    transform: translateY(-20px) scale(1.02);
    background: #000000;
    box-shadow: 0 40px 90px rgba(0,0,0,0.6);
}

.v72-card:hover .v72-icon-shield {
    transform: rotateY(180deg) scale(1.2);
    opacity: 1;
}

.v72-card:hover .v72-text { color: rgba(255, 255, 255, 0.8); }

.v72-card:hover .v72-download-link {
    background: #d5a448;
    border-color: #d5a448;
    color: #050b29;
}

.v72-card:hover .v72-download-link i { color: #050b29; }

/* Marco de Oro líquido que se activa en hover */
.v72-frame {
    position: absolute;
    inset: 0;
    border: 1px solid #d5a448;
    opacity: 0;
    transition: 0.6s;
    transform: scale(1.1);
    pointer-events: none;
}

.v72-card:hover .v72-frame {
    opacity: 1;
    transform: scale(0.92); /* El marco se cierra sobre el contenido */
}

/* Brillo sutil de fondo */
.v72-card::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.02), transparent);
    animation: v72Shine 5s infinite linear;
}

@keyframes v72Shine { 0% { left: -100%; } 100% { left: 100%; } }


/* --- BASE V73: TRANSPARENCIA Y ELEGANCIA --- */
.v73-hierarchy-section {
    background: #ffffff;
    padding: 100px 0;
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
}

.v73-pre { display: block; font-size: 0.7rem; font-weight: 800; color: #bbb; letter-spacing: 5px; text-align: center; margin-bottom: 15px; }
.v73-title { font-size: 2.8rem; font-weight: 950; color: #050b29; text-align: center; letter-spacing: -1.5px; }
.v73-gold { color: #d5a448; }

.v73-main-line { width: 50px; height: 1px; background: #d5a448; margin: 30px auto 80px; }

/* --- ESTRUCTURA DE FILAS --- */
.v73-org-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; position: relative; }
.v73-connector-v { width: 1px; height: 50px; background: rgba(213, 164, 72, 0.3); margin: 0 auto; position: relative; }

/* --- NODOS ONYX --- */
.v73-node {
    background: #050b29;
    padding: 2px;
    border-radius: 4px;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    opacity: 0;
    animation: v73FadeUp 0.8s forwards;
    animation-delay: var(--d);
    cursor: pointer;
}

@keyframes v73FadeUp {
    from { opacity: 0; transform: translateY(30px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.v73-node-inner {
    background: #050b29;
    padding: 25px 30px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.v73-node i { font-size: 2rem; color: #d5a448; transition: 0.5s; }
.v73-node h3 { color: #fff; font-size: 1rem; font-weight: 900; margin: 0; }
.v73-node h4 { color: #fff; font-size: 0.75rem; font-weight: 800; margin: 0; max-width: 180px; }
.v73-rank { color: #d5a448; font-size: 0.55rem; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; }

/* --- HOVER EFECTO NUCLEAR --- */
.v73-node:hover {
    transform: translateY(-10px) scale(1.05);
    background: #d5a448;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 20px rgba(213, 164, 72, 0.4);
}

.v73-node:hover i { color: #fff; transform: rotateY(180deg); }
.v73-node:hover h3, .v73-node:hover h4 { color: #fff; }

/* --- NODOS PEQUEÑOS (COORDINADORES) --- */
.v73-node-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 1000px;
}

.v73-node.v73-sm {
    padding: 12px 20px;
    background: #f8f9fa;
    border: 1px solid #eee;
    color: #050b29;
}

.v73-node.v73-sm span { font-size: 0.65rem; font-weight: 900; letter-spacing: 0.5px; }

.v73-node.v73-sm:hover {
    background: #050b29;
    border-color: #d5a448;
    color: #fff;
}

/* --- DIRECTOR ESPECIAL --- */
.v73-director { border: 1px solid #d5a448; }
.v73-director .v73-node-inner { padding: 40px 60px; }





/* TOP BAR0*/

/* --- CONFIGURACIÓN TOP BAR V74 --- */
.v74-topbar-news {
    background: #050b29; /* Azul Medianoche Independiente */
    height: 45px;
    display: flex;
    align-items: center;
    border-bottom: 2px solid #d5a448; /* Línea de Oro Casals */
    position: relative;
    z-index: 999;
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
}

.v74-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 30px;
}

/* --- CONTACTO (IZQUIERDA) --- */
.v74-contact { display: flex; align-items: center; gap: 20px; }

.v74-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none !important;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.v74-link i { color: #d5a448; font-size: 0.9rem; }
.v74-link:hover { color: #ffffff; transform: translateY(-2px); }

.v74-divider { width: 1px; height: 15px; background: rgba(255,255,255,0.2); }

/* --- TICKER DE NOTICIAS (CENTRO) --- */
.v74-ticker {
    flex: 1;
    margin: 0 40px;
    display: flex;
    align-items: center;
    background: rgba(0,0,0,0.3);
    height: 30px;
    border-radius: 50px;
    padding: 0 15px;
    overflow: hidden;
    max-width: 600px;
}

.v74-news-label {
    background: #d5a448;
    color: #050b29;
    font-size: 0.6rem;
    font-weight: 900;
    padding: 3px 10px;
    border-radius: 30px;
    margin-right: 15px;
    white-space: nowrap;
}

.v74-news-flow {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.v74-track {
    display: flex;
    gap: 50px;
    white-space: nowrap;
    animation: tickerLoop 25s linear infinite;
}

.v74-track span {
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

@keyframes tickerLoop {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- REDES SOCIALES (DERECHA) --- */
.v74-socials { display: flex; gap: 15px; align-items: center; }

.v74-socials a {
    color: #ffffff;
    font-size: 0.9rem;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.v74-socials a:hover {
    color: #d5a448;
    transform: scale(1.3) rotate(15deg);
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .v74-ticker { display: none; } /* Ocultar noticias en móvil para evitar amontonamiento */
}



/* --- MOTOR DE TRANSICIÓN PROFESIONAL V76 --- */
.v76-slider-frame {
    position: relative;
    width: 100%;
    height: 550px; /* Ajusta al alto de tu staff-15.png */
    border-radius: 30px;
    overflow: hidden;
    background: #f4f4f4; /* Fondo neutro mientras carga */
}

.v76-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.v76-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    
    /* EFECTO DE DESAPARICIÓN/APARICIÓN */
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s ease-in-out, transform 2s ease-in-out;
    transform: scale(1.1); /* Efecto de zoom sutil al entrar */
}

.v76-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1); /* Regresa a tamaño normal */
}

/* Prioridad para las tarjetas sobre las imágenes */
.floating-card {
    z-index: 20 !important;
}