/* Custom styles for CAIM website */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@400;500;600;700;900&family=Kumbh+Sans:wght@400;700&family=Roboto:wght@300;400;500&family=Lato:wght@300;400;700&display=swap');

/* Topbar Buttons */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
  font-family: 'Lato', sans-serif;
}

@media (max-width: 600px) {
  html, body {
      position: relative;
  }
}

.dist-css-Home-module__topbarOne--LGpnD .dist-css-Home-module__topbarContainer--cSqq6 .dist-css-Home-module__containerMenu--gcTVK button {
  color: #fff;
  text-transform: initial;
  font-family: "Red Hat Display", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 29px;
}

/* Base button styles to ensure overrides */
.css-1ujsas3 {
  display: inline-flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  background-color: transparent;
  cursor: pointer;
  user-select: none;
  vertical-align: middle;
  appearance: none;
  font-family: "Roboto", "Helvetica", "Arial", sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.75;
  letter-spacing: 0.02857em;
  text-transform: uppercase;
  min-width: 64px;
  color: rgb(25, 118, 210);
  outline: 0px;
  border-width: 0px;
  border-style: initial;
  border-color: initial;
  border-image: initial;
  margin: 0px;
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 4px;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1), border-color 250ms cubic-bezier(0.4, 0, 0.2, 1), color 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* H1 Heading Styles */
.dist-css-Home-module__dashboard--lxM2z .dist-css-Home-module__sectionHero--VyLa5 .dist-css-Home-module__containerHeader--T0g6y .dist-css-Home-module__head--pIHqP h1 {
  width: 750px;
  color: #fff;
  font-family: "Kumbh Sans", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 64px;
  line-height: 72px;
  text-align: center;
  padding-bottom: 50px;
}

/* Base H1 overrides */
.css-171h0ym {
  margin: 0px;
  font-family: "Roboto", "Helvetica", "Arial", sans-serif;
  font-weight: 300;
  font-size: 6rem;
  line-height: 1.167;
  letter-spacing: -0.01562em;
}

/* Responsive adjustments for H1 */
@media (max-width: 678px) {
  .dist-css-Home-module__dashboard--lxM2z .dist-css-Home-module__sectionHero--VyLa5 .dist-css-Home-module__containerHeader--T0g6y .dist-css-Home-module__head--pIHqP h1 {
    width: 100%;
    font-size: calc(3rem + 1vw);
  }
}

/* Footer Styles Moved from styles_index.css */
.dist-css-Home-module__footer--RS8Ut {
  padding: 50px 0px;
  position: relative;
}

.dist-css-Home-module__footer--RS8Ut .dist-css-Home-module__flotanteSitio--zjw9C {
  position: fixed;
  z-index: 1000;
  bottom: 30px;
  right: 30px;
  width: 70px;
  height: 70px;
  background-color: rgb(255, 255, 255);
  border-radius: 10px;
  box-shadow: rgba(103, 103, 103, 0.494) 10px 9px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 678px) {
  .dist-css-Home-module__footer--RS8Ut .dist-css-Home-module__flotanteSitio--zjw9C {
    bottom: 10px;
    right: 10px;
  }
}

.dist-css-Home-module__footer--RS8Ut .dist-css-Home-module__flotanteSitio--zjw9C picture img {
  border-radius: 5px;
  width: 60px;
  height: 60px;
}

.dist-css-Home-module__footer--RS8Ut .dist-css-Home-module__containerFooter--ZUiz4 {
  height: 250px;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  padding: 20px 0px;
  width: 100%;
}

@media (max-width: 678px) {
  .dist-css-Home-module__footer--RS8Ut .dist-css-Home-module__containerFooter--ZUiz4 {
    flex-direction: column;
    align-items: center;
    height: auto;
    width: 100%;
  }
}

