* {
    margin: 0;
    padding: 0;
    font-family: "Quicksand", sans-serif;
    box-sizing: border-box
}

h1 {
    font-size: 4rem;
    color: #fff
}

.main {
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden
}

.deco-main1 {
    width: 500px;
    height: 500px;
    position: absolute;
    z-index: 1;
    background-color: #00364b;
    top: 25%;
    right: 10%;
    transform: rotate(35deg);
    border-radius: 24px
}

.deco-main2 {
    width: 500px;
    height: 500px;
    position: absolute;
    z-index: 1;
    background-color: #10b981;
    top: 45%;
    right: -5%;
    transform: rotate(35deg);
    border-radius: 50%
}

.hero-section {
    width: 100%;
    height: 100vh;
    background-color: #10b981;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    background: linear-gradient(270deg, #fff0 30%, rgb(255 255 255 / .952) 100%), url(/assets/images/hero-bg-1.webp);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat
}

.hero-title {
    width: 100%;
    height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 40px;
    gap: 20px
}

.hero-title img {
    width: 200px;
    height: auto
}

.titulo-principal {
    width: 80%;
    position: relative;
    display: inline-block;
    padding-bottom: 18px;
    font-size: 4rem;
    padding-right: 800px;
    color: #005a7e
}

.titulo-principal::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 120px;
    height: 10px;
    background-color: #3bcc84
}

.titulo-destacado {
    display: block;
    font-weight: 900;
    color: #00364b;
    font-size: 6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 800
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 500;
    padding-right: 55%
}

.hero-subtitle-destacado {
    color: #005a7e;
    font-weight: 800
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 60px;
    margin-top: 40px
}

.hero-buttons a {
    text-decoration: none;
    background-color: #00364b;
    color: #fff;
    padding: 1%;
    border-radius: 18px;
    display: flex;
    gap: 20px;
    font-size: 1.2rem
}

.hero-bottom {
    width: 100%;
    height: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px
}

.hero-bottom-card {
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-right: 1px solid #00364b
}

.hero-bottom-card a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-decoration: none;
    transition: 0.5s
}

.hero-bottom-card a:hover {
    background-color: #00364b
}

.hero-bottom-card i {
    font-size: 2rem;
    color: #00364b
}

.hero-bottom-card p {
    color: #00364b;
    font-size: 1.2rem
}

.hero-bottom-card a:hover i,
.hero-bottom-card a:hover p {
    color: #fff
}

.primary {
    width: 100%;
    height: 100vh;
    background-color: #fff;
    padding: 5%
}

.primary-content {
    width: 100%;
    height: 50%;
    display: flex;
    align-items: start;
    justify-content: start;
    gap: 40px
}

.primary-content1 {
    width: 70%;
    height: 50%
}

.primary-content1 h2 {
    font-size: 3.2rem;
    font-weight: 700;
    color: #00364b
}

.primary-content2 {
    width: 30%;
    height: 50%;
    display: flex;
    align-items: start
}

.primary-content2 p {
    font-size: 1.5rem;
    color: #00364b
}

.primary-images {
    width: 100%;
    height: 50%;
    margin-top: 40px
}

.primary-grid {
    display: grid;
    height: 100%;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 40px
}

.box {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: visible
}

.box img:first-child {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 2px 2px 2px rgb(65 65 65 / .548);
    border-radius: 24px
}

.deco {
    position: absolute;
    width: 220px;
    height: auto;
    object-fit: contain;
    z-index: 5;
    pointer-events: none;
    box-shadow: none;
    border-radius: 0
}

.deco-top {
    top: -35px;
    right: -65px
}

.deco-bottom {
    bottom: -35px;
    left: -25px
}

.box-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 2px 2px 2px rgb(65 65 65 / .548);
    border-radius: 24px
}

.primary1 {
    grid-column: span 2 / span 2;
    grid-row: span 3 / span 3
}

.box-img1 {
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%)
}

.primary2 {
    grid-column: span 2 / span 2;
    grid-row: span 3 / span 3;
    grid-column-start: 3
}

.primary3 {
    grid-column: span 2 / span 2;
    grid-row: span 3 / span 3;
    grid-column-start: 5
}

