/*--------------------------------------------------------------------- File Name: style.css ---------------------------------------------------------------------*/


/*--------------------------------------------------------------------- import Fonts ---------------------------------------------------------------------*/

@import url('https://fonts.googleapis.com/css?family=Rajdhani:300,400,500,600,700');
@import url('https://fonts.googleapis.com/css?family=Poppins:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i');
@font-face {
    font-family: "Righteous";
    src: url("../fonts/BalooChettan-Regular.ttf");
    src: url("../fonts/BalooChettan-Regular.ttf");
}


/*****---------------------------------------- 1) font-family: 'Rajdhani', sans-serif;
 2) font-family: 'Poppins', sans-serif;
 ----------------------------------------*****/


/*--------------------------------------------------------------------- import Files ---------------------------------------------------------------------*/

@import url(animate.min.css);
@import url(normalize.css);
@import url(icomoon.css);
@import url(css/font-awesome.min.css);
@import url(meanmenu.css);
@import url(owl.carousel.min.css);
@import url(swiper.min.css);
@import url(slick.css);
@import url(jquery.fancybox.min.css);
@import url(jquery-ui.css);
@import url(nice-select.css);

/*--------------------------------------------------------------------- skeleton ---------------------------------------------------------------------*/

* {
    box-sizing: border-box !important;
    transition: ease all 0.5s;
}

html {
    scroll-behavior: smooth;
}

body {
    color: #444444;
    font-size: 14px;
    line-height: 1.80857;
    font-weight: normal;
    overflow-x: hidden;
    font-family: 'Raleway', sans-serif;
    background-color: #eef1f5;
}

a {
    color: #1f1f1f;
    text-decoration: none !important;
    outline: none !important;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    letter-spacing: 0;
    font-weight: normal;
    position: relative;
    padding: 0 0 10px 0;
    font-weight: normal;
    line-height: normal;
    color: #111111;
    margin: 0
}

h1 {
    font-size: 24px
}

h2 {
    font-size: 22px
}

h3 {
    font-size: 18px
}

h4 {
    font-size: 16px
}

h5 {
    font-size: 14px
}

h6 {
    font-size: 13px
}

*,
*::after,
*::before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
    color: #212121;
    text-decoration: none!important;
    opacity: 1
}

button:focus {
    outline: none;
}

ul,
li,
ol {
    margin: 0px;
    padding: 0px;
    list-style: none;
}

p {
    margin: 20px;
    font-weight: 300;
    font-size: 15px;
    line-height: 24px;
}

a {
    color: #222222;
    text-decoration: none;
    outline: none !important;
}

a,
.btn {
    text-decoration: none !important;
    outline: none !important;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

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

 :focus {
    outline: 0;
}

.paddind_bottom_0 {
    padding-bottom: 0 !important;
}

.btn-custom {
    margin-top: 20px;
    background-color: transparent !important;
    border: 2px solid #ddd;
    padding: 12px 40px;
    font-size: 16px;
}

.lead {
    font-size: 18px;
    line-height: 30px;
    color: #767676;
    margin: 0;
    padding: 0;
}

.form-control:focus {
    border-color: #ffffff !important;
    box-shadow: 0 0 0 .2rem rgba(255, 255, 255, .25);
}

.navbar-form input {
    border: none !important;
}

.badge {
    font-weight: 500;
}

blockquote {
    margin: 20px 0 20px;
    padding: 30px;
}

button {
    border: 0;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

.full {
    float: left;
    width: 100%;
}

.layout_padding {
    padding-top: 56px;
    padding-bottom: 24px;
}

.padding_0 {
    padding: 0px;
}


/* header top section start */

.header_top_section {
    width: 100%;
    display: flex;
    background-color: #050505;
    height: auto;
    padding: 16px 0px;
}

.header_top_main {
    display: flex;
}

.call_text {
    width: 100%;
    float: left;
    font-size: 16px;
    color: #ffffff;
}

.call_text a {
    color: #ffffff;
}

.call_text a:hover {
    color: #fda417;
}

.call_text_1 {
    width: 100%;
    float: left;
    font-size: 16px;
    color: #ffffff;
    text-align: right;
}

.call_text_1 a {
    color: #ffffff;
}

.call_text_1 a:hover {
    color: #fda417;
}

.call_text_2 {
    width: 100%;
    float: left;
    font-size: 16px;
    color: #ffffff;
    text-align: right;
    text-align: center;
}

.call_text_2 a {
    color: #ffffff;
}

.call_text_2 a:hover {
    color: #fda417;
}

.padding_left_15 {
    padding-left: 10px;
}


/* header top section end */


/* header section start */

.header_section {
    width: 100%;
    float: left;
    height: auto;
}

/* Portada: carrusel autoplay + miniaturas (images/portada/1.jpg … 10.jpg) */
#inicio.header_section.pai-hero {
    position: relative;
    background-color: #0d1263;
}

.pai-hero-carousel {
    width: 100%;
    float: left;
}

.pai-hero-carousel__inner {
    position: relative;
    width: 100%;
}

.pai-hero-carousel__slides {
    position: relative;
    width: 100%;
    min-height: clamp(200px, 36vw, 480px);
    overflow: hidden;
    background-color: #0b0f4d;
}

.pai-hero-carousel__slide {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 0.55s ease;
    z-index: 0;
    pointer-events: none;
}

.pai-hero-carousel__slide.is-active {
    opacity: 1;
    z-index: 1;
}

.pai-hero-carousel__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
    border-radius: 50%;
    border: 2px solid rgba(10, 10, 10, 0.55);
    background: linear-gradient(165deg, #ffd666 0%, #e6a200 55%, #c99208 100%);
    color: #0f0f0f;
    font-size: 1.55rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.pai-hero-carousel__nav .fa {
    color: #0f0f0f;
}

.pai-hero-carousel__nav:hover,
.pai-hero-carousel__nav:focus {
    background: linear-gradient(165deg, #ffe48a 0%, #f4b71a 50%, #d9a010 100%);
    color: #000000;
    border-color: rgba(0, 0, 0, 0.75);
    outline: none;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.28);
}

.pai-hero-carousel__nav:hover .fa,
.pai-hero-carousel__nav:focus .fa {
    color: #000000;
}

.pai-hero-carousel__nav--prev {
    left: 12px;
}

.pai-hero-carousel__nav--next {
    right: 12px;
}

@media (max-width: 575px) {
    .pai-hero-carousel__nav {
        width: 38px;
        height: 38px;
        font-size: 1.35rem;
    }

    .pai-hero-carousel__nav--prev {
        left: 6px;
    }

    .pai-hero-carousel__nav--next {
        right: 6px;
    }
}

.pai-hero-carousel__thumbs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px 8px;
    padding: 10px 12px 14px;
    background: radial-gradient(ellipse 95% 70% at 50% 100%, rgba(212, 170, 55, 0.22) 0%, transparent 55%),
        linear-gradient(180deg, #101010 0%, #060606 45%, #000000 100%);
    border-top: 1px solid rgba(180, 140, 50, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 220, 160, 0.06);
}

.pai-hero-carousel__thumb {
    flex: 0 0 auto;
    width: 56px;
    height: 40px;
    padding: 0;
    margin: 0;
    border: 2px solid rgba(212, 165, 55, 0.35);
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    background-color: #1a1a1a;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 1;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.pai-hero-carousel__thumb::-moz-focus-inner {
    border: 0;
    padding: 0;
}

.pai-hero-carousel__thumb:hover,
.pai-hero-carousel__thumb:focus {
    outline: none;
    border-color: rgba(253, 200, 90, 0.75);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5);
}

.pai-hero-carousel__thumb.is-active {
    border-color: #e6a200;
    box-shadow: 0 0 0 2px rgba(230, 162, 0, 0.45), 0 3px 12px rgba(0, 0, 0, 0.55);
    transform: translateY(-1px);
}

@media (min-width: 576px) {
    .pai-hero-carousel__thumb {
        width: 64px;
        height: 44px;
    }
}

@media (min-width: 992px) {
    .pai-hero-carousel__slides {
        min-height: clamp(260px, 32vw, 520px);
    }

    .pai-hero-carousel__thumb {
        width: 72px;
        height: 48px;
    }
}

.pai-hero .pai-hero-overlay {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    z-index: 2;
    pointer-events: none;
}

.pai-hero .pai-hero-overlay a,
.pai-hero .pai-hero-overlay button {
    pointer-events: auto;
}

.header_bg {
    background: #1f1f1f;
}

.bg-light {
    background-color: transparent !important;
}

.logo {
    width: auto;
}

.ml-auto,
.mx-auto {
    margin-left: auto!important;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 10px;
    padding-left: 10px;
    font-size: 18px;
    color: #fcfefe;
    text-transform: uppercase;
}

.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
    color: #fda417;
}

