:root {
    --gal-navy: #0b2942;
    --gal-blue: #0e86b3;
    --gal-blue-dark: #0a5f82;
    --gal-green: #7f9c56;
    --gal-green-dark: #5f7a3d;
    --gal-sand: #f7f5ec;
    --gal-text: #1c2a35;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    background-color: var(--gal-sand);
    color: var(--gal-text);
    font-family: var(--font-body);
}

h1, h2, h3, h4, h5, .navbar-brand-text {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--gal-navy);
}

a {
    text-decoration: none;
}

.section-padding {
    padding: 2.75rem 0;
}

@media (max-width: 767.98px) {
    .section-padding {
        padding: 2.25rem 0;
    }
}

.text-blue { color: var(--gal-blue); }
.text-green { color: var(--gal-green); }
.bg-navy { background-color: var(--gal-navy); }
.bg-sand { background-color: var(--gal-sand); }
.bg-info-practica { background: linear-gradient(135deg, var(--gal-blue-dark), var(--gal-blue)); }

.btn-galapagos {
    background-color: var(--gal-green);
    border-color: var(--gal-green);
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    transition: all .25s ease-in-out;
}

.btn-galapagos:hover {
    background-color: var(--gal-blue);
    border-color: var(--gal-blue);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-galapagos {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    padding: 0.7rem 1.9rem;
    transition: all .25s ease-in-out;
}

.btn-outline-galapagos:hover {
    background-color: #fff;
    color: var(--gal-navy);
}

/* NAVBAR */
.navbar {
    background-color: var(--gal-navy) !important;
    box-shadow: 0 5px 20px -12px rgba(0,0,0,.5);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    width: 100%;
}

.navbar-brand img {
    height: 54px;
}

.navbar-brand .navbar-uce-seal {
    height: 42px;
    padding-left: .75rem;
    border-left: 1px solid rgba(255,255,255,.25);
}

@media (max-width: 480px) {
    .navbar-brand .navbar-uce-seal {
        display: none;
    }
}

.navbar-nav .nav-link {
    color: #fff !important;
    font-weight: 500;
    font-size: 15px !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 1.6rem 0.9rem !important;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--gal-green) !important;
}

.navbar-nav .dropdown-menu {
    background-color: var(--gal-navy);
    border: none;
    border-radius: 0 0 8px 8px;
}

.navbar-nav .dropdown-item {
    color: #fff;
    font-size: 14px;
    padding: 0.6rem 1.2rem;
}

.navbar-nav .dropdown-item:hover {
    background-color: var(--gal-blue);
    color: #fff;
}

.cta-inscripcion {
    position: fixed;
    right: 20px;
    top: 90px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: .75rem;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(127,156,86,.6); }
    70% { box-shadow: 0 0 0 14px rgba(127,156,86,0); }
    100% { box-shadow: 0 0 0 0 rgba(127,156,86,0); }
}

.pulse .btn,
.btn.pulse {
    animation: pulse 2s infinite;
}

.cta-uce-seal {
    height: 52px;
    width: 52px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 6px 16px -6px rgba(0,0,0,.5);
    padding: 3px;
}

/* PHOTO ROTATOR */
.photo-rotator {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 40px -20px rgba(11,41,66,.5);
    height: 460px;
    max-height: 460px;
}

.photo-rotator img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 1s ease;
}

@media (max-width: 991.98px) {
    .photo-rotator {
        height: 340px;
    }
}

/* HERO */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, rgba(11,41,66,.55), rgba(11,41,66,.75)), url('../img/inicio/uce-galapagos-campus.jpg') center/cover no-repeat;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.hero-logo {
    max-width: 340px;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.hero-meta .item {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-weight: 500;
}

.hero-meta .item i {
    font-size: 1.4rem;
    color: var(--gal-green);
}

.hero-scroll {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: #fff;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 10px); }
}

/* COUNTDOWN */
.countdown-box {
    background: var(--gal-navy);
    border-radius: 16px;
    padding: 2rem;
    color: #fff;
    box-shadow: 0 20px 40px -20px rgba(0,0,0,.5);
}

#clock {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gal-green);
}

