/* ============================================================
   AMICHA PARTNER PAGE — partner.css v4.0
   Full-page custom template, no Astra theme elements
   ============================================================ */

/* ── BASE ── */
.pp-wrap {
    min-height: 100vh;
    background: #161412;
    color: #EDE8DF;
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ── HEADER ── */
.pp-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 18px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to bottom, rgba(13,13,13,0.97), transparent);
}

.pp-logo {
    font-family: 'Lora', serif;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 0.25em;
    color: #EDE8DF;
    text-decoration: none;
}

.pp-logo span { color: #C8A87A; }

.pp-back {
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(245,240,232,0.68);
    text-decoration: none;
    transition: color 0.3s;
}

.pp-back:hover { color: #C8A87A; }

/* ── HERO ── */
.pp-hero {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 110px 40px 80px;
    position: relative;
    overflow: hidden;
}

.pp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 65% 45% at 50% 65%, rgba(184,149,106,0.07) 0%, transparent 65%),
        radial-gradient(ellipse 30% 25% at 80% 30%, rgba(184,149,106,0.04) 0%, transparent 60%);
    pointer-events: none;
}

.pp-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 100%;
}

.pp-eyebrow {
    font-size: 10px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: #C8A87A;
    margin-bottom: 24px;
    opacity: 0;
    animation: ppFadeUp 0.8s 0.15s forwards;
}

.pp-title {
    font-family: 'Lora', serif;
    font-size: clamp(38px, 6vw, 76px);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: 0.01em;
    color: #EDE8DF;
    margin-bottom: 24px;
    opacity: 0;
    animation: ppFadeUp 0.8s 0.35s forwards;
}

.pp-title em {
    font-style: italic;
    color: #D4B882;
}

.pp-subtitle {
    font-size: 15px;
    font-weight: 300;
    color: rgba(245,242,237,0.55);
    max-width: 540px;
    margin: 0 auto 44px;
    line-height: 1.9;
    opacity: 0;
    animation: ppFadeUp 0.8s 0.5s forwards;
}

/* ── TYPE TABS ── */
.pp-type-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 36px;
    opacity: 0;
    animation: ppFadeUp 0.8s 0.65s forwards;
}

.pp-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    border: 1px solid rgba(184,149,106,0.25);
    background: transparent;
    color: rgba(245,242,237,0.55);
    font-family: 'Jost', sans-serif;
    font-size: 13px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0;
}

.pp-tab:hover {
    border-color: #C8A87A;
    color: #EDE8DF;
}

.pp-tab.active {
    border-color: #C8A87A;
    background: #C8A87A;
    color: #0D0D0D;
}

.pp-tab-icon { font-size: 14px; }

/* Begin btn */
.pp-begin-btn {
    display: inline-block;
    padding: 0;
    background: none;
    border: none;
    color: rgba(245,240,232,0.48);
    font-family: 'Jost', sans-serif;
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    cursor: pointer;
    opacity: 0;
    animation: ppFadeUp 0.8s 0.85s forwards;
    transition: color 0.3s;
}

.pp-begin-btn:hover { color: #C8A87A; }

/* Hero scroll caret */
.pp-hero-caret {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, rgba(184,149,106,0.6), transparent);
    cursor: pointer;
    animation: caretPulse 2s ease-in-out infinite;
    opacity: 0;
    animation: ppFadeUp 0.8s 1.2s forwards, caretPulse 2s 2s ease-in-out infinite;
}

/* ── BENEFITS STRIP ── */
.pp-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid rgba(184,149,106,0.15);
    border-bottom: 1px solid rgba(184,149,106,0.15);
}

.pp-benefit {
    padding: 44px 32px;
    text-align: center;
    border-right: 1px solid rgba(184,149,106,0.1);
}

.pp-benefit:last-child { border-right: none; }

.pp-benefit-num {
    font-family: 'Lora', serif;
    font-size: 52px;
    font-weight: 300;
    color: #C8A87A;
    line-height: 1;
    margin-bottom: 10px;
}

.pp-benefit-lbl {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(245,240,232,0.58);
    line-height: 1.8;
}

