/* ============================================================
   RAPPORT SERVICIOS EMPRESARIALES — style.css
   Diseño pixel-perfect basado en mockup corporativo
   ============================================================ */

/* ============================================================
   1. DESIGN TOKENS / VARIABLES CSS
   ============================================================ */
:root {
    /* Colores principales */
    --color-verde:          #2d6c44;   /* Verde corporativo del mockup */
    --color-verde-dark:     #3a6231;   /* Verde más oscuro (hover) */
    --color-verde-light:    #5fa840 ;   /* Verde más claro */
    --color-negro:          #111111;
    --color-gris-oscuro:    #2b2b2b;
    --color-gris-medio:     #555555;
    --color-gris-claro:     #f0f0ee;
    --color-blanco:         #ffffff;
    --color-footer-bg:      #333333;

    /* Tipografía */
    --font-primary: 'Montserrat', sans-serif;

    /* Tamaños de fuente */
    --fs-xs:   0.75rem;    /* 12px */
    --fs-sm:   0.875rem;   /* 14px */
    --fs-base: 1rem;       /* 16px */
    --fs-md:   1.125rem;   /* 18px */
    --fs-lg:   1.5rem;     /* 24px */
    --fs-xl:   2rem;       /* 32px */
    --fs-2xl:  2.5rem;     /* 40px */
    --fs-3xl:  3.5rem;     /* 56px */

    /* Espaciados */
    --sp-xs:   0.5rem;
    --sp-sm:   1rem;
    --sp-md:   1.5rem;
    --sp-lg:   2.5rem;
    --sp-xl:   4rem;
    --sp-2xl:  6rem;

    /* Transiciones */
    --transition-fast:   0.2s ease;
    --transition-normal: 0.35s ease;
    --transition-slow:   0.6s ease;

    /* Sombras */
    --shadow-sm:   0 2px 8px rgba(0,0,0,0.12);
    --shadow-md:   0 4px 20px rgba(0,0,0,0.18);
    --shadow-lg:   0 8px 40px rgba(0,0,0,0.28);
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-blanco);
    color: var(--color-negro);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

address {
    font-style: normal;
}

/* ============================================================
   3. HEADER & NAVBAR
   ============================================================ */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color var(--transition-normal),
                box-shadow var(--transition-normal),
                padding var(--transition-normal);
}

/* Estado transparente sobre el hero */
#main-header.header-transparent #main-navbar {
    background-color: transparent;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

/* Estado sticky al hacer scroll */
#main-header.header-sticky #main-navbar {
    background-color: var(--color-verde);
    box-shadow: var(--shadow-md);
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}

#main-navbar {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    transition: all var(--transition-normal);
}

/* Logo */
.logo-text {
    font-family: var(--font-primary);
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--color-blanco);
    letter-spacing: -0.5px;
    text-transform: none;
}

.navbar-brand:hover .logo-text {
    opacity: 0.9;
}

/* Nav links */
.nav-link-custom {
    font-family: var(--font-primary);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-blanco) !important;
    padding: 0.4rem 0.75rem !important;
    border-radius: 2px;
    transition: color var(--transition-fast);
    position: relative;
}



.nav-link-custom:hover::after,
.nav-link-custom.active::after {
    transform: scaleX(1);
}

.nav-link-custom:hover {
    color: var(--color-verde-light) !important;
}

/* Toggler mobile */
.navbar-toggler {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.toggler-icon {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-blanco);
    transition: all var(--transition-fast);
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: 2px solid var(--color-verde);
    outline-offset: 3px;
}

/* ==========================================================
   DROPDOWN ÁREAS PREMIUM
   ========================================================== */

.nav-dropdown-custom{
    position: relative;
}

/* Flecha elegante */

.nav-dropdown-custom .dropdown-toggle::after{
    border: none;
    content: "+";
    font-size: 0.95rem;
    font-weight: 300;
    vertical-align: middle;
    margin-left: 8px;
    transition: transform .3s ease;
}

/* Rotación */

.nav-dropdown-custom:hover .dropdown-toggle::after{
    transform: rotate(45deg);
}

/* ==========================================================
   DROPDOWN ÁREAS PREMIUM
========================================================== */

.nav-dropdown-custom {
    position: relative;
}

