/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #fff;
    color: #161616;
}

/* CONTAINER */
.container {
    width: 90%;
    max-width: 1300px;
    margin: auto;
}

/* LINKS */
a {
    text-decoration: none;
}

/* IMG */
img {
    max-width: 100%;
    display: block;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: 0.3s ease;
    cursor: pointer;
}

.btn.primary {
    background: #58B368;
    color: white;
}

.btn.primary:hover {
    background: #4AA35A;
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 18px 0;
    background: rgba(0,0,0,0.25);
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 44px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav a {
    color: white;
    font-size: 15px;
    font-weight: 600;
}

.whatsapp {
    padding: 12px 20px;
    border-radius: 10px;
    background: #58B368;
    color: white;
}

.whatsapp:hover {
    background: #4AA35A;
}

/* =========================
NAV MOBILE
========================= */
.menu-toggle {
    display: none;
}

/* MOBILE */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        color: white;
        font-size: 32px;
        cursor: pointer;
        z-index: 1001;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: center;
        gap: 22px;
        padding: 28px 0;
        background: rgba(12,12,12,0.94);
        backdrop-filter: blur(14px);
        box-shadow: 0 18px 35px rgba(0,0,0,0.25);
    }

    .nav.active {
        display: flex;
    }
}

/* HERO PAYUNIA */
.payunia-hero {
    position: relative;
    min-height: 100vh;
    background: url('../img/payunia/payunia-hero.jpg')
    center center / cover no-repeat;
    display: flex;
    align-items: flex-end;
    color: white;
    overflow: hidden;
}

.payunia-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      90deg,
      rgba(0,0,0,0.62) 0%,
      rgba(0,0,0,0.38) 42%,
      rgba(0,0,0,0.12) 100%
    ),
    linear-gradient(
      0deg,
      rgba(0,0,0,0.65) 0%,
      rgba(0,0,0,0.18) 45%,
      rgba(0,0,0,0.05) 100%
    );
}

.payunia-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    padding-bottom: 90px;
}

.payunia-hero-tag {
    display: inline-block;
    margin-bottom: 18px;
    color: #FFAB00;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.payunia-hero h1 {
    font-size: clamp(3rem, 6vw, 6rem);
    line-height: 1.02;
    max-width: 900px;
    margin-bottom: 26px;
    font-weight: 800;
    letter-spacing: -2px;
}

.payunia-hero p {
    max-width: 620px;
    font-size: 20px;
    line-height: 1.65;
    color: rgba(255,255,255,0.92);
    margin-bottom: 34px;
}

.payunia-hero-btn {
    padding: 18px 34px;
    border-radius: 12px;
    font-size: 17px;
    box-shadow: 0 14px 35px rgba(0,0,0,0.28);
}

.payunia-hero-btn:hover {
    transform: translateY(-2px);
}

/* MOBILE */
@media (max-width: 768px) {
    .payunia-hero {
        min-height: 86vh;
        align-items: flex-end;
        background-position: center;
    }

    .payunia-hero-content {
        padding-bottom: 55px;
    }

    .payunia-hero h1 {
        font-size: 42px;
        letter-spacing: -1px;
    }

    .payunia-hero p {
        font-size: 17px;
    }

    .payunia-hero-btn {
        width: 100%;
        text-align: center;
    }
}

/* INTRO PAYUNIA */
.payunia-intro {
    background: #ffffff;
    padding: 110px 0;
}

.payunia-intro-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 70px;
    align-items: center;
}

.section-tag {
    display: inline-block;
    color: #8A6B4A;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.payunia-intro h2 {
    font-size: 48px;
    line-height: 1.12;
    color: #161616;
    margin-bottom: 24px;
    max-width: 760px;
}

.payunia-intro p {
    font-size: 18px;
    line-height: 1.75;
    color: #444;
    margin-bottom: 18px;
    max-width: 780px;
}

.payunia-intro-card {
    background: #161616;
    color: white;
    border-radius: 24px;
    padding: 42px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.18);
}

