/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --heading-font: "Raleway", "Poppins", sans-serif;
  --nav-font: "Poppins", sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #212529; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #2d465e; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #009245; /* 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: #212529;  /* The default color of the main navmenu links */
  --nav-hover-color: #009245; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #212529; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #009245; /* 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);
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  max-height: 70px;
  margin-right: 8px;
  line-height: 1;
}

.header .logo img {
  max-height: 100px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# 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;
    background: #254934;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100vw;
    height: calc(100vh - 70px);
    text-align: center;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.10);
    display: none;
  }

  /* Muestra el menú principal si está activo */
  .navmenu.active {
    display: block !important;
    animation: fadeInDown 0.4s;
  }

  .navmenu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: transparent;
    position: static;
    box-shadow: none;
    width: 100%;
  }

  .navmenu ul li {
    margin: 0 0 12px 0;
  }

  .navmenu ul li a {
    color: #fff;
    display: block;
    padding: 16px 0;
    font-size: 1.15rem;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 5px;
    transition: background 0.25s, color 0.25s;
  }

  .navmenu ul li a:hover,
  .navmenu ul li a:focus {
    background: rgba(0,146,69,0.22);
    color: #39b54a;
  }

  /* Oculta todos los submenús por defecto */
  .navmenu ul ul {
    display: none;
    background: #20522e;
    padding: 0;
    margin: 0;
    border-radius: 0 0 12px 12px;
    position: static;
  }

  /* Muestra submenú solo si el li tiene .open */
  .navmenu .dropdown.open > ul {
    display: block !important;
    background: #20522e !important;
    animation: fadeInDown 0.3s;
    position: static;
    margin: 0;
    width: 100%;
  }

  .navmenu ul ul li a {
    padding-left: 30px;
    font-size: 1rem;
    font-weight: 400;
    color: #fff;
    border-radius: 0;
  }

  /* Desactiva los estilos mobile-nav-active y demás de la plantilla original */
  /* .mobile-nav-active, .mobile-nav-active .mobile-nav-toggle, .mobile-nav-active .navmenu, .mobile-nav-active .navmenu>ul { display: initial !important; background: none !important; position: static !important; box-shadow: none !important; } */
}
@media (max-width: 1199px) {
  .navmenu ul li {
    margin: 0 0 6px 0;
    /* Espaciado más suave */
  }
  .navmenu ul li a {
    color: #f7fff7;
    background: none;
    display: block;
    padding: 13px 0;
    font-size: 1.08rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: 
      background 0.23s, 
      color 0.23s, 
      box-shadow 0.23s;
    letter-spacing: 0.5px;
    box-shadow: none;
  }
  .navmenu ul li a:hover,
  .navmenu ul li a:focus {
    background: rgba(57, 181, 74, 0.18);
    color: #39b54a;
  }
  /* Submenú estético */
  .navmenu .dropdown.open > ul {
    background: linear-gradient(135deg, #191f1c 65%, #254934 100%);
    border-radius: 12px;
    margin: 0 8px 8px 8px;
    box-shadow: 0 6px 24px rgba(32, 80, 55, 0.19);
    padding: 18px 0 12px 0;
    animation: fadeInDown 0.28s;
    border: none;
  }
  .navmenu .dropdown.open > ul > li > a {
    color: #fff;
    font-size: 1.14rem;
    font-weight: 700;
    padding: 12px 32px 12px 28px;
    border-radius: 7px;
    transition: background 0.18s, color 0.18s;
    margin: 0 2px;
    box-shadow: none;
    text-align: left;
    letter-spacing: 0.7px;
  }
  .navmenu .dropdown.open > ul > li > a:hover {
    background: #39b54a;
    color: #fff;
    box-shadow: 0 2px 12px 0 rgba(32, 80, 55, 0.09);
  }
  .navmenu .dropdown > a {
    background: #247948;
    color: #d8ffe5;
    font-size: 1.16rem;
    border-radius: 6px 6px 0 0;
    font-weight: 600;
    transition: background 0.23s, color 0.23s;
  }
  .navmenu .dropdown > a:hover {
    background: #39b54a;
    color: #fff;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  text-align: center;
  padding: 30px 0;
  position: relative;
}

.footer h3 {
  font-size: 36px;
  font-weight: 700;
  position: relative;
  padding: 0;
  margin: 0 0 15px 0;
}

.footer p {
  font-size: 15;
  font-style: italic;
  padding: 0;
  margin: 0 0 30px 0;
}

.footer .social-links {
  margin: 0 0 30px 0;
}

.footer .social-links a {
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: var(--contrast-color);
  line-height: 1;
  margin: 0 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  text-decoration: none;
}

.footer .copyright {
  padding-top: 25px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .credits {
  font-size: 13px;
  padding-top: 5px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  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(--default-color), transparent 95%);
  padding: 20px 0;
}

.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: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  margin-top: 30px;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--background-color), transparent 0%) 0%, color-mix(in srgb, var(--background-color), var(--accent-color) 10%) 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle, color-mix(in srgb, var(--accent-color), transparent 90%) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.5;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero .hero-content {
  padding-right: 2.5rem;
}

@media (max-width: 991px) {
  .hero .hero-content {
    padding-right: 0;
    margin-bottom: 4rem;
    text-align: center;
  }
}

.hero .hero-content .subtitle {
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.hero .hero-content .subtitle span {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 3px;
  padding-bottom: 10px;
  position: relative;
  color: color-mix(in srgb, var(--heading-color), transparent 20%);
}

.hero .hero-content .subtitle span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-color);
}

@media (max-width: 991px) {
  .hero .hero-content .subtitle span::after {
    right: 0;
    margin: 0 auto;
  }
}

.hero .hero-content .title {
  font-size: 4.5rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 2rem;
  letter-spacing: -1px;
  color: var(--heading-color);
}