/* Flecha */

.nav-dropdown-custom .dropdown-toggle::after {
    border: none;
    content: "+";
    font-size: .95rem;
    font-weight: 300;
    vertical-align: middle;
    margin-left: 8px;
    transition: transform .3s ease;
}

/* Hover desktop */

@media (min-width: 992px) {
    .nav-dropdown-custom:hover .dropdown-toggle::after {
        transform: rotate(45deg);
    }
}

/* Dropdown */

.dropdown-menu-custom {
    min-width: 260px;
    padding: .6rem;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    background: rgba(10,10,10,.93);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow:
        0 10px 30px rgba(0,0,0,.22),
        0 0 0 1px rgba(255,255,255,.03);
}

/* Desktop → abrir con hover */

@media (min-width: 992px) {

    .dropdown-menu-custom {
        margin-top: 12px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all .28s ease;
        display: block;
    }

    .nav-dropdown-custom:hover .dropdown-menu-custom {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

}

/* Mobile → Bootstrap controla apertura */

@media (max-width: 991px) {

    .dropdown-menu-custom {
        background: transparent;
        border: none;
        box-shadow: none;
        padding: .4rem 0 .4rem 1rem;
        margin-top: .4rem;
    }

}

/* Items */

.dropdown-item-custom {
    position: relative;
    color: white !important;
    font-family: var(--font-primary);
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: .04em;
    padding: .9rem 1rem;
    border-radius: 6px;
    transition: all .25s ease;
}

/* Barra lateral */

.dropdown-item-custom::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 2px;
    height: 0%;
    background: var(--color-verde);
    transform: translateY(-50%);
    transition: height .25s ease;
}

/* Hover */

.dropdown-item-custom:hover {
    background: rgba(255,255,255,.04);
    color: var(--color-verde-light) !important;
    padding-left: 1.4rem;
}

.dropdown-item-custom:hover::before {
    height: 55%;
}

/* ============================================================
   4. HERO SECTION
   ============================================================ */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-image: url('../assets/img/portada.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    padding-bottom: 8vh;
    overflow: hidden;
}

@media (max-width: 991px) {

    .hero-section {
    
    background-image: url('../assets/img/portada-mobile.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    
}

}

/* Overlay oscuro */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.45) 0%,
        rgba(0,0,0,0.6) 60%,
        rgba(0,0,0,0.75) 100%
    );
    z-index: 1;
}

/* Contenido del hero */
.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 100px;
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 800;
    color: var(--color-blanco);
    line-height: 1;
    letter-spacing: -1px;
    margin-bottom: 0.15rem;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    font-weight: 700;
    color: var(--color-blanco);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.hero-desc {
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    font-weight: 400;
    color: rgba(255,255,255,0.88);
    margin-bottom: 1.75rem;
    letter-spacing: 0.03em;
}

/* Botón hero */
.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--color-verde-light);
    color: var(--color-blanco) !important;
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.7rem 1.75rem;
    border: 2px solid var(--color-verde-light);
    border-radius: 3px;
    transition: background-color var(--transition-fast),
                border-color var(--transition-fast),
                transform var(--transition-fast),
                box-shadow var(--transition-fast);
}

.btn-hero:hover {
    background-color: var(--color-verde);
    border-color: var(--color-verde);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74,124,63,0.45);
}

/* ============================================================
   5. SECCIÓN SOBRE RAPPORT
   ============================================================ */
