/* ===================================================================
   Paidin Redovisning – Custom styles
   Blue accent (#2563EB) differentiates from Paidin Finans (green)
   =================================================================== */

:root {
    --pi-green: #77C043;
    --pi-blue: #2563EB;
    --pi-blue-dark: #1D4ED8;
    --pi-blue-light: #EFF6FF;
}

/* --- Page gradient ------------------------------------------------- */
.rd-page-gradient {
    background:
        radial-gradient(ellipse 80% 60% at 10% 20%, rgba(37, 99, 235, .04) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 90% 80%, rgba(119, 192, 67, .03) 0%, transparent 60%),
        #f9fafb;
}

/* --- Hero gradient ------------------------------------------------- */
.rd-hero-gradient {
    background:
        radial-gradient(ellipse 70% 55% at 20% 30%, rgba(37, 99, 235, .06) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 80% 70%, rgba(119, 192, 67, .04) 0%, transparent 55%),
        linear-gradient(145deg, #ffffff 0%, #f9fafb 100%);
}

/* --- Slide-in mobile menu ----------------------------------------- */
.rd-mobile-menu {
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}
.rd-mobile-menu.open { transform: translateX(0); }

.rd-mobile-backdrop {
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s cubic-bezier(.4, 0, .2, 1);
}
.rd-mobile-backdrop.open { opacity: 1; pointer-events: auto; }

/* --- Service card -------------------------------------------------- */
.rd-service-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.rd-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

/* --- Pricing card -------------------------------------------------- */
.rd-pricing-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.rd-pricing-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}
.rd-pricing-featured {
    border-color: var(--pi-blue);
    box-shadow: 0 4px 16px rgba(37, 99, 235, .15);
}
.rd-pricing-featured:hover {
    box-shadow: 0 8px 24px rgba(37, 99, 235, .2);
}

/* --- Badge ------------------------------------------------------- */
.rd-badge {
    display: inline-block;
    background: var(--pi-blue);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 2px 10px;
    border-radius: 999px;
    text-transform: uppercase;
}

/* --- Blue accent top on cards ------------------------------------- */
.rd-accent-top {
    position: relative;
}
.rd-accent-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: var(--pi-blue);
}

/* --- Input focus -------------------------------------------------- */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: rgba(37, 99, 235, .7) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .15) !important;
}

/* --- FAQ accordion ------------------------------------------------ */
.rd-faq-item summary {
    cursor: pointer;
    list-style: none;
}
.rd-faq-item summary::-webkit-details-marker { display: none; }
.rd-faq-item summary::marker { display: none; }

.rd-faq-item .rd-chevron {
    transition: transform .2s ease;
}
.rd-faq-item[open] .rd-chevron {
    transform: rotate(180deg);
}

/* --- Honeypot ---------------------------------------------------- */
.rd-hp {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

/* --- Prose (legal/content) --------------------------------------- */
.rd-prose h2 { margin-top: 1.5em; margin-bottom: .5em; font-size: 1.25rem; font-weight: 700; color: #111827; }
.rd-prose h3 { margin-top: 1em; margin-bottom: .4em; font-size: 1.1rem; font-weight: 600; color: #111827; }
.rd-prose p { margin: .4em 0 .8em; line-height: 1.7; color: #374151; }
.rd-prose ul { margin: .5em 0; padding-left: 1.25em; }
.rd-prose li { margin: .35em 0; line-height: 1.7; color: #374151; }
.rd-prose a { color: var(--pi-blue); text-decoration: underline; }
.rd-prose a:hover { color: var(--pi-blue-dark); }
