@charset "UTF-8";
/**
 * Aticco Whitelabel Styles
 * Extracted from syndicatesWhiteLabelAticco.gsp for maintainability
 *
 * Table of Contents:
 * 1. CSS Variables & Global Styles
 * 2. Typography & Headings
 * 3. Buttons & Form Elements
 * 4. Layout & Containers
 * 5. Syndicate Cards
 * 6. Benefits Grid
 * 7. Stats Row
 * 8. Testimonials Carousel
 * 9. Hero Section
 * 10. Navigation
 * 11. Modals
 * 12. Utilities
 * 13. Responsive Breakpoints
 */

/* ==========================================================================
   1. CSS Variables & Global Styles
   ========================================================================== */

:root {
  --e-global-color-secondary: #ED5A46;
  --e-global-color-accent: #FBBF24;
  --e-global-color-primary: #000000;
  --e-global-color-text: #60A5FA;
  --e-global-color-4432600: #2746FF;
  --e-global-color-3e0a3eb: #16257E;
  --e-global-color-35ce2ff: #000000;
  --e-global-color-f908e76: #FFFFFF;
  --e-global-color-7a09869: #F0F2FF;
  --e-global-color-2780c1b: #161616;
  --e-global-color-007edb4: #292E33;
  --e-global-color-cfb1129: #454C52;
  --e-global-color-da33e26: #596066;
  --e-global-color-8c34a34: #676E76;
  --e-global-color-8be32ec: #9EA5AD;
  --e-global-color-7d8cdd0: #CED2D6;
  --e-global-color-37bdf95: #E5E7EA;
  --e-global-color-1d613c2: #F6F7F9;
  --e-global-color-5d216f7: #FFD600;
  --e-global-color-869dd2c: #FF4900;
  --e-global-color-fff6ebb: #FFFBEB;
  --e-global-color-aeb2215: #ECFDF5;
  --e-global-color-13a65c8: #FEF3F2;
  --e-global-color-caced6f: #CCFA73;
  --e-global-typography-primary-font-family: "Roboto";
  --e-global-typography-primary-font-size: 20px;
  --e-global-typography-primary-font-weight: 400;
  --e-global-typography-secondary-font-family: "DM Sans";
  --e-global-typography-secondary-font-weight: 400;
  --e-global-typography-text-font-family: "Roboto";
  --e-global-typography-text-font-size: 16px;
  --e-global-typography-text-font-weight: 400;
  --e-global-typography-accent-font-family: "Roboto Condensed";
  --e-global-typography-accent-font-weight: 500;
  --e-global-typography-6313c4c-font-family: "Roboto Condensed";
  --e-global-typography-6313c4c-font-size: 48px;
  --e-global-typography-6313c4c-font-weight: 700;
  --e-global-typography-39815d6-font-family: "Roboto";
  --e-global-typography-39815d6-font-size: 20px;
  --e-global-typography-39815d6-font-weight: 500;
  --e-global-typography-39815d6-line-height: 1.2em;
  --e-global-typography-feb2ed6-font-family: "Roboto Condensed";
  --e-global-typography-feb2ed6-font-size: 60px;
  --e-global-typography-feb2ed6-font-weight: 700;
  --e-global-typography-feb2ed6-text-transform: uppercase;
  --e-global-typography-feb2ed6-line-height: 1em;
  --e-global-typography-bdda702-font-family: "Roboto Condensed";
  --e-global-typography-bdda702-font-size: 40px;
  --e-global-typography-bdda702-font-weight: 700;
  --e-global-typography-bdda702-text-transform: uppercase;
  --e-global-typography-bdda702-line-height: 1em;
  color: #000000;
  font-family: "Roboto", Sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.2em;
  --e-page-transition-entrance-animation: e-page-transition-fade-out;
  --e-page-transition-exit-animation: e-page-transition-fade-in;
  --e-page-transition-animation-duration: 100ms;
  --e-preloader-animation: eicon-spin;
  --e-preloader-animation-duration: 950ms;
  --e-preloader-delay: 0ms;
  --e-preloader-color: #FFF;
  --e-preloader-size: 65px;
}

