/**
* Template Name: Mentor
* Template URL: https://bootstrapmade.com/mentor-free-education-bootstrap-theme/
* Updated: Jul 07 2025 with Bootstrap v5.3.7
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font:
    "Open Sans", 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: #444444;
  /* Default color used for the majority of the text content across the entire website */
  --heading-color: #37423b;
  /* Color for headings, subheadings and title throughout the website */
  --accent-color: #5fcf80;
  /* 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: #272828;
  /* The default color of the main navmenu links */
  --nav-hover-color: #5fcf80;
  /* 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: #272828;
  /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #5fcf80;
  /* 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: #f9f9f9;
  --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);
  }
}

/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}

.pulsating-play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-play-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.pulsating-play-btn:hover:after {
  border-left: 15px solid var(--accent-color);
  transform: scale(20);
}

@keyframes pulsate-play-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

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

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

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

.header .logo h1 {
  font-weight: 700;
  font-size: 30px;
  margin: 0;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-color);
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 25px;
  margin: 0 0 0 30px;
  border-radius: 50px;
  transition: 0.3s;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

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

  .header .btn-getstarted {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
  }
}

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

/*--------------------------------------------------------------
# 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);
    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-esac {
  font-family: 'Montserrat', sans-serif;
  color: #fff;
}

/* Rectángulo grande (alto aprox 339px) */
.footer-esac .footer-top-rect {
  background: #2FB256;
  /* color principal */
  min-height: 339px;
  /* referencia del diseño */
  display: flex;
  align-items: center;
  padding: 28px 0;
}

/* Grid de 3 columnas dentro del rectángulo */
.footer-esac .footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  /* proporción visual similar al mock */
  gap: 40px;
  align-items: start;
}

/* Columnas */
.footer-esac .foot-col .title {
  font-weight: 800;
  font-size: 18px;
  text-transform: uppercase;
  margin: 6px 0 12px 0;
  color: #FFFFFF;
}

.footer-esac .foot-col.left .brand {
  width: 212.5262px;
  /* medidas del mock */
  height: 67.4921px;
  object-fit: contain;
  margin-bottom: 10px;
}

.footer-esac .foot-col.left .desc {
  margin: 6px 0 16px 0;
  max-width: 380px;
  font-size: 14px;
  line-height: 1.35;
  color: #eafff0;
}

.footer-esac .foot-col.left .social-sprite {
  width: 160px;
  height: 28px;
  object-fit: contain;
}

/* Lista de links (centro) */
.footer-esac .link-list {
  list-style: disc;
  margin: 0;
  padding-left: 18px;
}

.footer-esac .link-list li+li {
  margin-top: 6px;
}

.footer-esac .link-list a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
}

.footer-esac .link-list a:hover {
  text-decoration: underline;
}

/* Textos derecha */
.footer-esac .schedule {
  margin: 4px 0;
  font-size: 14px;
  color: #eafff0;
}

.footer-esac .ta-center {
  text-align: center;
}

/* Franja inferior (rectángulo pequeño) */
.footer-esac .footer-strip {
  background: #259B4B;
  /* verde más oscuro para contraste */
  min-height: 17px;
  /* altura del mock */
  display: flex;
  align-items: center;
  color: #eafff0;
  font-size: 13px;
}

.footer-esac .strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  /* altura cómoda dentro de los 17 px */
}

.footer-esac .strip-left a {
  color: #eafff0;
  text-decoration: none;
}

.footer-esac .strip-left a:hover {
  text-decoration: underline;
}

.footer-esac .strip-left .sep {
  margin: 0 8px;
  opacity: .8;
}

.footer-esac .strip-right strong {
  font-weight: 800;
}

/* Responsive */
@media (max-width: 992px) {
  .footer-esac .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-esac .foot-col.left .desc {
    max-width: none;
  }

  .footer-esac .strip-inner {
    flex-direction: column;
    text-align: center;
  }
}

/*--------------------------------------------------------------
# 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: 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 {
  --default-color: var(--contrast-color);
  --background-color: var(--accent-color);
  --heading-color: var(--contrast-color);
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
}

.page-title .heading {
  padding: 80px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

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

.page-title nav {
  background-color: color-mix(in srgb, var(--accent-color) 90%, black 5%);
  padding: 20px 0;
}

.page-title nav a {
  color: var(--default-color);
}

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

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

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

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

@media (max-width: 1199px) {

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

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

.section-title h2 {
  font-size: 24px;
  font-weight: 700;
  padding: 0;
  line-height: 1px;
  margin: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #555555;
  position: relative;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 7px;
  display: inline-block;
  background: var(--accent-color);
  margin: 4px 10px;
}

.section-title p {
  color: #2FB357;
  margin-top: 15px;
  font-size: 48px;
  font-weight: 700;
  font-family: var(--nav-font);
  line-height: 100%;
  text-transform: uppercase;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 35vh;
  /* 🔹 más bajo que antes */
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #2fb357, #1e8c3f);
  position: relative;
  overflow: hidden;
  padding: 35px 0;
  /* 🔹 menos espacio arriba/abajo */
  color: #fff;
}

.hero .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* 🔹 menos ancho para la imagen */
  align-items: center;
  gap: 10px;
  /* 🔹 reduje el espacio entre columnas */
}

/* Texto */
.hero-text h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 100%;
  text-transform: uppercase;
  letter-spacing: 0%;
  color: #ffffff;
}

.hero-text p {
  font-family: "Montserrat", sans-serif;
  font-style: italic;
  font-size: 20px;
  margin-bottom: 20px;
  color: #e6ffe6;
}

/* Botón */
.hero .btn-get-started {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 20px 40px;
  border-radius: 40px;
  font-weight: bold;
  background: linear-gradient(90deg, #05c095, #00ad85);
  color: #fff;
  border: none;
  transition: 0.3s;
  font-size: 22px;
  text-decoration: none;
}

.hero .btn-get-started:hover {
  opacity: 0.9;
  transform: scale(1.05);
  color: #ffffff;
}

.hero .whatsapp-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

/* Imagen */
.hero-image img {
  width: 100%;
  max-width: 260px;
  display: block;
  margin: 0 auto;
}

/* Ondas verdes */
.row-left,
.row-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: auto;
  height: 100%;
  z-index: 1;
}

.row-left {
  left: 0;
  transform: scaleX(-1);
  transform: rotate(180deg);
  height: 495px;
  width: 190px;
}

.row-right {
  right: 0;
  top: -350px;
  height: 899px;
  width: 380px;
}