/* SECTION HEADINGS */
.section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title .eyebrow {
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gal-green);
    font-weight: 600;
    font-size: .9rem;
}

.section-title h2 {
    font-size: 2.4rem;
    margin-top: .5rem;
}

.section-title p {
    max-width: 720px;
    margin: 1rem auto 0;
    color: #4a5a68;
}

/* ICON CARDS */
.icon-card {
    background: #fff;
    border-radius: 14px;
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    box-shadow: 0 12px 30px -18px rgba(11,41,66,.35);
    transition: transform .25s ease;
}

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

.icon-card .icon-circle {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--gal-blue), var(--gal-green));
    color: #fff;
    font-size: 1.6rem;
}

.icon-card h5 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

.icon-card p {
    font-size: .92rem;
    color: #4a5a68;
    margin-bottom: 0;
}

/* WHEEL / AXES */
.axis-list .axis-item {
    display: flex;
    gap: 1rem;
    padding: .7rem 0;
    border-bottom: 1px solid rgba(11,41,66,.08);
}

.axis-list .axis-item i {
    color: var(--gal-blue);
    font-size: 1.4rem;
    flex-shrink: 0;
}

.axis-list.green .axis-item i {
    color: var(--gal-green);
}

.axis-item h6 {
    margin-bottom: .2rem;
    font-family: var(--font-heading);
    font-weight: 600;
}

.axis-item p {
    margin: 0;
    font-size: .9rem;
    color: #4a5a68;
}

/* GALAPAGOS SPLIT */
.galapagos-split {
    position: relative;
    color: #fff;
    background: var(--gal-navy);
    overflow: hidden;
}

.galapagos-split.alt-bg {
    background: linear-gradient(135deg, var(--gal-blue-dark), var(--gal-blue));
}

.galapagos-split .bg-photo {
    position: absolute;
    inset: 0;
    background: url('../img/galapagos/panoramica-2.jpg') center/cover no-repeat;
    opacity: .28;
}

.galapagos-split .content {
    position: relative;
    z-index: 2;
}

.galapagos-split .fact,
.fact {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.6rem;
}

.galapagos-split .fact i,
.fact i {
    font-size: 1.6rem;
    color: var(--gal-green);
}

.fact h6,
.fact p {
    color: #fff;
}

/* CONVOCATORIA / FUNDING */
.funding-banner {
    background: linear-gradient(135deg, var(--gal-navy), var(--gal-blue-dark));
    border-radius: 20px;
    padding: 2rem 2.25rem;
    color: #fff;
}

.poster-banner {
    background: linear-gradient(135deg, var(--gal-green-dark), var(--gal-navy));
}

.funding-amount {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 3.2rem;
    color: var(--gal-green);
    line-height: 1.15;
    margin: 0.5rem 0;
}

/* GALLERY / VIDEO */
.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    height: 220px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item .gallery-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.6rem .9rem .6rem;
    background: linear-gradient(180deg, rgba(11,41,66,0), rgba(11,41,66,.88));
    color: #fff;
    font-size: .8rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .3s ease, transform .3s ease;
    pointer-events: none;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

/* COLLAGE DE FOTOS */
.photo-collage {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 130px;
    gap: .6rem;
}

.photo-collage .gallery-item {
    height: 100%;
}

.photo-collage .tile-big {
    grid-column: span 2;
    grid-row: span 2;
}

@media (max-width: 767px) {
    .photo-collage {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 110px;
    }
}

/* PROGRAMA */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 14px !important;
    overflow: hidden;
    box-shadow: 0 12px 30px -20px rgba(11,41,66,.35);
}

.accordion-button {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--gal-navy);
    background: #fff;
    font-size: 1.05rem;
}

