@charset "UTF-8";

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Prompt",  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: "Prompt",  sans-serif;
  --nav-font: "Prompt",  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: #000000; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #13404d; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #6aa1b2; /* 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: #e8f4f7; /* 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: #13404d; /* 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: #ffffff;  /* The default color of the main navmenu links */
  --nav-hover-color: #6aa1b2; /* 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: #13404d; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #6aa1b2; /* 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: #e8f4f7;
  --default-color: #13404d;
  --heading-color: #13404d;
  --accent-color: #6395a4;
  --surface-color: #ffffff;
  --contrast-color: #e8f4f7;
}

.dark-background {
  --background-color: #0b262e;
  --default-color: #ffffff;
  --heading-color: #e8f4f7;
  --accent-color: #e9f7f8;
  --surface-color: #13404d;
  --contrast-color: #93e0f7;
}

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

/* Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  /* Disable preloader and heavy animations */
  #preloader { display: none !important; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  /* Neutralize AOS transitions */
  [data-aos], .aos-init, .aos-animate {
    opacity: 1 !important;
    transform: none !important;
  }
}

/*--------------------------------------------------------------
# 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);
}

/* Accessibility: Skip Link */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  transform: translateY(-200%);
  background: #ffffff;
  color: #000000;
  padding: 8px 14px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 10000;
  font-weight: 600;
}

.skip-link:focus {
  transform: translateY(0);
  outline: 3px solid #13404d;
}

/* 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(0, 0, 0, 0);
  --heading-color: #ffffff;
  --surface-color: rgba(255, 255, 255, 0.085);
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
}

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

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

@media (max-width: 576px) {
  .header .logo img {
    max-height: 50px;
  }
}

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

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: #ffffff;
  --default-color: #0b262e;
  --heading-color: #0b262e;
  --accent-color: #76b4c7;
  --surface-color: #ffffff;
  --contrast-color: #13404d;
  --nav-color: #13404d;
  --nav-hover-color: #76b4c7;
  --nav-mobile-background-color: #0b262e;
  --nav-dropdown-background-color: #0b262e;
  --nav-dropdown-color: #e8f4f7;
  --nav-dropdown-hover-color: #93e0f7;
}

/* --- Lógica para el cambio de logo al hacer scroll --- */
.header .logo .logo-color {
  display: none;
}

.header .logo .logo-white {
  display: block;
}

.scrolled .header .logo .logo-color {
  display: block;
}

.scrolled .header .logo .logo-white {
  display: none;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }
  .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: 0 14px;
  }
  .navmenu > ul > li:last-child {
    padding-right: 0;
  }
  .navmenu a, .navmenu a:focus {
    color: var(--nav-color);
    font-size: 15px;
    font-family: var(--nav-font);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: color 0.3s ease-in-out;
    position: relative;
    z-index: 1;
    padding: 8px 20px;
    border-radius: 50px;
  }
  .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;
    inset: 0;
    background-color: var(--accent-color);
    border-radius: 50px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease-in-out;
    z-index: -1;
  }
  .navmenu a:hover, .navmenu .active, .navmenu .active:focus {
    color: #0B262E;
  }
  .navmenu a:hover:before, .navmenu li:hover > a:before, .navmenu .active:before {
    transform: scaleX(1);
  }
  .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 .active:hover, .navmenu .dropdown 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 .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;
  }
}



