/* ============================================
   Pricing, FAQ, CTA Final, Footer
   Premium editorial — plum + cream + lime
   Agency version: 3 plans
   ============================================ */

/* ============================================
   PRICING — off-white bg
   ============================================ */
.section-pricing {
    padding: var(--section-padding) 0;
    background: var(--off-white);
}

.section-pricing .section-title {
    text-align: center;
    margin-bottom: 12px;
}

.pricing-subtitle {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 400;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 960px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    padding: 36px 28px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.pricing-card.featured {
    border-color: var(--terracotta);
    box-shadow: 0 0 0 1px var(--terracotta), var(--shadow-lg);
    transform: scale(1.03);
}

.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-4px);
}

.pricing-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 18px;
    background: var(--lavender);
    color: var(--plum);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 4px;
    white-space: nowrap;
}

.pricing-plan-name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 6px;
    margin-top: 6px;
    letter-spacing: -0.02em;
}

.pricing-plan-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.5;
}

.pricing-sites {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: var(--cream);
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.pricing-amount {
    margin-bottom: 4px;
}

.pricing-currency {
    font-size: 1.1rem;
    font-weight: 700;
    vertical-align: top;
}

.pricing-value {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
}

.pricing-period {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 28px;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.84rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-check {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lavender-soft);
    color: var(--green);
    border-radius: 50%;
    font-size: 0.6rem;
    font-weight: 800;
}

.pricing-cta {
    display: block;
    width: 100%;
    padding: 13px;
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: 4px;
    text-align: center;
    transition: all 0.3s ease;
    letter-spacing: 0.01em;
}

.pricing-cta-primary {
    background: var(--terracotta);
    color: var(--white);
}

.pricing-cta-primary:hover {
    background: var(--terracotta-hover);
    color: var(--white);
    transform: translateY(-1px);
}

.pricing-cta-outline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
}

.pricing-cta-outline:hover {
    border-color: var(--plum);
    color: var(--plum);
}

.pricing-footer {
    text-align: center;
    margin-top: 28px;
    font-size: 0.82rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ============================================
   COME ADERIRE — replaces pricing grid
   ============================================ */
.come-aderire-content {
    max-width: 720px;
    margin: 0 auto;
}

.come-aderire-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px 40px;
    box-shadow: var(--shadow-sm);
}

.come-aderire-steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.come-aderire-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.come-aderire-step-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lavender-soft);
    color: var(--plum);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 800;
    border-radius: 50%;
    margin-top: 2px;
}

.come-aderire-step h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.come-aderire-step p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.55;
    letter-spacing: -0.03em;
}

.come-aderire-cta-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding-top: 32px;
    border-top: 1px solid var(--border-light);
}

.come-aderire-cta-wrap .pricing-cta {
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    font-size: 0.95rem;
}

.come-aderire-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
    font-weight: 400;
}

@media (max-width: 600px) {
    .come-aderire-card {
        padding: 28px 22px;
    }

    .come-aderire-step {
        gap: 14px;
    }
}

/* ============================================
   COME ADERIRE — Demo bonus badge (after submit)
   ============================================ */
.come-aderire-demo-bonus {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 20px;
    padding: 16px 20px;
    background: var(--terracotta-soft);
    border: 1px dashed rgba(224, 89, 42, 0.4);
    border-radius: var(--radius-md);
    position: relative;
}

.come-aderire-demo-bonus::before {
    content: 'BONUS';
    position: absolute;
    top: -9px;
    left: 16px;
    padding: 2px 10px;
    background: var(--terracotta);
    color: var(--white);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    border-radius: 3px;
}

.come-aderire-demo-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    color: var(--terracotta);
    margin-top: 2px;
}

.come-aderire-demo-bonus strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.come-aderire-demo-bonus p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
}

/* ============================================
   COME ADERIRE — Registration form
   ============================================ */
.come-aderire-form-wrap {
    padding-top: 0;
    border-top: none;
}

.come-aderire-form-title {
    display: none;
}
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    text-align: center;
}

.come-aderire-form-wrap .come-aderire-note {
    text-align: center;
    margin-top: 16px;
}

.agency-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.agency-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.agency-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.agency-form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.01em;
}

.agency-required {
    color: var(--red);
    font-weight: 700;
}

