/* -----  _general.scss     -----*/
body{
	color: #17205D
}
.maincolor{
	color: #3c70e8 !important
}
p{
	font-size: 1rem;
}
.portada-proyecto h1{
	color: #fff;
	font-size: 3.2em;
}
h2{
	color: #3C70E8;
	font-size: 0.8em;
	letter-spacing: 0.1em;
}
h3{
	font-size: 1.4em;
	letter-spacing: -0.05em;
}
.subtitulo {
    font-size: 2.4rem;
    font-weight: 400;
    letter-spacing: -0.05em;
}
.subtitulo.separado {
    letter-spacing: .35em
}
.texto {
    font-size: 1.11rem
}
.btn-cta{
	font-weight: 700;
    font-size: 0.9em;
    padding: 1em 2.5em;
	border-radius: 0.25em;
	background: #F15A28;
    transition: all .3s
}
.btn-cta:hover {
	color: #ffffff !important;
    text-decoration: none;
	background: #f57a58
}
@media(min-width: 768px) {
	.btn-cta{
	    font-size: 0.7em;
	}
}
.bgBlue .btn-cta{
	width: 150px;
	color: #fff !important
}
.servicios .btn-cta{
	width: 135px
}
@media(min-width: 992px) {
	.bgBlue .btn-cta{
		width: initial
	}
	.servicios .btn-cta{
		width: initial;
	}
}
.bgBlue .btn-cta:hover{
	color: #3c70e8 !important
}
.w-60{
	width: 60% !important
}
/* -----  _menu.scss     -----*/
.menu{
	position: fixed; top: 0; left: 0; width: 100%; transition: all .3s;z-index: 999
}
.menu .navbar {
	padding-top: 0;
	padding-bottom: 0
}

.navbar-toggler {
	border: none
}
.menu :focus,.menu :hover {
    color: #f25a29
}
/* -----  _portada.scss     -----*/
.portada {
    position: relative;
    background-size: cover
}
.portada .swiper-slide {
    height: 0;
    padding-bottom: 55%!important;
}

@media(min-width: 768px) {
    .portada .swiper-slide {
        padding-bottom:60%
    }
}
@media(min-width: 992px) {
    .portada .swiper-slide {
        padding-bottom:56.25%
    }
}
.swiper-pagination-bullet {
	background: #fb5a49
}
.portada .imagen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: bottom
}
.portada h2{
	font-size: 2em;
	font-weight: 800;
	letter-spacing: 0.025em;
	color: #fff
}
.portada h2 span{
	display: block;
}
@media(min-width: 992px) {
	.portada h2{
    	font-size: 3em;
    }
}
.portada .contenido {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    color: #fff;
    display: flex;
    align-items: left
}
.portada .titulo {
    line-height: 1;
    border-bottom: none;
    padding: 0;
    margin-bottom: 0;
    font-size: 28px !important
}
.portada .titulo span{
    display: block;
    font-weight: bold
}
@media(min-width: 768px) {
    .portada .titulo {
        font-size:32px !important
    }
}

@media(min-width: 992px) {
    .portada .titulo {
        font-size:45px !important
    }
}

@media(min-width: 1200px) {
    .portada .titulo {
        font-size:55px !important
    }
}

@media(min-width: 1400px) {
    .portada .titulo {
        font-size:62px !important
    }
}
.portada .row {
    aspect-ratio: 2/1.5
}
@media only screen and (max-width: 767px) {
	.portada .row {
	    aspect-ratio: 2 / 2 !important;
	}
	.portada {
	    aspect-ratio: 2 / 2.8 !important;
		background-position-x: center
	}
	.portada .imagen {
	    height: 240%
	}
}

