/*
Theme Name: Pozos del Pacífico
Theme URI: https://tu-sitio.cl
Author: Tu Nombre o Empresa
Author URI: https://tu-sitio.cl
Description: Tema personalizado para Pozos del Pacífico, empresa de ingeniería en perforación de pozos de agua.
Version: 1.0
License: GPL2
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pozos-del-pacifico
*/

/* =========================
   VARIABLES
========================= */
:root{
    --pp-blue: #0d2f57;
    --pp-blue-2: #123d70;
    --pp-gold: #FFD700;
    --pp-gold-2: #FFD700;
    --pp-white: #ffffff;
    --pp-black: #0f172a;
    --pp-text: #334155;
    --pp-text-light: #e8eef5;
    --pp-bg: #f4f7fa;
    --pp-border: rgba(13, 47, 87, 0.10);
    --pp-shadow: 0 18px 42px rgba(15, 23, 42, 0.10);
    --pp-shadow-soft: 0 10px 24px rgba(15, 23, 42, 0.06);
    --pp-radius: 20px;

    --pp-font-brand: 'Montserrat', 'Arial Black', Arial, sans-serif;
    --pp-font-body: 'Roboto', 'Segoe UI', Arial, sans-serif;
}

/* =========================
   RESET
========================= */
*,
*::before,
*::after{
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body{
    margin: 0;
    padding: 0;
    font-family: var(--pp-font-body);
    background: var(--pp-bg);
    color: var(--pp-text);
    line-height: 1.6;
}

img,
video{
    display: block;
    max-width: 100%;
}

a{
    text-decoration: none;
    color: inherit;
}

ul{
    margin: 0;
    padding: 0;
    list-style: none;
}

/* =========================
   CONTENEDORES GENERALES
========================= */
.container{
    width: min(1200px, calc(100% - 40px));
    margin-inline: auto;
}

.home-section{
    padding: 80px 0;
}

.section-title{
    margin: 0 0 14px;
    color: var(--pp-blue);
    font-family: var(--pp-font-brand);
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 2.5rem);
    line-height: 1;
    text-transform: uppercase;
}

.section-text{
    max-width: 760px;
    margin: 0;
    color: var(--pp-text);
    font-size: 1.05rem;
}

/* =========================
   HEADER BÁSICO
========================= */
.site-header,
header{
    position: relative;
    z-index: 20;
    background: rgba(255,255,255,0.96);
    border-bottom: 1px solid var(--pp-border);
    backdrop-filter: blur(10px);
}

.site-header .container,
header .container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 88px;
}

.site-branding,
.logo{
    display: flex;
    align-items: center;
    gap: 14px;
}

