/**
* Template Name: FIISMEC
* Template URL: https://bootstrapmade.com/kelly-free-bootstrap-cv-resume-html-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: #434E78; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #0a0a0a; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #E97F4A; /* 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: #fafafa;  /* The default color of the main navmenu links */
  --nav-hover-color: #E97F4A; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #434E78; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #434E78; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #fafafa; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #E97F4A; /* 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: #e9e8e6;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --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 {
  color: var(--default-color);
  background-color: #434E78;
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
  box-shadow:  none !important;
}

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

.header .logo img {
    max-height: 80px; /* tamaño óptimo para desktop */
    width: auto;
}

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

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

.header .logo h1 {
  font-size: 40px;
  margin: 0;
  font-weight: 300;
  text-transform: uppercase;
  color: #000000;
}

.header .header-social-links {
  padding-right: 35px;
}

.header .header-social-links a {
  color: color-mix(in srgb, #E97F4A, transparent 40%);
  padding-left: 3px;
  display: inline-block;
  transition: 0.3s;
  font-size: 25px;
}

.header .header-social-links a:hover {
  color: var(--accent-color);
}

.header .header-social-links a i {
  line-height: 0px;
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .header-social-links {
    order: 2;
  }

  .header .navmenu {
    order: 3;
  }
}

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

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

  .navmenu li {
    position: relative;
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.footer .social-links {
  margin-top: 20px;
}

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

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

.footer .credits {
  margin-top: 10px;
  font-size: 13px;
  text-align: center;
}

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

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

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

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

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

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

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

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

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

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

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 25px 0;
  position: relative;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.page-title h1 {
  font-size: 24px;
  font-weight: 400;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  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: 100px;
  overflow: clip;
}

@media (max-width: 1199px) {

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

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

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

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

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

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero .col-lg-8 {
  white-space: normal !important;   /* evita que corte las palabras */
  width: 100% !important;           /* permite que el texto se expanda */
  max-width: 100% !important;       /* no lo hace angosto */
  text-align: left !important;
}

@media (max-width: 1200px) {
  .hero {
    min-height: calc(100vh - 68px);
  }
}

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

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

.hero h2 {
  margin: 0;
  font-size: 49px;
  font-weight: 700;
  color: white;
   text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.hero p {
  margin: 10px 0 0 0;
  font-size: 26px;
  color: white;
   text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.hero .btn-get-started {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-family: var(--heading-font);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 50px;
  transition: 0.5s;
  margin-top: 30px;
}

.hero .btn-get-started:hover {
  background: color-mix(in srgb, var(--accent-color) 90%, white 20%);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0px 12px 25px rgba(0, 0, 0, 0.25);
}

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

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

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h2 {
  font-weight: 700;
  font-size: 24px;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.about .content ul strong {
  margin-right: 10px;
}

.about .content ul i {
  font-size: 16px;
  margin-right: 5px;
  color: var(--accent-color);
  line-height: 0;
}

/*--------------------------------------------------------------
# Skills Section
--------------------------------------------------------------*/
.skills .progress {
  height: 60px;
  display: block;
  background: none;
  border-radius: 0;
}

.skills .progress .skill {
  color: var(--heading-color);
  padding: 0;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  display: block;
  font-weight: 600;
  font-family: var(--heading-font);
}

.skills .progress .skill .val {
  float: right;
  font-style: normal;
}

.skills .progress-bar-wrap {
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  height: 10px;
}

.skills .progress-bar {
  width: 1px;
  height: 10px;
  transition: 0.9s;
  background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-item {
  padding: 30px;
  width: 100%;
}

.stats .stats-item span {
  color: var(--heading-color);
  font-size: 48px;
  display: block;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.stats .stats-item span:after {
  content: "";
  position: absolute;
  display: block;
  width: 25px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.stats .stats-item p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 500;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .section-header {
  margin-bottom: 40px;
}

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

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

.testimonials .testimonial-item .testimonial-img {
  width: 120px;
  border-radius: 50%;
  border: 4px solid var(--background-color);
  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;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0 0 15px 0;
}

.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(--accent-color), transparent 50%);
  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;
  opacity: 1;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
}

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

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

/*--------------------------------------------------------------
# Resume Section
--------------------------------------------------------------*/
.resume .resume-title {
  color: var(--heading-color);
  font-size: 26px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
}

.resume .resume-item {
  padding: 0 0 20px 20px;
  margin-top: -2px;
  border-left: 2px solid var(--accent-color);
  position: relative;
}

.resume .resume-item h4 {
  line-height: 18px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 10px;
}

.resume .resume-item h5 {
  font-size: 16px;
  padding: 5px 15px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 10px;
}

.resume .resume-item ul {
  padding-left: 20px;
}

.resume .resume-item ul li {
  padding-bottom: 10px;
}

.resume .resume-item:last-child {
  padding-bottom: 0;
}

.resume .resume-item::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50px;
  left: -9px;
  top: 0;
  background: var(--background-color);
  border: 2px solid var(--accent-color);
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  box-shadow: 0px 5px 90px 0px rgba(0, 0, 0, 0.1);
  height: 100%;
  padding: 60px 30px;
  text-align: center;
  transition: 0.3s;
  border-radius: 5px;
}

.services .service-item .icon {
  margin: 0 auto;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: ease-in-out 0.3s;
  position: relative;
}

.services .service-item .icon i {
  font-size: 36px;
  transition: 0.5s;
  position: relative;
}

.services .service-item .icon svg {
  position: absolute;
  top: 0;
  left: 0;
}

.services .service-item .icon svg path {
  transition: 0.5s;
  fill: color-mix(in srgb, var(--default-color), transparent 95%);
}

.services .service-item h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 22px;
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .service-item:hover {
  box-shadow: 0px 5px 35px 0px rgba(0, 0, 0, 0.1);
}

.services .service-item.item-cyan i {
  color: #0dcaf0;
}

.services .service-item.item-cyan:hover .icon i {
  color: #fff;
}

.services .service-item.item-cyan:hover .icon path {
  fill: #0dcaf0;
}

.services .service-item.item-orange i {
  color: #fd7e14;
}

.services .service-item.item-orange:hover .icon i {
  color: #fff;
}

.services .service-item.item-orange:hover .icon path {
  fill: #fd7e14;
}

.services .service-item.item-teal i {
  color: #20c997;
}

.services .service-item.item-teal:hover .icon i {
  color: #fff;
}

.services .service-item.item-teal:hover .icon path {
  fill: #20c997;
}

.services .service-item.item-red i {
  color: #df1529;
}

.services .service-item.item-red:hover .icon i {
  color: #fff;
}

.services .service-item.item-red:hover .icon path {
  fill: #df1529;
}

.services .service-item.item-indigo i {
  color: #6610f2;
}

.services .service-item.item-indigo:hover .icon i {
  color: #fff;
}

.services .service-item.item-indigo:hover .icon path {
  fill: #6610f2;
}

.services .service-item.item-pink i {
  color: #f3268c;
}

.services .service-item.item-pink:hover .icon i {
  color: #fff;
}

.services .service-item.item-pink:hover .icon path {
  fill: #f3268c;
}

/*--------------------------------------------------------------
# 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: 8px 20px 10px 20px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 5px;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  font-family: var(--heading-font);
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--contrast-color);
  background-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 0 10px 0;
  }
}

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

.portfolio .portfolio-item .portfolio-info {
  opacity: 0;
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -100%;
  z-index: 3;
  transition: all ease-in-out 0.5s;
  background: color-mix(in srgb, var(--surface-color), transparent 10%);
  padding: 15px;
}

.portfolio .portfolio-item .portfolio-info h4 {
  font-size: 18px;
  font-weight: 600;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  margin-bottom: 0;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info .preview-link,
.portfolio .portfolio-item .portfolio-info .details-link {
  position: absolute;
  right: 50px;
  font-size: 24px;
  top: calc(50% - 14px);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  transition: 0.3s;
  line-height: 0;
}

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

.portfolio .portfolio-item .portfolio-info .details-link {
  right: 14px;
  font-size: 28px;
}

.portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
  bottom: 0;
}

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

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

@media (max-width: 575px) {
  .contact .info-wrap {
    padding: 20px;
  }
}

.contact .info-item {
  margin-bottom: 40px;
}

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

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

.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);
  height: 100%;
  padding: 30px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

@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: var(--surface-color);
  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 25%);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}
.requisitos-box {
  border: 2px solid #98b3e6;
  border-radius: 12px;
  background: #ffffff;
}

.req-item {
  border: 1px solid #d6e1f5;
  background: #f8faff;
  padding: 12px 14px;
  border-radius: 10px;
}

.req-title {
  margin: 0;
  font-weight: 600;
  font-size: 15px;
  color: #1e3c72;
}

.req-subtext {
  margin: 2px 0 0;
  font-size: 12px;
  color: #6a6a6a;
  line-height: 1.3;
}
.tabla-pagos-container {
    width: 100%;
    max-width: 750px;
    background: #0d1b45;
    padding: 20px;
    border-radius: 15px;
    color: white;
    font-family: 'Poppins', sans-serif;
}

/* HEADER */
.tabla-header {
    background: #10205a;
    padding: 10px 15px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 500;
}

.tabla-header i {
    font-size: 20px;
    cursor: pointer;
}

/* CAJA INTERIOR */
.tabla-box {
    background: #0b1638;
    margin-top: 15px;
    border-radius: 12px;
    padding: 10px 0;
}

/* FILA ENCABEZADO */
.tabla-head-row {
    display: grid;
    grid-template-columns: 1fr 140px 140px;
    text-align: center;
    font-weight: 700;
    font-size: 17px;
}

.th-large {
    background: #2564a6;
    padding: 12px;
}

.th-medium {
    background: #1c3a6d;
    padding: 12px;
}

.th-medium.active {
    background: #6375ff;
    color: white;
    border-radius: 6px 6px 0 0;
}

/* FILAS */
.tabla-row {
    display: grid;
    grid-template-columns: 1fr 140px 140px;
    padding: 15px 10px;
    font-size: 14.5px;
    border-bottom: 1px solid #1c2e60;
}

.tabla-row:last-child {
    border-bottom: none;
}

/* TEXTO CELDAS */
.td-large {
    color: #dce6ff;
    font-weight: 600;
}

.td-medium {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
}

.codigo {
    font-size: 12px;
    display: block;
    color: #a8b5ff;
}
.pautas-simples {
  background: #f4f6fa;
  padding: 40px 0;
}

.pautas-wrapper {
  width: 100%;
  max-width: 1200px;   /* ideal para monitores grandes */
  margin: 0 auto;
  padding: 40px 24px;
}


.pauta-img-full {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  background: white;
}

.pauta-line {
  height: 35px;
  margin: 40px 0;
  background: linear-gradient(90deg, rgba(30,60,114,0.10), rgba(255,127,80,0.10));
  border-radius: 6px;
}
/* Contenedor de la imagen 2 */
.pauta-img-container {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

/* Contenedor de botones */
.pauta2-buttons {
  position: absolute;
  bottom: 30px;
  left: 63%;
  transform: translateX(-50%);
  display: flex;
  gap: 150px;
  z-index: 10; /* Asegura que queden encima de la imagen */
}


/* Botón CUANTITATIVA */
.btn-cuanti {
  background: #ff7f50;
  color: white;
  padding: 10px 20px;
  border-radius: 12px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Botón CUALITATIVA */
.btn-cuali {
  background: #1e3c72;
  color: white;
  padding: 10px 20px;
  border-radius: 12px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Visor */
#visor-esquema {
  margin-top: 25px;
  text-align: center;
}

#visor-esquema img {
  width: 100%;
  max-width: 900px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.btn-autog {
  background: #1e3c72;
  color: white;
  padding: 10px 20px;
  border-radius: 12px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.pauta3-buttons {
  position: absolute;
  bottom: 80px;
  left: 25%;
  transform: translateX(580%);
  display: flex;
  gap: 150px;
  z-index: 10; /* Asegura que queden encima de la imagen */
}

/* =========================================
   CELULAR = MISMO DISEÑO QUE PC, MÁS PEQUEÑO
   ========================================= */
@media (max-width: 768px) {

  /* Conserva la posición como en PC */
  .pauta2-buttons {
    position: absolute !important;
    bottom: 10px !important;
    left: 67% !important;
    transform: translateX(-50%) !important;

    display: flex !important;
    flex-direction: row !important;   /* 👈 IGUAL QUE EN PC */
    justify-content: center !important;
    gap: 10px !important;
    width: auto !important;
  }
  
  .pauta3-buttons {
    position: absolute !important;
    bottom: 25px !important;
    left: 82% !important;
    transform: translateX(-50%) !important;

    display: flex !important;
    flex-direction: row !important;   /* 👈 IGUAL QUE EN PC */
    justify-content: center !important;
    gap: 10px !important;
    width: auto !important;
  }

  /* Botones de PASO 2 más pequeños */
  .pauta2-buttons button {
    padding: 1px 12px !important;
    font-size: 8px !important;
    min-width: 85px !important;
    border-radius: 9px !important;
  }

  /* Botón de PASO 7 más pequeño */
  .pauta3-buttons button {
    padding: 1px 16px !important;
    font-size: 12px !important;
    min-width: 80px !important;
    border-radius: 9px !important;
  }

}
.logo-img {
  max-height: 80px;
  width: auto;
}
@media (min-width: 1400px) {
  .logo-img {
    max-height: 90px;
  }
}
/* ===============================
   EVITAR CONTENIDO DEMASIADO PEQUEÑO
   =============================== */

html, body {
  min-width: 360px; /* evita escalado extremo */
}

section,
.container,
.container-fluid {
  min-width: 360px;
}
/* ===============================
   PASOS - BOTONES GRANDES
   =============================== */

.step-card button,
.step-card .btn {
  font-size: 15px;
  padding: 10px 22px;
  min-width: 130px;
}

@media (max-width: 768px) {
  .step-card button,
  .step-card .btn {
    font-size: 15px;      /* NO se reduce */
    padding: 10px 22px;  /* NO se reduce */
  }
}
/* ===============================
   PAUTAS - IMÁGENES LEGIBLES
   =============================== */

.pauta-img-full {
  width: 100%;
  max-width: 1400px;     /* crece más en pantallas grandes */
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  background: white;
}

/* ===============================
   FAQ - TEXTO LEGIBLE
   =============================== */

.portfolio .portfolio-info,
.portfolio .portfolio-item p {
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .portfolio .portfolio-info,
  .portfolio .portfolio-item p {
    font-size: 15px; /* NO se reduce */
  }
}
/* ===============================
   PAGOS - TABLAS CLARAS
   =============================== */

.tabla-pagos-container {
  min-width: 360px;
  max-width: 900px;
  margin: auto;
}

.tabla-row,
.tabla-head-row {
  font-size: 15px;
}

@media (max-width: 768px) {
  .tabla-row,
  .tabla-head-row {
    font-size: 15px; /* NO se reduce */
  }
}
/* ===============================
   INDEX - TEXTO ADAPTABLE
   =============================== */

.hero h2 {
  font-size: clamp(28px, 5vw, 49px);
}

.hero p {
  font-size: clamp(16px, 3vw, 26px);
}
.hero {
  position: relative;
  min-height: 100vh;   /* 👈 esto es CLAVE */
}
html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;   /* 👈 empuja el footer hacia abajo */
}
html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}
/* PASOS – sección de altura completa */

/* ===============================
   PASOS – COMPORTAMIENTO CORRECTO
   =============================== */

/* Desktop y pantallas grandes */
@media (min-width: 992px) {
  .steps {
    min-height: auto;        /* 👈 ya NO se encierra */
    display: block;
    padding: 80px 0;         /* aire visual */
  }
}
.steps .container {
  max-width: 1400px;   /* antes era 1140 aprox */
}

/* Celular y tablet */
@media (max-width: 991px) {
  .steps {
    min-height: auto;        /* 👈 CLAVE */
    display: block;          /* 👈 permite scroll */
    padding: 40px 0;
  }
}

/* Mantiene el contenido centrado y ancho correcto */
.steps > .container {
  width: 100%;
}
/* ===============================
   HERO – TEXTO RESPONSIVO REAL
   =============================== */

.hero-text {
  max-width: 1100px;          /* controla hasta dónde llega */
  margin-left: 0;             /* alineado a la izquierda */
}

/* TÍTULO PRINCIPAL */
.hero h2 {
  font-size: clamp(36px, 4.5vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 12px;
}

/* SUBTÍTULO */
.hero p {
  font-size: clamp(18px, 2.2vw, 34px);
  line-height: 1.3;
  margin-bottom: 28px;
}

/* BOTÓN */
.hero .btn-get-started {
  font-size: clamp(14px, 1.2vw, 18px);
  padding: 12px 42px;
}
.hero {
  position: relative;
  min-height: 100vh;
}

.hero img {
  object-position: center right; /* mantiene el gorrito visible */
}
.hero {
  position: relative;
  min-height: 100vh;
}

.hero img {
  object-position: center right; /* mantiene el gorrito visible */
}
/* ===============================
   PASOS – COMPORTAMIENTO FINAL
   =============================== */

/* Desktop y pantallas grandes */
@media (min-width: 992px) {
  .steps {
    min-height: calc(100vh - 120px); /* llena la pantalla sin tocar footer */
    display: flex;
    align-items: center;             /* centra vertical */
    padding: 0;
  }

  .steps > .container {
    width: 100%;
  }
}

/* Celular y tablet */
@media (max-width: 991px) {
  .steps {
    min-height: auto;
    display: block;
    padding: 40px 0;
  }
}
.steps .container {
  max-width: 1400px;
}
/* ===============================
   HERO – CELULAR BIEN HECHO
   =============================== */
@media (max-width: 768px) {

  .hero {
    position: relative;
    min-height: 85vh;          /* 👈 sigue siendo hero */
    display: flex;
    align-items: flex-end;     /* texto abajo */
  }

  .hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;         /* 👈 mantiene impacto */
    object-position: 70% center; /* 👈 rostro y birrete */
  }

  .hero .container {
    position: relative;
    z-index: 2;
    padding-bottom: 60px;
  }
}
/* ===============================
   FAQ – MODAL RESPONSIVE CELULAR
   =============================== */
@media (max-width: 768px) {

  /* Fondo oscuro */
  .modal-backdrop,
  .glightbox-container {
    padding: 0 !important;
  }

  /* Contenedor del modal */
  .modal-dialog,
  .glightbox-content {
    width: 95vw !important;
    max-width: 95vw !important;
    height: auto;
    margin: auto;
  }

  /* Caja principal */
  .modal-content,
  .glightbox-inner {
    border-radius: 14px;
    padding: 16px;
    max-height: 90vh;          /* 👈 usa la pantalla */
    overflow-y: auto;          /* 👈 scroll interno */
  }

  /* Imagen del FAQ */
  .modal-content img,
  .glightbox-inner img {
    width: 100%;
    height: auto;
    max-height: 55vh;          /* 👈 imagen grande */
    object-fit: contain;
    margin-bottom: 12px;
  }

  /* Título */
  .modal-content h4,
  .glightbox-inner h4 {
    font-size: 18px;
    text-align: center;
  }

  /* Texto */
  .modal-content p,
  .glightbox-inner p {
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
  }

  /* Botón cerrar */
  .modal-content .btn-close,
  .glightbox-close {
    top: 12px;
    right: 12px;
  }
}
/* ===============================
   MODAL FAQ – IMAGEN GRANDE EN CELULAR
   =============================== */
@media (max-width: 768px) {

  .pauta-modal-inner {
    width: 96vw;
    max-width: 96vw;
    height: auto;
    padding: 12px;
  }

  .pauta-modal-img {
    width: 100% !important;     /* 👈 CLAVE */
    max-width: 100% !important;
    height: auto;
    max-height: 80vh;           /* ocupa casi toda la pantalla */
    object-fit: contain;
  }

  .pauta-modal-caption {
    font-size: 14px;
    line-height: 1.4;
  }
}
/* ===============================
   HERO – CONTROL REAL DE POSICIÓN EN CELULAR
   =============================== */
@media (max-width: 768px) {

  .hero .container {
    position: absolute !important;
    top: 10% !important;      /* 👈 AQUÍ se controla la altura REAL */
    left: 0;
    right: 0;
    padding-top: 0 !important;
  }

}