.dist-css-Home-module__footer--RS8Ut .dist-css-Home-module__containerFooter--ZUiz4 .dist-css-Home-module__containerLogo--_RGg6 {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 678px) {
  .dist-css-Home-module__footer--RS8Ut .dist-css-Home-module__containerFooter--ZUiz4 .dist-css-Home-module__containerLogo--_RGg6 {
    width: 100%;
    text-align: center;
    margin: 0px auto;
  }
}

@media (max-width: 678px) {
  .dist-css-Home-module__footer--RS8Ut .dist-css-Home-module__containerFooter--ZUiz4 .dist-css-Home-module__containerLogo--_RGg6 picture img {
    margin: 0px auto;
  }
}

@media (max-width: 678px) {
  .dist-css-Home-module__footer--RS8Ut .dist-css-Home-module__containerFooter--ZUiz4 .dist-css-Home-module__containerLogo--_RGg6 p {
    margin: 0px auto;
    width: 100%;
  }
}

.dist-css-Home-module__footer--RS8Ut .dist-css-Home-module__containerFooter--ZUiz4 .dist-css-Home-module__containerLogo--_RGg6 p {
  width: 220px;
}

@media (max-width: 678px) {
  .dist-css-Home-module__footer--RS8Ut .dist-css-Home-module__containerFooter--ZUiz4 .dist-css-Home-module__containerContacto--DBSn3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 30px 0px;
  }
}

.dist-css-Home-module__footer--RS8Ut .dist-css-Home-module__containerFooter--ZUiz4 .dist-css-Home-module__containerContacto--DBSn3 h6 {
  margin-bottom: 30px;
  font-family: Lato;
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 16px;
  text-transform: uppercase;
  color: rgb(34, 34, 34);
}

@media (max-width: 678px) {
  .dist-css-Home-module__footer--RS8Ut .dist-css-Home-module__containerFooter--ZUiz4 .dist-css-Home-module__containerContacto--DBSn3 h6 {
    text-align: center;
  }
}

.dist-css-Home-module__footer--RS8Ut .dist-css-Home-module__containerFooter--ZUiz4 .dist-css-Home-module__containerContacto--DBSn3 p {
  margin-bottom: 0px;
  font-family: Lato;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 35px;
  text-transform: uppercase;
  color: rgb(158, 158, 158);
}

@media (max-width: 678px) {
  .dist-css-Home-module__footer--RS8Ut .dist-css-Home-module__containerFooter--ZUiz4 .dist-css-Home-module__containerContacto--DBSn3 p {
    text-align: center;
  }
}

.dist-css-Home-module__footer--RS8Ut .dist-css-Home-module__containerFooter--ZUiz4 .dist-css-Home-module__containerContacto--DBSn3 p a {
  color: rgb(14, 84, 153);
  font-weight: 700;
}

@media (max-width: 678px) {
  .dist-css-Home-module__footer--RS8Ut .dist-css-Home-module__containerFooter--ZUiz4 .dist-css-Home-module__containerLinks--Kcj9M {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 30px 0px;
  }
}

.dist-css-Home-module__footer--RS8Ut .dist-css-Home-module__containerFooter--ZUiz4 .dist-css-Home-module__containerLinks--Kcj9M h6 {
  margin-bottom: 30px;
  font-family: Lato;
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 16px;
  text-transform: uppercase;
  color: rgb(34, 34, 34);
}

.dist-css-Home-module__footer--RS8Ut .dist-css-Home-module__containerFooter--ZUiz4 .dist-css-Home-module__containerLinks--Kcj9M p {
  margin-bottom: 20px;
  font-family: Lato;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 14px;
  text-transform: uppercase;
  color: rgb(158, 158, 158);
}

.dist-css-Home-module__footerTwo--WO4QU {
  background-color: rgb(14, 84, 153);
  color: rgb(255, 255, 255);
  padding: 10px 0px;
}