.primary3 img {
    clip-path: polygon(0% 0%, 75% 0%, 100% 50%, 75% 100%, 0% 100%)
}

.primary4 {
    grid-column: span 2 / span 2;
    grid-row: span 3 / span 3;
    grid-column-start: 7
}

.secondary {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    z-index: 0
}

.secondary-deco {
    position: absolute;
    width: 300px;
    height: 300px;
    top: 17%;
    left: 65%;
    z-index: 99
}

.secondary-deco img {
    width: 90%;
    height: auto;
    object-fit: contain
}

.secondary-img {
    position: absolute;
    width: 600px;
    height: 600px;
    top: 25%;
    left: 65%;
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
    z-index: 9;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0
}

.secondary-img video {
    display: block;
    width: 100%;
    height: 50%;
    object-fit: cover;
    margin: 0;
    padding: 0;
    border: 0;
    line-height: 0
}

.secondary-content {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    padding: 5%;
    padding-right: 50%;
    gap: 20px
}

.secondary-content h2 {
    text-transform: uppercase;
    color: #00364b;
    font-size: 4.5rem
}

.secondary-content span {
    font-size: 1.7rem;
    color: #00364b
}

.secondary-content p {
    color: #00364b;
    font-size: 2rem
}

.secondary-content a {
    width: 40%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #00364b;
    text-decoration: none;
    color: #fff;
    font-weight: 800;
    gap: 20px;
    border-radius: 24px
}

.terciary {
    width: 100%;
    height: auto;
    position: relative;
    background-color: #10b981;
    margin: 0;
    padding: 0
}

.terciary-content {
    width: 100%;
    height: auto;
    z-index: 0;
    background-color: #fff;
    padding: 5%;
    padding-right: 0;
    display: flex
}

.terciary-title {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-right: 20px;
    margin-bottom: 80px
}

.terciary-title h2 {
    text-transform: uppercase;
    color: #00364b;
    font-size: 4.5rem
}

.terciary-title span {
    font-size: 1.7rem;
    color: #00364b
}

.terciary-title p {
    color: #00364b;
    font-size: 2rem
}

.terciary-title a {
    width: 40%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #00364b;
    text-decoration: none;
    color: #fff;
    font-weight: 800;
    gap: 20px;
    border-radius: 24px
}

.benefits-scroll {
    width: 100%;
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: .5rem 0% 1.5rem;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 5%;
    -webkit-overflow-scrolling: touch;
    position: relative;
    z-index: 9999
}

.benefits-scroll::-webkit-scrollbar {
    height: 10px
}

.benefits-scroll::-webkit-scrollbar-track {
    background: rgb(31 31 31 / .08);
    border-radius: 999px
}

.benefits-scroll::-webkit-scrollbar-thumb {
    background: #10b981;
    border-radius: 999px
}

.benefit-card {
    flex: 0 0 min(380px, 82vw);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    background: #fff0;
    border: none;
    animation: fadeUp 0.4s ease both;
    position: relative;
    z-index: 9999
}

.benefit-card:hover .benefit-card-media img {
    transform: scale(1.045)
}

.benefit-card-media {
    position: relative;
    width: 100%;
    height: 430px;
    overflow: hidden;
    border-radius: 24px;
    background: rgb(255 255 255 / .24)
}

.benefit-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgb(0 0 0 / .12) 0%, rgb(0 0 0 / .03) 40%, rgb(0 0 0 / .28) 100%);
    z-index: 2;
    pointer-events: none
}

.benefit-card-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease
}

.benefit-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 4;
    max-width: calc(100% - 32px);
    padding: 7px 13px;
    border-radius: 999px;
    background: rgb(20 20 20 / .72);
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px)
}

.benefit-card-body {
    padding: 1rem .15rem 0;
    display: flex;
    flex-direction: column;
    gap: .45rem
}

.benefit-card-body h3 {
    font-family: "Quicksand", sans-serif;
    font-size: clamp(1.35rem, 2vw, 1.9rem);
    font-weight: 900;
    color: #00364b;
    line-height: 1.15;
    margin: 0
}

