/* ============================================================
   PAINT HIVE STUDIO — Custom Styles
   Archivo exclusivo del cliente. No modificar el style.css base.
   ============================================================ */

/* ============================================================
   VARIABLES LOCALES
   ============================================================ */
:root {
    --ph-yellow:     #fedf3c;
    --ph-yellow-dk:  #e5c700;
    --ph-fuchsia:    #f018a3;
    --ph-fuchsia-dk: #d1008a;
    --ph-dark:       #1a1a1a;
    --ph-cream:      #fff9e6;
    --ph-text:       #555;
    --ph-gray:       #777;
    --ph-radius-lg:  16px;
    --ph-radius-xl:  24px;
    --ph-radius-pill:30px;
}

/* ============================================================
   ESPACIADO UNIFORME - Todas las secciones principales (AL FINAL CON PRIORIDAD MAXIMA)
   ============================================================ */

/* RESET de paddings anteriores */
section,
.welcome-section,
.services-section,
.custom-section,
.gallery-section,
.products-section,
.cta-section,
section {
    padding-top: 60px;
    padding-bottom: 60px;
    padding-left: 0;
    padding-right: 0;
}

/* El hero es la única excepción - no necesita padding igual */
#hero-banner-custom,
.hero-banner,
section:first-of-type {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Efecto hover en foto de Our Founder - igual que bienvenida */
section[data-section-key*="founder"] .container img,
section[data-section-key*="about"] .container img,
section.ph-section-founder .container img,
section:has(.ph-founder-text) .container img {
    border-radius: 20px !important;
    transition: all 0.4s ease !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

section[data-section-key*="founder"] .container img:hover,
section[data-section-key*="about"] .container img:hover,
section.ph-section-founder .container img:hover,
section:has(.ph-founder-text) .container img:hover {
    transform: scale(1.03) !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25) !important;
}

/* OUR MISSION - DISEÑO LIMPIO Y UNIFICADO */
section[data-section-key*="mission"],
section[data-section-key*="nonprofit"],
section[data-section-key*="non-profit"],
section.ph-section-mission {
    background: transparent !important;
    padding: 60px 0 !important;
}

/* Sin espacios entre secciones - Our Founder */
section[data-section-key*="founder"],
section[data-section-key*="about"],
section.ph-section-founder,
section:has(.ph-founder-text) {
    margin-bottom: 0 !important;
    padding-bottom: 60px !important;
}

/* Contenedor alineado */
section.ph-section-mission .container > div[style*="grid-template-columns"],
section.ph-section-mission .container > div[style*="grid-template-columns"] {
    align-items: center !important;
    gap: 40px !important;
}

/* Columna izquierda */
section[data-section-key*="mission"] .ph-mission-text,
section[data-section-key*="nonprofit"] .ph-mission-text,
section[data-section-key*="non-profit"] .ph-mission-text,
section.ph-section-mission .ph-mission-text,
section.ph-section-mission .ph-mission-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

section.ph-section-mission .ph-mission-text .ph-eyebrow,
section.ph-section-mission .ph-mission-text .ph-eyebrow {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ph-fuchsia);
    margin-bottom: 12px;
    font-weight: 600;
}

section.ph-section-mission .ph-mission-text h2,
section.ph-section-mission .ph-mission-text h2 {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #1a1a1a;
}

section.ph-section-mission .ph-mission-text p,
section.ph-section-mission .ph-mission-text p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 24px;
    font-size: 1rem;
}

/* Botón CENTRADO */
section.ph-section-mission .ph-mission-text .ph-btn,
section.ph-section-mission .ph-mission-text .ph-btn {
    display: block !important;
    width: fit-content !important;
    margin: 0 auto !important;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 25px;
    background: var(--ph-fuchsia);
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(240, 24, 163, 0.3);
    transition: all 0.3s ease;
}

section.ph-section-mission .ph-mission-text .ph-btn:hover,
section.ph-section-mission .ph-mission-text .ph-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(240, 24, 163, 0.4);
    background: #d9168f;
}

/* Números */
section.ph-section-mission .stats-container,
section.ph-section-mission .stats-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

section.ph-section-mission .stat-item,
section.ph-section-mission .stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(240, 24, 163, 0.08);
    border-radius: 12px;
    min-width: 110px;
    border: 1px solid rgba(240, 24, 163, 0.15);
}

section.ph-section-mission .stat-number,
section.ph-section-mission .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--ph-fuchsia);
    display: block;
    line-height: 1;
    margin-bottom: 6px;
}

section.ph-section-mission .stat-label,
section.ph-section-mission .stat-label {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Centrar el texto footer de stats */
section.ph-section-mission .stats-footer,
section.ph-section-mission .stats-footer,
.ph-stats-footer {
    text-align: center !important;
    margin-top: 25px;
    color: #777;
    font-style: italic;
    font-size: 0.9rem;
    display: block;
    width: 100%;
}

/* RESET de márgenes para espaciado uniforme */
section .container {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

section .services-grid,
section .custom-section > .container > div {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.ph-h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--ph-dark);
    line-height: 1.2;
    margin: 0 0 20px;
    font-weight: 800;
}

.ph-role {
    color: var(--ph-gray);
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 20px;
}

/* ============================================================
   BOTONES
   ============================================================ */
.ph-btn {
    display: inline-block;
    padding: 14px 34px;
    border-radius: var(--ph-radius-pill);
    text-decoration: none !important;
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}

.ph-btn-primary {
    background: var(--ph-yellow);
    color: var(--ph-dark) !important;
    border-color: var(--ph-yellow);
}

.ph-btn-primary:hover {
    background: var(--ph-yellow-dk);
    border-color: var(--ph-yellow-dk);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(254, 223, 60, 0.45);
    color: var(--ph-dark) !important;
}

.ph-btn-secondary {
    background: var(--ph-fuchsia);
    color: #fff !important;
    border-color: var(--ph-fuchsia);
}

.ph-btn-secondary:hover {
    background: var(--ph-fuchsia-dk);
    border-color: var(--ph-fuchsia-dk);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(240, 24, 163, 0.4);
    color: #fff !important;
}

/* Botón dentro del hero */
.hero-btn {
    font-size: 16px;
    padding: 16px 42px;
    margin-top: 28px;
}

/* ============================================================
   IMÁGENES
   ============================================================ */
.ph-img-rounded {
    width: 100%;
    border-radius: var(--ph-radius-lg);
    object-fit: cover;
    display: block;
}

.ph-img-tall {
    min-height: 420px;
}

/* ============================================================
   NON-PROFIT HIGHLIGHT — Stats
   ============================================================ */
.ph-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 28px 0;
}

