:root {
    --teal: #0d5c56;
    --teal-deep: #084843;
    --teal-soft: #1a7a72;
    --gold: #c4a35a;
    --ink: #1a2332;
    --muted: #5a6577;
    --mist: #f3f6f5;
    --cream: #f8f5ef;
    --line: #e2e8e6;
    --white: #fffef8;
    --coral: #c45c5c;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

.join-body {
    font-family: "DM Sans", system-ui, sans-serif;
    color: var(--ink);
    background: var(--mist);
    min-height: 100vh;
}

.join-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 18px;
    background: rgba(8, 72, 67, 0.96);
    backdrop-filter: blur(10px);
}

.join-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.join-brand-logo {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: block;
    background: transparent;
    object-fit: contain;
}

.join-brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: transparent;
    color: var(--gold);
    border: 1.5px solid rgba(196, 163, 90, 0.45);
    display: grid;
    place-items: center;
    font-family: "Playfair Display", serif;
    font-size: 18px;
}

.join-nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.join-nav-link {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
}

.join-nav-link:hover,
.join-nav-link.is-active {
    color: var(--gold);
}

.join-foot a {
    color: var(--teal);
    font-weight: 700;
}

.join-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gold);
    color: var(--teal-deep);
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
    border: 1.5px solid transparent;
    border-radius: 12px;
    padding: 8px 14px;
}

.join-nav-cta:visited,
.join-nav-cta:hover {
    color: var(--teal-deep);
}

.join-nav-cta.ghost {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.28);
}

.join-nav-cta.ghost:visited,
.join-nav-cta.ghost:hover {
    color: #fff;
}

.join-form-page {
    padding: 28px 18px 12px;
    background:
        radial-gradient(1200px 280px at 50% -40px, rgba(13,92,86,.18), transparent 70%),
        var(--mist);
}

.join-form-card .form-head {
    margin-bottom: 8px;
}

.join-form-card .form-head h1 {
    font-size: clamp(28px, 5vw, 34px);
    letter-spacing: -0.02em;
}

.join-form-card .intro {
    margin-bottom: 14px;
}

.form-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 22px;
}

.form-trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--cream);
    border: 1px solid var(--line);
    color: var(--teal-deep);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 999px;
}

.form-trust i { color: var(--gold); }

.form-block {
    border-top: 1px solid var(--line);
    padding-top: 18px;
    margin-top: 6px;
    margin-bottom: 8px;
}

.form-block h2 {
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: 15px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--teal);
    margin: 0 0 14px;
}

.block-note {
    color: var(--muted);
    font-size: 13px;
    margin: -6px 0 14px;
}

.logo-drop {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 92px;
    padding: 12px;
    border: 1.5px dashed #b7d0cc;
    background: linear-gradient(180deg, #fbfaf6, var(--mist));
    border-radius: 16px;
    cursor: pointer;
    position: relative;
}

.logo-drop:hover { border-color: var(--teal-soft); }

.logo-drop input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.logo-drop-preview {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: #fff center / contain no-repeat;
    border: 1px solid var(--line);
    flex-shrink: 0;
}

.logo-drop-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: var(--ink);
}

.logo-drop-copy i {
    color: var(--teal);
    font-size: 18px;
    margin-bottom: 4px;
}

.logo-drop-copy strong { font-size: 14px; }

.logo-drop-copy em {
    font-style: normal;
    color: var(--muted);
    font-size: 12px;
}

.join-form-card .form-submit,
.join-success .join-cta {
    width: 100%;
    max-width: none;
}

.cta-note {
    text-align: center;
    margin-top: 8px;
}

.join-foot {
    text-align: center;
    padding: 28px 16px 40px;
    color: var(--muted);
    font-size: 14px;
}

.join-foot-muted { opacity: 0.8; margin: 4px 0 0; }

.join-hero {
    background: linear-gradient(160deg, #084843 0%, #0d5c56 55%, #1a6b64 100%);
    color: #fff;
    padding: 36px 20px 48px;
}

.join-hero-inner, .join-wrap {
    max-width: 1100px;
    margin: 0 auto;
}

.join-kicker {
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 12px;
    margin: 0 0 10px;
}

.join-hero h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(32px, 8vw, 52px);
    line-height: 1.08;
    margin: 0 0 14px;
    font-weight: 700;
}

.join-hero p.lead {
    font-size: 17px;
    line-height: 1.5;
    max-width: 560px;
    color: rgba(255,255,255,.88);
    margin: 0 0 24px;
}

.join-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--gold);
    color: var(--teal-deep);
    font-weight: 700;
    text-decoration: none;
    border: 0;
    border-radius: 14px;
    padding: 14px 22px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    max-width: 360px;
}

.join-cta.secondary {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.35);
}

.join-hero-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.join-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.join-pill {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
}

.join-section {
    padding: 36px 18px;
}

.join-section h2 {
    font-family: "Playfair Display", serif;
    font-size: 28px;
    margin: 0 0 8px;
}

.join-section .intro {
    color: var(--muted);
    margin: 0 0 24px;
    max-width: 640px;
    line-height: 1.5;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 18px;
    margin-bottom: 18px;
    box-shadow: 0 10px 30px rgba(8,72,67,.05);
}

.feature-head {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.feature-copy { flex: 1; min-width: 0; }

.shot-open {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    border-radius: 12px;
    background: var(--teal);
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 12px;
    cursor: pointer;
    white-space: nowrap;
}

.shot-open:hover { background: var(--teal-deep); }

.feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #d5ebe8;
    color: var(--teal);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.feature-head h3 {
    margin: 0;
    font-size: 18px;
}

.feature-sub {
    color: var(--gold-deep, #a6853d);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin: 2px 0 6px;
}

.feature-head p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
}

.shot-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.shot {
    background: var(--cream);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
}

.shot img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    object-position: top;
    background: #eef3f2;
}

