/* ==========================================================================
   FESTICREAM BY VANESSA SOTO - HANSSEN BENTO DESIGN SYSTEM (PLUS TRUST & VIDEO)
   ========================================================================== */

:root {
    /* Brand Colors */
    --accent-primary: #8E4EC6;
    --accent-light: #B879EC;
    --accent-pink: #F8B4D0;
    --bg-canvas: #FAF6FC;

    /* Light Theme (Default Hanssen) */
    --bento-bg: #FFFFFF;
    --bento-subtle: #F6EFF9;
    --bento-border: rgba(142, 78, 198, 0.12);
    --bento-shadow: 0 12px 32px rgba(142, 78, 198, 0.06);
    --text-main: #1D1526;
    --text-muted: #6B5B7B;
    --text-subtle: #9A8AAB;
    
    /* Bento Grid Constants */
    --radius-bento: 24px;
    --radius-pill: 9999px;
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --font-heading: 'Euphoria Script', cursive, sans-serif;
    --font-body: 'Outfit', -apple-system, sans-serif;
}

/* Dark Theme Variables */
[data-theme="dark"] {
    --bg-canvas: #0F0A17;
    --bento-bg: #181124;
    --bento-subtle: #231934;
    --bento-border: rgba(232, 220, 245, 0.1);
    --bento-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    --text-main: #F6F1FA;
    --text-muted: #B8A8CC;
    --text-subtle: #7E6E94;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-canvas);
    color: var(--text-main);
    line-height: 1.6;
    transition: background-color 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.hero-title,
.section-title,
.bento-project-title,
.modal-project-title,
.brand-logo,
.card-title,
.stat-number {
    font-family: var(--font-heading);
    letter-spacing: 0.03em;
    font-weight: 400;
}

/* Ambient Canvas Glow Background */
.ambient-canvas-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.glow-orb-left {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(184, 121, 236, 0.18) 0%, rgba(250, 246, 252, 0) 70%);
    filter: blur(80px);
}

.glow-orb-right {
    position: absolute;
    top: 40%;
    right: -10%;
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, rgba(248, 180, 208, 0.2) 0%, rgba(250, 246, 252, 0) 70%);
    filter: blur(90px);
}

/* Main Container Layout */
.hanssen-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 20px 24px 60px 24px;
}

/* Floating Hanssen Pill Header */
.hanssen-header {
    position: sticky;
    top: 20px;
    z-index: 100;
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.nav-pill {
    background: var(--bento-bg);
    border: 1px solid var(--bento-border);
    box-shadow: var(--bento-shadow);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-pill);
    padding: 8px 16px 8px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 900px;
}

.brand-info {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
}

.brand-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-light);
}

.brand-title {
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 24px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.92rem;
    transition: var(--transition);
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--accent-primary);
}

.nav-right-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-switch {
    background: var(--bento-subtle);
    border: 1px solid var(--bento-border);
    color: var(--text-main);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.theme-switch:hover {
    transform: scale(1.08);
    color: var(--accent-primary);
}

.btn-bento-cta {
    background: var(--accent-primary);
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 9px 20px;
    border-radius: var(--radius-pill);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(142, 78, 198, 0.3);
}

.btn-bento-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(142, 78, 198, 0.45);
    opacity: 0.95;
}

/* Bento Hero Section Grid */
.bento-hero-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.bento-card {
    background: var(--bento-bg);
    border: 1px solid var(--bento-border);
    border-radius: var(--radius-bento);
    padding: 32px;
    box-shadow: var(--bento-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    border-color: rgba(142, 78, 198, 0.25);
}

.hero-main-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
}

.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-pink);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 700;
    color: #1D1526;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.dot-online {
    width: 8px;
    height: 8px;
    background-color: #22C55E;
    border-radius: 50%;
    box-shadow: 0 0 10px #22C55E;
}