.dist-css-Home-module__footerTwo--WO4QU .dist-css-Home-module__containerFooterTwo--tFgD8 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 678px) {
  .dist-css-Home-module__footerTwo--WO4QU .dist-css-Home-module__containerFooterTwo--tFgD8 {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 678px) {
  .dist-css-Home-module__footerTwo--WO4QU .dist-css-Home-module__containerFooterTwo--tFgD8 .dist-css-Home-module__copywriter--xco7l p {
    text-align: center;
  }
}

.dist-css-Home-module__footerTwo--WO4QU .dist-css-Home-module__containerFooterTwo--tFgD8 .dist-css-Home-module__socials--h2fmZ {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

/* Fix for header layout on all pages */
.dist-css-NoRestricted-module__topbarOne--Anw9y {
  background-color: rgb(255, 255, 255) !important;
  height: 120px !important;
  width: 100% !important;
  border-bottom: 1px solid #f0f0f0 !important;
}

/* Force flex layout on the container even if MUI classes like .css-1ekb41w try to block it */
.dist-css-NoRestricted-module__topbarOne--Anw9y .dist-css-NoRestricted-module__topbarContainer--yTpvA,
.dist-css-NoRestricted-module__topbarOne--Anw9y .css-1ekb41w {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 1536px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
  box-sizing: border-box !important;
}

@media (max-width: 600px) {
  .dist-css-NoRestricted-module__topbarOne--Anw9y {
    height: 80px !important;
  }
  .dist-css-NoRestricted-module__topbarOne--Anw9y .dist-css-NoRestricted-module__topbarContainer--yTpvA,
  .dist-css-NoRestricted-module__topbarOne--Anw9y .css-1ekb41w {
    padding-left: 10px !important;
    padding-right: 10px !important;
    height: 80px !important;
  }
}

.dist-css-NoRestricted-module__topbarOne--Anw9y .dist-css-NoRestricted-module__containerLogo--RyU5z {
  width: 20% !important;
  min-width: 150px !important;
}

@media (max-width: 600px) {
  .dist-css-NoRestricted-module__topbarOne--Anw9y .dist-css-NoRestricted-module__containerLogo--RyU5z {
    min-width: 110px !important;
    width: auto !important;
  }
}

.dist-css-NoRestricted-module__topbarOne--Anw9y .dist-css-NoRestricted-module__containerLogo--RyU5z picture img {
  height: 50px !important;
  width: auto !important;
  display: block !important;
}

/* Unified Menu Button Styles - Removes Bold and Uppercase Globally */
.dist-css-NoRestricted-module__containerMenu--nBiMy button,
.dist-css-Home-module__topbarOne--LGpnD .dist-css-Home-module__topbarContainer--cSqq6 .dist-css-Home-module__containerMenu--gcTVK button,
.dist-css-NoRestricted-module__topbarOne--Anw9y .dist-css-NoRestricted-module__containerMenu--nBiMy .css-1ujsas3,
.dist-css-Home-module__topbarOne--LGpnD .dist-css-Home-module__topbarContainer--cSqq6 .dist-css-Home-module__containerMenu--gcTVK .css-1ujsas3,
[class*="containerMenu"] button,
[class*="containerMenu"] .css-1ujsas3,
[class*="containerLogin"] button,
[class*="containerLogin"] .css-1ujsas3,
.mobile-nav-tray button,
.mobile-nav-tray .css-1ujsas3 {
  text-transform: initial !important;
  font-family: "Red Hat Display", sans-serif !important;
  font-weight: 400 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  min-width: auto !important;
}

@media (min-width: 961px) {
  .dist-css-NoRestricted-module__topbarOne--Anw9y .dist-css-NoRestricted-module__containerMenu--nBiMy {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-around !important;
    width: 50% !important;
    flex-grow: 1 !important;
  }

  .dist-css-NoRestricted-module__topbarOne--Anw9y .dist-css-NoRestricted-module__containerMenu--nBiMy button,
  .dist-css-Home-module__topbarOne--LGpnD .dist-css-Home-module__topbarContainer--cSqq6 .dist-css-Home-module__containerMenu--gcTVK button {
    color: rgb(14, 84, 153) !important;
    font-size: 16px !important;
  }

  .dist-css-NoRestricted-module__topbarOne--Anw9y .dist-css-NoRestricted-module__topbarContainer--yTpvA .dist-css-NoRestricted-module__containerLogin--YNca0 {
    width: 30% !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    align-items: center !important;
    min-width: 300px !important;
  }

  .dist-css-NoRestricted-module__topbarOne--Anw9y .dist-css-NoRestricted-module__topbarContainer--yTpvA .dist-css-NoRestricted-module__containerLogin--YNca0 button {
    text-transform: initial !important;
    display: flex !important;
    flex-direction: row-reverse !important;
    color: rgb(14, 84, 153) !important;
    gap: 10px !important;
    font-family: "Red Hat Display", sans-serif !important;
    font-size: 16px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  .dist-css-NoRestricted-module__topbarOne--Anw9y .dist-css-NoRestricted-module__topbarContainer--yTpvA .dist-css-NoRestricted-module__containerLogin--YNca0 button svg {
    border: 1px solid rgb(14, 84, 153) !important;
    border-radius: 50% !important;
    padding: 5px !important;
  }
}

.dist-css-NoRestricted-module__topbarOne--Anw9y .dist-css-NoRestricted-module__topbarContainer--yTpvA .dist-css-NoRestricted-module__containerLogin--YNca0 .dist-css-NoRestricted-module__comoMatricularme--x3TWt,
.dist-css-Home-module__topbarOne--LGpnD .dist-css-Home-module__topbarContainer--cSqq6 .dist-css-Home-module__containerLogin--hqtxf .dist-css-Home-module__comoMatricularme--fuqEG {
  padding: 0px 20px !important;
  height: 50px !important;
  background-color: rgb(14, 84, 153) !important;
  color: rgb(255, 255, 255) !important;
  font-family: "Red Hat Display", sans-serif !important;
  font-style: normal !important;
  font-weight: 400 !important;
  font-size: 16px !important;
  line-height: normal !important;
  border-radius: 40px !important;
  border: none !important;
  text-transform: initial !important;
}

/* Unified Responsive Header Styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #fff; /* Default for dark/hero background */
    border-radius: 10px;
    transition: all 0.3s linear;
}

/* Light background version of the toggle */
.mobile-menu-toggle-light span {
    background-color: #0e5499;
}

.mobile-only-links {
    display: none;
    flex-direction: column;
    gap: 15px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 10px;
}

.mobile-only-links a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
}

/* Light background version of mobile links */
.mobile-only-links-light a {
    color: #0e5499;
}

@media (max-width: 960px) {
    /* Force mobile toggle to show */
    .mobile-menu-toggle,
    button.mobile-menu-toggle,
    .mobile-menu-toggle-light {
        display: flex !important;
        position: relative !important;
        z-index: 1100 !important;
    }

    /* Hide the desktop login container on mobile - very specific */
    .dist-css-NoRestricted-module__topbarOne--Anw9y .dist-css-NoRestricted-module__topbarContainer--yTpvA .dist-css-NoRestricted-module__containerLogin--YNca0,
    [class*="containerLogin"] {
        display: none !important;
    }

    /* Hide desktop menu - must be more specific to override page CSS */
    .dist-css-NoRestricted-module__topbarOne--Anw9y .dist-css-NoRestricted-module__topbarContainer--yTpvA .dist-css-NoRestricted-module__containerMenu--nBiMy:not(.mobile-nav-tray),
    .dist-css-NoRestricted-module__topbarOne--Anw9y .dist-css-NoRestricted-module__containerMenu--nBiMy:not(.mobile-nav-tray) {
        display: none !important;
    }

    /* Unified Mobile Menu Tray */
    .mobile-nav-tray,
    div.mobile-nav-tray,
    .dist-css-NoRestricted-module__containerMenu--nBiMy.mobile-nav-tray {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 80% !important;
        max-width: 300px !important;
        height: 100vh !important;
        background-color: #0d1d2b !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        padding: 80px 20px 40px !important;
        transition: right 0.3s ease-in-out !important;
        z-index: 1050 !important;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5) !important;
        display: flex !important;
    }

    /* Light background version of tray */
    .mobile-nav-tray-light,
    div.mobile-nav-tray-light {
        background-color: #f7f9fc !important;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1) !important;
    }

    .mobile-nav-tray.active,
    div.mobile-nav-tray.active {
        right: 0 !important;
    }

    /* Force white color for all elements inside DARK mobile tray - ULTRA SPECIFIC */
    .mobile-nav-tray,
    .mobile-nav-tray a,
    .mobile-nav-tray button,
    .mobile-nav-tray span,
    .dist-css-NoRestricted-module__topbarOne--Anw9y .dist-css-NoRestricted-module__topbarContainer--yTpvA .dist-css-NoRestricted-module__containerMenu--nBiMy.mobile-nav-tray button,
    .dist-css-Home-module__topbarOne--LGpnD .dist-css-Home-module__topbarContainer--cSqq6 .dist-css-Home-module__containerMenu--gcTVK.mobile-nav-tray button {
        color: white !important;
    }

    .mobile-nav-tray a {
        display: block !important;
        width: 100% !important;
        margin-bottom: 2px !important;
        padding: 5px 10px !important;
        text-decoration: none !important;
    }

    .mobile-nav-tray button {
        width: 100% !important;
        justify-content: flex-start !important;
        font-size: 17px !important;
        padding: 8px 0 !important;
        text-align: left !important;
        background: transparent !important;
        border: none !important;
        text-transform: initial !important;
        font-weight: 400 !important;
        font-family: "Red Hat Display", sans-serif !important;
    }

    /* Force blue color ONLY for light tray */
    .mobile-nav-tray-light,
    .mobile-nav-tray-light button,
    .mobile-nav-tray-light a,
    .mobile-nav-tray-light .mobile-only-links a {
        color: #0e5499 !important;
    }

    .mobile-only-links {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        margin-top: 20px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
        padding-top: 20px !important;
    }

    .mobile-nav-tray-light .mobile-only-links {
        border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
    }

    /* Hamburger Animation Transitions */
    .mobile-menu-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .mobile-menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -8px);
    }
    
    /* Topbar height adjustment */
    [class*="topbarOne"],
    .dist-css-NoRestricted-module__topbarOne--Anw9y {
        height: 70px !important;
    }

    /* Ensure topbar container has proper layout on mobile */
    .dist-css-NoRestricted-module__topbarContainer--yTpvA,
    .dist-css-NoRestricted-module__topbarOne--Anw9y .dist-css-NoRestricted-module__topbarContainer--yTpvA {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 20px !important;
    }

    /* Ensure logo container doesn't take full width */
    .dist-css-NoRestricted-module__containerLogo--RyU5z,
    .dist-css-NoRestricted-module__topbarOne--Anw9y .dist-css-NoRestricted-module__topbarContainer--yTpvA .dist-css-NoRestricted-module__containerLogo--RyU5z {
        width: auto !important;
        flex-shrink: 0 !important;
    }

    /* Hide search form labels (Specialty, Province, etc) on mobile */
    .MuiInputLabel-root,
    .MuiOutlinedInput-notchedOutline legend {
        display: none !important;
    }
}