.shot.phone img {
    max-height: 560px;
    object-fit: contain;
    background: linear-gradient(180deg, #0d5c56, #084843);
    padding: 10px 10px 0;
}

.shot-lightbox {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(8, 12, 14, 0.94);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: 56px 16px 24px;
}

.shot-lightbox[hidden] { display: none; }

.shot-lightbox-pair figure[hidden] { display: none; }

.shot-lightbox-pair:has(figure[hidden]) {
    grid-template-columns: minmax(180px, 420px);
    justify-content: center;
}

.shot-lightbox-title {
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    text-align: center;
    margin: 0 48px 16px;
}

.shot-lightbox-pair {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: stretch;
    max-height: calc(100vh - 120px);
    overflow: auto;
}

.shot-lightbox-pair figure {
    margin: 0;
    background: #111;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.shot-lightbox-pair img {
    display: block;
    width: 100%;
    height: auto;
    max-height: min(70vh, 720px);
    object-fit: contain;
    background: #0b1211;
}

.shot-lightbox-pair figcaption {
    color: rgba(255,255,255,.8);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    padding: 8px 10px 10px;
}

.shot-lightbox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

@media (min-width: 800px) {
    .shot-lightbox-pair {
        grid-template-columns: minmax(180px, 0.38fr) minmax(0, 1fr);
        overflow: hidden;
    }
    .shot-lightbox-pair img {
        max-height: calc(100vh - 160px);
        flex: 1;
    }
}

.shot figcaption {
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    padding: 8px 12px 10px;
}

.customer-shot-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.customer-shot {
    margin: 0;
}

.customer-shot-open {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.customer-shot figcaption {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-weight: 600;
}

.customer-shot figcaption strong {
    color: var(--ink);
    font-size: 13px;
}

.customer-shot figcaption span {
    font-weight: 500;
    font-size: 12px;
    line-height: 1.4;
}

.join-form-card, .join-success {
    max-width: 640px;
    margin: 0 auto 40px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 22px 18px 28px;
    box-shadow: 0 18px 50px rgba(8,72,67,.08);
}

.join-form-card h1, .join-success h1 {
    font-family: "Playfair Display", serif;
    font-size: 30px;
    margin: 0 0 8px;
}

.field { margin-bottom: 14px; }

.field label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 6px;
}

.field input[type="text"],
.field input[type="password"],
.field input[type="tel"],
.field input[type="time"],
.field input[type="file"] {
    width: 100%;
    border: 1.4px solid var(--line);
    background: var(--mist);
    border-radius: 12px;
    padding: 12px 14px;
    font: inherit;
}

.field input:focus {
    outline: 2px solid var(--teal-soft);
    border-color: var(--teal);
}

.password-field {
    position: relative;
}

.password-field input {
    padding-right: 46px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: 0;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 15px;
}

.password-toggle:hover,
.password-toggle:focus-visible {
    color: var(--teal);
    outline: none;
}

.password-toggle[aria-pressed="true"] {
    color: var(--teal);
}

.field input.is-locked {
    background: #e7f0ee;
    color: var(--teal-deep);
}

.phone-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.phone-row + .all-days {
    margin-top: -4px;
    margin-bottom: 14px;
}

.hint .fa-whatsapp {
    color: var(--teal);
}

.req { color: var(--coral); }

.hint { color: var(--muted); font-size: 12px; margin-top: 4px; }

.days {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.day, .all-days {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--mist);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 14px;
}

.all-days { margin-bottom: 10px; }

.errors {
    background: #fdecec;
    color: #8a2f2f;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 14px;
    font-size: 14px;
}

.errors.validation-summary-valid {
    display: none;
}

.errors ul {
    margin: 0;
    padding-left: 18px;
}

.errors li {
    margin: 0;
}

.username-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.username-chip {
    border: 1px solid var(--line);
    background: var(--cream);
    color: var(--teal-deep);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 999px;
    cursor: pointer;
}

.username-chip:hover,
.username-chip:focus-visible {
    border-color: var(--teal);
    background: #d5ebe8;
    outline: none;
}

.username-suggest-note {
    color: var(--coral);
}

.sticky-cta {
    position: sticky;
    bottom: 0;
    background: linear-gradient(180deg, transparent, #fff 24%);
    padding: 16px 0 8px;
}

.success-check {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #d5ebe8;
    color: var(--teal);
    display: grid;
    place-items: center;
    font-size: 28px;
    margin: 0 auto 14px;
}

.join-success { text-align: center; }
.join-success p { color: var(--muted); line-height: 1.5; }

.download-box {
    margin-top: 18px;
    padding: 16px;
    border-radius: 16px;
    background: var(--cream);
    border: 1px solid var(--line);
    text-align: left;
}

.val { color: var(--coral); font-size: 12px; margin-top: 4px; display: block; }

@media (max-width: 520px) {
    .shot-open span { display: none; }
}

@media (min-width: 720px) {
    .join-nav, .join-hero, .join-section { padding-left: 28px; padding-right: 28px; }
    .join-hero-actions { flex-direction: row; align-items: center; }
    .join-cta { width: auto; }
    .shot-grid { grid-template-columns: 0.42fr 1fr; align-items: start; }
    .customer-shot-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .phone-row { grid-template-columns: 1fr 1fr; gap: 12px; }
    .days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .join-form-card, .join-success { padding: 32px; }
}

@media (min-width: 980px) {
    .feature-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }
    .feature-card { margin-bottom: 0; }
}