.ph-stat {
    text-align: center;
    background: var(--ph-cream);
    border-radius: 14px;
    padding: 20px 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ph-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(254, 223, 60, 0.25);
}

.ph-stat-num {
    display: block;
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
    font-weight: 900;
    color: var(--ph-yellow-dk);
    line-height: 1.1;
}

.ph-stat-label {
    display: block;
    font-size: 11px;
    color: var(--ph-gray);
    font-weight: 700;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================================
   WHY CHOOSE US — Feature Cards
   ============================================================ */
/* ============================================================
   WHY CHOOSE US — Feature Cards (donde la abeja explora)
   ============================================================ */
.ph-feature {
    text-align: center;
    padding: 36px 24px;
    border-radius: var(--ph-radius-lg);
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* Colores PASTELES siempre visibles (ACTIVE) */
.ph-feature:nth-child(1) {
    background: rgba(254, 223, 60, 0.25);
}

.ph-feature:nth-child(2) {
    background: rgba(240, 24, 163, 0.15);
}

.ph-feature:nth-child(3) {
    background: rgba(254, 223, 60, 0.2);
}

/* HOVER - pasteles más intensos */
.ph-feature:nth-child(1):hover {
    background: rgba(254, 223, 60, 0.5);
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(254, 223, 60, 0.25);
}

.ph-feature:nth-child(2):hover {
    background: rgba(240, 24, 163, 0.35);
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(240, 24, 163, 0.2);
}

.ph-feature:nth-child(3):hover {
    background: rgba(254, 223, 60, 0.45);
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(254, 223, 60, 0.22);
}

.ph-icon-circle {
    width: 72px;
    height: 72px;
    background: var(--ph-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: transform 0.3s ease;
}

.ph-feature:hover .ph-icon-circle {
    transform: scale(1.1) rotate(-6deg);
}

.ph-icon-circle i {
    font-size: 26px;
    color: var(--ph-dark);
}

.ph-feature h3 {
    font-size: 1.1rem;
    color: var(--ph-dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.ph-feature p {
    color: #666;
    line-height: 1.75;
    font-size: 15px;
    margin: 0;
}

/* ============================================================
   ABOUT / FOUNDER
   ============================================================ */
.ph-founder-text {
    padding: 10px 10px 10px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ============================================================
   FINAL CTA BLOCK
   ============================================================ */
.ph-cta-block {
    text-align: center;
    padding: 70px 40px;
    background: linear-gradient(135deg, rgba(254,223,60,0.10), rgba(240,24,163,0.07));
    border-radius: var(--ph-radius-xl);
    position: relative;
    overflow: hidden;
}

/* Decorative honeycomb faint background */
.ph-cta-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 66L0 50V17L28 1l28 16v33zm0 0l28 16v17L28 99 0 83V66z' fill='none' stroke='%23fedf3c' stroke-opacity='0.07' stroke-width='1'/%3E%3C/svg%3E");
    pointer-events: none;
}

.ph-cta-title {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    color: var(--ph-dark);
    margin-bottom: 16px;
    font-weight: 800;
    position: relative;
}

.ph-cta-sub {
    color: #666;
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto 36px;
    line-height: 1.75;
    position: relative;
}

.ph-cta-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

/* ============================================================
   SCROLL FADE-IN
   ============================================================ */
.ph-fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.ph-fade-in.ph-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
#ph-scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--ph-yellow), var(--ph-fuchsia));
    z-index: 10000;
    pointer-events: none;
    transition: width 0.08s linear;
}

/* ============================================================
   WELCOME SECTION — overrides
   ============================================================ */
.welcome-section .section-title {
    position: relative;
}

.welcome-section .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--ph-yellow);
    border-radius: 2px;
    margin-top: 12px;
}

/* ============================================================
   HEADER — ajuste
   ============================================================ */
.main-nav a.active,
.main-nav a:hover {
    color: var(--ph-fuchsia) !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .ph-stats-row {
        gap: 10px;
    }

    .ph-stat {
        padding: 16px 8px;
    }

    .ph-stat-num {
        font-size: 1.5rem;
    }

    .ph-cta-block {
        padding: 48px 24px;
    }

    .ph-cta-btns {
        flex-direction: column;
        align-items: center;
    }

    .ph-cta-btns .ph-btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .hero-btn {
        font-size: 14px;
        padding: 13px 28px;
    }

    .ph-founder-text {
        padding: 20px 0 0;
    }
}

@media (max-width: 480px) {
    .ph-stats-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .ph-stat {
        padding: 14px 6px;
    }

    .ph-stat-num {
        font-size: 1.3rem;
    }

    .ph-stat-label {
        font-size: 10px;
    }
}

/* ============================================================
   ABEJA ESTRELLA — La sonriente que alterna dirección
   ============================================================ */
.ph-bee-star {
    position: fixed;
    bottom: 35%;
    left: 0;
    width: 85px;
    height: 76px;
    pointer-events: none;
    z-index: 9990;
    display: none;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
}

/* Alas que baten */
.ph-bee-star .bee-wings-back,
.ph-bee-star .bee-wings-front {
    transform-origin: 45px 35px;
    animation: bee-flap 0.1s linear infinite;
}

.ph-bee-star .bee-wings-front {
    animation-delay: 0.02s;
}

@keyframes bee-flap {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.4); }
}

/* Animación: Izquierda → Derecha (más lenta - 12s) */
.ph-bee-star.flying-left-to-right {
    display: block;
    animation: bee-fly-ltr 12s linear forwards;
}

/* Volteamos el SVG para que mire hacia la derecha (dirección del vuelo) */
.ph-bee-star.flying-left-to-right svg {
    transform: scaleX(-1);
}

@keyframes bee-fly-ltr {
    /* ENTRADA desde izquierda (completamente fuera) */
    0%   { transform: translateX(-200px) translateY(0px); }
    10%  { transform: translateX(10vw) translateY(-20px); }
    20%  { transform: translateX(25vw) translateY(15px); }
    30%  { transform: translateX(40vw) translateY(-25px); }
    
    /* PAUSA CENTRAL (sonríe aquí) - movimiento sutil tipo flotar */
    40%  { transform: translateX(50vw) translateY(0px); }
    45%  { transform: translateX(51vw) translateY(-5px); }
    50%  { transform: translateX(50vw) translateY(0px); }
    55%  { transform: translateX(51vw) translateY(-5px); }
    60%  { transform: translateX(50vw) translateY(0px); }
    
    /* SALIDA hacia derecha (sale completamente) - vuelo ondulado */
    70%  { transform: translateX(65vw) translateY(20px); }
    80%  { transform: translateX(80vw) translateY(-15px); }
    90%  { transform: translateX(95vw) translateY(10px); }
    100% { transform: translateX(calc(100vw + 200px)) translateY(0px); }
}