/* Responsive */
@media (max-width: 991px) {
  .hero {
    min-height: auto;
    padding: 25px 0;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 15px;
  }

  .hero-text h2 {
    font-size: 30px;
  }

  .hero-image img {
    max-width: 200px;
    /* 🔹 más compacto en móvil */
  }

  .row-left,
  .row-right {
    display: none;
  }

  
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about {
  padding: 60px 0;
  display: flex;
  justify-content: center;
  /* Centrar la sección */
}

.about .container {
  max-width: 1200px;
  /* Limitar ancho total */
  margin: 0 auto;
  padding: 0 20px;
  /* Espacio con los bordes */
}

.about-item {
  margin-bottom: 80px;
  /* espacio entre secciones */
  width: 100%;
  display: flex;
  align-items: center;
}

/* TITULO */
.about .content h3 {
  font-size: 42px;
  font-weight: 800;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  color: #1e8c3f;
  margin-bottom: 15px;
  line-height: 110%;
}

.about .content p {
  font-family: "Montserrat", sans-serif;
  font-style: italic;
  font-size: 18px;
  margin-bottom: 20px;
  color: #000000;
  font-weight: 500;
}

/* LISTAS */
.about .content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.about .content ul li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  font-family: "Montserrat", sans-serif;
  font-size: 17px;
}

.about .content ul li img {
  width: 20px;
  margin-right: 10px;
  margin-top: 4px;
}

.about .content ul li span {
  font-weight: 700;
  color: #1e8c3f;
  line-height: 120%;
}

/* BOTÓN */
.about .content .read-more {
  background: linear-gradient(90deg, #05c095, #00ad85);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 18px;
  padding: 12px 28px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
  margin-bottom: 20px;

}

.about .content .read-more:hover {
  opacity: 0.9;
  transform: scale(1.05);
  color: #ffffff;
}

.about .content .read-more img.whatsapp-icon {
  width: 22px;
  height: 22px;
}

/* AJUSTEs DE IMÁGENES */
.about-img {
  width: 100%;
  height: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}



/*--------------------------------------------------------------
# Certificado Power BI
--------------------------------------------------------------*/
.counts {
  padding: 25px 0;
}

.counts .stats-item {
  padding: 30px;
  width: 100%;
}

.counts .stats-item span {
  font-size: 48px;
  display: block;
  color: var(--accent-color);
  font-weight: 700;
}

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

/*--------------------------------------------------------------
# Power BI Aprenderas
--------------------------------------------------------------*/
.powerbi-hero {
  position: relative;
  padding: 48px 0 0;
  background-color: #2FB256;
  /* ✅ Color de fondo base */
  background-image: url("../img/excel/curso_power_bi.png");
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
  overflow: hidden;
}


.powerbi-hero .hero-inner {
  position: relative;
  min-height: 320px;
  /* altura visual del banner */
  /*display: flex;*/
  align-items: center;
}

.powerbi-hero .hero-text {
  margin-left: auto;
  /* contenido a la derecha */
  max-width: 620px;
  color: #fff;
}

.powerbi-hero .hero-text h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 45px;
  line-height: 100%;
  font-weight: 900;
  margin: 0 0 12px 0;
  letter-spacing: .4px;
  text-transform: uppercase;
}

.powerbi-hero .hero-text h2 span {
  font-weight: 800;
  text-transform: lowercase;
}

.powerbi-hero .hero-text .subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  line-height: 1.35;
  margin: 0 0 18px 0;
  color: #eafaf6;
}

/* -----------------------------
Botón ¡Quiero Inscribirme!
------------------------------*/
.btn-inscribirme {
  font-family: 'Montserrat', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: 60px;
  margin: 6px 0 0;
  background: linear-gradient(90deg, #05C095, #00AD85);
  border-radius: 999px;
  /* look "pill" como en la imagen */
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .4px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .15);
  transition: transform .15s ease, opacity .2s ease;
}

.btn-inscribirme:hover {
  transform: translateY(-1px);
  opacity: .95;
}

.btn-inscribirme .whatsapp-logo {
  width: 25px;
  height: 25px;
  margin-right: 8px;
}

/* -----------------------------
   Barra APRENDERÁS
------------------------------*/
.powerbi-hero .learn-bar {
  position: relative;
  width: 100%;
  margin-top: 28px;
  background: linear-gradient(60deg, #3AB485, #007B4B);
  color: #fff;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  letter-spacing: .5px;
  font-size: clamp(20px, 3.5vw, 42px);
  padding: 8px 10px 12px;
}

/* Responsivo: un poco más de alto en móviles */
@media (max-width: 991px) {
  .powerbi-hero {
    background-position: 20% center;
  }

  .powerbi-hero .hero-inner {
    min-height: 280px;
  }
}

/*--------------------------------------------------------------
  Profesores, soporte y plataforma (mejorado)
--------------------------------------------------------------*/
.features {
  background: #2FB256;
  width: 100%;
  min-height: 210px;
  /* permite crecer si hace falta */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.features-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 28px 48px;
  /* row-gap / column-gap (ajustado) */
  align-items: center;
  justify-items: center;
  max-width: 1100px;
  width: 100%;
}

.feature-item {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 6px;
  /* poco espacio entre icono y texto */
  text-align: center;
  color: #fff;
}

.feature-item img {
  width: 78px;
  height: auto;
  display: block;
}

.feature-item p {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.15;
}

/* Tablets */
@media (max-width: 992px) {
  .features {
    min-height: unset;
    padding: 18px 12px;
  }

  .features-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 24px;
  }

  .feature-item img {
    width: 68px;
  }

  .feature-item p {
    font-size: 15.5px;
  }
}


@media (max-width: 768px) {
  .features {
    padding: 14px 10px;
  }

  .features-container {
    grid-template-columns: 1fr;
    row-gap: 12px;
    column-gap: 0;
  }

  .feature-item {
    gap: 4px;
  }

  .feature-item img {
    width: 56px;
  }

  .feature-item p {
    font-size: 13.5px;
    line-height: 1.12;
  }
}

/* Extra-pequeños */
@media (max-width: 480px) {
  .features-container {
    row-gap: 10px;
  }

  .feature-item img {
    width: 52px;
  }

  .feature-item p {
    font-size: 12.8px;
  }
}



/*--------------------------------------------------------------
# Cursos Populares
--------------------------------------------------------------*/
.courses .course-item {
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 5px;
}

.courses .course-content {

  padding: 15px;
}

.courses .course-content h3 {
  font-weight: 700;
  font-size: 20px;
  color: #2FB357;
}

.courses .course-content h3 a {
  font-family: "Montserrat", sans-serif;
  color: #2FB357;
  transition: 0.3s;
  text-transform: uppercase;
  font-weight: 700;
}

.courses .course-content h3 a:hover {
  color: var(--accent-color);
}

.courses .course-content .description {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-style: bold;
  /* Ojo: no es necesario, ya lo hace el font-weight */
  line-height: 100%;
  color: #000000;

}

.courses .course-content .description span {
  font-weight: bold;
}

.courses .course-content .category {
  background: var(--accent-color);
  color: var(--contrast-color);
  font-size: 14px;
  padding: 6px 14px;
  margin: 0;
  border-radius: 5px;
}

.courses .course-content .price {
  margin: 0;
  font-weight: 700;
  font-size: 18px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}


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

.courses .trainer .trainer-profile img {
  max-width: 50px;
  border-radius: 50px;
}