/* Reduce padding on info section */
.dist-css-NoRestricted-module__sectionInfo--_JqNo {
    padding: 30px 0px !important;
}

/* Home Dashboard Spacing Fixes */
.dist-css-Home-module__dashboard--lxM2z .dist-css-Home-module__sectionInfo--RdOND {
    height: auto !important;
    margin: 30px 0px !important;
}

.dist-css-Home-module__dashboard--lxM2z .dist-css-Home-module__enCuenta--IQfE2 {
    height: 500px !important;
    margin: 20px 0px 0px !important;
}

.dist-css-Home-module__dashboard--lxM2z .dist-css-Home-module__enCuenta--IQfE2 .dist-css-Home-module__containerEnCuenta--sIxUp {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    gap: 0px !important;
}

/* Fix for large gray empty space in counters section */
.dist-css-Home-module__dashboard--lxM2z .dist-css-Home-module__contador--ykCE3 {
    height: auto !important;
    padding: 40px 0 !important;
    background-color: rgb(115, 129, 140) !important;
}

.dist-css-Home-module__dashboard--lxM2z .dist-css-Home-module__contador--ykCE3 .dist-css-Home-module__containerContador--ZAFm6 {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-evenly !important;
    align-items: center !important;
    height: auto !important;
    gap: 20px !important;
    padding: 20px 0 !important;
}