/* Extended Dropdown 2 - Desktop */
@media (min-width: 1200px) {
  .extended-dropdown-2 ul {
    min-width: 380px;
    padding: 12px;
    border-radius: 14px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(10px);
    background-color: color-mix(in srgb, var(--nav-dropdown-background-color), transparent 5%);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  }

  .extended-dropdown-2 ul li {
    min-width: auto;
    border-bottom: none;
  }

  .extended-dropdown-2 ul li:not(:last-child) {
    margin-bottom: 6px;
  }

  .extended-dropdown-2 ul a {
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: var(--nav-dropdown-color);
    transition: all 0.25s ease;
    border-radius: 10px;
    background-color: transparent;
    position: relative;
  }

  .extended-dropdown-2 ul a .menu-item-content {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
  }

  .extended-dropdown-2 ul a .menu-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
  }

  .extended-dropdown-2 ul a .menu-icon::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #7644ff 80%));
    opacity: 0.15;
    z-index: -1;
    transition: all 0.3s ease;
  }

  .extended-dropdown-2 ul a .menu-icon i {
    font-size: 18px;
    color: var(--accent-color);
    margin: 0;
    transition: all 0.3s ease;
  }

  .extended-dropdown-2 ul a .menu-text {
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  .extended-dropdown-2 ul a .menu-text .menu-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 3px;
    color: var(--nav-dropdown-color);
    transition: color 0.3s ease;
  }

  .extended-dropdown-2 ul a .menu-text .menu-description {
    font-size: 13px;
    color: color-mix(in srgb, var(--nav-dropdown-color), transparent 40%);
    font-weight: 400;
    transition: color 0.3s ease;
  }

  .extended-dropdown-2 ul a .menu-badge {
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
    color: var(--accent-color);
    margin-left: 12px;
    flex-shrink: 0;
    transition: all 0.3s ease;
  }

  .extended-dropdown-2 ul a .menu-badge.hot {
    background-color: color-mix(in srgb, #ff5722, transparent 85%);
    color: #ff5722;
  }

  .extended-dropdown-2 ul a .menu-badge.updates {
    background-color: color-mix(in srgb, #4caf50, transparent 85%);
    color: #4caf50;
    min-width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
  }

  .extended-dropdown-2 ul a:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  }

  .extended-dropdown-2 ul a:hover .menu-icon {
    transform: translateY(-2px);
  }

  .extended-dropdown-2 ul a:hover .menu-icon::before {
    opacity: 0.3;
    box-shadow: 0 6px 15px color-mix(in srgb, var(--accent-color), transparent 75%);
  }

  .extended-dropdown-2 ul a:hover .menu-icon i {
    color: color-mix(in srgb, var(--accent-color), #000000 10%);
  }

  .extended-dropdown-2 ul a:hover .menu-text .menu-title {
    color: var(--nav-dropdown-hover-color);
  }

  .extended-dropdown-2 ul a:hover .menu-text .menu-description {
    color: color-mix(in srgb, var(--nav-dropdown-hover-color), transparent 30%);
  }

  .extended-dropdown-2 ul a:hover .menu-badge {
    transform: scale(1.05);
  }

  .extended-dropdown-2 ul a:hover .menu-badge:not(.hot):not(.updates) {
    background-color: color-mix(in srgb, var(--accent-color), transparent 75%);
  }

  .extended-dropdown-2 ul a:hover .menu-badge.hot {
    background-color: color-mix(in srgb, #ff5722, transparent 75%);
  }

  .extended-dropdown-2 ul a:hover .menu-badge.updates {
    background-color: color-mix(in srgb, #4caf50, transparent 75%);
  }
}

/* Extended Dropdown 2 - Mobile */
@media (max-width: 1199px) {
  .extended-dropdown-2 ul {
    background-color: var(--nav-mobile-background-color);
    border-radius: 10px;
    padding: 10px;
  }

  .extended-dropdown-2 ul li:not(:last-child) {
    margin-bottom: 5px;
  }

  .extended-dropdown-2 ul a {
    padding: 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .extended-dropdown-2 ul a .menu-item-content {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
  }

  .extended-dropdown-2 ul a .menu-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
  }

  .extended-dropdown-2 ul a .menu-icon::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #7644ff 80%));
    opacity: 0.15;
    z-index: -1;
  }

  .extended-dropdown-2 ul a .menu-icon i {
    font-size: 16px;
    color: var(--accent-color);
    margin: 0;
  }

  .extended-dropdown-2 ul a .menu-text {
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  .extended-dropdown-2 ul a .menu-text .menu-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
  }

  .extended-dropdown-2 ul a .menu-text .menu-description {
    font-size: 12px;
    color: color-mix(in srgb, var(--nav-dropdown-color), transparent 40%);
  }

  .extended-dropdown-2 ul a .menu-badge {
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 600;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
    color: var(--accent-color);
    margin-left: 10px;
    flex-shrink: 0;
  }

  .extended-dropdown-2 ul a .menu-badge.hot {
    background-color: color-mix(in srgb, #ff5722, transparent 85%);
    color: #ff5722;
  }

  .extended-dropdown-2 ul a .menu-badge.updates {
    background-color: color-mix(in srgb, #4caf50, transparent 85%);
    color: #4caf50;
    min-width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
  }

  .extended-dropdown-2 ul a:hover,
  .extended-dropdown-2 ul a:active {
    background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  }

  .extended-dropdown-2 ul a:hover .menu-text .menu-title,
  .extended-dropdown-2 ul a:active .menu-text .menu-title {
    color: var(--nav-dropdown-hover-color);
  }

  .extended-dropdown-2 ul .active {
    background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  }

  .extended-dropdown-2 ul .active .menu-title {
    color: var(--nav-dropdown-hover-color);
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding-bottom: 50px;
  position: relative;
}

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

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  color: var(--heading-color);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: var(--heading-font);
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Global Footer - Social Links (Final Corrected Version)
--------------------------------------------------------------*/

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-right: 10px;
  transition: 0.3s;
}

/* 
  Regla de Hover original:
  Se mantiene, pero se aplica solo a los enlaces que NO son de las redes sociales específicas,
  o como un estado base antes de que los colores se apliquen.
*/
.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

/* 
  NUEVO: Reglas específicas para CADA red social en hover.
  Estas reglas añaden el fondo de color, el color de ícono blanco y la animación,
  y tienen prioridad sobre la regla :hover general.
*/
.footer .social-links a.facebook:hover,
.footer .social-links a.instagram:hover,
.footer .social-links a.linkedin:hover {
  color: #ffffff; /* El ícono se vuelve blanco */
  border-color: transparent; /* El borde se oculta */
  animation: bounce_613 0.4s linear;
}

.footer .social-links a.facebook:hover {
  background-color: #1877F2;
}

.footer .social-links a.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

.footer .social-links a.linkedin:hover {
  background-color: #0A66C2;
}

/* Animación de rebote (si ya la tienes en tu CSS, no necesitas volver a pegarla) */
@keyframes bounce_613 {
  40% {
    transform: scale(1.4);
  }
  60% {
    transform: scale(0.8);
  }
  80% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}
.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .copyright {
  padding-top: 25px;
  padding-bottom: 25px;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 6px;
  font-size: 13px;
}

/*--------------------------------------------------------------
# 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;
  display: flex;
  align-items: center;
  justify-content: center;
}

#preloader div {
  width: 4px;
  height: 40px;
  background-color: var(--accent-color);
  margin: 0 4px;
}

#preloader div:nth-child(1) {
  animation: animate-preloader 1s ease-in-out -0.45s infinite;
}

#preloader div:nth-child(2) {
  animation: animate-preloader 1s ease-in-out -0.3s infinite;
}

#preloader div:nth-child(3) {
  animation: animate-preloader 1s ease-in-out -0.15s infinite;
}

#preloader div:nth-child(4) {
  animation: animate-preloader 1s infinite;
}

@keyframes animate-preloader {

  0%,
  100% {
    transform: scaleY(0.3);
  }

  50% {
    transform: scaleY(1);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 20px;
  bottom: 10px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  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;
}

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

/*--------------------------------------------------------------
# Reduced Motion Preferences
--------------------------------------------------------------*/
@media (prefers-reduced-motion: reduce) {
  /* Disable preloader */
  #preloader { display: none !important; }

  /* Avoid smooth scroll for reduced motion users */
  :root { scroll-behavior: auto; }

  /* Disable transitions/animations on AOS and animated elements */
  [data-aos], .aos-animate { transition: none !important; animation: none !important; }
  .voltage-button a::before, .voltage-button a::after { transition: none !important; }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Se aumenta el padding inferior de 80px a 120px */
  padding: 160px 0 120px 0;
  text-align: center;
  position: relative;
}

.page-title:before {
  content: "";
  background-color: color-mix(in srgb, var(--background-color), transparent 40%);
  position: absolute;
  inset: 0;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
  color:#6AA1B2;
}

.page-title p {
  /* (Puedes añadir estilos para el párrafo si lo necesitas) */
}

.page-title .breadcrumbs {
  /* Se añade un margen superior para separarlo del botón */
  margin-top: 30px;
}

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

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

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

/* --- INICIO: ESTILOS DEL BOTÓN DEL HERO INTEGRADOS --- */
.page-title .voltage-button {
  position: relative;
  margin-top: 30px;
  /* Espacio entre el párrafo y el botón */
}

.page-title .voltage-button a {
  display: inline-block;
  text-decoration: none;
  padding: 1rem 3rem;
  font-size: 1.2rem;
  background: transparent;
  border: none;
  position: relative;
  color: #f0f0f0;
  z-index: 1;
  font-family: var(--heading-font);
  font-weight: 500;
  line-height: 1em;
  letter-spacing: 0.075em;
  cursor: pointer;
}

.page-title .voltage-button a::after,
.page-title .voltage-button a::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: -1;
  transition: all 0.4s;
}

/* Capa principal del botón */
.page-title .voltage-button a::before {
  transform: translate(0%, 0%);
  width: 100%;
  height: 100%;
  background: #13404D;
  /* Color principal del botón */
  border-radius: 10px;
}

/* Capa secundaria del botón */
.page-title .voltage-button a::after {
  transform: translate(10px, 10px);
  width: 35px;
  height: 35px;
  background: rgba(147, 224, 247, 0.15);
  backdrop-filter: blur(5px);
  border-radius: 50px;
}

/* Animación al pasar el ratón */
.page-title .voltage-button a:hover::before {
  transform: translate(5%, 20%);
  width: 110%;
  height: 110%;
  background: #0B262E;
  /* Color de hover */
}

.page-title .voltage-button a:hover::after {
  border-radius: 10px;
  transform: translate(0, 0);
  width: 100%;
  height: 100%;
}

/* Efecto al hacer clic */
.page-title .voltage-button a:active::after {
  transition: 0s;
  transform: translate(0, 5%);
}

/* --- FIN DE LOS ESTILOS DEL BOTÓN --- */
/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 72px;
  overflow: clip;
}

@media (max-width: 1199px) {

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

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

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  position: relative;
}

.section-title h2:before,
.section-title h2:after {
  content: "";
  width: 50px;
  height: 2px;
  background: var(--accent-color);
  display: inline-block;
}

.section-title h2:before {
  margin: 0 15px 10px 0;
}

.section-title h2:after {
  margin: 0 0 10px 15px;
}

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

@media (max-width: 768px) {
  .section-title h2 {
    font-size: 20px;
  }

  .section-title h2:before,
  .section-title h2:after {
    content: "";
    width: 20px;
    height: 2px;
    background: var(--accent-color);
    display: inline-block;
  }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  --background-color: #000704;
  --default-color: #ffffff;
  --heading-color: #9bcfdf;
  --accent-color: #13404d;
  --surface-color: #0a3223;
  --contrast-color: #e9f7f8;
  padding: 0;
}

.hero .carousel {
  width: 100%;
  min-height: 100vh;
  padding: 0;
  margin: 0;
  background-color: var(--background-color);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hero .carousel-item.active img {
  animation: kenburns-effect 12s ease-out both;
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero .carousel-item {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero .carousel-item:before {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--background-color), transparent 20%);
  z-index: 2;
}

.hero .carousel-container {
  position: absolute;
  inset: 90px 64px 64px 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 3;
  text-align: center;
}

.hero .carousel-item h2 {
  margin-bottom: 30px;
  font-size: 3.5rem;
  font-weight: 600;
  animation: slide-in-down 0.8s ease-out both;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero .carousel-item h2 span {
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .hero .carousel-item h2 {
    font-size: 30px;
  }
}

.hero .carousel-item p {
  animation: slide-in-down 0.8s ease-out 0.3s both;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  font-size: 1.5rem;
}

@media (min-width: 1024px) {

  .hero h2,
  .hero p {
    max-width: 60%;
  }
}

.hero .carousel-control-prev,
.hero .carousel-control-next {
  width: 15%;
  transition: 0.3s;
  opacity: 0.5;
}

.hero .carousel-control-prev:hover,
.hero .carousel-control-next:hover {
  opacity: 1;
}

@media (min-width: 1024px) {

  .hero .carousel-control-prev,
  .hero .carousel-control-next {
    width: 5%;
  }
}

.hero .carousel-control-next-icon,
.hero .carousel-control-prev-icon {
  background: none;
  color: var(--contrast-color);
  font-size: 48px;
  line-height: 1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.hero .carousel-indicators li {
  list-style-type: none;
  cursor: pointer;
  background: var(--accent-color);
  overflow: hidden;
  border: 0;
  width: 12px;
  height: 12px;
  border-radius: 50px;
  margin-bottom: 180px;
  opacity: 0.4;
  transition: all 0.4s ease;
}

.hero .carousel-indicators li.active {
  opacity: 1;
  width: 30px;
}

@media (max-height: 768px),
(max-width: 1024px) {
  .hero .carousel-indicators li {
    margin-bottom: 20px;
  }
}

/* --- INICIO DE LOS NUEVOS ESTILOS DEL BOTÓN --- */
.voltage-button {
  position: relative;
  animation: slide-in-up 0.8s ease-out 0.6s both;
  margin-top: 20px;
}

/* Se cambia 'button' por 'a' */
.voltage-button a {
  display: inline-block;
  text-decoration: none;
  padding: 1rem 3rem;
  font-size: 1.2rem;
  background: transparent;
  border: none;
  position: relative;
  color: #f0f0f0;
  z-index: 1;
  font-family: var(--heading-font);
  font-weight: 500;
  line-height: 1em;
  letter-spacing: 0.075em;
  cursor: pointer;
}

/* Se cambia 'button' por 'a' */
.voltage-button a::after,
.voltage-button a::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: -1;
  transition: all 0.4s;
}

/* Se cambia 'button' por 'a' */
.voltage-button a::before {
  transform: translate(0%, 0%);
  width: 100%;
  height: 100%;
  background: #13404D;
  border-radius: 10px;
}

/* Se cambia 'button' por 'a' */
.voltage-button a::after {
  transform: translate(10px, 10px);
  width: 35px;
  height: 35px;
  background: rgba(147, 224, 247, 0.15);
  backdrop-filter: blur(5px);
  border-radius: 50px;
}

/* Se cambia 'button' por 'a' */
.voltage-button a:hover::before {
  transform: translate(5%, 20%);
  width: 110%;
  height: 110%;
  background: #0B262E;
}

/* Se cambia 'button' por 'a' */
.voltage-button a:hover::after {
  border-radius: 10px;
  transform: translate(0, 0);
  width: 100%;
  height: 100%;
}

/* Se cambia 'button' por 'a' */
.voltage-button a:active::after {
  transition: 0s;
  transform: translate(0, 5%);
}

/* --- FIN DE LOS NUEVOS ESTILOS --- */
/* Keyframes de la sección */
@keyframes slide-in-up {
  from {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slide-in-down {
  from {
    opacity: 0;
    transform: translate3d(0, -30px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes kenburns-effect {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.1);
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about {
  --background-color: #ffffff;
  --default-color: #073763;
  --heading-color: #13404d;
  --accent-color: #6aa1b2;
  --surface-color: #93e0f7;
  --contrast-color: #e8f4f7;
}

.about .content {
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  padding: 40px;
}

.about .content h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-color);
  text-transform: uppercase;
}

.about .content h2 {
  font-size: 24px;
  font-weight: 700;
}

.about .content p {
  margin: 15px 0 30px 0;
  line-height: 24px;
}

.about .content .btn-read-more {
  color: var(--contrast-color);
  background: var(--accent-color);
  line-height: 0;
  padding: 15px 40px;
  border-radius: 4px;
  transition: 0.5s;
  box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.1);
}

.about .content .btn-read-more span {
  font-family: var(--default-font);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
}

.about .content .btn-read-more i {
  margin-left: 5px;
  font-size: 18px;
  transition: 0.3s;
}

.about .content .btn-read-more:hover i {
  transform: translateX(5px);
}



.team {
  --background-color: #ffffff;
  --default-color: #060606;
  --heading-color: #13404d;
  --accent-color: #76b4c7;
  --surface-color: #ffffff;
  --contrast-color: #000704;
  /* Tamaños consistentes para los avatares */
  --avatar-size: 140px;
  --avatar-size-sm: 120px;
}

.team .team-member {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--surface-color), color-mix(in srgb, var(--surface-color), #000 5%));
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: none;
}

.team .team-member::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 150%;
  height: 200%;
  z-index: 0;
  background: conic-gradient(from 180deg at 50% 50%, transparent 0%, var(--accent-color) 25%, transparent 50%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.team .team-member::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(100deg, transparent 25%, color-mix(in srgb, #fff, transparent 85%) 50%, transparent 75%);
  transform: translateX(-110%);
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 2;
}

@keyframes rotate-glow {
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.team .team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px -10px color-mix(in srgb, var(--default-color), transparent 85%);
}

.team .team-member:hover::before {
  opacity: 1;
  animation: rotate-glow 2.5s linear infinite;
}

.team .team-member:hover::after {
  transform: translateX(110%);
}

.team .team-member:hover .member-img img {
  transform: scale(1.08);
}

.team .team-member .member-content-wrapper {
  position: relative;
  z-index: 1;
  background: linear-gradient(145deg, var(--surface-color), color-mix(in srgb, var(--surface-color), #000 5%));
  margin: 2px;
  border-radius: 9px;
  overflow: hidden;
  display: flex;
  width: 100%;
}

.team .team-member .member-img {
  flex: 0 0 160px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
}

.team .team-member .member-img img {
  width: var(--avatar-size);
  height: var(--avatar-size);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  /* Centramos ligeramente hacia arriba para favorecer el encuadre del rostro */
  object-position: center 30%;
  background-color: #f3f5f6;
  border: 4px solid color-mix(in srgb, var(--accent-color), transparent 85%);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s ease-out;
}

.team .team-member .member-info {
  padding: 25px;
  text-align: left;
}

.team .team-member .member-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--heading-color);
}

.team .team-member .member-info span {
  font-size: 0.9rem;
  font-weight: 500;
  color: color-mix(in srgb, var(--heading-color), transparent 35%);
  display: block;
  margin-bottom: 15px;
}

.team .team-member .member-info p {
  font-size: 0.9rem;
  margin-bottom: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.team .team-member .member-info .social {
  display: flex;
  gap: 10px;
}

.team .team-member .member-info .social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 1rem;
  color: var(--heading-color);
  transition: 0.3s;
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.team .team-member .member-info .social a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
}

@media (max-width: 767px) {
  .team .team-member .member-content-wrapper {
    flex-direction: column;
  }
  .team .team-member:hover {
    transform: translateY(-5px);
  }
  .team .team-member .member-img {
    flex: auto;
    padding: 30px 0 20px;
  }
  .team .team-member .member-img img {
    width: var(--avatar-size-sm);
    height: var(--avatar-size-sm);
  }
  .team .team-member .member-info {
    text-align: center;
  }
  .team .team-member .member-info .social {
    justify-content: center;
  }
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services {
  background: linear-gradient(135deg, var(--background-color) 0%, color-mix(in srgb, var(--accent-color), transparent 95%) 100%);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../img/bg/bg-5.webp") center/cover;
  opacity: 0.03;
  z-index: 1;
}

.services .container {
  position: relative;
  z-index: 2;
}

.services .service-card {
  background: var(--surface-color);
  border-radius: 20px;
  padding: 40px 30px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 90%);
  box-shadow: 0 10px 40px color-mix(in srgb, var(--heading-color), transparent 90%);
}

.services .service-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 60px color-mix(in srgb, var(--accent-color), transparent 80%);
}

.services .service-card:hover .service-bg {
  opacity: 1;
  transform: scale(1.2) rotate(15deg);
}

.services .service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #76B4C7 30%));
}

.services .service-card:hover .btn-cta {
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #76B4C7 30%));
  transform: translateX(5px);
}

.services .service-card.featured {
  background: linear-gradient(135deg, var(--surface-color), color-mix(in srgb, var(--accent-color), transparent 95%));
  border: 2px solid var(--accent-color);
  transform: scale(1.02);
}

.services .service-card.featured .service-icon {
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #76B4C7 20%));
  width: 80px;
  height: 80px;
}

.services .service-card.featured .service-icon i {
  font-size: 40px;
}

.services .service-card.featured .service-content h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.services .service-card.featured .service-meta {
  margin: 25px 0;
}

.services .service-card.compact {
  padding: 30px 25px;
}

.services .service-card.compact .service-icon {
  width: 60px;
  height: 60px;
}

.services .service-card.compact .service-icon i {
  font-size: 28px;
}

.services .service-card .service-bg {
  position: absolute;
  top: -50%;
  right: -30%;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 85%), color-mix(in srgb, var(--accent-color), transparent 95%));
  border-radius: 50%;
  opacity: 0;
  transition: all 0.5s ease;
  z-index: 1;
}

.services .service-card .service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 10%), var(--accent-color));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 25px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.services .service-card .service-icon i {
  font-size: 32px;
  color: var(--contrast-color);
  transition: all 0.3s ease;
}

.services .service-card .service-content {
  position: relative;
  z-index: 2;
}

.services .service-card .service-content h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.services .service-card .service-content h3 a {
  color: var(--heading-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.services .service-card .service-content h3 a:hover {
  color: var(--accent-color);
}

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

.services .service-card .service-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 20px 0 25px;
  flex-wrap: wrap;
}

.services .service-card .service-meta .badge {
  background: linear-gradient(135deg, #76B4C7, #76B4C7);
  color: var(--contrast-color);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.services .service-card .service-meta .badge.popular {
  background: linear-gradient(135deg, #28a745, #20c997);
}

.services .service-card .service-meta .price {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 16px;
}

.services .service-card .btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 10%), var(--accent-color));
  color: var(--contrast-color);
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.services .service-card .btn-cta:hover {
  color: var(--contrast-color);
  box-shadow: 0 8px 30px color-mix(in srgb, var(--accent-color), transparent 60%);
}

.services .service-card .btn-cta i {
  transition: all 0.3s ease;
}

.services .stats-highlight {
  background: var(--accent-color);
  border-radius: 25px;
  padding: 50px 30px;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}

.services .stats-highlight::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent, color-mix(in srgb, var(--accent-color), transparent 90%));
  z-index: 1;
}

.services .stats-highlight .row {
  position: relative;
  z-index: 2;
}

.services .stats-highlight .stat-item {
  text-align: center;
  color: var(--contrast-color);
}

.services .stats-highlight .stat-item .stat-number {
  font-size: 48px;
  font-weight: 900;
  color: var(--contrast-color);
  margin-bottom: 10px;
  background: linear-gradient(135deg, var(--contrast-color), color-mix(in srgb, var(--accent-color), var(--contrast-color) 70%));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
  .services .stats-highlight .stat-item .stat-number {
    font-size: 36px;
  }
}

.services .stats-highlight .stat-item .stat-label {
  font-size: 16px;
  font-weight: 500;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .services .stats-highlight .stat-item .stat-label {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .services .service-card {
    padding: 30px 25px;
    margin-bottom: 30px;
  }

  .services .service-card.featured {
    transform: none;
    margin-bottom: 30px;
  }

  .services .service-card.featured .service-content h3 {
    font-size: 24px;
  }

  .services .service-card .service-icon {
    width: 60px;
    height: 60px;
  }

  .services .service-card .service-icon i {
    font-size: 28px;
  }

  .services .service-card .service-content h3 {
    font-size: 20px;
  }

  .services .stats-highlight {
    padding: 40px 20px;
    margin-top: 40px;
  }
}

/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients {
  padding-top: 60px;
  padding-bottom: 60px;

  .swiper-slide {
    img {
      /* Tamaño uniforme y proporcional para logos de clientes */
      /* Aumentado ligeramente para mejor visibilidad general */
      height: clamp(64px, 11vw, 160px);
      width: auto;
      max-width: 100%;
      object-fit: contain;
      display: block;
      margin: 0 auto;
      opacity: 0.5;
      transition: 0.3s;
      filter: grayscale(100);

      &:hover {
        filter: none;
        opacity: 1;
      }
    }
  }

  

  .swiper-wrapper {
    height: auto;
  }

  .swiper-pagination {
    margin-top: 20px;
    position: relative;

    .swiper-pagination-bullet {
      width: 12px;
      height: 12px;
      opacity: 1;
      background-color: color-mix(in srgb, var(--default-color), transparent 80%);
    }

    .swiper-pagination-bullet-active {
      background-color: var(--accent-color);
    }
  }
}

/* Fallback sin anidación: asegurar tamaños en todos los navegadores */
.clients .swiper-slide img {
  height: clamp(64px, 11vw, 160px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}



.clients .btn-get-started {
  background-color: var(--accent-color);
  /* A11y: usar texto oscuro para ratio >= 4.5 */
  color: #0b262e;
  padding: 8px 30px 10px 30px;
  border-radius: 6px;
  transition: all 0.3s ease-in-out; 
}

.clients .btn-get-started:hover {
   background-color: color-mix(in srgb, var(--accent-color), black 15%);
  transform: translateY(-3px);
}

 .btn-get-started {
  background-color: var(--accent-color);
  /* A11y: usar texto oscuro para ratio >= 4.5 */
  color: #0b262e;
  padding: 8px 30px 10px 30px;
  border-radius: 6px;
  transition: all 0.3s ease-in-out; 
}

 .btn-get-started:hover {
   background-color: color-mix(in srgb, var(--accent-color), black 15%);
  transform: translateY(-3px);
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonial-item {
  background-color: var(--surface-color);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 20px;
  height: 100%;
  line-height: 1.6;
  /* Añadido para mejor legibilidad */
  /* NUEVO: Borde inicial sutil y transición suave */
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  /* Sombra inicial */
  transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
  /* NUEVO: Efecto de POP en hover */
}

.testimonials .testimonial-item:hover {
  /* Sombra y borde con tu color de acento */
  box-shadow: 8px 8px var(--accent-color);
  border-color: var(--accent-color);
  /* Desplazamiento 3D */
  transform: translate(-8px, -8px);
}

.testimonials .testimonial-item .stars {
  margin-bottom: 15px;
  /* Mantenemos tu color de estrellas */
  color: #93E0F7;
}

.testimonials .testimonial-item .stars i {
  margin-right: 2px;
}

.testimonials .testimonial-item p {
  /* Leve ajuste de opacidad para simular el .para */
  z-index: 1;
  opacity: 0.9;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
  color: var(--default-color);
  /* La transición general de la tarjeta cubre esto */
}

.testimonials .testimonial-item .testimonial-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.testimonials .testimonial-item .testimonial-footer .testimonial-author {
  display: flex;
  align-items: center;
}

.testimonials .testimonial-item .testimonial-footer .testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  /* Mantenemos tu borde de imagen */
  border: 3px solid color-mix(in srgb, var(--accent-color), transparent 80%);
}

.testimonials .testimonial-item .testimonial-footer .testimonial-author div h3 {
  margin: 0 0 5px;
  font-size: 18px;
  font-weight: 600;
  color: var(--heading-color);
}

.testimonials .testimonial-item .testimonial-footer .testimonial-author div span {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.testimonials .testimonial-item .testimonial-footer .quote-icon {
  font-size: 36px;
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  line-height: 1;
}

.testimonials .testimonial-item .testimonial-footer .quote-icon i {
  transform: scaleX(-1);
}

@media (max-width: 768px) {
  .testimonials .testimonial-item {
    padding: 25px 20px;
    /* Reducimos el desplazamiento en móvil para que no se salga */
  }

  .testimonials .testimonial-item:hover {
    transform: translate(-4px, -4px);
    box-shadow: 4px 4px var(--accent-color);
  }

  .testimonials .testimonial-item p {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .testimonials .testimonial-item .testimonial-footer .testimonial-author img {
    width: 45px;
    height: 45px;
  }

  .testimonials .testimonial-item .testimonial-footer .testimonial-author div h3 {
    font-size: 16px;
  }

  .testimonials .testimonial-item .testimonial-footer .testimonial-author div span {
    font-size: 13px;
  }

  .testimonials .testimonial-item .testimonial-footer .quote-icon {
    font-size: 30px;
  }
}

@media (max-width: 576px) {
  .testimonials .testimonial-item {
    padding: 20px 15px;
  }

  .testimonials .testimonial-item .testimonial-footer .testimonial-author img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
  }
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
  --background-color: #04222b;
  --default-color: #e8f4f7;
  --heading-color: #e8f4f7;
  --accent-color: #add8e6;
  --surface-color: #e8f4f7;
  --contrast-color: #13404d;
}

.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  font-size: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
}

.contact .info-item h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 20px 0;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

@media (min-width: 992px) {
  .contact .info-item.info-item-borders {
    border-left: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
    border-right: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  }
}

.contact .php-email-form {
  margin-top: 30px;
  padding: 32px 24px;
  border-radius: 16px;
  background: linear-gradient(#0B262E, #0B262E) padding-box, linear-gradient(145deg, transparent 35%, #E8F4F7, #76B4C7) border-box;
  border: 2px solid transparent;
}

@media (max-width: 575px) {
  .contact .php-email-form {
    padding: 20px;
  }
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  color: #E8F4F7;
  background-color: transparent;
  border: 1px solid #76B4C7;
  transition: border-color 0.3s ease;
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: #E8F4F7;
  opacity: 0.5;
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  outline: none;
  border-color: #93E0F7;
}

.contact .php-email-form .loading,
.contact .php-email-form .error-message,
.contact .php-email-form .sent-message {
  color: #E8F4F7;
  padding: 15px;
  display: none;
}

.contact .php-email-form button[type=submit] {
  font-family: inherit;
  color: #0B262E;
  background: #76B4C7;
  border: none;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.contact .php-email-form button[type=submit]:hover {
  background: #93E0F7;
  box-shadow: 0 0 15px rgba(147, 224, 247, 0.5);
}

.contact .php-email-form button[type=submit]:active {
  scale: 0.95;
}

.contact .info-item a,
.contact .info-item a:hover {
  color: inherit; /* Hereda el color del padre (blanco en este caso) */
}
/*Nuevos estilos formulario*/


.contact .php-email-form .form-check-container {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
  margin-bottom: 20px;
}


.contact .php-email-form .form-check-container label {
  font-size: 14px;
  color: var(--default-color); 
  padding-left: 10px;
}


.contact .php-email-form .form-check-container label a {
  color: var(--accent-color); 
  text-decoration: underline;
}

.contact .php-email-form .form-check-container label a:hover {
  text-decoration: none;
}


.contact .php-email-form button[type="submit"]:disabled {
  background: #5a6d74; 
  cursor: not-allowed;
  opacity: 0.5;
}

.contact .php-email-form .required-fields-notice {
  font-size: 12px;
  color: var(--default-color);
  opacity: 0.7;
  text-align: center;
  margin-top: 15px;
}
/* --- ESTILOS EXCLUSIVOS PARA EL ICONO DE WHATSAPP --- */

/* Contenedor del icono para darle forma circular y animaciones */
.contact .info-item .whatsapp-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;       /* Tamaño del círculo */
  height: 60px;
  background-color: #25d366; /* Color de WhatsApp */
  color: #fff;        /* Color del icono (blanco) */
  border-radius: 50%;
  text-align: center;
  font-size: 30px;   /* Tamaño del icono interior */
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-in-out;
  animation: pulse 2s infinite;
  text-decoration: none;
}

/* El ícono de Bootstrap dentro del círculo */
.contact .info-item .whatsapp-icon i {
  color: #fff; /* Asegura que el icono sea blanco */
  font-size: 30px;
}

/* Efecto hover */
.contact .info-item .whatsapp-icon:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.3);
  animation-play-state: paused;
}

/* Animación de pulso (si ya la tienes de la respuesta anterior, no necesitas añadirla de nuevo) */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* --- FIN DE NUEVOS ESTILOS --- */
/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details {
  --card-border-radius: 12px;
  --content-spacing: 4rem;
}

.portfolio-details .project-header {
  margin-bottom: 2.5rem;
  position: relative;
}

.portfolio-details .project-header .project-title {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
}

.portfolio-details .project-header .project-title:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 80px;
  height: 4px;
  background-color: var(--accent-color);
  border-radius: 2px;
}

.portfolio-details .project-header .project-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}

.portfolio-details .project-header .project-meta .meta-item {
  display: flex;
  align-items: center;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.portfolio-details .project-header .project-meta .meta-item i {
  color: var(--accent-color);
  font-size: 1.2rem;
  margin-right: 8px;
}

.portfolio-details .project-header .project-meta .meta-item a {
  color: inherit;
  transition: all 0.3s;
}

.portfolio-details .project-header .project-meta .meta-item a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.portfolio-details .project-header .project-tags {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.portfolio-details .project-header .project-tags .tag {
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s;
}

.portfolio-details .project-header .project-tags .tag:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 75%);
  transform: translateY(-3px);
}

.portfolio-details .project-header .technologies .tech-title {
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--heading-color);
  text-align: right;
}