.courses .trainer .trainer-profile .trainer-link {
  padding-left: 10px;
  font-weight: 600;
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.courses .trainer .trainer-profile .trainer-link:hover {
  color: var(--accent-color);
}

.courses .trainer .trainer-rank {
  font-size: 18px;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.courses .trainer .trainer-rank .user-icon {
  font-size: 22px;
}

/* Botón Inscribirme */
.btn-inscribirmer {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 210px;
  height: 40px;
  margin: 12px 0;
  background: linear-gradient(90deg, #05C095, #00AD85);
  border-radius: 40px;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn-inscribirmer:hover {
  opacity: 0.9;
  transform: scale(1.05);
  color: #ffffff;
}

.btn-inscribirmer .whatsapp-logo {
  width: 18px;
  height: 18px;
  margin-right: 8px;
}

/*--------------------------------------------------------------
# Docente
--------------------------------------------------------------*/
.docente-hero {
  position: relative;
  padding: 100px 0;
  /* alto del banner */
  background-color: #2FB256;
  background-image: url("../img/excel/vver3.png");
  /* ruta correcta desde assets/css */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.docente-hero .hero-inner {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
}

.docente-hero .hero-text {
  margin-left: 650px;
  /* contenido a la derecha */
  max-width: 720px;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
}

.docente-hero .hero-text .label {
  margin: 0 0 6px 0;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  position: relative;
}

.docente-hero .hero-text .label::after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 2px;
  width: 52px;
  margin-left: 8px;
  background: #fff;
  opacity: .9;
}

.docente-hero .hero-text h2 {
  font-weight: 800;
  font-size: 48px;
  line-height: 1.1;
  margin: 0 0 10px 0;
}

.docente-hero .hero-text .subtitle {
  font-size: clamp(14px, 1.4vw, 18px);
  line-height: 1.35;
  margin: 0 0 18px 0;
  color: #eafaf6;
}

/* Botón LinkedIn (pill) */
.btn-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;

  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;

  transition: transform .15s ease, opacity .2s ease, box-shadow .2s ease;
}

.btn-linkedin .linkedin-logo {
  width: 30px;
  height: 30px;
}

/* Responsivo */
@media (max-width: 991px) {
  .docente-hero .hero-inner {
    min-height: 280px;
  }
}


/* ============================
   Banner — Cupos Limitados (2 fondos)
============================ */
.limited-banner {
  position: relative;
  padding: 24px 0;
  margin: 30px 0;
  border-radius: 1px;
  overflow: hidden;
  background-color: #2FB357;
  background-image: url("../img/excel/vec_1.png"), url("../img/excel/vec_2.png");
  background-repeat: no-repeat, no-repeat;
  background-position: left center, right center;
  background-size: auto 100%, auto 100%;
}

/* Overlay sutil para contraste del texto */


/* Contenido */
.limited-container {
  position: relative;
  /* para estar por encima del overlay */
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 18px;
  text-align: center;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
}

.limited-title {
  margin: 0 0 6px 0;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .4px;
  line-height: 1.12;
  font-size: 46px;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
}

.limited-title .emoji {
  font-size: .9em;
}

.limited-subtitle {
  margin: 4px 0 6px 0;
  font-style: italic;
  font-weight: 600;
  font-size: 24px;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  line-height: 100%;

}

/* Responsivo: reduce el tamaño de las figuras en pantallas pequeñas */
@media (max-width: 768px) {
  .limited-banner {
    background-size: auto 90%, auto 90%;
    background-position: left 40%, right 40%;
  }
}



/* ============================
PRICING — Cards equilibradas
============================ */
/* Fila: respeta orden; cada card mantiene 289x404 píxeles */
.pricing-row-real {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

/* Wrapper: usa el tamaño nativo de la imagen/skin */
.card-skin-wrap {
  position: relative;
  width: 289px;
  /* según tu maqueta */
  height: 404px;
  /* según tu maqueta */
}

.card-skin {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* NO deforma */
  pointer-events: none;
}

/* Capa de contenido (posicionaremos cada elemento con offsets) */
.card-body {
  position: absolute;
  inset: 0;
  font-family: 'Montserrat', sans-serif;
  color: #000;
}

/* ---- Offsets EXACTOS (relativos al card) derivados de tus top/left ---- */
/* Título: top 4889-4852 = 37px; left 285-229 = 56px; ancho 176; alto 29 */
.card-body .title {
  font-family: 'Montserrat', sans-serif;
  position: absolute;
  top: 35px;
  left: 20px;
  width: 250px;
  height: 29px;
  margin: 0;
  font-weight: 800;
  /* ExtraBold */
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #1E8C3F;
  text-align: center;

}

.card-skin-wrap.oferta .title {
  top: 40px;
  /* reafirmo offsets para que quede idéntico */
  left: 20px;
  color: #fff;
  /* título blanco */
  text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
  /* mejor lectura sobre fondo claro */
  text-align: center;
  /* centrado */
}

/* Precio: top 106; left 84; (ligero ángulo opcional) */
.card-body .price {
  position: absolute;
  top: 106px;
  left: 84px;
  display: flex;
  align-items: baseline;
  gap: 4px;
  transform: rotate(-0.15deg);
}

.price .currency {
  font-weight: 700;
  font-size: 24px;
  line-height: 100%;
  color: #000;
}

.price .amount {
  font-weight: 700;
  font-size: 24px;
  line-height: 100%;
  color: #000;
}

.price .period {
  font-weight: 700;
  font-size: 12px;
  line-height: 100%;
  color: #000;
}

/* Kicker “APRENDERÁS/OBTENDRÁS”: top 156; left 87; 15px italic */
.card-body .kicker {
  position: absolute;
  top: 156px;
  left: 87px;
  font-weight: 700;
  font-style: italic;
  font-size: 15px;
  line-height: 100%;
  color: #1E8C3F;
}

/* Lista: top 189; left 67; width 155; line-height 122% */
.card-body .feat {
  position: absolute;
  top: 189px;
  left: 67px;
  width: 155px;
  margin: 0;
  padding-left: 18px;
  list-style: disc;
  font-weight: 500;
  font-style: italic;
  font-size: 15px;
  line-height: 122%;
  color: #000;
}

.card-body .feat li+li {
  margin-top: 4px;
}

/* Botón: top 347; left 31; width 227; height 36; radios 40px */
.card-body .btn-buy {
  position: absolute;
  top: 347px;
  left: 31px;
  width: 227px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 40px;
  background: linear-gradient(90deg, #04D643, #00AD85);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
  /* según maqueta */
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  /* small-caps simulado */
  box-shadow: 0 8px 18px rgba(0, 0, 0, .12);
  transition: transform .15s ease, opacity .2s ease;
}

.card-body .btn-buy:hover {
  transform: translateY(-1px);
  opacity: .95;
}

/* Responsive: apila sin deformar skins (mantiene 289x404 con escala) */
@media (max-width: 992px) {
  .card-skin-wrap {
    transform: scale(0.94);
    transform-origin: top left;
  }
}

@media (max-width: 576px) {
  .card-skin-wrap {
    transform: scale(0.88);
  }
}


/* ============================
   Banner UBÍCANOS EN
============================ */
.ubicacion-banner {
  position: relative;
  padding: 36px 0;

  overflow: hidden;
  background-color: #2FB256;
  /* respaldo */
  background-image: url("../img/excel/soplo.png");
  /* fondo */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 1px 12px 2px 0px rgba(0, 0, 0, .10);
}

.ubicacion-banner .ub-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  /* centra texto + mapa */
  gap: 56px;
}

/* --------- Columna de texto --------- */
.ubicacion-banner .ub-text {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .12);
}

.ubicacion-banner .ub-title {
  margin: 0 0 8px 0;
  font-weight: 900;
  /* Black */
  font-size: clamp(28px, 6vw, 57px);
  line-height: 100%;
  text-transform: uppercase;
  color: #FFFFFF;
}

.ubicacion-banner .ub-city {
  margin: 0 0 12px 0;
  font-weight: 700;
  /* Bold */
  font-size: clamp(20px, 4.5vw, 40px);
  line-height: 100%;
  text-transform: uppercase;
  color: #FFFFFF;
}

.ubicacion-banner .ub-address {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 500;
  /* Medium */
  font-size: clamp(12px, 1.3vw, 14px);
  line-height: 100%;
  color: #FFFFFF;
}

.ubicacion-banner .ub-address .ub-pin {
  width: 16px;
  height: 20px;
  object-fit: contain;
}

/* --------- Columna del mapa --------- */
.ubicacion-banner .ub-map {
  position: relative;
  width: clamp(220px, 26vw, 264px);
  /* 264x329 aprox */
  aspect-ratio: 264 / 329;
  flex: 0 0 auto;
}

.ubicacion-banner .ub-map .peru {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
}

/* Vector amarillo (lima.png) */
.ubicacion-banner .ub-map .lima-vector {
  position: absolute;
  top: 42.7%;
  left: 23.4%;
  width: 19.7%;
  aspect-ratio: 44.5 / 58.5958;
  /*background: url("../img/excel/vector_4.png") center / contain no-repeat;*/
  border: none;
  box-shadow: none;
  transform: rotate(11deg);
}

/* Pin rojo (gps_icon.png) */
.ubicacion-banner .ub-map .gps {
  position: absolute;
  top: 41.1%;
  left: 30.6%;
  width: 10.6%;
  height: 10.6%;
  object-fit: contain;
}

/* Etiqueta “Lima” */
.ubicacion-banner .ub-map .lima-label {
  position: absolute;
  top: 56.9%;
  left: 29.5%;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(8px, .7vw, 9px);
  line-height: 100%;
  text-transform: uppercase;
  color: #1E8C3F;
}

/* --------- Responsivo --------- */
@media (max-width: 992px) {
  .ubicacion-banner .ub-inner {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }

  .ubicacion-banner .ub-address {
    justify-content: center;
  }

  .ubicacion-banner .ub-map .lima-vector {
    position: absolute;
    top: 42.7%;
    left: 21.4%;
    width: 20.7%;
    aspect-ratio: 44.5 / 58.5958;
    /*background: url("../img/excel/vector_4.png") center / contain no-repeat;*/
    border: none;
    box-shadow: none;
    transform: rotate(11deg);
  }

}




/* =====================================================
   CONTACTO
===================================================== */

/* Contenedor general */
.contact-section {
  font-family: 'Montserrat', sans-serif;
  background: #fff;
  border-top: 6px solid #2FB256;
  border-bottom: 6px solid #2FB256;
}

/* Grid de dos columnas + espacio para la burbuja derecha */
.contact-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0px;
  padding: 28px 0px 36px 0px;
  align-items: center;

}

/* ========================
   Columna izquierda (info)
======================== */
.contact-info {
  justify-self: center;
  /* centrada dentro de su pista */
  width: 10%;
  max-width: 100px;
  display: grid;
  gap: 22px;
  align-items: center;
  padding-bottom: 90px;
  padding-left: 150px;
}

.info-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: center;
}

.ellipse {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #2FB256;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
}

.ellipse img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  /* icono en blanco */
}

