/* ─────────────────────────────────────────────────────────────
   CUSTOMER PROFILE PAGE — /cliente/{slug} and /customer/{slug}
   The customer's brand colours (--cp-color-1/2/3, set inline on
   .cp-hero) tint the halo behind the logo; everything else stays
   on the eesier palette. Spacing scale: 10 / 25 / 50px.
   ───────────────────────────────────────────────────────────── */


/* ===== HERO — logo with brand halo + name, description, site link ===== */

body main .cp-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding-bottom: 50px;
}

body main .cp-hero .content-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 50px;
    width: 100%;
    max-width: 1100px;
}

body main .cp-hero .content-inner .cp-hero__brand {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    flex: 0 0 auto;
    padding: 50px;
}

body main .cp-hero .content-inner .cp-hero__brand .cp-hero__halo {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: conic-gradient(from 210deg, var(--cp-color-1), var(--cp-color-2), var(--color-primary), var(--cp-color-3), var(--color-secondary), var(--cp-color-1));
    filter: blur(50px);
    opacity: 0.35;
    pointer-events: none;
    animation: cpHaloTurn 40s linear infinite;
}

@keyframes cpHaloTurn {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

body main .cp-hero .content-inner .cp-hero__brand .cp-hero__logo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 320px;
    height: 200px;
    padding: 25px 50px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 25px;
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.08);
}

body main .cp-hero .content-inner .cp-hero__brand .cp-hero__logo .cp-hero__logo-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(1) brightness(0.7);
}

body main .cp-hero .content-inner .cp-hero__brand .cp-hero__logo .cp-hero__logo-name {
    color: var(--color-ink);
    font-size: 25px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

body main .cp-hero .content-inner .cp-hero__brand .cp-hero__palette {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 10px;
    list-style: none;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 50px;
}

body main .cp-hero .content-inner .cp-hero__brand .cp-hero__palette .cp-hero__swatch {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.12);
}

body main .cp-hero .content-inner .cp-hero__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    flex: 1 1 0;
    min-width: 0;
}

body main .cp-hero .content-inner .cp-hero__text .cp-hero__headline {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    line-height: 1.1;
}

body main .cp-hero .content-inner .cp-hero__text .cp-hero__headline .cp-hero__name {
    color: var(--color-ink);
    font-size: 50px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

body main .cp-hero .content-inner .cp-hero__text .cp-hero__headline .cp-hero__suffix {
    color: var(--color-primary);
    font-size: 25px;
    font-weight: 600;
}

body main .cp-hero .content-inner .cp-hero__text .cp-hero__about {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

body main .cp-hero .content-inner .cp-hero__text .cp-hero__about .cp-hero__about-heading {
    margin: 0;
    color: var(--color-muted);
    font-size: 15px;
    font-weight: 600;
}

body main .cp-hero .content-inner .cp-hero__text .cp-hero__about .cp-hero__description {
    margin: 0;
    color: var(--color-ink);
    font-size: 19px;
    line-height: 1.7;
}

body main .cp-hero .content-inner .cp-hero__text .cp-hero__website {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 25px;
}

body main .cp-hero .content-inner .cp-hero__text .cp-hero__website .cp-hero__website-host {
    color: var(--color-muted);
    font-weight: 600;
    text-decoration: none;
    overflow-wrap: anywhere;
}

body main .cp-hero .content-inner .cp-hero__text .cp-hero__website .cp-hero__website-host:hover {
    color: var(--color-primary);
}


/* ===== REVIEW — the customer's own rating of eesier ===== */

body main .cp-review {
    background: #dbeafe;
    position: relative;
    z-index: 1;
}

body main .cp-review::before {
    content: "";
    position: absolute;
    top: -79px;
    left: 0;
    width: 100%;
    height: 80px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23dbeafe' d='M0,80 C360,0 1080,0 1440,80 L1440,80 L0,80 Z'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    pointer-events: none;
    z-index: 2;
}

body main .cp-review .content-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
}

body main .cp-review .content-inner .cp-review__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    width: 100%;
    margin: 0;
    padding: 50px;
    background: var(--color-surface);
    border-radius: 25px;
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.06);
    text-align: center;
}

body main .cp-review .content-inner .cp-review__card .cp-review__stars {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

body main .cp-review .content-inner .cp-review__card .cp-review__stars .cp-review__star {
    width: 50px;
    height: 50px;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body main .cp-review .content-inner .cp-review__card .cp-review__stars .cp-review__star.cp-review__star--filled {
    fill: var(--color-accent);
    stroke: var(--color-accent);
    filter: drop-shadow(0 10px 25px rgba(255, 111, 60, 0.3));
}

body main .cp-review .content-inner .cp-review__card .cp-review__stars .cp-review__star.cp-review__star--empty {
    fill: transparent;
    stroke: rgba(15, 23, 42, 0.18);
}

body main .cp-review .content-inner .cp-review__card .cp-review__quote {
    position: relative;
    margin: 0;
    padding: 50px 0 0 0;
}

body main .cp-review .content-inner .cp-review__card .cp-review__quote::before {
    content: "\201C";
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 100px;
    line-height: 1;
    color: rgba(28, 145, 228, 0.12);
    pointer-events: none;
    user-select: none;
}

body main .cp-review .content-inner .cp-review__card .cp-review__quote p {
    position: relative;
    margin: 0;
    color: var(--color-ink);
    font-size: 21px;
    line-height: 1.7;
    white-space: pre-wrap;
}

body main .cp-review .content-inner .cp-review__card .cp-review__caption {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--color-muted);
}

body main .cp-review .content-inner .cp-review__card .cp-review__caption .cp-review__author {
    color: var(--color-ink);
    font-weight: 700;
}

body main .cp-review .content-inner .cp-review__all {
    margin-top: 25px;
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
}

body main .cp-review .content-inner .cp-review__all:hover {
    text-decoration: underline;
}


/* ===== WHAT IS EESIER ===== */

body main .cp-eesier {
    background: var(--color-surface);
    position: relative;
    z-index: 1;
}

body main .cp-eesier::before {
    content: "";
    position: absolute;
    top: -79px;
    left: 0;
    width: 100%;
    height: 80px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0,80 C360,0 1080,0 1440,80 L1440,80 L0,80 Z'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    pointer-events: none;
    z-index: 2;
}

body main .cp-eesier .content-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
}