.benefit-card-body p {
    max-width: 95%;
    margin: 0;
    color: #00364b;
    font-size: .98rem;
    line-height: 1.65;
    font-weight: 500
}

.fourth {
    width: 100%;
    height: auto;
    background-color: #3b82f6;
    padding: 0;
    position: relative
}

.deco-main4 {
    width: 500px;
    height: 500px;
    position: absolute;
    z-index: 1;
    background-color: #1f1f1f;
    top: 10%;
    right: -5%;
    transform: rotate(35deg);
    border-radius: 84px
}

.deco-main5 {
    width: 800px;
    height: 800px;
    position: absolute;
    z-index: 1;
    background-color: #3b82f6;
    top: 30%;
    left: -5%;
    transform: rotate(35deg);
    border-radius: 50%
}

.fourth-content {
    width: 100%;
    height: auto;
    margin-top: -1px;
    padding: 5%;
    background-color: #fff
}

.fourth-title {
    padding-right: 50%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 80px
}

.fourth-title h2 {
    text-transform: uppercase;
    color: #00364b;
    font-size: 4.5rem
}

.fourth-title span {
    font-size: 1.7rem;
    color: #00364b
}

.fourth-title p {
    color: #00364b;
    font-size: 2rem
}

.fourth-title a {
    width: 40%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #00364b;
    text-decoration: none;
    color: #fff;
    font-weight: 800;
    gap: 20px;
    border-radius: 24px
}

.home-emprendedores-grid {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 9
}

.home-emprendedores-recientes .emprendedores-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: stretch
}

.home-emprendedores-recientes .emprendedor-img,
.home-emprendedores-recientes .emprendedor-img-placeholder {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease
}

.home-emprendedores-recientes .emprendedor-card:hover .emprendedor-img {
    transform: scale(1.05)
}

.home-emprendedores-recientes .emprendedor-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: rgb(255 255 255 / .16)
}

.home-emprendedores-recientes .emprendedor-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.2rem;
    color: #1f1f1f
}

.home-emprendedores-recientes .emprendedor-text {
    max-width: 100%;
    margin: 0 0 .9rem;
    font-size: .88rem;
    line-height: 1.45;
    font-weight: 600;
    color: rgb(255 255 255 / .78);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.home-emprendedores-recientes .emprendedor-links {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: auto
}

.home-emprendedores-recientes .emprendedor-links a {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgb(255 255 255 / .12);
    border: 1px solid rgb(255 255 255 / .25);
    color: #fff;
    text-decoration: none;
    font-size: .76rem;
    font-weight: 800;
    transition: background 0.2s ease, transform 0.2s ease
}

.home-emprendedores-recientes .emprendedor-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px)
}

.home-emprendedores-loading,
.home-emprendedores-empty,
.home-emprendedores-error {
    grid-column: 1 / -1;
    min-height: 360px;
    border-radius: 28px;
    background: rgb(255 255 255 / .08);
    border: 2px solid rgb(255 255 255 / .08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .85rem;
    text-align: center;
    padding: 2rem;
    color: #fff
}

.home-emprendedores-loading p,
.home-emprendedores-empty p,
.home-emprendedores-error p {
    font-weight: 700;
    color: rgb(255 255 255 / .82)
}

.home-emprendedores-recientes .spinner {
    width: 44px;
    height: 44px;
    border: 4px solid rgb(255 255 255 / .18);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite
}

.emprendedores-grid,
#home-emprendedores-recientes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    width: 100%
}

.home-emprendedores-cta {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 2.5rem
}

.home-emprendedores-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 56px;
    background-color: #00364b;
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 800;
    border-radius: 999px;
    letter-spacing: .5px;
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 16px rgb(0 54 75 / .18)
}

.home-emprendedores-btn:hover {
    background-color: #10b981;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgb(16 185 129 / .28)
}

.emprendedor-card {
    width: 400px;
    display: flex;
    flex-direction: column;
    border-radius: 28px;
    overflow: hidden;
    background: rgb(165 165 165 / .13);
    border: 1px solid rgb(255 255 255 / .1);
    box-shadow: none;
    animation: fadeUp 0.4s ease both;
    transition: transform 0.25s ease, box-shadow 0.25s ease
}