.info-text h4 {
  margin: 0 0 2px 0;
  font-size: 16px;
  font-weight: 700;
  /* Bold */
  color: #000000;
}

.info-text p {
  margin: 0;
  font-size: 14px;
  color: #003E13;
  line-height: 100%;
  font-weight: 500;
  /* Medium */
}

/* ========================
   Formulario (derecha)
======================== */
.contact-form {
  justify-self: end;
  /* alineado al borde derecho de su pista */
  width: 100%;
  max-width: 640px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form input, select,
.contact-form textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #CACACA;
  border-radius: 10px;
  padding: 12px 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  color: #003E13;
  box-shadow: 0 5px 4px rgba(0, 0, 0, .08);
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #003E13;
  font-weight: 500;
  line-height: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #2FB256;
  box-shadow: 0 0 0 3px rgba(47, 178, 86, .15);
}

.contact-form textarea {
  grid-column: 1 / -1;
  /* ocupa las dos columnas */
  resize: vertical;
  height: 115px;
}

.btn-enviar {
  grid-column: 1 / -1;
  justify-self: center;
  min-width: 160px;
  height: 40px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: #2FB256;
  color: #fff;
  font-weight: 700;
  letter-spacing: .2px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
  transition: transform .15s ease, opacity .2s ease;
}

.btn-enviar:hover {
  transform: translateY(-1px);
  opacity: .95;
}

/* ========================
   Burbuja de WhatsApp (derecha)
======================== */
.wa-bubble {
  position: absolute;
  right: -30px;
  top: 40%;
  transform: translateY(-50%);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #2FB256;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
  text-decoration: none;
  z-index: 2;
  /* por si se superpone al form */
  transition: transform .15s ease, opacity .2s ease, box-shadow .2s ease;
  cursor: pointer;
}

.wa-bubble:hover {
  transform: translateY(-50%) scale(1.03);
  opacity: .96;
}

.wa-bubble:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(47, 178, 86, .25);
}

.wa-bubble img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* ========================
   Utilidad accesible
======================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========================
   Responsivo
======================== */

/* Ajustes finos para pantallas medianas */
@media (max-width: 1200px) {
  .contact-wrap {
    padding-right: 150px;
    /* aún reservamos espacio para la burbuja */
  }

  .wa-bubble {
    width: 120px;
    height: 120px;
  }

  .wa-bubble img {
    width: 60px;
    height: 60px;
  }
}

/* En una columna: todo centrado y la burbuja va debajo */
@media (max-width: 992px) {
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 18px 28px;
    /* sin reserva a la derecha */
  }

  .contact-info {
    justify-self: center;
    max-width: 520px;
    padding-left: 0px;
    padding-bottom: 0px;
  }

  .contact-form {
    justify-self: center;
    max-width: 520px;
    grid-template-columns: 1fr;
    /* inputs apilados */
  }

  .contact-form textarea {
    grid-column: auto;
  }

  .wa-bubble {
    position: static;
    transform: none;
    margin: 12px auto 0;
    /* centrada abajo */
  }
}