.navbar-light .navbar-nav .active>.nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show>.nav-link {
    color: #fda417;
}

.navbar {
    padding: 30px 0px 30px 0px;
}

.login_text { display: none; }

.login_text ul {
    margin: 0px;
    padding: 0px;
}

.login_text li {
    float: left;
    font-size: 18px;
    color: #ffffff;
    padding: 0px 30px;
}

.login_text li a {
    color: #ffffff;
}

.login_text li a:hover {
    color: #fda417;
}

.quote_btn {
    width: 170px;
    float: left;
}

.quote_btn a {
    width: 100%;
    float: left;
    font-size: 16px;
    text-align: center;
    color: #ffffff;
    background-color: #fda417;
    border-radius: 40px;
    padding: 8px;
    text-transform: uppercase;
}

.quote_btn a:hover {
    background-color: #ffffff;
    color: #252525;
}


/* header section end */


/* banner section start */

.banner_section {
    width: 100%;
    float: left;
    padding: 90px 0px;
}

.banner_taital_main {
    width: 43%;
    float: left;
}

.banner_taital {
    width: 100%;
    float: left;
    font-size: 60px;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: bold;
    padding-bottom: 0px;
    line-height: 70px;
    font-family: 'Poppins', sans-serif;
}

.banner_text {
    width: 100%;
    float: left;
    font-size: 16px;
    color: #ffffff;
    margin-left: 0px;
    font-family: 'Poppins', sans-serif;
}

.btn_main {
    width: 100%;
    display: flex;
}

.started_text {
    width: 180px;
    margin-right: 20px;
    margin-top: 30px;
}

.started_text a {
    width: 100%;
    float: left;
    padding: 10px 10px;
    color: #ffffff;
    background-color: #0b0b0b;
    text-align: center;
    font-size: 16px;
    border-radius: 40px;
}

.started_text a:hover {
    color: #ffffff;
    background-color: #fda417;
}

.started_text.active a {
    color: #ffffff;
    background-color: #fda417;
}

#my_slider a.carousel-control-prev {
    left: 30px;
    top: 180px;
    right: 0px;
}

#my_slider a.carousel-control-next {
    right: 0px;
    top: 120px;
    left: 30px;
    color: #ffffff;
    background-color: #f8c30b;
}

#my_slider .carousel-control-next,
#my_slider .carousel-control-prev {
    width: 55px;
    height: 55px;
    background: #ffffff;
    opacity: 1;
    font-size: 40px;
    color: #070606;
    border-radius: 100px;
}

#my_slider .carousel-control-next:focus,
#my_slider .carousel-control-next:hover,
#my_slider .carousel-control-prev:focus,
#my_slider .carousel-control-prev:hover {
    color: #ffffff;
    background-color: #f8c30b;
}


/* banner section end */


/* about section start */

.about_section {
    width: 100%;
    float: left;
    padding: 90px 0px 0px 0px;
}

.about_taital {
    width: 100%;
    float: left;
    font-size: 40px;
    color: #3b3a3a;
    font-weight: bold;
    padding-top: 40px;
}

.about_text {
    width: 100%;
    float: left;
    font-size: 16px;
    color: #5a5959;
    margin-left: 0px;
    font-weight: 700;
}

/* Sobre nosotros: recorrido por la fábrica (48 fotos) */
.pai-fabrica-show {
    width: 100%;
    float: left;
    margin-top: 8px;
}