/* Animación: Derecha → Izquierda (más lenta - 12s) */
.ph-bee-star.flying-right-to-left {
    display: block;
    animation: bee-fly-rtl 12s linear forwards;
}

/* El SVG mira naturalmente a la izquierda, no necesita voltearse */

@keyframes bee-fly-rtl {
    /* ENTRADA desde derecha (completamente fuera) */
    0%   { transform: translateX(calc(100vw + 200px)) translateY(0px); }
    10%  { transform: translateX(90vw) translateY(-20px); }
    20%  { transform: translateX(75vw) translateY(15px); }
    30%  { transform: translateX(60vw) translateY(-25px); }
    
    /* PAUSA CENTRAL (sonríe aquí) - movimiento sutil tipo flotar */
    40%  { transform: translateX(50vw) translateY(0px); }
    45%  { transform: translateX(49vw) translateY(-5px); }
    50%  { transform: translateX(50vw) translateY(0px); }
    55%  { transform: translateX(49vw) translateY(-5px); }
    60%  { transform: translateX(50vw) translateY(0px); }
    
    /* SALIDA hacia izquierda (sale completamente) - vuelo ondulado */
    70%  { transform: translateX(35vw) translateY(20px); }
    80%  { transform: translateX(20vw) translateY(-15px); }
    90%  { transform: translateX(5vw) translateY(10px); }
    100% { transform: translateX(-200px) translateY(0px); }
}

/* Efecto SONRISA durante la pausa (40% - 55%) */
.ph-bee-star.is-smiling .bee-eye {
    animation: bee-smile-eyes 0.4s ease-in-out 3;
}

.ph-bee-star.is-smiling .bee-smile {
    animation: bee-smile-mouth 0.4s ease-in-out 3;
}

@keyframes bee-smile-eyes {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.6); }
}

@keyframes bee-smile-mouth {
    0%, 100% { d: path('M 14 52 Q 20 58 26 52'); }
    50% { d: path('M 14 52 Q 20 62 26 52'); }
}

/* En móvil: abeja estrella - Safari compatible */
@media (max-width: 768px) {
    .ph-bee-star {
        display: block !important;
        width: 40px !important;
        height: 35px !important;
        position: fixed !important;
        bottom: 15% !important;
        left: 0 !important;
        opacity: 0.8 !important;
        z-index: 9990 !important;
        pointer-events: none !important;
    }
    
    .ph-bee-star svg {
        width: 40px !important;
        height: 35px !important;
    }
    
    /* Animación simplificada para Safari: 12s total (8s vuelo + 4s pausa) */
    .ph-bee-star.flying-left-to-right {
        animation: bee-fly-ltr-mobile 12s ease-in-out infinite !important;
    }
    
    .ph-bee-star.flying-right-to-left {
        animation: bee-fly-rtl-mobile 12s ease-in-out infinite !important;
    }
}

/* Animaciones suaves tipo abeja para móvil/Safari */
/* Vuelo: 0-60%, Fade out: 60-70%, Pausa completa: 70-100% */
@keyframes bee-fly-ltr-mobile {
    0% { 
        transform: translateX(-100px) translateY(0px); 
        opacity: 0;
    }
    5% { 
        transform: translateX(-50px) translateY(-10px) rotate(-2deg); 
        opacity: 1; 
    }
    20% { transform: translateX(20vw) translateY(15px) rotate(3deg); }
    40% { transform: translateX(40vw) translateY(-12px) rotate(-2deg); }
    60% { 
        transform: translateX(calc(100vw + 50px)) translateY(0px); 
        opacity: 1; 
    }
    70% { 
        transform: translateX(calc(100vw + 150px)) translateY(0px); 
        opacity: 0; 
    }
    100% { 
        transform: translateX(calc(100vw + 150px)) translateY(0px); 
        opacity: 0;
    }
}

@keyframes bee-fly-rtl-mobile {
    0% { 
        transform: translateX(calc(100vw + 100px)) translateY(0px); 
        opacity: 0;
    }
    5% { 
        transform: translateX(calc(100vw + 50px)) translateY(-10px) rotate(2deg); 
        opacity: 1; 
    }
    20% { transform: translateX(80vw) translateY(12px) rotate(-3deg); }
    40% { transform: translateX(60vw) translateY(-15px) rotate(2deg); }
    60% { 
        transform: translateX(-50px) translateY(0px); 
        opacity: 1; 
    }
    70% { 
        transform: translateX(-150px) translateY(0px); 
        opacity: 0; 
    }
    100% { 
        transform: translateX(-150px) translateY(0px); 
        opacity: 0;
    }
}

/* ============================================================
   ABEJA EXPLORADORA — Viaja entre secciones custom
   ============================================================ */
.custom-section {
    position: relative;
    overflow: visible !important;
}

.ph-bee-explorer-custom {
    position: absolute;
    width: 45px;
    height: 38px;
    pointer-events: none;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.5s ease;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.2));
    background: transparent;
}

/* Giro instantáneo - sin transición para que gire antes de volar */
.ph-bee-explorer-custom svg {
    transition: none;
}

.ph-bee-explorer-custom.is-visible {
    opacity: 1;
}

/* Alas que baten cuando vuela */
.ph-bee-explorer-custom.is-flying svg .bee-wings-back,
.ph-bee-explorer-custom.is-flying svg .bee-wings-front {
    transform-origin: 30px 20px;
    animation: explorer-flap 0.1s linear infinite;
}

.ph-bee-explorer-custom.is-flying svg .bee-wings-front {
    animation-delay: 0.03s;
}

@keyframes explorer-flap {
    0%, 100% { 
        transform: scaleY(1) rotate(0deg); 
    }
    50% { 
        transform: scaleY(0.25) rotate(8deg); 
    }
}

/* Alas plegadas cuando está posada */
.ph-bee-explorer-custom.is-resting svg .bee-wings-back,
.ph-bee-explorer-custom.is-resting svg .bee-wings-front {
    transform-origin: 30px 20px;
    transform: scaleY(0.5) rotate(-15deg);
    transition: transform 0.3s ease;
}

/* Animación de vuelo ondulado tipo abeja */
@keyframes bee-explorer-fly {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    20% {
        transform: translate(calc((var(--bee-target-x) - var(--bee-start-x, 0px)) * 0.2), -30px) rotate(-5deg);
    }
    40% {
        transform: translate(calc((var(--bee-target-x) - var(--bee-start-x, 0px)) * 0.4), 15px) rotate(3deg);
    }
    60% {
        transform: translate(calc((var(--bee-target-x) - var(--bee-start-x, 0px)) * 0.6), -25px) rotate(-3deg);
    }
    80% {
        transform: translate(calc((var(--bee-target-x) - var(--bee-start-x, 0px)) * 0.8), 10px) rotate(2deg);
    }
    100% {
        transform: translate(calc(var(--bee-target-x) - var(--bee-start-x, 0px)), calc(var(--bee-target-y) - var(--bee-start-y, 0px))) rotate(0deg);
    }
}