/* Móviles pequeños */
@media (max-width: 480px) {
  .info-item {
    grid-template-columns: 44px 1fr;
  }

  .ellipse {
    width: 44px;
    height: 44px;
  }

  .ellipse img {
    width: 22px;
    height: 22px;
  }
}

/*--------------------------------------------------------------
# About Us Section
--------------------------------------------------------------*/
.about-us .content h3 {
  font-size: 2rem;
  font-weight: 700;
}

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

.about-us .content ul li {
  padding-bottom: 10px;
}

.about-us .content ul i {
  font-size: 1.25rem;
  margin-right: 4px;
  color: var(--accent-color);
}

.about-us .content p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonial-wrap {
  padding-left: 50px;
}

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

.testimonials .testimonial-item {
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  box-sizing: content-box;
  padding: 30px 30px 30px 60px;
  margin: 30px 15px;
  min-height: 200px;
  position: relative;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 10px;
  border: 6px solid var(--background-color);
  position: absolute;
  left: -45px;
}

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

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

.testimonials .testimonial-item .stars {
  margin: 10px 0;
}

.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 60%);
  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: 15px 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: var(--background-color);
  opacity: 1;
  border: 1px solid var(--accent-color);
}

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

@media (max-width: 767px) {
  .testimonials .testimonial-wrap {
    padding-left: 0;
  }

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

  .testimonials .testimonial-item {
    padding: 30px;
    margin: 15px;
  }

  .testimonials .testimonial-item .testimonial-img {
    position: static;
    left: auto;
  }
}

/*--------------------------------------------------------------
# Course Details Section
--------------------------------------------------------------*/
.course-details .course-header {
  margin-bottom: 40px;
}

.course-details .course-header .course-image {
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
}

.course-details .course-header .course-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.course-details .course-header .course-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

@media (max-width: 768px) {
  .course-details .course-header .course-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

.course-details .course-header .instructor {
  display: flex;
  align-items: center;
  gap: 15px;
}

.course-details .course-header .instructor .instructor-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.course-details .course-header .instructor .instructor-info h6 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--heading-color);
}

.course-details .course-header .instructor .instructor-info span {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.course-details .course-header .course-stats {
  display: flex;
  gap: 25px;
}

@media (max-width: 576px) {
  .course-details .course-header .course-stats {
    flex-wrap: wrap;
    gap: 15px;
  }
}

.course-details .course-header .course-stats .stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--default-color);
}

.course-details .course-header .course-stats .stat-item i {
  color: var(--accent-color);
}

.course-details .course-content {
  margin-bottom: 50px;
}

.course-details .course-content h2 {
  font-size: 32px;
  margin-bottom: 25px;
  color: var(--heading-color);
}

@media (max-width: 768px) {
  .course-details .course-content h2 {
    font-size: 26px;
  }
}

.course-details .course-content .course-description {
  margin-bottom: 40px;
}

.course-details .course-content .course-description p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
  color: var(--default-color);
}

.course-details .course-content .what-you-learn {
  background-color: var(--surface-color);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.course-details .course-content .what-you-learn h3 {
  font-size: 24px;
  margin-bottom: 25px;
  color: var(--heading-color);
}

.course-details .course-content .what-you-learn .learn-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.course-details .course-content .what-you-learn .learn-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--default-color);
}

.course-details .course-content .what-you-learn .learn-list li i {
  color: var(--accent-color);
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.course-details .course-curriculum {
  margin-bottom: 50px;
}

.course-details .course-curriculum h3 {
  font-size: 24px;
  margin-bottom: 30px;
  color: var(--heading-color);
}

.course-details .course-curriculum .curriculum-section {
  margin-bottom: 25px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 8px;
  overflow: hidden;
}

.course-details .course-curriculum .curriculum-section .section-header {
  background-color: var(--surface-color);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

@media (max-width: 576px) {
  .course-details .course-curriculum .curriculum-section .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

.course-details .course-curriculum .curriculum-section .section-header h4 {
  font-size: 18px;
  margin: 0;
  color: var(--heading-color);
}

.course-details .course-curriculum .curriculum-section .section-header .lessons-count {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.course-details .course-curriculum .curriculum-section .lessons {
  padding: 0;
}

.course-details .course-curriculum .curriculum-section .lessons .lesson-item {
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 95%);
  transition: background-color 0.3s;
}

.course-details .course-curriculum .curriculum-section .lessons .lesson-item:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
}

.course-details .course-curriculum .curriculum-section .lessons .lesson-item:last-child {
  border-bottom: none;
}

.course-details .course-curriculum .curriculum-section .lessons .lesson-item .lesson-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.course-details .course-curriculum .curriculum-section .lessons .lesson-item .lesson-info i {
  color: var(--accent-color);
  font-size: 18px;
}

.course-details .course-curriculum .curriculum-section .lessons .lesson-item .lesson-info span {
  font-size: 15px;
  color: var(--default-color);
}

.course-details .course-curriculum .curriculum-section .lessons .lesson-item .lesson-duration {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-weight: 500;
}

.course-details .course-sidebar {
  position: sticky;
  top: 100px;
}

.course-details .course-sidebar .pricing-card {
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  margin-bottom: 30px;
  box-shadow: 0 5px 20px color-mix(in srgb, var(--default-color), transparent 90%);
}

.course-details .course-sidebar .pricing-card .price {
  margin-bottom: 10px;
}

.course-details .course-sidebar .pricing-card .price .currency {
  font-size: 24px;
  font-weight: 600;
  color: var(--accent-color);
  vertical-align: top;
}

.course-details .course-sidebar .pricing-card .price .amount {
  font-size: 48px;
  font-weight: 700;
  color: var(--accent-color);
}

.course-details .course-sidebar .pricing-card .price .period {
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.course-details .course-sidebar .pricing-card .original-price {
  font-size: 18px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  text-decoration: line-through;
  margin-bottom: 25px;
}

.course-details .course-sidebar .pricing-card .course-features {
  margin-bottom: 30px;
}

.course-details .course-sidebar .pricing-card .course-features .feature {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  text-align: left;
}

.course-details .course-sidebar .pricing-card .course-features .feature i {
  color: var(--accent-color);
  font-size: 16px;
  width: 16px;
}

.course-details .course-sidebar .pricing-card .course-features .feature span {
  font-size: 14px;
  color: var(--default-color);
}

.course-details .course-sidebar .pricing-card .btn-enroll {
  width: 100%;
  padding: 15px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  transition: all 0.3s;
}

.course-details .course-sidebar .pricing-card .btn-enroll:hover {
  background-color: color-mix(in srgb, var(--accent-color), black 10%);
  transform: translateY(-2px);
}

.course-details .course-sidebar .pricing-card .btn-preview {
  width: 100%;
  padding: 15px;
  background-color: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s;
}

.course-details .course-sidebar .pricing-card .btn-preview:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

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

.course-details .course-sidebar .course-info-card h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--heading-color);
}

.course-details .course-sidebar .course-info-card .info-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 95%);
}

