/* ===========================
   Paloma Manager - Frontend CSS (plugin)
   Compatible con tema standalone (colores hardcoded por si el tema no se activa).
   =========================== */

/* Grid */
.paloma-grid { display: grid; gap: 24px; margin: 30px 0; }
.paloma-grid-3 { grid-template-columns: repeat(3, 1fr); }
.paloma-grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .paloma-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .paloma-grid-3, .paloma-grid-2 { grid-template-columns: 1fr; } }

/* Cards (talleres / restauración) */
.paloma-card {
    background: #fff; border-radius: 16px; overflow: hidden;
    box-shadow: 0 12px 40px rgba(37,37,37,.08);
    transition: transform .3s, box-shadow .3s;
}
.paloma-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(37,37,37,.12);
}
.paloma-card a { text-decoration: none; color: inherit; display: block; }
.paloma-card .paloma-card-img {
    aspect-ratio: 4/3; overflow: hidden; background: #FAF5EE; position: relative;
}
.paloma-card .paloma-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.paloma-card:hover .paloma-card-img img { transform: scale(1.06); }
.paloma-card-img-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #9C0716, #740309);
}
.paloma-card-script {
    font-family: 'Allura', cursive; color: #E4C07D; font-size: 56px;
}
.paloma-card-body { padding: 26px 24px; }
.paloma-card-body h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px; margin: 0 0 12px; color: #252525;
}
.paloma-card .paloma-fecha {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
    color: #9C0716; font-weight: 600; margin: 0 0 10px;
}
.paloma-card .paloma-excerpt {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px; color: #6B6B6B; line-height: 1.6; margin: 0 0 16px;
}
.paloma-card .paloma-precio {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px; color: #9C0716; font-weight: 600; margin: 12px 0 16px;
}
.paloma-card .paloma-btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
    color: #9C0716; font-weight: 600;
}

/* Antes/después */
.paloma-antesdespues { display: grid; grid-template-columns: 1fr 1fr; }
.paloma-antesdespues img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.paloma-img-antes { filter: grayscale(.3); }