/* ============================================================
   ABEJA ARTISTA — Pinta iconos de B&N a color
   ============================================================ */
.social-sidebar {
    position: fixed !important;
    overflow: visible !important;
}

/* Iconos empiezan en B&N y transicionan a color */
.social-sidebar a {
    filter: grayscale(100%) brightness(0.7);
    transition: filter 0.8s ease, transform 0.3s ease;
}

.ph-bee-artist {
    position: absolute;
    width: 50px;
    height: 43px;
    pointer-events: none;
    z-index: 1000;
    opacity: 0;
    filter: drop-shadow(3px 3px 6px rgba(0,0,0,0.3));
    transition: opacity 0.5s ease;
}

.ph-bee-artist.is-visible {
    opacity: 1;
}

/* Alas que baten rápido cuando vuela */
.ph-bee-artist.is-flying svg .artist-wings-back,
.ph-bee-artist.is-flying svg .artist-wings-front {
    transform-origin: 35px 25px;
    animation: artist-flap 0.08s linear infinite;
}

.ph-bee-artist.is-flying svg .artist-wings-front {
    animation-delay: 0.02s;
}

@keyframes artist-flap {
    0%, 100% { 
        transform: scaleY(1) rotate(0deg); 
    }
    50% { 
        transform: scaleY(0.3) rotate(10deg); 
    }
}

/* Alas plegadas cuando está posada */
.ph-bee-artist.is-resting svg .artist-wings-back,
.ph-bee-artist.is-resting svg .artist-wings-front {
    transform-origin: 35px 25px;
    transform: scaleY(0.5) rotate(-15deg);
    transition: transform 0.3s ease;
}

/* Contenedor de la escarcha/brillos */
.ph-sparkle-trail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
    overflow: visible;
}

/* Gotas de pintura/brillos */
.sparkle {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    animation: sparkle-trail 1s ease-out forwards;
    pointer-events: none;
}

/* Amarillo */
.sparkle:not(.fuchsia) {
    background: radial-gradient(circle, #ffffff 0%, #fedf3c 40%, #f59e0b 70%, transparent 100%);
    box-shadow: 0 0 10px 4px rgba(254, 223, 60, 0.9), 0 0 20px 8px rgba(254, 223, 60, 0.5);
}

/* Fucsia */
.sparkle.fuchsia {
    background: radial-gradient(circle, #ffffff 0%, #f018a3 40%, #c71585 70%, transparent 100%);
    box-shadow: 0 0 10px 4px rgba(240, 24, 163, 0.9), 0 0 20px 8px rgba(240, 24, 163, 0.5);
}

@keyframes sparkle-trail {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    20% {
        opacity: 1;
        transform: scale(1.3);
    }
    60% {
        opacity: 0.9;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.2);
    }
}

/* ============================================================
   SERVICES SECTION - What We Do (tarjetas sin abeja)
   ============================================================ */

/* Fondo crema cálido - Opción A (más intenso) */
.services-section {
    background-color: #fef6e0 !important;
    background-image: none !important;
}

/* Colores pastel SIEMPRE visibles para cada tarjeta */
.services-grid .service-card:nth-child(1) {
    background: rgba(254, 223, 60, 0.2);
}

.services-grid .service-card:nth-child(2) {
    background: rgba(240, 24, 163, 0.1);
}

.services-grid .service-card:nth-child(3) {
    background: rgba(254, 223, 60, 0.15);
}

/* Círculos en fuchsia suave, iconos en fuchsia intenso */
.services-grid .service-card .service-icon {
    background: rgba(240, 24, 163, 0.2) !important;
}

.services-grid .service-card .service-icon i {
    color: var(--ph-fuchsia) !important;
    font-size: 2.2rem;
}

/* Hover - solo animación, sin cambio de color */
.services-grid .service-card:hover .service-icon {
    transform: scale(1.1) rotate(-6deg);
}

/* Botones de las tarjetas - MEJOR CONTRASTE */
.services-grid .service-card .btn-more {
    background: var(--ph-fuchsia) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 12px 24px !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(240, 24, 163, 0.3) !important;
}

.services-grid .service-card .btn-more:hover {
    background: #d9168f !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(240, 24, 163, 0.4) !important;
}

/* HOVER - pasteles más intensos pero suaves */
.services-grid .service-card:nth-child(1):hover {
    background: rgba(254, 223, 60, 0.4);
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(254, 223, 60, 0.25);
}

.services-grid .service-card:nth-child(2):hover {
    background: rgba(240, 24, 163, 0.2);
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(240, 24, 163, 0.15);
}

.services-grid .service-card:nth-child(3):hover {
    background: rgba(254, 223, 60, 0.35);
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(254, 223, 60, 0.22);
}

/* ============================================================
   MEET OUR FOUNDER - Sección custom de 2 columnas
   ============================================================ */

/* Meet Our Founder - Fondo fuchsia suave (independiente de orden) */
/* Múltiples selectores para máxima compatibilidad */
section[data-section-key*="founder"],
section[data-section-key*="about"],
section.ph-section-founder,
section:has(.ph-founder-text) {
    background: rgba(240, 24, 163, 0.08) !important;
    padding: 60px 0 !important;
}

/* Centrar verticalmente el contenido de Our Founder */
section[data-section-key*="founder"] .container > div[style*="grid-template-columns"],
section[data-section-key*="about"] .container > div[style*="grid-template-columns"],
section.ph-section-founder .container > div[style*="grid-template-columns"],
section:has(.ph-founder-text) .container > div[style*="grid-template-columns"] {
    align-items: center !important;
}

/* La foto y el texto centrados verticalmente */
section[data-section-key*="founder"] .container > div[style*="grid-template-columns"] > div,
section[data-section-key*="about"] .container > div[style*="grid-template-columns"] > div,
section.ph-section-founder .container > div[style*="grid-template-columns"] > div,
section:has(.ph-founder-text) .container > div[style*="grid-template-columns"] > div {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

/* Botón "Our Founder" - más pequeño, centrado y elegante */
.ph-founder-text {
    text-align: left !important;
}

/* Resetear estilos de Our Mission que afectan a Our Founder */
section[data-section-key*="founder"] .ph-founder-text strong,
section[data-section-key*="about"] .ph-founder-text strong,
section.ph-section-founder .ph-founder-text strong,
section:has(.ph-founder-text) .ph-founder-text strong {
    color: inherit !important;
    text-align: left !important;
    display: inline !important;
    font-size: inherit !important;
    font-weight: bold !important;
}

section[data-section-key*="founder"] .ph-founder-text p,
section[data-section-key*="about"] .ph-founder-text p,
section.ph-section-founder .ph-founder-text p,
section:has(.ph-founder-text) .ph-founder-text p {
    text-align: left !important;
}

/* Menifee, CA y otros strong - mantener en negro */
section[data-section-key*="founder"] .ph-founder-text p strong,
section[data-section-key*="about"] .ph-founder-text p strong,
section.ph-section-founder .ph-founder-text p strong {
    color: #1a1a1a !important;
    font-size: inherit !important;
    text-align: left !important;
    display: inline !important;
}

.ph-founder-text .ph-btn,
.ph-founder-text .ph-btn-primary {
    display: block !important;
    width: fit-content !important;
    margin: 0 auto !important;
    padding: 10px 28px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-radius: 25px !important;
    transition: all 0.3s ease !important;
    background: var(--ph-yellow) !important;
    color: #1a1a1a !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    text-align: center !important;
}

.ph-founder-text .ph-btn:hover,
.ph-founder-text .ph-btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25) !important;
    background: #f5d42e !important;
}