.portfolio-details .project-header .technologies .tech-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.portfolio-details .project-header .technologies .tech-badges span {
  background-color: color-mix(in srgb, var(--heading-color), transparent 90%);
  color: var(--heading-color);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.3s;
}

.portfolio-details .project-header .technologies .tech-badges span:hover {
  background-color: color-mix(in srgb, var(--heading-color), transparent 80%);
  transform: scale(1.05);
}

.portfolio-details .media-showcase {
  margin-bottom: var(--content-spacing);
  border-radius: var(--card-border-radius);
  overflow: hidden;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

.portfolio-details .media-showcase .swiper-wrapper {
  height: auto !important;
}

.portfolio-details .media-showcase .swiper-slide img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.portfolio-details .media-showcase .swiper-pagination {
  position: absolute;
  bottom: 20px;
}

.portfolio-details .media-showcase .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: var(--contrast-color);
  opacity: 0.5;
  transition: all 0.3s ease;
}

.portfolio-details .media-showcase .swiper-pagination .swiper-pagination-bullet-active {
  opacity: 1;
  width: 30px;
  border-radius: 5px;
  background-color: var(--accent-color);
}

.portfolio-details .project-content .description-box {
  margin-bottom: 2rem;
}

.portfolio-details .project-content .description-box h3 {
  margin-bottom: 1rem;
  font-size: 1.6rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.portfolio-details .project-content .description-box h3:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 40px;
  height: 3px;
  background-color: var(--accent-color);
  border-radius: 2px;
}

