/* ===== Perfil de empresa PREMIUM v3 · We Love Medellín =====
   Elevado al nivel del perfil de usuario (y un punto por encima): la empresa,
   que es quien paga, debe verse MÁS imponente, no menos.
   Acento dinámico vía --vp-brand (desde venue.brand_color). */

.vp {
    --vp-brand: #ff385c;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px 96px;
}

/* ------------------------------ Hero ------------------------------ */

.vp-hero { position: relative; }

/* Cover: si la empresa tiene foto, se usa; si no, gradiente de marca con
   orbes (mismo lenguaje que el perfil de usuario, pero teñido a su color). */
.vp-cover {
    position: relative;
    height: clamp(240px, 32vw, 360px);
    overflow: hidden;
    border-radius: 0 0 var(--radius-lg, 32px) var(--radius-lg, 32px);
    background:
        radial-gradient(circle at 16% 24%, color-mix(in srgb, var(--vp-brand) 30%, transparent), transparent 30%),
        radial-gradient(circle at 82% 14%, rgba(255, 184, 77, 0.22), transparent 26%),
        linear-gradient(135deg, #fff8f3, #f7f7f7 48%, #ffffff);
}

.vp-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Veil sutil para que el cover no compita con la tarjeta de identidad. */
.vp-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.28));
    pointer-events: none;
}

/* Orbes decorativos cuando la empresa aún no sube portada. */
.vp-cover-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(2px);
    opacity: 0.9;
}

.vp-cover-orb-one {
    left: 9%;
    top: 34px;
    width: 132px;
    height: 132px;
    background: color-mix(in srgb, var(--vp-brand) 20%, transparent);
}

.vp-cover-orb-two {
    right: 12%;
    top: 44px;
    width: 176px;
    height: 176px;
    background: rgba(17, 17, 17, 0.07);
}

/* Tarjeta de identidad FLOTANTE sobre el cover (como el perfil de usuario). */
.vp-identity {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr) auto;
    align-items: end;
    gap: 26px;
    margin: -118px 28px 0;
    padding: 26px 28px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-lg, 32px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(20px);
}

.vp-logo {
    width: 168px;
    height: 168px;
    flex: 0 0 168px;
    border-radius: 40px;
    overflow: hidden;
    border: 7px solid #fff;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, var(--vp-brand), var(--ink, #111));
    display: grid;
    place-items: center;
}

.vp-logo img { width: 100%; height: 100%; object-fit: cover; }

.vp-identity-main { min-width: 0; padding-bottom: 6px; }

.vp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 13px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--vp-brand) 12%, #fff);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--vp-brand);
}