.hero .hero-content .title .highlight {
  position: relative;
  display: inline-block;
  color: var(--accent-color);
}

.hero .hero-content .title .highlight::after {
  content: "";
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
  z-index: -1;
}

@media (max-width: 1200px) {
  .hero .hero-content .title {
    font-size: 3.8rem;
  }
}

@media (max-width: 991px) {
  .hero .hero-content .title {
    font-size: 3.2rem;
  }
}

@media (max-width: 767px) {
  .hero .hero-content .title {
    font-size: 2.8rem;
  }
}

@media (max-width: 480px) {
  .hero .hero-content .title {
    font-size: 2.4rem;
  }
}

.hero .hero-content .description {
  margin-bottom: 2.5rem;
}

.hero .hero-content .description p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.hero .hero-content .hero-buttons {
  display: flex;
  gap: 1.25rem;
}

@media (max-width: 991px) {
  .hero .hero-content .hero-buttons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero .hero-content .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
}

.hero .hero-content .hero-buttons .primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.hero .hero-content .hero-buttons .primary-btn i {
  margin-left: 8px;
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

.hero .hero-content .hero-buttons .primary-btn:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px color-mix(in srgb, var(--accent-color), transparent 80%);
}

.hero .hero-content .hero-buttons .primary-btn:hover i {
  transform: translateX(4px);
}

.hero .hero-content .hero-buttons .secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 75%);
  background-color: transparent;
  color: var(--default-color);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.hero .hero-content .hero-buttons .secondary-btn:hover {
  border-color: var(--default-color);
  transform: translateY(-3px);
}

.hero .hero-visual {
  position: relative;
}

.hero .hero-visual .image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s ease;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hero .hero-visual .image-wrapper:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.hero .hero-visual .image-wrapper .main-image {
  width: 100%;
  height: auto;
  display: block;
}

.hero .hero-visual .image-wrapper .floating-element {
  position: absolute;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--surface-color), transparent 40%);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  animation: float 6s ease-in-out infinite;
}

.hero .hero-visual .image-wrapper .floating-element i {
  font-size: 1.5rem;
  color: var(--accent-color);
}

.hero .hero-visual .image-wrapper .floating-element.top-left {
  top: -20px;
  left: -20px;
  animation-delay: 0.5s;
}

.hero .hero-visual .image-wrapper .floating-element.bottom-right {
  bottom: -20px;
  right: -20px;
  animation-delay: 1.5s;
}

.hero .hero-visual .image-wrapper .experience-badge {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background-color: color-mix(in srgb, var(--surface-color), transparent 40%);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  min-width: 140px;
}

.hero .hero-visual .image-wrapper .experience-badge .years {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-color);
  line-height: 1;
}

.hero .hero-visual .image-wrapper .experience-badge .text {
  font-size: 0.85rem;
  color: var(--default-color);
  font-weight: 500;
}

.hero .hero-visual .client-counter {
  position: absolute;
  top: 30px;
  right: -30px;
  background-color: var(--surface-color);
  border-radius: 10px;
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 160px;
}

@media (max-width: 991px) {
  .hero .hero-visual .client-counter {
    right: 0;
  }
}

@media (max-width: 767px) {
  .hero .hero-visual .client-counter {
    right: 20px;
  }
}

.hero .hero-visual .client-counter .counter-number span {
  font-size: 2rem;
  font-weight: 800;
  color: var(--heading-color);
}

.hero .hero-visual .client-counter .counter-text span {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0);
  }
}

/* ===== VIDEO SOLO PARA HERO + NAVBAR ===== */

/* Hero section - se extiende hacia arriba para cubrir navbar */
.hero {
  position: relative !important;
  overflow: hidden !important;
  min-height: 100vh !important;
  margin-top: -80px !important;
  padding-top: 80px !important;
}

/* Video container cubre solo el hero (pero extendido hacia arriba) */
.hero-video-container {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important;
}

.hero-background-video {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  width: auto !important;
  height: auto !important;
  transform: translate(-50%, -50%) !important;
  object-fit: cover !important;
}

.hero-overlay {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(0, 0, 0, 0.6) !important;
  z-index: 1 !important;
}

/* Contenido del hero */
.hero .container {
  position: relative !important;
  z-index: 10 !important;
  padding-top: 120px !important;
}

.hero .row {
  position: relative !important;
  z-index: 10 !important;
}

/* ===== DISEÑO DEL HERO ===== */

/* Logo principal - GRANDE */
.logo-main {
  margin-bottom: 40px;
  margin-top: 50px;
}

.hero-logo-main {
  width: 100%;
  max-width: 500px;
  height: auto;
  filter: drop-shadow(2px 2px 8px rgba(0, 0, 0, 0.3));
}

/* Subtítulo */
.subtitle-text {
  font-size: 1.8rem;
  font-weight: 400;
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  margin-bottom: 30px;
  line-height: 1.3;
  max-width: 500px;
}

/* Ubicación */
.location-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 35px;
}

.location-icon {
  font-size: 1.2rem;
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.location-text {
  font-size: 1.1rem;
  font-weight: 500;
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* Descripción con borde lateral */
.description-block {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 40px;
  max-width: 500px;
}

.description-border {
  width: 4px;
  height: 80px;
  background: rgba(255, 255, 255, 0.8);
  flex-shrink: 0;
  margin-top: 5px;
}

.description-content {
  flex: 1;
}

.description-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  margin: 0;
}

.description-content strong {
  font-weight: 600;
}

/* Botón CTA */
.hero-cta {
  margin-top: 40px;
}

.cta-btn {
  display: inline-block;
  background: white;
  color: #2d5a3d;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 15px 35px;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-btn:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  color: #2d5a3d;
  text-decoration: none;
}

/* ===== CUENTA REGRESIVA ===== */

.hero-countdown {
  display: flex;
  align-items: center;
  justify-content: center;
}

.countdown-container {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  max-width: 400px;
  width: 100%;
}

/* Esquinas decorativas */
.countdown-container::before,
.countdown-container::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.countdown-container::before {
  top: 15px;
  left: 15px;
  border-right: none;
  border-bottom: none;
}

.countdown-container::after {
  bottom: 15px;
  right: 15px;
  border-left: none;
  border-top: none;
}

/* Display del contador */
.countdown-display {
  margin-bottom: 30px;
}

.countdown-item {
  display: inline-block;
  margin-bottom: 20px;
}

.countdown-number {
  font-size: 4rem;
  font-weight: 700;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1;
}

.countdown-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 5px;
}