.swiper .arrow {
    color: #fff !important;
	border: 1px solid #F15A28;
    width: 1.2em !important;
    height: 1.2em !important;
	border-radius: initial !important;
    font-size: 2.7em !important;
    transition: background-color .5s
}
.swiper .arrow:hover {
	background-color: #F15A28 !important
}
.swiper-button-prev{
	background: url(../images/arrow-left.svg) no-repeat center center;
	background-size: 25px
}
.swiper-button-next{
	background: url(../images/arrow-right.svg) no-repeat center center;
	background-size: 25px
}

/* -----  _whatsapp.scss     -----*/

.fijados .whatsapp {
    position: fixed;
    z-index: 9;
    bottom: 6em;
    right: 1em
}

@media(min-width: 768px) {
    .fijados .whatsapp {
        right:1.5em
    }
}

.fijados .static-wsp {
    display: block;
    line-height: 1;
    padding: 1em;
    background-color: #25D366;
    border-radius: 50%;
    color: #fff;
    animation: wsp 1.5s ease infinite
}

.fijados .static-wsp .icon {
    width: 1.5em;
    height: 1.5em
}

@media(min-width: 992px) {
    .fijados .static-wsp .icon {
        width:2em;
        height: 2em;
        color: #1a2b3a;
    }
}

@keyframes wsp {
    0% {
        box-shadow: 0 0 0 0 rgb(37 211 102 / 50%)
    }

    100% {
        box-shadow: 0 0 0 1em rgba(0,0,0,0)
    }
}

/* -----  _servicios.scss     -----*/
.navegacion {
    display: flex;
    justify-content: center
}
@media(min-width: 768px) {
    .navegacion {
        justify-content: flex-end;
    }
}
.navegacion .arrow {
    margin-top: 0em;
    position: static;
    width: 1em;
    height: 1em;
    font-size: 3em;
    transition: background-color .5s;
    border-radius: 50%
}
.navegacion .arrow:after {
    display: none
}

.navegacion .arrow:hover {
    background-color: #cfc
}
@media(min-width: 1200px) {
    .navegacion .arrow {
        font-size:3.5em
    }
}
@media(min-width: 992px) {
	.swServicios{
		transform: translateY(-15px)!important
	}
}


.newMenu.scroll {
    height: 60px;
    box-shadow: 0 1em 2em rgba(0,0,0,.25)
}

.newMenu.scroll .enlace {
    color: #fff
}
.navbar-nav{
    margin-top: .75rem
}
@media(min-width: 992px) {
    .newMenu.scroll {
        height:65px;
        background: rgb(23 32 93 / 50%);
		backdrop-filter: blur(15px);
    }
	.newMenu.scroll .navbar-nav{
        margin-top: 0.35rem
    }
}
.border{
    border: 1px solid #F15A28
}

.scroll .navbar {
	border-bottom: none !important
}
.newMenu.scroll .logo,.newMenu.scroll #bars svg {
   font-size:2em !important
}


@media(min-width: 768px) {
    .newMenu.scroll .logo,.newMenu.scroll #bars svg {
        font-size:2em !important
    }
}

@media(min-width: 1200px) {
    .newMenu.scroll .logo{
        height: 1em;
    }
}
.newMenu.show {
    height: 50vh
}
@media only screen and (max-width: 767px) {
	.menu .navbar {
	    padding-top: .50rem;
	    padding-bottom: .50rem;
	    background-color: rgb(26 43 58 / 90%)
	}
}
/* -----  _quienes-somos.scss     -----*/
h3.subtitulo{
	font-size: 1.5em !important;
	line-height: 1.4em;
	letter-spacing: 0
}
.quienes-somos p{
	font-size: 1.2em;
	text-align: justify
}
@media(min-width: 768px) {
	.detalle{
		background: url(../images/bkg-presentacion.webp) no-repeat center center;
	}
	h3.subtitulo{
		font-size: 1.3em !important
	}
	.quienes-somos p{
		font-size: 1em
	}
}
:root {
  --alpha-orange: #F15A28; /* Ajusta al color de marca */
}