.accordion-button:not(.collapsed) {
    background: var(--gal-navy);
    color: #fff;
    box-shadow: none;
}

.accordion-button:not(.collapsed) .day-badge {
    background: var(--gal-green);
    color: #fff;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.day-badge {
    display: inline-block;
    background: var(--gal-blue);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: .3rem .7rem;
    border-radius: 50px;
    margin-right: .8rem;
}

.accordion-body {
    background: var(--gal-sand);
    padding: 1.5rem;
}

.agenda-item {
    display: flex;
    gap: 1.2rem;
    background: #fff;
    border-radius: 12px;
    padding: 1.1rem 1.3rem;
    margin-bottom: .8rem;
    box-shadow: 0 8px 20px -16px rgba(11,41,66,.3);
}

.agenda-avatar {
    flex-shrink: 0;
    align-self: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 0 2px var(--gal-sand);
}

.agenda-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.agenda-inline-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: .45rem;
    vertical-align: middle;
    box-shadow: 0 0 0 2px var(--gal-sand);
}

.agenda-item:last-child {
    margin-bottom: 0;
}

.agenda-time {
    flex-shrink: 0;
    width: 72px;
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .82rem;
    color: var(--gal-blue);
    line-height: 1.35;
    padding-right: 1rem;
    border-right: 2px solid var(--gal-sand);
}

.agenda-content {
    flex: 1;
    min-width: 0;
}

.agenda-content h6 {
    margin-bottom: .2rem;
    font-family: var(--font-heading);
}

.agenda-tag {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--gal-green-dark);
    margin-bottom: .3rem;
}

.agenda-list {
    padding-left: 1.1rem;
    margin-bottom: .3rem;
    font-size: .9rem;
    color: #4a5a68;
}

.agenda-list li {
    margin-bottom: .2rem;
}

.tbd {
    display: inline-block;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(217,123,63,.15);
    color: #b85c2b;
    padding: .15rem .5rem;
    border-radius: 50px;
    margin-left: .4rem;
    vertical-align: middle;
}

.agenda-break {
    background: var(--gal-sand);
    box-shadow: none;
    border: 1px dashed rgba(11,41,66,.15);
}

.agenda-break .agenda-time {
    border-right-color: transparent;
    color: var(--gal-green-dark);
}

/* EXPOSITORES */
.speaker-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.8rem 1.3rem;
    text-align: center;
    height: 100%;
    box-shadow: 0 12px 30px -18px rgba(11,41,66,.35);
    transition: transform .25s ease;
}

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

.speaker-card h5 {
    font-size: 1rem;
    margin-bottom: .2rem;
}

.speaker-role {
    font-size: .78rem;
    font-weight: 600;
    min-height: 2.4em;
}

.speaker-bio {
    font-size: .85rem;
    color: #4a5a68;
    margin-bottom: 1.1rem;
}

.speaker-schedule {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
    color: var(--gal-navy);
    background: var(--gal-sand);
    border-radius: 50px;
    padding: .3rem .7rem;
    margin-bottom: .7rem;
}

.speaker-avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff;
    flex-shrink: 0;
}

