/*===================================Hero========================================*/
.section__hero {
	padding: 120px 0px;
}

.section__hero video{
	border-radius: 20px;
	aspect-ratio: 1/1.3;
}

.section__hero .badge{
	padding: 0px;
	font-size: 12px;
	font-weight: 100;
}


.section__hero h1{
	font-size: 3.5rem;
	line-height: 3.2rem;
	letter-spacing: -2px!important;
	color:var(--azul);
}

.section__hero h1 > span:first-child > span{
	color:var(--azul);
}

.section__hero h1 span{
	color:var(--blanco);
	padding: 0px 2px;
}


.section__hero h1 span span{}


.section__hero h1::after{
	content:'.';
	color:var(--rojo);
	font-family: "Google Sans", sans-serif!important;
	line-height:1rem;
}

.section__hero p{
	color:var(--blanco);
	text-wrap-style:balance;
}

@media (hover: hover) and (pointer: fine) {

	.section__hero h1{
		font-size: 7rem;
		line-height: 6.5rem;
		letter-spacing: -6%!important;
	}

	.section__hero p{
		font-size: 1.1rem;
	}

	.section__hero .badge{
		font-size: 14px;
	}
}

/*===================================Agencia========================================*/

.section__agencia .badge{
	color:var(--azul);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 2px;
	display: flex;
	justify-content: start;
	align-items: center;
	gap: 10px;
}



.section__agencia h2::after{
	content:'.';
	color:var(--rojo);
}

.section__agencia img{
	border-radius: 20px;
}

/*===================================forma========================================*/

.section__forma .badge{
	color:var(--azul);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 2px;
	display: flex;
	justify-content: start;
	align-items: center;
	gap: 10px;
}



.section__forma h2::after{
	content:'.';
	color:var(--rojo);
}

.section__forma .textura{
	padding: 40px;
	border-radius: 20px;
	background: url(../img/textura.svg);
	background-size: cover;
}

@media (hover: hover) and (pointer: fine) {
	.section__forma .textura{
		padding: 50px;
	}
}

/*===================================Proceso========================================*/

.section__proceso .badge{
	color:var(--azul);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 2px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
}



.section__proceso h2::after{
	content: '.';
	color: var(--rojo);
}


.section__proceso .col-6.col-md-3{
	transition: .5s;
	border-left:1px solid transparent;
	border-right:1px solid transparent;
	border-top:1px solid var(--borde);
	border-bottom:1px solid var(--borde);
	padding: 20px;
	background: var(--negro);
}


@media (hover: hover) and (pointer: fine) {
	.section__proceso .textura{
		padding: 50px;
	}
}


/*===================================Trabajo========================================*/

.section__trabajo .badge{
	color:var(--azul);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 2px;
	display: flex;
	justify-content: start;
	align-items: center;
	gap: 10px;
}



.section__trabajo h2::after{
	content: '.';
	color: var(--rojo);
}

.section__trabajo .card{
	border-color:var(--borde);
	background: var(--negro);	
	border-radius: 10px;
}

.section__trabajo .card:hover{
	border-color:var(--azul);

}

.section__trabajo .card img{

}

.section__trabajo .card ul {
	display: flex;
	flex-flow: wrap;
	gap: 5px;
}

.section__trabajo .card ul li{
	padding: 8px;
	border-radius: 5px;
	border:1px solid var(--borde);
	font-size: 13px;
	line-height: 13px;
}

.section__trabajo .card {
    position: relative;
    overflow: hidden;
}

.section__trabajo .card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    background: radial-gradient(
        circle at var(--mx, 50%) var(--my, 50%),
        rgba(118,165,245,.2) 0%,
        transparent 65%
    );
}

.section__trabajo .card:hover::after {
    opacity: 1;
}

/*===================================Clientes========================================*/

.section__clientes .badge{
	color:var(--azul);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 2px;
	display: flex;
	justify-content: start;
	align-items: center;
	gap: 10px;
}



.section__clientes h2::after{
	content: '.';
	color: var(--rojo);
}

.section__clientes .wrap{
    	display: grid;
		grid-template-columns: 1fr 1fr 1fr;
		gap:10px;
}