.hero-main-card h1 {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.hero-main-card h1 span.hero-title-highlight {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-main-card p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 90%;
    margin-bottom: 24px;
    transition: opacity 0.3s ease;
}

.typing-cursor-active::after {
    content: '|';
    color: var(--accent-primary);
    font-weight: 300;
    animation: blinkCursor 0.7s infinite;
    margin-left: 3px;
}

@keyframes blinkCursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* GLOBO FLOTANTE PASTEL EN SEGUNDO PLANO */
.floating-balloon-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-balloon-item {
    position: absolute;
    bottom: -100px;
    will-change: transform, opacity;
    animation: floatUp 7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards, sway 3s ease-in-out infinite alternate;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.12));
    opacity: 0.85;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) scale(0.8);
        opacity: 0;
    }
    10% {
        opacity: 0.9;
    }
    85% {
        opacity: 0.9;
    }
    100% {
        transform: translateY(-115vh) scale(1.05);
        opacity: 0;
    }
}

@keyframes sway {
    0% {
        margin-left: -15px;
    }
    100% {
        margin-left: 15px;
    }
}

.hero-action-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-side-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: space-between;
}

.side-profile-box img {
    max-width: 180px;
    width: 100%;
    height: auto;
    max-height: 140px;
    object-fit: contain;
    border-radius: 16px;
    border: none;
    margin-bottom: 10px;
    filter: drop-shadow(0 6px 16px rgba(142, 78, 198, 0.15));
    transition: transform 0.3s ease;
}

.side-profile-box img:hover {
    transform: scale(1.04);
}

.side-profile-box h3 {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text-main);
    margin-top: 4px;
}

.mini-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
    margin-top: 20px;
}

.mini-stat-item {
    background: var(--bento-subtle);
    border-radius: 16px;
    padding: 12px 8px;

}

.mini-stat-item strong {
    display: block;
    font-size: 1.25rem;
    color: var(--accent-primary);
    font-weight: 800;
}

.mini-stat-item:nth-child(2) strong {
    color: var(--accent-light);
}

.mini-stat-item span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Portfolio Bento Section */
.section-bento-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.section-bento-title h2 {
    font-size: 1.8rem;
    font-weight: 800;
}

.filter-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-pill-btn {
    background: var(--bento-bg);
    border: 1px solid var(--bento-border);
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-pill-btn:hover, .filter-pill-btn.active {
    background: var(--accent-primary);
    color: #FFFFFF;
    border-color: var(--accent-primary);
}

.bento-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.bento-project-card {
    background: var(--bento-bg);
    border: 1px solid var(--bento-border);
    border-radius: var(--radius-bento);
    overflow: hidden;
    box-shadow: var(--bento-shadow);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.bento-project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(142, 78, 198, 0.15);
}

.bento-img-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.bento-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bento-project-card:hover .bento-img-wrapper img {
    transform: scale(1.06);
}

.tag-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--accent-pink);
    backdrop-filter: blur(8px);
    color: #1D1526;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.bento-date-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(18, 12, 28, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #F6F1FA;
    font-weight: 600;
    font-size: 0.74rem;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    z-index: 5;
}

.bento-project-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.bento-project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
}

.bento-project-title {
    font-size: 1.1rem;
    font-weight: 700;
}

.arrow-icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bento-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    font-size: 0.85rem;
    transition: var(--transition);
}

.bento-project-card:hover .arrow-icon-btn {
    background: var(--accent-primary);
    color: #FFFFFF;
    transform: rotate(45deg);
}

.bento-project-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bento-project-palette {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-primary);
}

/* Services & Dual Form Grid */
.bento-dual-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
}

.service-item-row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--bento-border);
}

.service-item-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.service-icon-pill {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--bento-subtle);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.service-item-content h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.service-item-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.bento-form-group {
    margin-bottom: 14px;
}

.bento-form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.bento-input {
    width: 100%;
    background: var(--bento-subtle);
    border: 1px solid var(--bento-border);
    color: var(--text-main);
    padding: 10px 14px;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.9rem;
    transition: var(--transition);
}

.bento-input:focus {
    outline: none;
    border-color: var(--accent-primary);
}

/* MODAL OVERLAY & ADAPTATION FOR VERTICAL/HORIZONTAL PHOTOS & INTERACTIVE ZOOM */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 6, 16, 0.86);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 16px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(0, 0, 0, 0.65);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 30;
    transition: var(--transition);
    backdrop-filter: blur(8px);
}

.modal-close-btn:hover {
    background: var(--accent-primary);
    transform: scale(1.08);
}