.pai-fabrica-show__viewport {
    position: relative;
    width: 100%;
    min-height: clamp(220px, 32vw, 420px);
    border-radius: 14px;
    overflow: hidden;
    background: #0e0f12;
    border: 1px solid rgba(253, 164, 23, 0.38);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.pai-fabrica-slide {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 0.65s ease;
    z-index: 0;
    pointer-events: none;
}

.pai-fabrica-slide.is-active {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
    cursor: zoom-in;
}

.pai-fabrica-show__shine {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(125deg, rgba(255, 255, 255, 0.07) 0%, transparent 42%, transparent 100%);
    mix-blend-mode: soft-light;
}

/* Flechas del carrusel (mismas clases que la portada) */
.pai-fabrica-show .pai-hero-carousel__nav {
    z-index: 5;
}

.pai-fabrica-show__caption {
    margin: 10px 0 0;
    text-align: center;
    font-family: 'Sen', 'Source Sans 3', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #2a2d35;
}

body.pai-light #nosotros .pai-fabrica-show__caption {
    color: var(--pai-gold, #e6a200);
    -webkit-text-stroke: 0.35px rgba(12, 12, 12, 0.25);
    paint-order: stroke fill;
    text-shadow: 0 1px 0 rgba(255, 248, 210, 0.45);
}

.about_img {
    width: 100%;
    float: left;
    background-image: url(../images/about-img.png);
    height: auto;
    background-size: cover;
    padding: 0px 0px 0px 0px;
}

.video_bt {
    width: 100%;
    padding: 155px 0px;
}

.play_icon img {
    width: 80px;
}

.play_icon {
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 5;
    text-align: center;
}

.play_icon::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 90px;
    width: 90px;
    height: 90px;
    transform: translate(-50%, -50%);
    background-color: rgb(253, 164, 23, 0.8);
    border-radius: 100%;
    animation: fadeEffect 1.3s infinite ease;
    box-shadow: 0px 0px 10px 0px;
    right: 0px;
    margin: 0 auto;
    z-index: -1;
}

@keyframes fadeEffect {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1
    }
    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

.read_bt_1 {
    width: 180px;
    float: left;
    margin-top: 20px;
}

.read_bt_1 a {
    width: 100%;
    float: left;
    font-size: 16px;
    text-align: center;
    background-color: #282828;
    color: #ffffff;
    padding: 10px 0px;
    border-radius: 40px;
    font-weight: bold;
}

.read_bt_1 a:hover {
    background-color: #fda417;
    color: #ffffff;
}


/* about section end */


/* services section start */

.services_section {
    width: 100%;
    float: left;
}

.services_taital {
    width: 100%;
    float: left;
    font-size: 40px;
    color: #1b1b1b;
    font-weight: bold;
    text-align: center;
}

.services_text_1 {
    width: 100%;
    font-size: 16px;
    margin: 0 auto;
    color: #1f1f1f;
    padding-top: 20px;
    text-align: center;
}

.services_text {
    width: 100%;
    font-size: 14px;
    margin: 0px;
    color: #1b1b1b;
    padding-top: 20px;
}

.services_section_2 {
    width: 90%;
    margin: 0 auto;
    padding-top: 30px;
}

.box_main {
    width: 100%;
    background-color: #ffffff;
    height: auto;
    padding: 40px 20px 40px 20px;
    border-radius: 20px;
    margin-top: 30px;
}

.box_main:hover {
    background-color: #ffffff;
    box-shadow: 0px 0px 20px 0px;
}

.box_main.active {
    background-color: #ffffff;
    box-shadow: 0px 0px 20px 0px;
}

.service_img {
    width: 30%;
    min-height: 71px;
}

.development_text {
    width: 100%;
    font-size: 24px;
    color: #1b1b1b;
    font-weight: bold;
    padding: 20px 0px 0px 0px;
    text-transform: uppercase;
    min-height: 80px;
}

.service_img img {
    min-height: 80px;
}

.service_img .pai-service-icon-fa {
    display: block;
    font-size: 4.25rem;
    line-height: 1;
    min-height: 80px;
    color: #1b1b1b;
    padding-top: 6px;
}

body.pai-light .service_img .pai-service-icon-fa {
    color: #1a1d24;
}

.readmore_bt {
    width: 140px;
    padding-top: 30px;
}

.readmore_bt a {
    width: 100%;
    text-align: center;
    font-size: 16px;
    color: #fda51a;
    padding: 15px 20px;
    margin-top: 10px;
    font-weight: bold;
}

.readmore_bt a:hover {
    color: #252525;
}


/* services section end */


/* projects section start */

.projects_section {
    width: 100%;
    float: left;
    padding-bottom: 90px;
}

.projects_taital {
    width: 100%;
    float: left;
    font-size: 40px;
    color: #192955;
    font-weight: 600;
    padding-bottom: 30px;
}

.projects_text {
    width: 100%;
    float: left;
    font-size: 16px;
    color: #5a5959;
    margin: 0px;
}

.projects_section_2 {
    padding: 50px 0px;
    width: 100%;
}

.pets_section_2 {
    width: 100%;
    float: left;
    padding-top: 20px;
}

.image {
    display: block;
    width: 100%;
    height: auto;
    min-height: 310px;
}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: rgb(45, 45, 45, 0.5);
    margin: 0 auto;
}

.container_main {
    position: relative;
}

.container_main:hover .overlay {
    opacity: 1;
}

.text {
    color: white;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 80%;
}

.some_text {
    color: #fefefd;
    text-align: center;
    font-size: 20px;
    padding-bottom: 0;
    font-weight: bold;
}

i.fa.fa-link {
    background: #0fbdd7;
    padding: 20px 20px 18px 20px;
    border-radius: 100%;
}

.padding_right0 {
    padding-right: 0px;
}

.development_box {
    width: 100%;
    background: red;
    height: auto;
    background-size: cover;
}

.work_text {
    width: 100%;
    font-size: 20px;
    color: #ffffff;
    font-weight: bold;
}

.dummy_text {
    width: 100%;
    font-size: 14px;
    margin: 0px;
    color: #ffffff;
}

.project_main {
    width: 100%;
    padding: 20px;
    background-color: #fda417;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    top: -2px;
    position: relative;
}

.project_main:hover {
    background-color: #252525;
}

.upcomeing_section {
    width: 100%;
    float: left;
    background-color: #ff6262;
    height: auto;
    padding: 0px 50px 50px 50px;
}

.video_menu {
    width: 100%;
    float: left;
}

.video_menu ul {
    margin: 0px;
    padding: 0px;
}

.video_menu li a {
    float: left;
    font-size: 18px;
    color: #464646;
    background-color: #ffffff;
    padding: 10px;
}

.video_menu li a:hover {
    color: #ffffff;
    background-color: #ff6262;
}

.video_menu li.active a {
    color: #ffffff;
    background-color: #ff6262;
}

.hover_main {
    width: 100%;
    float: left;
    transition: .3s all;
}

.hover_main:hover {
    transform: translateY(30px);
}

.projects_section .tab-content {
    background-color: #ff6262;
}

.projects_section ul {
    margin-bottom: 0;
    float: left;
}