.agency-form-group input[type="text"],
.agency-form-group input[type="email"],
.agency-form-group input[type="tel"],
.agency-form-group select {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.9rem;
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--off-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.agency-form-group select {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B6560' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

.agency-form-group input:focus,
.agency-form-group select:focus {
    border-color: var(--terracotta);
    box-shadow: 0 0 0 3px var(--terracotta-soft);
}

.agency-form-group input.has-error,
.agency-form-group select.has-error {
    border-color: var(--red);
    box-shadow: 0 0 0 3px var(--red-soft);
}

.agency-error {
    font-size: 0.75rem;
    color: var(--red);
    min-height: 0;
    transition: all 0.2s ease;
}

.agency-error:not(:empty) {
    min-height: 16px;
}

/* Checkbox */
.agency-checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-weight: 400;
}

.agency-checkbox-group input[type="checkbox"] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    accent-color: var(--plum);
    cursor: pointer;
}

.agency-checkbox-group label span {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.agency-checkbox-group label a {
    color: var(--lavender-hover);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.agency-checkbox-group label a:hover {
    color: var(--plum);
}

/* Submit button */
.agency-submit-btn {
    display: block;
    width: 100%;
    padding: 15px 24px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: var(--font-body);
    color: var(--white);
    background: var(--terracotta);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.01em;
    margin-top: 4px;
}

.agency-submit-btn:hover:not(:disabled) {
    background: var(--terracotta-hover);
    color: var(--white);
    transform: translateY(-1px);
}

.agency-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Success message */
.agency-form-success {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: var(--green-soft);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: var(--radius);
    color: #166534;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.5;
}

.agency-form-success.active {
    display: flex;
}

.agency-form-success svg {
    flex-shrink: 0;
    color: var(--green);
}

@media (max-width: 600px) {
    .agency-form-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FAQ — cream bg
   ============================================ */
.section-faq {
    padding: var(--section-padding) 0;
    background: var(--cream);
}

.section-faq .section-title {
    text-align: center;
    margin-bottom: 52px;
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-light);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: left;
    cursor: pointer;
    transition: color 0.3s ease;
    background: none;
    border: none;
    font-family: var(--font-body);
    letter-spacing: -0.01em;
}

.faq-question:hover {
    color: var(--terracotta);
}

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    color: var(--terracotta);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.8;
    padding-bottom: 20px;
}

/* ============================================
   CTA FINAL — dark plum
   ============================================ */
.section-cta-final {
    padding: var(--section-padding) 0;
    background: linear-gradient(rgba(31, 20, 16, 0.92), rgba(31, 20, 16, 0.96)), url('../assets/restaurant-team-happy.jpg') center/cover no-repeat;
    color: var(--text-on-dark);
    text-align: center;
}

.section-cta-final .section-title {
    color: var(--text-on-dark);
}

.section-cta-final .section-title em {
    color: var(--gold);
}

.cta-final-body {
    font-size: 1rem;
    color: var(--text-on-dark-muted);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

.cta-final-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-final-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 34px;
    background: var(--terracotta);
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.cta-final-primary:hover {
    background: var(--terracotta-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--terracotta-glow);
}

.cta-final-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 34px;
    color: var(--text-on-dark-muted);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.3s ease;
}

.cta-final-secondary:hover {
    border-color: rgba(255, 255, 255, 0.35);
    color: var(--text-on-dark);
}

/* ============================================
   FOOTER — dark plum
   ============================================ */
.footer {
    padding: 36px 0;
    background: #1F1410;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.25);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    font-size: 0.78rem;
}

.footer-sep {
    color: rgba(255, 255, 255, 0.15);
}

.footer a {
    color: rgba(255, 255, 255, 0.35);
}

.footer a:hover {
    color: var(--gold);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
    }

    .pricing-card.featured {
        transform: none;
        order: -1;
    }

    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }

    .cta-final-actions {
        flex-direction: column;
        align-items: center;
    }
}


/* ============================================
   COME ADERIRE — Horizontal Steps (compact)
   ============================================ */
.come-aderire-steps-h {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 28px;
    padding: 16px 24px;
    background: rgba(190, 255, 3, 0.06);
    border-radius: 8px;
    border: 1px solid rgba(190, 255, 3, 0.15);
}

.come-aderire-step-h {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--text-secondary);
    text-align: center;
    font-weight: 500;
}

.step-h-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--lime);
    color: var(--bg-dark);
    font-size: 0.72rem;
    font-weight: 800;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .come-aderire-steps-h {
        flex-direction: row;
        gap: 16px;
        margin-bottom: 20px;
        padding: 14px 16px;
    }

    .come-aderire-step-h {
        font-size: 0.75rem;
        flex: 1;
    }

    .step-h-num {
        width: 22px;
        height: 22px;
        font-size: 0.68rem;
    }
}