/* CAROUSEL VIEWPORT WITH AMBIENT GLASSMORPHISM BLUR FOR VERTICAL PHOTOS */
.carousel-viewport-container {
    position: relative;
    width: 100%;
    height: clamp(380px, 54vh, 560px);
    overflow: hidden;
    background: #06040A;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.carousel-bg-blur {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background-size: cover;
    background-position: center;
    filter: blur(35px) brightness(0.45);
    opacity: 0.7;
    transition: background-image 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.photo-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    touch-action: none;
    cursor: default;
}

.photo-wrapper.is-zoomed {
    cursor: grab;
}

.photo-wrapper.is-zoomed:active {
    cursor: grabbing;
}

.carousel-viewport-container img.main-photo-view {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    will-change: transform;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45);
    user-select: none;
    -webkit-user-drag: none;
}

.photo-wrapper.is-zoomed img.main-photo-view {
    object-fit: contain;
}

/* MODO EXPANSIÓN A ANCHO COMPLETO DENTRO DEL MODAL */
.modal-bento-box-large.has-expanded-photo {
    max-width: 96vw !important;
    width: 96vw !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-viewport-container.is-expanded-view {
    height: auto !important;
    min-height: 400px !important;
    max-height: 85vh !important;
    padding: 12px 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-viewport-container.is-expanded-view img.main-photo-view {
    width: 100% !important;
    height: auto !important;
    max-height: 80vh !important;
    object-fit: contain !important;
}

/* ZOOM FLOATING CONTROL TOOLBAR */
.image-zoom-toolbar {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(18, 12, 28, 0.78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-pill);
    padding: 4px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 99;
    pointer-events: auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    transition: var(--transition);
}

.zoom-btn {
    background: transparent;
    border: none;
    color: #FFFFFF;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.zoom-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--accent-light);
}

.zoom-toolbar-divider {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.25);
    margin: 0 4px;
}

.zoom-btn.btn-open-fullscreen {
    width: auto;
    padding: 0 14px;
    height: 30px;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 700;
    gap: 6px;
    background: var(--accent-primary);
    border: 1px solid var(--accent-primary);
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    z-index: 50;
    transition: var(--transition);
}

.zoom-btn.btn-open-fullscreen:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    color: #FFFFFF;
    transform: scale(1.04);
}

.zoom-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--accent-light);
    transform: scale(1.1);
}

.zoom-level-badge {
    font-size: 0.78rem;
    font-weight: 700;
    color: #F6F1FA;
    padding: 0 6px;
    min-width: 44px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

/* ZOOM HINT PILL */
.zoom-hint-pill {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #FFFFFF;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 14;
    pointer-events: none;
    opacity: 0.95;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.video-viewport-box {
    width: 100%;
    height: 380px;
    background: #000;
}

/* MODAL INFO SCROLLABLE AREA */
.modal-info-scroll-area {
    padding: 24px 28px;
    overflow-y: auto;
    flex-grow: 1;
    -webkit-overflow-scrolling: touch;
}

.modal-info-scroll-area::-webkit-scrollbar {
    width: 6px;
}

.modal-info-scroll-area::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

.modal-info-scroll-area::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 9999px;
}

.modal-desc-wrapper {
    position: relative;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.modal-desc-wrapper.collapsed {
    max-height: 140px;
}

.modal-desc-wrapper.collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 55px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--bento-bg));
    pointer-events: none;
}

.btn-toggle-read-more {
    background: var(--bento-subtle);
    border: 1px solid var(--bento-border);
    color: var(--accent-primary);
    font-weight: 700;
    font-size: 0.82rem;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 16px 0;
    transition: var(--transition);
}

.btn-toggle-read-more:hover {
    background: var(--accent-primary);
    color: #FFFFFF;
    border-color: var(--accent-primary);
}

.modal-info-scroll-area #modalDesc {
    font-size: 0.86rem;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 8px;
    white-space: pre-line;
    word-break: break-word;
    letter-spacing: 0.01em;
}

/* VERIFIED CLIENT TESTIMONIAL CARD IN MODAL */
.modal-testimonial-card {
    background: var(--bento-subtle);
    border: 1px solid var(--bento-border);
    border-radius: 12px;
    padding: 10px 14px;
    margin: 10px 0;
    position: relative;
}