.speaker-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.avatar-1 { background: linear-gradient(135deg, var(--gal-blue), var(--gal-blue-dark)); }
.avatar-2 { background: linear-gradient(135deg, var(--gal-green), var(--gal-green-dark)); }
.avatar-3 { background: linear-gradient(135deg, #d97b3f, #b85c2b); }
.avatar-4 { background: linear-gradient(135deg, #3f7fd9, #2c4e8f); }

.btn-outline-galapagos-sm {
    background: transparent;
    border: 1.5px solid var(--gal-blue);
    color: var(--gal-blue);
    font-weight: 600;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-radius: 50px;
    padding: .45rem 1.1rem;
    transition: all .2s ease;
}

.btn-outline-galapagos-sm:hover {
    background: var(--gal-blue);
    color: #fff;
}

.speaker-modal-content .modal-header .speaker-avatar {
    margin: 0;
    width: 60px;
    height: 60px;
    font-size: 1.1rem;
}

.speaker-modal-content .modal-body ul {
    padding-left: 1.2rem;
}

.speaker-modal-content .modal-body li {
    margin-bottom: .3rem;
    font-size: .92rem;
}

/* PANELES POR TEMA (Expositores) */
.panel-tema {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 14px 34px -20px rgba(11,41,66,.35);
    margin-bottom: 2rem;
    overflow: hidden;
}

.panel-tema-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .4rem 1rem;
    background: linear-gradient(135deg, var(--gal-navy), var(--gal-blue-dark));
    padding: .9rem 1.6rem;
}

.panel-tema-badge {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: .88rem;
    letter-spacing: .2px;
    color: #fff;
}

.panel-tema-day {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .72rem;
    font-weight: 600;
    color: rgba(255,255,255,.8);
    text-transform: uppercase;
    letter-spacing: .4px;
    white-space: nowrap;
}

.panel-tema-body {
    display: flex;
    flex-wrap: wrap;
}

.panel-expositores {
    flex: 1 1 360px;
    padding: 1.7rem 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    border-right: 1px solid rgba(11,41,66,.08);
}

.panel-panelistas {
    flex: 1 1 300px;
    padding: 1.7rem 1.6rem;
    background: var(--gal-sand);
}

@media (max-width: 767.98px) {
    .panel-expositores {
        border-right: none;
        border-bottom: 1px solid rgba(11,41,66,.08);
    }
}

.panel-expositor-mini {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.panel-expositor-mini .speaker-avatar {
    margin: 0;
    width: 72px;
    height: 72px;
    font-size: 1.1rem;
}

.panel-expositor-mini .speaker-role {
    min-height: 0;
    margin-bottom: .5rem;
}

.panel-expositor-mini .speaker-bio {
    font-size: .82rem;
    margin-bottom: .6rem;
}

.panel-expositor-info h5 {
    font-size: .96rem;
    margin-bottom: .15rem;
}

.panel-panelistas-label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--gal-green-dark);
    margin-bottom: .8rem;
}

.panelistas-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.panelistas-list > li {
    padding-left: 1.1rem;
    position: relative;
    margin-bottom: .55rem;
    font-size: .88rem;
    color: #4a5a68;
}

.panelistas-list > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gal-blue);
}

.panelistas-list > li:last-child {
    margin-bottom: 0;
}

.panelista-perfil {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding-left: 0 !important;
}

.panelista-perfil::before {
    display: none;
}

.panelista-avatar {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 0 2px #fff;
}

.panelista-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.panelista-perfil-info {
    min-width: 0;
}

.panelista-perfil-info .panelista-name {
    font-size: .88rem;
    font-weight: 600;
    color: var(--gal-navy);
    margin: 0;
}

.panelista-perfil-info .panelista-role {
    font-size: .76rem;
    color: #4a5a68;
    margin: 0 0 .15rem;
}

.panelista-perfil-info button {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
    color: var(--gal-blue);
    background: none;
    border: none;
    padding: 0;
}

.panelista-perfil-info button:hover {
    text-decoration: underline;
}

/* GALAPAGOS QUICK STATS */
.stat-box {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 12px;
    padding: 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: .2rem;
}

.stat-num {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--gal-green);
}

.stat-label {
    font-size: .78rem;
    color: #fff;
    opacity: .8;
    line-height: 1.25;
}

/* ODS */
.ods-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    border-radius: 14px;
    padding: 1.3rem 1.5rem;
    color: #fff;
    height: 100%;
    box-shadow: 0 12px 30px -18px rgba(11,41,66,.4);
}

.ods-num {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
    background: rgba(255,255,255,.22);
    padding: .4rem .7rem;
    border-radius: 8px;
}