/* Galería obras (masonry) */
.paloma-gallery { column-count: 3; column-gap: 24px; margin: 30px 0; }
@media (max-width: 900px) { .paloma-gallery { column-count: 2; column-gap: 16px; } }
@media (max-width: 600px) { .paloma-gallery { column-count: 1; } }
.paloma-gallery-item {
    break-inside: avoid; margin-bottom: 24px;
    position: relative; overflow: hidden; border-radius: 16px;
    box-shadow: 0 12px 40px rgba(37,37,37,.08);
}
.paloma-gallery-img { display: block; position: relative; }
.paloma-gallery-img img { width: 100%; display: block; transition: transform .6s ease; }
.paloma-gallery-img:hover img { transform: scale(1.04); }
.paloma-gallery-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(transparent 40%, rgba(37,37,37,.92));
    color: #fff; padding: 24px; opacity: 0; transition: opacity .3s;
    display: flex; flex-direction: column; justify-content: flex-end;
    font-family: 'Montserrat', sans-serif;
}
.paloma-gallery-img:hover .paloma-gallery-overlay { opacity: 1; }
.paloma-gallery-overlay h4 {
    font-family: 'Cormorant Garamond', serif; color: #fff; font-size: 22px; margin: 0 0 6px;
}
.paloma-gallery-overlay span { display: block; font-size: 13px; opacity: .9; margin-bottom: 2px; }
.paloma-gallery-precio { color: #E4C07D !important; font-weight: 600; margin-top: 8px !important; font-size: 16px !important; }

/* Formulario */
.paloma-form-wrap {
    background: #FAF5EE; padding: 36px 32px; border-radius: 16px;
    border-left: 4px solid #9C0716;
}
.paloma-form-wrap h3 {
    font-family: 'Cormorant Garamond', serif;
    color: #252525; font-size: 26px; margin: 0 0 18px;
}
.paloma-form input, .paloma-form textarea {
    width: 100%; padding: 14px 16px; margin-bottom: 12px;
    border: 1px solid #E8E2D5; border-radius: 10px;
    font-family: 'Montserrat', sans-serif; font-size: 14px;
    background: #fff; box-sizing: border-box;
}
.paloma-form input:focus, .paloma-form textarea:focus {
    outline: none; border-color: #9C0716;
    box-shadow: 0 0 0 3px rgba(156,7,22,.1);
}
.paloma-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .paloma-form-row { grid-template-columns: 1fr; } }
.paloma-btn-primary {
    background: #9C0716 !important; color: #fff !important; border: none;
    padding: 16px 32px; border-radius: 999px; cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase;
    font-weight: 600; width: 100%; transition: all .3s;
}
.paloma-btn-primary:hover { background: #740309 !important; transform: translateY(-2px); }
.paloma-form-status {
    padding: 14px; border-radius: 8px; margin-top: 10px; font-size: 14px;
    font-family: 'Montserrat', sans-serif;
}
.paloma-form-status.success { background: #e8f5e9; color: #2e7d32; }
.paloma-form-status.error { background: #ffebee; color: #c62828; }
.paloma-form-note {
    font-size: 12px; color: #6B6B6B; margin-top: 10px;
    font-style: italic; font-family: 'Montserrat', sans-serif;
}

/* Video embed */
.paloma-video {
    position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
    border-radius: 16px; background: #000;
}
.paloma-video iframe, .paloma-video video {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0;
}
.paloma-video-ig { display: flex; justify-content: center; }
.paloma-video-ig blockquote { margin: 0 !important; }
.paloma-video-fallback {
    display: flex; align-items: center; gap: 20px;
    padding: 28px 32px;
    background: linear-gradient(135deg, #FAF5EE, #fff);
    border: 1px solid #C9A961;
    border-radius: 16px;
    text-decoration: none; color: #252525;
    transition: transform .3s, box-shadow .3s;
}
.paloma-video-fallback:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(37,37,37,.08);
    color: #252525;
}
.paloma-video-fallback svg { color: #9C0716; flex-shrink: 0; }
.paloma-video-ig-link svg { color: #C13584; }
.paloma-video-fallback strong {
    display: block; font-family: 'Cormorant Garamond', serif;
    font-size: 18px; color: #9C0716;
}
.paloma-video-fallback span {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px; color: #6B6B6B;
}

/* Galería de asistentes */
.paloma-asistentes-gallery, .paloma-resenas { margin: 40px 0; }
.paloma-asistentes-gallery h3, .paloma-resenas h3 {
    font-family: 'Cormorant Garamond', serif;
    color: #9C0716; font-size: 28px; text-align: center; margin-bottom: 24px;
}
.paloma-asistentes-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
@media (max-width: 768px) { .paloma-asistentes-grid { grid-template-columns: repeat(2, 1fr); } }
.paloma-asistentes-grid a { display: block; border-radius: 8px; overflow: hidden; aspect-ratio: 1/1; }
.paloma-asistentes-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.paloma-asistentes-grid a:hover img { transform: scale(1.06); }

/* Reseñas */
.paloma-resenas-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
@media (max-width: 768px) { .paloma-resenas-grid { grid-template-columns: 1fr; } }
.paloma-resena {
    background: #FAF5EE; padding: 28px 30px;
    border-left: 4px solid #C9A961;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic; margin: 0;
    border-radius: 12px;
}
.paloma-resena p { font-size: 16px; line-height: 1.7; color: #252525; margin: 0 0 12px; }
.paloma-resena footer {
    font-style: normal;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px; color: #6B6B6B; margin-top: 10px;
}
.paloma-resena footer small { color: #999; }

/* Empty state */
.paloma-empty {
    text-align: center; padding: 60px 24px; background: #FAF5EE;
    border-radius: 16px;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic; font-size: 18px; color: #6B6B6B;
}