.elementor-kit-6621 {
  --e-global-color-secondary: #ED5A46;
  --e-global-color-accent: #FBBF24;
  --e-global-color-primary: #000000;
  --e-global-color-text: #60A5FA;
  --e-global-color-4432600: #2746FF;
  --e-global-color-3e0a3eb: #16257E;
  --e-global-color-35ce2ff: #000000;
  --e-global-color-f908e76: #FFFFFF;
  --e-global-color-7a09869: #F0F2FF;
  --e-global-color-2780c1b: #161616;
  --e-global-color-007edb4: #292E33;
  --e-global-color-cfb1129: #454C52;
  --e-global-color-da33e26: #596066;
  --e-global-color-8c34a34: #676E76;
  --e-global-color-8be32ec: #9EA5AD;
  --e-global-color-7d8cdd0: #CED2D6;
  --e-global-color-37bdf95: #E5E7EA;
  --e-global-color-1d613c2: #F6F7F9;
  --e-global-color-5d216f7: #FFD600;
  --e-global-color-869dd2c: #FF4900;
  --e-global-color-fff6ebb: #FFFBEB;
  --e-global-color-aeb2215: #ECFDF5;
  --e-global-color-13a65c8: #FEF3F2;
  --e-global-color-caced6f: #CCFA73;
  --e-global-typography-primary-font-family: "Roboto";
  --e-global-typography-primary-font-size: 20px;
  --e-global-typography-primary-font-weight: 400;
  --e-global-typography-secondary-font-family: "DM Sans";
  --e-global-typography-secondary-font-weight: 400;
  --e-global-typography-text-font-family: "Roboto";
  --e-global-typography-text-font-size: 16px;
  --e-global-typography-text-font-weight: 400;
  --e-global-typography-accent-font-family: "Roboto Condensed";
  --e-global-typography-accent-font-weight: 500;
  --e-global-typography-6313c4c-font-family: "Roboto Condensed";
  --e-global-typography-6313c4c-font-size: 48px;
  --e-global-typography-6313c4c-font-weight: 700;
  --e-global-typography-39815d6-font-family: "Roboto";
  --e-global-typography-39815d6-font-size: 20px;
  --e-global-typography-39815d6-font-weight: 500;
  --e-global-typography-39815d6-line-height: 1.2em;
  --e-global-typography-feb2ed6-font-family: "Roboto Condensed";
  --e-global-typography-feb2ed6-font-size: 60px;
  --e-global-typography-feb2ed6-font-weight: 700;
  --e-global-typography-feb2ed6-text-transform: uppercase;
  --e-global-typography-feb2ed6-line-height: 1em;
  --e-global-typography-bdda702-font-family: "Roboto Condensed";
  --e-global-typography-bdda702-font-size: 40px;
  --e-global-typography-bdda702-font-weight: 700;
  --e-global-typography-bdda702-text-transform: uppercase;
  --e-global-typography-bdda702-line-height: 1em;
  color: var(--e-global-color-primary);
  font-family: "Roboto", Sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.2em;
  --e-page-transition-entrance-animation: e-page-transition-fade-out;
  --e-page-transition-exit-animation: e-page-transition-fade-in;
  --e-page-transition-animation-duration: 100ms;
  --e-preloader-animation: eicon-spin;
  --e-preloader-animation-duration: 950ms;
  --e-preloader-delay: 0ms;
  --e-preloader-color: #FFF;
  --e-preloader-size: 65px;
}

/* Elementor Responsive Visibility Classes */
/* Desktop: > 1024px, Tablet: 768-1024px, Mobile: < 768px */

/* Hide on mobile (< 768px) */
@media (max-width: 767px) {
  .elementor-hidden-mobile {
    display: none !important;
  }
}