.countdown-separator {
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 20px;
  display: inline-block;
}

.countdown-time {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.time-group {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.time-number {
  font-size: 2rem;
  font-weight: 600;
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  line-height: 1;
}

.time-label {
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
}

/* Texto descriptivo */
.countdown-text {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 25px;
}

.countdown-text p {
  font-size: 1rem;
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  line-height: 1.4;
  margin: 0;
}

.countdown-text strong {
  font-weight: 600;
}

.event-date {
  font-size: 1.1rem;
  font-weight: 600;
  color: #22c55e;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero-logo-main {
    max-width: 450px;
  }
  
  .subtitle-text {
    font-size: 1.5rem;
  }

  .countdown-container {
    margin-top: 40px;
    padding: 30px 25px;
  }

  .countdown-number {
    font-size: 3rem;
  }

  .time-number {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero {
    margin-top: -70px !important;
    padding-top: 70px !important;
  }
  
  .hero .container {
    padding-top: 100px !important;
  }
  
  .hero-logo-main {
    max-width: 400px;
  }
  
  .subtitle-text {
    font-size: 1.3rem;
  }
  
  .description-block {
    flex-direction: column;
    gap: 15px;
  }
  
  .description-border {
    width: 100%;
    height: 3px;
  }

  .countdown-container {
    margin-top: 30px;
    padding: 25px 20px;
  }

  .countdown-number {
    font-size: 2.5rem;
  }

  .countdown-time {
    gap: 15px;
  }

  .time-number {
    font-size: 1.3rem;
  }
  
  .hero-overlay {
    background: rgba(0, 0, 0, 0.7) !important;
  }
}

@media (max-width: 576px) {
  .hero-logo-main {
    max-width: 320px;
  }
  
  .subtitle-text {
    font-size: 1.1rem;
  }

  .countdown-container {
    padding: 20px 15px;
  }

  .countdown-number {
    font-size: 2rem;
  }

  .time-number {
    font-size: 1.1rem;
  }

  .countdown-time {
    gap: 10px;
  }
}

/* Fallback si el video no carga */
.hero.video-error {
  background: linear-gradient(135deg, #1e3a2e 0%, #2d5a3d 50%, #1a2f23 100%) !important;
}

.hero.video-error .hero-video-container {
  display: none !important;
}
/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .about-subtitle {
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--heading-color);
  margin-bottom: 16px;
  display: block;
}

.about .about-title {
  font-family: var(--heading-font);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 32px;
  color: var(--heading-color);
}

.about .about-title span {
  font-size: 32px;
  display: inline-block;
  margin: 8px 0;
  color: color-mix(in srgb, var(--heading-color), transparent 30%);
}

@media (max-width: 991px) {
  .about .about-title {
    font-size: 36px;
  }

  .about .about-title span {
    font-size: 24px;
  }
}

.about .about-content h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--heading-color);
}

.about .about-content p {
  font-size: 16px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 24px;
}

.about .about-content .btn-learn-more {
  display: inline-flex;
  align-items: center;
  padding: 12px 32px;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.about .about-content .btn-learn-more i {
  margin-left: 8px;
  font-size: 18px;
  transition: transform 0.3s ease;
}

.about .about-content .btn-learn-more:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.about .about-content .btn-learn-more:hover i {
  transform: translateX(5px);
}

.about .about-img {
  text-align: center;
}

.about .about-img img {
  position: relative;
  z-index: 2;
  border-radius: 20px;
  max-width: 100%;
  height: auto;
}

.about .about-img .shape-1 {
  position: absolute;
  width: 220px;
  height: 220px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
  border-radius: 63% 37% 54% 46%/55% 48% 52% 45%;
  bottom: -30px;
  right: -30px;
  z-index: 1;
  animation: blobAnimation1 8s ease-in-out infinite;
  transition: all 0.3s ease;
}

.about .about-img .shape-2 {
  position: absolute;
  width: 180px;
  height: 180px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
  border-radius: 42% 58% 37% 63%/51% 44% 56% 49%;
  top: -30px;
  left: -30px;
  z-index: 1;
  animation: blobAnimation2 8s ease-in-out infinite;
  transition: all 0.3s ease;
}

@keyframes blobAnimation1 {
  0% {
    border-radius: 63% 37% 54% 46%/55% 48% 52% 45%;
  }

  25% {
    border-radius: 46% 54% 42% 58%/47% 55% 45% 53%;
  }

  50% {
    border-radius: 54% 46% 52% 48%/45% 54% 46% 55%;
  }

  75% {
    border-radius: 42% 58% 37% 63%/51% 44% 56% 49%;
  }

  100% {
    border-radius: 63% 37% 54% 46%/55% 48% 52% 45%;
  }
}

@keyframes blobAnimation2 {
  0% {
    border-radius: 42% 58% 37% 63%/51% 44% 56% 49%;
  }

  25% {
    border-radius: 54% 46% 52% 48%/45% 54% 46% 55%;
  }

  50% {
    border-radius: 46% 54% 42% 58%/47% 55% 45% 53%;
  }

  75% {
    border-radius: 63% 37% 54% 46%/55% 48% 52% 45%;
  }

  100% {
    border-radius: 42% 58% 37% 63%/51% 44% 56% 49%;
  }
}

@media (max-width: 991px) {
  .about .about-img {
    margin-top: 40px;
  }

  .about .about-img .shape-1 {
    width: 160px;
    height: 160px;
  }

  .about .about-img .shape-2 {
    width: 140px;
    height: 140px;
  }
}

/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients {
  overflow-x: hidden;
  padding: 40px 0;
  /* Responsive adjustments */
}

.clients .clients-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
}