.portfolio-details .project-content .description-box .lead {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
  font-weight: 500;
}

.portfolio-details .project-content .description-box p {
  margin-bottom: 1rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.7;
}

.portfolio-details .project-content .project-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.portfolio-details .project-content .project-stats .stat-item {
  background-color: var(--surface-color);
  padding: 1.5rem;
  border-radius: var(--card-border-radius);
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.3s;
}

.portfolio-details .project-content .project-stats .stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}

.portfolio-details .project-content .project-stats .stat-item .stat-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.portfolio-details .project-content .project-stats .stat-item .stat-label {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.portfolio-details .project-content .info-card {
  background-color: var(--surface-color);
  padding: 2rem;
  border-radius: var(--card-border-radius);
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.3s;
}

.portfolio-details .project-content .info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.portfolio-details .project-content .info-card:hover .card-icon {
  background-color: var(--accent-color);
}

.portfolio-details .project-content .info-card:hover .card-icon i {
  color: var(--contrast-color);
}

.portfolio-details .project-content .info-card .card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s;
}

.portfolio-details .project-content .info-card .card-icon i {
  font-size: 1.8rem;
  color: var(--accent-color);
  transition: all 0.3s;
}

.portfolio-details .project-content .info-card h4 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.portfolio-details .project-content .info-card p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.6;
  margin-bottom: 0;
}

.portfolio-details .project-content .project-gallery {
  margin: 3rem 0;
}

.portfolio-details .project-content .project-gallery h3 {
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.portfolio-details .project-content .project-gallery h3:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 40px;
  height: 3px;
  background-color: var(--accent-color);
  border-radius: 2px;
}