/* ── FORM AREA ── */
.pp-form-area {
    max-width: 740px;
    margin: 0 auto;
    padding: 80px 40px 120px;
}

.pp-panel { display: none; }
.pp-panel.active {
    display: block;
    animation: ppFadeUp 0.4s forwards;
}

/* ── FORM HEADER ── */
.pp-form-header { margin-bottom: 52px; }

.pp-form-tag {
    display: inline-block;
    font-size: 9px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: #C8A87A;
    border: 1px solid rgba(184,149,106,0.3);
    padding: 6px 16px;
    margin-bottom: 20px;
}

.pp-form-header h2 {
    font-family: 'Lora', serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 300;
    line-height: 1.2;
    color: #EDE8DF;
    margin-bottom: 12px;
}

.pp-form-header p {
    font-size: 13px;
    color: rgba(245,240,232,0.68);
    line-height: 1.8;
}

/* ── SECTION DIVIDER ── */
.pp-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 36px 0 24px;
}

.pp-divider-line {
    flex: 1;
    height: 1px;
    background: rgba(184,149,106,0.15);
}

.pp-divider span {
    font-size: 9px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #C8A87A;
    white-space: nowrap;
    opacity: 0.8;
}

/* ── FORM ROWS & FIELDS ── */
.pp-form { width: 100%; }

.pp-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.pp-row-full { grid-template-columns: 1fr; }

.pp-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.pp-field-full { margin-bottom: 20px; }

.pp-field label {
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(245,240,232,0.68);
}

.pp-field label small {
    font-size: 9px;
    letter-spacing: 0.1em;
    color: rgba(245,240,232,0.48);
    text-transform: none;
    margin-left: 6px;
}

.req { color: #C8A87A; }

/* ── INPUTS — strong overrides for Astra ── */
.pp-wrap .pp-field input[type="text"],
.pp-wrap .pp-field input[type="email"],
.pp-wrap .pp-field input[type="tel"],
.pp-wrap .pp-field input[type="url"],
.pp-wrap .pp-field select,
.pp-wrap .pp-field textarea {
    background: #201E1B !important;
    border: 1px solid rgba(245,242,237,0.1) !important;
    border-radius: 0 !important;
    color: #EDE8DF !important;
    font-family: 'Jost', sans-serif !important;
    font-size: 15px !important;
    padding: 13px 15px !important;
    outline: none !important;
    box-shadow: none !important;
    width: 100%;
    transition: border-color 0.25s;
    -webkit-appearance: none;
    appearance: none;
}

.pp-wrap .pp-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23B8956A' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-color: #201E1B !important;
    padding: 15px 36px 15px 15px !important;
    height: auto !important;
    min-height: 52px !important;
    line-height: 1.4 !important;
    cursor: pointer;
}

.pp-wrap .pp-field select option {
    background: #201E1B;
    color: #EDE8DF;
    padding: 8px;
    line-height: 1.6;
}

.pp-wrap .pp-field textarea {
    resize: vertical;
    min-height: 96px;
}

.pp-wrap .pp-field input:focus,
.pp-wrap .pp-field select:focus,
.pp-wrap .pp-field textarea:focus {
    border-color: rgba(184,149,106,0.6) !important;
}

.pp-wrap .pp-field input::placeholder,
.pp-wrap .pp-field textarea::placeholder {
    color: rgba(245,240,232,0.38) !important;
}

/* ── CHECKBOXES ── */
.pp-checks {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;
    margin-top: 4px;
}

.pp-check {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    border: 1px solid rgba(245,242,237,0.07);
    cursor: pointer;
    transition: border-color 0.2s;
    font-size: 13px;
    color: rgba(245,242,237,0.55);
    user-select: none;
    line-height: 1.4;
}