.modal-testimonial-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.client-name-badge {
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    gap: 5px;
}

.verified-tag {
    background: rgba(34, 197, 94, 0.15);
    color: #22C55E;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.stars-rating {
    color: #F59E0B;
    font-size: 0.75rem;
}

.modal-testimonial-text {
    font-size: 0.78rem;
    font-style: italic;
    color: var(--text-main);
    line-height: 1.4;
    margin-bottom: 6px;
}

.btn-social-verify {
    color: var(--accent-primary);
    text-decoration: none;
    font-size: 0.73rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

.btn-social-verify:hover {
    text-decoration: underline;
}

/* Bento Footer */
.bento-footer-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
    padding: 24px 32px;
}

.footer-social-links {
    display: flex;
    gap: 10px;
}

.social-pill {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bento-subtle);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-pill:hover {
    background: var(--accent-primary);
    color: #FFFFFF;
}

/* Responsive Media Queries */
@media (max-width: 900px) {
    .bento-hero-grid, .bento-dual-grid {
        grid-template-columns: 1fr;
    }
    .bento-portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .nav-menu {
        display: none;
    }
    .modal-bento-box-large {
        max-height: 92vh;
    }
    .carousel-viewport-container, .video-viewport-box {
        height: 320px;
    }
}

@media (max-width: 600px) {
    .bento-portfolio-grid {
        grid-template-columns: 1fr;
    }
    .hero-main-card h1 {
        font-size: 1.8rem;
    }

    .modal-overlay {
        padding: 8px;
    }
    .modal-bento-box-large {
        max-height: 96vh;
        border-radius: 18px;
    }
    .carousel-viewport-container, .video-viewport-box {
        height: 250px;
    }
    .carousel-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }
    .btn-prev { left: 8px; }
    .btn-next { right: 8px; }

    .modal-info-scroll-area {
        padding: 16px;
    }

    .modal-testimonial-card {
        padding: 12px 14px;
        margin: 12px 0;
    }

    .image-zoom-toolbar {
        bottom: 8px;
        padding: 3px 8px;
        gap: 4px;
    }

    .zoom-btn {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }

    .zoom-hint-pill {
        font-size: 0.7rem;
        padding: 4px 10px;
    }

    .carousel-thumbs-strip {
        padding: 8px 12px;
        gap: 6px;
    }

    .thumb-nav-item {
        width: 46px;
        height: 34px;
    }
}

/* LIGHTBOX FULLSCREEN MODAL (PANTALLA COMPLETA) */
.fullscreen-lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 6, 18, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fullscreen-lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    z-index: 100001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-close-btn:hover {
    background: #EF4444;
    border-color: #EF4444;
    transform: scale(1.1);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 100001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-arrow:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-arrow.left { left: 24px; }
.lightbox-arrow.right { right: 24px; }

.lightbox-content-wrapper {
    max-width: 95vw;
    max-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    user-select: none;
}

.lightbox-content-wrapper img {
    max-width: 95vw;
    max-height: 92vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    transition: transform 0.2s ease;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #FFFFFF;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Indicador visual de zoom al pasar el cursor sobre la foto en el modal */
.carousel-viewport-container .photo-wrapper {
    cursor: zoom-in;
}

/* =========================================================================
   ESTILOS DEL CHATBOT FLOTANTE INTERACTIVO (BENTO / GLASSMORPHISM)
   ========================================================================= */
.festicream-chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9995;
    font-family: var(--font-body);
}

.btn-chat-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent-primary, #8E4EC6), var(--accent-light, #FBD352));
    color: #FFFFFF;
    border: none;
    padding: 8px 18px 8px 10px;
    border-radius: 9999px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(142, 78, 198, 0.45);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.btn-chat-toggle:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 14px 32px rgba(142, 78, 198, 0.6);
}

.chat-badge-dot {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 12px;
    height: 12px;
    background: #22C55E;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.chat-avatar-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #FFFFFF;
}

.chat-trigger-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.chat-trigger-title {
    font-weight: 700;
    font-size: 0.88rem;
    line-height: 1.2;
}