.about-section {
    background-color: var(--color-blanco);
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.about-title {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 800;
    color: var(--color-verde);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.about-desc {
    font-size: 0.92rem;
    font-weight: 400;
    color: #444444;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.about-desc:last-child {
    margin-bottom: 0;
}

/* Composición de imágenes */
.about-img-composition {
    position: relative;
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
    min-height: 380px;
}

.about-img-main {
    flex: 1.4;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.about-img-main:hover img {
    transform: scale(1.03);
}

.about-img-stack {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.about-img-secondary {
    flex: 1;
    overflow: hidden;
    border-radius: 4px;
}

.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.about-img-secondary:hover img {
    transform: scale(1.03);
}

/* Círculo verde superpuesto */
.about-circle-badge {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    background-color: var(--color-verde-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(74,124,63,0.55);
    border: 4px solid var(--color-blanco);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.about-circle-badge:hover {
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 6px 28px rgba(74,124,63,0.65);
}

.about-circle-badge i {
    font-size: 1.4rem;
    color: var(--color-blanco);
}

/* ============================================================
   6. BANDA DE SERVICIOS
   ============================================================ */
.services-band {
    background-color: var(--color-verde);
    padding: 2.5rem 0;
}

.service-item {
    position: relative;
}

.service-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    text-align: center;
    gap: 1rem;
    cursor: default;
    transition: background-color var(--transition-fast);
}

.service-inner:hover {
    background-color: rgba(255,255,255,0.08);
}

.service-icon {
    font-size: 2.4rem;
    color: var(--color-blanco);
    line-height: 1;
    transition: transform var(--transition-fast);
}

.service-inner:hover .service-icon {
    transform: translateY(-4px);
}

.service-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-blanco);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin: 0;
}

.border-icon{
        border-right: 3px solid var(--color-verde-light);

    
}

/* ============================================================
   7. SECCIÓN IMPULSO EMPRESARIAL
   ============================================================ */
.impulso-section {
    background-color: var(--color-negro);
    padding: 4rem 0;
}

.impulso-title {
    font-size: clamp(0.95rem, 2vw, 1.25rem);
    font-weight: 800;
    color: var(--color-verde-light);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-align: center;
    line-height: 1.4;
    max-width: 900px;
    margin: 0 auto 2rem;
}

.impulso-img-wrap {
    overflow: hidden;
    border-radius: 3px;
    aspect-ratio: 4/3;
}

.impulso-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
    filter: brightness(0.88);
}

.impulso-img-wrap:hover img {
    transform: scale(1.04);
    filter: brightness(1);
}

/* ============================================================
   8. SECCIÓN TESTIMONIOS / CLIENTES
   ============================================================ */
.testimonios-section {
    background-color: var(--color-gris-claro);
    padding: 4.5rem 0;
}

.testimonios-text {
    padding-right: 3rem;
}

.testimonios-title {
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 800;
    color: var(--color-negro);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.25;
    margin-bottom: 1.5rem;
}

.testimonios-desc {
    font-size: 0.9rem;
    color: #555555;
    line-height: 1.8;
}

/* Slider */
.slider-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow: hidden;
}

.slider-track-wrapper {
    flex: 1;
    overflow: hidden;
    border-radius: 4px;
}

.slider-track {
    display: flex;
    transition: transform var(--transition-slow) cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slider-slide {
    min-width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Flechas del slider */
.slider-arrow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background-color: var(--color-verde);
    color: var(--color-blanco);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background-color var(--transition-fast),
                transform var(--transition-fast),
                box-shadow var(--transition-fast);
    z-index: 5;
    box-shadow: var(--shadow-sm);
}

.slider-arrow:hover {
    background-color: var(--color-verde-dark);
    transform: scale(1.08);
    box-shadow: var(--shadow-md);
}

.slider-arrow:focus {
    outline: 2px solid var(--color-verde);
    outline-offset: 3px;
}

/* Dots del slider */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--color-verde);
    background-color: transparent;
    cursor: pointer;
    padding: 0;
    transition: background-color var(--transition-fast),
                transform var(--transition-fast);
}

.slider-dot.active {
    background-color: var(--color-verde);
    transform: scale(1.2);
}

.slider-dot:focus {
    outline: 2px solid var(--color-verde);
    outline-offset: 3px;
}

/* ============================================================
   9. BANDA DE LOGOS
   ============================================================ */

.logos-band{
    background: var(--color-verde);
    padding: 2.5rem 0;
}

.logosSwiper{
    overflow: hidden;
}

.partner-logo-wrap{
    height: 110px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding: 15px;
}

.partner-logo-wrap img{
    width: 100%;
    max-width: 180px;
    height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: .85;
    transition: all .4s ease;
}