.bg-orange { background-color: var(--alpha-orange) !important; color: #fff}
.text-orange { color: var(--alpha-orange) !important; }
.border-orange { border-color: var(--alpha-orange) !important; }

.kpi-card {
  min-height: 120px;
  transition: transform .2s ease, box-shadow .2s ease;
  border-radius: 5px
}
.kpi-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,.1);
}
.kpi-card .small{
	line-height: 1em;
	margin-top: 1em;
	font-size: 1.3em
}
.kpi-card.border .small{
	color: var(--alpha-orange) !important;
}
.kpi-card .display-6{
	font-size: 2em
}
@media(min-width: 768px) {
	.kpi-card .display-6{
		font-size: 1.4em
	}
	.kpi-card .small{
		font-size: .8em;
	}
}
/* -----  _servicios.scss     -----*/
 :root{
    --svc-blue: #17205D;
    --svc-blue-50: rgba(255,255,255,.10);
    --svc-radius: 7px;
  }
  .servicios{
    position: relative;
    background: url(../images/bkg-servicios.webp) center/cover no-repeat fixed;
    overflow: hidden;
  }
  /* ===== Tarjetas ===== */
  .service-card{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: .75rem;
    height: 100%;
    min-height: 300px;                
    padding: 1.5rem;
    border-radius: var(--svc-radius);
    color: #fff;
    background: var(--svc-blue-50);
    backdrop-filter: blur(10px);
    transition: background-color 1s ease, transform .5s ease, box-shadow .25s ease;
  }
  .service-title{
    font-size: clamp(1.05rem, 1vw + .7rem, 1.25rem);
    line-height: 1.25;
    margin: 0;
    font-weight: 600;
  }
  .service-desc{
    margin: 0;
    opacity: .0;
    max-height: 0;
    overflow: hidden;
    transition: opacity .5s ease, max-height .25s ease;
  }

  /* ===== Hover ===== */
  .service-card:hover,
  .service-card:focus-within,
  .service-card.is-active{
    background: var(--svc-blue);
    transform: translateY(-10px);
  }
  .service-card:hover .service-desc,
  .service-card:focus-within .service-desc,
  .service-card.is-active .service-desc{
    opacity: 1;
    max-height: 300px;
  }

  /* ===== Accesibilidad / cursor ===== */
  .service-card{ cursor: default; }
  .service-card:focus-within{ outline: 2px solid rgba(255,255,255,.3); outline-offset: 2px; }

  /* ===== Responsivo fino ===== */
  @media (min-width: 992px){
    .service-card{ min-height: 300px; padding: 2rem; }
  }