.chat-trigger-sub {
    font-size: 0.72rem;
    opacity: 0.9;
}

.chat-icon-open, .chat-icon-close {
    font-size: 1.2rem;
    margin-left: 4px;
}

/* VENTANA DE CHAT */
.chat-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 360px;
    max-width: calc(100vw - 32px);
    height: 520px;
    max-height: calc(100vh - 120px);
    background: var(--bento-bg, #FFFFFF);
    border: 1px solid var(--bento-border, rgba(142,78,198,0.2));
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: chatWindowPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(20px);
}

@keyframes chatWindowPop {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-header {
    background: linear-gradient(135deg, var(--accent-primary, #8E4EC6), #6B21A8);
    color: #FFFFFF;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-avatar-wrapper {
    position: relative;
}

.chat-avatar-wrapper img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.8);
}

.status-indicator {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background: #22C55E;
    border: 1.5px solid #8E4EC6;
    border-radius: 50%;
}

.chat-user-name {
    font-weight: 700;
    font-size: 0.92rem;
    line-height: 1.2;
}

.chat-user-status {
    font-size: 0.72rem;
    opacity: 0.85;
}

.chat-header-close {
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
}

.chat-header-close:hover {
    opacity: 1;
}

.chat-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--bg-canvas, #FAF6FC);
}

.chat-msg {
    display: flex;
    gap: 8px;
    max-width: 85%;
    animation: msgFadeIn 0.25s ease-out;
}

@keyframes msgFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-msg.bot {
    align-self: flex-start;
}

.chat-msg.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.chat-msg-bubble {
    padding: 11px 14px;
    border-radius: 18px;
    font-size: 0.88rem;
    line-height: 1.45;
    word-break: break-word;
}

.chat-msg.bot .chat-msg-bubble {
    background: var(--bento-bg, #FFFFFF);
    color: var(--text-main, #1D1526);
    border-top-left-radius: 4px;
    border: 1px solid var(--bento-border, rgba(0,0,0,0.08));
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.chat-msg.user .chat-msg-bubble {
    background: var(--accent-primary, #8E4EC6);
    color: #FFFFFF;
    border-top-right-radius: 4px;
}

.chat-chips-container {
    padding: 8px 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    background: var(--bg-canvas, #FAF6FC);
    border-top: 1px solid rgba(0,0,0,0.05);
}

.chat-chip-btn {
    background: var(--bento-bg, #FFFFFF);
    border: 1px solid var(--accent-primary, #8E4EC6);
    color: var(--accent-primary, #8E4EC6);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chat-chip-btn:hover {
    background: var(--accent-primary, #8E4EC6);
    color: #FFFFFF;
    transform: translateY(-1px);
}

.chat-footer {
    padding: 10px 12px;
    background: var(--bento-bg, #FFFFFF);
    border-top: 1px solid var(--bento-border, rgba(0,0,0,0.08));
}

.chat-footer form {
    display: flex;
    gap: 8px;
}

.chat-input {
    flex: 1;
    background: var(--bg-canvas, #FAF6FC);
    border: 1px solid var(--bento-border, rgba(142,78,198,0.2));
    padding: 10px 14px;
    border-radius: 9999px;
    font-size: 0.88rem;
    color: var(--text-main, #1D1526);
    outline: none;
    font-family: inherit;
}

.chat-input:focus {
    border-color: var(--accent-primary, #8E4EC6);
    box-shadow: 0 0 0 3px rgba(142, 78, 198, 0.15);
}

.btn-chat-send {
    background: var(--accent-primary, #8E4EC6);
    color: #FFFFFF;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-chat-send:hover {
    background: #7E3EB6;
    transform: scale(1.05);
}

/* RESPONSIVE MÓVIL */
@media (max-width: 480px) {
    .festicream-chat-widget {
        bottom: 16px;
        right: 16px;
    }
    .chat-trigger-info {
        display: none;
    }
    .btn-chat-toggle {
        padding: 10px;
        border-radius: 50%;
    }
    .chat-window {
        bottom: 64px;
        right: -8px;
        width: calc(100vw - 16px);
        height: calc(100vh - 100px);
    }
}

