﻿
/* ==========================================
   PHOTAVIO - SIGNUP SELECTION
   ========================================== */

:root {
    --signup-green: #294e4c;
    --signup-maroon: #660021;
    --signup-ink: #244a47;
    --signup-muted: #647b74;
    --signup-bg: #f8fbfa;
    --signup-line: #dce6e0;
    --signup-sans: "DM Sans", Arial, sans-serif;
    --signup-serif: "Playfair Display", Georgia, serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    overflow-x: clip;
}

body.pv-signup-page {
    min-width: 0;
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    background: var(--signup-bg);
    color: var(--signup-ink);
    font-family: var(--signup-sans);
    font-size: 14px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.pv-signup-page a {
    color: inherit;
}

    .pv-signup-page a:focus-visible {
        outline: 3px solid #ba8495;
        outline-offset: 4px;
    }

/* ==========================================
   HEADER
   ========================================== */

.pv-signup-header {
    width: min(1280px, 100%);
    margin: 0 auto;
    padding: 24px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.pv-signup-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

    .pv-signup-logo img {
        display: block;
        width: 185px;
        max-width: 100%;
        height: auto;
    }

.pv-signup-login {
    margin: 0;
    font-size: 12px;
    color: var(--signup-muted);
}

    .pv-signup-login a {
        color: var(--signup-green);
        text-decoration: underline;
        text-underline-offset: 4px;
    }

        .pv-signup-login a:hover {
            color: #173b38;
        }

/* ==========================================
   MAIN
   ========================================== */

.pv-signup-main {
    width: min(1200px, 100%);
    margin: 24px auto 55px;
    padding: 0 40px;
    flex: 1 0 auto;
}

/* ==========================================
   INTRODUCTION
   ========================================== */

.pv-signup-welcome {
    text-align: center;
    margin-bottom: 32px;
}

.pv-signup-eyebrow {
    margin: 0 0 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--signup-green);
}

.pv-signup-welcome h1 {
    margin: 0 0 15px;
    font-family: var(--signup-serif);
    font-size: clamp(38px, 4vw, 56px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -1.4px;
    color: var(--signup-green);
}

    .pv-signup-welcome h1 em {
        font-weight: 400;
    }

.pv-signup-subtitle {
    margin: 0;
    font-size: 15px;
    color: var(--signup-muted);
}

/* ==========================================
   TWO REGISTRATION CARDS
   ========================================== */

.pv-signup-choices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

.pv-signup-choice {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--signup-line);
    border-radius: 25px;
    background: #fff;
    box-shadow: 0 15px 45px rgba(36, 74, 71, .035);
    transition: transform .2s ease, box-shadow .2s ease;
}

    .pv-signup-choice:hover {
        transform: translateY(-3px);
        box-shadow: 0 20px 50px rgba(36, 74, 71, .08);
    }

/* ==========================================
   PHOTOGRAPH
   ========================================== */

.pv-signup-photo {
    position: relative;
    height: 230px;
    overflow: hidden;
}

    .pv-signup-photo img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .4s ease;
    }

.pv-signup-choice:hover .pv-signup-photo img {
    transform: scale(1.025);
}

.pv-signup-client .pv-signup-photo img {
    object-position: center 57%;
}

.pv-signup-supplier .pv-signup-photo img {
    object-position: center 22%;
}

/* Image labels */

.pv-signup-tag {
    position: absolute;
    top: 20px;
    left: 22px;
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 7px 12px;
    border-radius: 30px;
    background: #fff;
    color: var(--signup-green);
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 1px;
}

.pv-signup-supplier .pv-signup-tag {
    top: auto;
    bottom: 16px;
    color: var(--signup-maroon);
}

/* ==========================================
   CARD CONTENT
   ========================================== */

.pv-signup-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    padding: 26px 28px 28px;
}

    .pv-signup-content h2 {
        margin: 0 0 14px;
        font-family: var(--signup-serif);
        font-size: 30px;
        font-weight: 500;
        line-height: 1.15;
        letter-spacing: -.5px;
        color: var(--signup-green);
    }