/* Our Mission (5ta sección) - Fondo transparente */
section.ph-section-mission {
    background: transparent;
}

/* WHY PAINT HIVE STUDIO - Sección 6 */
section.ph-section-why {
    padding: 60px 0 !important;
    background: transparent !important;
}

section.ph-section-why .ph-eyebrow {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ph-fuchsia);
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

section.ph-section-why h2.ph-h2 {
    margin-top: 0;
}

/* Sin margen inferior entre secciones */
section.ph-section-mission,
section.ph-section-mission {
    margin-bottom: 0 !important;
}

/* GALLERY SECTION - Fondo blanco y tipografía unificada */
.gallery-section {
    background: #ffffff !important;
    padding: 60px 0 !important;
}

/* Simular eyebrow + h2 como las otras secciones */
.gallery-section .section-header::before {
    content: "Paint Gallery Preview";
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ph-fuchsia);
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
}

.gallery-section .section-title {
    text-align: center;
    margin-bottom: 8px;
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a1a;
}

.gallery-section .section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 1rem;
}

/* Botones de la galería en inglés */
.gallery-item .btn-view {
    font-size: 12px !important;
    padding: 8px 16px !important;
}

/* CTA SECTION - Full width */
.ph-cta-block {
    padding: 100px 40px;
    text-align: center;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.ph-cta-block .ph-cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.ph-cta-block .ph-cta-sub {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.ph-cta-block .ph-cta-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sin capa oscura - fondo claro */
.ph-cta-block::before {
    display: none;
}

/* Contenido del CTA encima de la capa oscura */
.ph-cta-block > * {
    position: relative;
    z-index: 2;
}

.ph-cta-block .ph-cta-title,
section.ph-section-cta .ph-cta-block .ph-cta-title,
.cta-section .ph-cta-block .ph-cta-title,
section:last-of-type .ph-cta-block .ph-cta-title {
    font-size: 2.8rem;
    color: #ffffff !important;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    position: relative;
    z-index: 2;
}

.ph-cta-block .ph-cta-sub,
section.ph-section-cta .ph-cta-block .ph-cta-sub,
.cta-section .ph-cta-block .ph-cta-sub,
section:last-of-type .ph-cta-block .ph-cta-sub {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

/* Contenedor de botones centrado */
.ph-cta-block .ph-cta-btns,
section.ph-section-cta .ph-cta-block .ph-cta-btns,
.cta-section .ph-cta-block .ph-cta-btns,
section:last-of-type .ph-cta-block .ph-cta-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

/* Botones con estilos */
.ph-cta-block .ph-btn,
.ph-cta-block .ph-btn-primary,
.ph-cta-block .ph-btn-secondary {
    position: relative;
    z-index: 2;
}



.ph-cta-block .ph-cta-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.ph-cta-block .ph-btn {
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ph-cta-block .ph-btn-primary {
    background: var(--ph-yellow);
    color: #1a1a1a;
    box-shadow: 0 4px 15px rgba(254, 223, 60, 0.4);
}

.ph-cta-block .ph-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(254, 223, 60, 0.6);
}

.ph-cta-block .ph-btn-secondary {
    background: var(--ph-fuchsia);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(240, 24, 163, 0.4);
}

.ph-cta-block .ph-btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(240, 24, 163, 0.6);
}

/* Mejorar presentación de números en Our Mission */
section.ph-section-mission strong,
section.ph-section-mission strong {
    font-size: 3rem;
    font-weight: 800;
    color: var(--ph-fuchsia);
    display: block;
    line-height: 1;
    margin-bottom: 8px;
    text-align: center;
}

section.ph-section-mission strong + br + *,
section.ph-section-mission strong + *,
section.ph-section-mission strong + br + *,
section.ph-section-mission strong + * {
    font-size: 1rem;
    color: var(--ph-dark);
    font-weight: 600;
    text-align: center;
    display: block;
}

/* Responsive para móvil - 1 columna */
@media (max-width: 768px) {
    /* Our Founder - 1 columna en móvil */
    section[data-section-key*="founder"] .container > div[style*="grid-template-columns: repeat(2"],
    section[data-section-key*="about"] .container > div[style*="grid-template-columns: repeat(2"],
    section.ph-section-founder .container > div[style*="grid-template-columns: repeat(2"],
    section:has(.ph-founder-text) .container > div[style*="grid-template-columns: repeat(2"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    section[data-section-key*="founder"] .container > div[style*="grid-template-columns: repeat(2"] > div:first-child,
    section[data-section-key*="about"] .container > div[style*="grid-template-columns: repeat(2"] > div:first-child,
    section.ph-section-founder .container > div[style*="grid-template-columns: repeat(2"] > div:first-child,
    section:has(.ph-founder-text) .container > div[style*="grid-template-columns: repeat(2"] > div:first-child {
        order: -1; /* Foto arriba */
    }
    
    /* Our Mission - 1 columna en móvil */
    section.ph-section-mission .container > div[style*="grid-template-columns: repeat(2"],
    section.ph-section-mission .container > div[style*="grid-template-columns: repeat(2"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    section.ph-section-mission .container > div[style*="grid-template-columns: repeat(2"] > div:first-child,
    section.ph-section-mission .container > div[style*="grid-template-columns: repeat(2"] > div:first-child {
        order: -1; /* Foto arriba */
    }
    
    /* Números más pequeños en móvil - Our Mission */
    section.ph-section-mission strong,
    section.ph-section-mission strong {
        font-size: 2.5rem;
    }
}

/* ============================================================
   CTA FINAL - Full Width Fix (romper container)
   ============================================================ */
/* La última sección (CTA) debe ser full-width */
section:last-of-type {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    padding: 0 !important;
}

section:last-of-type .container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
}

/* El contenido del CTA con padding interno */
section:last-of-type .ph-cta-block,
section:last-of-type [class*="cta"] {
    width: 100% !important;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 40px !important;
    border-radius: 0 !important;
}

/* Sin bordes redondeados en la última sección */
section:last-of-type,
section:last-of-type .container,
section:last-of-type > div,
section:last-of-type [class*="cta"] {
    border-radius: 0 !important;
}

/* CTA "Ready to unleash..." - Sin bordes redondeados independiente de posición */
.ph-cta-block,
section:has(.ph-cta-block),
section:has(.ph-cta-block) .container,
section:has(.ph-cta-block) > div {
    border-radius: 0 !important;
}

/* ============================================================
   CLIENTS SECTION - Estilo unificado y logos en color
   ============================================================ */
/* Eyebrow igual al resto de secciones */
.clients-section .section-header::before {
    content: "CLIENTS";
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ph-fuchsia);
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
}

/* Título centrado igual al resto */
.clients-section .section-title {
    text-align: center;
    margin-bottom: 8px;
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a1a;
}

.clients-section .section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 1rem;
}

/* Logos en color original - sin filtro B&N */
.clients-section .client-logo img,
.clients-section .swiper-slide img {
    filter: none !important;
    -webkit-filter: none !important;
    transition: transform 0.3s ease;
}

/* Hover en logos */
.clients-section .client-logo:hover img,
.clients-section .swiper-slide:hover img {
    transform: scale(1.1);
}

/* ============================================================
   BUSY BEE ART CLUB - Sección promocional (Full Width + Parallax)
   ============================================================ */

/* Hacer que el container padre sea full-width para esta sección */
section:has(#parallax-bee) .container,
section.ph-section-art-club .container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}
/* Contenedor principal - Full Width con Parallax JS
   NOTA: background-attachment: fixed removido para evitar artefactos visuales */
.ph-busy-bee-club {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background-image va en el HTML inline */
    background-size: cover;
    background-position: center 50%;
    background-repeat: no-repeat;
    /* background-attachment: fixed - REMOVIDO, ahora usamos JS */
    border-radius: 0 !important;
    overflow: hidden;
    will-change: background-position;
}

/* Contenido centrado */
.ph-art-club-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 40px;
    max-width: 600px;
}