.payunia-intro-card strong {
    display: block;
    color: #FFAB00;
    font-size: 72px;
    line-height: 1;
    margin-bottom: 8px;
}

.payunia-intro-card span {
    display: block;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 18px;
}

.payunia-intro-card p {
    color: rgba(255,255,255,0.82);
    font-size: 16px;
    margin: 0;
}

@media (max-width: 768px) {
    .payunia-intro {
        padding: 70px 0;
    }

    .payunia-intro-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .payunia-intro h2 {
        font-size: 34px;
    }

    .payunia-intro p {
        font-size: 16px;
    }

    .payunia-intro-card strong {
        font-size: 58px;
    }
}

/* EXPERIENCE */
.payunia-experience {
    background: #161616;
    color: white;
    padding: 120px 0;
}

.payunia-experience-header {
    margin-bottom: 70px;
}

.payunia-experience-header h2 {
    font-size: 56px;
    line-height: 1.08;
    max-width: 850px;
}

.payunia-experience-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 70px;
    align-items: center;
}

.payunia-experience-image img {
    width: 100%;
    border-radius: 28px;
    display: block;
    box-shadow: 0 25px 60px rgba(0,0,0,0.35);
}

.payunia-experience-content p {
    font-size: 18px;
    line-height: 1.9;
    color: rgba(255,255,255,0.82);
    margin-bottom: 26px;
}

@media (max-width: 768px) {
    .payunia-experience {
        padding: 80px 0;
    }

    .payunia-experience-header {
        margin-bottom: 40px;
    }

    .payunia-experience-header h2 {
        font-size: 38px;
    }

    .payunia-experience-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .payunia-experience-content p {
        font-size: 16px;
    }
}

/* GALERÍA PAYUNIA */
.payunia-gallery {
    background: #f4f0ea;
    padding: 120px 0;
}

.payunia-gallery-header {
    max-width: 850px;
    margin-bottom: 60px;
}

.payunia-gallery-header h2 {
    font-size: 52px;
    line-height: 1.08;
    color: #161616;
    margin-bottom: 20px;
}

.payunia-gallery-header p {
    font-size: 18px;
    line-height: 1.7;
    color: #555;
    max-width: 680px;
}

.gallery-feature {
    margin-bottom: 34px;
}

.gallery-feature img,
.gallery-cinematic img {
    width: 100%;
    height: 620px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 28px 70px rgba(0,0,0,0.18);
}

.gallery-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    margin-bottom: 34px;
}

.gallery-two img {
    width: 100%;
    height: 430px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 20px 55px rgba(0,0,0,0.14);
}

.gallery-fauna {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 50px;
    align-items: center;
    background: #161616;
    color: white;
    border-radius: 34px;
    padding: 55px;
    margin: 34px 0;
}

.gallery-fauna h3 {
    font-size: 38px;
    line-height: 1.1;
    margin-bottom: 18px;
}

.gallery-fauna p {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255,255,255,0.78);
}

.gallery-fauna img {
    width: 100%;
    height: 540px;
    object-fit: cover;
    border-radius: 24px;
}

.gallery-cinematic {
    margin-top: 34px;
}