.course-details .course-sidebar .course-info-card .info-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.course-details .course-sidebar .course-info-card .info-item .label {
  font-size: 14px;
  font-weight: 600;
  color: var(--default-color);
}

.course-details .course-sidebar .course-info-card .info-item .value {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.course-details .course-sidebar .course-tags {
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 12px;
  padding: 25px;
}

.course-details .course-sidebar .course-tags h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--heading-color);
}

.course-details .course-sidebar .course-tags .tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.course-details .course-sidebar .course-tags .tags-list .tag {
  padding: 6px 12px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.3s;
}

.course-details .course-sidebar .course-tags .tags-list .tag:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

@media (max-width: 768px) {
  .course-details .course-sidebar {
    position: static;
    margin-top: 40px;
  }
}

/*--------------------------------------------------------------
# Tabs Section
--------------------------------------------------------------*/
.tabs {
  padding-top: 30;
}

.tabs .nav-tabs {
  border: 0;
}

.tabs .nav-link {
  background-color: var(--background-color);
  border: 0;
  padding: 12px 15px;
  transition: 0.3s;
  color: var(--default-color);
  border-radius: 0;
  border-right: 2px solid color-mix(in srgb, var(--default-color), transparent 90%);
  font-weight: 600;
  font-size: 15px;
}

.tabs .nav-link:hover {
  color: var(--accent-color);
}

.tabs .nav-link.active {
  background-color: var(--surface-color);
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.tabs .tab-pane.active {
  animation: fadeIn 0.5s ease-out;
}

.tabs .details h3 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 20px;
}

.tabs .details p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.tabs .details p:last-child {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .tabs .nav-link {
    border: 0;
    padding: 15px;
  }

  .tabs .nav-link.active {
    color: var(--accent-color);
    background: var(--accent-color);
  }
}

/*--------------------------------------------------------------
# Trainers Section
--------------------------------------------------------------*/
.trainers .member {
  position: relative;
}

.trainers .member .member-img {
  margin: 0 80px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
}

@media (max-width: 1024px) {
  .trainers .member .member-img {
    margin: 0 60px;
  }
}

.trainers .member .member-img img {
  position: relative;
  z-index: 1;
}

.trainers .member .member-img .social {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  padding-bottom: 20px;
  transition: 0.3s;
  visibility: hidden;
  opacity: 0;
}

.trainers .member .member-img .social a {
  transition: 0.3s;
  color: var(--contrast-color);
  font-size: 20px;
  margin: 0 8px;
}

.trainers .member .member-img .social a:hover {
  color: var(--accent-color);
}

.trainers .member .member-info {
  margin-top: 30px;
}

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

.trainers .member .member-info span {
  font-style: italic;
  display: block;
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 10px;
}

.trainers .member .member-info p {
  margin-bottom: 0;
  font-size: 14px;
}