/* Logo del club */
.ph-art-club-logo {
    width: 200px;
    height: auto;
    margin: 0 auto 25px;
    display: block;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.4));
    animation: gentle-bounce 3s ease-in-out infinite;
}

/* Animación suave para el logo */
@keyframes gentle-bounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

/* Título */
.ph-busy-bee-club h2 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* Subtítulo */
.ph-busy-bee-club p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 35px;
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

/* Botón estilizado */
.ph-busy-bee-club .ph-btn {
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.ph-busy-bee-club .ph-btn-primary {
    background: var(--ph-yellow);
    color: #1a1a1a;
    border: 3px solid var(--ph-yellow);
}

.ph-busy-bee-club .ph-btn-primary:hover {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(254,223,60,0.4);
}

/* Animaciones para el logo del Busy Bee Art Club */
@keyframes gentle-bounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

@keyframes logo-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes logo-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Responsive */
@media (max-width: 768px) {
    .ph-busy-bee-club {
        min-height: 400px;
        background-attachment: scroll; /* Desactivar parallax en móvil para mejor rendimiento */
    }
    
    .ph-art-club-content {
        padding: 60px 20px;
    }
    
    .ph-art-club-logo {
        width: 150px;
    }
    
    .ph-busy-bee-club h2 {
        font-size: 2rem;
    }
    
    .ph-busy-bee-club p {
        font-size: 1rem;
    }
    
    .ph-busy-bee-club .ph-btn {
        padding: 14px 30px;
        font-size: 15px;
    }
}

/* ============================================================
   OUR MISSION - Fallback con data-section-key (prioridad máxima)
   ============================================================ */
section[data-section-key*="mission"],
section[data-section-key*="nonprofit"],
section[data-section-key*="non-profit"] {
    background: transparent !important;
    padding: 60px 0 !important;
}

section[data-section-key*="mission"] .stats-container,
section[data-section-key*="nonprofit"] .stats-container,
section[data-section-key*="non-profit"] .stats-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 25px !important;
    flex-wrap: wrap !important;
}

section[data-section-key*="mission"] .stat-item,
section[data-section-key*="nonprofit"] .stat-item,
section[data-section-key*="non-profit"] .stat-item {
    text-align: center !important;
    padding: 20px !important;
    background: rgba(240, 24, 163, 0.08) !important;
    border-radius: 12px !important;
    min-width: 110px !important;
    border: 1px solid rgba(240, 24, 163, 0.15) !important;
}

section[data-section-key*="mission"] .stat-number,
section[data-section-key*="nonprofit"] .stat-number,
section[data-section-key*="non-profit"] .stat-number {
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    color: var(--ph-fuchsia) !important;
    display: block !important;
    line-height: 1 !important;
    margin-bottom: 6px !important;
}