/* Hide on tablet (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .elementor-hidden-tablet {
    display: none !important;
  }
}

/* Hide on desktop (> 1024px) */
@media (min-width: 1025px) {
  .elementor-hidden-desktop {
    display: none !important;
  }
}

/* Show header mobile on tablet and mobile */
@media (max-width: 1024px) {
  .elementor-element-45a73c1 {
    display: flex !important;
    background-color: #FFFFFF;
    padding: 10px 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }

  .elementor-element-45a73c1 .e-con-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .elementor-element-45a73c1 .elementor-widget-image img {
    max-width: 150px;
    height: auto;
  }
}

.elementor-kit-6621 e-page-transition {
  background-color: #6000FF29;
}

.elementor-kit-6621 input:not([type="button"]):not([type="submit"]),
.elementor-kit-6621 textarea,
.elementor-kit-6621 .elementor-field-textual {
  background-color: var(--e-global-color-1d613c2);
  border-style: solid;
  border-width: 1px 1px 1px 1px;
  border-color: var(--e-global-color-1d613c2);
  border-radius: 10px 10px 10px 10px;
}

.elementor-section.elementor-section-boxed > .elementor-container {
  max-width: 1200px;
}

.e-con {
  --container-max-width: 1200px;
}

.elementor-widget:not(:last-child) {
  margin-block-end: 20px;
}

.elementor-element {
  --widgets-spacing: 20px 20px;
  --widgets-spacing-row: 20px;
  --widgets-spacing-column: 20px;
}

/* Subrayado para titulares */
.subrayado1 {
  padding: 0 .2em;
  box-shadow: inset 0 -.5em #7C4DFF !important;
}

.subrayado2 {
  padding: 0 .2em;
  box-shadow: inset 0 -.5em #EEE5FF !important;
}

.subrayado3 {
  padding: 0 .2em;
  box-shadow: inset 0 -.5em #161616 !important;
}

/* Ultima linea de texto */
.elementor-text-editor p:last-child {
  margin-bottom: 0px;
}

/* Elementor page-specific */
.elementor-16289 .elementor-element.elementor-element-aeed5b9 .elementor-heading-title {
  font-family: "Roboto Condensed", Sans-serif;
  font-size: 3.2em;
  font-weight: 700;
  text-transform: uppercase;
  color: #FFFFFF;
}

.elementor-16289 .elementor-element.elementor-element-da08973 {
  --margin-bottom: 0rem !important;
  --margin-top: 2rem !important;
}

.elementor-16289 .elementor-element.elementor-element-9d22954 {
  text-align: justify;
  color: #FFFFFF;
  font-family: "Roboto", Sans-serif;
  font-size: 20px;
  font-weight: 400;
}

/* Site footer */
.site-footer {
  background-color: var(--e-global-color-1d613c2);
}

/* Background utility */
.bodybg {
  background: var(--e-global-color-37bdf95) !important;
}

/* ==========================================================================
   2. Typography & Headings
   ========================================================================== */

.elementor-kit-6621 p {
  margin-bottom: 20px;
}

.elementor-kit-6621 a {
  color: var(--e-global-color-4432600);
}

.elementor-kit-6621 a:hover {
  color: var(--e-global-color-3e0a3eb);
}

.elementor-kit-6621 h1 {
  color: var(--e-global-color-primary);
  font-family: "Roboto Condensed", Sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 64px;
}

.elementor-kit-6621 h2 {
  color: var(--e-global-color-primary);
  font-family: "Roboto Condensed", Sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1em;
}

.elementor-kit-6621 h3 {
  color: var(--e-global-color-primary);
  font-family: "Roboto Condensed", Sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 48px;
}

.elementor-kit-6621 h4 {
  color: var(--e-global-color-primary);
  font-family: "Roboto Condensed", Sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1em;
}