.section__clientes .wrap img{
	border: 1px solid var(--borde);
	background: var(--negro);
	corner-shape: scoop;
	border-radius: 5px;
	padding: 20px;
	object-fit: contain;
}


@media (hover: hover) and (pointer: fine) {
	.section__clientes .wrap{
		display: grid;
		grid-template-columns: 1fr 1fr 1fr 1fr;
		gap:10px;
	}
}


/*===================================Portfolio========================================*/

.section__portfolio .badge{
	color:var(--azul);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 2px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
}


.section__portfolio h2::after{
	content: '.';
	color: var(--rojo);
}

/* ── PORTFOLIO STACK ── */
#portfolio-stack {
    position: relative;
}

.pf-slide {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pf-card {
    width: calc(100% - 48px);
    max-width: 1320px;
    height: 80vh;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    background: var(--negro);
    will-change: transform, opacity;
    display: block;
    text-decoration: none;
}

.pf-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.16,1,.3,1);
}

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

.pf-info {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    width: 100%;
    background: linear-gradient(
        to top,
        rgba(0,0,0,.88) 0%,
        rgba(0,0,0,.45) 40%,
        transparent 100%
    );
}

.pf-num {
    display: block;
    font-size: 11px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
    margin-bottom: 12px;
}

.pf-title {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.5rem;
	letter-spacing:-.6px;
}

.pf-cat {
    font-size: 11px;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--azul);
}

/* botón glassmorphism */

.pf-card::after {
    content: "Ver proyecto";
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 3;

    padding: 12px 18px;
    border-radius: 999px;

    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(14px);

    color: #fff;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;

    transition: all .3s ease;
}

.pf-card:hover::after {
    background: rgba(255,255,255,.2);
    transform: translateY(-2px);
}

/* overlay suave arriba */

.pf-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,.22) 0%,
            transparent 30%
        );
    pointer-events: none;
}

.pf-info,
.pf-card::after {
    z-index: 2;
}

@media (hover: hover) and (pointer: fine) {

    .pf-card {
        width: calc(100% - 112px);
    }

    .pf-info {
        padding: 56px;
    }

    .pf-card:hover {
        transform: translateY(-2px);
    }
}

@media (max-width: 768px) {

    .pf-card {
        height: 72vh;
        border-radius: 18px;
    }

    .pf-info {
        padding: 24px;
    }

    .pf-title {
        font-size: 32px;
    }

    .pf-card::after {
        top: 18px;
        right: 18px;
        padding: 10px 14px;
        font-size: 10px;
    }
}

/* ── FOOTER LOGO reveal ── */
.section__footer .ft-logo-wrap {
    overflow: hidden;
}


/*===================================Equipo========================================*/

.section__equipo .badge{
	color:var(--azul);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 2px;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 10px;
}



.section__equipo h2::after{
	content: '.';
	color: var(--rojo);
}

.section__equipo .border-custom {
    border: 1px solid var(--borde);
    corner-shape: scoop;
    border-radius: 10px;
    min-height: 250px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-flow: column;
    gap: 0px;
    height: 100%;
    align-items: flex-start;
    justify-content: flex-end;
    height: 200px;
}

.section__equipo .border-custom img {
    transition: 1s;
    position: absolute;
    z-index: -1;
    filter: grayscale(1) opacity(0.6);
    object-fit: cover;
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.section__equipo .border-custom h5{font-size:1.1rem;padding-left:10px;margin-bottom:5px;}
.section__equipo .border-custom p{font-size:.9rem;padding-left:10px;}

.section__equipo .border-custom:hover img{
	transform: scale(1.1);
	filter: none;
}




@media (hover: hover) and (pointer: fine) {
    .section__equipo .border-custom {
		min-height: 400px;
	}
}

/*===================================Footer========================================*/

.section__footer .badge{
	color:var(--azul);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 2px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
}


.section__footer h2::after{
	content: '.';
	color: var(--rojo);
}

.section__footer ul{
	display: flex;
	flex-flow: wrap;
	gap: 10px;
	justify-content: center;
	flex-flow: column;
}

.section__footer ul li a{}

@media (hover: hover) and (pointer: fine) {
    .section__footer ul{flex-flow: row;}
}