.portfolio-details .project-content .project-gallery .gallery-item {
  border-radius: var(--card-border-radius);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.portfolio-details .project-content .project-gallery .gallery-item img {
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: all 0.5s ease;
}

.portfolio-details .project-content .project-gallery .gallery-item:hover {
  transform: translateY(-7px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.portfolio-details .project-content .project-gallery .gallery-item:hover img {
  transform: scale(1.05);
}

.portfolio-details .project-content .key-features {
  margin-bottom: 3rem;
}

.portfolio-details .project-content .key-features h3 {
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.portfolio-details .project-content .key-features h3:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 40px;
  height: 3px;
  background-color: var(--accent-color);
  border-radius: 2px;
}

.portfolio-details .project-content .key-features .feature-item {
  background-color: var(--surface-color);
  padding: 2rem;
  border-radius: var(--card-border-radius);
  text-align: center;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.3s;
}

.portfolio-details .project-content .key-features .feature-item:hover {
  transform: translateY(-7px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.portfolio-details .project-content .key-features .feature-item:hover i {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.portfolio-details .project-content .key-features .feature-item i {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
  transition: all 0.3s;
}

.portfolio-details .project-content .key-features .feature-item h5 {
  margin-bottom: 1rem;
  font-weight: 600;
}

.portfolio-details .project-content .key-features .feature-item p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.portfolio-details .project-content .project-navigation {
  display: flex;
  justify-content: space-between;
  padding-top: 2.5rem;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.portfolio-details .project-content .project-navigation a {
  display: flex;
  align-items: center;
  color: var(--heading-color);
  font-weight: 600;
  transition: all 0.3s;
}

.portfolio-details .project-content .project-navigation a i {
  font-size: 1.2rem;
  transition: all 0.3s;
}

.portfolio-details .project-content .project-navigation a.prev-project i {
  margin-right: 8px;
}

.portfolio-details .project-content .project-navigation a.prev-project:hover {
  color: var(--accent-color);
}

.portfolio-details .project-content .project-navigation a.prev-project:hover i {
  transform: translateX(-5px);
}

.portfolio-details .project-content .project-navigation a.all-projects {
  border: 2px solid color-mix(in srgb, var(--heading-color), transparent 80%);
  padding: 8px 16px;
  border-radius: 30px;
}

.portfolio-details .project-content .project-navigation a.all-projects i {
  margin-right: 8px;
}

.portfolio-details .project-content .project-navigation a.all-projects:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
}

.portfolio-details .project-content .project-navigation a.all-projects:hover i {
  transform: scale(1.1);
}

.portfolio-details .project-content .project-navigation a.next-project i {
  margin-left: 8px;
}

.portfolio-details .project-content .project-navigation a.next-project:hover {
  color: var(--accent-color);
}

.portfolio-details .project-content .project-navigation a.next-project:hover i {
  transform: translateX(5px);
}

@media (max-width: 991px) {
  .portfolio-details .project-header .technologies {
    margin-top: 2rem;
  }

  .portfolio-details .project-header .technologies .tech-title,
  .portfolio-details .project-header .technologies .tech-badges {
    text-align: left;
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .portfolio-details .project-header .project-title {
    font-size: 2.2rem;
  }

  .portfolio-details .project-navigation {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .portfolio-details .project-navigation a.all-projects {
    order: -1;
    margin-bottom: 1rem;
  }
}

@media (max-width: 576px) {
  .portfolio-details .project-stats {
    grid-template-columns: 1fr !important;
  }
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .service-hero {
  position: relative;
  margin-bottom: 40px;
  border-radius: 12px;
  overflow: hidden;
}

.service-details .service-hero img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.service-details .service-hero .service-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
}

.service-details .service-content .service-header {
  margin-bottom: 40px;
}

.service-details .service-content .service-header h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--heading-color);
}

.service-details .service-content .service-header .service-intro {
  font-size: 18px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.service-details .service-content h4 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 30px;
  color: var(--heading-color);
}

.service-details .service-features {
  margin-bottom: 50px;
}

.service-details .service-features .feature-item {
  display: flex;
  align-items: flex-start;
  padding: 20px;
  background: var(--surface-color);
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.3s ease;
}

.service-details .service-features .feature-item:hover {
  box-shadow: 0 8px 25px color-mix(in srgb, var(--default-color), transparent 90%);
  transform: translateY(-2px);
}

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

.service-details .service-features .feature-item .feature-icon i {
  font-size: 24px;
  color: var(--accent-color);
}

.service-details .service-features .feature-item .feature-content h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--heading-color);
}

.service-details .service-features .feature-item .feature-content p {
  font-size: 14px;
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.service-details .service-process {
  margin-bottom: 50px;
}

.service-details .service-process .process-steps .process-step {
  display: flex;
  margin-bottom: 30px;
  position: relative;
}

.service-details .service-process .process-steps .process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 60px;
  width: 2px;
  height: 40px;
  background: color-mix(in srgb, var(--accent-color), transparent 70%);
}

.service-details .service-process .process-steps .process-step .step-number {
  background: var(--accent-color);
  color: var(--contrast-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-right: 25px;
  flex-shrink: 0;
  font-size: 16px;
}

.service-details .service-process .process-steps .process-step .step-content h5 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--heading-color);
}

.service-details .service-process .process-steps .process-step .step-content p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.service-details .service-gallery {
  margin-bottom: 30px;
}

.service-details .service-gallery img {
  transition: transform 0.3s ease;
}

.service-details .service-gallery img:hover {
  transform: scale(1.05);
}

.service-details .service-sidebar .service-menu {
  background: var(--surface-color);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.service-details .service-sidebar .service-menu h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 25px;
  color: var(--heading-color);
}

.service-details .service-sidebar .service-menu .menu-list .menu-item {
  display: flex;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  color: var(--default-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.service-details .service-sidebar .service-menu .menu-list .menu-item:last-child {
  border-bottom: none;
}

.service-details .service-sidebar .service-menu .menu-list .menu-item:hover,
.service-details .service-sidebar .service-menu .menu-list .menu-item.active {
  color: var(--accent-color);
  padding-left: 10px;
}

.service-details .service-sidebar .service-menu .menu-list .menu-item:hover i,
.service-details .service-sidebar .service-menu .menu-list .menu-item.active i {
  color: var(--accent-color);
}

.service-details .service-sidebar .service-menu .menu-list .menu-item i {
  margin-right: 12px;
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  transition: color 0.3s ease;
}

.service-details .service-sidebar .service-menu .menu-list .menu-item span {
  font-weight: 500;
}

.service-details .service-sidebar .service-info {
  background: var(--surface-color);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.service-details .service-sidebar .service-info h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 25px;
  color: var(--heading-color);
}

.service-details .service-sidebar .service-info .info-list .info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.service-details .service-sidebar .service-info .info-list .info-item:last-child {
  border-bottom: none;
}

.service-details .service-sidebar .service-info .info-list .info-item .info-label {
  font-weight: 500;
  color: var(--default-color);
}

.service-details .service-sidebar .service-info .info-list .info-item .info-value {
  font-weight: 600;
  color: var(--accent-color);
}

.service-details .service-sidebar .contact-card {
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #000 20%));
  padding: 30px;
  border-radius: 10px;
  color: var(--contrast-color);
}

.service-details .service-sidebar .contact-card .contact-content h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--contrast-color);
}

.service-details .service-sidebar .contact-card .contact-content p {
  margin-bottom: 20px;
  opacity: 0.9;
  font-size: 14px;
  line-height: 1.6;
}

.service-details .service-sidebar .contact-card .contact-content .contact-info {
  margin-bottom: 25px;
}

.service-details .service-sidebar .contact-card .contact-content .contact-info .contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.service-details .service-sidebar .contact-card .contact-content .contact-info .contact-item i {
  margin-right: 10px;
  opacity: 0.8;
}

.service-details .service-sidebar .contact-card .contact-content .contact-info .contact-item span {
  font-size: 14px;
}

.service-details .service-sidebar .contact-card .contact-content .btn {
  background: var(--contrast-color);
  color: var(--accent-color);
  border: none;
  padding: 12px 25px;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.service-details .service-sidebar .contact-card .contact-content .btn:hover {
  background: color-mix(in srgb, var(--contrast-color), transparent 10%);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .service-details .service-hero img {
    height: 250px;
  }

  .service-details .service-hero .service-badge {
    top: 15px;
    right: 15px;
    padding: 6px 15px;
    font-size: 12px;
  }

  .service-details .service-content .service-header h2 {
    font-size: 24px;
  }

  .service-details .feature-item {
    padding: 15px !important;
  }

  .service-details .feature-item .feature-icon {
    width: 50px !important;
    height: 50px !important;
    margin-right: 15px !important;
  }

  .service-details .feature-item .feature-icon i {
    font-size: 20px !important;
  }

  .service-details .service-sidebar {
    margin-top: 30px;
  }
}

/*--------------------------------------------------------------
# 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: 80px 0;
  margin: 0 auto;
}

.error-404 .error-icon {
  font-size: 5rem;
  color: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.error-404 .error-code {
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 800;
  color: color-mix(in srgb, var(--heading-color), transparent 10%);
  font-family: var(--heading-font);
  line-height: 1;
}

.error-404 .error-title {
  font-size: 2rem;
  color: var(--heading-color);
  font-weight: 600;
}

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

.error-404 .search-box {
  max-width: 500px;
  margin: 0 auto;
}

.error-404 .search-box .input-group {
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.error-404 .search-box .form-control {
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-radius: 50px;
}

.error-404 .search-box .form-control:focus {
  box-shadow: none;
  border-color: var(--accent-color);
}

.error-404 .search-box .form-control::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.error-404 .search-box .search-btn {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
}

.error-404 .search-box .search-btn:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.error-404 .error-action .btn-primary {
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  background-color: var(--accent-color);
  border: none;
  color: var(--contrast-color);
  border-radius: 50px;
  transition: all 0.3s ease;
}

.error-404 .error-action .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
  transform: translateY(-2px);
}

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

  .error-404 .error-code {
    font-size: clamp(4rem, 12vw, 8rem);
  }

  .error-404 .error-title {
    font-size: 1.5rem;
  }

  .error-404 .error-text {
    font-size: 1rem;
    padding: 0 20px;
  }

  .error-404 .search-box {
    margin: 0 20px;
  }
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features {
  --background-color: #ffffff;
  --default-color: #0a3223;
  --heading-color: #13404d;
  --accent-color: #588998;
  --surface-color: #f4f9f7;
  --contrast-color: #ffffff;
  padding-top: 60px;
  padding-bottom: 60px;
  /* Custom properties for quick theming */
  --card-radius: 18px;
  --shadow-soft: 0 10px 30px color-mix(in srgb, var(--default-color), transparent 88%);
  --shadow-hover: 0 16px 44px color-mix(in srgb, var(--default-color), transparent 82%);
  --ring-color: color-mix(in srgb, var(--accent-color), transparent 75%);
  --muted: color-mix(in srgb, var(--default-color), transparent 35%);
  /* Icon badge palettes via color-mix on accent for harmony */
  /* Swiper global fix if a slider is later embedded */
}

.features .intro-panel {
  background: linear-gradient(180deg, var(--surface-color), color-mix(in srgb, var(--accent-color), transparent 96%));
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.features .intro-panel .preview-visual {
  position: relative;
}

.features .intro-panel .preview-visual img {
  display: block;
}

.features .intro-panel .preview-visual::after {
  content: "";
  position: absolute;
  inset: -10px -8px auto auto;
  width: 120px;
  height: 120px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent-color), transparent 65%), transparent 70%);
  filter: blur(12px);
  border-radius: 50%;
  pointer-events: none;
}

.features .intro-panel .intro-content .intro-title {
  font-weight: 800;
  margin-bottom: 8px;
}

.features .intro-panel .intro-content .intro-text {
  color: var(--muted);
  margin: 0;
}

.features .intro-panel .intro-content .intro-highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  padding: 8px 0;
}

.features .intro-panel .intro-content .intro-highlights li i {
  color: var(--accent-color);
  font-size: 18px;
}

.features .intro-panel .intro-content .cta-btn {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 999px;
  padding: 10px 18px;
  box-shadow: 0 6px 22px color-mix(in srgb, var(--accent-color), transparent 70%);
  transition: 0.3s;
}

.features .intro-panel .intro-content .cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--accent-color), transparent 60%);
  color: var(--contrast-color);
}

.features .intro-panel .intro-content .link-btn {
  color: var(--accent-color);
  border-radius: 999px;
  padding: 10px 14px;
  background: color-mix(in srgb, var(--accent-color), transparent 94%);
  transition: 0.3s;
}

.features .intro-panel .intro-content .link-btn:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  transform: translateY(-2px);
}

.features .feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

@media (max-width: 1200px) {
  .features .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.features .feature-item {
  position: relative;
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  border-radius: var(--card-radius);
  padding: 22px 18px 20px 18px;
  box-shadow: var(--shadow-soft);
  transition: 0.3s;
  overflow: hidden;
}

.features .feature-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
}

.features .feature-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent-color), transparent 96%), transparent 100%);
  opacity: 0.8;
  pointer-events: none;
}

.features .feature-item .f-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  color: var(--contrast-color);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--default-color), transparent 85%);
}

.features .feature-item .f-icon i {
  font-size: 22px;
}

.features .feature-item .f-body .f-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
}

.features .feature-item .f-body .f-text {
  color: var(--muted);
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 15px;
}

.features .feature-item .f-body .f-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-color), transparent 94%);
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  border: 1px solid var(--ring-color);
}

.features .badge-blue {
  background: color-mix(in srgb, var(--accent-color), #5dade2 40%);
}

.features .badge-green {
  background: color-mix(in srgb, var(--accent-color), #2ecc71 45%);
}

.features .badge-purple {
  background: color-mix(in srgb, var(--accent-color), #9b59b6 40%);
}

.features .badge-orange {
  background: color-mix(in srgb, var(--accent-color), #f39c12 40%);
}

.features .badge-cyan {
  background: color-mix(in srgb, var(--accent-color), #48c9b0 40%);
}

.features .badge-pink {
  background: color-mix(in srgb, var(--accent-color), #e91e63 35%);
}

.features .assurance-banner {
  margin-top: 22px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent-color), transparent 92%), var(--surface-color));
  border: 1px dashed color-mix(in srgb, var(--default-color), transparent 80%);
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.features .assurance-banner .assurance-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent-color), transparent 86%);
  color: var(--accent-color);
}

.features .assurance-banner .assurance-icon i {
  font-size: 20px;
}

.features .assurance-banner .assurance-content {
  flex: 1;
}

.features .assurance-banner .assurance-content h3 {
  margin: 0 0 4px 0;
  font-weight: 800;
}

.features .assurance-banner .assurance-content p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.features .assurance-banner .banner-btn {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 999px;
  padding: 8px 14px;
  white-space: nowrap;
  transition: 0.3s;
}

.features .assurance-banner .banner-btn:hover {
  transform: translateX(2px);
  color: var(--contrast-color);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--accent-color), transparent 65%);
}