.trainers .member:hover .member-img .social {
  padding-bottom: 0;
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Events Section
--------------------------------------------------------------*/
.events .card {
  background-color: var(--background-color);
  border: 0;
  padding: 0 30px;
  margin-bottom: 60px;
  position: relative;
}

.events .card-img {
  width: calc(100% + 60px);
  margin-left: -30px;
  overflow: hidden;
  z-index: 9;
  border-radius: 0;
}

.events .card-img img {
  max-width: 100%;
  transition: all 0.3s ease-in-out;
}

.events .card-body {
  z-index: 10;
  background: var(--surface-color);
  border-top: 4px solid var(--surface-color);
  padding: 30px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  margin-top: -60px;
  transition: 0.3s;
}

.events .card-title {
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}

.events .card-title a {
  color: var(--default-color);
  transition: 0.3s;
}

.events .card-text {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.events .card:hover img {
  transform: scale(1.1);
}

.events .card:hover .card-body {
  border-color: var(--accent-color);
}

.events .card:hover .card-body .card-title a {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}

.pricing .pricing-item h3 {
  margin: -20px -20px 20px -20px;
  padding: 20px 15px;
  font-size: 16px;
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  background: color-mix(in srgb, var(--default-color), transparent 95%);
}

.pricing .pricing-item h4 {
  font-size: 36px;
  font-weight: 600;
  font-family: var(--heading-font);
}

.pricing .pricing-item h4 sup {
  font-size: 20px;
  top: -15px;
  left: -3px;
}

.pricing .pricing-item h4 span {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 16px;
  font-weight: 300;
}

.pricing .pricing-item ul {
  padding: 15px 0;
  list-style: none;
  text-align: center;
  line-height: 20px;
  font-size: 14px;
}

.pricing .pricing-item ul li {
  padding-bottom: 16px;
}

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

.pricing .pricing-item ul .na {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  text-decoration: line-through;
}

.pricing .btn-wrap {
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  margin: 0 -20px -20px -20px;
  padding: 20px 15px;
  text-align: center;
}

.pricing .btn-buy {
  background: var(--accent-color);
  color: var(--contrast-color);
  display: inline-block;
  padding: 8px 35px 10px 35px;
  border-radius: 4px;
  font-size: 14px;
  font-family: var(--heading-font);
  font-weight: 600;
  transition: 0.3s;
}

.pricing .btn-buy:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.pricing .featured h3 {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.pricing .advanced {
  background: var(--accent-color);
  color: var(--contrast-color);
  width: 200px;
  position: absolute;
  top: 18px;
  right: -68px;
  transform: rotate(45deg);
  z-index: 1;
  font-size: 14px;
  padding: 1px 0 3px 0;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
  padding-top: 8px;
  padding-bottom: 40px;
}

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

.contact .info-item i {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 20px;
  width: 48px;
  height: 48px;
  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 .php-email-form {
  height: 100%;
}

.php-email-form input,
.php-email-form select,
.php-email-form textarea  {
  font-size: 16px;
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  padding: 10px 15px;
  box-shadow: 0 5px 4px rgba(0, 0, 0, .08);
  color: var(--default-color);
  background: #fff;
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
    outline: none;
}

.php-email-form input:focus,
.php-email-form select:focus,
.php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.php-email-form input::placeholder,
.php-email-form select::placeholder,,
.php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.php-email-form button[type="submit"] {
  color: var(--contrast-color);
  background: #2FB256;
  border: 0;
  padding: 10px 30px 12px 30px;
  transition: 0.4s;
  border-radius: 50px;
  min-width: 160px;
  font-weight: 700;
}

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

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/

/* ============================================================
   RESPONSIVE – Ajustes finales y correcciones
   (añadir al FINAL del CSS existente)
============================================================ */

/* ---------- 0) Resets y helpers generales ---------- */
img,
svg,
video {
  max-width: 100%;
  height: auto;
}

/* ---------- 1) ABOUT – móviles ---------- */
@media (max-width: 576px) {
  .about {
    padding: 36px 0;
    justify-content: stretch;
  }

  .about .container {
    padding: 0 16px;
  }

  .about-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 40px;
  }

  .about-img {
    max-height: 240px;
    border-radius: 10px;
    object-fit: cover;
  }

  .about .content h3 {
    font-size: 28px;
    line-height: 115%;
    margin-bottom: 10px;
  }

  .about .content p {
    font-size: 15px;
    margin-bottom: 14px;
  }

  .about .content ul {
    margin-bottom: 14px;
  }

  .about .content ul li {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .about .content ul li img {
    width: 18px;
    margin-right: 8px;
    margin-top: 2px;
  }

  .about .content .read-more {
    width: 100%;
    justify-content: center;
    font-size: 16px;
    padding: 12px 18px;
    margin-bottom: 12px;
  }
}

@media (max-width: 400px) {
  .about .content h3 {
    font-size: 24px;
  }

  .about-img {
    max-height: 200px;
  }
}

/* ---------- 2) HERO POWER BI ---------- */
@media (max-width: 768px) {
  .powerbi-hero {
    background-position: 20% center;
    background-image: none;
  }

  .powerbi-hero .hero-inner {
    min-height: 260px;
  }

  .powerbi-hero .hero-text {
    margin: 0 auto;
    text-align: center;
    max-width: 540px;
  }

  .btn-inscribirme {
    width: 100%;
    max-width: 360px;
    height: 52px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ---------- BANNER DOCENTE ---------- */
@media (max-width: 768px) {
  .docente-hero {
    padding: 60px 0 16px;
    background-position: 35% 100%;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .docente-hero .hero-inner {
    min-height: 360px;
    display: flex;
    align-items: flex-end;
  }

  .docente-hero .hero-text {
    text-align: center;
    position: relative;
    z-index: 1;
    display: inline-block;
    margin: 0 auto 16px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, .45);
    color: #fff;
    border: 2px solid #fff;
    border-radius: 14px;
    width: max-content;
    max-width: calc(100% - 32px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .18);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }

  .docente-hero .hero-text h2 {
    font-size: 20px;
    line-height: 1.15;
    margin: 0 0 8px;
  }

  .docente-hero .hero-text .label {
    font-size: 12px;
    letter-spacing: .6px;
    margin: 0 0 6px;
  }


  .docente-hero .hero-text .label::after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    height: 2px;
    width: 52px;
    margin-left: 8px;
    background: #5fcf80;
    opacity: .9;
  }

  .docente-hero .hero-text .subtitle {
    display: none;

  }

  .btn-linkedin {
    height: 36px;
    font-size: 15px;
  }


}

@media (max-width: 576px) {
  .docente-hero {
    background-position: 35% 92%;
    padding-bottom: 12px;
  }

  .docente-hero .hero-inner {
    min-height: 380px;
  }

  .docente-hero .hero-text h2 {
    font-size: 20px;
  }

  .docente-hero .hero-text .label {
    font-size: 11px;
  }
}

/* ---------- 4) BANNER CUPOS LIMITADOS ---------- */
@media (max-width: 768px) {
  .limited-banner {
    background-size: 25% 75%, 25% 75%;
    background-position: left 40%, right 40%;
  }

  .limited-title {
    font-size: clamp(26px, 6vw, 34px);
  }

  .limited-subtitle {
    font-size: 18px;
  }
}

/* ---------- PRICING ---------- */


@media (max-width: 992px) {
  .card-skin-wrap {
    transform: scale(.94);
    transform-origin: top center;
  }
}

@media (max-width: 768px) {
  .card-skin-wrap {
    transform: scale(.9);
    transform-origin: top center;
  }
}

@media (max-width: 576px) {
  .card-skin-wrap {
    transform: scale(.86);
    transform-origin: top center;
  }
}

@media (max-width: 420px) {
  .card-skin-wrap {
    transform: scale(.8);
    transform-origin: top center;
  }
}

/* ---------- 6) UBÍCANOS EN ---------- */
@media (max-width: 992px) {
  .ubicacion-banner .ub-inner {
    flex-direction: column;
    gap: 28px;
    text-align: center;
  }

  .ubicacion-banner .ub-address {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .ubicacion-banner {
    padding: 28px 0;
  }

  .ubicacion-banner .ub-title {
    font-size: clamp(24px, 7vw, 34px);
  }

  .ubicacion-banner .ub-city {
    font-size: clamp(18px, 6vw, 26px);
  }

  .ubicacion-banner .ub-map {
    width: clamp(200px, 62vw, 260px);
  }
}

/* ---------- CONTACTO ---------- */
.contact-info {
  justify-self: stretch;
  width: 100%;
  max-width: none;
  padding-bottom: 0;
}

.contact-form {
  justify-self: stretch;
}

@media (max-width: 992px) {
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 18px 28px;
  }

  .contact-info,
  .contact-form {
    justify-self: center;
    max-width: 520px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form textarea {
    grid-column: auto;
  }

  .wa-bubble {
    position: static;
    transform: none;
    margin: 12px auto 0;
  }
}

@media (max-width: 480px) {
  .info-item {
    grid-template-columns: 44px 1fr;
  }

  .ellipse {
    width: 44px;
    height: 44px;
  }

  .ellipse img {
    width: 22px;
    height: 22px;
  }
}

/* ---------- 8) HERO (portada) ---------- */
@media (max-width: 991px) {
  .hero {
    min-height: auto;
    padding: 25px 0;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 15px;
  }

  .hero-text h2 {
    font-size: 30px;
  }

  .hero-image img {
    max-width: 200px;
  }
}

@media (max-width: 576px) {
  .hero .btn-get-started {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- 9) FEATURES (barra verde de 3 iconos) ---------- */
@media (max-width: 992px) {
  .features {
    height: auto;
  }

  .features-container {
    gap: 50px;
  }

  .feature-item img {
    width: 70px;
  }

  .feature-item p {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .features-container {
    flex-direction: column;
    gap: 30px;
  }

  .feature-item img {
    width: 60px;
  }

  .feature-item p {
    font-size: 14px;
  }
}

/* ---------- 10) FOOTER ESAC ---------- */
@media (max-width: 992px) {
  .footer-esac .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-esac .foot-col.left .desc {
    max-width: none;
  }

  .footer-esac .strip-inner {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }
}

@media (max-width: 576px) {
  .footer-esac .foot-col .title {
    font-size: 16px;
  }

  .footer-esac .schedule {
    font-size: 13px;
  }

  .footer-esac .strip-left a {
    display: inline-block;
    margin: 2px 6px;
  }
}

/* ---------- 11) CURSOS POPULARES ---------- */
@media (max-width: 576px) {
  .courses .course-content {
    padding: 12px;
  }

  .courses .course-content .description {
    font-size: 13px;
  }

  .btn-inscribirmer {
    width: 100%;
    max-width: 240px;
  }
}


/* ===== WhatsApp bubble — pulso continuo ===== */
.wa-bubble {
  animation: wa-pulse 1.9s ease-in-out infinite;
  will-change: transform, box-shadow;
}

/* Halo/ring expansivo */
.wa-bubble::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(47, 178, 86, .35);
  pointer-events: none;
  animation: wa-ring 2.2s ease-out infinite;
}

.wa-bubble:hover {
  animation: wa-pulse-strong 1.2s ease-in-out infinite;
}

/* Animaciones desktop/tablet (mantienen translateY(-50%) del layout) */
@keyframes wa-pulse {

  0%,
  100% {
    transform: translateY(-50%) scale(1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
  }

  50% {
    transform: translateY(calc(-50% - 2px)) scale(1.06);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
  }
}

@keyframes wa-pulse-strong {

  0%,
  100% {
    transform: translateY(-50%) scale(1.02);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .20);
  }

  50% {
    transform: translateY(calc(-50% - 3px)) scale(1.09);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .24);
  }
}

/* Halo expansivo */
@keyframes wa-ring {
  0% {
    opacity: .55;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

/* Móvil: la burbuja es estática (sin translateY), solo palpita/escala */
@media (max-width: 992px) {
  .wa-bubble {
    animation: wa-pulse-mobile 1.9s ease-in-out infinite;
  }

  .wa-bubble:hover {
    animation: wa-pulse-mobile-strong 1.2s ease-in-out infinite;
  }

  @keyframes wa-pulse-mobile {

    0%,
    100% {
      transform: scale(1);
      box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
    }

    50% {
      transform: scale(1.06);
      box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
    }
  }

  @keyframes wa-pulse-mobile-strong {

    0%,
    100% {
      transform: scale(1.02);
      box-shadow: 0 8px 22px rgba(0, 0, 0, .20);
    }

    50% {
      transform: scale(1.1);
      box-shadow: 0 10px 26px rgba(0, 0, 0, .24);
    }
  }
}

/* Accesibilidad: respeta "reducir movimiento" del SO */
@media (prefers-reduced-motion: reduce) {

  .wa-bubble,
  .wa-bubble::after {
    animation: none !important;
  }
}

/* Boton para el encabezado*/
/* HERO: en móvil, ordena: título → párrafo → imagen → CTA */
@media (max-width: 976px) {
  .hero-content {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "subtitle"
      "image"
      "cta";
    row-gap: 12px;
    text-align: center;
    /* opcional: centra el texto */
  }

  /* Hace que h2, p y a sean items del grid (SIN cambiar HTML) */
  .hero-text {
    display: contents;
  }

  .hero-text h2 {
    grid-area: title;
    margin-bottom: 8px;

  }

  .hero-text p {
    grid-area: subtitle;
    margin: 0;
  }

  /* El botón queda debajo de la imagen */
  .hero-text .btn-get-started {
    grid-area: cta;
    justify-self: center;
    margin-top: 6px;
    font-size: 18px;
  }

  .hero-image {
    grid-area: image;
    justify-self: center;
  }
}


/* HERO (móvil): anima título, párrafo y botón con un "fade-up" secuencial */
@media (max-width: 991px) {

  /* Estado inicial */
  .hero-text h2,
  .hero-text p,
  .hero-text .btn-get-started {
    opacity: 0;
    transform: translateY(16px);
    animation: heroFadeUp .7s ease forwards;
    will-change: transform, opacity;
  }

  /* Tiempos escalonados */
  .hero-text h2 {
    animation-delay: .15s;
  }

  .hero-text p {
    animation-delay: .35s;
  }

  .hero-text .btn-get-started {
    animation-delay: .55s;
  }

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

/* Respeta usuarios con “reducir movimiento” */
@media (prefers-reduced-motion: reduce) {

  .hero-text h2,
  .hero-text p,
  .hero-text .btn-get-started {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}


/* WhatsApp flotante SIEMPRE visible */
/* === WhatsApp flotante: más grande + aro gris, siempre visible === */
#scroll-wa{
  position: fixed;
  right: 15px;
  bottom: calc(15px + env(safe-area-inset-bottom));
  z-index: 99998;

  width: 80px;
  height: 80px;
  border: 5px solid #E0E0E0;
  border-radius: 50%;
  background: #25D366;                 /* verde WhatsApp */
  display: grid;
  place-items: center;


  transition: bottom .2s ease, transform .15s ease, box-shadow .2s ease;


  box-shadow: 
    0 14px 28px rgba(0,0,0,.28),   /* sombra principal */
    0 6px 12px rgba(0,0,0,.12);     /* sombra suave de apoyo */
}

#scroll-wa img{
  width: 60%;               /* ajusta el logo dentro del botón */
  height: 60%;
  object-fit: contain;
  filter: brightness(0) invert(1); /* logo blanco si es PNG verde */
}

#scroll-wa:hover{
  transform: translateY(-2px);
  box-shadow:
    0 18px 38px rgba(0,0,0,.34),
    0 8px 16px rgba(0,0,0,.16);
}

#scroll-top { bottom: calc(15px + env(safe-area-inset-bottom)); right: 15px; }
#scroll-top.active + #scroll-wa{
  /* 44px = alto del scroll-top; 10px = separación entre botones */
  bottom: calc(15px + 44px + 10px + env(safe-area-inset-bottom));
}

/* Opcional: iPhone safe-area también a la derecha si quieres */
@supports (padding: max(env(safe-area-inset-right), 0px)){
  #scroll-wa, #scroll-top{ right: calc(15px + env(safe-area-inset-right)); }
}

/* === Hover unificado para botones === */

:is(
  .hero .btn-get-started,
  .about .content .read-more,
  .btn-inscribirme,
  .btn-inscribirmer,
  .card-body .btn-buy,
  .btn-linkedin,
  .btn-enviar,
  .scroll-top
){
  transition: transform .2s ease, opacity .2s ease, color .2s ease;
}

/* Hover consistente */
:is(
  .hero .btn-get-started,
  .about .content .read-more,
  .btn-inscribirme,
  .btn-inscribirmer,
  .card-body .btn-buy,
  .btn-linkedin,
  .btn-enviar,
  .scroll-top
):hover{
  opacity: 0.9;
  transform: scale(1.05);
  color: #ffffff;
}

 /* Estilo del contenedor de la imagen */
 
.social-sprite a {
  color: white;  /* Color de los íconos */
  font-size: 25px;  /* Tamaño de los íconos */
  text-decoration: none;
    transition: all 0.3s ease;  /* Suaviza la transición del hover */
}

    .social-sprite a:hover {
      transform: scale(1.1);  /* Aumenta ligeramente el tamaño */
    }

    /* Colores de cada red social en el hover */
    .social-sprite a.facebook:hover {
      color: #3b5998; /* Azul de Facebook */
    }

    .social-sprite a.linkedin:hover {
      color: #0077b5; /* Azul de LinkedIn */
    }

    .social-sprite a.tiktok:hover {
      color: #69c9d0; /* Verde-azul de TikTok */
    }

    .social-sprite a.instagram:hover {
      color: #e4405f; /* Rosa de Instagram */
    }

    .social-sprite a.youtube:hover {
      color: #ff0000; /* Rojo de YouTube */
    }