.vp-identity-main h1 {
    font-family: var(--font-display, "Plus Jakarta Sans", sans-serif);
    font-size: clamp(32px, 5vw, 50px);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.0;
    color: var(--ink, #111);
    margin: 12px 0 8px;
}

.vp-tagline {
    font-size: 16.5px;
    color: var(--muted, #5f6673);
    line-height: 1.5;
    margin: 0 0 12px;
    max-width: 580px;
}

.vp-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; color: var(--soft, #8d95a1); font-weight: 600; }
.vp-meta i { color: var(--vp-brand); margin-right: 5px; }

.vp-identity-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding-bottom: 6px;
}

.vp-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 50px;
    padding: 0 30px;
    border: 0;
    border-radius: 999px;
    background: var(--vp-brand);
    color: #fff;
    font-weight: 800;
    font-size: 15.5px;
    cursor: pointer;
    box-shadow: 0 14px 34px color-mix(in srgb, var(--vp-brand) 38%, transparent);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.vp-follow-btn::before {
    content: "";
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
    background:
        linear-gradient(currentColor, currentColor) center / 13px 2.2px no-repeat,
        linear-gradient(currentColor, currentColor) center / 2.2px 13px no-repeat;
}

.vp-follow-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 42px color-mix(in srgb, var(--vp-brand) 45%, transparent); }

.vp-follow-btn.is-following {
    background: #fff;
    color: var(--ink, #111);
    border: 1px solid var(--border-strong, #dedede);
    box-shadow: none;
}

.vp-follow-btn.is-following::before {
    width: 15px;
    height: 9px;
    margin-top: -3px;
    background: none;
    border-left: 2.4px solid var(--vp-brand);
    border-bottom: 2.4px solid var(--vp-brand);
    transform: rotate(-45deg);
}

.vp-followers { text-align: center; }
.vp-followers strong { display: block; font-size: 22px; font-weight: 800; color: var(--ink, #111); font-family: var(--font-display, sans-serif); letter-spacing: -0.03em; }
.vp-followers small { font-size: 12px; color: var(--soft, #8d95a1); }

/* --------------------------- Stat strip --------------------------- */

.vp-statbar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin: 22px 28px 0;
    padding: 22px 0;
    background: var(--paper, #fff);
    border: 1px solid var(--border, #ededed);
    border-radius: var(--radius-md, 22px);
    box-shadow: var(--shadow-sm, 0 8px 24px rgba(0, 0, 0, 0.06));
}

.vp-stat { text-align: center; position: relative; }
.vp-stat + .vp-stat::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 38px;
    width: 1px;
    background: var(--border, #ededed);
}

.vp-stat strong { display: block; font-family: var(--font-display, sans-serif); font-size: 30px; font-weight: 800; color: var(--ink, #111); letter-spacing: -0.04em; }
.vp-stat small { font-size: 13px; color: var(--muted, #5f6673); }

/* ----------------------------- Tags ----------------------------- */

.vp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 28px 0; }

.vp-tag {
    font-size: 13px;
    font-weight: 700;
    color: var(--muted, #5f6673);
    background: var(--paper-soft, #f7f7f7);
    border: 1px solid var(--border, #ededed);
    border-radius: 999px;
    padding: 7px 14px;
    text-decoration: none;
    transition: border-color 0.14s ease, color 0.14s ease;
}

.vp-tag:hover { border-color: var(--vp-brand); color: var(--vp-brand); }

/* --------------------------- Secciones --------------------------- */

.vp-section { margin: 44px 28px 0; }

.vp-section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }

.vp-section-head h2 {
    font-family: var(--font-display, "Plus Jakarta Sans", sans-serif);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--ink, #111);
    margin: 0;
}

.vp-section-count {
    display: grid;
    place-items: center;
    min-width: 28px;
    height: 28px;
    padding: 0 9px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--vp-brand) 12%, #fff);
    color: var(--vp-brand);
    font-size: 13px;
    font-weight: 800;
}

.vp-empty {
    padding: 40px 24px;
    text-align: center;
    color: var(--muted, #5f6673);
    background: var(--paper-soft, #f7f7f7);
    border: 1px dashed var(--border-strong, #dedede);
    border-radius: var(--radius-md, 22px);
}

/* Eventos */

.vp-events {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 18px;
}

.vp-event {
    background: var(--paper, #fff);
    border: 1px solid var(--border, #ededed);
    border-radius: var(--radius-md, 22px);
    overflow: hidden;
    box-shadow: var(--shadow-xs, 0 4px 14px rgba(0, 0, 0, 0.045));
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.vp-event:hover { transform: translateY(-3px); box-shadow: var(--shadow-md, 0 18px 46px rgba(0, 0, 0, 0.1)); }

.vp-event-media { position: relative; display: block; aspect-ratio: 16 / 10; }
.vp-event-media img { width: 100%; height: 100%; object-fit: cover; }

.vp-event-date {
    position: absolute;
    top: 12px;
    left: 12px;
    display: grid;
    place-items: center;
    width: 52px;
    padding: 7px 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    line-height: 1;
}

.vp-event-date strong { font-family: var(--font-display, sans-serif); font-size: 20px; font-weight: 800; color: var(--ink, #111); }
.vp-event-date small { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--vp-brand); margin-top: 2px; }

.vp-event-body { padding: 14px 16px 16px; }
.vp-event-cat { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--vp-brand); }
.vp-event-body h3 { font-family: var(--font-display, sans-serif); font-size: 18px; letter-spacing: -0.025em; line-height: 1.18; margin: 5px 0 10px; }
.vp-event-body h3 a { color: var(--ink, #111); text-decoration: none; }
.vp-event-body h3 a:hover { color: var(--vp-brand); }

.vp-event-foot { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--muted, #5f6673); }
.vp-event-foot i { color: var(--soft, #8d95a1); margin-right: 4px; }
.vp-event-going { font-weight: 700; color: var(--ink, #111); }
.vp-event-going i { color: var(--vp-brand); }

/* Galerías */

.vp-galleries {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
}

.vp-gallery-card {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-md, 22px);
    overflow: hidden;
    text-decoration: none;
}

.vp-gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.vp-gallery-card:hover img { transform: scale(1.05); }

.vp-gallery-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.6));
}

.vp-gallery-count {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.7);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.vp-gallery-title {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    z-index: 2;
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* About / contacto */

.vp-about { font-size: 16px; line-height: 1.7; color: var(--text, #161616); max-width: 720px; }

.vp-contact { background: var(--paper-soft, #f7f7f7); border-radius: var(--radius-lg, 32px); padding: 30px; margin-top: 44px; }
.vp-address { font-size: 15px; color: var(--text, #161616); margin: 0 0 16px; }
.vp-address i { color: var(--vp-brand); margin-right: 7px; }
.vp-contact-links { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }

.vp-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--border, #ededed);
    color: var(--ink, #111);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: border-color 0.15s ease;
}

.vp-contact-link:hover { border-color: var(--vp-brand); }
.vp-contact-link i { color: var(--vp-brand); }

.vp-map-btn { display: inline-flex; }

/* ----------------------------- Responsive ----------------------------- */

@media (max-width: 860px) {
    .vp-identity {
        grid-template-columns: 1fr;
        justify-items: start;
        gap: 16px;
        margin: -90px 16px 0;
        padding: 22px;
    }
    .vp-logo { width: 120px; height: 120px; flex-basis: 120px; border-radius: 32px; }
    .vp-identity-actions { flex-direction: row; width: 100%; justify-content: space-between; }
    .vp-statbar { margin: 18px 16px 0; }
    .vp-section, .vp-tags { margin-left: 16px; margin-right: 16px; }
}

@media (max-width: 560px) {
    .vp-statbar { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
    .vp-stat:nth-child(3)::before { display: none; }
    .vp-stat strong { font-size: 26px; }
}