.features .swiper-wrapper {
  height: auto !important;
}

@media (max-width: 992px) {
  .features .intro-panel {
    padding: 24px;
  }

  .features .intro-panel .intro-content .intro-title {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .features .intro-panel .preview-visual::after {
    width: 90px;
    height: 90px;
  }

  .features .feature-item {
    padding: 18px 16px;
  }

  .features .feature-item .f-icon {
    width: 50px;
    height: 50px;
  }

  .features .feature-item .f-icon i {
    font-size: 20px;
  }

  .features .assurance-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .features .assurance-banner .banner-btn {
    width: 100%;
    text-align: center;
  }
}

/*--------------------------------------------------------------
# Features 2 Section
--------------------------------------------------------------*/
.features-2 {
  padding-top: 60px;
  padding-bottom: 60px;
}

.features-2 .features-item {
  margin-bottom: 80px;
}

@media (max-width: 768px) {
  .features-2 .features-item {
    margin-bottom: 60px;
  }
}

.features-2 .features-item .feature-card {
  background: var(--surface-color);
  padding: 40px 30px;
  border-radius: 10px;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  position: relative;
  overflow: hidden;
}

.features-2 .features-item .feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), color-mix(in srgb, var(--accent-color), var(--heading-color) 30%));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.features-2 .features-item .feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.features-2 .features-item .feature-card:hover::before {
  transform: scaleX(1);
}

.features-2 .features-item .feature-card:hover .feature-icon {
  transform: scale(1.1);
  background: var(--accent-color);
}

.features-2 .features-item .feature-card:hover .feature-icon i {
  color: var(--contrast-color);
}

.features-2 .features-item .feature-card .feature-icon {
  width: 80px;
  height: 80px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: all 0.3s ease;
}

.features-2 .features-item .feature-card .feature-icon i {
  font-size: 36px;
  color: var(--accent-color);
  transition: color 0.3s ease;
}

.features-2 .features-item .feature-card h3 {
  color: var(--heading-color);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  font-family: var(--heading-font);
}

.features-2 .features-item .feature-card p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.features-2 .features-detail .feature-image-wrapper {
  position: relative;
}

.features-2 .features-detail .feature-image-wrapper .main-image {
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.features-2 .features-detail .feature-image-wrapper .floating-card {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: var(--surface-color);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 250px;
  border: 2px solid var(--accent-color);
}

@media (max-width: 768px) {
  .features-2 .features-detail .feature-image-wrapper .floating-card {
    position: static;
    margin-top: 20px;
    max-width: 100%;
  }
}

.features-2 .features-detail .feature-image-wrapper .floating-card .card-icon {
  width: 50px;
  height: 50px;
  background: var(--accent-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.features-2 .features-detail .feature-image-wrapper .floating-card .card-icon i {
  font-size: 24px;
  color: var(--contrast-color);
}

.features-2 .features-detail .feature-image-wrapper .floating-card .card-content p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 13px;
  margin: 0;
}

.features-2 .features-detail .feature-content h3 {
  color: var(--heading-color);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: var(--heading-font);
  line-height: 1.3;
}

@media (max-width: 768px) {
  .features-2 .features-detail .feature-content h3 {
    font-size: 26px;
  }
}

.features-2 .features-detail .feature-content>p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 30px;
}

.features-2 .features-detail .feature-content .feature-points {
  margin-bottom: 35px;
}

.features-2 .features-detail .feature-content .feature-points .point-item {
  display: flex;
  /* ALINEACIÓN CORREGIDA: De 'flex-start' a 'center' */
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.features-2 .features-detail .feature-content .feature-points .point-item:last-child {
  margin-bottom: 0;
}

.features-2 .features-detail .feature-content .feature-points .point-item .point-icon {
  width: 40px;
  height: 40px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  /* El margin-top ya no es necesario con la alineación centrada */
}

.features-2 .features-detail .feature-content .feature-points .point-item .point-icon i {
  font-size: 20px;
  color: var(--accent-color);
}

.features-2 .features-detail .feature-content .feature-points .point-item .point-text h4 {
  color: var(--heading-color);
  font-size: 18px;
  font-weight: 600;
  /* Se elimina el margen inferior para mejorar la alineación con el icono */
  margin-bottom: 0;
  font-family: var(--heading-font);
}

.features-2 .features-detail .feature-content .btn-primary {
  background: var(--accent-color);
  color: var(--contrast-color);
  border: 2px solid var(--accent-color);
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
}

.features-2 .features-detail .feature-content .btn-primary:hover {
  background: transparent;
  color: var(--accent-color);
  border-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Features 3 Section
--------------------------------------------------------------*/
.features-3 {
  padding-top: 60px;
  --default-color: #000000;
  --heading-color: #13404d;
  padding-bottom: 60px;
}

.features-3 .feature-box {
  height: 100%;
  padding: 40px 30px;
  border-radius: 10px;
}

.features-3 .feature-box i {
  font-size: 44px;
  display: inline-block;
  line-height: 0;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.features-3 .feature-box h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px 0;
}

.features-3 .feature-box p {
  font-size: 15px;
  margin-bottom: 0;
}

.features-3 .feature-box.orange {
  background-color: #fff3e2;
}

.features-3 .feature-box.orange i {
  color: #edb86e;
}

.features-3 .feature-box.blue {
  background-color: #deedfd;
}

.features-3 .feature-box.blue i {
  color: #20a5f8;
}

.features-3 .feature-box.green {
  background-color: #d5f1e4;
}

.features-3 .feature-box.green i {
  color: #48c88a;
}

.features-3 .feature-box.red {
  background-color: #fdeded;
}

.features-3 .feature-box.red i {
  color: #f28484;
}

/*--------------------------------------------------------------
# Features 4 Section
--------------------------------------------------------------*/
.features-4 .features-item {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.features-4 .features-item+.features-item {
  margin-top: 100px;
}

@media (max-width: 768px) {
  .features-4 .features-item+.features-item {
    margin-top: 40px;
  }
}

.features-4 .features-item h3 {
  font-weight: 700;
  font-size: 26px;
}

.features-4 .features-item .btn-get-started {
  background-color: var(--accent-color);
  /* A11y: usar texto más oscuro para mejor contraste */
  color: #0b262e;
  padding: 8px 30px 10px 30px;
  border-radius: 4px;
}

.features-4 .features-item .btn-get-started:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 10%);
}

.features-4 .features-item ul {
  list-style: none;
  padding: 0;
}

.features-4 .features-item ul li {
  padding-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.features-4 .features-item ul li:last-child {
  padding-bottom: 0;
}

.features-4 .features-item ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--accent-color);
}

.features-4 .features-item img {
  border: 6px solid var(--surface-color);
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.1);
}

.features-4 .features-item .features-img-bg {
  position: relative;
  min-height: 500px;
}

@media (max-width: 640px) {
  .features-4 .features-item .features-img-bg {
    min-height: 300px;
  }
}

.features-4 .features-item .features-img-bg img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.features-4 .features-item .image-stack {
  display: grid;
  position: relative;
  grid-template-columns: repeat(12, 1fr);
}

.features-4 .features-item .image-stack .stack-back {
  grid-column: 4/-1;
  grid-row: 1;
  width: 100%;
  z-index: 1;
}

.features-4 .features-item .image-stack .stack-front {
  grid-row: 1;
  grid-column: 1/span 8;
  margin-top: 20%;
  width: 100%;
  z-index: 2;
}

/*--------------------------------------------------------------
# Features 5 Section
--------------------------------------------------------------*/
.features-5 .feature-card {
  background-color: var(--surface-color);
  padding: 40px 25px;
  border-radius: 12px;
  transition: all 0.3s ease-in-out;
  position: relative;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
  box-shadow: 0 5px 25px color-mix(in srgb, var(--default-color), transparent 90%);
  height: 100%;
}

.features-5 .feature-card .icon-holder {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -70px auto 25px auto;
  border: 5px solid var(--background-color);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent-color), transparent 60%);
  transition: all 0.3s ease-in-out;
  position: relative;
}

.features-5 .feature-card .icon-holder i {
  font-size: 2.2rem;
  line-height: 0;
}

.features-5 .feature-card .feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--heading-color);
}

.features-5 .feature-card .feature-title a {
  color: inherit;
  transition: color 0.3s;
}

.features-5 .feature-card .feature-title a:hover {
  color: var(--accent-color);
}

.features-5 .feature-card .feature-description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  margin-bottom: 0;
}

.features-5 .feature-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 15px 35px color-mix(in srgb, var(--default-color), transparent 85%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 50%);
}

.features-5 .feature-card:hover .icon-holder {
  background-color: color-mix(in srgb, var(--accent-color), black 10%);
  transform: scale(1.1);
}

@media (max-width: 991px) {
  .features-5 .feature-card {
    padding: 35px 20px;
  }

  .features-5 .feature-card .icon-holder {
    width: 65px;
    height: 65px;
    margin-top: -60px;
  }

  .features-5 .feature-card .icon-holder i {
    font-size: 2rem;
  }
}

@media (max-width: 767px) {
  .features-5 .row>[class*=col-]:last-child .feature-card {
    margin-bottom: 0;
  }

  .features-5 .feature-card {
    margin-bottom: 50px;
    /* Adjust based on icon-holder negative margin */
  }

  .features-5 .feature-card .icon-holder {
    width: 60px;
    height: 60px;
    margin-top: -55px;
    /* Pulls icon holder further up from content edge to avoid large gap */
  }

  .features-5 .feature-card .icon-holder i {
    font-size: 1.8rem;
  }

  .features-5 .feature-card .feature-title {
    font-size: 1.1rem;
  }
}

/*--------------------------------------------------------------
# Features 6 Section
--------------------------------------------------------------*/
.features-6 .feature-card,
.features-6 .compliance-card {
  background-color: var(--surface-color);
  border-radius: 10px;
  padding: 30px;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid transparent;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.features-6 .feature-card:hover,
.features-6 .compliance-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--accent-color);
}

.features-6 .feature-card .icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  margin-bottom: 20px;
}

.features-6 .feature-card .icon-box i {
  font-size: 28px;
  color: var(--accent-color);
}

.features-6 .feature-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
}

.features-6 .feature-card p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.6;
}

.features-6 .feature-card .feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.features-6 .feature-card .feature-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
  font-size: 15px;
}

.features-6 .feature-card .feature-list li i {
  color: var(--accent-color);
  margin-right: 10px;
  font-size: 18px;
  flex-shrink: 0;
}