.ods-card h6 {
    color: #fff;
    margin-bottom: .2rem;
    font-family: var(--font-heading);
}

.ods-card p {
    margin: 0;
    font-size: .88rem;
    opacity: .92;
}

/* ACTIVIDADES / EXPERIENCIAS EN GALAPAGOS */
.activity-card {
    border-radius: 16px;
    padding: 1.8rem;
    color: #fff;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 34px -18px rgba(11,41,66,.5);
    transition: transform .25s ease;
}

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

.activity-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.activity-card h5 {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-size: 1.05rem;
}

.activity-card p {
    font-size: .92rem;
    opacity: .92;
    margin-bottom: 0;
}

.activity-card .tag {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255,255,255,.22);
    padding: .25rem .7rem;
    border-radius: 50px;
    margin-bottom: .8rem;
}

.activity-1 { background: linear-gradient(135deg, #0e86b3, #0a5f82); }
.activity-2 { background: linear-gradient(135deg, #7f9c56, #5f7a3d); }
.activity-3 { background: linear-gradient(135deg, #d97b3f, #b85c2b); }
.activity-4 { background: linear-gradient(135deg, #3f7fd9, #2c4e8f); }

/* SCROLL REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 40px -20px rgba(0,0,0,.5);
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
    background: #000;
}

/* PARTNERS */
.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    filter: grayscale(20%);
    transition: filter .25s ease;
}

.partner-logo:hover {
    filter: grayscale(0%);
}

.partner-logo img {
    max-height: 90px;
    max-width: 100%;
}

.bg-white-section {
    background: #fff;
}

.aliado-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    height: 100%;
    padding: 1.25rem 1rem;
    border: 1px solid #eceae3;
    border-radius: 14px;
    background: #fff;
    transition: box-shadow .2s ease, transform .2s ease;
}

.aliado-card:hover {
    box-shadow: 0 12px 28px -18px rgba(11,41,66,.35);
    transform: translateY(-3px);
}

.aliado-card img {
    max-height: 90px;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: .9rem;
}

.aliado-card span {
    font-size: .85rem;
    font-weight: 600;
    color: var(--gal-navy);
    line-height: 1.3;
}

/* PRACTICAL INFO */
.info-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid rgba(255,255,255,.15);
    color: #fff;
}

.info-row i {
    color: #fff;
    font-size: 1.9rem;
    margin-top: .1rem;
}

.info-row h6 {
    color: #fff;
    text-transform: uppercase;
    font-size: .8rem;
    letter-spacing: 1px;
    margin-bottom: .2rem;
    opacity: .8;
}

.info-row p {
    margin: 0;
    font-weight: 500;
}

/* ALIADOS MARQUEE */
.aliados-marquee {
    background: #fff;
    padding: 1.75rem 0 2rem;
}

.aliados-marquee-label {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: .75rem;
    font-weight: 700;
    color: var(--gal-navy);
    opacity: .55;
    margin-bottom: 1.25rem;
}

.aliados-marquee-viewport {
    overflow-x: hidden;
    padding: 0 1rem;
}

.aliados-marquee-track {
    display: flex;
    width: max-content;
}

.aliados-marquee-group {
    display: flex;
    align-items: stretch;
    flex-shrink: 0;
}

.aliados-marquee-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 190px;
    flex-shrink: 0;
    padding: 0 1.25rem;
    text-align: center;
}

.aliados-marquee-item img {
    height: 80px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: .6rem;
}

.aliados-marquee-item span {
    font-size: .78rem;
    font-weight: 600;
    color: var(--gal-navy);
    line-height: 1.25;
}

@media (max-width: 767.98px) {
    .aliados-marquee-item {
        width: 150px;
        padding: 0 .85rem;
    }
    .aliados-marquee-item img {
        height: 56px;
    }
}

/* FOOTER */
.site-footer {
    background: var(--gal-navy);
    color: #cbd6de;
    padding-top: 3.5rem;
}

.site-footer h5, .site-footer h6 {
    color: #fff;
}

.site-footer a {
    color: #cbd6de;
}

.site-footer a:hover {
    color: var(--gal-green);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    margin-top: 2rem;
    padding: 1.4rem 0;
    font-size: .85rem;
}

.social-fab {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-right: .5rem;
    transition: background .2s ease;
}

.social-fab:hover {
    background: var(--gal-green);
    color: #fff;
}

/* LIGHTBOX */
#imgModal {
    position: fixed;
    z-index: 2000;
    inset: 0;
    background: rgba(0,0,0,.9);
    display: none;
    align-items: center;
    justify-content: center;
}

#imgModal .img-modal-content {
    max-width: 92%;
    max-height: 82vh;
    border-radius: 8px;
}

#imgModal .img-close {
    position: absolute;
    top: 22px;
    right: 32px;
    color: #fff;
    font-size: 2.4rem;
    cursor: pointer;
}

#img-caption {
    color: #fff;
    text-align: center;
    margin-top: 1rem;
}