.projects_section ul .nav-link {
    color: #000;
    background-color: #fff;
    padding: 12px 10px;
    width: 145px;
    text-align: center;
    margin: 0px 0px;
    text-transform: uppercase;
    position: relative;
}

.projects_section ul .nav-link.active {
    background-color: #fda417;
    color: #fff;
}


/* projects section end */


/* testimonial section start */

.testimonial_section {
    width: 100%;
    float: left;
    background-color: #252525;
    height: auto;
    padding: 90px 0px 150px 0px;
    background-size: 100%;
}

.testimonial_taital {
    width: 100%;
    float: left;
    font-size: 40px;
    color: #ffffff;
    text-align: center;
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
}

.testimonial_section_2 {
    width: 80%;
    margin: 0 auto;
    text-align: center;
    display: block;
    padding-top: 30px;
}

.client_name_text {
    width: 100%;
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    text-align: left;
    text-transform: uppercase;
}

.textimonial_text {
    width: 100%;
    background-color: #ffffff;
    padding: 40px;
    color: #0d0d0d;
    margin: 0px;
    text-align: left;
    border-radius: 4px;
}

#costum_slider a.carousel-control-next {
    right: -60px;
    left: 0px;
    top: 500px;
}

#costum_slider a.carousel-control-prev {
    left: -60px;
    right: 0px;
    top: 500px;
    color: #fff;
    background-color: #fda417;
}

#costum_slider .carousel-control-next,
#costum_slider .carousel-control-prev {
    width: 55px;
    height: 55px;
    background: #ffffff;
    opacity: 1;
    font-size: 30px;
    color: #252525;
    margin: 0 auto;
    text-align: center;
    border-radius: 100px;
}

#costum_slider .carousel-control-next:focus,
#costum_slider .carousel-control-next:hover,
#costum_slider .carousel-control-prev:focus,
#costum_slider .carousel-control-prev:hover {
    color: #fff;
    background-color: #fda417;
}


/* testimonial section end  */


/* contact section start */

.contact_section {
    width: 100%;
    float: left;
}

.contact_taital {
    width: 100%;
    float: left;
    font-size: 40px;
    color: #333333;
    padding-left: 100px;
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
}

.contact_section_2 {
    width: 100%;
    float: left;
    padding-top: 20px;
    padding-bottom: 90px;
}

.mail_section_1 {
    width: 100%;
    float: left;
    padding-left: 85px;
    padding-top: 30px;
}

.mail_text {
    width: 100%;
    float: left;
    font-size: 16px;
    color: #c5c8c7;
    border: 0px;
    background-color: transparent;
    padding: 8px 15px;
    margin-bottom: 40px;
    box-shadow: 0px 0px 10px 0px #cfcfcf;
}

input.mail_text::placeholder {
    color: #c5c8c7;
}

.massage-bt {
    color: #c5c8c7;
    width: 100%;
    height: 110px;
    font-size: 18px;
    background-color: transparent;
    padding: 40px 15px 0px 15px;
    border: 0px;
    box-shadow: 0px 0px 10px 0px #cfcfcf;
}

textarea#comment.massage-bt::placeholder {
    color: #c5c8c7;
}

.send_bt {
    width: 170px;
    float: left;
}

.send_bt a {
    width: 100%;
    text-align: center;
    font-size: 18px;
    color: #ffffff;
    background-color: #fda417;
    padding: 12px;
    text-transform: uppercase;
    margin-top: 30px;
    display: block;
    font-weight: bold;
    border-radius: 40px;
}

.send_bt a:hover {
    color: #ffffff;
    background-color: #252525;
}

.contact_img {
    width: 100%;
    float: left;
}

.padding_left_15 {
    padding-right: 0px;
}


/* contact section end */


/* footer section start */

.footer_section {
    width: 100%;
    float: left;
    background-color: #1f1f1f;
    height: auto;
    padding-bottom: 50px;
}

.footer_section_2 {
    width: 100%;
    float: left;
}

.useful_text {
    width: 100%;
    font-size: 24px;
    color: #ffffff;
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
}

.lorem_text {
    width: 100%;
    float: left;
    font-size: 16px;
    color: #ffffff;
    margin: 0px;
    font-family: 'Poppins', sans-serif;
}

.location_text {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.location_text ul {
    margin: 0px;
    padding: 0px;
    display: inline-block;
    text-align: center;
}

.location_text li {
    float: left;
    font-size: 16px;
    color: #ffffff;
    padding: 0px 120px 30px 120px;
    line-height: 30px;
    font-family: 'Poppins', sans-serif;
}

.location_text li a {
    color: #ffffff;
}

.location_text li a:hover {
    color: #fda417;
}

.location_text li.active a {
    color: #fda417;
}

.padding_15 {
    font-size: 30px;
}

.social_icon {
    width: 100%;
    display: inline-block;
    text-align: center;
    margin-top: 40px;
}

.social_icon ul {
    margin: 0px;
    padding: 0px;
    display: inline-block;
}

.social_icon li {
    float: left;
}

.social_icon li a {
    float: left;
    padding: 5px 15px;
    background-color: #ffffff;
    color: #000;
    border-radius: 100%;
    font-size: 22px;
    margin-right: 5px;
    width: 50px;
    text-align: center;
    margin-top: 10px;
}

.social_icon li a:hover {
    background-color: #fda417;
    color: #ffffff;
}

.update_mail {
    color: #918f8f;
    width: 100%;
    height: 55px;
    font-size: 18px;
    padding: 10px 20px 0px 20px;
    background-color: #ffffff;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    display: block;
    margin-top: 20px;
    border-radius: 40px;
}

.subscribe_bt {
    width: 170px;
    float: left;
    padding-top: 30px;
}

.subscribe_bt a {
    width: 100%;
    float: left;
    color: #ffffff;
    font-size: 16px;
    padding: 10px 0px;
    background-color: #fda417;
    text-transform: uppercase;
    text-align: center;
    border-radius: 40px;
}

.subscribe_bt a:hover {
    color: #252525;
    background-color: #ffffff;
}

.footer_menu_main {
    width: 100%;
    float: left;
}

.footer_menu {
    width: 77%;
    display: flex;
    flex-wrap: wrap;
}

.footer_menu ul {
    margin: 0px;
    padding: 0px;
    display: flex;
    flex-wrap: wrap;
}

.footer_menu li {
    font-size: 16px;
    color: #ffffff;
    padding: 5px 0px 0px 0px;
    flex-basis: 50%;
}

.footer_menu li a {
    color: #ffffff;
}

.footer_menu li a:hover {
    color: #fda417;
}

.footer_menu li.active a {
    color: #f9bc19;
}


/* footer section end */


/* copyright section start */

.copyright_section {
    width: 100%;
    float: left;
    background-color: #ffffff;
    height: auto;
}

.copyright_text {
    width: 100%;
    float: left;
    font-size: 16px;
    margin: 15px 0px;
    color: #252525;
    text-align: center;
    font-weight: 700;
}

.copyright_text a {
    color: #252525;
}

.copyright_text a:hover {
    color: #0fbdd7;
}


/* copyright section end */

.margin_top90 {
    margin-top: 90px;
}

/* --- Portones Automáticos Ibarra: barra superior + pie + contacto + FAQ + proyectos --- */

.header_top_section .navbar {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.header_top_section .navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.92);
    text-transform: uppercase;
    font-size: 15px;
    padding: 0.5rem 0.65rem;
}