.emprendedor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgb(0 0 0 / .28)
}

.emprendedor-media,
.home-emprendedores-recientes .emprendedor-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgb(255 255 255 / .12)
}

.emprendedor-img,
.emprendedor-img-placeholder,
.home-emprendedores-recientes .emprendedor-img,
.home-emprendedores-recientes .emprendedor-img-placeholder {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease
}

.emprendedor-card:hover .emprendedor-img,
.home-emprendedores-recientes .emprendedor-card:hover .emprendedor-img {
    transform: scale(1.05)
}

.emprendedor-img-placeholder,
.home-emprendedores-recientes .emprendedor-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: rgb(255 255 255 / .16)
}

.emprendedor-tag,
.home-emprendedores-recientes .emprendedor-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    max-width: calc(100% - 28px);
    padding: 7px 13px;
    border-radius: 999px;
    background: rgb(255 255 255 / .9);
    color: #1f1f1f;
    font-size: .78rem;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px)
}

.emprendedor-info,
.home-emprendedores-recientes .emprendedor-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.6rem;
    color: #1f1f1f;
    background-color: #f3f3f3
}

.emprendedor-title,
.home-emprendedores-recientes .emprendedor-title {
    font-family: "Quicksand", sans-serif;
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    font-weight: 900;
    line-height: 1.15;
    margin: 0 0 .5rem
}

.emprendedor-text,
.home-emprendedores-recientes .emprendedor-text {
    max-width: 100%;
    margin: 0 0 .9rem;
    font-size: .92rem;
    line-height: 1.45;
    font-weight: 700;
    color: #1f1f1f;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.emprendedor-links,
.home-emprendedores-recientes .emprendedor-links {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: auto
}

.emprendedor-links a,
.home-emprendedores-recientes .emprendedor-links a {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(65, 64, 64, 0.596);
    border: 1px solid rgb(255 255 255 / .25);
    color: #fff;
    text-decoration: none;
    font-size: .76rem;
    font-weight: 900;
    transition: background 0.2s ease, transform 0.2s ease
}

.emprendedor-links a:hover,
.home-emprendedores-recientes .emprendedor-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px)
}

.ft-root {
    background: #00364b;
    color: #fff;
    font-family: "Quicksand", var(--font-sans), sans-serif;
    padding: 3rem 5% 1.5rem;
    width: 100%;
    box-sizing: border-box
}

.ft-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: .5px solid rgb(255 255 255 / .15)
}

.ft-brand-name {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #3bcc84;
    margin-bottom: 4px
}

.ft-brand-sub {
    font-size: .82rem;
    color: rgb(255 255 255 / .5);
    margin-bottom: 14px;
    font-weight: 500
}

.ft-desc {
    font-size: .88rem;
    color: rgb(255 255 255 / .65);
    line-height: 1.7;
    margin-bottom: 20px
}

.ft-social {
    display: flex;
    gap: 10px
}

.ft-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: .5px solid rgb(255 255 255 / .2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(255 255 255 / .7);
    text-decoration: none;
    font-size: 16px;
    transition: background 0.2s, color 0.2s
}

.ft-social a:hover {
    background: #3bcc84;
    color: #00364b;
    border-color: #3bcc84
}

.ft-col-title {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #3bcc84;
    margin-bottom: 14px
}

.ft-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 9px
}

.ft-col ul li a {
    font-size: .88rem;
    color: rgb(255 255 255 / .65);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 7px;
    font-weight: 500;
    transition: color 0.2s
}

.ft-col ul li a:hover {
    color: #3bcc84
}

.ft-col ul li a i {
    font-size: 14px;
    opacity: .6
}

.ft-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px
}

.ft-contact-row i {
    font-size: 16px;
    color: #3bcc84;
    margin-top: 1px;
    flex-shrink: 0
}

.ft-contact-text {
    font-size: .85rem;
    color: rgb(255 255 255 / .65);
    line-height: 1.5
}

.ft-bottom {
    padding-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px
}

.ft-copy {
    font-size: .8rem;
    color: rgb(255 255 255 / .35)
}