.site-branding a,
.logo a{
    color: var(--pp-blue);
    font-family: var(--pp-font-brand);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.main-navigation ul,
.nav-links{
    display: flex;
    align-items: center;
    gap: 24px;
}

.main-navigation a,
.nav-links a{
    color: var(--pp-blue);
    font-weight: 600;
    font-size: 0.98rem;
    transition: color .25s ease;
}

.main-navigation a:hover,
.nav-links a:hover{
    color: var(--pp-gold);
}

/* =========================
   HERO SLIDER
   (este CSS asume tu HTML
   con .hero-slider / .hero-slide)
========================= */
.hero-slider{
    position: relative;
    width: 100%;
    min-height: 92vh;
    overflow: hidden;
    background: #091829;
}

.hero-slider__track{
    position: relative;
    width: 100%;
    min-height: 92vh;
}

.hero-slide{
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .65s ease, visibility .65s ease;
}

.hero-slide.is-active{
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide__media{
    position: absolute;
    inset: 0;
}

.hero-slide__media img,
.hero-slide__media video{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide__overlay{
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 17, 32, 0.521) 0%, rgba(5, 17, 32, 0.192) 42%, rgba(5, 17, 32, 0) 100%),
        linear-gradient(180deg, rgba(10,25,47,.12) 0%, rgba(10, 25, 47, 0.274) 100%);
}

.hero-slide__content{
    position: relative;
    z-index: 3;
    width: min(1200px, calc(100% - 40px));
    margin-inline: auto;
    min-height: 92vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 110px 0 120px;
}

.hero-slide__eyebrow{
    display: inline-block;
    margin-bottom: 14px;
    color: var(--pp-gold-2);
    font-family: var(--pp-font-brand);
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-slide__title{
    max-width: 780px;
    margin: 0 0 18px;
    color: var(--pp-white);
    font-family: var(--pp-font-brand);
    font-weight: 800;
    font-size: clamp(2.3rem, 5vw, 2.1rem);
    line-height: 0.95;
    text-transform: uppercase;
}

.hero-slide__text{
    max-width: 720px;
    margin: 0;
    color: var(--pp-text-light);
    font-size: 1.08rem;
    line-height: 1.75;
}

.hero-slide__actions{
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.hero-btn{
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.98rem;
    transition: all .25s ease;
}

.hero-btn--primary{
    color: var(--pp-white);
    background: var(--pp-gold);
    border: 1px solid var(--pp-gold);
}

.hero-btn--primary:hover{
    background: #b7871e;
    border-color: #b7871e;
}

.hero-btn--secondary{
    color: var(--pp-white);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.30);
    backdrop-filter: blur(10px);
}

.hero-btn--secondary:hover{
    color: var(--pp-gold-2);
    border-color: var(--pp-gold-2);
}

.hero-slider__dots{
    position: absolute;
    left: 50%;
    bottom: 34px;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.hero-dot{
    width: 14px;
    height: 14px;
    border: none;
    border-radius: 50%;
    padding: 0;
    background: rgba(255,255,255,0.38);
    cursor: pointer;
    transition: all .25s ease;
}

.hero-dot:hover{
    transform: scale(1.08);
}

.hero-dot.is-active{
    width: 38px;
    border-radius: 999px;
    background: var(--pp-gold);
}

/* =========================
   SERVICIOS
========================= */
.pp-services{
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.pp-services .section-title{
    margin-bottom: 12px;
}

.pp-services .section-text{
    margin-bottom: 34px;
}

.pp-services__grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.pp-service-card{
    position: relative;
    padding: 28px;
    border-radius: var(--pp-radius);
    background: var(--pp-white);
    border: 1px solid var(--pp-border);
    box-shadow: var(--pp-shadow-soft);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.pp-service-card:hover{
    transform: translateY(-6px);
    box-shadow: var(--pp-shadow);
    border-color: rgba(201, 154, 46, 0.22);
}

.pp-service-card::before{
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--pp-gold) 0%, var(--pp-blue) 100%);
}

.pp-service-card h3{
    margin: 0 0 12px;
    color: var(--pp-blue);
    font-family: var(--pp-font-brand);
    font-weight: 800;
    font-size: 1.18rem;
    line-height: 1.2;
    text-transform: uppercase;
}

.pp-service-card p{
    margin: 0;
    color: #ffffff;
    font-size: 0.98rem;
    line-height: 1.7;
}

/* =========================
   FOOTER
========================= */
footer{
    padding: 26px 20px;
    background: var(--pp-blue);
    color: var(--pp-white);
    text-align: center;
}

footer p{
    margin: 0;
    font-size: 0.95rem;
}

/* =========================
   UTILIDADES
========================= */
.text-center{
    text-align: center;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1100px){
    .pp-services__grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-slide__title{
        max-width: 680px;
    }

    .hero-slide__text{
        max-width: 620px;
    }
}

@media (max-width: 768px){
    .hero-slider,
    .hero-slider__track,
    .hero-slide__content{
        min-height: 84vh;
    }

    .hero-slide__content{
        width: calc(100% - 24px);
        padding: 90px 0 100px;
    }

    .hero-slide__title{
        font-size: 2.2rem;
        line-height: 1;
    }

    .hero-slide__text{
        font-size: 1rem;
    }

    .hero-slide__actions{
        width: 100%;
        flex-direction: column;
    }

    .hero-btn{
        width: 100%;
    }

    .pp-services__grid{
        grid-template-columns: 1fr;
    }

    .main-navigation ul,
    .nav-links{
        gap: 14px;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px){
    .container{
        width: calc(100% - 24px);
    }

    .section-title{
        font-size: 1.9rem;
    }

    .pp-service-card{
        padding: 22px;
    }

    .site-branding a,
    .logo a{
        font-size: 1.1rem;
    }
}

/* =========================
   HEADER
========================= */
.site-header{
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(255,255,255,0.94);
    border-bottom: 1px solid rgba(13, 47, 87, 0.08);
    backdrop-filter: blur(12px);
    transition: all .25s ease;
}

.site-header.is-scrolled{
    background: rgba(255,255,255,0.98);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.site-header__inner{
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: px;
}

.site-branding{
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.site-branding__logo{
    width: 250px;
    height: 250px;
    object-fit: contain;
    display: block;
}

.site-branding__text{
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.site-branding__title{
    font-family: var(--pp-font-brand);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--pp-blue);
    letter-spacing: 0.04em;
}

.site-branding__subtitle{
    margin-top: 4px;
    font-family: var(--pp-font-brand);
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--pp-gold);
    letter-spacing: 0.14em;
}

.main-navigation{
    margin-left: auto;
}

.main-menu{
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-menu li{
    position: relative;
}

.main-menu a{
    position: relative;
    display: inline-block;
    padding: 8px 0;
    color: var(--pp-blue);
    font-size: 0.96rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: color .25s ease;
}

.main-menu a::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--pp-gold);
    transition: width .25s ease;
}

.main-menu a:hover{
    color: var(--pp-gold);
}

.main-menu a:hover::after,
.main-menu .current-menu-item > a::after,
.main-menu .current_page_item > a::after{
    width: 100%;
}

.main-menu .current-menu-item > a,
.main-menu .current_page_item > a{
    color: var(--pp-blue);
}

/* Botón hamburguesa */
.menu-toggle{
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(13, 47, 87, 0.12);
    background: #fff;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span{
    display: block;
    width: 20px;
    height: 2px;
    background: var(--pp-blue);
    border-radius: 999px;
    transition: all .25s ease;
}

.menu-toggle.is-active span:nth-child(1){
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2){
    opacity: 0;
}

.menu-toggle.is-active span:nth-child(3){
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================
   RESPONSIVE HEADER
========================= */
@media (max-width: 900px){
    .site-header__inner{
        min-height: 78px;
    }

    .site-branding__logo{
        width: 50px;
        height: 50px;
    }

    .site-branding__title{
        font-size: 1.18rem;
    }

    .site-branding__subtitle{
        font-size: 0.75rem;
    }

    .menu-toggle{
        display: inline-flex;
    }

    .main-navigation{
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        border-bottom: 1px solid rgba(13, 47, 87, 0.08);
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
        padding: 0 20px;
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease, padding .3s ease;
    }

    .main-navigation.is-open{
        max-height: 420px;
        padding: 14px 20px 18px;
    }

    .main-menu{
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .main-menu a{
        width: 100%;
        padding: 12px 0;
    }
}

@media (max-width: 480px){
    .site-header__inner{
        gap: 12px;
    }

    .site-branding{
        gap: 10px;
    }

    .site-branding__logo{
        width: 44px;
        height: 44px;
    }

    .site-branding__title{
        font-size: 1rem;
    }

    .site-branding__subtitle{
        font-size: 0.68rem;
    }
}

.site-header{
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(255,255,255,0.96);
    border-bottom: 1px solid rgba(13, 47, 87, 0.08);
    backdrop-filter: blur(12px);
    transition: all .25s ease;
}

.site-header__inner{
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 8px 0;
}

.site-branding{
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    max-width: 220px;
}

.site-branding__logo{
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.site-branding__logo--full{
    max-width: 260px;
}

.main-navigation{
    margin-left: auto;
}

.main-menu{
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-menu li{
    list-style: none;
}

.main-menu a{
    color: var(--pp-blue);
    font-size: .94rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    transition: color .25s ease;
}

.main-menu a:hover{
    color: var(--pp-gold);
}

.menu-toggle{
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(13, 47, 87, 0.12);
    background: #fff;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span{
    display: block;
    width: 20px;
    height: 2px;
    background: var(--pp-blue);
    border-radius: 999px;
}

@media (max-width: 900px){
    .menu-toggle{
        display: inline-flex;
    }

    .site-branding{
        max-width: 170px;
    }

    .site-branding__logo--full{
        max-width: 170px;
    }

    .main-navigation{
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        border-bottom: 1px solid rgba(13, 47, 87, 0.08);
        padding: 0 20px;
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease, padding .3s ease;
    }

    .main-navigation.is-open{
        max-height: 420px;
        padding: 14px 20px 18px;
    }

    .main-menu{
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .main-menu a{
        display: block;
        width: 100%;
        padding: 10px 0;
    }
}


/* =========================
   INTRO BAJO HERO
========================= */
.pp-intro{
    padding: 80px 0 70px;
    background: #ffffff;
}

.pp-intro__inner{
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}

.pp-intro__title{
    margin: 0;
    font-family: var(--pp-font-brand);
    font-weight: 700;
    font-size: clamp(1.4rem, 2.2vw, 2.0rem);
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--pp-blue);
}

.pp-intro__divider{
    position: relative;
    max-width: 620px;
    margin: 22px auto 34px;
    height: 24px;
}

.pp-intro__divider::before{
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 42%;
    height: 1px;
    background: #d7d7d7;
    transform: translateY(-50%);
}

.pp-intro__divider::after{
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 42%;
    height: 1px;
    background: #d7d7d7;
    transform: translateY(-50%);
}

.pp-intro__divider-icon{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: var(--pp-gold);
    font-size: 0.95rem;
    line-height: 1;
    background: #fff;
    border-radius: 50%;
}

.pp-intro__text{
    max-width: 900px;
    margin: 0 auto;
    text-align: justify;
}

.pp-intro__text p{
    margin: 0 0 18px;
    font-family: var(--pp-font-body);
    font-size: 0.9rem;
    line-height: 1.95;
    font-weight: 400;
    color: #000000;
}

.pp-intro__text p:last-child{
    margin-bottom: 0;
}

@media (max-width: 768px){
    .pp-intro{
        padding: 65px 0 55px;
    }

    .pp-intro__title{
        font-size: 1.35rem;
    }

    .pp-intro__divider{
        margin: 18px auto 28px;
        max-width: 300px;
    }

    .pp-intro__divider::before,
    .pp-intro__divider::after{
        width: 36%;
    }

    .pp-intro__text p{
        font-size: 0.98rem;
        line-height: 1.8;
    }
}

.pp-intro__actions{
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.pp-intro__btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 26px;
    border-radius: 999px;
    background: transparent;
    border: 1px solid var(--pp-gold);
    color: var(--pp-blue);
    font-family: var(--pp-font-brand);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all .25s ease;
}

.pp-intro__btn:hover{
    background: var(--pp-gold);
    color: var(--pp-white);
}

.pp-services{
    padding: 95px 0;
    background-image: url('../assets/img/contacto.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    overflow: hidden;
}

.pp-services__head{
    text-align: center;
    margin-bottom: 42px;
}

.pp-services__head .section-title{
    margin-bottom: 12px;
    color: #ffffff;
}

.pp-services__head .section-text{
    max-width: 760px;
    margin: 0 auto;
    color: #ffffff;
}

.pp-services__grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.pp-service-card{
    position: relative;
    padding: 24px;
    border-radius: 24px;
    background: rgba(255,255,255,0.50);
    border: 1px solid rgba(255,255,255,0.72);
    box-shadow: 0 18px 38px rgba(15,23,42,0.08);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.pp-service-card:hover{
    transform: translateY(-5px);
    box-shadow: 0 24px 48px rgba(15,23,42,0.12);
}

.pp-service-card::before{
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--pp-gold) 0%, var(--pp-blue) 100%);
}

.pp-service-card__top{
    display: flex;
    justify-content: flex-start;
    margin-bottom: 10px;
}

.pp-service-card__tag{
    display: inline-block;
    color: var(--pp-gold);
    font-family: var(--pp-font-brand);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.pp-service-card__body h3{
    margin: 0 0 12px;
    color: var(--pp-blue);
    font-family: var(--pp-font-brand);
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.pp-service-card__excerpt{
    margin: 0;
    color: #000000;
    font-size: 0.98rem;
    line-height: 1.75;
}

.pp-service-card__content{
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .4s ease, opacity .25s ease, margin-top .3s ease;
    margin-top: 0;
}

.pp-service-card__content p{
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 0.96rem;
    line-height: 1.75;
}

.pp-service-card__content p:last-child{
    margin-bottom: 0;
}

.pp-service-card__toggle{
    margin-top: 18px;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid rgba(201,154,46,0.62);
    background: rgba(255,255,255,0.45);
    color: var(--pp-blue);
    border-radius: 999px;
    font-family: var(--pp-font-brand);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .25s ease;
}

.pp-service-card__toggle:hover{
    background: var(--pp-gold);
    color: #fff;
    border-color: var(--pp-gold);
}

.pp-service-card.is-open{
    border-color: rgba(201,154,46,0.28);
    box-shadow: 0 24px 48px rgba(15,23,42,0.12);
}

.pp-service-card.is-open .pp-service-card__content{
    max-height: 320px;
    opacity: 1;
    margin-top: 18px;
}

.pp-service-card.is-open .pp-service-card__toggle{
    background: var(--pp-gold);
    color: #fff;
    border-color: var(--pp-gold);
}

@media (max-width: 1024px){
    .pp-services__grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px){
    .pp-services{
        padding: 72px 0;
    }

    .pp-services__grid{
        grid-template-columns: 1fr;
    }

    .pp-service-card{
        padding: 22px;
    }
}

.pp-service-card__content{
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 0;
    transition: max-height .4s ease, opacity .25s ease, margin-top .3s ease;
}

.pp-service-card.is-open .pp-service-card__content{
    max-height: 320px;
    opacity: 1;
    margin-top: 18px;
}

.pp-services__grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}

.pp-service-card{
    position: relative;
    padding: 24px;
    border-radius: 24px;
    background: rgba(255,255,255,0.50);
    border: 1px solid rgba(255,255,255,0.72);
    box-shadow: 0 18px 38px rgba(15,23,42,0.08);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    align-self: start;
}

.pp-services__grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}

.pp-service-card{
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 280px; /* mismo tamaño cerradas */
    padding: 24px;
    border-radius: 24px;
    background: rgb(255 255 255 / 0%);
    border: 1px solid rgba(255,255,255,0.72);
    box-shadow: 0 18px 38px rgba(15,23,42,0.08);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.pp-service-card__body{
    display: flex;
    flex-direction: column;
    flex: 1;
}

.pp-service-card__body h3{
    margin: 0 0 12px;
    color:#FFD700;;
    font-family: var(--pp-font-brand);
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.pp-service-card__excerpt{
    margin: 0;
    color: #667085;
    font-size: 0.98rem;
    line-height: 1.75;

    display: -webkit-box;
    -webkit-line-clamp: 3; /* todas cerradas se ven parejas */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pp-service-card__content{
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    margin-top: 0;
    transition: max-height .35s ease, opacity .25s ease, margin-top .25s ease;
}

.pp-service-card.is-open .pp-service-card__content{
    max-height: 320px;
    opacity: 1;
    margin-top: 18px;
}

.pp-service-card__toggle{
    margin-top: auto; /* botón alineado abajo */
    min-height: 38px;
    padding: 0 18px;
    border: 2px solid #FFD700;;
    background: rgb(255 255 255 / 0%);
    color:#ffffff;
    border-radius: 999px;
    font-family: var(--pp-font-brand);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .25s ease;
}

@media (max-width: 1024px){
    .pp-services__grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px){
    .pp-services__grid{
        grid-template-columns: 1fr;
    }

    .pp-service-card{
        min-height: 0;
    }
}

/* =========================
   GALERÍA CARRUSEL VISIBLE
========================= */
.pp-gallery{
    padding: 95px 0;
    background:
        radial-gradient(circle at top right, rgba(201,154,46,0.08), transparent 24%),
        radial-gradient(circle at bottom left, rgba(13,47,87,0.08), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
}

.pp-gallery__head{
    text-align: center;
    margin-bottom: 36px;
}

.pp-gallery__head .section-title{
    margin-bottom: 12px;
    font-size: 35px;
}

.pp-gallery__head .section-text{
    max-width: 720px;
    margin: 0 auto;
}

.pp-gallery-carousel{
    position: relative;
}

.pp-gallery-carousel__viewport{
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 32px) / 3);
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 8px 2px 10px;
    scrollbar-width: none;
}

.pp-gallery-carousel__viewport::-webkit-scrollbar{
    display: none;
}

.pp-gallery-card{
    position: relative;
    scroll-snap-align: start;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255,255,255,0.58);
    border: 1px solid rgba(255,255,255,0.75);
    box-shadow: 0 18px 38px rgba(15,23,42,0.10);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.pp-gallery-card__media{
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.pp-gallery-card__media img,
.pp-gallery-card__media video{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.pp-gallery-card:hover .pp-gallery-card__media img,
.pp-gallery-card:hover .pp-gallery-card__media video{
    transform: scale(1.03);
}

.pp-gallery-card__media::after{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8,20,35,0.03) 0%, rgba(8,20,35,0.18) 100%);
    pointer-events: none;
}

.pp-gallery-card--video::before{
    content: "VIDEO";
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(13,47,87,0.84);
    color: #fff;
    font-family: var(--pp-font-brand);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.pp-gallery-carousel__btn{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.88);
    color: var(--pp-blue);
    box-shadow: 0 12px 28px rgba(15,23,42,0.12);
    font-size: 1.9rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .25s ease;
}

.pp-gallery-carousel__btn:hover{
    background: var(--pp-gold);
    color: #fff;
}

.pp-gallery-carousel__btn--prev{
    left: -14px;
}

.pp-gallery-carousel__btn--next{
    right: -14px;
}

@media (max-width: 1024px){
    .pp-gallery-carousel__viewport{
        grid-auto-columns: calc((100% - 16px) / 2);
    }
}

@media (max-width: 680px){
    .pp-gallery{
        padding: 72px 0;
    }

    .pp-gallery-carousel__viewport{
        grid-auto-columns: 100%;
    }

    .pp-gallery-carousel__btn{
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .pp-gallery-carousel__btn--prev{
        left: 6px;
    }

    .pp-gallery-carousel__btn--next{
        right: 6px;
    }
}


/* =========================
   TEMPLATE EMPRESA
========================= */
.pp-company{
    background: #f5f8fb;
}

.pp-company-hero{
    position: relative;
    min-height: 62vh;
    overflow: hidden;
    background: #0d2f57;
}

.pp-company-hero__media{
    position: absolute;
    inset: 0;
}

.pp-company-hero__media img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pp-company-hero__overlay{
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7,20,36,.82) 0%, rgba(7,20,36,.58) 42%, rgba(7,20,36,.28) 100%),
        linear-gradient(180deg, rgba(13,47,87,.22) 0%, rgba(13,47,87,.32) 100%);
}

.pp-company-hero__content{
    position: relative;
    z-index: 2;
    min-height: 62vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 90px 0 80px;
}

.pp-company-hero__eyebrow,
.pp-company-block__eyebrow,
.pp-panel__eyebrow,
.pp-company-values__eyebrow,
.pp-company-commitment__eyebrow{
    display: inline-block;
    margin-bottom: 12px;
    color: var(--pp-gold);
    font-family: var(--pp-font-brand);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.pp-company-hero__title{
    margin: 0 0 16px;
    color: #fff;
    font-family: var(--pp-font-brand);
    font-size: clamp(2.4rem, 5vw, 5rem);
    font-weight: 800;
    line-height: .95;
    text-transform: uppercase;
}

.pp-company-hero__text{
    max-width: 720px;
    margin: 0;
    color: rgba(255,255,255,.92);
    font-size: 1.08rem;
    line-height: 1.8;
}

.pp-company-section{
    padding: 95px 0 40px;
}

.pp-company-block{
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 34px;
    align-items: center;
    margin-bottom: 54px;
}

.pp-company-block--reverse{
    grid-template-columns: 1.1fr 1fr;
}

.pp-company-block--reverse .pp-company-block__media{
    order: 2;
}

.pp-company-block--reverse .pp-company-block__content{
    order: 1;
}

.pp-company-block__media{
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 22px 50px rgba(15,23,42,.12);
}

.pp-company-block__media img{
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    display: block;
}

.pp-company-block__title{
    margin: 0 0 18px;
    color: var(--pp-blue);
    font-family: var(--pp-font-brand);
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    font-weight: 800;
    line-height: 1.05;
    text-transform: uppercase;
}

.pp-company-block__content p{
    margin: 0 0 16px;
    color: var(--pp-text);
    font-size: 1rem;
    line-height: 1.85;
}

.pp-company-panels{
    padding: 30px 0 40px;
    background-color: #123d70;
}

.pp-company-panels__grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.pp-panel{
    padding: 32px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.411);
    border: 1px solid rgba(255,255,255,.78);
    box-shadow: 0 18px 40px rgba(15,23,42,.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.pp-panel__title{
    margin: 0 0 10px;
    color: #ffffff;
    font-family: var(--pp-font-brand);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pp-panel p{
    margin: 0;
    color: #ffffff;
    line-height: 1.8;
    font-size: 19px;
}

.pp-company-values{
    padding: 40px 0 40px;
}

.pp-company-values__head{
    text-align: center;
    margin-bottom: 34px;
}

.pp-company-values__grid{
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.pp-value-card{
    padding: 26px 22px;
    border-radius: 24px;
    background: rgba(255,255,255,.60);
    border: 1px solid rgba(255,255,255,.78);
    box-shadow: 0 16px 36px rgba(15,23,42,.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    text-align: left;
}

.pp-value-card__icon{
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, var(--pp-blue) 0%, var(--pp-blue-2) 100%);
    margin-bottom: 16px;
}

.pp-value-card__icon svg{
    width: 26px;
    height: 26px;
    fill: #fff;
}

.pp-value-card h3{
    margin: 0 0 10px;
    color: var(--pp-blue);
    font-family: var(--pp-font-brand);
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
}

.pp-value-card p{
    margin: 0;
    color: var(--pp-text);
    font-size: 0.95rem;
    line-height: 1.75;
}

.pp-company-commitment{
    padding: 30px 0 95px;
}

.pp-company-commitment__box{
    padding: 36px;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--pp-blue) 0%, var(--pp-blue-2) 100%);
    box-shadow: 0 24px 50px rgba(13,47,87,.22);
}

.pp-company-commitment__title{
    margin: 0 0 24px;
    color: #fff;
    font-family: var(--pp-font-brand);
    font-size: clamp(1.8rem, 3vw, 3rem);
    font-weight: 800;
    line-height: 1.05;
    text-transform: uppercase;
}

.pp-company-commitment__grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.pp-company-commitment__item{
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.14);
    color: #fff;
    font-weight: 600;
    line-height: 1.6;
}

@media (max-width: 1100px){
    .pp-company-block,
    .pp-company-block--reverse{
        grid-template-columns: 1fr;
    }

    .pp-company-block--reverse .pp-company-block__media,
    .pp-company-block--reverse .pp-company-block__content{
        order: initial;
    }

    .pp-company-panels__grid{
        grid-template-columns: 1fr;
    }

    .pp-company-values__grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px){
    .pp-company-section{
        padding: 70px 0 24px;
    }

    .pp-company-hero{
        min-height: 52vh;
    }

    .pp-company-hero__content{
        min-height: 52vh;
        padding: 80px 0 60px;
    }

    .pp-company-block{
        gap: 22px;
        margin-bottom: 36px;
    }

    .pp-company-block__media img{
        min-height: 280px;
    }

    .pp-panel,
    .pp-company-commitment__box{
        padding: 24px;
    }

    .pp-company-values__grid,
    .pp-company-commitment__grid{
        grid-template-columns: 1fr;
    }
}

/* =========================
   TEMPLATE CONTACTO
========================= */
.pp-contact-page{
    background: #f4f7fb;
}

.pp-contact-hero{
    position: relative;
    min-height: 48vh;
    overflow: hidden;
    background: #0d2f57;
}

.pp-contact-hero__media{
    position: absolute;
    inset: 0;
}

.pp-contact-hero__media img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pp-contact-hero__overlay{
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8,20,36,.82) 0%, rgba(8,20,36,.56) 45%, rgba(8,20,36,.26) 100%),
        linear-gradient(180deg, rgba(13,47,87,.18) 0%, rgba(13,47,87,.30) 100%);
}

.pp-contact-hero__content{
    position: relative;
    z-index: 2;
    min-height: 48vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 84px 0 60px;
}

.pp-contact-hero__eyebrow,
.pp-contact-card__eyebrow{
    display: inline-block;
    margin-bottom: 12px;
    color: var(--pp-gold);
    font-family: var(--pp-font-brand);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.pp-contact-hero__title{
    margin: 0 0 16px;
    color: #fff;
    font-family: var(--pp-font-brand);
    font-size: clamp(2.3rem, 5vw, 4.8rem);
    font-weight: 800;
    line-height: .95;
    text-transform: uppercase;
}

.pp-contact-hero__text{
    max-width: 760px;
    margin: 0;
    color: rgba(255,255,255,.92);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Bloque principal */
.pp-contact-section{
    position: relative;
    padding: 90px 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    overflow: hidden;
}

.pp-contact-section__bg{
    position: absolute;
    inset: 0;
    z-index: 1;
}

.pp-contact-section__bg img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pp-contact-section__overlay{
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8,20,36,.72) 0%, rgba(8,20,36,.78) 100%),
        rgba(13,47,87,.22);
}

.pp-contact-section__content{
    position: relative;
    z-index: 2;
}

.pp-contact-grid{
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 28px;
    align-items: start;
}

.pp-contact-card{
    padding: 32px;
    border-radius: 28px;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 24px 54px rgba(15,23,42,0.14);
}

.pp-contact-card__title{
    margin: 0 0 14px;
    color: #fff;
    font-family: var(--pp-font-brand);
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    font-weight: 800;
    line-height: 1.05;
    text-transform: uppercase;
}

.pp-contact-card__text{
    margin: 0 0 24px;
    color: rgba(255,255,255,.88);
    line-height: 1.8;
}

.pp-contact-list{
    display: grid;
    gap: 18px;
}

.pp-contact-item__label{
    display: inline-block;
    margin-bottom: 6px;
    color: var(--pp-gold-2);
    font-family: var(--pp-font-brand);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.pp-contact-item p,
.pp-contact-item a{
    margin: 0;
    color: #fff;
    line-height: 1.7;
}

.pp-contact-actions{
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.pp-contact-btn{
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--pp-font-brand);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: .25s ease;
}

.pp-contact-btn--primary{
    background: var(--pp-gold);
    color: #fff;
    border: 1px solid var(--pp-gold);
}

.pp-contact-btn--primary:hover{
    background: #b7871e;
    border-color: #b7871e;
}

.pp-contact-btn--ghost{
    background: rgba(255,255,255,.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,.20);
}

.pp-contact-btn--ghost:hover{
    border-color: var(--pp-gold-2);
    color: var(--pp-gold-2);
}

.pp-contact-quote{
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.16);
}

.pp-contact-quote p{
    margin: 0;
    color: #fff;
    font-family: var(--pp-font-brand);
    font-size: 1rem;
    letter-spacing: 0.04em;
}

/* Formulario */
.pp-contact-form,
.wpcf7 form{
    display: block;
}

.pp-contact-form__row{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.pp-contact-field{
    margin-bottom: 16px;
}

.pp-contact-field label,
.wpcf7 label{
    display: block;
    margin-bottom: 8px;
    color: rgba(255,255,255,.92);
    font-size: 0.95rem;
    font-weight: 600;
}

.pp-contact-field input,
.pp-contact-field textarea,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea{
    width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.10);
    color: #fff;
    font-family: var(--pp-font-body);
    font-size: 0.98rem;
    outline: none;
    box-shadow: none;
}

.pp-contact-field textarea,
.wpcf7 textarea{
    min-height: 140px;
    resize: vertical;
}

.pp-contact-field input::placeholder,
.pp-contact-field textarea::placeholder,
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder{
    color: rgba(255,255,255,.62);
}

.pp-contact-field input:focus,
.pp-contact-field textarea:focus,
.wpcf7 input:focus,
.wpcf7 textarea:focus{
    border-color: rgba(201,154,46,.82);
    background: rgba(255,255,255,.14);
}

.pp-contact-submit,
.wpcf7 input[type="submit"]{
    min-height: 50px;
    padding: 0 24px;
    border: 1px solid var(--pp-gold);
    border-radius: 999px;
    background: var(--pp-gold);
    color: #fff;
    font-family: var(--pp-font-brand);
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: .25s ease;
}

.pp-contact-submit:hover,
.wpcf7 input[type="submit"]:hover{
    background: #b7871e;
    border-color: #b7871e;
}

.wpcf7-spinner{
    filter: brightness(10);
}

.wpcf7 form .wpcf7-response-output{
    margin: 18px 0 0;
    border-radius: 14px;
    color: #fff;
}

@media (max-width: 1024px){
    .pp-contact-grid{
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px){
    .pp-contact-section{
        padding: 72px 0;
    }

    .pp-contact-hero{
        min-height: 42vh;
    }

    .pp-contact-hero__content{
        min-height: 42vh;
        padding: 78px 0 52px;
    }

    .pp-contact-card{
        padding: 24px;
    }

    .pp-contact-form__row{
        grid-template-columns: 1fr;
    }
}

/* =========================
   TEMPLATE RECURSOS / FAQ
========================= */
.pp-faq-page{
    background: #f5f8fb;
}

.pp-faq-hero{
    position: relative;
    min-height: 46vh;
    overflow: hidden;
    background: #0d2f57;
}

.pp-faq-hero__media{
    position: absolute;
    inset: 0;
}

.pp-faq-hero__media img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pp-faq-hero__overlay{
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8,20,36,.82) 0%, rgba(8,20,36,.58) 45%, rgba(8,20,36,.28) 100%),
        linear-gradient(180deg, rgba(13,47,87,.18) 0%, rgba(13,47,87,.30) 100%);
}

.pp-faq-hero__content{
    position: relative;
    z-index: 2;
    min-height: 46vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 84px 0 56px;
}

.pp-faq-hero__eyebrow,
.pp-faq-cta__eyebrow{
    display: inline-block;
    margin-bottom: 12px;
    color: var(--pp-gold);
    font-family: var(--pp-font-brand);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.pp-faq-hero__title{
    margin: 0 0 16px;
    color: #fff;
    font-family: var(--pp-font-brand);
    font-size: clamp(2.2rem, 5vw, 4.8rem);
    font-weight: 800;
    line-height: .95;
    text-transform: uppercase;
}

.pp-faq-hero__text{
    max-width: 760px;
    margin: 0;
    color: rgba(255,255,255,.92);
    font-size: 1.05rem;
    line-height: 1.8;
}

.pp-faq-intro{
    padding: 80px 0 30px;
}

.pp-faq-intro__inner{
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.pp-faq-intro__title{
    margin: 0 0 16px;
    color: var(--pp-blue);
    font-family: var(--pp-font-brand);
    font-size: clamp(1.8rem, 3vw, 3rem);
    font-weight: 800;
    line-height: 1.05;
    text-transform: uppercase;
}

.pp-faq-intro__text{
    margin: 0;
    color: var(--pp-text);
    line-height: 1.85;
}

.pp-faq-section{
    padding: 30px 0 90px;
}

.pp-faq-list{
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    gap: 18px;
}

.pp-faq-item{
    border-radius: 24px;
    background: rgba(255,255,255,0.56);
    border: 1px solid rgba(255,255,255,0.78);
    box-shadow: 0 18px 38px rgba(15,23,42,0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
}

.pp-faq-item__button{
    width: 100%;
    min-height: 76px;
    padding: 22px 24px;
    border: none;
    background: transparent;
    color: var(--pp-blue);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    text-align: left;
    font-family: var(--pp-font-brand);
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
}

.pp-faq-item__icon{
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(13,47,87,0.08);
    color: var(--pp-gold);
    font-size: 1.2rem;
    font-weight: 700;
    transition: transform .25s ease;
}

.pp-faq-item__content{
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .35s ease, opacity .25s ease, padding .25s ease;
    padding: 0 24px;
}

.pp-faq-item__content p{
    margin: 0 0 14px;
    color: var(--pp-text);
    line-height: 1.8;
}

.pp-faq-item__content p:last-child{
    margin-bottom: 0;
}

.pp-faq-item.is-open .pp-faq-item__content{
    max-height: 320px;
    opacity: 1;
    padding: 0 24px 24px;
}

.pp-faq-item.is-open .pp-faq-item__icon{
    transform: rotate(45deg);
}

.pp-faq-cta{
    padding: 0 0 95px;
}

.pp-faq-cta__box{
    padding: 36px;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--pp-blue) 0%, var(--pp-blue-2) 100%);
    box-shadow: 0 24px 50px rgba(13,47,87,.22);
    text-align: center;
}

.pp-faq-cta__title{
    margin: 0 0 16px;
    color: #fff;
    font-family: var(--pp-font-brand);
    font-size: clamp(1.8rem, 3vw, 3rem);
    font-weight: 800;
    line-height: 1.05;
    text-transform: uppercase;
}

.pp-faq-cta__text{
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255,255,255,.92);
    line-height: 1.8;
}

.pp-faq-cta__actions{
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.pp-faq-cta__btn{
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--pp-font-brand);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: .25s ease;
}

.pp-faq-cta__btn--primary{
    background: var(--pp-gold);
    color: #fff;
    border: 1px solid var(--pp-gold);
}

.pp-faq-cta__btn--primary:hover{
    background: #b7871e;
    border-color: #b7871e;
}

.pp-faq-cta__btn--ghost{
    background: rgba(255,255,255,.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,.20);
}

.pp-faq-cta__btn--ghost:hover{
    border-color: var(--pp-gold-2);
    color: var(--pp-gold-2);
}

@media (max-width: 680px){
    .pp-faq-intro{
        padding: 70px 0 24px;
    }

    .pp-faq-section{
        padding: 24px 0 72px;
    }

    .pp-faq-item__button{
        padding: 18px 18px;
        font-size: 0.9rem;
        min-height: 68px;
    }

    .pp-faq-item.is-open .pp-faq-item__content{
        padding: 0 18px 18px;
    }

    .pp-faq-cta{
        padding-bottom: 72px;
    }

    .pp-faq-cta__box{
        padding: 24px;
    }
}

/* =========================
   FOOTER AJUSTADO
========================= */
.site-footer{
    background: linear-gradient(180deg, #0d2f57 0%, #0a2544 100%);
    color: #002b579a;
    padding: 42px 0 0;
    margin-top: 0;
}

.site-footer .container{
    width: min(1240px, calc(100% - 48px));
    margin-inline: auto;
}

.site-footer__grid{
    display: grid;
    grid-template-columns: 1.15fr 0.8fr 0.9fr;
    gap: 52px;
    align-items: start;
}

/* baja un poco columnas 2 y 3 */
.site-footer__grid > .site-footer__col:not(.site-footer__col--brand){
    padding-top: 18px;
}

.site-footer__col{
    min-width: 0;
    text-align: left;
}

.site-footer__col--brand{
    padding-right: 10px;
}

.site-footer__brand{
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 18px;
}

.site-footer__logo{
    width: 280px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.site-footer__text{
    margin: 0 0 12px;
    max-width: 310px;
    color: rgba(255,255,255,0.82);
    font-size: 0.94rem;
    line-height: 1.75;
    text-align: left;
}

.site-footer__quote{
    margin: 0;
    color: var(--pp-gold-2);
    font-family: var(--pp-font-brand);
    font-size: 0.90rem;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0.02em;
    text-align: left;
}

.site-footer__title{
    margin: 0 0 14px;
    color: #fff;
    font-family: var(--pp-font-brand);
    font-size: 0.90rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: left;
}

.site-footer__links,
.site-footer__contact{
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.site-footer__links li,
.site-footer__contact li{
    list-style: none;
    margin: 0;
    padding: 0;
    line-height: 1.55;
    text-align: left;
}

.site-footer__links a,
.site-footer__contact a{
    color: rgba(255,255,255,0.82);
    font-size: 0.93rem;
    transition: color .25s ease;
}

.site-footer__links a:hover,
.site-footer__contact a:hover{
    color: var(--pp-gold-2);
}

.site-footer__contact span{
    display: block;
    margin-bottom: 2px;
    color: var(--pp-gold-2);
    font-family: var(--pp-font-brand);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.site-footer__contact li{
    color: rgba(255,255,255,0.82);
    font-size: 0.93rem;
}

.site-footer__bottom{
    margin-top: 28px;
    padding: 14px 0 16px;
    border-top: 1px solid rgba(255,255,255,0.10);
    text-align: center;
}

.site-footer__bottom p{
    margin: 0;
    color: rgba(255,255,255,0.62);
    font-size: 0.88rem;
    line-height: 1.5;
}

@media (max-width: 1024px){
    .site-footer{
        padding: 38px 0 0;
    }

    .site-footer__grid{
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .site-footer__col--brand{
        grid-column: 1 / -1;
        padding-right: 0;
    }

    .site-footer__grid > .site-footer__col:not(.site-footer__col--brand){
        padding-top: 0;
    }

    .site-footer__logo{
        width: 190px;
    }
}

@media (max-width: 680px){
    .site-footer{
        padding: 34px 0 0;
    }

    .site-footer .container{
        width: calc(100% - 28px);
    }

    .site-footer__grid{
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .site-footer__logo{
        width: 170px;
    }

    .site-footer__bottom{
        margin-top: 22px;
    }
}

/* =========================
   HEADER CON SHRINK
========================= */
.site-header{
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: rgba(255,255,255,0.96);
    border-bottom: 1px solid rgba(13, 47, 87, 0.08);
    backdrop-filter: blur(12px);
    transition: background .25s ease, box-shadow .25s ease;
}

.site-header__inner{
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 8px 0;
    transition: min-height .25s ease, padding .25s ease;
}

.site-branding{
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    max-width: 210px;
}

.site-branding__logo{
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: max-width .25s ease, transform .25s ease;
}

.site-branding__logo--full{
   width: 450px;
}

.main-navigation{
    margin-left: auto;
}

.main-menu{
    display: flex;
    align-items: center;
    gap: 26px;
}

.main-menu li{
    position: relative;
}

.main-menu a{
    position: relative;
    display: inline-block;
    padding: 8px 0;
    color: var(--pp-blue);
    font-size: 0.92rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: color .25s ease, font-size .25s ease;
}

.main-menu a::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--pp-gold);
    transition: width .25s ease;
}

.main-menu a:hover{
    color: var(--pp-gold);
}

.main-menu a:hover::after,
.main-menu .current-menu-item > a::after,
.main-menu .current_page_item > a::after{
    width: 100%;
}

.menu-toggle{
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(13, 47, 87, 0.12);
    background: #fff;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span{
    display: block;
    width: 20px;
    height: 2px;
    background: var(--pp-blue);
    border-radius: 999px;
    transition: all .25s ease;
}

.menu-toggle.is-active span:nth-child(1){
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2){
    opacity: 0;
}

.menu-toggle.is-active span:nth-child(3){
    transform: translateY(-7px) rotate(-45deg);
}

/* estado scroll */
.site-header.is-scrolled{
    background: rgba(255,255,255,0.98);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.site-header.is-scrolled .site-header__inner{
    min-height: 62px;
    padding: 4px 0;
}

.site-header.is-scrolled .site-branding__logo--full{
    max-width: 155px;
}

.site-header.is-scrolled .main-menu a{
    font-size: 0.86rem;
}

@media (max-width: 900px){
    .site-header__inner{
        min-height: 68px;
    }

    .site-branding{
        max-width: 170px;
    }

    .site-branding__logo--full{
        max-width: 145px;
    }

    .menu-toggle{
        display: inline-flex;
    }

    .main-navigation{
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        border-bottom: 1px solid rgba(13, 47, 87, 0.08);
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
        padding: 0 20px;
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease, padding .3s ease;
    }

    .main-navigation.is-open{
        max-height: 420px;
        padding: 14px 20px 18px;
    }

    .main-menu{
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .main-menu a{
        width: 100%;
        padding: 12px 0;
    }

    .site-header.is-scrolled .site-header__inner{
        min-height: 60px;
        padding: 4px 0;
    }

    .site-header.is-scrolled .site-branding__logo--full{
        max-width: 145px;
    }
}


.modal {
    display: none; /* Oculto por defecto */
    position: fixed;
    z-index: 1; /* Por encima del contenido */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0); /* Fondo negro con opacidad */
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.pp-gallery-card--video video {
    max-width: 100%; /* Asegura que el video no se desborde */
    width: 100%; /* Ajusta al contenedor */
    height: auto; /* Mantiene la proporción */
}

/* =========================
   ESTILO DEL MODAL (ajustado correctamente)
========================= */
.modal {
    display: none; /* Escondido por defecto */
    position: fixed; /* Fijo en la pantalla */
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8); /* Fondo negro translúcido */
    display: flex;
    justify-content: center;
    align-items: center;
    animation: modalOpen 0.3s ease-out;
}

.modal-content {
    position: relative;
    background: #fff;
    border-radius: 10px;
    width: 80%; /* 80% del ancho de la pantalla */
    max-width: 1200px; /* Maxima anchura del modal */
    padding: 20px;
    overflow: hidden;
    box-shadow: 0px 4px 15px rgba(0,0,0,0.2);
    animation: modalContentAnimation 0.3s ease-out;
}

/* Animación de apertura del modal */
@keyframes modalOpen {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Animación del contenido del modal */
@keyframes modalContentAnimation {
    from {
        transform: scale(0.8);
    }
    to {
        transform: scale(1);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 35px;
    color: white;
    cursor: pointer;
    background: rgba(0,0,0,0.7);
    border-radius: 50%;
    padding: 10px;
}

.close-modal:hover {
    background-color: rgba(255,255,255,0.6);
}

.modal img, .modal video {
    display: block;
    max-width: 100%; /* Limitar el ancho al 100% del contenedor */
    max-height: 70vh; /* Limitar la altura al 80% de la altura de la pantalla */
    margin: 0 auto;
    object-fit: contain; /* Mantener la proporción de la imagen/video */
}

/* Estilo del video */
.modal video {
    background-color: #000; /* Fondo negro para videos */
    border-radius: 10px;
}


.btn {
    font-weight: 800; /* Aplica fuente en negrita */
    font-size: 13px; /* Tamaño de fuente predeterminado */
}



/* Versión responsive */
@media (max-width: 768px) {
    .btn {
        font-size: 9px;
    }
}


@media (max-width: 768px) {
    .pp-services {
        background-attachment: scroll; /* Quita el fondo fijo en móviles */
        background-size: cover; /* El fondo cubre toda la pantalla */
        background-position: top center; /* Alinea el fondo desde la parte superior */
        padding: 80px 0; /* Ajusta el padding si es necesario */
    }
}

@media (max-width: 480px) {
    .pp-services {
        background-size: cover; /* Mantiene el fondo cubriendo todo el área */
        background-position: top center; /* Mantiene el fondo centrado en móviles */
        padding: 60px 0; /* Ajusta el padding para mejor visualización */
    }
}

/* Solo en pantallas pequeñas (menos de 768px) */
@media (max-width: 768px) {
    footer .contact-info {
        display: flex;
        flex-direction: column; /* Apilar los elementos */
        align-items: center; /* Centra los elementos horizontalmente */
        justify-content: center; /* Centra los elementos verticalmente */
        text-align: center; /* Centra el texto dentro de los enlaces */
    }

    footer .contact-info a {
        margin: 10px 0; /* Añadir margen entre los enlaces */
    }
}