/* ================================================================
   Manpower Bolivia — Template 2 (floating header + dark footer)
================================================================ */
/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; }

/* ── Header ── */
.mp2-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 500;
    transition: background .3s ease, box-shadow .3s ease;
}
/* Degradado sutil para que el texto blanco sea legible sobre imágenes claras */
.mp2-header__inner {
    max-width: 1350px; margin: 0 auto; padding: 18px 30px 14px;
    display: flex; align-items: stretch;
    transition: padding .3s ease;
}
.mp2-header--scrolled .mp2-header__inner {
    padding-top: 0; padding-bottom: 0;
}
.mp2-header--scrolled {
    background: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,.1);
}

/* Logo */
.mp2-logo {
    display: flex; align-items: center; text-decoration: none; flex-shrink: 0;
    margin-right: 30px; padding: 14px 0;
}
.mp2-logo img { height: 46px; display: block; transition: height .3s ease; }
.mp2-header--scrolled .mp2-logo { padding-top: 8px; padding-bottom: 8px; }
.mp2-header--scrolled .mp2-logo img { height: 42px; }
.mp2-logo .mp2-logo-color { display: none; }
.mp2-logo .mp2-logo-white { display: block; }
.mp2-header--scrolled .mp2-logo .mp2-logo-color { display: block; }
.mp2-header--scrolled .mp2-logo .mp2-logo-white { display: none; }