.clients .clients-slider:not(:last-child) {
  margin-bottom: 20px;
}

.clients .clients-track {
  display: flex;
  width: fit-content;
  animation-duration: 60s; /* antes 30s, ahora más lento */
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.clients .clients-track.track-1 {
  animation-name: scroll-left;
}

.clients .clients-track.track-2 {
  animation-name: scroll-right;
}

.clients .clients-track:hover {
  animation-play-state: paused;
}

.clients .clients-slide {
  flex: 0 0 auto;
  width: 200px;
  height: 100px;
  margin: 0 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--surface-color);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clients .clients-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--default-color), transparent 96%), transparent);
  transition: 0.5s;
}

.clients .clients-slide:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.clients .clients-slide:hover::before {
  left: 100%;
}

.clients .clients-slide:hover img {
  filter: none;
  opacity: 1;
}

.clients .clients-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Cambia a 'cover' si prefieres recorte */
  object-position: center center;
  max-width: 100%;
  max-height: 100%;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
  background: transparent;
  display: block;
}

/* Sponsors categoría 1 (primer carrusel) - más grandes */
.clients .clients-slider:nth-child(1) .clients-slide {
  width: 280px;
  height: 140px;
}

.clients .clients-slider:nth-child(1) .clients-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
  /* Quitar filtro y opacidad para track 1 */
  filter: none;
  opacity: 1;
}

/* Sponsors categoría 2 (segundo carrusel) - tamaño normal */
.clients .clients-slider:nth-child(2) .clients-slide {
  width: 160px;
  height: 80px;
}

.clients .clients-slider:nth-child(2) .clients-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
}

/* Responsive */
@media (max-width: 991px) {
  .clients .clients-slider:nth-child(1) .clients-slide {
    width: 200px;
    height: 100px;
  }
  .clients .clients-slider:nth-child(2) .clients-slide {
    width: 120px;
    height: 60px;
  }
}

@media (max-width: 767px) {
  .clients .clients-slider:nth-child(1) .clients-slide {
    width: 140px;
    height: 70px;
  }
  .clients .clients-slider:nth-child(2) .clients-slide {
    width: 90px;
    height: 45px;
  }
}

/*--------------------------------------------------------------
# Clients 2 Section
--------------------------------------------------------------*/
.clients-2 {
  padding: 30px 0;
}

.clients-2 .clients-wrapper {
  position: relative;
  padding: 60px 0;
}

.clients-2 .clients-wrapper::before,
.clients-2 .clients-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.clients-2 .clients-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--background-color), transparent);
}

.clients-2 .clients-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--background-color), transparent);
}

.clients-2 .clients-track {
  display: flex;
  gap: 30px;
  padding: 30px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.clients-2 .clients-track::-webkit-scrollbar {
  display: none;
}

.clients-2 .client-logo {
  flex: 0 0 auto;
  width: 180px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: var(--surface-color);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.clients-2 .client-logo img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.clients-2 .client-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--accent-color) 15%, transparent);
  background-color: color-mix(in srgb, var(--surface-color) 98%, var(--accent-color));
}

.clients-2 .client-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}

@media (max-width: 991px) {
  .clients-2 .client-logo {
    width: 160px;
    height: 120px;
  }

  .clients-2 .client-logo img {
    max-height: 70px;
  }
}

@media (max-width: 767px) {
  .clients-2 .client-logo {
    width: 140px;
    height: 100px;
    padding: 15px;
  }

  .clients-2 .client-logo img {
    max-height: 60px;
  }

  .clients-2 .clients-track {
    gap: 20px;
    padding: 15px;
  }
}