.partner-logo-wrap:hover img{
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.swiper-slide{
    display:flex;
    align-items:center;
    justify-content:center;
}

/* Separadores */

.swiper-slide:not(:last-child){
    border-right: 1px solid rgba(255,255,255,.20);
}

/* ============================================================
   10. EQUIPO DE TRABAJO
   ============================================================ */
.team-section {
    background-color: var(--color-blanco);
    padding: 5rem 0;
}

.team-title {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 800;
    color: var(--color-verde-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

/* Tarjeta de integrante */
.team-card {
    text-align: center;
}

.team-photo {
    aspect-ratio: 2/3;
    overflow: hidden;
    border-radius: 3px;
    margin-bottom: 0.85rem;
    position: relative;
    background-color: #e0e0e0;
}

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

.team-photo-placeholder{
    width: 100%;
    height: 100%;
}



/* Efecto blanco y negro */
.bw-photo img {
    filter: grayscale(100%);
    transition: filter var(--transition-normal);
}

.bw-photo:hover img {
    filter: grayscale(0%);
}

.team-info {
    padding: 0 0.25rem;
}

.team-role {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--color-gris-medio);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.35;
    margin-bottom: 0.2rem;
    margin-top: 0;
}

.team-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-negro);
    margin: 0;
    line-height: 1.3;
}

/* Link wrapper de la tarjeta de equipo */
.team-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 3px;
    transition: transform var(--transition-fast);
}

.team-card-link:hover {
    transform: translateY(-4px);
}

.team-card-link:hover .team-photo-placeholder {
    background: linear-gradient(135deg, #b0b0b0 0%, #888888 100%);
}

.team-card-link:focus {
    outline: 2px solid var(--color-verde);
    outline-offset: 4px;
}

/* ============================================================
   11. FOOTER
   ============================================================ */
.site-footer {
    background-color: var(--color-footer-bg);
    padding: 4rem 0 2rem;
}

/* Logo del footer */
.footer-logo-text {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-verde);
    letter-spacing: -0.5px;
}

/* Navegación del footer */
.footer-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.footer-nav-link {
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255,255,255,0.7);
    transition: color var(--transition-fast);
}

.footer-nav-link:hover {
    color: var(--color-blanco);
}

/* Contacto del footer */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
}

.footer-contact-list i {
    margin-top: 3px;
    flex-shrink: 0;
    color: var(--color-verde-light);
    font-size: 0.8rem;
}

.footer-contact-link {
    color: rgba(255,255,255,0.7);
    transition: color var(--transition-fast);
    word-break: break-all;
}

.footer-contact-link:hover {
    color: var(--color-verde-light);
}

.footer-address {
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
}

.footer-design-credit {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
}

/* Footer bottom */
.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.footer-copy {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    margin: 0;
}

/* ============================================================
   12. SCROLL ANIMATIONS
   ============================================================ */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================================
   13. RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Tablet (768px - 1199px) */
@media (max-width: 1199px) {
    .about-img-composition {
        min-height: 320px;
    }

    .testimonios-text {
        padding-right: 1.5rem;
    }
}

/* Tablet (max 991px) */
@media (max-width: 991px) {
    .about-section {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    .about-img-composition {
        min-height: 280px;
    }

    .about-circle-badge {
        width: 56px;
        height: 56px;
    }

    .about-circle-badge i {
        font-size: 1.1rem;
    }

    .testimonios-text {
        padding-right: 0;
        padding-bottom: 2rem;
    }

    .team-section {
        padding: 3.5rem 0;
    }
}

/* Mobile (max 767px) */
@media (max-width: 767px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-section {
        min-height: 85vh;
        padding-bottom: 5vh;
    }

    .about-section {
        padding-top: 3rem;
        padding-bottom: 2rem;
    }

    .about-img-composition {
        min-height: 250px;
    }

    .about-circle-badge {
        width: 48px;
        height: 48px;
    }

    .about-circle-badge i {
        font-size: 1rem;
    }

    .services-band {
        padding: 1.5rem 0;
    }

    .service-inner {
        padding: 1.25rem 0.75rem;
        gap: 0.6rem;
    }

    .service-icon {
        font-size: 1.8rem;
    }

    .service-title {
        font-size: 0.68rem;
    }

    .impulso-section {
        padding: 3rem 0;
    }

    .impulso-title {
        font-size: 0.9rem;
    }

    .testimonios-section {
        padding: 3rem 0;
    }

    .logos-band {
        padding: 1.75rem 0;
    }

    .partner-logo-text {
        font-size: 1rem;
    }

    .team-section {
        padding: 3rem 0;
    }

    .team-title {
        font-size: 1.2rem;
    }

    .slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }

    .site-footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-logo-text {
        font-size: 1.6rem;
    }
}