/* INNER PAGE HEADER */
.page-header {
    background: linear-gradient(180deg, rgba(11,41,66,.7), rgba(11,41,66,.85)), url('../img/galapagos/panoramica-1.jpg') center/cover no-repeat;
    padding: 7rem 0 3rem;
    color: #fff;
    text-align: center;
}

.page-header h1 {
    color: #fff;
}

.page-header-logo {
    height: 112px;
    width: auto;
    margin-bottom: .85rem;
    filter: drop-shadow(0 6px 16px rgba(0,0,0,.35));
}

@media (max-width: 767.98px) {
    .page-header-logo {
        height: 84px;
    }
}

/* PAYMENT / STEPS */
.step-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.8rem;
    box-shadow: 0 12px 30px -18px rgba(11,41,66,.35);
    height: 100%;
}

.steps-stack {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.steps-stack .step-card {
    padding: 1rem 1.2rem;
}

.steps-stack .step-number {
    width: 32px;
    height: 32px;
    font-size: .8rem;
    margin-bottom: .5rem;
}

.steps-stack .step-card i {
    font-size: 1.3rem !important;
    margin-bottom: .3rem !important;
}

.steps-stack .step-card h5 {
    font-size: .92rem;
    margin-bottom: .3rem;
}

.steps-stack .step-card p {
    font-size: .78rem;
}

.steps-stack .step-card p.small {
    margin-bottom: .35rem !important;
}

.step-number {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gal-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* RUTA ANIMADA (Cómo llegar) */
.route-animada {
    background: #fff;
    border-radius: 20px;
    padding: 2.2rem 2rem;
    box-shadow: 0 14px 34px -20px rgba(11,41,66,.35);
    overflow: hidden;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.route-animada-title {
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--gal-navy);
    font-size: 1.05rem;
    margin-bottom: 2.6rem;
}

.route-animada-title span {
    display: block;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: .8rem;
    color: #4a5a68;
    margin-top: .25rem;
}


.route-map-wrap {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
}

.route-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem .9rem;
    margin-top: 1.6rem;
}

.route-legend-item {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .76rem;
    font-weight: 600;
    color: var(--gal-navy);
    background: var(--gal-sand);
    border-radius: 50px;
    padding: .4rem .8rem;
}

.route-legend-item i {
    color: var(--gal-blue);
}

@media (max-width: 575.98px) {
    .route-animada { padding: 2.2rem 1rem 1.6rem; }
    .route-legend-item { font-size: .68rem; padding: .35rem .65rem; }
}

@media (prefers-reduced-motion: reduce) {
    .route-mover-plane,
    .route-mover-bus,
    .route-mover-boat,
    .route-mover-bus2,
    .route-mover-taxi {
        display: none;
    }

    .route-map-pulse {
        animation: none;
    }
}