.header_top_section .navbar-dark .navbar-nav .nav-link:hover {
    color: #fda417;
}

.header_top_section .quote_btn {
    float: none;
    width: auto;
    min-width: 160px;
}

.header_top_section .quote_btn a {
    white-space: nowrap;
}

/* Navbar one-page refinada */
.pai-header-bar {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
    border-bottom: 1px solid rgba(212, 175, 55, 0.28);
}

.pai-navbar {
    align-items: center;
    padding-top: 0.45rem !important;
    padding-bottom: 0.45rem !important;
}

.pai-navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-left: 3.85rem;
    margin-right: 0.5rem;
    min-width: 0;
    flex: 1 1 auto;
}

.pai-navbar .logo {
    margin-left: 0;
    flex-shrink: 0;
    cursor: default;
}

.pai-navbar-brand-name {
    font-family: 'Orbitron', 'Segoe UI', system-ui, sans-serif;
    font-weight: 800;
    font-style: italic;
    font-size: clamp(0.76rem, 2.5vw, 1.12rem);
    line-height: 1.15;
    letter-spacing: 0.055em;
    text-transform: uppercase;
    color: #ffcc33;
    text-shadow: 0 0 18px rgba(255, 200, 50, 0.55), 0 1px 2px rgba(0, 0, 0, 0.95);
    min-width: 0;
    padding-left: 0.35rem;
}

@media (min-width: 992px) {
    .pai-navbar-brand {
        flex: 0 1 auto;
        margin-right: 1rem;
        margin-left: 4.35rem;
    }

    .pai-navbar-brand-name {
        white-space: nowrap;
    }
}

@media (max-width: 575px) {
    .pai-navbar-brand {
        margin-left: 2.95rem;
    }
}

.pai-navbar-collapse {
    justify-content: flex-end;
}

.pai-navbar-nav .nav-link.nav-pill {
    border-radius: 999px;
    padding: 0.45rem 0.95rem !important;
    margin: 0.2rem 0.1rem;
    font-size: 0.92rem !important;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: background 0.2s ease, color 0.2s ease;
}

/* Sin estado «sección actual»: .active se ve como en reposo; el hover sigue mandando */
.pai-navbar-nav .nav-link.nav-pill.active {
    background: transparent;
    color: rgba(255, 255, 255, 0.92) !important;
}

.pai-navbar-nav .nav-link.nav-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fda417 !important;
}

.pai-nav-toggler {
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    padding: 0.35rem 0.5rem;
    background-color: transparent;
}

.pai-nav-toggler:hover,
.pai-nav-toggler:focus {
    background-color: rgba(255, 255, 255, 0.12);
}

.pai-nav-toggler:focus {
    outline: 0;
    box-shadow: 0 0 0 2px rgba(253, 164, 23, 0.45);
}

.pai-nav-cta-wrap.quote_btn {
    width: auto;
    min-width: 0;
    float: none;
}

.pai-nav-cta {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: auto !important;
    min-height: 44px;
    padding: 0.45rem 1.1rem !important;
    border-radius: 999px !important;
    font-size: 0.85rem !important;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.2 !important;
    float: none !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.pai-nav-cta .fa-envelope {
    font-size: 1rem;
}

.pai-nav-cta-text {
    position: relative;
    top: 1px;
}

.pai-nav-cta:hover {
    transform: scale(1.03);
}

.pai-hero-static {
    width: 100%;
    float: left;
}

.pai-logo-nav {
    max-height: 92px;
    width: auto;
    height: auto;
    display: block;
}

.pai-footer-brand {
    margin-bottom: 1.25rem;
}

.pai-footer-brand a {
    display: inline-block;
    line-height: 0;
}

.pai-footer-logo {
    max-height: 100px;
    width: auto;
    height: auto;
    opacity: 0.95;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
}

.pai-footer-logo:hover {
    opacity: 1;
}

/* WhatsApp flotante (mismo enlace que el pie) */
.pai-whatsapp-float {
    position: fixed;
    left: 18px;
    bottom: 24px;
    z-index: 1075;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.pai-whatsapp-float:hover {
    background: #1ebe57;
    color: #fff;
    text-decoration: none;
    transform: scale(1.06);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.32);
}

.pai-whatsapp-float:focus {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.pai-form-honey {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.pai-back-to-top {
    position: fixed;
    right: 18px;
    bottom: 24px;
    z-index: 1080;
    width: 48px;
    height: 48px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #fda417;
    color: #1a1305;
    font-size: 1.65rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease, background 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pai-back-to-top .fa {
    line-height: 1;
    transform: translateY(-3px);
}

.pai-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.pai-back-to-top:hover {
    background: #ffc44d;
    color: #1a1305;
}

.pai-back-to-top:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.pai-portfolio-gutter {
    margin-left: -14px;
    margin-right: -14px;
}

.pai-portfolio-gutter > .portfolio-item {
    padding-left: 14px;
    padding-right: 14px;
    margin-bottom: 28px;
}

/* Trabajos: miniaturas compactas; modal usa data-full / src a resolución completa */
#proyectos .pai-portfolio-gutter > .portfolio-item {
    margin-bottom: 18px;
}

#proyectos .pai-portfolio-thumb {
    min-height: 0 !important;
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

@media (min-width: 576px) {
    #proyectos .pai-portfolio-thumb {
        height: 165px;
    }
}

@media (min-width: 992px) {
    #proyectos .pai-portfolio-thumb {
        height: 185px;
    }
}

#proyectos .portfolio-item .container_main {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

#proyectos .project_main {
    padding: 10px 12px;
}