.ft-copy span {
    color: #3bcc84
}

.ft-badge {
    font-size: .75rem;
    color: rgb(255 255 255 / .35);
    display: flex;
    align-items: center;
    gap: 5px
}

.ft-badge i {
    font-size: 14px;
    color: #3bcc84
}

/* ===== BOTONES DE ACCIÓN CON FONT AWESOME ===== */
.card-botones {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.75rem
}

.card-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 24px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    font-family: "Quicksand", sans-serif
}

.card-btn i {
    font-size: 0.9rem
}

.card-btn-ubicacion {
    background: #e8f0fe;
    color: #1a73e8
}

.card-btn-ubicacion:hover {
    background: #d2e3fc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.2)
}

.card-btn-contacto {
    background: #e8f5e9;
    color: #2e7d32
}

.card-btn-contacto:hover {
    background: #c8e6c9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.2)
}

.card-btn-social {
    background: #f3e5f5;
    color: #7b1fa2
}

.card-btn-social:hover {
    background: #e1bee7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(123, 31, 162, 0.2)
}

/* ===== BOTONES MINI PARA HOME ===== */
.mini-botones {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.6rem
}

.btn-mini {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1.5px solid transparent
}

.btn-mini i {
    font-size: 0.95rem
}

.btn-mini-ubicacion {
    background: #e8f0fe;
    color: #1a73e8;
    border-color: rgba(26, 115, 232, 0.15)
}

.btn-mini-ubicacion:hover {
    background: #1a73e8;
    color: #fff;
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3)
}

.btn-mini-contacto {
    background: #e8f5e9;
    color: #2e7d32;
    border-color: rgba(46, 125, 50, 0.15)
}

.btn-mini-contacto:hover {
    background: #2e7d32;
    color: #fff;
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3)
}

.btn-mini-social {
    background: #f3e5f5;
    color: #7b1fa2;
    border-color: rgba(123, 31, 162, 0.15)
}

.btn-mini-social:hover {
    background: #7b1fa2;
    color: #fff;
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 4px 12px rgba(123, 31, 162, 0.3)
}

/* ===== WRAPPER DE IMAGEN CON OVERLAY ===== */
.card-img-wrapper,
.benefit-card-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    width: 100%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center
}

.card-img-wrapper img,
.benefit-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease
}

.card-img-wrapper:hover img,
.benefit-card-img-wrapper:hover img {
    transform: scale(1.05)
}

/* ===== OVERLAY DE IMAGEN CON FONT AWESOME ===== */
.img-overlay-icon {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    color: white;
    font-size: 2.5rem;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    backdrop-filter: blur(2px);
    border-radius: 8px 8px 0 0
}

.img-overlay-icon i {
    font-size: 2.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3)
}

.card-img-wrapper:hover .img-overlay-icon,
.benefit-card-img-wrapper:hover .img-overlay-icon {
    opacity: 1
}

.card-img-wrapper .img-overlay-icon::after,
.benefit-card-img-wrapper .img-overlay-icon::after {
    content: '';
    position: absolute;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    z-index: -1
}

/* ===== MODAL DE IMAGEN CON ZOOM ===== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(4px);
    animation: fadeIn 0.25s ease
}

.modal-overlay.active {
    display: flex
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95)
    }
    to {
        opacity: 1;
        transform: scale(1)
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9)
    }
    to {
        opacity: 1;
        transform: scale(1)
    }
}

.modal-contenido {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
    background: transparent;
    border-radius: 12px;
    animation: zoomIn 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center
}

.modal-cerrar {
    position: absolute;
    top: -45px;
    right: -5px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
    z-index: 10
}

.modal-cerrar:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg)
}

.modal-imagen-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 90vw;
    max-height: 75vh;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    cursor: default;
    position: relative;
    overflow: hidden
}

.modal-imagen-wrapper img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    display: block;
    border-radius: 12px;
    transition: none;
    cursor: grab;
    user-select: none;
    -webkit-user-drag: none
}

.modal-imagen-wrapper img:active {
    cursor: grabbing
}

/* Controles de zoom */
.modal-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 30px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1)
}