.dist-css-Home-module__dashboard--lxM2z .dist-css-Home-module__contador--ykCE3 .dist-css-Home-module__containerContador--ZAFm6 .dist-css-Home-module__cajaContador--Z8dPH {
    height: auto !important;
    margin-bottom: 0px !important;
}

.dist-css-Home-module__dashboard--lxM2z .dist-css-Home-module__contador--ykCE3 .dist-css-Home-module__containerContador--ZAFm6 .dist-css-Home-module__cajaContador--Z8dPH svg {
    font-size: 40px !important;
    margin-bottom: 10px !important;
}

.dist-css-Home-module__dashboard--lxM2z .dist-css-Home-module__contador--ykCE3 .dist-css-Home-module__containerContador--ZAFm6 .dist-css-Home-module__cajaContador--Z8dPH span {
    font-size: 36px !important;
    height: auto !important;
    margin-bottom: 5px !important;
}

/* Fix for Benefits section and WhatsApp button overlap */
.dist-css-Home-module__dashboard--lxM2z .dist-css-Home-module__sectionBenefits--HplTA {
    padding: 50px 0 100px !important; /* Extra bottom padding for WhatsApp button */
}

.dist-css-Home-module__dashboard--lxM2z .dist-css-Home-module__sectionBenefits--HplTA h4 {
    font-size: 18px !important;
    line-height: 1.4 !important;
    padding: 0 10px !important;
}