/* MOBILE */
@media (max-width: 768px) {
    .payunia-gallery {
        padding: 80px 0;
    }

    .payunia-gallery-header h2 {
        font-size: 36px;
    }

    .gallery-feature img,
    .gallery-cinematic img {
        height: 360px;
        border-radius: 22px;
    }

    .gallery-two {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .gallery-two img {
        height: 340px;
        border-radius: 22px;
    }

    .gallery-fauna {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .gallery-fauna h3 {
        font-size: 30px;
    }

    .gallery-fauna img {
        height: 360px;
    }
}

/* =========================
QUÉ INCLUYE / DATOS CLAVE
========================= */
.payunia-includes {
    background: #ffffff;
    padding: 120px 0;
}

.payunia-includes-header {
    max-width: 850px;
    margin-bottom: 60px;
}

.payunia-includes-header h2 {
    font-size: 52px;
    line-height: 1.08;
    color: #161616;
    margin-bottom: 20px;
}

.payunia-includes-header p {
    font-size: 18px;
    line-height: 1.7;
    color: #555;
    max-width: 700px;
}

.includes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.include-card {
    background: #f4f0ea;
    border-radius: 24px;
    padding: 32px;
    min-height: 280px;
}

.include-card span {
    display: inline-block;
    color: #8A6B4A;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 28px;
}

.include-card h3 {
    font-size: 22px;
    line-height: 1.2;
    color: #161616;
    margin-bottom: 16px;
}

.include-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

/* MOBILE */
@media (max-width: 900px) {
    .includes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .payunia-includes {
        padding: 80px 0;
    }

    .payunia-includes-header h2 {
        font-size: 36px;
    }

    .includes-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
DIFERENCIAL PAYÚN
========================= */
.payunia-difference {
    background: #161616;
    color: white;
    padding: 120px 0;
}

.payunia-difference-header {
    max-width: 760px;
    margin-bottom: 70px;
}

.payunia-difference-header h2 {
    font-size: 56px;
    line-height: 1.08;
    margin-bottom: 22px;
}

.payunia-difference-header p {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255,255,255,0.78);
}

.difference-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.difference-card {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 26px;
}

.difference-card strong {
    display: block;
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 16px;
    color: white;
}

.difference-card p {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255,255,255,0.72);
}

.difference-cta {
    margin-top: 60px;
}

/* MOBILE */
@media (max-width: 900px) {
    .difference-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .payunia-difference {
        padding: 80px 0;
    }

    .payunia-difference-header h2 {
        font-size: 38px;
    }

    .difference-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
PREGUNTAS FRECUENTES
========================= */
.payunia-faq {
    background: #ffffff;
    padding: 120px 0;
}

.payunia-faq-header {
    max-width: 760px;
    margin-bottom: 55px;
}

.payunia-faq-header h2 {
    font-size: 52px;
    line-height: 1.08;
    color: #161616;
    margin-bottom: 18px;
}

.payunia-faq-header p {
    font-size: 18px;
    line-height: 1.7;
    color: #555;
}

.faq-list {
    max-width: 900px;
}

.faq-list details {
    border-top: 1px solid rgba(0,0,0,0.12);
    padding: 24px 0;
}

.faq-list details:last-child {
    border-bottom: 1px solid rgba(0,0,0,0.12);
}

.faq-list summary {
    cursor: pointer;
    font-size: 20px;
    font-weight: 800;
    color: #161616;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    float: right;
    font-size: 26px;
    color: #8A6B4A;
}

.faq-list details[open] summary::after {
    content: "–";
}

.faq-list p {
    margin-top: 16px;
    max-width: 760px;
    font-size: 16px;
    line-height: 1.75;
    color: #555;
}

/* MOBILE */
@media (max-width: 768px) {
    .payunia-faq {
        padding: 80px 0;
    }

    .payunia-faq-header h2 {
        font-size: 36px;
    }

    .faq-list summary {
        font-size: 18px;
    }
}

/* =========================
TESTIMONIOS PAYUNIA
========================= */
.payunia-testimonials {
    background: #f4f0ea;
    padding: 120px 0;
}

.payunia-testimonials-header {
    max-width: 820px;
    margin-bottom: 55px;
}

.payunia-testimonials-header h2 {
    font-size: 52px;
    line-height: 1.08;
    color: #161616;
}

.payunia-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.payunia-testimonial-card {
    background: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 20px 55px rgba(0,0,0,0.08);
}

.payunia-testimonial-card .stars {
    color: #FFAB00;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.payunia-testimonial-card p {
    font-size: 16px;
    line-height: 1.75;
    color: #333;
    margin-bottom: 22px;
}

.payunia-testimonial-card h4 {
    font-size: 15px;
    color: #161616;
    font-weight: 800;
}

/* MOBILE */
@media (max-width: 768px) {
    .payunia-testimonials {
        padding: 80px 0;
    }

    .payunia-testimonials-header h2 {
        font-size: 36px;
    }

    .payunia-testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
CTA FINAL
========================= */
.payunia-final-cta {
    position: relative;
    background: url('../img/payunia/cono-tormenta.jpg')
    center/cover no-repeat;
    padding: 180px 0;
    color: white;
    overflow: hidden;
}

.payunia-final-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      rgba(0,0,0,0.55),
      rgba(0,0,0,0.65)
    );
}

.payunia-final-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.payunia-final-content h2 {
    font-size: 64px;
    line-height: 1.02;
    margin-bottom: 28px;
    letter-spacing: -2px;
}

.payunia-final-content p {
    font-size: 20px;
    line-height: 1.7;
    color: rgba(255,255,255,0.86);
    margin-bottom: 36px;
    max-width: 620px;
}

/* =========================
FOOTER
========================= */
.payunia-footer {
    background: #111;
    padding: 40px 0;
}

.payunia-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    height: 38px;
}