/* Mobile pequeño (max 480px) */
@media (max-width: 480px) {
    .about-img-composition {
        flex-direction: column;
        min-height: auto;
    }

    .about-img-main {
        aspect-ratio: 4/3;
        flex: none;
    }

    .about-img-stack {
        flex-direction: row;
    }

    .about-circle-badge {
        top: 33%;
    }
}

/* Desktop grande (1920px+) */
@media (min-width: 1920px) {
    :root {
        font-size: 18px;
    }

    .hero-title {
        font-size: 7rem;
    }
}

/* ============================================================
   14. UTILIDADES
   ============================================================ */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* Smooth hover para imágenes en general */
.img-hover-zoom {
    overflow: hidden;
}

.img-hover-zoom img {
    transition: transform var(--transition-slow);
}

.img-hover-zoom:hover img {
    transform: scale(1.05);
}

.btn-wsp{
	position: fixed;
	width: 55px;
	height: 55px;
	line-height: 55px;
	bottom: 30px;
	right: 30px;
	background: #0df053;
	color: #fff;
	border-radius: 50px;
	text-align: center;
	font-size: 30px;
	box-shadow: 0px 1px 10px rgba(0,0,0,0.3);
	z-index: 100;
}

.btn-wsp:hover{
	color: #0df053;
	background: #fff; 
}

/* ============================================================
   SLIDER VIDEOS IMPULSO
============================================================ */

.impulso-video-slider {
    width: 100%;
    overflow: hidden;
}

.impulso-video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: 4px;
    background: #ddd;
}

.impulso-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

/* Hover elegante */

.impulso-video-wrap:hover video {
    transform: scale(1.03);
}

/* Botón play moderno - Rapport */

.custom-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 74px;
    height: 74px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(45,108,68,.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .35s ease;
    z-index: 5;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.custom-play-btn i {
    color: var(--color-verde);
    font-size: 1.15rem;
    margin-left: 3px;
    transition: color .35s ease;
}

/* Hover elegante */

.custom-play-btn:hover {
    background: var(--color-verde);
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 12px 28px rgba(45,108,68,.28);
}

.custom-play-btn:hover i {
    color: var(--color-blanco);
}

/* Estado activo */

.custom-play-btn:active {
    transform: translate(-50%, -50%) scale(.96);
}

/* Ocultar cuando reproduce */

.impulso-video-wrap.playing .custom-play-btn {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -50%) scale(.9);
}

/* Mostrar controles solo al reproducir */

.impulso-video-wrap video::-webkit-media-controls {
    opacity: 0;
    transition: opacity .3s ease;
}

.impulso-video-wrap.playing video::-webkit-media-controls {
    opacity: 1;
}

/* ============================================================
   FLECHAS SWIPER RAPPORT
============================================================ */

.impulso-prev,
.impulso-next {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(45,108,68,.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all .35s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.impulso-prev::after,
.impulso-next::after {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-verde);
    transition: color .35s ease, transform .35s ease;
}

/* Hover elegante */

.impulso-prev:hover,
.impulso-next:hover {
    background: var(--color-verde);
    transform: scale(1.08);
    box-shadow: 0 12px 28px rgba(45,108,68,.28);
}

.impulso-prev:hover::after,
.impulso-next:hover::after {
    color: var(--color-blanco);
}

/* Estado activo (click) */

.impulso-prev:active,
.impulso-next:active {
    transform: scale(.96);
}

/* Posición */

.impulso-prev {
    left: 18px;
}

.impulso-next {
    right: 18px;
}

/* Mobile */

@media (max-width: 768px) {
    .impulso-prev,
    .impulso-next {
        width: 42px;
        height: 42px;
    }

    .impulso-prev::after,
    .impulso-next::after {
        font-size: .85rem;
    }
}

/* ============================================================
   SERVICIOS
============================================================ */

.services-section {
    padding: 6rem 0;
    background: var(--color-verde);
}

.services-eyebrow {
    display: inline-block;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--color-negro);
    margin-bottom: 1rem;
}