.pp-check:hover { border-color: rgba(184,149,106,0.25); }
.pp-check.checked { border-color: #C8A87A; color: #EDE8DF; }

.pp-check input[type="checkbox"] {
    width: 13px !important;
    height: 13px !important;
    border: 1px solid rgba(184,149,106,0.4) !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: #C8A87A;
    -webkit-appearance: auto;
    appearance: auto;
}

/* ── SUBMIT ROW ── */
.pp-submit-row {
    margin-top: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    padding-top: 32px;
    border-top: 1px solid rgba(184,149,106,0.1);
}

.pp-submit-note {
    font-size: 13px;
    color: rgba(245,240,232,0.48);
    max-width: 300px;
    line-height: 1.7;
    margin: 0;
}

/* ── SUBMIT BUTTON — override ALL Astra button styles ── */
.pp-wrap button.pp-submit-btn,
.pp-wrap .pp-submit-btn,
button.pp-submit-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 15px 44px !important;
    background: #C8A87A !important;
    color: #0D0D0D !important;
    border: none !important;
    border-radius: 0 !important;
    font-family: 'Jost', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: 0.22em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: background 0.25s, transform 0.2s !important;
    box-shadow: none !important;
    outline: none !important;
    position: relative !important;
    overflow: hidden !important;
    min-width: 200px !important;
    flex-shrink: 0 !important;
}

.pp-wrap button.pp-submit-btn:hover,
.pp-wrap .pp-submit-btn:hover {
    background: #D4B882 !important;
    transform: translateY(-1px) !important;
}

.pp-wrap button.pp-submit-btn:disabled,
.pp-wrap .pp-submit-btn:disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}

.pp-btn-text { position: relative; z-index: 1; }

.pp-btn-loader {
    display: none;
    width: 14px;
    height: 14px;
    border: 2px solid #0D0D0D;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

.pp-submit-btn.loading .pp-btn-text { display: none; }
.pp-submit-btn.loading .pp-btn-loader { display: block; }

/* ── SUCCESS STATE ── */
.pp-success {
    display: none;
    text-align: center;
    padding: 80px 40px;
    animation: ppFadeUp 0.6s forwards;
}

.pp-success-icon {
    font-size: 44px;
    color: #C8A87A;
    margin-bottom: 24px;
    display: block;
}

.pp-success h2 {
    font-family: 'Lora', serif;
    font-size: 44px;
    font-weight: 300;
    color: #EDE8DF;
    margin-bottom: 16px;
}

.pp-success p {
    font-size: 14px;
    color: rgba(245,242,237,0.55);
    line-height: 1.8;
    max-width: 440px;
    margin: 0 auto 32px;
}

.pp-success-home {
    display: inline-block;
    padding: 13px 36px;
    border: 1px solid rgba(184,149,106,0.35);
    color: rgba(245,242,237,0.7);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s;
}

.pp-success-home:hover {
    border-color: #C8A87A;
    color: #EDE8DF;
}

/* ── FOOTER ── */
.pp-footer {
    padding: 28px 40px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.04);
}

.pp-footer p {
    font-size: 11px;
    color: rgba(245,240,232,0.38);
    letter-spacing: 0.08em;
    margin: 0;
}

.pp-footer a {
    color: rgba(184,149,106,0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.pp-footer a:hover { color: #C8A87A; }

/* ── ANIMATIONS ── */
@keyframes ppFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes caretPulse {
    0%, 100% { opacity: 0.3; }
    50%       { opacity: 0.9; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ── MOBILE ── */
@media (max-width: 768px) {
    .pp-header { padding: 14px 20px; }
    .pp-logo { font-size: 20px; }
    .pp-hero { padding: 90px 24px 80px; }
    .pp-type-tabs { gap: 8px; }
    .pp-tab { padding: 11px 16px; font-size: 10px; }
    .pp-tab-icon { display: none; }
    .pp-benefits { grid-template-columns: 1fr; }
    .pp-benefit { border-right: none; border-bottom: 1px solid rgba(184,149,106,0.1); padding: 28px 24px; }
    .pp-benefit:last-child { border-bottom: none; }
    .pp-form-area { padding: 56px 20px 80px; }
    .pp-row { grid-template-columns: 1fr; }
    .pp-checks { grid-template-columns: 1fr 1fr; }
    .pp-submit-row { flex-direction: column; align-items: stretch; }
    .pp-wrap button.pp-submit-btn { width: 100% !important; }
    .pp-submit-note { max-width: 100%; }
}