/*--------------------------------------------------------------
# Clients 3 Section
--------------------------------------------------------------*/
.clients-3 .clients-slider {
  overflow: hidden;
  background-color: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.clients-3 .swiper-wrapper {
  height: auto !important;
  align-items: stretch;
  transition-timing-function: linear;
}

.clients-3 .swiper-slide {
  height: auto;
  border-right: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.clients-3 .swiper-slide:last-child {
  border-right: none;
}

.clients-3 .client-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 60px;
  height: 100%;
}

.clients-3 .client-logo img {
  max-width: 90%;
  transition: 0.3s;
  opacity: 0.5;
  filter: grayscale(100);
}

.clients-3 .client-logo img:hover {
  filter: none;
  opacity: 1;
}

@media (max-width: 640px) {
  .clients-3 .client-logo {
    padding: 20px;
  }
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action .cta-wrapper {
  display: flex;
  align-items: center;
  gap: 3rem;
  background-color: var(--surface-color);
  border-radius: 1rem;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.call-to-action .cta-content {
  position: relative;
  z-index: 2;
  flex: 1;
}

.call-to-action .cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.call-to-action .cta-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  opacity: 0.9;
}

.call-to-action .cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.call-to-action .cta-buttons .btn-primary {
  padding: 0.8rem 2rem;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.call-to-action .cta-buttons .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), white 15%);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.call-to-action .cta-buttons .btn-outline {
  padding: 0.8rem 2rem;
  background-color: transparent;
  color: var(--default-color);
  border: 2px solid var(--default-color);
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.call-to-action .cta-buttons .btn-outline:hover {
  background-color: var(--contrast-color);
  color: var(--heading-color);
  transform: translateY(-3px);
}

.call-to-action .cta-image {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.call-to-action .cta-image img {
  max-width: 70%;
  height: auto;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}

.call-to-action .cta-image img:hover {
  transform: translateY(-5px);
}

@media (max-width: 992px) {
  .call-to-action .cta-wrapper {
    flex-direction: column;
    padding: 2.5rem;
  }

  .call-to-action .cta-content {
    text-align: center;
  }

  .call-to-action .cta-content h2 {
    font-size: 2rem;
  }

  .call-to-action .cta-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .call-to-action .cta-buttons {
    justify-content: center;
  }

  .call-to-action .cta-image img {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .call-to-action .cta-wrapper {
    padding: 2rem;
  }

  .call-to-action .cta-content h2 {
    font-size: 1.8rem;
  }

  .call-to-action .cta-content p {
    font-size: 1rem;
  }

  .call-to-action .cta-buttons .btn-primary,
  .call-to-action .cta-buttons .btn-outline {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}

/*--------------------------------------------------------------
# Call To Action 2 Section
--------------------------------------------------------------*/
.call-to-action-2 {
  --background-color: var(--contrast-color);
}

.call-to-action-2 .cta-box {
  position: relative;
  padding: 80px 30px;
  border-radius: 20px;
  overflow: hidden;
}

.call-to-action-2 .cta-box .background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.call-to-action-2 .cta-box .background-overlay::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, color-mix(in srgb, var(--surface-color), transparent 5%), color-mix(in srgb, var(--surface-color), transparent 10%));
  opacity: 0.95;
}

.call-to-action-2 .cta-box .background-overlay .background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.6s ease-in-out;
}

.call-to-action-2 .cta-box:hover .background-image {
  transform: scale(1.1);
}

.call-to-action-2 .cta-box .content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.call-to-action-2 .cta-box .content h2 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.call-to-action-2 .cta-box .content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.call-to-action-2 .cta-box .content .cta-buttons .btn-cta {
  display: inline-flex;
  align-items: center;
  padding: 15px 35px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.call-to-action-2 .cta-box .content .cta-buttons .btn-cta i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.call-to-action-2 .cta-box .content .cta-buttons .btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.call-to-action-2 .cta-box .content .cta-buttons .btn-cta:hover i {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .call-to-action-2 .cta-box {
    padding: 60px 20px;
  }

  .call-to-action-2 .cta-box .content h2 {
    font-size: 2rem;
  }

  .call-to-action-2 .cta-box .content p {
    font-size: 1rem;
  }

  .call-to-action-2 .cta-box .content .btn-cta {
    padding: 12px 30px;
    font-size: 1rem;
  }
}
/*--------------------------------------------------------------
# Cta 4 
--------------------------------------------------------------*/
.call-to-action-4 {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.call-to-action-4 img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.45) blur(1px); /* Mejora el contraste y el foco en el texto */
}

.call-to-action-4::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,146,69,0.7) 0%, rgba(0,0,0,0.5) 100%);
  z-index: 2;
}

.call-to-action-4 .container {
  position: relative;
  z-index: 3;
}

.call-to-action-4 h3,
.call-to-action-4 p {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

.call-to-action-4 h3 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 20px;
}

.call-to-action-4 p {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 30px;
}

.call-to-action-4 .cta-btn {
  font-family: var(--heading-font, 'Montserrat', Arial, sans-serif);
  font-weight: 700;
  font-size: 18px;
  padding: 16px 44px;
  border-radius: 50px;
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
  transition: all 0.3s;
  box-shadow: 0 6px 18px 0 rgba(0,0,0,0.18);
  position: relative;
  z-index: 4;
}
.call-to-action-4 .cta-btn:hover, 
.call-to-action-4 .cta-btn:focus {
  background: #009245;
  color: #fff;
  border-color: #009245;
  text-decoration: none;
  box-shadow: 0 8px 20px 0 rgba(0,146,69,0.22);
}

/* Responsive tweaks */
@media (max-width: 767px) {
  .call-to-action-4 {
    padding: 60px 0;
  }
  .call-to-action-4 h3 {
    font-size: 26px;
  }
  .call-to-action-4 p {
    font-size: 15px;
  }
  .call-to-action-4 .cta-btn {
    font-size: 15px;
    padding: 12px 30px;
  }
}

/*--------------------------------------------------------------
# Clients 4 Section
--------------------------------------------------------------*/
.clients-4 {
  overflow-x: hidden;
  padding: 40px 0;
  /* Responsive adjustments */
}

.clients-4 .clients-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
}

.clients-4 .clients-slider:not(:last-child) {
  margin-bottom: 20px;
}

.clients-4 .clients-track {
  display: flex;
  width: fit-content;
  animation-duration: 50s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.clients-4 .clients-track.track-1 {
  animation-name: scroll-left;
}

.clients-4 .clients-track.track-2 {
  animation-name: scroll-right;
}

.clients-4 .clients-track:hover {
  animation-play-state: paused;
}

.clients-4 .clients-slide {
  flex: 0 0 auto;
  width: 300px;
  height: 200px;
  margin: 0 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--surface-color);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clients-4 .clients-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--default-color), transparent 96%), transparent);
  transition: 0.5s;
}

.clients-4 .clients-slide:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.clients-4 .clients-slide:hover::before {
  left: 100%;
}

.clients-4 .clients-slide:hover img {
  filter: none;
  opacity: 1;
}

.clients-4 .clients-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Cambia a 'cover' si prefieres recorte */
  object-position: center center;
  max-width: 100%;
  max-height: 100%;
  filter: grayscale(40%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-2080px);
  }
}

@keyframes scroll-right {
  0% {
    transform: translateX(-2080px);
  }

  100% {
    transform: translateX(0);
  }
}

@media (max-width: 991px) {
  .clients-4 .clients-slide {
    width: 300px;
    height: 125px;
    margin: 0 20px;
  }

  @keyframes scroll-left {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(-1760px);
    }
  }

  @keyframes scroll-right {
    0% {
      transform: translateX(-1760px);
    }

    100% {
      transform: translateX(0);
    }
  }
}