.elementor-kit-6621 h5 {
  color: var(--e-global-color-primary);
  font-family: "Roboto Condensed", Sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
}

.elementor-kit-6621 h6 {
  color: var(--e-global-color-primary);
  font-family: "Roboto Condensed", Sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

/* ==========================================================================
   3. Buttons & Form Elements
   ========================================================================== */

.elementor-kit-6621 button,
.elementor-kit-6621 input[type="button"],
.elementor-kit-6621 input[type="submit"],
.elementor-kit-6621 .elementor-button {
  font-family: "Roboto", Sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--e-global-color-secondary);
  box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.0784313725490196);
  border-style: solid;
  border-width: 3px 3px 3px 3px;
  padding: 16px 32px 16px 32px;
}

.elementor-kit-6621 button:hover,
.elementor-kit-6621 button:focus,
.elementor-kit-6621 input[type="button"]:hover,
.elementor-kit-6621 input[type="button"]:focus,
.elementor-kit-6621 input[type="submit"]:hover,
.elementor-kit-6621 input[type="submit"]:focus,
.elementor-kit-6621 .elementor-button:hover,
.elementor-kit-6621 .elementor-button:focus {
  background-color: var(--e-global-color-secondary);
  box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.0784313725490196);
  border-style: solid;
  border-width: 3px 3px 3px 3px;
}

.elementor-kit-6621 input:not([type="button"]):not([type="submit"]),
.elementor-kit-6621 textarea,
.elementor-kit-6621 .elementor-field-textual {
  background-color: var(--e-global-color-1d613c2);
  border-style: solid;
  border-width: 1px 1px 1px 1px;
  border-color: var(--e-global-color-1d613c2);
  border-radius: 10px 10px 10px 10px;
}

/* Unified button transitions */
.elementor-button,
.elementor-button-link,
button[type="submit"],
.footer-buttons-container button,
.aplicar-btn-container a {
  transition: all 0.3s ease !important;
}

/* Unified hover effects */
.elementor-button:hover,
.elementor-button-link:hover,
button[type="submit"]:hover,
.footer-buttons-container button:hover,
.aplicar-btn-container a:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(39, 70, 255, 0.15) !important;
}

/* Blue background buttons hover */
button[style*="background-color: #2746FF"]:hover {
  background-color: #3857ff !important;
}

/* Transparent buttons with border hover */
button[style*="background-color: transparent"]:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
}

/* White buttons hover */
.aplicar-btn-container a:hover,
button[style*="background: #fff"]:hover {
  background: #f8f9ff !important;
}

.aplicar-btn-container a.elementor-button {
  transition: all 0.3s ease;
}

.aplicar-btn-container a.elementor-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(39, 70, 255, 0.15);
  background: #f8f9ff;
}

/* ==========================================================================
   4. Layout & Containers
   ========================================================================== */

.elementor-section.elementor-section-boxed > .elementor-container {
  max-width: 1200px;
}

.e-con {
  --container-max-width: 1200px;
}

.elementor-widget:not(:last-child) {
  margin-block-end: 20px;
}

.elementor-element {
  --widgets-spacing: 20px 20px;
  --widgets-spacing-row: 20px;
  --widgets-spacing-column: 20px;
}

h1.entry-title {
  display: var(--page-title-display);
}

.site-header {
  padding-inline-end: 0px;
  padding-inline-start: 0px;
}

.site-header .site-branding .site-logo img {
  width: 181px;
  max-width: 181px;
}

.site-header .site-navigation ul.menu li a {
  color: var(--e-global-color-text);
}

.site-header .site-navigation .menu li {
  font-family: "DM Sans", Sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
}

.site-footer .site-branding .site-logo img {
  width: 181px;
  max-width: 181px;
}

/* Scroll margin for anchors */
[id] {
  scroll-margin-top: 100px;
}

/* ==========================================================================
   5. Syndicate Cards
   ========================================================================== */