.servicios h2, .diferenciales h2, .proyectos h2{
	color: #fff;
	font-size: 1.6em;
	font-weight: 400 !important
}
.servicios span, .diferenciales span, .proyectos span{
	font-weight: 700 !important
}
p.service-desc{
	font-size: 0.9em !important;
}
/* ===== Móvil / pantallas táctiles: mostrar descripción siempre ===== */
@media (hover: none), (pointer: coarse) {
	.servicios{
		background-position: 80% bottom
	}
  .service-card {
    background: rgba(23, 32, 93, .5);        /* #17205D @ 50% */
    -webkit-backdrop-filter: blur(10px);     /* iOS Safari */
    backdrop-filter: blur(10px);
    transform: none;                          /* sin levantar la card en touch */
    min-height: unset;                        /* deja fluir el alto según contenido */
    padding: 2.5rem 2em;
  }
  .service-card .service-desc {
    opacity: 1;           /* visible por defecto */
	font-size: 1.2em !important;
    max-height: none;     /* sin recorte */
  }

  /* No cambiar de fondo ni mover en "hover" (no aplica en touch) */
  .service-card:hover,
  .service-card:focus-within {
    background: rgba(23, 32, 93, .5);
    transform: none;
  }

  /* Ajustes tipográficos opcionales para legibilidad en móvil */
  .service-title {
    font-size: clamp(1.1rem, 1.6rem, 1.35rem);
  }
  .service-desc {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}

/* (Opcional) Evita parpadeo por background fixed en móviles */
@media (max-width: 992px) {
  .servicios {
    background-attachment: scroll; /* en desktop puedes mantener fixed */
  }
}

/* -----  _diferenciales.scss     -----*/
.diferenciales h2{
	color: #17205D
}
.diferenciales h3.subtitulo{
	font-size: 1.2em !important;
	line-height: 1.1em;
	font-weight: 600
}
.diferenciales p{
	font-size: 1.15em !important;
}
@media(min-width: 768px) {
	.diferenciales h3.subtitulo{
		font-size: 1em !important;
	}
	.diferenciales p{
		font-size: 0.9em !important;
	}
}
/* -----  _contacto.scss     -----*/
.contacto{
	background:url(../images/trama.svg) no-repeat center center;
	background-color: #17205D !important;
	color: #fff
}
.contacto .logo{
	height: 3em !important;
}
.contacto h2{
	color: #fff;
	font-size: 1.8em;
	letter-spacing: 0.025em
}
.contacto h3.subtitulo{
	font-size: 0.7em !important;
	letter-spacing: 0.2em !important;
	color: #F15A28 !important
}
.contacto a{
	font-size: 1.3em
}
@media(min-width: 768px) {
	.contacto a{
		font-size: 1em
	}
}
.contacto .design-by a{
	color: #95A3FE;
	font-size: 12px;
	letter-spacing: 0.15em;
	transition: all .5s ease
}
.contacto .design-by a:hover{
	color: #ffffff;
	text-decoration: none;
	letter-spacing: 0.25em;
	transition: all .5s ease
}
/* -----  _proyectos.scss     -----*/
.proyectos h2{
	color: #fff
}
.proyectos p small{
	font-size:0.7em;
	color: rgba(255,255,255,0.5)
}
.proyectos h3{
	font-size: 1.3em !important;
	font-weight: 500;
	color: #F15A28 !important
}
@media(min-width: 768px) {
	.proyectos h3{
		font-size: 1em !important
	}
}
/* Base */
.project-card{
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.project-card img{
  display:block; width:100%; height:auto;
  transition: transform .45s ease;
}

/* Oscurecedor solo en hover/focus */
.project-card::after{
  content:""; position:absolute; inset:0;
  background: rgba(0,0,0,0);
  transition: background .25s ease;
  pointer-events:none;
  z-index:1;
}

/* Overlay de lista – oculto por defecto */
.project-details{
  position:absolute; inset:0;
  display:flex; align-items:flex-end;
  padding:1.25rem;
  opacity:0; visibility:hidden;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, visibility 0s .25s;
  z-index:2;
  /* degradado como en el mock para legibilidad */
  background: linear-gradient(to top, rgba(0,0,0,.55) 25%, rgba(0,0,0,0) 60%);
}

/* Lista */
.project-list{
  width: 100%;
  text-align: left;
  margin:0; padding:0; list-style:none;
  color:#fff; text-transform:uppercase;
  font-weight:600; letter-spacing:.02em;
}
.project-list li{
  padding:.6rem 0;
  border-bottom:1px solid rgba(255,255,255,.35);
  line-height:1.25;
  font-weight: 500;
  font-size: 0.8em !important;
}
.project-list li:last-child{ border-bottom:none; }
.project-list li span{ opacity:.9; }

/* Interacción: mostrar overlay y oscurecer */
.project-card:hover::after,
.project-card:focus-within::after{
  background: rgba(0,0,0,.40);            /* 40% */
}
.project-card:hover .project-details,
.project-card:focus-within .project-details{
  opacity:1; visibility:visible; transform:none;
  transition-delay:0s;
}
.project-card:hover img{ transform: scale(1.03); }

/* Móvil/táctil (sin hover): mostrar la lista por defecto */
@media (hover:none){
  .project-card::after{ background: rgba(0,0,0,.35); }
  .project-details{ opacity:1; visibility:visible; transform:none; }
  .project-list{ width:100%; }
}