@media (max-width: 767px) {
  .clients-4 .clients-slide {
    width: 150px;
    height: 100px;
    margin: 0 15px;
  }

  @keyframes scroll-left {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(-1440px);
    }
  }

  @keyframes scroll-right {
    0% {
      transform: translateX(-1440px);
    }

    100% {
      transform: translateX(0);
    }
  }
  
  .clients-4 .clients-slide img {
    filter: none !important;
    opacity: 1 !important;
  }
}


/*--------------------------------------------------------------
# Speakers Slider Section
--------------------------------------------------------------*/
.speakers-slider-section {
  background: #254934;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 0 100px 0;
  position: relative;
}
.speakers-slider-section .section-title {
  margin-bottom: 38px;
  text-align: center;
}
.speakers-slider-section .section-title h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 2px;
}
.speakers-slider-section .section-title p {
  color: #e4ece8;
  font-size: 1.18rem;
  margin-top: 12px;
  margin-bottom: 0;
  font-weight: 400;
}

/* Slider Frame */
.speakers-slider-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  max-width: 950px;
  min-height: 400px;
  margin: 0 auto 36px auto;
  position: relative;
  z-index: 1;
  box-shadow: none;
  overflow: visible;
}
.slide {
  display: none;
  width: 100%;
  height: 100%;
  background: transparent;
  border: 2px solid #fff;
  box-shadow: 0 10px 32px rgba(0,0,0,0.14);
  position: relative;
  border-radius: 0;
  flex-shrink: 0;
  flex-grow: 1;
  align-items: stretch;
  justify-content: stretch;
  min-width: 800px;
  min-height: 400px;
  overflow: hidden;
}
.slide.active { display: flex; }

/* Contenido izquierda */
.speaker-content {
  flex: 1 1 52%;
  background: #fff;
  color: #1a1a1a;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 48px 32px;
  text-align: center;
}
.speaker-content h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
  color: #2f4251;
}
.speaker-content h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #3d5b76;
}
.speaker-content p {
  font-size: 1.12rem;
  color: #333;
}

/* Imagen derecha */
.speaker-image-box {
  flex: 1 1 48%;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  background: #254934;
  aspect-ratio: 3 / 2; /* proporción cercana a 1628x1080 */
  position: relative;
  border-left: 2px solid #fff;
  box-sizing: border-box;
  padding: 0;
  max-width: 100%;
}

.speaker-image-box img {
  width: 90%;
  height: 80%;
  object-fit: contain;   /* ✅ Muestra toda la imagen sin cortarla */
  object-position: center center;
  background-color: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  margin-bottom: 0;
}