.syndicate .progress-bar {
  background: #2746FF !important;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}

.syndicate .data p.orange {
  color: #2746FF !important;
}

.syndicate-opened .button-invest {
  padding-top: 12px;
  color: #2746FF !important;
  font-family: SX-Font-SemiBold;
  font-size: 16px;
}

/* ==========================================================================
   6. Benefits Grid
   ========================================================================== */

.fp-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.fp-benefit-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.fp-benefit-card:hover {
  transform: translateY(-6px);
}

.fp-benefit-icon {
  font-size: 2.5rem;
  color: #0073e6;
  margin-bottom: 1rem;
}

.fp-benefit-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.fp-benefit-description {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
}

/* ==========================================================================
   7. Stats Row
   ========================================================================== */

.fp-stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0;
}

.fp-stat-box {
  flex: 1 1 calc(20% - 1rem);
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 2rem 1rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.fp-stat-box:hover {
  transform: translateY(-4px);
}

.fp-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #0073e6;
  margin-bottom: 0.5rem;
}

.fp-stat-text {
  font-size: 0.95rem;
  font-weight: 400;
  color: #555;
}

/* ==========================================================================
   8. Testimonials Carousel
   ========================================================================== */

.fp-testimonial-carousel {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
  position: relative;
}

.fp-quote-slide {
  background: #f9fbff;
  border-left: 4px solid #0073e6;
  border-radius: 12px;
  padding: 2rem;
  margin: 1rem 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
  font-family: "Georgia", serif;
  position: relative;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fp-quote-slide::before {
  content: "";
  font-size: 4rem;
  position: absolute;
  top: 0;
  left: 1rem;
  color: #0073e6;
  font-family: "Georgia", serif;
  line-height: 1;
}

.fp-quote-text {
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.6;
  color: #333;
  margin-left: 2.5rem;
}

.fp-quote-author {
  margin-top: 1rem;
  font-weight: 600;
  font-size: 1rem;
  text-align: right;
  color: #0073e6;
  margin-left: 2.5rem;
}

/* Swiper pagination */
.swiper-pagination {
  margin-top: 1rem;
  text-align: center;
}

.swiper-pagination-bullet {
  background: #ccc;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #0073e6;
}

.swiper-button-prev,
.swiper-button-next {
  color: #0073e6;
}

/* ==========================================================================
   9. Hero Section
   ========================================================================== */

.elementor-element-da08973 {
  min-height: 450px !important;
  height: 450px !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  display: flex !important;
  align-items: center !important;
}

/* ==========================================================================
   10. Navigation
   ========================================================================== */

.main-nav-container {
  font-family: 'Roboto Condensed', sans-serif;
}

.nav-link {
  color: #2746FF;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 12px;
  transition: all 0.3s ease;
  border-radius: 4px;
  z-index: 1;
}

.nav-link:hover {
  background-color: rgba(39, 70, 255, 0.1);
  color: #2746FF;
}

.language-selector select {
  background-color: white;
  color: #2746FF;
  font-weight: 600;
  cursor: pointer;
}

.language-selector select:focus {
  outline: none;
  border-color: #2746FF;
}

/* ==========================================================================
   11. Modals
   ========================================================================== */

/* Login/Register Modal */
.elementor-element-login-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  overflow: auto;
}

