/**
* Template Name: Vlava
* Template URL: https://bootstrapmade.com/vlava-free-bootstrap-one-page-template/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway",  sans-serif;
  --nav-font: "Poppins",  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: #212529; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #052c3f; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #032844; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #ffffff;  /* The default color of the main navmenu links */
  --nav-hover-color: #85b0be; /* 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: #212529; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #85b0be; /* 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: #f7f9fb;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #04253d;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #07426d;
  --contrast-color: #ffffff;
}

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

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

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

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

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

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

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

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

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

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

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

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(255, 255, 255, 0);
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
  margin-left: 0 !important;
  padding-left: 0 !important;
  justify-content: flex-start !important;
}
.header .container-fluid, .header .container-xl {
  padding-left: 0 !important;
}

.header .logo img {
  height: 90px !important;
  width: auto !important;
  max-width: 220px;
  object-fit: contain;
  transition: all 0.3s;
}
@media (max-width: 767px) {
  .logo img {
    height: 60px !important;
    max-width: 140px;
  }
}

.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: rgba(24, 58, 73, 0.85);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@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 a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 400;
    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;
    transition: 0.3s;
  }

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

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

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

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

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

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

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

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

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

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

/* Navmenu - Mobile */
@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);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .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);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

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

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

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

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

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

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

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background: url(../img/footer-bg.jpg) center no-repeat;
  background-size: cover;
  font-size: 14px;
  text-align: center;
  padding: 30px 0;
  position: relative;
}

.footer:after {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
}

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

.footer h3 {
  font-size: 36px;
  font-weight: 700;
  position: relative;
  padding: 0;
  margin: 0 0 15px 0;
}

.footer p {
  font-size: 15;
  font-style: italic;
  padding: 0;
  margin: 0 0 30px 0;
}

.footer .social-links {
  margin: 0 0 30px 0;
}

.footer .social-links a {
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: var(--contrast-color);
  line-height: 1;
  margin: 0 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  text-decoration: none;
}

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

.footer .credits {
  font-size: 13px;
  padding-top: 5px;
}

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

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

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

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  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;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 160px 0 80px 0;
  text-align: center;
  position: relative;
}

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

.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 70%);
}

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

@media (max-width: 1199px) {

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

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

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
}

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

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 70vh;
  position: relative;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

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

.hero h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero p {
  margin: 10px 0 0 0;
  font-size: 24px;
  color: var(--heading-color);
}

.hero .btn-get-started {
  color: var(--default-color);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 40px;
  margin: 30px 0 0 0;
  border-radius: 4px;
  transition: 0.5s;
  border: 2px solid var(--accent-color);
}

.hero .btn-get-started:hover {
  color: var(--contrast-color);
  background: var(--accent-color);
  border-color: var(--accent-color);
}

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

  .hero p {
    font-size: 18px;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h3 {
  font-weight: 700;
  font-size: 34px;
  margin-bottom: 30px;
}

.about .content p {
  margin-bottom: 30px;
}

.about .content .about-btn {
  padding: 8px 30px 9px 30px;
  color: var(--accent-color);
  border-radius: 50px;
  transition: 0.3s;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--accent-color);
}

.about .content .about-btn i {
  font-size: 16px;
  padding-left: 5px;
}

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

/* Fondo azul degradado para la sección About */
.about.section {
    /* background: none; */
}