.modal-zoom-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    font-size: 20px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold
}

.modal-zoom-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05)
}

.modal-zoom-btn:active {
    transform: scale(0.95)
}

.modal-zoom-nivel {
    color: white;
    font-size: 14px;
    font-weight: 500;
    min-width: 50px;
    text-align: center;
    font-family: monospace
}

.modal-titulo {
    color: white;
    text-align: center;
    margin-top: 12px;
    font-size: 1rem;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    max-width: 90vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

/* ===== HIGHLIGHT EN BÚSQUEDA ===== */
.highlight {
    background: #fde047;
    color: #00364b;
    padding: 0 2px;
    border-radius: 2px;
    font-weight: 700
}

/* ===== CARD EN BÚSQUEDA ===== */
.search-results-grid .card {
    animation: fadeUp 0.4s ease both;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid rgba(0, 0, 0, 0.04)
}

.search-results-grid .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1)
}

.search-results-grid .card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f0f0f0
}

.search-results-grid .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease
}

.search-results-grid .card:hover .card-img {
    transform: scale(1.05)
}

.search-results-grid .card-body {
    padding: 1.2rem
}

.search-results-grid .card-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #00364b;
    margin-bottom: 0.4rem;
    line-height: 1.3
}

.search-results-grid .card-text {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

/* ===== ESTADO DE CARGA EN BÚSQUEDA ===== */
.search-results-grid .loading-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    gap: 16px;
    color: #888
}

.search-results-grid .spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(16, 185, 129, 0.15);
    border-top-color: #10b981;
    border-radius: 50%;
    animation: spin 0.8s linear infinite
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .modal-imagen-wrapper {
        max-width: 95vw;
        max-height: 70vh
    }

    .modal-imagen-wrapper img {
        max-height: 70vh
    }

    .modal-cerrar {
        top: -40px;
        right: 0;
        font-size: 28px;
        width: 38px;
        height: 38px
    }

    .modal-titulo {
        font-size: 0.95rem;
        white-space: normal;
        max-width: 90vw
    }

    .card-img-wrapper,
    .benefit-card-img-wrapper {
        aspect-ratio: 4 / 3
    }

    .modal-controls {
        padding: 6px 12px;
        gap: 6px
    }

    .modal-zoom-btn {
        width: 34px;
        height: 34px;
        font-size: 18px
    }

    .modal-zoom-nivel {
        font-size: 12px;
        min-width: 40px
    }
}

@media (max-width: 480px) {
    .card-img-wrapper,
    .benefit-card-img-wrapper {
        aspect-ratio: 1 / 1
    }

    .modal-imagen-wrapper {
        max-height: 50vh
    }

    .modal-imagen-wrapper img {
        max-height: 50vh
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px)
    }
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

/* ===== SCROLL LINK ACTIVE ===== */
.hero-bottom-card.active-section a {
    background-color: #10b981;
    color: #fff;
    position: relative;
}

.hero-bottom-card.active-section a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: #10b981;
    border-radius: 2px;
}

.hero-bottom-card.active-section a i,
.hero-bottom-card.active-section a p {
    color: #fff;
}

/* ===== SCROLL SUAVE ===== */
html {
    scroll-behavior: smooth;
}

/* ===== BOTÓN BENEFICIOS FOOTER ACTUALIZADO ===== */
.ft-col ul li a.scroll-link {
    cursor: pointer;
}

/* ===== ANCLA PARA BENEFICIOS ===== */
#beneficios {
    scroll-margin-top: 80px;
}