.modal-content {
  position: relative;
  background: white;
  margin: 40px auto;
  max-width: 600px;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dialog-close-button {
  position: absolute;
  right: 20px;
  top: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  z-index: 1;
}

/* Content Modal */
.content-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.content-modal-container {
  background: white;
  padding: 30px;
  border-radius: 8px;
  width: 100%;
  max-width: 1200px;
  margin: 20px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.content-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.content-modal-header h2 {
  margin: 0;
  font-size: 1.8em;
  color: #333;
}

.content-modal-close {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #666;
  padding: 0;
  margin: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.content-modal-close:hover {
  color: #333;
}

.content-modal-body {
  padding: 20px 0;
  font-size: 16px;
  line-height: 1.6;
}

.loading-spinner {
  text-align: center;
  padding: 40px;
}

.error-message {
  color: #dc3545;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  padding: 15px;
  border-radius: 4px;
  margin: 10px 0;
}

/* ==========================================================================
   12. Utilities
   ========================================================================== */

.elementor-kit-6621 e-page-transition {
  background-color: #6000FF29;
}

/* ==========================================================================
   13. Responsive Breakpoints
   ========================================================================== */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .elementor-kit-6621 {
    --e-global-typography-39815d6-font-size: 20px;
    --e-global-typography-39815d6-line-height: 1.2em;
    --e-global-typography-feb2ed6-font-size: 48px;
    --e-global-typography-bdda702-font-size: 32px;
    font-size: 16px;
    line-height: 1.2em;
  }

  .elementor-kit-6621 h2 {
    font-size: 24px;
    line-height: 1em;
  }

  .elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1024px;
  }

  .e-con {
    --container-max-width: 1024px;
  }

  .fp-stat-box {
    flex: 1 1 calc(50% - 1rem);
  }
}

/* Hero adjustments at 900px */
@media (max-width: 900px) {
  .elementor-element-da08973 {
    min-height: 200px !important;
    height: auto !important;
    padding-top: 16px !important;
    padding-bottom: 16px !important;
  }
}

/* Desktop width adjustment */
@media (min-width: 768px) {
  .elementor-16289 .elementor-element.elementor-element-fb32e3d {
    --width: 70% !important;
  }
}

/* Mobile modal adjustments */
@media (max-width: 768px) {
  .modal-content {
    margin: 20px;
    padding: 20px;
  }

  .content-modal-container {
    width: 95%;
    margin: 10px;
    padding: 15px;
  }
}

/* Mobile (max-width: 767px) */
@media (max-width: 767px) {
  .elementor-kit-6621 {
    --e-global-typography-6313c4c-font-size: 2em;
    --e-global-typography-6313c4c-line-height: 1em;
    --e-global-typography-39815d6-font-size: 18px;
    --e-global-typography-39815d6-line-height: 1.2em;
    --e-global-typography-feb2ed6-font-size: 40px;
    --e-global-typography-bdda702-font-size: 32px;
  }

  .elementor-kit-6621 h1 {
    font-size: 40px;
    line-height: 1em;
  }

  .elementor-kit-6621 h2 {
    font-size: 26px;
    line-height: 1em;
  }

  .elementor-kit-6621 h3 {
    font-size: 24px;
    line-height: 1em;
  }

  .elementor-kit-6621 h4 {
    font-size: 22px;
    line-height: 1em;
  }

  .elementor-kit-6621 h5 {
    font-size: 20px;
    line-height: 1em;
  }

  .elementor-kit-6621 h6 {
    font-size: 18px;
    line-height: 1em;
  }

  .elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 767px;
  }

  .e-con {
    --container-max-width: 767px;
  }

  /* Syndicate cards mobile */
  .syndicate .progress-bar {
    background: #2746FF !important;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
  }

  .syndicate .data p.orange {
    color: #2746FF !important;
  }

  .syndicate-opened .button-invest {
    padding-top: 12px;
    color: #2746FF !important;
    font-family: SX-Font-SemiBold;
    font-size: 16px;
  }

  /* Benefits grid mobile */
  .fp-benefits-grid {
    grid-template-columns: 1fr;
  }

  /* Testimonials mobile */
  .fp-quote-text {
    font-size: 1.05rem;
  }

  .fp-quote-slide::before {
    font-size: 3rem;
  }

  /* Mobile popup modal */
  .elementor-popup-modal {
    max-width: 95% !important;
    margin: 10px auto !important;
  }

  .elementor-popup-modal .dialog-widget-content {
    width: 100% !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    margin: 0 auto !important;
    border-radius: 8px !important;
    padding: 15px !important;
  }

  .elementor-popup-modal input[type="text"],
  .elementor-popup-modal input[type="email"],
  .elementor-popup-modal input[type="tel"],
  .elementor-popup-modal input[type="password"] {
    font-size: 16px !important;
    padding: 12px !important;
    margin-bottom: 15px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .elementor-popup-modal .dialog-message {
    padding: 20px !important;
  }

  .elementor-popup-modal .dialog-close-button {
    top: 10px !important;
    right: 10px !important;
    font-size: 20px !important;
  }

  .elementor-popup-modal .elementor-icon {
    font-size: 24px !important;
  }

  .elementor-popup-modal p,
  .elementor-popup-modal .elementor-heading-title {
    font-size: 14px !important;
    line-height: 1.4 !important;
  }

  .elementor-popup-modal .elementor-button {
    width: 100% !important;
    padding: 12px !important;
    font-size: 16px !important;
  }

  /* Fix logo header en móvil - evita desbordamiento */
  .elementor-widget-image img,
  .elementor-widget-theme-site-logo img {
    max-width: 100%;
    height: auto;
  }

  /* Asegurar que el contenedor del header no se desborde (excepto para menú) */
  .e-con-inner {
    max-width: 100%;
  }

  /* Fix sticky header logo posición */
  .elementor-element-45a73c1 {
    position: relative;
    z-index: 1000;
  }

  /* Permitir overflow en el header móvil para que el menú sea visible */
  .elementor-element-45a73c1 .e-con-inner {
    overflow: visible;
  }

  /* Contenedor del icono hamburguesa debe ser relativo para posicionar el menú */
  .elementor-element-b6661fe {
    position: relative;
  }

  /* Mobile Menu Styles */
  .mobile-nav-container {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 99999;
    padding: 15px 0;
  }

  .mobile-nav {
    display: flex;
    flex-direction: column;
  }

  .mobile-nav-link {
    padding: 12px 20px;
    color: #161616;
    text-decoration: none;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid #E5E7EA;
  }

  .mobile-nav-link:hover {
    background: #F6F7F9;
    color: #2746FF;
  }

  /* Fix "Sobre Nosotros" section - position background image properly in mobile */
  .elementor-element-263ac99 {
    min-height: 150px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    margin-bottom: 1rem;
  }

  /* Carruseles de Elementor - asegurar visibilidad de slides */
  .elementor-widget-loop-carousel .swiper-slide,
  .elementor-widget-image-carousel .swiper-slide {
    opacity: 1;
    visibility: visible;
  }
}

/* Small mobile (max-width: 600px) */
@media (max-width: 600px) {
  .fp-stat-box {
    flex: 1 1 100%;
  }
}

/* ==========================================================================
   14. Portfolio Carousel Card Equalization
   ========================================================================== */

/* Ensure all portfolio carousel cards have equal height */
.elementor-widget-loop-carousel .swiper-wrapper {
  align-items: stretch;
}

.elementor-widget-loop-carousel .swiper-slide {
  height: auto;
  display: flex;
}

/* The main card container */
.elementor-16814 .elementor-element-4c9b544a {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Inner container fills available space */
.elementor-16814 .e-con-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Tags + title container */
.elementor-16814 .elementor-element-41ffa4d0 {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Fixed height for tags section - accommodates up to 2 lines */
.elementor-16814 .ae-custom-tax-wrapper {
  min-height: 52px;
  max-height: 52px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

/* Tags container - wrap and center */
.elementor-16814 .ae-custom-tax {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  max-height: 52px;
  overflow: hidden;
}

/* Individual tag styling - slightly smaller for better fit */
.elementor-16814 .ae-term-item {
  font-size: 0.65rem !important;
  padding: 2px 8px !important;
  margin: 2px !important;
  white-space: nowrap;
}

/* Title stays at bottom */
.elementor-16814 .elementor-element-4affc310 {
  margin-top: auto;
}