.pv-signup-description {
    max-width: 430px;
    margin: 0 0 20px;
    color: var(--signup-muted);
    font-size: 13px;
    line-height: 1.75;
}

/* ==========================================
   CALL TO ACTION
   ========================================== */

.pv-signup-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
    min-height: 50px;
    margin-top: auto;
    padding: 14px 20px;
    border-radius: 30px;
    background: var(--signup-green);
    color: #fff !important;
    text-decoration: none !important;
    font-family: var(--signup-sans);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    transition: background .2s ease;
}

    .pv-signup-cta:hover {
        background: #183e3a;
        color: #fff !important;
    }

.pv-signup-arrow {
    flex-shrink: 0;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
}

/* ==========================================
   SUPPLIER CARD - MAROON THEME
   ========================================== */

.pv-signup-supplier {
    border-color: #eadfe2;
    background: #fffdfd;
}

    .pv-signup-supplier .pv-signup-content h2 {
        color: var(--signup-maroon);
    }

    .pv-signup-supplier .pv-signup-description {
        color: #806c74;
    }

    .pv-signup-supplier .pv-signup-cta {
        background: var(--signup-maroon);
    }

        .pv-signup-supplier .pv-signup-cta:hover {
            background: #4d0019;
        }

/* ==========================================
   EXPLORE LINK
   ========================================== */

.pv-signup-explore {
    margin: 25px 0 0;
    text-align: center;
    color: #71827f;
    font-size: 12px;
}

    .pv-signup-explore a {
        text-decoration: underline;
        text-underline-offset: 4px;
    }

        .pv-signup-explore a:hover {
            color: var(--signup-green);
        }

/* ==========================================
   FOOTER
   ========================================== */

.pv-signup-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: min(1120px, calc(100% - 80px));
    margin: 0 auto;
    padding: 20px 0;
    border-top: 1px solid #e0e9e3;
    color: #71827f;
    font-size: 10px;
}

    .pv-signup-footer a {
        text-decoration: none;
    }

        .pv-signup-footer a:hover {
            text-decoration: underline;
        }

/* ==========================================
   TABLET AND MOBILE
   ========================================== */

@media (max-width: 760px) {

    .pv-signup-header {
        padding: 22px;
    }

    .pv-signup-logo img {
        width: 150px;
    }

    .pv-signup-login {
        font-size: 11px;
    }

        .pv-signup-login span {
            display: none;
        }

    .pv-signup-main {
        width: 100%;
        margin: 16px auto 35px;
        padding: 0 20px;
    }

    .pv-signup-welcome {
        margin-bottom: 25px;
    }

    .pv-signup-eyebrow {
        font-size: 9px;
    }

    .pv-signup-welcome h1 {
        font-size: clamp(34px, 7vw, 40px);
    }

    .pv-signup-subtitle {
        max-width: 280px;
        margin: 0 auto;
        font-size: 13px;
    }

    .pv-signup-choices {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .pv-signup-photo {
        height: 190px;
    }

    .pv-signup-content {
        padding: 23px;
    }

        .pv-signup-content h2 {
            font-size: 29px;
        }

    .pv-signup-description {
        font-size: 13px;
    }

    .pv-signup-choice {
        border-radius: 20px;
    }

    .pv-signup-footer {
        width: calc(100% - 40px);
        flex-wrap: wrap;
        gap: 12px;
    }

    .pv-signup-explore {
        font-size: 11px;
    }
}

@media (max-width: 380px) {

    .pv-signup-header {
        padding-inline: 16px;
    }

    .pv-signup-main {
        padding-inline: 15px;
    }

    .pv-signup-welcome h1 {
        font-size: 33px;
    }

    .pv-signup-content {
        padding: 20px;
    }

        .pv-signup-content h2 {
            font-size: 27px;
        }

    .pv-signup-cta {
        padding: 13px 16px;
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pv-signup-choice,
    .pv-signup-photo img,
    .pv-signup-cta {
        transition: none;
    }
}