#proyectos .work_text {
    font-size: 0.88rem;
    margin: 0;
    line-height: 1.25;
    font-weight: 700;
}

/* Título bajo la foto solo con filtro "Todos" */
#portfolio-grid:not(.pai-portfolio--todos) .project_main {
    display: none;
}

#portfolio-grid:not(.pai-portfolio--todos) .portfolio-item .container_main {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.banner_taital--brand {
    font-size: clamp(1.35rem, 3.5vw, 2.35rem);
    line-height: 1.15;
    letter-spacing: 0.02em;
}

#my_slider .carousel-control-prev,
#my_slider .carousel-control-next {
    display: none !important;
}

.services_section .box_main {
    background: #fdfcfa;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(7, 9, 47, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    will-change: transform;
}

.services_section .box_main:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 14px 36px rgba(7, 9, 47, 0.14);
}

.projects_section .portfolio-filter-btn {
    cursor: pointer;
    border-radius: 999px;
    margin: 0;
    padding: 0.48rem 1.15rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.82rem;
    line-height: 1.25;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #07092f !important;
    background: #fff;
    border: 1px solid #dde1e8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    white-space: nowrap;
}

/* Overwrite reglas viejas de tabs SOLO para el filtro nuevo */
.projects_section .nav-tabs-wrapper ul.nav {
    float: none;
    width: 100%;
}

.projects_section ul .nav-link.portfolio-filter-btn {
    width: auto;
    padding: 0.52rem 1.35rem;
}

.projects_section .portfolio-filter-btn:hover,
.projects_section .portfolio-filter-btn.active {
    background-color: #fda417 !important;
    color: #fff !important;
    border-color: #fda417;
}

.nav-tabs-wrapper .nav {
    flex-wrap: wrap;
    gap: 0.75rem 1.05rem;
    justify-content: center;
}

.faq_section {
    width: 100%;
    float: left;
    background-color: #e8ebf1;
    padding-bottom: 40px;
}

.faq_section .faq_taital {
    width: 100%;
    text-align: center;
    font-size: 36px;
    color: #07092f;
    font-weight: bold;
    padding-bottom: 12px;
}

.faq_card {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 2px 12px rgba(7, 9, 47, 0.06);
    overflow: hidden;
}

.faq_card .btn-link {
    color: #07092f;
    font-weight: 600;
    text-decoration: none !important;
    width: 100%;
    text-align: left;
    padding: 14px 18px;
    font-size: 16px;
}

.faq_card .btn-link:hover {
    color: #fda417;
}

.faq_card .card-body {
    padding: 0 18px 16px;
    color: #555;
}

.pai-contact-wrap {
    max-width: 1100px;
    margin: 0 auto;
}

.pai-contact-form {
    position: relative;
}

.pai-contact-panel {
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem 1.5rem 1.85rem;
    box-shadow: 0 10px 40px rgba(7, 9, 47, 0.08);
    border: 1px solid rgba(7, 9, 47, 0.06);
}

.pai-contact-field {
    margin-bottom: 0.35rem;
}

.pai-contact-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #4a4f58;
    margin-bottom: 0.35rem;
    font-family: 'DM Sans', sans-serif;
}

.pai-contact-form .form-control {
    border-radius: 10px;
    border: 1px solid #d5d9e0;
    font-size: 15px;
    padding: 12px 16px;
    margin-bottom: 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pai-contact-form .form-control:focus {
    border-color: #fda417;
    box-shadow: 0 0 0 3px rgba(253, 164, 23, 0.2);
    outline: 0;
}

.pai-contact-form textarea.form-control {
    min-height: 96px;
    resize: vertical;
}

.pai-contact-form .btn-send {
    margin-top: 1rem;
    background: #fda417;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    border: 0;
    border-radius: 30px;
    padding: 10px 28px;
    font-size: 14px;
}

.pai-contact-form .btn-send:hover {
    background: #252525;
    color: #fff;
}

/* Aviso breve al enviar el formulario (sin salir de la página) */
.pai-contact-toast {
    position: fixed;
    left: 50%;
    bottom: 92px;
    z-index: 1092;
    max-width: min(calc(100vw - 2rem), 400px);
    padding: 0.6rem 1.15rem;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.35;
    letter-spacing: 0.01em;
    background: rgba(55, 145, 95, 0.94);
    color: #f2fff7;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(-50%, 10px, 0);
    transition: opacity 0.38s ease, visibility 0.38s ease, transform 0.38s ease;
}

.pai-contact-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate3d(-50%, 0, 0);
}

.pai-contact-toast.is-error {
    background: rgba(168, 58, 52, 0.94);
    color: #fff8f8;
}

.pai-map-square {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(7, 9, 47, 0.12);
    aspect-ratio: 1 / 1;
}

.pai-map-square iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@supports not (aspect-ratio: 1 / 1) {
    .pai-map-square {
        padding-bottom: 100%;
        height: 0;
    }
    .pai-map-square iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

.contact_section .contact_taital {
    padding-left: 0;
    text-align: center;
    width: 100%;
}

.pai-footer-sep {
    color: rgba(255, 255, 255, 0.45);
    padding: 0 4px;
}

.pai-contact-wrap .contact_section_2 {
    padding-top: 10px;
    padding-bottom: 40px;
}

.pai-contact-wrap .mail_section_1 {
    padding-left: 0;
}

.pai-footer .social_icon ul {
    justify-content: center;
    margin-top: 10px;
}

.pai-footer .social_icon ul li {
    padding: 0 12px;
}

.inner-page-spacer {
    min-height: 8px;
    background: #eef1f5;
}

/* --- One-page claro (beige/gris) + anclas + modal proyectos + footer --- */

.pai-anchor {
    scroll-margin-top: 72px;
}

body.pai-light {
    background-color: #e8e4dc !important;
    color: #3a3d45;
    --pai-gold: #e6a200;
    --pai-gold-bright: #ffcc33;
    --pai-gold-deep: #b87a00;
}

body.pai-light .services_section,
body.pai-light .about_section,
body.pai-light .projects_section,
body.pai-light .contact_section {
    background-color: #ebe7df;
}

body.pai-light .faq_section {
    background-color: #e4e0d6;
}

body.pai-light .services_taital,
body.pai-light .projects_taital,
body.pai-light .contact_taital,
body.pai-light .faq_taital,
body.pai-light #nosotros .about_taital {
    font-family: 'Sen', 'Source Sans 3', sans-serif;
    color: var(--pai-gold, #e6a200);
    -webkit-text-stroke: 0.45px rgba(12, 12, 12, 0.35);
    paint-order: stroke fill;
    text-shadow: 0 1px 0 rgba(255, 248, 210, 0.55), 0 0 18px rgba(255, 190, 50, 0.32);
}

body.pai-light .services_text_1,
body.pai-light .dummy_text,
body.pai-light .faq_card .card-body {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.05rem;
    line-height: 1.65;
    color: #454954;
}

body.pai-light .work_text {
    font-family: 'Sen', 'Source Sans 3', sans-serif;
}

body.pai-light #proyectos .project_main .dummy_text {
    font-weight: 700;
    color: #0a0a0a !important;
}