.payunia-footer p {
    color: rgba(255,255,255,0.55);
    font-size: 14px;
}

/* MOBILE */
@media (max-width: 768px) {
    .payunia-final-cta {
        padding: 120px 0;
    }

    .payunia-final-content h2 {
        font-size: 42px;
        letter-spacing: -1px;
    }

    .payunia-final-content p {
        font-size: 17px;
    }

    .payunia-footer-content {
        flex-direction: column;
        gap: 18px;
        text-align: center;
    }
}

/* =========================
ANIMACIONES SUAVES
========================= */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

/* =========================
MICROINTERACCIONES
========================= */
/* Imágenes */
.gallery-feature img,
.gallery-two img,
.gallery-fauna img,
.gallery-cinematic img,
.payunia-experience-image img {
    transition: transform 0.7s ease,
    filter 0.7s ease;
}

.gallery-feature:hover img,
.gallery-two img:hover,
.gallery-fauna:hover img,
.gallery-cinematic:hover img,
.payunia-experience-image:hover img {
    transform: scale(1.02);
    filter: brightness(1.03);
}

/* Cards */
.include-card,
.payunia-testimonial-card {
    transition: transform 0.4s ease,
    box-shadow 0.4s ease;
}

.include-card:hover,
.payunia-testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 65px rgba(0,0,0,0.12);
}

/* Botones */
.btn {
    transition: transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 35px rgba(0,0,0,0.18);
}

/* =========================
WHATSAPP FLOATING
========================= */
.floating-whatsapp {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: rgba(22,22,22,0.88);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 18px 40px rgba(0,0,0,0.22);
    z-index: 9999;
    transition: transform 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.floating-whatsapp img {
    width: 30px;
    height: 30px;
    display: block;
}

.floating-whatsapp:hover {
    transform: translateY(-4px);
    background: #58B368;
    box-shadow: 0 24px 50px rgba(0,0,0,0.28);
}

/* MOBILE */
@media (max-width: 768px) {
    .floating-whatsapp {
        width: 58px;
        height: 58px;
        right: 18px;
        bottom: 18px;
    }

    .floating-whatsapp img {
        width: 28px;
        height: 28px;
    }
}

/* =========================
HEADER SCROLL STATE
========================= */
.header {
    transition: padding 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease,
    backdrop-filter 0.3s ease;
}

.logo {
    transition: height 0.3s ease;
}

/* HEADER AL HACER SCROLL */
.header.scrolled {
    padding: 10px 0;
    background: rgba(12,12,12,0.82);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

/* Logo más compacto */
.header.scrolled .logo {
    height: 46px;
}

/* =========================
NAV HOVER PREMIUM
========================= */
.nav a {
    position: relative;
}

/* Línea inferior animada */
.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: #FFAB00;
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}