section[data-section-key*="mission"] .stat-label,
section[data-section-key*="nonprofit"] .stat-label,
section[data-section-key*="non-profit"] .stat-label {
    font-size: 0.8rem !important;
    color: #666 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

/* Responsive - Our Mission con data-section-key */
@media (max-width: 768px) {
    section[data-section-key*="mission"] .container > div[style*="grid-template-columns: repeat(2"],
    section[data-section-key*="nonprofit"] .container > div[style*="grid-template-columns: repeat(2"],
    section[data-section-key*="non-profit"] .container > div[style*="grid-template-columns: repeat(2"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    section[data-section-key*="mission"] .container > div[style*="grid-template-columns: repeat(2"] > div:first-child,
    section[data-section-key*="nonprofit"] .container > div[style*="grid-template-columns: repeat(2"] > div:first-child,
    section[data-section-key*="non-profit"] .container > div[style*="grid-template-columns: repeat(2"] > div:first-child {
        order: -1 !important;
    }
}

/* ============================================================
   ESPACIO ENTRE SECCIONES - Reducir espacio entre Why y Gallery
   ============================================================ */

/* Why Paint Hive Studio - menos padding abajo */
section[data-section-key*="why"],
section:has(.ph-eyebrow):has(h2.ph-h2):has(.ph-feature) {
    padding-bottom: 30px !important;
}

/* Gallery - menos padding arriba */
.gallery-section,
section.gallery-section,
section:has(.gallery-grid) {
    padding-top: 30px !important;
}

/* Asegurar que el espaciado uniforme sea 30px entre todas las secciones principales */
section.custom-section + section.custom-section {
    margin-top: 0 !important;
}

/* ============================================================
   ELIMINAR FRANJA GRIS ENTRE WELCOME Y BUSY BEE ART CLUB
   ============================================================ */
/* Welcome Section - sin margin inferior */
section[data-section-key*="welcome"],
section.welcome-section,
section:has(h1):has(p):has(.welcome-image),
section.ph-section-welcome {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Busy Bee Art Club - sin margin superior */
section[data-section-key*="busy"],
section[data-section-key*="art-club"],
section.ph-section-art-club,
section:has(#parallax-bee) {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Eliminar espacio entre secciones consecutivas */
section.welcome-section + section,
section:has(.welcome-image) + section,
section[data-section-key*="welcome"] + section {
    margin-top: 0 !important;
}

/* ============================================================
   TESTIMONIALS / REVIEWS SECTION
   ============================================================ */
.ph-testimonials-section {
    background: #faf9f6;
    padding: 60px 40px;
    text-align: center;
}

.ph-testimonials-header {
    margin-bottom: 40px;
}

.ph-testimonials-header .ph-eyebrow {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ph-fuchsia);
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.ph-testimonials-header h2 {
    font-size: 2.2rem;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-weight: 800;
}

.ph-testimonials-header p {
    color: #666;
    font-size: 1.1rem;
}

.ph-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.ph-testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: left;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ph-testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.ph-testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 60px;
    color: var(--ph-yellow);
    font-family: Georgia, serif;
    line-height: 1;
    opacity: 0.3;
}

.ph-stars {
    color: #ffc107;
    font-size: 18px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.ph-quote {
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.ph-author {
    margin-bottom: 15px;
}

.ph-author strong {
    display: block;
    color: #1a1a1a;
    font-weight: 700;
}

.ph-author span {
    color: #999;
    font-size: 0.9rem;
}

.ph-read-more {
    color: var(--ph-fuchsia);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.ph-read-more:hover {
    color: var(--ph-fuchsia-dk);
}

.ph-yelp-button {
    margin-top: 20px;
}

.ph-yelp-button .ph-btn-secondary {
    background: #d32323; /* Color Yelp */
    color: white;
    border-color: #d32323;
    padding: 14px 30px;
}

.ph-yelp-button .ph-btn-secondary:hover {
    background: #b91c1c;
    border-color: #b91c1c;
    transform: translateY(-2px);
}

/* Espaciado entre Clients y Testimonials - MÍNIMO */
/* Clients - espacio reducido al mínimo */
.clients-section,
section:has(.clients-swiper),
section[data-section-key*="clients"] {
    padding: 20px 0 10px 0 !important; /* Padding mínimo: 20px arriba, 10px abajo */
    margin-bottom: 0 !important;
}

.clients-section .section-header {
    margin-bottom: 15px !important;
    padding: 0 !important;
}

.clients-section .section-title {
    margin-bottom: 5px !important;
    padding: 0 !important;
}

.clients-section .section-subtitle {
    margin-bottom: 10px !important;
    padding: 0 !important;
}

.clients-section .swiper {
    padding: 10px 0 !important;
    margin: 0 !important;
}

/* Testimonials - pegado a Clients */
.ph-testimonials-section {
    padding: 30px 20px !important; /* Padding reducido */
    margin-top: 0 !important;
    background: rgba(254, 223, 60, 0.12) !important; /* Amarillo tenue */
}

/* Responsive - Clients en móvil (reducir espacios) */
@media (max-width: 768px) {
    .clients-section {
        padding: 30px 0 !important;
    }
    
    .clients-section .section-header {
        margin-bottom: 20px !important;
    }
    
    .clients-section .section-title {
        margin-bottom: 5px !important;
    }
    
    .clients-section .section-subtitle {
        margin-bottom: 15px !important;
    }
    
    .clients-section .swiper {
        padding-bottom: 20px !important;
    }
    
    .clients-section + section {
        margin-top: 0 !important;
        padding-top: 30px !important;
    }
    
    .ph-testimonials-section {
        padding: 40px 20px;
    }
    
    .ph-testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .ph-testimonial-card {
        padding: 25px;
    }
    
    /* OCULTAR abejas de PC en móvil - EXCEPTO la exploradora */
    .ph-bee-star,
    .ph-bee-artist,
    .ph-sparkle-trail {
        display: none !important;
    }
    /* La abeja exploradora SÍ aparece en móvil */
}

/* ============================================================
   ABEJA MÓVIL EXCLUSIVA - Solo aparece en celular
   ============================================================ */
.ph-bee-mobile {
    display: none; /* Oculta en PC por defecto */
}

@media (max-width: 768px) {
    .ph-bee-mobile {
        display: block !important;
        width: 35px !important;
        height: 30px !important;
        position: fixed !important;
        bottom: 15% !important;
        left: -100px !important;
        opacity: 0 !important;
        z-index: 9999 !important;
        pointer-events: none !important;
        will-change: transform;
    }
    
    .ph-bee-mobile svg {
        width: 35px !important;
        height: 30px !important;
        filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.2));
    }
    
    /* Animación simple: vuela de izquierda a derecha */
    .ph-bee-mobile.flying {
        animation: mobile-bee-fly 12s linear forwards;
    }
}

@keyframes mobile-bee-fly {
    0% { 
        left: -60px; 
        opacity: 0;
        transform: translateY(0px);
    }
    3% { 
        left: -20px; 
        opacity: 0.9;
        transform: translateY(-8px);
    }
    15% { 
        left: 15vw; 
        transform: translateY(10px);
    }
    30% { 
        left: 30vw; 
        transform: translateY(-6px);
    }
    50% { 
        left: 50vw; 
        transform: translateY(8px);
    }
    70% { 
        left: 70vw; 
        transform: translateY(-4px);
    }
    90% { 
        left: 95vw; 
        transform: translateY(2px);
        opacity: 0.9;
    }
    97% { 
        left: 110vw; 
        opacity: 0;
        transform: translateY(0px);
    }
    100% { 
        left: 120vw; 
        opacity: 0;
    }
}

/* ============================================================
   HERO - Forzar 100% exacto del ancho (fix espacio derecho)
   ============================================================ */
html, body {
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

#hero-banner-custom,
.hero-banner,
.hero-slider-custom,
.hero-slides,
.hero-slide {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    left: 0 !important;
    right: 0 !important;
}

/* Forzar slides a ocupar todo el viewport */
.hero-slide {
    width: 100vw !important;
    min-width: 100vw !important;
}

/* Eliminar cualquier margen o padding del contenedor del hero */
#hero-banner-custom .container,
#hero-banner-custom > div {
    max-width: none !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ============================================================
   GALLERY FILTERS - FIX COLORES BOTONES (contrastes correctos)
   ============================================================ */

/* BOTÓN ACTIVO (fondo amarillo) - Texto NEGRO para leerse bien */
.gallery-filters .filter-btn.active {
    background-color: #fedf3c !important;
    color: #1a1a1a !important; /* NEGRO OSCURO */
    border-color: #fedf3c !important;
    font-weight: 700 !important;
}

/* BOTÓN INACTIVO (fondo blanco/transparente) - Texto AMARILLO */
.gallery-filters .filter-btn:not(.active) {
    background-color: transparent !important;
    color: #e5c700 !important; /* Amarillo más oscuro para leerse en blanco */
    border: 2px solid #fedf3c !important;
    font-weight: 600 !important;
}

/* HOVER en botón inactivo - fondo amarillo, texto negro */
.gallery-filters .filter-btn:not(.active):hover {
    background-color: #fedf3c !important;
    color: #1a1a1a !important; /* NEGRO */
    border-color: #fedf3c !important;
}

/* Asegurar que las imágenes del hero cubran todo sin dejar espacio */
.hero-slide .slide-image {
    width: 100vw !important;
    min-width: 100vw !important;
    background-size: cover !important;
    background-position: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ============================================================
   GALLERY MODAL - OPCIÓN A: FONDO NEGRO + IMAGEN COMPLETA
   ============================================================ */

/* Overlay negro sólido */
#galleryModal .modal-overlay {
    background: #000000 !important;
    backdrop-filter: none !important;
}

/* Contenedor del modal - fondo transparente para ver el overlay negro */
#galleryModal .modal-content.gallery-modal-simple {
    background: transparent !important;
    box-shadow: none !important;
    max-width: 95vw !important;
    max-height: 95vh !important;
    width: auto !important;
    height: auto !important;
    padding: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Wrapper de la imagen */
#galleryModal .gallery-modal-image-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    max-width: 100% !important;
    max-height: 100% !important;
}

/* Imagen - mostrar completa sin cortes */
#galleryModal .gallery-modal-img {
    max-width: 90vw !important;
    max-height: 85vh !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 8px !important;
    display: block !important;
    box-shadow: 0 10px 60px rgba(0,0,0,0.5) !important;
}

/* Caption/Título de la imagen */
#galleryModal .gallery-modal-caption {
    position: fixed !important;
    bottom: 30px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: rgba(0,0,0,0.8) !important;
    color: #ffffff !important;
    padding: 12px 24px !important;
    border-radius: 30px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    z-index: 10001 !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
    pointer-events: none !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
}

#galleryModal .gallery-modal-caption:not(:empty) {
    opacity: 1 !important;
}

/* Botón de cierre mejorado */
#galleryModal .modal-close {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    background: rgba(255,255,255,0.15) !important;
    color: #ffffff !important;
    width: 50px !important;
    height: 50px !important;
    font-size: 2rem !important;
    border-radius: 50% !important;
    border: 2px solid rgba(255,255,255,0.3) !important;
    z-index: 10000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

#galleryModal .modal-close:hover {
    background: rgba(255,255,255,0.3) !important;
    border-color: rgba(255,255,255,0.5) !important;
    transform: scale(1.1) !important;
}