body.pai-light #proyectos .project_main:hover .dummy_text {
    color: rgba(255, 255, 255, 0.93) !important;
}

body.pai-light .development_text,
body.pai-light .services_text {
    font-family: 'Source Sans 3', sans-serif;
    color: #2d3138;
}

body.pai-light #servicios .services_text {
    font-size: 1.04rem;
    line-height: 1.55;
    padding-top: 12px;
}

body.pai-light #servicios .development_text {
    font-size: 1.18rem;
    line-height: 1.28;
    min-height: 0;
    padding-top: 14px;
    color: #e8a200;
    -webkit-text-stroke: 0.4px rgba(0, 0, 0, 0.28);
    paint-order: stroke fill;
    text-shadow: 0 1px 0 rgba(255, 248, 210, 0.65), 0 0 16px rgba(255, 195, 50, 0.42);
}

body.pai-light #servicios .services_text_1 {
    font-family: 'Sen', 'Source Sans 3', sans-serif;
    font-size: clamp(1.2rem, 2.8vw, 1.5rem);
    line-height: 1.45;
    font-weight: 600;
    color: #12141c;
    letter-spacing: 0.02em;
    max-width: 38rem;
    margin-left: auto;
    margin-right: auto;
    padding-top: 14px;
}

body.pai-light #nosotros .about_taital,
body.pai-light #nosotros .about_text {
    font-family: 'Nunito Sans', 'Source Sans 3', sans-serif;
    line-height: 1.78;
}

body.pai-light #nosotros .about_taital {
    font-weight: 700;
    font-size: 2.35rem;
}

body.pai-light #nosotros .about_text {
    font-size: 1.18rem;
    color: #3a3f48;
    text-align: justify;
    text-justify: inter-word;
}

body.pai-light .services_section .box_main {
    background: linear-gradient(165deg, #fdfbf7 0%, #f8f4ec 45%, #f2ebe0 100%);
    border: 1px solid rgba(180, 150, 100, 0.28);
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(26, 22, 16, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    overflow: hidden;
}

body.pai-light #servicios.services_section {
    background: linear-gradient(168deg, #f6f2eb 0%, #ebe7df 42%, #e3dfd6 100%);
}

body.pai-light #servicios .box_main .service_img {
    width: 100%;
    max-width: 210px;
    min-height: auto;
    margin: 0 auto 0.25rem;
    float: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 14px 8px;
    border-radius: 16px;
    background: radial-gradient(ellipse 95% 90% at 50% 35%, rgba(245, 225, 185, 0.38) 0%, rgba(250, 240, 218, 0.42) 50%, rgba(255, 250, 242, 0.3) 78%, transparent 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

body.pai-light #servicios .pai-service-photo {
    width: 100%;
    max-width: 210px;
    height: auto;
    min-height: unset;
    max-height: 140px;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(26, 22, 16, 0.14);
    transition: transform 0.32s ease, box-shadow 0.32s ease;
}

body.pai-light #servicios .box_main:hover .pai-service-photo {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 14px 32px rgba(212, 175, 55, 0.28);
}

body.pai-light #servicios .services_section_2 {
    padding-top: 8px;
}

body.pai-light .projects_section .portfolio-filter-btn {
    font-family: 'Outfit', sans-serif;
    color: #1a1d24 !important;
    background: #faf8f4;
    border-color: #c9c4ba;
}

body.pai-light .projects_section .portfolio-filter-btn:hover,
body.pai-light .projects_section .portfolio-filter-btn.active {
    background-color: #fda417 !important;
    color: #fff !important;
    border-color: #fda417;
}

body.pai-light .faq_card {
    background: #faf8f4;
    border: 1px solid #d5d0c6;
}

body.pai-light .faq_card .btn-link {
    font-family: 'Source Sans 3', sans-serif;
    color: #1a1d24;
}

body.pai-light .pai-contact-panel {
    background: #faf8f4;
    border-color: #d5d0c6;
    box-shadow: 0 12px 36px rgba(26, 22, 16, 0.08);
}

body.pai-light .pai-contact-label {
    color: #5c564c;
}

body.pai-light .pai-contact-form .form-control {
    background: #fff;
    border-color: #c9c4ba;
    color: #2d3138;
}

body.pai-light .pai-contact-form .form-control::placeholder {
    color: #7a7570;
}

body.pai-light .pai-msg-field {
    max-width: 100%;
    max-height: 200px;
    min-height: 100px;
    resize: vertical;
    overflow: auto;
}

body.pai-light .pai-char-count {
    display: block;
    margin-top: 4px;
    font-size: 0.85rem;
    color: #6b6660;
}

body.pai-light .pai-map-address {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.05rem;
    color: #4a4d55;
    font-weight: 500;
}

body.pai-light .services_text_1 a,
body.pai-light .faq_section a {
    color: #b37400;
    font-weight: 600;
}

body.pai-light .services_text_1 a:hover,
body.pai-light .faq_section a:hover {
    color: #d98900;
}

body.pai-light .copyright_section {
    background: #ddd8cf;
}

body.pai-light .copyright_text {
    font-family: 'Orbitron', 'Segoe UI', system-ui, sans-serif;
    font-style: italic;
    font-weight: 700;
    letter-spacing: 0.06em;
    font-size: clamp(0.72rem, 2vw, 0.95rem);
    color: #0f0f0f;
    text-shadow: none;
}

body.pai-light .copyright_text a {
    color: #0f0f0f;
}

body.pai-light .copyright_text a:hover {
    color: #2a2a2a;
}