/* Adjust card consideration cards on mobile */
@media (max-width: 960px) {
    /* Allow section to grow */
    .dist-css-Home-module__dashboard--lxM2z .dist-css-Home-module__enCuenta--IQfE2 {
        height: auto !important;
        padding-bottom: 50px !important;
    }

    /* Stack cards vertically */
    .dist-css-Home-module__dashboard--lxM2z .dist-css-Home-module__enCuenta--IQfE2 .dist-css-Home-module__containerEnCuenta--sIxUp {
        flex-direction: column !important;
        align-items: center !important;
        gap: 30px !important;
    }

    .dist-css-Home-module__dashboard--lxM2z .dist-css-Home-module__enCuenta--IQfE2 .dist-css-Home-module__containerEnCuenta--sIxUp .dist-css-Home-module__CardConsideracion--mkYNk {
        width: 100% !important;
        max-width: 300px !important; /* Keep a reasonable max width */
        height: auto !important;
        min-height: 280px !important;
        margin: 0 auto !important; /* Center horizontally */
    }


    /* Fix for Institutos section gap */
    .dist-css-Home-module__dashboard--lxM2z .dist-css-Home-module__sectionInstitutos--vLNZI {
        height: auto !important;
        padding: 50px 0 !important;
        min-height: auto !important;
    }

    .dist-css-Home-module__dashboard--lxM2z .dist-css-Home-module__sectionInstitutos--vLNZI .dist-css-Home-module__containerInstitutos--QtJaK {
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .dist-css-Home-module__dashboard--lxM2z .dist-css-Home-module__sectionInstitutos--vLNZI .dist-css-Home-module__containerInstitutos--QtJaK .dist-css-Home-module__flexLogos--Wt7kW {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
        align-items: center !important;
        margin-bottom: 30px !important;
    }
    
    /* Ensure footer doesn't have weird gaps */
    .dist-css-Home-module__footerTwo--WU4QU {
        margin-top: 0 !important;
    }

    /* Ocultar contenedor de respuesta de escritorio en mobile */
    #answer-container {
        display: none !important;
    }
}