body main .cp-eesier .content-inner .section-header.conheca-header-with-logo {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

body main .cp-eesier .content-inner .section-header.conheca-header-with-logo .conheca-header-text {
    align-items: center;
}

body main .cp-eesier .content-inner .cp-eesier__body {
    margin: 0;
    color: var(--color-muted);
    font-size: 19px;
    line-height: 1.7;
    text-align: center;
}

body main .cp-eesier .content-inner .cp-eesier__body a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
}

body main .cp-eesier .content-inner .cp-eesier__body a:hover {
    text-decoration: underline;
}


/* ===== OTHER CUSTOMERS ===== */

body main .cp-others {
    background: var(--color-background);
    position: relative;
    z-index: 1;
}

body main .cp-others::before {
    content: "";
    position: absolute;
    top: -79px;
    left: 0;
    width: 100%;
    height: 80px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23f6f7fc' d='M0,80 C360,0 1080,0 1440,80 L1440,80 L0,80 Z'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    pointer-events: none;
    z-index: 2;
}

body main .cp-others .content-inner .section-header {
    text-align: center;
}

body main .cp-others .content-inner .cp-others__list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body main .cp-others .content-inner .cp-others__list .cp-others__item .cp-others__card {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 90px;
    padding: 10px 25px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 25px;
    text-decoration: none;
    transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

body main .cp-others .content-inner .cp-others__list .cp-others__item .cp-others__card:hover {
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

body main .cp-others .content-inner .cp-others__list .cp-others__item .cp-others__card:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

body main .cp-others .content-inner .cp-others__list .cp-others__item .cp-others__card .cp-others__logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(1) brightness(0.7);
}

body main .cp-others .content-inner .cp-others__list .cp-others__item .cp-others__card .cp-others__name {
    color: var(--color-ink);
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
}


/* ===== CTA ===== */

body main .cp-cta {
    background: var(--color-ink);
    position: relative;
    z-index: 1;
}

body main .cp-cta::before {
    content: "";
    position: absolute;
    top: -79px;
    left: 0;
    width: 100%;
    height: 80px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%230f172a' d='M0,80 C360,0 1080,0 1440,80 L1440,80 L0,80 Z'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    pointer-events: none;
    z-index: 2;
}

body main .cp-cta .content-inner .section-header .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

body main .cp-cta .content-inner .cp-cta__actions {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 25px;
}


/* ===== RESPONSIVE ===== */

@media (max-width: 1023px) {

    body main .cp-hero {
        padding-top: 50px;
    }

    body main .cp-hero .content-inner {
        flex-direction: column;
        gap: 25px;
    }

    body main .cp-hero .content-inner .cp-hero__text {
        align-items: center;
        flex: 0 0 auto;
        text-align: center;
    }

    body main .cp-hero .content-inner .cp-hero__text .cp-hero__about {
        align-items: center;
    }

    body main .cp-hero .content-inner .cp-hero__text .cp-hero__website {
        justify-content: center;
        gap: 10px;
    }

}

@media (max-width: 767px) {

    body main .cp-hero .content-inner .cp-hero__brand {
        padding: 25px;
    }

    body main .cp-hero .content-inner .cp-hero__brand .cp-hero__logo {
        width: 250px;
        height: 150px;
        padding: 25px;
    }

    body main .cp-hero .content-inner .cp-hero__text .cp-hero__headline .cp-hero__name {
        font-size: 32px;
    }

    body main .cp-hero .content-inner .cp-hero__text .cp-hero__headline .cp-hero__suffix {
        font-size: 19px;
    }

    body main .cp-hero .content-inner .cp-hero__text .cp-hero__about .cp-hero__description {
        font-size: 17px;
    }

    body main .cp-review .content-inner .cp-review__card {
        padding: 25px;
    }

    body main .cp-review .content-inner .cp-review__card .cp-review__stars .cp-review__star {
        width: 25px;
        height: 25px;
    }

    body main .cp-review .content-inner .cp-review__card .cp-review__quote p {
        font-size: 17px;
    }

    body main .cp-eesier .content-inner .section-header.conheca-header-with-logo {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

body main .cp-eesier .content-inner .section-header.conheca-header-with-logo .conheca-header-text {
    align-items: center;
}

body main .cp-eesier .content-inner .cp-eesier__body {
        font-size: 17px;
    }

    body main .cp-others .content-inner .cp-others__list {
        gap: 10px;
    }

    body main .cp-others .content-inner .cp-others__list .cp-others__item .cp-others__card {
        width: 120px;
        height: 65px;
        padding: 10px;
        border-radius: 10px;
    }

}

@media (prefers-reduced-motion: reduce) {

    body main .cp-hero .content-inner .cp-hero__brand .cp-hero__halo {
        animation: none;
    }

}