.features-6 .feature-card .read-more {
  display: inline-flex;
  align-items: center;
  color: var(--accent-color);
  font-weight: 500;
  font-size: 15px;
  transition: all 0.3s ease;
}

.features-6 .feature-card .read-more i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.features-6 .feature-card .read-more:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
}

.features-6 .feature-card .read-more:hover i {
  transform: translateX(5px);
}

.features-6 .btn-get-started {
  background-color: var(--accent-color);
  /* A11y: usar texto más oscuro para mejor contraste */
  color: #0b262e;
  padding: 8px 30px 10px 30px;
  border-radius: 4px;
}

.features-6 .btn-get-started:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 10%);
}
.features-6 .compliance-card {
  text-align: center;
  padding: 25px 20px;
}

.features-6 .compliance-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

.features-6 .compliance-card .status {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}

.features-6 .compliance-card .status.in-progress {
  background-color: rgba(13, 110, 253, 0.1);
  color: #0d6efd;
}

.features-6 .compliance-card .status.compliant {
  background-color: rgba(25, 135, 84, 0.1);
  color: #198754;
}

.features-6 .compliance-card .status.planned {
  background-color: rgba(108, 117, 125, 0.1);
  color: #6c757d;
}

@media (max-width: 992px) {
  .features-6 .feature-card {
    margin-bottom: 20px;
  }

  .features-6 .compliance-card {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .features-6 .feature-card .icon-box {
    width: 50px;
    height: 50px;
  }

  .features-6 .feature-card .icon-box i {
    font-size: 24px;
  }

  .features-6 .feature-card h3 {
    font-size: 20px;
  }

  .features-6 .compliance-card h4 {
    font-size: 16px;
  }
}

/*--------------------------------------------------------------
# Features 7 Section
--------------------------------------------------------------*/
.features-7 .features-wrapper {
  display: grid;
  grid-template-columns: 3fr 5fr;
  gap: 30px;
}

@media (max-width: 991px) {
  .features-7 .features-wrapper {
    grid-template-columns: 1fr;
  }
}

.features-7 .features-sidebar .main-feature {
  background-color: var(--surface-color);
  border-radius: 15px;
  padding: 40px;
  height: 100%;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  /* --- INICIO: Estilos para la nueva lista de beneficios --- */
  /* --- FIN: Estilos para la nueva lista de beneficios --- */
}

.features-7 .features-sidebar .main-feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 30%));
}

.features-7 .features-sidebar .main-feature .feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.features-7 .features-sidebar .main-feature .feature-icon i {
  font-size: 32px;
  color: var(--accent-color);
}

.features-7 .features-sidebar .main-feature h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.features-7 .features-sidebar .main-feature .benefits-list {
  list-style: none;
  padding-left: 0;
  margin: 20px 0 25px 0;
  text-align: left;
}

.features-7 .features-sidebar .main-feature .benefits-list li {
  display: flex;
  align-items: center;
  padding-bottom: 10px;
  font-size: 16px;
  color: var(--default-color);
}

.features-7 .features-sidebar .main-feature .benefits-list li:last-child {
  padding-bottom: 0;
}

.features-7 .features-sidebar .main-feature .benefits-list li i {
  color: var(--accent-color);
  font-size: 20px;
  margin-right: 10px;
  line-height: 1;
}

.features-7 .features-sidebar .main-feature p {
  font-size: 16px;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 30px;
}

.features-7 .features-sidebar .main-feature .stats-row {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
}

.features-7 .features-sidebar .main-feature .stats-row .stat-item {
  display: flex;
  flex-direction: column;
}

.features-7 .features-sidebar .main-feature .stats-row .stat-item .stat-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent-color);
}

.features-7 .features-sidebar .main-feature .stats-row .stat-item .stat-label {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.features-7 .features-sidebar .main-feature .btn-learn {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 8px;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
}

.features-7 .features-sidebar .main-feature .btn-learn i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.features-7 .features-sidebar .main-feature .btn-learn:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.features-7 .features-sidebar .main-feature .btn-learn:hover i {
  transform: translateX(5px);
}

.features-7 .features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 767px) {
  .features-7 .features-grid {
    grid-template-columns: 1fr;
  }
}

.features-7 .features-grid .feature-box {
  background-color: var(--surface-color);
  border-radius: 12px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.features-7 .features-grid .feature-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
}

.features-7 .features-grid .feature-box .feature-content i {
  font-size: 28px;
  color: var(--accent-color);
  margin-bottom: 15px;
  display: block;
}

.features-7 .features-grid .feature-box .feature-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.features-7 .features-grid .feature-box .feature-content p {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  line-height: 1.5;
  margin-bottom: 20px;
}

.features-7 .features-grid .feature-box .feature-status {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 500;
  align-self: flex-start;
}

.features-7 .features-grid .feature-box .feature-status i {
  margin-right: 5px;
}

.features-7 .features-grid .feature-box .feature-status.compliant {
  background-color: rgba(25, 135, 84, 0.1);
  color: #198754;
}

.features-7 .features-grid .feature-box .feature-status.in-progress {
  background-color: rgba(13, 110, 253, 0.1);
  color: #0d6efd;
}

.features-7 .features-grid .feature-box .feature-status.planned {
  background-color: rgba(108, 117, 125, 0.1);
  color: #6c757d;
}

@media (max-width: 1199px) {
  .features-7 .features-sidebar .main-feature {
    padding: 30px;
  }

  .features-7 .features-sidebar .main-feature h2 {
    font-size: 24px;
  }

  .features-7 .features-sidebar .main-feature .stats-row {
    gap: 20px;
  }

  .features-7 .features-sidebar .main-feature .stats-row .stat-item .stat-number {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .features-7 .features-sidebar .main-feature .feature-icon {
    width: 60px;
    height: 60px;
  }

  .features-7 .features-sidebar .main-feature .feature-icon i {
    font-size: 28px;
  }

  .features-7 .features-sidebar .main-feature .stats-row {
    flex-wrap: wrap;
  }

  .features-7 .features-grid .feature-box {
    padding: 20px;
  }
}

/*--------------------------------------------------------------
# Features 8 Section
--------------------------------------------------------------*/
.features-8 .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.features-8 .feature-card {
  position: relative;
  background: var(--surface-color);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  overflow: hidden;
  z-index: 1;
}

.features-8 .feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px color-mix(in srgb, var(--accent-color), transparent 85%);
}

.features-8 .feature-card:hover .feature-overlay {
  opacity: 1;
}

.features-8 .feature-card:hover .feature-number {
  color: var(--contrast-color);
}

.features-8 .feature-card:hover .feature-icon i {
  color: var(--contrast-color);
  transform: scale(1.1);
}

.features-8 .feature-card:hover h3 {
  color: var(--contrast-color);
}

.features-8 .feature-card:hover p {
  color: color-mix(in srgb, var(--contrast-color), transparent 20%);
}

.features-8 .feature-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), var(--heading-color) 30%));
  opacity: 0;
  transition: all 0.3s ease;
  z-index: -1;
  border-radius: 20px;
}

.features-8 .feature-number {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 48px;
  font-weight: 900;
  color: color-mix(in srgb, var(--default-color), transparent 95%);
  font-family: var(--heading-font);
  transition: all 0.3s ease;
  line-height: 1;
}

.features-8 .feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  transition: all 0.3s ease;
}

.features-8 .feature-icon i {
  font-size: 32px;
  color: var(--accent-color);
  transition: all 0.3s ease;
}

.features-8 h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--heading-color);
  transition: all 0.3s ease;
}

.features-8 p {
  font-size: 15px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 0;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .features-8 .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .features-8 .feature-card {
    padding: 30px 25px;
  }

  .features-8 .feature-number {
    font-size: 36px;
    top: 15px;
    right: 20px;
  }

  .features-8 .feature-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
  }

  .features-8 .feature-icon i {
    font-size: 28px;
  }

  .features-8 h4 {
    font-size: 20px;
  }

  .features-8 p {
    font-size: 14px;
  }
}

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

  .features-8 .feature-card {
    padding: 25px 20px;
  }
}

/*--------------------------------------------------------------
# Features 9 Section
--------------------------------------------------------------*/
.features-9 .feature-item {
  padding: 5rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.features-9 .feature-item:first-child {
  padding-top: 2rem;
}

.features-9 .feature-item:last-child {
  border-bottom: none;
  padding-bottom: 2rem;
}

.features-9 .feature-content {
  padding-right: 3rem;
}

.order-lg-2 .features-9 .feature-content {
  padding-right: 0;
  padding-left: 3rem;
}

.features-9 .feature-content .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(45deg, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 30%));
  color: var(--contrast-color);
  border-radius: 1rem;
  margin-bottom: 1.5rem;
}

.features-9 .feature-content .icon i {
  font-size: 1.5rem;
}

.features-9 .feature-content h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.features-9 .feature-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 2rem;
}

.features-9 .feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-9 .feature-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--heading-color);
}

.features-9 .feature-list li i {
  color: var(--accent-color);
  font-size: 1.25rem;
}

.features-9 .feature-list li:last-child {
  margin-bottom: 0;
}

.features-9 .feature-image {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 40px color-mix(in srgb, var(--default-color), transparent 90%);
}

.features-9 .feature-image img {
  width: 100%;
  transition: transform 0.6s ease;
}

.features-9 .feature-image:hover img {
  transform: scale(1.05);
}