/* Desktop Nav */
.mp2-nav-spacer { flex: 1; }
.mp2-nav {
    display: flex; align-items: stretch;
    list-style: none; margin: 0; padding: 0;
}
.mp2-nav__item { position: relative; display: flex; align-items: stretch; }
.mp2-nav__link {
    display: flex; align-items: center; gap: 4px;
    padding: 26px 16px; color: rgba(255,255,255,.92); text-decoration: none;
    font-size: .875rem; font-weight: 600; font-family: 'Inter', sans-serif;
    transition: color .3s linear; white-space: nowrap;
}
.mp2-nav__link:hover,
.mp2-nav__item--has-drop:hover > .mp2-nav__link { color: #fff; }
.mp2-header--scrolled .mp2-nav__link { color: #386097; }
.mp2-header--scrolled .mp2-nav__link:hover,
.mp2-header--scrolled .mp2-nav__item--has-drop:hover > .mp2-nav__link { color: #FF7A12; }

/* CTA en el nav */
.mp2-nav__cta {
    align-self: center; margin-left: 10px;
    background: #FF7A12 !important; color: #fff !important;
    padding: 10px 22px !important; border-radius: 4px; line-height: 1.4;
    transition: background .2s !important;
}
.mp2-nav__cta:hover { background: #FF7A12 !important; color: #fff !important; }
.mp2-header--scrolled .mp2-nav__cta { background: #386097 !important; }
.mp2-header--scrolled .mp2-nav__cta:hover { background: #386097 !important; }

/* Flecha indicador de dropdown */
.mp2-nav__arrow {
    font-size: .65rem; line-height: 1;
    transition: transform .25s; display: inline-block;
}
.mp2-nav__item--has-drop:hover .mp2-nav__arrow { transform: rotate(180deg); }

/* Dropdown */
.mp2-dropdown {
    display: none; position: absolute; top: 100%; left: 0;
    min-width: 200px; background: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,.12); padding: 5px 0;
    list-style: none; margin: 0; z-index: 600;
    border-top: 2px solid #FF7A12;
}
.mp2-nav__item--has-drop:hover .mp2-dropdown { display: block; }
.mp2-dropdown li a {
    display: block; padding: 10px 22px;
    color: #555; font-size: .85rem; font-weight: 500;
    font-family: 'Inter', sans-serif; text-decoration: none;
    transition: padding .2s linear, color .2s;
}
.mp2-dropdown li a:hover {
    padding-left: 28px; color: #FF7A12;
}

/* Hamburger */
.mp2-hamburger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 6px;
    margin-left: auto; align-self: center;
}
.mp2-hamburger span {
    display: block; width: 24px; height: 2px;
    background: #fff; border-radius: 2px; transition: .3s;
}
.mp2-header--scrolled .mp2-hamburger span { background: #386097; }
.mp2-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mp2-hamburger.open span:nth-child(2) { opacity: 0; }
.mp2-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mp2-mobile-menu {
    display: none; position: fixed; top: 0; left: 0; right: 0; z-index: 499;
    background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.12);
    padding: 80px 24px 24px; max-height: 100vh; overflow-y: auto;
}
.mp2-mobile-menu.open { display: block; }
.mp2-mobile-menu a {
    display: block; padding: 12px 0; color: #386097; font-size: .9rem;
    font-weight: 600; text-decoration: none; border-bottom: 1px solid #f0f4f8;
    font-family: 'Inter', sans-serif;
}
.mp2-mobile-menu a:hover { color: #FF7A12; }
.mp2-mobile-menu a.mp2-nav__cta {
    margin-top: 12px; background: #FF7A12 !important; color: #fff !important;
    text-align: center; border-radius: 4px; border: none; padding: 12px !important;
}
/* Subítems móvil */
.mp2-mobile-menu__child {
    padding-left: 24px !important; font-size: .85rem !important;
    font-weight: 500 !important; color: #52647a !important;
    border-bottom-color: #f8fafc !important;
}
.mp2-mobile-menu__child::before { content: '›'; margin-right: 6px; color: #53CFC5; }

@media (max-width: 900px) {
    .mp2-header__inner { padding: 14px 24px 12px; }
    .mp2-logo { padding: 8px 0; }
    .mp2-logo img { height: 42px; }
    .mp2-header--scrolled .mp2-logo img { height: 38px; }
    .mp2-nav { display: none; }
    .mp2-hamburger { display: flex; }
}

/* ── Slider 2 ── */
.mp2-slider {
    position: relative; height: 100vh; min-height: 580px;
    overflow: hidden; background: #386097;
}
.mp2-slide {
    position: absolute; inset: 0; opacity: 0;
    transition: opacity 1.1s ease; background-size: cover;
    background-position: center; will-change: opacity;
}
.mp2-slide.active { opacity: 1; z-index: 1; }
.mp2-slide::after {
    content: ''; position: absolute; inset: 0;
    background: rgba(11,26,45,.55);
}
.mp2-slide__content {
    position: absolute; inset: 0; z-index: 2;
    display: flex; align-items: center;
}
.mp2-slide__inner {
    max-width: 1350px; margin: 0 auto; padding: 0 30px; width: 100%;
}
.mp2-slide__eyebrow {
    font-size: .75rem; font-weight: 700; letter-spacing: .18em;
    text-transform: uppercase; color: #53CFC5; margin: 0 0 14px;
}
.mp2-slide__title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 5.5vw, 4rem); font-weight: 800;
    line-height: 1.08; letter-spacing: -.03em;
    color: #fff; margin: 0 0 22px; max-width: 700px;
}
.mp2-slide__title span { color: #FF7A12; }
.mp2-slide__desc {
    font-size: 1.05rem; color: rgba(255,255,255,.78);
    line-height: 1.75; max-width: 520px; margin: 0 0 38px;
}
.mp2-slide__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.mp2-slide__btn {
    display: inline-flex; align-items: center; justify-content: space-between; gap: 16px;
    min-height: 60px; min-width: 170px; padding: 12px 20px; border-radius: 6px;
    font-weight: 700; font-size: .9375rem; text-decoration: none;
    transition: transform .2s, box-shadow .2s; box-shadow: 0 6px 16px rgba(0,0,0,.2);
    font-family: 'Inter', sans-serif;
}
.mp2-slide__btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.mp2-slide__btn strong { display: block; font-size: .875rem; }
.mp2-slide__btn small  { display: block; font-size: .75rem; opacity: .85; font-weight: 400; }
.mp2-slide__btn--blue   { background: #386097; color: #fff; }
.mp2-slide__btn--blue:hover { color: #fff; }
.mp2-slide__btn--orange { background: #FF7A12; color: #fff; }
.mp2-slide__btn--orange:hover { color: #fff; }

/* Arrows */
.mp2-slider__arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
    width: 50px; height: 50px; border: 2px solid rgba(255,255,255,.4);
    border-radius: 50%; background: rgba(255,255,255,.08); color: #fff;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; transition: .2s; backdrop-filter: blur(4px);
}
.mp2-slider__arrow:hover { background: rgba(255,255,255,.2); border-color: #fff; }
.mp2-slider__arrow--prev { left: 22px; }
.mp2-slider__arrow--next { right: 22px; }

/* Dots */
.mp2-slider__dots {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    z-index: 10; display: flex; gap: 8px; align-items: center;
}
.mp2-slider__dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(255,255,255,.35); cursor: pointer;
    border: none; padding: 0; transition: .3s;
}
.mp2-slider__dot.active { background: #fff; width: 28px; border-radius: 5px; }

@media (max-width: 767px) {
    .mp2-slider { height: 100svh; min-height: 500px; }
    .mp2-slider__arrow { display: none; }
}

/* ── Footer ── (mismo esquema de color que footer del inicio: #052b59) */
.mp2-footer {
    background: #052b59;
    color: #e2ebf6;
    font-family: 'Inter', sans-serif;
    font-size: .875rem;
}
.mp2-footer__main { padding: 64px 20px 40px; }
.mp2-footer__grid {
    max-width: 1350px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px;
}
.mp2-footer__logo { height: 30px; margin-bottom: 18px; display: block; }
.mp2-footer__desc { color: #e4edf6; line-height: 1.7; margin: 0 0 20px; font-size: .875rem; }
.mp2-footer__contact { list-style: none; padding: 0; margin: 0 0 20px; }
.mp2-footer__contact li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.mp2-footer__contact i { color: #FF7A12; width: 16px; flex-shrink: 0; margin-top: 2px; }
.mp2-footer__contact a { color: #e2ebf6; text-decoration: none; font-size: .8125rem; }
.mp2-footer__contact a:hover { color: #fff; }
.mp2-footer__social { display: flex; gap: 8px; }
.mp2-footer__social-btn {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,.08); color: #e2ebf6;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; font-size: .85rem; transition: .2s;
}
.mp2-footer__social-btn:hover { background: #FF7A12; color: #fff; }
.mp2-footer__heading {
    font-size: .875rem; font-weight: 700; color: #fff;
    margin: 0 0 14px; padding: 0;
    border: none;
}
.mp2-footer__heading::after {
    content: ''; display: block; width: 32px; height: 2px;
    margin-top: 9px; background: #FF7A12;
}
.mp2-footer__links { list-style: none; padding: 0; margin: 0; }
.mp2-footer__links li { margin-bottom: 5px; }
.mp2-footer__links a {
    color: #e2ebf6; text-decoration: none;
    font-size: .8125rem; transition: color .2s;
    display: flex; align-items: center; gap: 6px;
}
.mp2-footer__links a::before { content: none; }
.mp2-footer__links a:hover { color: #fff; }
.mp2-footer__bottom {
    background: rgba(0,0,0,.12);
    border-top: 1px solid rgba(255,255,255,.18);
    padding: 16px 20px;
}
.mp2-footer__bottom-inner {
    max-width: 1350px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 10px;
}
.mp2-footer__copyright { font-size: .8125rem; color: #e2ebf6; }
.mp2-footer__copyright a { color: #e2ebf6; text-decoration: none; }
.mp2-footer__bottom-links { display: flex; gap: 20px; }
.mp2-footer__bottom-links a {
    font-size: .8125rem; color: #e2ebf6; text-decoration: none; transition: .2s;
}
.mp2-footer__bottom-links a:hover { color: #fff; }

@media (max-width: 991px) { .mp2-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px)  { .mp2-footer__grid { grid-template-columns: 1fr; } }

/* ── Scroll-to-top ── */
.mp2-scroll-top {
    position: fixed; bottom: 24px; right: 24px; z-index: 400;
    width: 42px; height: 42px; border-radius: 50%;
    background: #386097; color: #fff; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; opacity: 0; pointer-events: none; transition: .3s;
    box-shadow: 0 4px 14px rgba(0,0,0,.2);
}
.mp2-scroll-top.visible { opacity: 1; pointer-events: auto; }
.mp2-scroll-top:hover { background: #386097; transform: translateY(-2px); }