/* Flechas */
.speakers-slider-frame .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #f8f9f7;
  color: #254934;
  border: none;
  font-size: 2.2rem;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0,0,0,0.13);
  transition: background 0.2s, color 0.2s;
  opacity: 0.95;
  display: flex;
  align-items: center;
  justify-content: center;
}
.speakers-slider-frame .arrow-left { left: -28px; }
.speakers-slider-frame .arrow-right { right: -28px; }
.speakers-slider-frame .arrow:hover { background: #009245; color: #fff; }

/* ===== ESTILOS PARA EL BOTÓN QUIERO AUSPICIAR ===== */

.sponsor-cta-section {
  margin-top: 50px;
  padding: 40px 0;
  animation: fadeInUp 0.6s ease-out;
}

.btn-sponsor-cta {
  display: inline-block;
  background: white;
  color: #2d5a3d;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 18px 40px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: 2px solid transparent;
  font-family: var(--nav-font, 'Montserrat', Arial, sans-serif);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* HOVER CON COLOR VERDE DE LA MARCA */
.btn-sponsor-cta:hover {
  background: linear-gradient(135deg, #39b54a 0%, #2ea043 50%, #39b54a 100%);
  color: white;
  border: 2px solid #39b54a;
  transform: translateY(-3px);
  box-shadow: 
    0 8px 30px rgba(57, 181, 74, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  text-decoration: none;
}

/* Efecto de transición suave del fondo */
.btn-sponsor-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(57, 181, 74, 0.1), transparent);
  transition: left 0.5s ease;
  z-index: 0;
}

.btn-sponsor-cta:hover::before {
  left: 100%;
}

/* Estados adicionales */
.btn-sponsor-cta:focus,
.btn-sponsor-cta:active {
  background: #009245;
  border-color: #009245;
  box-shadow: 0 0 0 4px rgba(57, 181, 74, 0.3);
  outline: none;
  transform: translateY(-1px);
}

/* Asegurar que el botón se vea bien en la sección */
.clients.section {
  position: relative;
  overflow: hidden;
}

/* Si la sección tiene fondo oscuro/verde */
.clients.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #2d5a3d 0%, #1e3a2e 50%, #2d5a3d 100%);
  opacity: 0.05;
  z-index: 0;
}

.clients .container,
.clients .container-fluid {
  position: relative;
  z-index: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .sponsor-cta-section {
    margin-top: 30px;
    padding: 30px 0;
  }

  .btn-sponsor-cta {
    font-size: 0.9rem;
    padding: 15px 30px;
    letter-spacing: 1.5px;
  }
}

@media (max-width: 576px) {
  .btn-sponsor-cta {
    font-size: 0.8rem;
    padding: 12px 25px;
    letter-spacing: 1px;
  }
}

/* ===== ANIMACIÓN DE ENTRADA ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to   {
    opacity: 1;
    transform: translateY(0);
  }
}


/*--------------------------------------------------------------
# Call To Action 3 Section
--------------------------------------------------------------*/
.call-to-action-3 {
  position: relative;
  padding: 100px 0;
  isolation: isolate;
}

.call-to-action-3 .container {
  position: relative;
}

.call-to-action-3 h2 {
  color: var(--heading-color);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.call-to-action-3 .lead {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
}

.call-to-action-3 .btn {
  padding: 12px 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.call-to-action-3 .btn:hover {
  transform: translateY(-2px);
}

.call-to-action-3 .btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

.call-to-action-3 .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 10%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 10%);
  box-shadow: 0 5px 15px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.call-to-action-3 .btn-outline-primary {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.call-to-action-3 .btn-outline-primary:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  box-shadow: 0 5px 15px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.call-to-action-3 .scribble {
  position: absolute;
  pointer-events: none;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.call-to-action-3 .scribble::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--accent-color);
}

.call-to-action-3 .scribble-1 {
  width: 150px;
  height: 150px;
  top: -30px;
  left: 5%;
  animation-delay: 0s;
}

.call-to-action-3 .scribble-1::before {
  clip-path: path("M75,0 C90,25 110,25 125,50 C140,75 160,75 150,100 C140,125 110,125 75,150 C40,125 10,125 0,100 C-10,75 10,75 25,50 C40,25 60,25 75,0");
}

.call-to-action-3 .scribble-2 {
  width: 120px;
  height: 120px;
  top: 20%;
  right: 10%;
  animation-delay: -2s;
}

.call-to-action-3 .scribble-2::before {
  clip-path: path("M60,0 C80,20 100,20 100,40 C100,60 80,80 60,120 C40,80 20,60 20,40 C20,20 40,20 60,0");
}

.call-to-action-3 .scribble-3 {
  width: 100px;
  height: 100px;
  bottom: -20px;
  left: 15%;
  animation-delay: -4s;
}

.call-to-action-3 .scribble-3::before {
  clip-path: path("M50,0 C70,15 85,15 90,35 C95,55 85,70 50,100 C15,70 5,55 10,35 C15,15 30,15 50,0");
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

@media (max-width: 768px) {
  .call-to-action-3 {
    padding: 60px 0;
  }

  .call-to-action-3 h2 {
    font-size: 2.5rem;
  }

  .call-to-action-3 .lead {
    font-size: 1.1rem;
  }

  .call-to-action-3 .cta-buttons .btn {
    display: block;
    width: 100%;
    margin: 10px 0;
  }

  .call-to-action-3 .scribble {
    transform: scale(0.7);
  }
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .contact-main-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 992px) {
  .contact .contact-main-wrapper {
    grid-template-columns: 45% 55%;
    min-height: 600px;
  }
}

.contact .map-wrapper {
  height: 300px;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
}

@media (min-width: 992px) {
  .contact .map-wrapper {
    height: 100%;
    position: sticky;
    top: 100px;
  }
}

.contact .contact-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact .contact-cards-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

@media (min-width: 576px) {
  .contact .contact-cards-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact .contact-card {
  background-color: var(--surface-color);
  padding: 20px;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact .contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.contact .contact-card .icon-box {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact .contact-card .icon-box i {
  font-size: 22px;
  color: var(--accent-color);
}

.contact .contact-card .contact-text h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--heading-color);
}

.contact .contact-card .contact-text p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--default-color);
  margin-bottom: 0;
}

.contact .contact-form-container {
  background-color: var(--surface-color);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact .contact-form-container h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--heading-color);
  position: relative;
  padding-left: 15px;
}

.contact .contact-form-container h3:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background-color: var(--accent-color);
  border-radius: 2px;
}

.contact .contact-form-container>p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 25px;
  color: var(--default-color);
}

.contact .contact-form-container .php-email-form .form-control {
  height: auto;
  padding: 14px 20px;
  border-radius: 10px;
  background-color: color-mix(in srgb, var(--background-color), #f5f8fd 30%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  color: var(--default-color);
  transition: all 0.3s ease;
}

.contact .contact-form-container .php-email-form .form-control:focus {
  background-color: var(--surface-color);
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 85%);
}

.contact .contact-form-container .php-email-form .form-control::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.contact .contact-form-container .php-email-form textarea.form-control {
  min-height: 140px;
}

.contact .contact-form-container .php-email-form .form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 10px;
}

@media (max-width: 576px) {
  .contact .contact-form-container .php-email-form .form-submit {
    flex-direction: column;
    align-items: flex-start;
  }
}

.contact .contact-form-container .php-email-form button {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.contact .contact-form-container .php-email-form button:hover {
  background-color: color-mix(in srgb, var(--accent-color), #000 15%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px color-mix(in srgb, var(--accent-color), transparent 75%);
}

.contact .contact-form-container .php-email-form .social-links {
  display: flex;
  gap: 12px;
}

.contact .contact-form-container .php-email-form .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--background-color), #f5f8fd 20%);
  color: var(--heading-color);
  font-size: 16px;
  transition: all 0.3s ease;
}

.contact .contact-form-container .php-email-form .social-links a:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .contact .contact-form-container {
    padding: 25px 20px;
  }

  .contact .contact-form-container h3 {
    font-size: 22px;
  }
}

/*@media (max-width: 600px) {
  .header .logo img {
    max-height: 28px;
  }
  .header .logo h1 {
    font-size: 20px;
  }
}

/* =========== HEADER MOBILE MENU =========== */

/* Contenedor logo para centrar en mobile */
.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Botón hamburguesa debajo del logo, sólo mobile */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #254934;
  margin-top: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  z-index: 1200;
}