.services-title {
    font-size: clamp(2rem, 4vw, 2.2rem);
    font-weight: 800;
    color: var(--color-blanco);
    line-height: 1.15;
    margin-bottom: 1.2rem;
}

.services-text {
    font-size: 1rem;
    color: var(--color-blanco);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Card */

.service-card {
    background: var(--color-blanco);
    padding: 2.2rem;
    border-radius: 6px;
    height: 100%;
    transition: all .35s ease;
    border: 1px solid rgba(0,0,0,.05);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--color-verde);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .35s ease;
}

.service-card:hover::before {
    transform: scaleY(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,.06);
}

/* Icon */

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(45,108,68,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.4rem;
    transition: all .35s ease;
}

.service-icon i {
    font-size: 1.4rem;
    color: var(--color-verde);
    transition: all .35s ease;
}

.service-card:hover .service-icon {
    background: var(--color-verde);
}

.service-card:hover .service-icon i {
    color: var(--color-blanco);
}

/* Title */

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--color-negro);
}

/* List */

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card ul li {
    font-size: .95rem;
    color: var(--color-gris-medio);
    padding: .55rem 0;
    border-bottom: 1px solid rgba(0,0,0,.06);
}

.service-card ul li:last-child {
    border-bottom: none;
}

/* ============================================================
   PROYECTOS
============================================================ */

.projects-section {
    padding: 6rem 0;
    background: var(--color-blanco);
}

.projects-eyebrow {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--color-verde);
    display: inline-block;
    margin-bottom: 1rem;
}

.projects-title {
    font-size: clamp(2rem, 4vw, 2.2rem);
    font-weight: 800;
    color: var(--color-verde);
    margin-bottom: 1rem;
}

.projects-text {
    color: var(--color-gris-medio);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.project-category-title {
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--color-negro);
}

/* ==========================================================
   PROJECT CARDS
   ========================================================== */

.project-card {
    height: 100%;
    min-height: 500px; /* alto uniforme */
    background: var(--color-blanco);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast),
                box-shadow var(--transition-fast);
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* Imagen */
.project-card img {
    width: 100%;
    height: 220px; /* todas iguales */
    object-fit: cover;
    display: block;
}

/* Contenido */
.project-card-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Título */
.project-card-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-negro);
    margin-bottom: 0.75rem;
}

/* Texto */
.project-card-content p {
    font-size: 0.9rem;
    color: var(--color-gris-medio);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1; /* empuja botón hacia abajo */
}

/* Botón alineado abajo */
.project-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    background: var(--color-verde);
    color: var(--color-blanco);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all var(--transition-fast);
}

.project-btn:hover {
    background: var(--color-verde-dark);
    color: var(--color-blanco);
}

/* ============================================================
   FLECHAS PROYECTOS
============================================================ */

.web-prev,
.web-next,
.social-prev,
.social-next {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(45,108,68,.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all .35s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.web-prev::after,
.web-next::after,
.social-prev::after,
.social-next::after {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-verde);
    transition: color .35s ease;
}

/* Hover */

.web-prev:hover,
.web-next:hover,
.social-prev:hover,
.social-next:hover {
    background: var(--color-verde);
    transform: scale(1.08);
    box-shadow: 0 12px 28px rgba(45,108,68,.28);
}

.web-prev:hover::after,
.web-next:hover::after,
.social-prev:hover::after,
.social-next:hover::after {
    color: var(--color-blanco);
}

/* Active */

.web-prev:active,
.web-next:active,
.social-prev:active,
.social-next:active {
    transform: scale(.96);
}

/* Posición */

.web-prev,
.social-prev {
    left: 15px;
}

.web-next,
.social-next {
    right: 15px;
}

/* Mobile */

@media (max-width: 768px) {
    .web-prev,
    .web-next,
    .social-prev,
    .social-next {
        width: 42px;
        height: 42px;
    }

    .web-prev::after,
    .web-next::after,
    .social-prev::after,
    .social-next::after {
        font-size: .85rem;
    }
}

/* Logo oculto al inicio */

#nav-logo {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
        opacity .35s ease,
        transform .35s ease,
        visibility .35s ease;
}

/* Mostrar logo al hacer scroll */

#main-header.header-sticky #nav-logo {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}