/* Ajuste para todas las secciones con scroll */
#capacitaciones,
#bienestar,
#emprendimientos {
    scroll-margin-top: 80px;
}



  :root{
    --bg: #14121a;
    --ink: #f2efe9;
    --ink-dim: rgba(242,239,233,0.62);
    --gold: #c9a227;
    --c1: #3d2b56;
    --c2: #2b4159;
    --c3: #2b5646;
    --c4: #56472b;
    --c5: #562b39;
  }
 
 .stage{
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3vh 3vw;
  }
 
  .deck{
    display: flex;
    width: 100%;
    height: 100%;
    max-height: 760px;
    gap: 10px;
  }
 
  .card{
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    border-radius: 6px;
    cursor: pointer;
    overflow: hidden;
    transition: flex-grow 0.55s cubic-bezier(.22,.61,.36,1);
    will-change: flex-grow;
    background-image: var(--card-image);
    background-size: cover;
    background-position: top;
    transform: translateZ(0);
  }
 
  .card:nth-child(1){ --card-image: url('/assets/images/emocional.png'); }
  .card:nth-child(2){ --card-image: url('/assets/images/nutri.png'); }
  .card:nth-child(3){ --card-image: url('/assets/images/pausa.png'); }
  .card:nth-child(4){ --card-image: url('/assets/images/study.png'); }
  .card:nth-child(5){ --card-image: url('/assets/images/fuente.png'); }
 
  /* capa base: siempre presente, sin transición (barata) */
  .card-overlay{
    position: absolute;
    inset: 0;
    background: #070606;
    opacity: 0.5;
  }
 
  /* capa de foco: solo cambia opacidad, nunca su gradiente (evita repintar en cada frame) */
  .card-overlay-focus{
    position: absolute;
    inset: 0;
    background: #00364b;
    opacity: 0;
    transition: opacity 0.4s ease;
    will-change: opacity;
  }
 
  .card.expanded .card-overlay-focus{
    opacity: 0.85;
  }
 
  /* oscurecimiento fijo de abajo, para que el título siempre se lea sobre la foto */
  .card-overlay-shade{
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(62, 0, 245, 0) 40%, rgba(20,18,26,0.85) 100%);
  }
 
  .deck.has-expanded .card{ flex-grow: 0.06; cursor: default; }
  .deck.has-expanded .card.expanded{ flex-grow: 14; cursor: default; }
  .deck.has-expanded .card:not(.expanded){ cursor: pointer; }
 
  /* number + collapsed label */
  .card-face{
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px 22px;
    transition: opacity 0.35s ease;
  }
 
  .card-number{
    font-size: 15px;
    color: var(--ink-dim);
    letter-spacing: 0.02em;
  }
 
  .card-title{
    font-weight: 700;
    font-size: clamp(19px, 1.2vw, 26px);
    line-height: 1.15;
    color: aliceblue;
  }
 
  .deck.has-expanded .card.expanded .card-face{
    opacity: 0;
    pointer-events: none;
  }
 
  /* expanded content panel */
  .card-panel{
    position: absolute;
    inset: 0;
    z-index: 1;
    padding: 6vh 6vw;
    opacity: 0;
    transform: translateX(12px);
    transition: opacity 0.4s ease 0.15s, transform 0.4s ease 0.15s;
    pointer-events: none;
    overflow-y: auto;
    will-change: opacity, transform;
  }
 
  .card.expanded .card-panel{
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
  }
 
  .panel-header{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 4vh;
  }
 
  .panel-eyebrow{
    font-size: 14px;
    color: var(--ink-dim);
  }
 
  .panel-title{
    font-weight: 500;
    font-size: clamp(30px, 4.2vw, 56px);
    line-height: 1.05;
    margin: 6px 0 0 0;
    color: aliceblue;
  }
 
  .close-btn{
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(242,239,233,0.35);
    background: transparent;
    color: var(--ink);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  }
 
  .close-btn:hover{
    background: rgba(242,239,233,0.12);
    border-color: var(--ink);
    transform: rotate(90deg);
  }
 
  .panel-body{
    max-width: 640px;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
 
  .panel-body p{
    font-size: clamp(15px, 1.1vw, 17px);
    line-height: 1.7;
    color: aliceblue;
    margin: 0;
  }
  .panel-body li{
    color: aliceblue;
  }

    .panel-body h3{
        font-size: 1.2rem;
        font-weight: 700;
        color: aliceblue;
    }
  .panel-body p:first-of-type{
    color: var(--ink);
  }
 
  @media (max-width: 720px){
    .deck{ gap: 6px; }
    .card-title{ font-size: 16px; }
    .panel-header{ flex-direction: column; }
    .close-btn{ align-self: flex-end; }
  }