/* Estilos para el acordeón móvil y corrección de colores de botones */

/* Contenido de respuesta en móvil */
.mobile-answer-content {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 0 0 10px 10px;
    margin-top: -10px; /* Para que parezca unido al botón */
    color: rgb(14, 62, 104);
}

/* Forzar color AZUL en el botón activo en Desktop y Mobile */
.dist-css-Home-module__dashboard--lxM2z .dist-css-Home-module__sectionInfo--RdOND .dist-css-Home-module__containerInfo--dq5Gd .dist-css-Home-module__cajaGeneralInfo--GNQDb .dist-css-Home-module__itemsInfo--k2d8w .dist-css-Home-module__buttonActive--Vc_rL {
    background-color: rgb(14, 84, 153) !important;
    color: #ffffff !important;
}

/* Forzar color correcto en SVG del botón activo */
.dist-css-Home-module__dashboard--lxM2z .dist-css-Home-module__sectionInfo--RdOND .dist-css-Home-module__containerInfo--dq5Gd .dist-css-Home-module__cajaGeneralInfo--GNQDb .dist-css-Home-module__itemsInfo--k2d8w .dist-css-Home-module__buttonActive--Vc_rL svg {
    color: #ffffff !important;
}

/* Ajuste de contenedor items en mobile para que no se corte */
@media (max-width: 960px) {
    .dist-css-Home-module__dashboard--lxM2z .dist-css-Home-module__sectionInfo--RdOND .dist-css-Home-module__containerInfo--dq5Gd .dist-css-Home-module__cajaGeneralInfo--GNQDb {
        height: auto !important;
    }
    
    .dist-css-Home-module__dashboard--lxM2z .dist-css-Home-module__sectionInfo--RdOND .dist-css-Home-module__containerInfo--dq5Gd .dist-css-Home-module__cajaGeneralInfo--GNQDb .dist-css-Home-module__itemsInfo--k2d8w {
        width: 100% !important;
    }

    /* En mobile, los botones deben tener borde completo o ajuste visual */
    .dist-css-Home-module__dashboard--lxM2z .dist-css-Home-module__sectionInfo--RdOND .dist-css-Home-module__containerInfo--dq5Gd .dist-css-Home-module__cajaGeneralInfo--GNQDb .dist-css-Home-module__itemsInfo--k2d8w .dist-css-Home-module__buttonActive--Vc_rL,
    .dist-css-Home-module__dashboard--lxM2z .dist-css-Home-module__sectionInfo--RdOND .dist-css-Home-module__containerInfo--dq5Gd .dist-css-Home-module__cajaGeneralInfo--GNQDb .dist-css-Home-module__itemsInfo--k2d8w .dist-css-Home-module__buttonDisabled--eDrky {
        border-radius: 10px !important;
        margin-bottom: 5px !important;
    }
    
    /* Si el botón activo está seguido por respuesta, quitar el borde inferior redondeado */
    .info-item-wrapper button.dist-css-Home-module__buttonActive--Vc_rL {
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
        margin-bottom: 0 !important;
    }

    /* Counters section vertical stacking on mobile */
    .dist-css-Home-module__dashboard--lxM2z .dist-css-Home-module__contador--ykCE3 .dist-css-Home-module__containerContador--ZAFm6 {
        flex-direction: column !important;
        gap: 40px !important;
        padding: 40px 0 !important;
    }
}