@media (max-width: 991px) {
  .features-9 .feature-item {
    padding: 3rem 0;
  }

  .features-9 .feature-content {
    padding: 0 0 2rem 0;
    text-align: center;
  }

  .order-lg-2 .features-9 .feature-content {
    padding: 0 0 2rem 0;
  }

  .features-9 .feature-content h3 {
    font-size: 1.75rem;
  }

  .features-9 .feature-content .icon {
    margin: 0 auto 1.5rem;
  }

  .features-9 .feature-list li {
    justify-content: center;
  }

  .features-9 .feature-image {
    margin: 0 auto;
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .features-9 .feature-item {
    padding: 2.5rem 0;
  }

  .features-9 .feature-content h3 {
    font-size: 1.5rem;
  }

  .features-9 .feature-content p {
    font-size: 1rem;
  }

  .features-9 .feature-list li {
    font-size: 1rem;
  }
}

.privacypolicy {
  background-color: var(--surface-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);

  .post-img {
    position: relative;
    height: 600px;
    overflow: hidden;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    @media (max-width: 768px) {
      height: 300px;
    }
  }

  .article-content {
    padding: 2rem;

    @media (max-width: 768px) {
      padding: 1.5rem;
    }
  }

  .meta-categories {
    margin-bottom: 1rem;

    .category, .reading-time {
      display: inline-flex;
      align-items: center;
      margin-right: 1rem;
      font-size: 0.9rem;
      color: var(--heading-color);

      i {
        margin-right: 0.5rem;
        font-size: 1rem;
      }
    }
  }

  .title {
    font-size: 2.5rem;
    line-height: 1.3;
    margin: 1rem 0 1.5rem;
    color: var(--heading-color);
    font-family: var(--heading-font);

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

  .meta-top {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);

    ul {
      padding: 0;
      margin: 0;
      list-style: none;
      display: flex;
      flex-wrap: wrap;
      gap: 1.5rem;

      li {
        display: flex;
        align-items: center;
        color: color-mix(in srgb, var(--default-color), transparent 30%);

        i {
          margin-right: 0.5rem;
          font-size: 1.1rem;
        }

        .author-img {
          width: 30px;
          height: 30px;
          border-radius: 50%;
          margin-right: 0.5rem;
        }

        a {
          color: var(--heading-color);
          
          &:hover {
            color: var(--accent-color);
          }
        }
      }
    }
  }

  .content {
    font-size: 1.1rem;
    line-height: 1.8;

    .lead {
      font-size: 1.25rem;
      font-weight: 500;
      color: var(--heading-color);
      margin-bottom: 1.5rem;
    }

    h2 {
      font-size: 1.8rem;
      margin: 2.5rem 0 1rem;
      color: var(--heading-color);
    }

    p {
      margin-bottom: 1.5rem;
    }

    ul {
      margin-bottom: 2rem;
      padding-left: 1.5rem;

      li {
        margin-bottom: 0.5rem;
      }
    }

    .content-image {
      margin: 2rem 0;

      img {
        width: 100%;
        border-radius: 8px;
      }

      figcaption {
        text-align: center;
        margin-top: 0.75rem;
        font-size: 0.9rem;
        color: color-mix(in srgb, var(--default-color), transparent 30%);
      }
    }

    .content-image-split {
      margin: 2rem 0;

      img {
        border-radius: 8px;
      }
    }

    blockquote {
      background: color-mix(in srgb, var(--accent-color), transparent 95%);
      border-left: 4px solid var(--accent-color);
      padding: 2rem;
      margin: 2rem 0;
      border-radius: 0 8px 8px 0;

      p {
        font-size: 1.2rem;
        font-style: italic;
        color: var(--heading-color);
        margin: 0 0 1rem;
      }

      cite {
        font-size: 0.9rem;
        color: color-mix(in srgb, var(--default-color), transparent 30%);
        font-style: normal;
        display: block;

        &:before {
          content: "— ";
        }
      }
    }
  }

  .meta-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;

    .article-tags {
      display: flex;
      align-items: center;

      i {
        margin-right: 0.5rem;
        color: color-mix(in srgb, var(--default-color), transparent 30%);
      }

      .tags {
        padding: 0;
        margin: 0;
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;

        li {
          a {
            display: inline-block;
            padding: 0.25rem 0.75rem;
            font-size: 0.9rem;
            background: color-mix(in srgb, var(--accent-color), transparent 90%);
            color: var(--accent-color);
            border-radius: 20px;
            transition: all 0.3s ease;

            &:hover {
              background: var(--accent-color);
              color: var(--contrast-color);
            }
          }
        }
      }
    }

    .article-share {
      display: flex;
      align-items: center;
      gap: 1rem;

      span {
        color: color-mix(in srgb, var(--default-color), transparent 30%);
      }

      a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: color-mix(in srgb, var(--accent-color), transparent 90%);
        color: var(--accent-color);
        transition: all 0.3s ease;

        &:hover {
          background: var(--accent-color);
          color: var(--contrast-color);
        }

        i {
          font-size: 1rem;
        }
      }
    }
  }
}

/*--------------------------------------------------------------
# WhatsApp Float Button
--------------------------------------------------------------*/
.whatsapp-float {
  position: fixed; /* <-- La propiedad clave para que flote */
  width: 60px;
  height: 60px;
  bottom: 60px; /* Distancia desde abajo */
  right: 10px; 
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000; /* Asegura que esté por encima de otros elementos */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-in-out;
  animation: pulse 2s infinite;
  text-decoration: none;
}

.whatsapp-float i {
  color: #fff; /* Asegura que el icono dentro sea blanco */
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.3);
  animation-play-state: paused;
  color: #fff;
}

/* Animación de pulso (si no la tienes ya, añádela) */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/*--------------------------------------------------------------
# Features Section - Estilos para las nuevas Wave Cards
--------------------------------------------------------------*/
.features .feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

@media (max-width: 768px) {
  .features .feature-grid {
    grid-template-columns: 1fr;
  }
}

.wave-card {
  width: 100%;
  height: 100%;
  background: var(--surface-color);
  border-radius: 10px;
  padding: 50px 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
  cursor: pointer;
  transition: all 0.4s ease-in-out;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  text-align: left; /* Alineación del texto a la izquierda */
}

.wave-card__icon,
.wave-card__heading,
.wave-card__content {
  position: relative;
  z-index: 5;
  transition: all 0.5s ease;
}

.wave-card__icon {
  margin-bottom: 20px;
}

.wave-card__icon i {
  font-size: 40px;
  color: var(--accent-color);
  transition: color 0.5s;
}

.wave-card__heading {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--heading-color);
}

.wave-card__content {
  font-size: 15px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

.wave-card__number {
  position: absolute;
  top: -90px;
  right: -85px;
  padding: 80px 100px 30px 30px;
  background: var(--accent-color);
  border-radius: 100%;
  z-index: 2; /* Un poco por debajo del texto */
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.wave-card__number .text {
  font-size: 28px;
  font-weight: 700;
  color: var(--contrast-color);
  margin-top: 20px;
  opacity: 0.6;
}

.wave-card__number::after {
  content: "";
  width: 50px;
  height: 50px;
  background: var(--accent-color);
  position: absolute;
  border-radius: 100%;
  top: 50%;
  right: 50%;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  transform: translateX(50%) translateY(-50%);
  z-index: -1;
}

.wave-card:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-color);
}

.wave-card:hover .wave-card__number::after {
  width: 900px;
  height: 900px;
}

.wave-card:hover .wave-card__icon i,
.wave-card:hover .wave-card__heading,
.wave-card:hover .wave-card__content {
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Benefits Card Style (Improved)
--------------------------------------------------------------*/
.benefits-card {
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.benefits-card-header h3 {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.benefits-card-header p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 0;
}

.benefits-list {
  margin-top: 25px;
  position: relative;
  flex-grow: 1; /* Empuja el footer hacia abajo */
}

.benefits-list::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 17px;
  bottom: 15px;
  width: 2px;
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
}

.benefit-item {
  display: flex;
  align-items: center; /* Centra verticalmente icono y texto */
  position: relative;
  margin-bottom: 20px;
}

.benefit-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 15px;
}

.benefit-icon i {
  color: var(--accent-color);
  font-size: 18px;
}

.benefit-text h4 {
  font-size: 1rem;
  font-weight: 500; /* Reducido para que no sea tan pesado como el título principal */
  line-height: 1.4;
  margin: 0;
}

.benefits-card-footer {
  margin-top: 25px;
  text-align: center;
}

/* Estilos de tu botón para que se vea idéntico */
.benefits-card .cta-btn {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 500;
  box-shadow: 0 6px 22px color-mix(in srgb, var(--accent-color), transparent 70%);
  transition: 0.3s;
}

.benefits-card .cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--accent-color), transparent 60%);
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Service Details - Single Column Layout Styles (For LMS page, etc.)
--------------------------------------------------------------*/

/* Adapta el header principal del servicio al estilo de título centrado */
.service-details .service-content .service-header {
  text-align: center;
  padding-bottom: 40px;
  border-bottom: none; /* Quitamos el borde para un look más limpio */
}

.service-details .service-content .service-header h2 {
  font-size: 32px;
  font-weight: 700;
  position: relative;
  display: inline-block; /* Para que las líneas se ajusten al texto */
}

/* Líneas decorativas para el título */
.service-details .service-content .service-header h2:before,
.service-details .service-content .service-header h2:after {
  content: "";
  width: 50px;
  height: 2px;
  background: var(--accent-color);
  display: inline-block;
  vertical-align: middle;
}

.service-details .service-content .service-header h2:before {
  margin-right: 15px;
}

.service-details .service-content .service-header h2:after {
  margin-left: 15px;
}

.service-details .service-content .service-header .service-intro {
  margin: 15px auto 0;
  max-width: 800px;
}

/* Estilos para la lista de beneficios para que se vea como en el sidebar */
.service-details .info-list {
  background: var(--surface-color);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.service-details .info-list li {
  display: flex;
  align-items: flex-start;
  padding: 10px 0;
  color: var(--default-color);
}

.service-details .info-list li:first-child {
  padding-top: 0;
}

.service-details .info-list li i {
  color: var(--accent-color);
  margin-right: 12px;
  font-size: 18px;
  line-height: 1;
  margin-top: 3px;
}

/* Estilos para la tarjeta de contacto para que se vea como en el sidebar */
.service-details .contact-card {
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #000 20%));
  padding: 30px;
  border-radius: 10px;
  color: var(--contrast-color);
}

.service-details .contact-card h4 {
  color: var(--surface-color);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
}

.service-details .contact-card p {
  opacity: 0.9;
  margin-bottom: 20px;
  font-size: 15px;
  color: var(--surface-color); /* Asegura el color correcto del texto */
}

.service-details .contact-card .btn {
  background: var(--contrast-color);
  color: var(--surface-color);
  border: none;
  padding: 12px 25px;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.3s ease;
  width: 100%;
  text-align: center;
}

.service-details .contact-card .btn:hover {
  background: color-mix(in srgb, var(--contrast-color), transparent 10%);
  transform: translateY(-2px);
}

/*--------------------------------------------------------------
# Service Details - Beneficios y CTA Mejorados (LMS Page)
--------------------------------------------------------------*/


/*--------------------------------------------------------------
# LMS Benefits & CTA Section (Premium Design)
--------------------------------------------------------------*/
.lms-benefits-cta {
  padding: 80px 0;
}

.benefits-content h3 {
  font-size: 32px;
  font-weight: 700;
  color: var(--heading-color);
}

.benefits-list-modern {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
}

.benefit-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-3px);
  border-color: var(--accent-color);
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
}

.benefit-item i {
  color: var(--accent-color);
}

.cta-showcase-wrapper {
  position: relative;
}

.cta-image img {
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
}

.cta-showcase-wrapper:hover .cta-image img {
  transform: scale(1.03);
}

.lms-benefits-cta .contact-card {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 80%;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lms-benefits-cta .contact-card:hover {
  transform: translateY(-5px);
}

.lms-benefits-cta .contact-card h4 {
  color: var(--heading-color);
}

.lms-benefits-cta .contact-card p {
  color: color-mix(in srgb, var(--heading-color), transparent 25%);
  margin-bottom: 20px;
}

.lms-benefits-cta .contact-card .btn {
  background: var(--heading-color);
  color: var(--background-color);
  border-radius: 50px;
  padding: 10px 25px;
  font-weight: 600;
}

.lms-benefits-cta .contact-card .btn:hover {
  background: color-mix(in srgb, var(--heading-color), black 15%);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .lms-benefits-cta .contact-card {
    position: static;
    margin-top: 25px;
    width: 100%;
    background: var(--surface-color);
    backdrop-filter: none;
  }
}