@media (max-width: 991.98px) {
  .mobile-nav-toggle {
    display: block;
    z-index: 3001;   /* Muy por encima del menú */
  }
  #navmenu {
    display: none;
    position: fixed;
    top: 70px; /* Ajusta según el alto de tu header */
    left: 0;
    width: 100vw;
    height: calc(100vh - 70px); /* Ajusta según el alto del header */
    background: #254934;
    z-index: 2000 !important;
    padding: 30px 0 30px 0;
    text-align: center;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.10);
  }
  #navmenu.active {
    display: block;
    animation: fadeInDown 0.4s;
  }

  /* Menú principal */
  #navmenu ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  #navmenu ul li {
    margin: 0 0 12px 0;
  }

  #navmenu ul li a {
    color: #fff;
    display: block;
    padding: 16px 0;
    font-size: 1.15rem;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 5px;
    transition: background 0.25s, color 0.25s;
  }
  #navmenu ul li a:hover,
  #navmenu ul li a:focus {
    background: rgba(0,146,69,0.22);
    color: #39b54a;
  }

  /* Oculta submenú por defecto en mobile */
  #navmenu ul ul {
    display: none;
    background: #20522e;
    padding: 0;
    margin: 0;
    border-radius: 0 0 12px 12px;
  }
  /* Muestra submenú solo si el li tiene .open */
  .navmenu .dropdown.open > ul {
    display: block !important;
    background: #20522e;
    animation: fadeInDown 0.3s;
  }
  #navmenu ul ul li a {
    padding-left: 30px;
    font-size: 1rem;
    font-weight: 400;
    color: #fff;
    border-radius: 0;
  }
}

/* Animación fade in */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px);}
  to   { opacity: 1; transform: translateY(0);}
}

/* Mostrar hamburguesa y menú normal sólo en desktop */
@media (min-width: 992px) {
  .mobile-nav-toggle { display: none; }
  #navmenu {
    display: block !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    text-align: left !important;
    box-shadow: none !important;
    padding: 0 !important;
    z-index: auto !important;
  }
  #navmenu ul li a { color: #254934; font-size: 1rem; font-weight: 600; padding: 8px 12px;}
  #navmenu ul ul {
    display: block !important;
    position: absolute;
    left: 0;
    background: #fff;
  }
}

/* Opcional: para iconos bootstrap en el header */
.bi {
  vertical-align: -.125em;
  margin-left: 3px;
}

/* Logo responsive en distintas resoluciones */
@media (max-width: 1199px) {
  .header .logo img {
    max-height: 100px;
  }
}

@media (max-width: 991px) {
  .header .logo img {
    max-height: 80px;
  }
}

@media (max-width: 767px) {
  .header .logo img {
    max-height: 60px;
  }
}

@media (max-width: 575px) {
  .header .logo img {
    max-height: 45px;
  }
}
/* Estilo para logo en footer */
.footer-logo-img {
  max-height: 80px;
  height: auto;
  width: auto;
  margin: 0 auto;
  display: block;
  transition: all 0.3s ease;
}

/* Responsive para tamaños más chicos */
@media (max-width: 768px) {
  .footer-logo-img {
    max-height: 60px;
  }
}

/* Responsive Disertantes/Speakers Slider para móviles */
@media (max-width: 767px) {
  .speakers-slider-section {
    padding: 40px 0 60px 0;
    min-height: 0;
  }
  .speakers-slider-frame {
    flex-direction: column;
    min-height: 0;
    max-width: 100vw;
    padding: 0 0px;
    margin: 0 auto 24px auto;
  }
  .slide {
    min-width: 0;
    min-height: 0;
    flex-direction: column;
    border-width: 1px;
    border-radius: 12px;
    width: 98vw;
    max-width: 99vw;
    margin: 0 auto;
    box-shadow: 0 4px 18px rgba(0,0,0,0.10);
  }
  .speaker-content {
    padding: 28px 12px 18px 12px;
    min-width: 0;
    font-size: 1rem;
  }
  .speaker-content h2 {
    font-size: 1.4rem;
    margin-bottom: 10px;
  }
  .speaker-content h4 {
    font-size: 1rem;
    margin-bottom: 7px;
  }
  .speaker-content p {
    font-size: 0.98rem;
  }
  .speaker-image-box {
    border-left: none;
    border-top: 1px solid #eee;
    padding: 0;
    width: 100%;
    min-height: 180px;
    aspect-ratio: unset;
    background: #254934;
    justify-content: center;
    align-items: center;
  }
  .speaker-image-box img {
    width: 80vw;
    max-width: 320px;
    height: auto;
    max-height: 220px;
    margin: 0 auto;
    object-fit: contain;
    background: transparent;
  }
  .speakers-slider-frame .arrow {
    width: 38px;
    height: 38px;
    font-size: 1.5rem;
    top: 50%;
    left: 8px;
    right: 8px;
    transform: translateY(-50%);
  }
  .speakers-slider-frame .arrow-left { left: 2px; }
  .speakers-slider-frame .arrow-right { right: 2px; }
}

@media (max-width: 480px) {
  .slide {
    width: 99vw;
    max-width: 100vw;
    border-radius: 8px;
  }
  .speaker-content {
    padding: 18px 4vw 10px 4vw;
  }
  .speaker-image-box img {
    width: 92vw;
    max-width: 98vw;
    max-height: 160px;
  }
  .speakers-slider-frame .arrow {
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
  }
}

/* Corrige posición de flechas en el slider de disertantes para mobile */
@media (max-width: 767px) {
  .speakers-slider-frame {
    position: relative;
    padding-bottom: 48px; /* espacio para las flechas abajo */
  }
  .speakers-slider-frame .arrow {
    position: static;
    display: inline-flex;
    margin: 0 12px;
    transform: none;
    top: auto;
    left: auto;
    right: auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.13);
  }
  .speakers-slider-frame .arrow-left,
  .speakers-slider-frame .arrow-right {
    /* Elimina posiciones absolutas */
  }
  .speakers-slider-frame .arrows-mobile-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 12px;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 10;
    pointer-events: none;
  }
  .speakers-slider-frame .arrow {
    pointer-events: auto;
  }
}

/* Opcional: para pantallas muy chicas */
@media (max-width: 480px) {
  .speakers-slider-frame .arrow {
    margin: 0 6px;
  }
}