body.pai-light .project_main {
    background: linear-gradient(180deg, #fda417 0%, #e09010 100%);
}

body.pai-light .portfolio-item .container_main {
    cursor: pointer;
}

body.pai-light .portfolio-item .container_main:hover .overlay {
    opacity: 0.88;
}

body.pai-light .pai-footer {
    background: linear-gradient(180deg, #1c1f28 0%, #12141c 100%);
    border-top: 1px solid rgba(253, 164, 23, 0.25);
}

/* Footer compacto (menos aire vertical; último ajuste −20% adicional) */
.footer_section.layout_padding.pai-footer {
    padding-top: 27px;
    padding-bottom: 24px;
}

.pai-footer .pai-footer-brand {
    margin-bottom: 0.6rem;
}

.pai-footer .social_icon {
    margin-top: 0;
}

/* Hero: párrafo destacado (3ª diapositiva) */
.banner-text--lead {
    font-family: 'Source Sans 3', sans-serif !important;
    font-size: 1.25rem !important;
    line-height: 1.65 !important;
    font-weight: 500 !important;
    max-width: 36em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

@media (min-width: 768px) {
    .banner-text--lead {
        font-size: 1.4rem !important;
    }
}

.pai-footer-contacts--prominent {
    padding: 4px 0 10px;
}

.pai-footer-tel-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-bottom: 9px;
}

.pai-footer-tel,
.pai-footer-mail {
    font-family: 'DM Sans', 'Sen', sans-serif;
    font-weight: 600;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fda417 !important;
    font-size: 1.45rem;
    line-height: 1.35;
    text-decoration: none !important;
}

.pai-footer-mail {
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 3px;
}

.pai-footer-tel:hover,
.pai-footer-mail:hover {
    color: #ffd180 !important;
}

.pai-footer-tel i,
.pai-footer-mail i {
    font-size: 0.95em;
    opacity: 0.9;
}

.pai-footer .social_icon ul li a {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #1a2030;
    border: 1px solid rgba(253, 164, 23, 0.35);
    color: #fda417 !important;
    font-size: 20px;
}

.pai-footer .social_icon ul li a:hover {
    background: #fda417;
    color: #1a1305 !important;
    border-color: #fda417;
}

/* El ancho sigue a la imagen (hasta un tope); evita bandas negras anchas con fotos chicas */
.pai-project-modal .modal-dialog {
    width: max-content;
    max-width: min(calc(100vw - 1.5rem), 1680px);
    min-width: 0;
    margin: 0.5rem auto;
}

.pai-project-modal .modal-content.pai-project-modal__content {
    width: auto;
    max-width: 100%;
}

.pai-project-modal__content {
    background: rgba(10, 12, 18, 0.97);
    border: 1px solid rgba(253, 164, 23, 0.35);
    border-radius: 12px;
    position: relative;
}

.pai-gallery-body {
    position: relative;
    width: auto;
    max-width: 100%;
    /* Un poco de aire alrededor de la imagen (sin volver al modal a pantalla completa) */
    padding: 0.85rem clamp(1.35rem, 4vw, 2.75rem) 1.35rem !important;
}

.pai-project-modal__close {
    position: absolute;
    right: 10px;
    top: 6px;
    z-index: 4;
    font-size: 2rem;
    line-height: 1;
    opacity: 0.9;
    text-shadow: none;
}

.pai-gallery-nav {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    z-index: 3;
    width: 52px;
    height: 52px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(253, 164, 23, 0.95);
    color: #1a1305;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    transition: background 0.2s ease, transform 0.2s ease;
}

.pai-gallery-nav:hover:not(.is-disabled) {
    background: #ffc44d;
    transform: translateY(-50%) scale(1.05);
}

.pai-gallery-nav--prev {
    left: 10px;
}

.pai-gallery-nav--next {
    right: 10px;
}

.pai-gallery-nav.is-disabled {
    opacity: 0.22;
    cursor: default;
    pointer-events: none;
}

.pai-project-modal__img {
    max-height: min(96vh, 1200px);
    width: auto;
    height: auto;
    max-width: min(calc(100vw - 4.5rem), 1680px);
    margin: 0 auto;
    display: block;
    border-radius: 6px;
    object-fit: contain;
}

.pai-project-modal__caption {
    color: #e8ecf4;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: 'Source Sans 3', sans-serif;
}

/* Lightbox fábrica: imagen contenida + centrado real en pantalla.
   En BS4, .modal-dialog-centered en el .modal-dialog usa flex en fila: el .modal-content
   queda alineado a la izquierda; forzamos columna + centrado en ambos ejes. */
#paiFabricaLightbox .pai-fabrica-lightbox__dialog {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 1.5rem);
    width: auto;
    max-width: min(calc(100vw - 1.25rem), 1600px);
    min-width: 0;
    margin: auto !important;
}

#paiFabricaLightbox .pai-fabrica-lightbox__content {
    overflow: hidden;
    max-width: 100%;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

#paiFabricaLightbox .pai-fabrica-lightbox__body {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    padding: 0.75rem clamp(0.75rem, 3vw, 2.25rem) 1rem !important;
}

#paiFabricaLightbox .pai-fabrica-lightbox__frame {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    max-height: min(86vh, 1000px);
    margin: 0 auto;
    overflow: hidden;
}

#paiFabricaLightbox .pai-fabrica-lightbox__img {
    display: block;
    max-width: 100%;
    max-height: min(86vh, 1000px);
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    border-radius: 6px;
}

@media (max-width: 575px) {
    .pai-gallery-nav {
        width: 42px;
        height: 42px;
        font-size: 1.35rem;
    }
    .pai-gallery-nav--prev {
        left: 4px;
    }
    .pai-gallery-nav--next {
        right: 4px;
    }
    .pai-footer-tel,
    .pai-footer-mail {
        font-size: 1.2rem;
    }
    .pai-footer-mail {
        font-size: 1.05rem;
        word-break: break-word;
    }
    .pai-footer-logo {
        max-height: 76px;
    }
    .pai-logo-nav {
        max-height: 70px;
    }
    .pai-back-to-top {
        right: 12px;
        bottom: 16px;
        width: 44px;
        height: 44px;
        font-size: 1.45rem;
    }

    .pai-whatsapp-float {
        left: 12px;
        bottom: 16px;
        width: 52px;
        height: 52px;
        font-size: 1.85rem;
    }

    .pai-contact-toast {
        bottom: 108px;
        font-size: 0.82rem;
        padding: 0.55rem 1rem;
    }

    .pai-back-to-top .fa {
        transform: translateY(-2px);
    }
}