/* Icon-box y efectos en azul */
.about .icon-box {
    background: rgba(255,255,255,0.13);
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(25,118,210,0.10), 0 1.5px 8px rgba(10,34,87,0.08);
    backdrop-filter: blur(7px) saturate(120%);
    -webkit-backdrop-filter: blur(7px) saturate(120%);
    border: 2.5px solid rgba(25,118,210,0.13);
    transition: 
        box-shadow 0.4s cubic-bezier(0.25,0.46,0.45,0.94), 
        transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94), 
        background 0.4s, 
        border 0.4s;
    cursor: pointer;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.about .icon-box:hover {
    box-shadow: 0 12px 40px 0 rgba(25,118,210,0.22), 0 2px 8px rgba(10,34,87,0.08);
    transform: translateY(-12px) scale(1.07) rotateZ(-1deg);
    background: rgba(25,118,210,0.18);
    border: 2.5px solid #1976d2;
    animation: pulseBorder 0.7s;
}
@keyframes pulseBorder {
    0% { border-color: #1976d2; }
    50% { border-color: #64b5f6; }
    100% { border-color: #1976d2; }
}
.about .icon-box::before {
    content: '';
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle, rgba(25,118,210,0.18) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s, transform 0.4s;
    z-index: 0;
}
.about .icon-box:hover::before {
    opacity: 1;
    transform: scale(1.1);
}
.about .icon-box::after {
    content: '';
    position: absolute;
    left: 10%;
    top: 10%;
    width: 80%;
    height: 80%;
    pointer-events: none;
    background: radial-gradient(circle at 30% 30%, rgba(25,118,210,0.10) 0%, transparent 70%),
                radial-gradient(circle at 70% 70%, rgba(255,255,255,0.10) 0%, transparent 80%);
    opacity: 0.7;
    z-index: 0;
    animation: particlesMove 3.5s infinite alternate;
}
@keyframes particlesMove {
    0% { background-position: 30% 30%, 70% 70%; }
    100% { background-position: 40% 40%, 60% 60%; }
}
.about .icon-box i {
    font-size: 2.7rem;
    color: #1976d2;
    transition: 
        color 0.3s, 
        text-shadow 0.3s, 
        transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
    text-shadow: 0 2px 8px rgba(10,34,87,0.10);
    z-index: 1;
    position: relative;
    display: inline-block;
    will-change: transform;
}
.about .icon-box:hover i {
    color: #0a2257;
    text-shadow: 0 4px 16px rgba(25,118,210,0.18);
    transform: rotateY(18deg) scale(1.13) translateY(-6px);
    animation: bounceIcon 0.7s;
}
@keyframes bounceIcon {
    0%   { transform: scale(1);}
    30%  { transform: scale(1.18) translateY(-8px);}
    50%  { transform: scale(0.95);}
    70%  { transform: scale(1.08) translateY(-4px);}
    100% { transform: scale(1);}
}
.about .icon-box h4 {
    transition: color 0.3s;
    z-index: 1;
    position: relative;
}
.about .icon-box:hover h4 {
    color: #1976d2;
}

.about .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px 0;
}

.about .icon-box h4 a {
  color: var(--heading-color);
  transition: 0.3s;
}

.about .icon-box p {
  text-align: justify !important;
  text-align-last: left !important;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 0;
}

.about .icon-box:hover h4 a {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.stats .stats-item i {
  color: var(--accent-color);
  font-size: 42px;
  line-height: 0;
  margin-right: 20px;
}

.stats .stats-item span {
  color: var(--heading-color);
  font-size: 36px;
  display: block;
  font-weight: 600;
}

.stats .stats-item p {
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 16px;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  position: relative;
}

.services .service-item .icon {
  background: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  transition: 0.5s;
  border: 1px solid var(--accent-color);
  margin-right: 20px;
}

.services .service-item .icon i {
  color: var(--contrast-color);
  font-size: 24px;
  line-height: 0;
}

.services .service-item:hover .icon {
  background: var(--surface-color);
}

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

.services .service-item .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

.services .service-item .title a {
  color: var(--heading-color);
}

.services .service-item .title a:hover {
  color: var(--accent-color);
}

.services .service-item .description {
  line-height: 24px;
  font-size: 14px;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials {
  padding: 80px 0;
  position: relative;
  background: transparent !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

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

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

.testimonials .container {
  position: relative;
  z-index: 3;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  text-align: center;
}

.testimonials .testimonial-item .testimonial-img {
  width: 180px;
  border-radius: 50%;
  border: 6px solid color-mix(in srgb, var(--default-color), transparent 85%);
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  margin: 0 0 15px 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.testimonials .testimonial-item .stars {
  margin-bottom: 15px;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 auto 15px auto;
}

.testimonials .swiper-wrapper {
  height: auto;
}

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

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

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--default-color);
  opacity: 1;
}

@media (min-width: 992px) {
  .testimonials .testimonial-item p {
    width: 80%;
  }
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 18px;
  font-weight: 400;
  margin: 0 10px;
  line-height: 1;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 5px;
  }
}

.portfolio .portfolio-content {
  position: relative;
  overflow: hidden;
}

.portfolio .portfolio-content img {
  transition: 0.3s;
}

.portfolio .portfolio-content .portfolio-info {
  opacity: 0;
  position: absolute;
  inset: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  background: rgba(0, 0, 0, 0.6);
  padding: 15px;
}

.portfolio .portfolio-content .portfolio-info h4 {
  font-size: 14px;
  padding: 5px 10px;
  font-weight: 400;
  color: #ffffff;
  display: inline-block;
  background-color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info p {
  position: absolute;
  bottom: 10px;
  text-align: center;
  display: inline-block;
  left: 0;
  right: 0;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.portfolio .portfolio-content .portfolio-info .preview-link,
.portfolio .portfolio-content .portfolio-info .details-link {
  position: absolute;
  left: calc(50% - 40px);
  font-size: 26px;
  top: calc(50% - 14px);
  color: #fff;
  transition: 0.3s;
  line-height: 1.2;
}

.portfolio .portfolio-content .portfolio-info .preview-link:hover,
.portfolio .portfolio-content .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info .details-link {
  left: 50%;
  font-size: 34px;
  line-height: 0;
}

.portfolio .portfolio-content:hover .portfolio-info {
  opacity: 1;
}

.portfolio .portfolio-content:hover img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .team-member {
  background-color: var(--surface-color);
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.team .team-member .member-img {
  position: relative;
  overflow: hidden;
}

.team .team-member .social {
  position: absolute;
  left: 0;
  bottom: 30px;
  right: 0;
  opacity: 0;
  transition: ease-in-out 0.3s;
  text-align: center;
}

.team .team-member .social a {
  background: color-mix(in srgb, var(--contrast-color), transparent 25%);
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0 3px;
  border-radius: 4px;
  width: 36px;
  height: 36px;
  transition: ease-in-out 0.3s;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.team .team-member .social a:hover {
  color: var(--contrast-color);
  background: var(--accent-color);
}

.team .team-member .social i {
  font-size: 18px;
  line-height: 0;
}

.team .team-member .member-info {
  padding: 25px 15px;
}

.team .team-member .member-info h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 18px;
}

.team .team-member .member-info span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.team .team-member:hover .social {
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-item {
  background-color: color-mix(in srgb, var(--accent-color), transparent 96%);
  padding: 40px 40px;
  height: 100%;
  border-radius: 15px;
}

.pricing h3 {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 20px;
}

.pricing h4 {
  color: var(--accent-color);
  font-size: 48px;
  font-weight: 700;
  font-family: var(--heading-font);
  margin-bottom: 0;
}

.pricing h4 sup {
  font-size: 28px;
}

.pricing h4 span {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 18px;
  font-weight: 500;
}

.pricing .description {
  font-size: 14px;
}

.pricing .cta-btn {
  border: 1px solid var(--default-color);
  color: var(--default-color);
  display: block;
  text-align: center;
  padding: 10px 35px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--heading-font);
  transition: 0.3s;
  margin-top: 20px;
  margin-bottom: 6px;
}

.pricing .cta-btn:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
}

.pricing ul {
  padding: 0;
  list-style: none;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  text-align: left;
  line-height: 20px;
}

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

.pricing ul li:last-child {
  padding-bottom: 0;
}

.pricing ul i {
  color: #059652;
  font-size: 24px;
  padding-right: 3px;
}

.pricing ul .na {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.pricing ul .na i {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.pricing ul .na span {
  text-decoration: line-through;
}

.pricing .featured {
  position: relative;
}

.pricing .featured .popular {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 4px 15px 6px 15px;
  margin: 0;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
}

.pricing .featured .cta-btn {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
}

@media (max-width: 992px) {
  .pricing .box {
    max-width: 60%;
    margin: 0 auto 30px auto;
  }
}

@media (max-width: 767px) {
  .pricing .box {
    max-width: 80%;
    margin: 0 auto 30px auto;
  }
}

@media (max-width: 420px) {
  .pricing .box {
    max-width: 100%;
    margin: 0 auto 30px auto;
  }
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .faq-container {
  margin-top: 15px;
}

.faq .faq-container .faq-item {
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  position: relative;
  padding: 20px;
  margin-bottom: 20px;
  overflow: hidden;
  transition: 0.3s;
}

.faq .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.faq .faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  margin: 0 30px 0 32px;
  transition: 0.3s;
  cursor: pointer;
}

.faq .faq-container .faq-item h3 span {
  color: var(--accent-color);
  padding-right: 5px;
}

.faq .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}

.faq .faq-container .faq-item .faq-icon {
  position: absolute;
  top: 22px;
  left: 20px;
  font-size: 20px;
  line-height: 0;
  transition: 0.3s;
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}

.faq .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-active {
  background-color: var(--accent-color);
  transition: 0.3s;
}

.faq .faq-container .faq-active h3,
.faq .faq-container .faq-active h3:hover,
.faq .faq-container .faq-active .faq-toggle,
.faq .faq-container .faq-active .faq-icon,
.faq .faq-container .faq-active .faq-content {
  color: var(--contrast-color);
}

.faq .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.faq .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-wrap {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin-bottom: 30px;
}

.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  width: 56px;
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease-in-out;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 40%);
  margin-right: 15px;
}

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

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

.contact .info-item:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.contact .php-email-form {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

@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 {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

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

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

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

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

.portfolio-details .portfolio-info {
  background-color: var(--surface-color);
  padding: 30px;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
  background-color: var(--surface-color);
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}

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

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

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

/* Botón flotante de WhatsApp */
.whatsapp-float {
  position: fixed;
  width: 70px;
  height: 70px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 44px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s;
}
.whatsapp-float:hover {
  background-color: #128c7e;
  color: #fff;
  transform: scale(1.08);
}

/* Modal de CV */
.modal-content {
  border-radius: 15px;
}
.modal-header {
  border-bottom: 1px solid #eee;
}
.modal-footer {
  border-top: 1px solid #eee;
}

/* Logos de empresas interactivos */
.logo-empresa {
  max-width: 100%;
  height: 80px;
  object-fit: contain;
  transition: transform 0.3s cubic-bezier(.4,2,.6,1), box-shadow 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-radius: 10px;
  background: #fff;
  padding: 10px;
}
.logo-empresa:hover {
  transform: scale(1.18) rotate(-2deg);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  z-index: 2;
}

/* Logos de empresas ovalados horizontalmente y más pequeños */
.logo-empresa-circular {
  width: 8rem !important;
  height: 3.2rem !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 auto 12px auto;
  display: block;
  transition: transform 0.3s cubic-bezier(.4,2,.6,1), box-shadow 0.3s, border 0.3s;
}
.logo-empresa-circular:hover {
  transform: scale(1.12) rotate(-2deg);
}
@media (max-width: 575px) {
  .logo-empresa-circular {
    width: 10rem !important;
    height: 3.8rem !important;
    object-fit: contain !important;
    padding: 0 !important;
  }
}

.justificado {
  text-align: justify !important;
  text-justify: inter-word;
  line-height: 1.6;
  letter-spacing: 0.2px;
}


.no-link {
  color: #222;
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 10px;
  display: block;
  /* Puedes ajustar estos estilos según el diseño original */
}

/*--------------------------------------------------------------
# Service Cards - New Modern Design
--------------------------------------------------------------*/
.service-card {
  background: var(--surface-color);
  border-radius: 20px;
  padding: 2rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(133, 176, 190, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--accent-color) 0%, #5a8a9a 100%);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(133, 176, 190, 0.3);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  position: relative;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-color) 0%, #5a8a9a 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.service-icon i {
  font-size: 1.5rem;
  color: white;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 20px rgba(133, 176, 190, 0.3);
}

.service-number {
  font-size: 3rem;
  font-weight: 700;
  color: rgba(133, 176, 190, 0.1);
  line-height: 1;
  font-family: var(--heading-font);
  transition: all 0.3s ease;
}

.service-card:hover .service-number {
  color: rgba(133, 176, 190, 0.2);
  transform: scale(1.1);
}

.service-card-body {
  margin-bottom: 1.5rem;
}

.service-card-body h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 1rem;
  line-height: 1.3;
  transition: all 0.3s ease;
}

.service-card:hover .service-card-body h4 {
  color: var(--accent-color);
}

.service-card-body p {
  color: var(--default-color);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.feature-tag {
  background: linear-gradient(135deg, rgba(133, 176, 190, 0.1) 0%, rgba(90, 138, 154, 0.1) 100%);
  color: var(--accent-color);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid rgba(133, 176, 190, 0.2);
  transition: all 0.3s ease;
}

.service-card:hover .feature-tag {
  background: linear-gradient(135deg, var(--accent-color) 0%, #5a8a9a 100%);
  color: white;
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

.service-card-footer {
  margin-top: auto;
}

.service-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-color);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
  position: relative;
}

.service-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, var(--accent-color) 0%, #5a8a9a 100%);
  transition: width 0.3s ease;
}

.service-btn:hover {
  color: #5a8a9a;
  text-decoration: none;
}

.service-btn:hover::after {
  width: 100%;
}

.service-btn i {
  transition: transform 0.3s ease;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .service-card {
    padding: 1.5rem;
  }
  
  .service-icon {
    width: 50px;
    height: 50px;
  }
  
  .service-icon i {
    font-size: 1.25rem;
  }
  
  .service-number {
    font-size: 2.5rem;
  }
  
  .service-card-body h4 {
    font-size: 1.1rem;
  }
}

/* Animation for cards on load */
.service-card {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*--------------------------------------------------------------
# Services Section - Updated
--------------------------------------------------------------*/
.services .service-item {
  background: var(--surface-color);
  border-radius: 20px;
  padding: 2rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(133, 176, 190, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.services .service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--accent-color) 0%, #5a8a9a 100%);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.services .service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(133, 176, 190, 0.3);
}

.services .service-item:hover::before {
  transform: scaleX(1);
}

.services .service-item .icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-color) 0%, #5a8a9a 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
}

.services .service-item .icon i {
  font-size: 1.5rem;
  color: white;
  transition: all 0.3s ease;
}

.services .service-item:hover .icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 20px rgba(133, 176, 190, 0.3);
}

.services .service-item .title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--heading-color);
  margin-bottom: 1rem;
  line-height: 1.3;
  transition: all 0.3s ease;
}

.services .service-item:hover .title {
  color: var(--accent-color);
}

.services .service-item .description {
  color: var(--default-color);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Responsive adjustments for old service items */
@media (max-width: 768px) {
  .services .service-item {
    padding: 1.5rem;
  }
  
  .services .service-item .icon {
    width: 50px;
    height: 50px;
  }
  
  .services .service-item .icon i {
    font-size: 1.25rem;
  }
  
  .services .service-item .title {
    font-size: 1.1rem;
  }
}

/* Ultra Premium Servicios Slider */
.services-slider-section {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  z-index: 1;
}
.services-slider-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  transition: background-image 0.7s cubic-bezier(.4,0,.2,1), transform 0.5s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
  filter: blur(0.5px) brightness(0.95);
}
.glass-card {
  background: rgba(3,40,68,0.22) !important;
  border-radius: 38px !important;
  box-shadow: 0 24px 96px 0 #03284455, 0 2px 32px #0a3a5c22 !important;
  backdrop-filter: blur(28px) saturate(1.7) brightness(1.08) !important;
  -webkit-backdrop-filter: blur(28px) saturate(1.7) brightness(1.08) !important;
  border: 2.5px solid;
  border-image: linear-gradient(120deg, #032844 60%, #0a3a5c 100%) 1;
  transition: box-shadow 0.3s, background 0.3s, border 0.3s;
}
.glass-card:hover, .glass-card.swiper-slide-active {
  background: rgba(3,40,68,0.32) !important;
  box-shadow: 0 32px 128px 0 #0a3a5c44, 0 8px 48px #03284433 !important;
  border-image: linear-gradient(120deg, #0a3a5c 0%, #032844 100%) 1;
  filter: brightness(1.12) saturate(1.2);
}
.service-slide-content {
  color: #fff;
  z-index: 2;
  position: relative;
  text-align: left;
}
.gradient-title {
  font-size: 2.7rem !important;
  line-height: 1.1;
  background: linear-gradient(90deg, #032844 0%, #0a3a5c 100%) !important;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  animation: gradient-move 3s linear infinite alternate;
  font-weight: 900;
  letter-spacing: -1px;
}
@keyframes gradient-move {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
.service-icon-animated {
  font-size: 5rem !important;
  margin-bottom: 2rem !important;
  color: #032844 !important;
  filter: drop-shadow(0 4px 24px #0a3a5c99);
  transition: color 0.3s, filter 0.3s, transform 0.4s cubic-bezier(.4,0,.2,1);
}
.service-slide:hover .service-icon-animated,
.swiper-slide-active .service-icon-animated {
  color: #0a3a5c !important;
  filter: drop-shadow(0 4px 32px #032844cc);
  transform: scale(1.18) rotate(-6deg);
}
.service-btn-glow {
  font-size: 1.3rem !important;
  padding: 1rem 2.8rem !important;
  border-radius: 32px !important;
  margin-top: 2rem !important;
  background: linear-gradient(90deg, #032844 0%, #0a3a5c 100%) !important;
  color: #fff !important;
  box-shadow: 0 4px 32px #032844cc, 0 0 0 0 #fff0;
  position: relative;
  overflow: hidden;
}
.service-btn-glow::after {
  content: '';
  position: absolute;
  left: -60%;
  top: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg,rgba(255,255,255,0.18) 0%,rgba(255,255,255,0.05) 100%);
  transform: skewX(-20deg);
  transition: left 0.7s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
  animation: shine-move 2.5s linear infinite;
}
@keyframes shine-move {
  0% { left: -60%; }
  100% { left: 120%; }
}
.service-btn-glow:hover {
  box-shadow: 0 8px 48px #0a3a5c, 0 0 16px 4px #fff6;
  background: linear-gradient(90deg, #0a3a5c 0%, #032844 100%) !important;
  color: #fff !important;
}
/* Tooltip */
.service-tooltip {
  position: fixed;
  background: rgba(30,50,70,0.98);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 2px 16px #0002;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.97;
  animation: fadeInTooltip 0.2s;
}
@keyframes fadeInTooltip {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 0.97; transform: translateY(0); }
}
/* Thumbnails */
.services-thumbnails {
  z-index: 3;
  position: relative;
  gap: 0.7rem;
}
.service-thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 14px;
  border: 2.5px solid #032844 !important;
  box-shadow: 0 2px 8px #0002;
  cursor: pointer;
  opacity: 0.7;
  transition: border 0.3s, opacity 0.3s, transform 0.3s;
}
.service-thumb:hover, .service-thumb.active {
  border: 2.5px solid #0a3a5c !important;
  opacity: 1;
  transform: scale(1.08);
  box-shadow: 0 0 12px #0a3a5c88;
  animation: thumb-glow 1.2s infinite alternate;
}
@keyframes thumb-glow {
  0% { box-shadow: 0 0 8px #0a3a5c44; }
  100% { box-shadow: 0 0 24px #0a3a5ccc; }
}

/* Animaciones de entrada */
.animate-in {
  opacity: 0;
  transform: translateY(40px);
}
.animate-in.animated {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: all 0.7s cubic-bezier(.4,0,.2,1);
}
/* Responsive avanzado */
@media (max-width: 991px) {
  .service-slide-content h3.gradient-title {
    font-size: 1.2rem;
  }
  .service-icon-animated {
    font-size: 2.2rem;
  }
  .service-thumb {
    width: 38px;
    height: 38px;
    border-radius: 8px;
  }
}
@media (max-width: 575px) {
  .services-slider-section {
    min-height: 320px;
  }
  .service-slide {
    min-height: 160px;
    padding: 1rem 0.5rem 0.8rem 0.5rem;
  }
  .service-slide-content h3.gradient-title {
    font-size: 1rem;
  }
  .service-icon-animated {
    font-size: 1.3rem;
  }
  .service-thumb {
    width: 28px;
    height: 28px;
    border-radius: 6px;
  }
}


.service-icon-animated {
  font-size: 5rem !important;
  margin-bottom: 2rem !important;
  filter: drop-shadow(0 4px 24px #8e6fffcc);
}
@media (max-width: 991px) {
  .service-icon-animated {
    font-size: 3rem !important;
    margin-bottom: 1.2rem !important;
  }
}
@media (max-width: 575px) {
  .service-icon-animated {
    font-size: 1.7rem !important;
    margin-bottom: 0.7rem !important;
  }
}
.gradient-title {
  font-size: 2.7rem !important;
  line-height: 1.1;
}
@media (max-width: 991px) {
  .gradient-title {
    font-size: 1.5rem !important;
  }
}
@media (max-width: 575px) {
  .gradient-title {
    font-size: 1.1rem !important;
  }
}
.service-btn-glow {
  font-size: 1.3rem !important;
  padding: 1rem 2.8rem !important;
  border-radius: 32px !important;
  margin-top: 2rem !important;
  box-shadow: 0 4px 32px #8e6fffcc, 0 0 0 0 #fff0;
  transition: box-shadow 0.3s, background 0.3s, filter 0.3s;
}
.service-btn-glow:hover {
  box-shadow: 0 8px 48px #8e6fff, 0 0 16px 4px #fff6;
  filter: brightness(1.1) saturate(1.2);
}
.glass-card {
  backdrop-filter: blur(22px) saturate(1.5) brightness(1.08) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.5) brightness(1.08) !important;
  background: rgba(255,255,255,0.18) !important;
  border: 2.5px solid rgba(255,255,255,0.22) !important;
  box-shadow: 0 16px 64px 0 #8e6fff33, 0 2px 32px #0002 !important;
  transition: box-shadow 0.3s, background 0.3s, border 0.3s;
}
.glass-card:hover, .glass-card.swiper-slide-active {
  background: rgba(255,255,255,0.28) !important;
  box-shadow: 0 24px 96px 0 #8e6fff66, 0 4px 48px #0003 !important;
  border: 2.5px solid #8e6fff !important;
  filter: brightness(1.12) saturate(1.2);
}
.service-slide-content p {
  font-size: 1.25rem !important;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  color: #fff;
  text-shadow: 0 2px 8px #03284499;
}
@media (max-width: 991px) {
  .service-slide-content p {
    font-size: 1rem !important;
  }
}
@media (max-width: 575px) {
  .service-slide-content p {
    font-size: 0.92rem !important;
  }
}

/* Sube las tarjetas del slider, menos espacio arriba */
.services-slider-section {
  padding-top: 0.2rem !important;
}
.services-swiper {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Cambia el color corporativo */
:root {
  --accent-color: #032844;
  --accent-color-2: #0a3a5c;
}
.gradient-title {
  background: linear-gradient(90deg, #032844 0%, #0a3a5c 100%) !important;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  animation: gradient-move 3s linear infinite alternate;
  font-weight: 900;
  letter-spacing: -1px;
}
.service-icon-animated {
  color: #032844 !important;
  filter: drop-shadow(0 4px 24px #0a3a5c99);
}
.service-slide:hover .service-icon-animated,
.swiper-slide-active .service-icon-animated {
  color: #0a3a5c !important;
}
.service-btn-glow {
  background: linear-gradient(90deg, #032844 0%, #0a3a5c 100%) !important;
  color: #fff !important;
  box-shadow: 0 4px 32px #032844cc, 0 0 0 0 #fff0;
}
.service-btn-glow:hover {
  box-shadow: 0 8px 48px #0a3a5c, 0 0 16px 4px #fff6;
  background: linear-gradient(90deg, #0a3a5c 0%, #032844 100%) !important;
  color: #fff !important;
}
.glass-card {
  border: 2.5px solid #0a3a5c55 !important;
  box-shadow: 0 16px 64px 0 #03284433, 0 2px 32px #0a3a5c22 !important;
}
.glass-card:hover, .glass-card.swiper-slide-active {
  border: 2.5px solid #0a3a5c !important;
  box-shadow: 0 24px 96px 0 #0a3a5c66, 0 4px 48px #03284433 !important;
}
.service-thumb.active, .service-thumb:hover {
  border: 2.5px solid #0a3a5c !important;
}

/* Nuevo diseño de tarjeta: vertical, larga, fondo sólido azul, sin borde */

.service-icon-animated {
  font-size: 4.5rem !important;
  margin-bottom: 1.8rem !important;
  color: #fff !important;
  filter: none !important;
  background: none !important;
  transition: all 0.4s ease !important;
  text-shadow: 0 0 20px rgba(255,255,255,0.5) !important;
}

/* Efecto especial para el icono de la tarjeta activa */
.service-slide.swiper-slide-active .service-icon-animated,
.glass-card.swiper-slide-active .service-icon-animated,
.service-slide.active-slide .service-icon-animated,
.glass-card.active-slide .service-icon-animated {
  font-size: 5rem !important;
  text-shadow: 0 0 30px rgba(255,255,255,0.8) !important;
  transform: scale(1.1) !important;
}
.gradient-title, .service-slide-content h3 {
  color: #fff !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: unset !important;
  background-clip: unset !important;
  text-fill-color: unset !important;
  font-size: 2.3rem !important;
  text-align: center;
  margin-bottom: 1.2rem;
  border-bottom: 2.5px solid #fff;
  display: inline-block;
  padding-bottom: 0.3rem;
  width: 100%;
}
.service-slide-content {
  align-items: flex-start;
  text-align: left;
  width: 100%;
}
.service-slide-content p {
  color: #fff !important;
  font-size: 1.18rem !important;
  font-weight: 400;
  margin-bottom: 2.2rem;
  text-shadow: none !important;
}
.service-btn-glow {
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%) !important;
  color: #032844 !important;
  border-radius: 25px !important;
  font-size: 1rem !important;
  font-weight: 700;
  padding: 0.8rem 2rem !important;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
  border: none !important;
  margin-top: 1.2rem !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  overflow: hidden !important;
  cursor: pointer !important;
}

/* Efecto de brillo en el botón */
.service-btn-glow::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent) !important;
  transition: left 0.5s !important;
}

.service-btn-glow:hover::before {
  left: 100% !important;
}

/* Efecto especial para el botón de la tarjeta activa */
.service-slide.swiper-slide-active .service-btn-glow,
.glass-card.swiper-slide-active .service-btn-glow,
.service-slide.active-slide .service-btn-glow,
.glass-card.active-slide .service-btn-glow {
  background: linear-gradient(135deg, #fff 0%, #e3f2fd 100%) !important;
  box-shadow: 0 12px 35px rgba(0,0,0,0.2) !important;
  transform: translateY(-2px) !important;
}
.service-btn-glow:hover {
  background: #e6e6e6 !important;
  color: #032844 !important;
}
@media (max-width: 991px) {  
  .service-icon-animated {
    font-size: 2.5rem !important;
    margin-bottom: 1.1rem !important;
  }
  .gradient-title, .service-slide-content h3 {
    font-size: 1.2rem !important;
    margin-bottom: 0.7rem;
    border-bottom-width: 2px;
  }
  .service-slide-content p {
    font-size: 0.98rem !important;
    margin-bottom: 1.2rem;
  }
  .service-btn-glow {
    font-size: 0.98rem !important;
    padding: 0.7rem 1.2rem !important;
    border-radius: 16px !important;
    margin-top: 1rem !important;
  }
}
@media (max-width: 575px) {
    .service-icon-animated {
    font-size: 1.3rem !important;
    margin-bottom: 0.5rem !important;
  }
  .gradient-title, .service-slide-content h3 {
    font-size: 0.95rem !important;
    margin-bottom: 0.3rem;
    border-bottom-width: 1.5px;
  }
  .service-slide-content p {
    font-size: 0.85rem !important;
    margin-bottom: 0.7rem;
  }
  .service-btn-glow {
    font-size: 0.85rem !important;
    padding: 0.5rem 0.7rem !important;
    border-radius: 10px !important;
    margin-top: 0.5rem !important;
  }
}

/* Configuración correcta del slider de servicios */
.services-swiper .swiper-wrapper {
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.service-slide:hover, .glass-card:hover {
  background: rgba(3,40,68,0.38) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: scale(1.05) translateY(-10px) !important;
  box-shadow: 0 25px 50px rgba(0,0,0,0.3) !important;
}

/* Efectos interactivos adicionales */
.service-slide, .glass-card {
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  overflow: hidden !important;
}

.service-slide::before, .glass-card::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent) !important;
  transition: left 0.8s !important;
  z-index: 1 !important;
}

.service-slide:hover::before, .glass-card:hover::before {
  left: 100% !important;
}

/* Efectos simples y elegantes */
.service-slide.swiper-slide-active, .glass-card.swiper-slide-active,
.service-slide.active-slide, .glass-card.active-slide {
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2) !important;
}

/* Efecto suave en los iconos */
.service-icon-animated {
  transition: all 0.4s ease !important;
}

.service-slide:hover .service-icon-animated,
.glass-card:hover .service-icon-animated {
  transform: scale(1.1) !important;
}

/* Efecto en los botones */
.service-btn-glow {
  transition: all 0.3s ease !important;
}

.service-btn-glow:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Nuevo carrusel de servicios - Limpio y transparente */
.services-swiper {
  background: transparent !important;
  padding: 40px 0 !important;
  margin: 30px 0 !important;
}



/* Configuración correcta del slider de servicios */
.services-swiper {
  width: 100% !important;
  overflow: hidden !important;
}

.services-swiper .swiper-wrapper {
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

/* --- BLOQUE SLIDER DE SERVICIOS CORREGIDO --- */
.service-slide, .glass-card {
  background: rgba(3,40,68,0.35) !important;
  border-radius: 36px !important;
  min-height: 520px !important;
  box-shadow: none !important;
  border: none !important;
  padding: 3.5rem 0.5rem 2.5rem 0.5rem !important;
}
@media (max-width: 991px) {
  .service-slide, .glass-card {
    min-height: 340px !important;
    padding: 2rem 0.2rem 1.5rem 0.2rem !important;
    border-radius: 18px !important;
  }
}
@media (max-width: 575px) {
  .service-slide, .glass-card {
    min-height: 160px !important;
    padding: 0.7rem 0.1rem 0.6rem 0.1rem !important;
    border-radius: 10px !important;
  }
}
.services-swiper .swiper-wrapper {
  /* Sin gap, margin, justify-content, etc. */
}
/* --- FIN BLOQUE SLIDER DE SERVICIOS CORREGIDO --- */

/* --- NUEVO CARRUSEL DE SERVICIOS: TRANSPARENTE Y MODERNO --- */
.service-slide, .glass-card {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-radius: 25px !important;
  min-height: 400px !important;
  height: 100%;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
  border: 2px solid rgba(255, 255, 255, 0.2) !important;
  padding: 2.5rem 2rem 2rem 2rem !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 !important;
  width: 100% !important;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
  transform: scale(0.9) !important;
  opacity: 0.7 !important;
  position: relative !important;
  overflow: hidden !important;
}

.service-slide::before, .glass-card::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent) !important;
  transition: left 0.8s !important;
  z-index: 1 !important;
}

.service-slide:hover::before, .glass-card:hover::before {
  left: 100% !important;
}

/* Tarjeta activa del carrusel */
.service-slide.swiper-slide-active, .glass-card.swiper-slide-active,
.service-slide.active-slide, .glass-card.active-slide {
  transform: scale(1.08) !important;
  opacity: 1 !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2) !important;
  border: 2px solid rgba(255, 255, 255, 0.4) !important;
  background: rgba(255, 255, 255, 0.15) !important;
}

/* Efecto hover en las tarjetas */
.service-slide:hover, .glass-card:hover {
  transform: scale(1.05) translateY(-10px) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  background: rgba(255, 255, 255, 0.12) !important;
}
@media (max-width: 1199px) {
  .service-slide, .glass-card {
    min-height: 320px !important;
    padding: 1.5rem 0.7rem 1.2rem 0.7rem !important;
  }
}
@media (max-width: 767px) {
  .service-slide, .glass-card {
    min-height: 180px !important;
    padding: 0.7rem 0.2rem 0.5rem 0.2rem !important;
  }
}
.services-swiper .swiper-wrapper {
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Estilos específicos para el carrusel */
.services-swiper {
  width: 100% !important;
  overflow: hidden !important;
  position: relative !important;
  padding: 20px 0 !important;
}

/* Estilos para las flechas de navegación */
.services-swiper .swiper-button-next,
.services-swiper .swiper-button-prev {
  background: rgba(255,255,255,0.9) !important;
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
  transition: all 0.3s ease !important;
  color: #032844 !important;
}

.services-swiper .swiper-button-next:hover,
.services-swiper .swiper-button-prev:hover {
  background: rgba(255,255,255,1) !important;
  box-shadow: 0 12px 35px rgba(0,0,0,0.2) !important;
  transform: scale(1.1) !important;
}

.services-swiper .swiper-button-next::after,
.services-swiper .swiper-button-prev::after {
  font-size: 20px !important;
  font-weight: bold !important;
}

/* Animación de partículas flotantes */
@keyframes float {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

/* Efecto de brillo en el contenedor del carrusel */
.services-slider-section {
  position: relative !important;
  overflow: hidden !important;
}

.services-slider-section::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 0%, transparent 70%) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

.services-swiper .swiper-wrapper {
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  display: flex !important;
  align-items: stretch !important;
}

/* Asegurar que las tarjetas se comporten correctamente en el loop */
.service-slide.swiper-slide, .glass-card.swiper-slide {
  width: auto !important;
  flex-shrink: 0 !important;
  height: auto !important;
}

/* Configuración específica para el autoplay y loop */
.services-swiper .swiper-slide {
  transition: transform 0.3s ease !important;
}

/* Asegurar que el slider mantenga su posición correcta */
.services-swiper .swiper-wrapper {
  transform: translate3d(0, 0, 0) !important;
}

/*--------------------------------------------------------------
# Services Section - Estilo Grant Thornton
--------------------------------------------------------------*/
.services-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e9ecef" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

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

.services-swiper-gt {
  padding: 20px 0 60px 0;
}

.service-card-gt {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 12px;
  padding: 40px 30px;
  height: 100%;
  min-height: 400px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(3, 40, 68, 0.8) 0%, rgba(133, 176, 190, 0.6) 100%);
  transition: all 0.3s ease;
}

.service-card-gt:hover .service-overlay {
  background: linear-gradient(135deg, rgba(3, 40, 68, 0.9) 0%, rgba(133, 176, 190, 0.7) 100%);
}

.service-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.service-card-gt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ffffff 0%, #85b0be 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  z-index: 3;
}

.service-card-gt:hover::before {
  transform: scaleX(1);
}

.service-card-gt:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-icon-gt {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  position: relative;
  transition: all 0.3s ease;
}

.service-icon-gt i {
  font-size: 32px;
  color: #ffffff;
  transition: all 0.3s ease;
}

.service-card-gt:hover .service-icon-gt {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.service-card-gt h3 {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.service-card-gt:hover h3 {
  color: #ffffff;
}

.service-card-gt p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 25px;
  font-size: 16px;
}

.service-stats {
  margin-bottom: 25px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stat-item strong {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 5px;
}

.stat-item small {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.service-link-gt {
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
  background: rgba(255, 255, 255, 0.2);
  padding: 12px 20px;
  border-radius: 25px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.service-link-gt span {
  margin-right: 8px;
}

.service-link-gt i {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.service-link-gt:hover {
  color: #032844;
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.service-link-gt:hover i {
  transform: translateX(5px);
}

/* Navegación del slider */
.services-swiper-gt .swiper-button-next,
.services-swiper-gt .swiper-button-prev {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  color: #032844;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.services-swiper-gt .swiper-button-next:hover,
.services-swiper-gt .swiper-button-prev:hover {
  background: #032844;
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(3, 40, 68, 0.3);
}

.services-swiper-gt .swiper-button-next::after,
.services-swiper-gt .swiper-button-prev::after {
  font-size: 18px;
  font-weight: bold;
}

/* Paginación */
.services-swiper-gt .swiper-pagination {
  bottom: 0;
}

.services-swiper-gt .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #dee2e6;
  opacity: 1;
  transition: all 0.3s ease;
}

.services-swiper-gt .swiper-pagination-bullet-active {
  background: #032844;
  transform: scale(1.2);
}

/* Responsive */
@media (max-width: 991px) {
  .service-card-gt {
    padding: 30px 25px;
    min-height: 350px;
  }
  
  .service-icon-gt {
    width: 70px;
    height: 70px;
  }
  
  .service-icon-gt i {
    font-size: 28px;
  }
  
  .service-card-gt h3 {
    font-size: 22px;
  }
  
  .stat-item strong {
    font-size: 24px;
  }
  
  .service-link-gt {
    padding: 10px 16px;
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  .services-section {
    padding: 60px 0;
  }
  
  .service-card-gt {
    padding: 25px 20px;
    min-height: 300px;
  }
  
  .service-icon-gt {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
  }
  
  .service-icon-gt i {
    font-size: 24px;
  }
  
  .service-card-gt h3 {
    font-size: 20px;
  }
  
  .service-card-gt p {
    font-size: 15px;
  }
  
  .stat-item strong {
    font-size: 22px;
  }
  
  .service-link-gt {
    font-size: 14px;
    padding: 8px 14px;
  }
}

/* Animaciones */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card-gt {
  animation: fadeInUp 0.6s ease forwards;
}

.service-card-gt:nth-child(1) { animation-delay: 0.1s; }
.service-card-gt:nth-child(2) { animation-delay: 0.2s; }
.service-card-gt:nth-child(3) { animation-delay: 0.3s; }
.service-card-gt:nth-child(4) { animation-delay: 0.4s; }
.service-card-gt:nth-child(5) { animation-delay: 0.5s; }
.service-card-gt:nth-child(6) { animation-delay: 0.6s; }

/* Estados activos */
.swiper-slide-active .service-card-gt {
  transform: scale(1.02);
}

.swiper-slide-active .service-card-gt .service-icon-gt {
  transform: scale(1.05);
}

/* Efectos adicionales */
.service-card-gt::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(133, 176, 190, 0.05) 0%, rgba(3, 40, 68, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.service-card-gt:hover::after {
  opacity: 1;
}

/* Fondo general para la sección de servicios estilo Grant Thornton */
.services-section-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  background: url('../img/portfolio/app-1.jpg') center center/cover no-repeat;
  filter: blur(6px) brightness(0.7);
  opacity: 1;
}

.services-section {
  position: relative;
  overflow: hidden;
}

.services-section > .container,
.services-section .services-slider {
  position: relative;
  z-index: 2;
}

/* Ajuste para que el fondo no tape el contenido */
.services-section-bg + .container,
.services-section-bg + .container + .container {
  position: relative;
  z-index: 2;
}

/* Tarjetas unidas y slider ancho completo */
.services-slider .swiper-wrapper {
  display: flex;
}

.services-swiper-gt .swiper-slide {
  margin-right: 0 !important;
  margin-left: 0 !important;
  padding: 0 !important;
  height: auto;
  display: flex;
  align-items: stretch;
}

.service-card-gt {
  border-radius: 0;
  margin: 0;
  min-width: 0;
  border-left: 1px solid rgba(255,255,255,0.08);
  border-right: 1px solid rgba(255,255,255,0.08);
}

.services-swiper-gt .swiper-slide:first-child .service-card-gt {
  border-left: none;
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
}
.services-swiper-gt .swiper-slide:last-child .service-card-gt {
  border-right: none;
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
}

@media (max-width: 991px) {
  .service-card-gt {
    border-radius: 0 !important;
  }
  .services-swiper-gt .swiper-slide:first-child .service-card-gt,
  .services-swiper-gt .swiper-slide:last-child .service-card-gt {
    border-radius: 0 !important;
  }
}

/* Tarjetas más largas para más contenido */
.service-card-gt {
  min-height: 520px;
  padding: 56px 38px;
}

@media (max-width: 991px) {
  .service-card-gt {
    min-height: 400px;
    padding: 36px 18px;
  }
}

@media (max-width: 767px) {
  .service-card-gt {
    min-height: 320px;
    padding: 22px 8px;
  }
}

/* Contenido centrado sobre el fondo de la sección de servicios */
.services-section-bg {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 650px;
  width: 100%;
}

.services-section-content {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  z-index: 2;
  padding-top: 60px;
  padding-bottom: 60px;
}

.services-section-content .section-title {
  margin-bottom: 0;
  padding-bottom: 0;
}

@media (max-width: 991px) {
  .services-section-bg {
    min-height: 500px;
  }
  .services-section-content {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}

@media (max-width: 767px) {
  .services-section-bg {
    min-height: 350px;
  }
  .services-section-content {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

/* Tarjeta fija para el texto principal - centrado total y hero */
.static-card {
  min-width: 480px;
  max-width: 600px;
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
  border-right: 1px solid rgba(255,255,255,0.08);
  border-left: none;
  background: rgba(20,40,60,0.7);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 520px;
  padding: 0 40px;
  text-align: center;
}

.static-card .service-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0;
}

.static-card h2 {
  font-size: 4.5rem !important;
  font-weight: 900;
  margin-bottom: 0.3em;
  line-height: 1.05;
  color: #fff;
  letter-spacing: -2px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.25);
}

.static-card p {
  font-size: 2rem !important;
  font-weight: 400;
  margin-bottom: 0;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

@media (max-width: 991px) {
  .static-card {
    min-width: 220px;
    max-width: 100%;
    padding: 18px 10px;
    min-height: 320px;
  }
  .static-card h2 {
    font-size: 2.2rem !important;
  }
  .static-card p {
    font-size: 1.1rem !important;
  }
}

.services-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 100%;
}

.services-slider {
  flex: 1;
  min-width: 0;
}

.services-section-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  background: url('../img/portfolio/app-1.jpg') center center/cover no-repeat;
  filter: brightness(0.7);
  opacity: 1;
}

@media (max-width: 991px) {
  .static-card {
    min-width: 220px;
    max-width: 100%;
    padding: 18px 10px;
  }
  .services-row {
    flex-direction: column;
  }
  .services-slider {
    width: 100%;
  }
}

/* Tarjeta hero para el texto principal dentro del slider */
.static-card-hero {
  min-width: 480px;
  max-width: 600px;
  border-radius: 16px;
  background: rgba(20,40,60,0.7);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 520px;
  padding: 0 40px;
  text-align: center;
}

.static-card-hero .service-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0;
}

.hero-title {
  font-size: 4.5rem !important;
  font-weight: 900;
  margin-bottom: 0.3em;
  line-height: 1.05;
  color: #fff;
  letter-spacing: -2px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.25);
}

.hero-desc {
  font-size: 2rem !important;
  font-weight: 400;
  margin-bottom: 0;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

@media (max-width: 991px) {
  .static-card-hero {
    min-width: 220px;
    max-width: 100%;
    padding: 18px 10px;
    min-height: 320px;
  }
  .hero-title {
    font-size: 2.2rem !important;
  }
  .hero-desc {
    font-size: 1.1rem !important;
  }
}

/* Encabezado estático sobre el slider de servicios */
.slider-header-static {
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  z-index: 10;
  text-align: center;
  pointer-events: none;
}

.slider-header-static .hero-title {
  font-size: 4.5rem !important;
  font-weight: 900;
  margin-bottom: 0.3em;
  line-height: 1.05;
  color: #fff;
  letter-spacing: -2px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.25);
  pointer-events: auto;
}

.slider-header-static .hero-desc {
  font-size: 2rem !important;
  font-weight: 400;
  margin-bottom: 0;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.18);
  pointer-events: auto;
}

.services-slider-block {
  position: relative;
  padding-top: 120px;
}

@media (max-width: 991px) {
  .slider-header-static .hero-title {
    font-size: 2.2rem !important;
  }
  .slider-header-static .hero-desc {
    font-size: 1.1rem !important;
  }
  .services-slider-block {
    padding-top: 60px;
  }
  .slider-header-static {
    top: 20px;
  }
}

/* Tarjetas glassmorphism modernas para slider de servicios */
.glass-card-modern {
  background: rgba(30, 60, 90, 0.65);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255,255,255,0.13);
  padding: 38px 32px 32px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 420px;
  height: 100%;
  justify-content: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.glass-card-modern:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.22);
  transform: translateY(-6px) scale(1.03);
}

.service-icon-modern {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255,255,255,0.13);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 2.6rem;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.18);
}

.service-title-modern {
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  text-align: center;
}

.service-desc-modern {
  color: #e3eaf2;
  font-size: 1.05rem;
  text-align: center;
  margin-bottom: 22px;
  font-weight: 400;
}

.service-stats-modern {
  margin-bottom: 22px;
  text-align: center;
}
.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
}
.stat-label {
  display: block;
  font-size: 0.95rem;
  color: #c6d4e2;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.service-btn-modern {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-weight: 600;
  font-size: 1.08rem;
  border-radius: 32px;
  padding: 12px 28px;
  border: 1.5px solid rgba(255,255,255,0.22);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.service-btn-modern:hover {
  background: #fff;
  color: #1e3c5a;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  text-decoration: none;
}

@media (max-width: 991px) {
  .glass-card-modern {
    padding: 22px 10px 18px 10px;
    min-height: 300px;
  }
  .service-title-modern {
    font-size: 1.1rem;
  }
  .service-desc-modern {
    font-size: 0.95rem;
  }
  .service-icon-modern {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }
  .stat-number {
    font-size: 1.2rem;
  }
}

/* Badge 'Nuestros servicios' en cada tarjeta */
.service-badge {
  display: inline-block;
  background: rgba(255,255,255,0.13);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border-radius: 16px;
  padding: 6px 18px;
  margin-bottom: 18px;
  margin-top: -8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border: 1px solid rgba(255,255,255,0.18);
}

/* Encabezado debajo del slider de servicios */
.slider-header-below {
  position: static;
  margin-top: 48px;
  margin-bottom: 0;
  text-align: center;
  z-index: 2;
}

.slider-header-below .hero-title {
  font-size: 3rem !important;
  font-weight: 900;
  margin-bottom: 0.3em;
  line-height: 1.05;
  color: #fff;
  letter-spacing: -2px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.25);
}

.slider-header-below .hero-desc {
  font-size: 1.5rem !important;
  font-weight: 400;
  margin-bottom: 0;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

@media (max-width: 991px) {
  .slider-header-below .hero-title {
    font-size: 1.7rem !important;
  }
  .slider-header-below .hero-desc {
    font-size: 1rem !important;
  }
  .slider-header-below {
    margin-top: 24px;
  }
}

/* Encabezado integrado arriba del slider de servicios */
.slider-header-integrated {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 18px auto;
  text-align: center;
  z-index: 2;
  padding-top: 0;
  padding-bottom: 0;
}

.slider-header-integrated .hero-title {
  font-size: 2.6rem !important;
  font-weight: 900;
  margin-bottom: 0.2em;
  line-height: 1.05;
  color: #fff;
  letter-spacing: -1.5px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.18);
}

.slider-header-integrated .hero-desc {
  font-size: 1.15rem !important;
  font-weight: 400;
  margin-bottom: 0;
  color: #e3eaf2;
  text-shadow: 0 2px 12px rgba(0,0,0,0.10);
}

@media (max-width: 991px) {
  .slider-header-integrated .hero-title {
    font-size: 1.3rem !important;
  }
  .slider-header-integrated .hero-desc {
    font-size: 0.95rem !important;
  }
  .slider-header-integrated {
    max-width: 100%;
    margin-bottom: 10px;
  }
}

/* Encabezado perfectamente integrado al bloque de tarjetas */
.slider-header-cards-area {
  width: 100%;
  max-width: 100%;
  margin: 0 auto 0.5em auto;
  text-align: center;
  z-index: 2;
  background: rgba(30, 60, 90, 0.65);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  padding: 38px 32px 18px 32px;
  position: relative;
  backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255,255,255,0.13);
  border-bottom: none;
}

.hero-title-cards {
  font-size: 3.2rem !important;
  font-weight: 900;
  margin-bottom: 0.2em;
  line-height: 1.05;
  color: #fff;
  letter-spacing: -1.5px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.18);
}

.hero-desc-cards {
  font-size: 1.25rem !important;
  font-weight: 400;
  margin-bottom: 0;
  color: #e3eaf2;
  text-shadow: 0 2px 12px rgba(0,0,0,0.10);
}

@media (max-width: 991px) {
  .slider-header-cards-area {
    padding: 18px 10px 10px 10px;
    border-radius: 16px 16px 0 0;
  }
  .hero-title-cards {
    font-size: 1.5rem !important;
  }
  .hero-desc-cards {
    font-size: 0.95rem !important;
  }
}

/* --- UNIR TARJETAS DEL SLIDER DE SERVICIOS --- */
.services-swiper-gt .swiper-wrapper {
  gap: 0 !important;
}
.services-swiper-gt .swiper-slide {
  margin-right: 0 !important;
  border-radius: 0 !important;
  /* Elimina sombra lateral si la hay */
  box-shadow: none !important;
  border-right: 1px solid rgba(255,255,255,0.08); /* línea sutil entre tarjetas, opcional */
}
.services-swiper-gt .swiper-slide:last-child {
  border-right: none;
}
/* Solo los extremos tienen border-radius */
.services-swiper-gt .swiper-slide:first-child .glass-card-modern {
  border-top-left-radius: 24px;
  border-bottom-left-radius: 24px;
}
.services-swiper-gt .swiper-slide:last-child .glass-card-modern {
  border-top-right-radius: 24px;
  border-bottom-right-radius: 24px;
}
/* Ajusta el header para que se vea unido al bloque */
.slider-header-cards-area {
  border-radius: 24px 24px 0 0;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(12px);
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 32px 40px 24px 40px;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
/* El bloque del slider debe tener el mismo border-radius en la parte inferior */
.services-slider-block {
  border-radius: 24px;
  overflow: hidden;
  background: none;
  padding: 0;
}
/* Ajusta las tarjetas para que no tengan padding lateral excesivo */
.glass-card-modern {
  padding-left: 24px;
  padding-right: 24px;
}
@media (max-width: 991px) {
  .slider-header-cards-area {
    padding: 24px 12px 16px 12px;
    border-radius: 16px 16px 0 0;
  }
  .services-slider-block {
    border-radius: 16px;
  }
  .glass-card-modern {
    border-radius: 0 !important;
    padding-left: 12px;
    padding-right: 12px;
  }
  .services-swiper-gt .swiper-slide:first-child .glass-card-modern {
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
  }
  .services-swiper-gt .swiper-slide:last-child .glass-card-modern {
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
  }
}

/* Tarjeta de header dentro del slider: igual a las demás, texto centrado */
.service-card-header-slide {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 320px;
  text-align: center;
  background: none;
  box-shadow: none;
}
.service-card-header-slide .hero-title-cards {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--heading-color);
  letter-spacing: -1px;
}
.service-card-header-slide .hero-desc-cards {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--default-color);
  margin-bottom: 0;
}
/* Asegura que todas las tarjetas tengan la misma altura */
.services-swiper-gt .swiper-slide {
  display: flex;
  align-items: stretch;
}
.services-swiper-gt .glass-card-modern {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 991px) {
  .service-card-header-slide {
    min-height: 220px;
  }
}

/* Marcos para diferenciar las columnas de logos */
.empresas-logos-col {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100% !important;
}
.empresas .container {
  max-width: 100vw !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.empresas .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.empresas-swiper {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
@media (min-width: 768px) {
  .empresas-logos-col {
    margin-right: 16px;
    margin-left: 16px;
  }
}
@media (max-width: 767px) {
  .empresas-logos-col {
    margin-right: 0;
    margin-left: 0;
    padding: 18px 4px 10px 4px;
  }
}
@media (min-width: 768px) {
  .empresas-logos-col {
    margin-bottom: 0 !important;
    height: 100%;
  }
  .empresas .row {
    align-items: stretch;
  }
}
@media (min-width: 768px) {
  .empresas .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    margin-bottom: 0 !important;
  }
  .empresas-logos-col {
    margin-bottom: 0 !important;
    height: 100%;
    flex: 1 1 0%;
    max-width: 50%;
  }
}

section p, section .justificado, .section p, .section .justificado {
  text-align: left !important;
}

/* Opcional: justifica también listas y otros textos largos */
section li, .section li {
  text-align: left !important;
}

/* Tarjetas modernas para secciones de contacto y trabaja */
.section-card {
  background: rgba(255,255,255,0.92);
  border-radius: 22px;
  box-shadow: 0 6px 32px 0 rgba(0,0,0,0.07);
  padding: 36px 24px 32px 24px;
  margin-bottom: 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  transition: box-shadow 0.3s;
}
.section-card:hover {
  box-shadow: 0 12px 36px 0 rgba(0,0,0,0.13);
}
@media (max-width: 767px) {
  .section-card {
    padding: 18px 6px 18px 6px;
    border-radius: 14px;
  }
}
.section-card h2, .section-card h3 {
  text-align: center;
  font-weight: 800;
  margin-bottom: 18px;
}
.section-card p {
  text-align: justify;
  margin-bottom: 18px;
}
@media (max-width: 767px) {
  .section-card p {
    text-align: center;
  }
}

/* ... existing code ... */
.services-section-gt {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.slider-container-gt {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
/* ... existing code ... */

/* Estilo azul premium para la tarjeta grande de 'Somos Consultores...' */
.about-premium-card {
  background: linear-gradient(135deg, #f8fafc 0%, #e3eafc 100%) !important;
  border-radius: 22px !important;
  box-shadow: 0 8px 32px rgba(25,118,210,0.13), 0 2px 12px rgba(10,34,87,0.08) !important;
  border: 2.5px solid #e3eafc !important;
  padding: 38px 32px 32px 32px !important;
  margin-bottom: 32px !important;
  position: relative;
  z-index: 1;
  overflow: hidden;
  animation: fadeInUp 0.8s;
  transition: box-shadow 0.4s, background 0.4s, border 0.4s;
}
.about-premium-card::before {
  content: '';
  position: absolute;
  top: -40px; left: -40px; right: -40px; bottom: -40px;
  background: radial-gradient(circle at 20% 20%, #b6d0f7 0%, transparent 70%);
  opacity: 0.18;
  z-index: 0;
}
.about-premium-card h3 {
  font-size: 2.2rem !important;
  font-weight: 900;
  color: #032844;
  margin-bottom: 1.1rem;
  letter-spacing: -1px;
  background: linear-gradient(90deg, #032844 0%, #5a8a9a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  text-shadow: 0 2px 12px #b6d0f755;
  position: relative;
  z-index: 1;
}
.about-premium-card p {
  font-size: 1.18rem !important;
  color: #0a2257;
  font-weight: 500;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  text-shadow: 0 1px 6px #e3eafc88;
  position: relative;
  z-index: 1;
}
.about-premium-card .about-btn {
  background: linear-gradient(90deg, #032844 0%, #5a8a9a 100%) !important;
  color: #fff !important;
  border: none !important;
  font-weight: 700;
  font-size: 1.08rem;
  border-radius: 32px !important;
  padding: 12px 32px !important;
  box-shadow: 0 2px 12px #03284422;
  margin-top: 0.5rem;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.about-premium-card .about-btn:hover {
  background: linear-gradient(90deg, #5a8a9a 0%, #032844 100%) !important;
  color: #fff !important;
  box-shadow: 0 6px 24px #03284433;
}
@media (max-width: 991px) {
  .about-premium-card {
    padding: 18px 10px 18px 10px !important;
    border-radius: 14px !important;
  }
  .about-premium-card h3 {
    font-size: 1.2rem !important;
  }
  .about-premium-card p {
    font-size: 0.98rem !important;
  }
  .about-premium-card .about-btn {
    font-size: 0.98rem !important;
    padding: 0.7rem 1.2rem !important;
    border-radius: 16px !important;
  }
}

section p:not([class^="h"]):not([class*="title"]),
.section p:not([class^="h"]):not([class*="title"]),
section li,
.section li {
  text-align: left !important;
}

.about .section-title p {
  text-align: center !important;
}

.btn-cotizar {
  background: linear-gradient(90deg, #032844 0%, #5a8a9a 100%) !important;
  color: #fff !important;
  font-weight: 700;
  font-size: 1.08rem;
  border: none !important;
  border-radius: 32px !important;
  padding: 12px 32px !important;
  box-shadow: 0 2px 12px #03284422;
  margin-top: 1.2rem;
  margin-bottom: 0.5rem;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.2s;
  letter-spacing: 0.5px;
  outline: none;
}
.btn-cotizar:hover, .btn-cotizar:focus {
  background: linear-gradient(90deg, #5a8a9a 0%, #032844 100%) !important;
  color: #fff !important;
  box-shadow: 0 6px 24px #03284433;
  transform: translateY(-2px) scale(1.04);
}

#modalCotizar .modal-content {
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 32px rgba(25,118,210,0.13), 0 2px 12px rgba(10,34,87,0.08);
  padding: 0;
  border: none;
}
#modalCotizar .modal-header {
  border-bottom: 1px solid #eee;
  background: linear-gradient(90deg, #f8fafc 0%, #e3eafc 100%);
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}
#modalCotizar .modal-title {
  font-weight: 800;
  color: #032844;
  font-size: 1.3rem;
}
#modalCotizar .modal-footer {
  border-top: 1px solid #eee;
  background: #f8fafc;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  display: flex;
  justify-content: center;
}
#modalCotizar .form-control {
  border-radius: 12px;
  border: 1.5px solid #e3eafc;
  font-size: 1.08rem;
  padding: 10px 14px;
  background: #f8fafc;
  color: #032844;
  margin-bottom: 0.5rem;
  box-shadow: none;
  transition: border 0.2s;
}
#modalCotizar .form-control:focus {
  border-color: #032844;
  background: #fff;
  outline: none;
}
#modalCotizar label {
  font-weight: 600;
  color: #032844;
  margin-bottom: 0.2rem;
  font-size: 1rem;
}
#modalCotizar .btn-primary, #modalCotizar .btn-cotizar {
  display: block;
  width: 100%;
  margin: 0 auto;
  margin-top: 0.5rem;
}
#modalCotizar .modal-body {
  padding: 1.5rem 1.5rem 0.5rem 1.5rem;
}
#modalCotizar .modal-header, #modalCotizar .modal-footer {
  padding: 1rem 1.5rem;
}
#modalCotizar .btn-close {
  background: none;
  border: none;
  font-size: 1.3rem;
  color: #032844;
  opacity: 0.7;
  transition: opacity 0.2s;
}
#modalCotizar .btn-close:hover {
  opacity: 1;
}
#modalCotizar .text-center {
  margin-top: 0.7rem;
  font-size: 1.05rem;
}
@media (max-width: 575px) {
  #modalCotizar .modal-content {
    border-radius: 10px;
    padding: 0;
  }
  #modalCotizar .modal-header, #modalCotizar .modal-footer, #modalCotizar .modal-body {
    padding: 0.7rem 0.5rem;
  }
}

#mapa-contacto {
  width: 100vw !important;
  margin-left: -50vw !important;
  left: 50% !important;
  right: 50% !important;
  padding: 0 !important;
  border: none !important;
  overflow: hidden !important;
  position: relative !important;
  background: none !important;
}
#mapa-contacto > div {
  width: 100vw !important;
  max-width: 100vw !important;
  height: 400px !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}
#mapa-contacto iframe {
  width: 100% !important;
  height: 100% !important;
  min-height: 400px !important;
  border: none !important;
  display: block !important;
}
@media (max-width: 767px) {
  #mapa-contacto > div, #mapa-contacto iframe {
    height: 220px !important;
    min-height: 180px !important;
  }
}

/* Estilos para el botón de cotización */
.btn-cta {
  background: linear-gradient(135deg, #032844 0%, #0a223a 100%);
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(3, 40, 68, 0.3);
  cursor: pointer;
}

.btn-cta:hover {
  background: linear-gradient(135deg, #0a223a 0%, #032844 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(3, 40, 68, 0.4);
  color: #fff;
}

.btn-cta:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(3, 40, 68, 0.3);
}