/* Responsive: Ajustes para móvil */
@media (max-width: 768px) {
    #galleryModal .modal-content.gallery-modal-simple {
        padding: 10px !important;
        max-width: 100vw !important;
        max-height: 100vh !important;
    }
    
    #galleryModal .gallery-modal-img {
        max-width: 95vw !important;
        max-height: 80vh !important;
    }
    
    #galleryModal .modal-close {
        top: 10px !important;
        right: 10px !important;
        width: 44px !important;
        height: 44px !important;
        font-size: 1.75rem !important;
    }
    
    #galleryModal .gallery-modal-caption {
        bottom: 20px !important;
        font-size: 14px !important;
        padding: 10px 18px !important;
        max-width: 90vw !important;
        white-space: normal !important;
        text-align: center !important;
    }
    
    #galleryModal .gallery-nav-arrow {
        width: 44px !important;
        height: 44px !important;
    }
    
    #galleryModal .gallery-nav-arrow svg {
        width: 20px !important;
        height: 20px !important;
    }
    
    #galleryModal .gallery-nav-prev {
        left: 10px !important;
    }
    
    #galleryModal .gallery-nav-next {
        right: 10px !important;
    }
    
    #galleryModal .gallery-nav-counter {
        bottom: 70px !important;
        font-size: 12px !important;
        padding: 6px 14px !important;
    }
}

/* ============================================================
   GALLERY MODAL - NAVEGACIÓN CON FLECHAS
   ============================================================ */

/* Flechas de navegación */
#galleryModal .gallery-nav-arrow {
    position: fixed !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 56px !important;
    height: 56px !important;
    background: rgba(255,255,255,0.15) !important;
    border: 2px solid rgba(255,255,255,0.3) !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10000 !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
}

#galleryModal .gallery-nav-arrow:hover {
    background: rgba(255,255,255,0.3) !important;
    border-color: rgba(255,255,255,0.5) !important;
    transform: translateY(-50%) scale(1.1) !important;
}

#galleryModal .gallery-nav-arrow svg {
    width: 24px !important;
    height: 24px !important;
    color: #ffffff !important;
}

/* Flecha anterior (izquierda) */
#galleryModal .gallery-nav-prev {
    left: 30px !important;
}

/* Flecha siguiente (derecha) */
#galleryModal .gallery-nav-next {
    right: 30px !important;
}

/* Contador de imágenes */
#galleryModal .gallery-nav-counter {
    position: fixed !important;
    bottom: 80px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: rgba(0,0,0,0.7) !important;
    color: rgba(255,255,255,0.8) !important;
    padding: 8px 18px !important;
    border-radius: 20px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    z-index: 10001 !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    font-family: inherit !important;
}

/* Ocultar flechas cuando no hay más imágenes */
#galleryModal .gallery-nav-arrow.disabled {
    opacity: 0.3 !important;
    pointer-events: none !important;
    cursor: not-allowed !important;
}

/* Navegación con teclado - focus visible */
#galleryModal .gallery-nav-arrow:focus {
    outline: 2px solid rgba(254,223,60,0.8) !important;
    outline-offset: 3px !important;
}