/* Page-specific styles for bilvard-och-rekond.cfm. Shared chrome in /assets/app.css. */

:root {
            --deep: #ffffff; --navy: #f4f5f7; --slate: #e5e7eb;
            --gold: #f2ea25; --gold-light: #f5ef5a; --gold-dark: #c4bd00;
            --gold-glow: rgba(242, 234, 37, 0.12);
            --green: #234d35; --green-mid: #3a7d55;
            --green-glow: rgba(35, 77, 53, 0.08);
            --cream: #1a1a2e; --text-muted: #6b7280; --text-body: #374151;
            --glass: rgba(255, 255, 255, 0.92); --glass-border: rgba(0, 0, 0, 0.08);
            --radius: 16px; --radius-sm: 10px;
            --font-display: 'Cormorant Garamond', Georgia, serif;
            --font-body: 'Outfit', system-ui, sans-serif;
        }




/* ─── PAGE HERO ─── */
        .page-hero { padding: 10rem 3rem 5rem; text-align: center; background: var(--navy); }
        .page-hero .section-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green-mid); margin-bottom: 1rem; }
        .page-hero h1 { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; color: var(--cream); margin-bottom: 1rem; }
        .page-hero p { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; line-height: 1.7; font-weight: 300; }

        section { padding: 5rem 3rem; }
        .section-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green-mid); margin-bottom: 1rem; }
        .section-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--cream); margin-bottom: 1rem; line-height: 1.15; }

        /* ─── PACKAGES GRID ─── */
        .packages-header { text-align: center; margin-bottom: 3rem; }
        .packages-header .section-desc { color: var(--text-muted); max-width: 560px; margin: 0 auto; line-height: 1.7; font-weight: 300; font-size: 1.05rem; }

        .packages-grid {
            display: grid; grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem; max-width: 1200px; margin: 0 auto;
        }

        .package-card {
            background: #fff; border: 1px solid rgba(0, 0, 0, 0.06);
            border-radius: var(--radius); padding: 2.25rem;
            transition: all 0.3s; position: relative; display: flex;
            flex-direction: column;
        }

        .package-card:hover {
            border-color: rgba(35, 77, 53, 0.2); transform: translateY(-4px);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
        }

        .package-card.popular {
            border-color: var(--green); box-shadow: 0 4px 20px rgba(35, 77, 53, 0.1);
        }

        .popular-badge {
            position: absolute; top: -10px; right: 1.5rem;
            background: var(--green); color: #fff;
            font-size: 0.65rem; font-weight: 700;
            letter-spacing: 0.1em; text-transform: uppercase;
            padding: 0.3rem 0.85rem; border-radius: 100px;
        }

        .package-icon {
            width: 48px; height: 48px; border-radius: 12px;
            background: var(--green-glow); border: 1px solid rgba(35, 77, 53, 0.12);
            display: flex; align-items: center; justify-content: center;
            font-size: 1.25rem; margin-bottom: 1.25rem;
        }

        .package-card h3 {
            font-family: var(--font-display); font-size: 1.25rem; font-weight: 600;
            color: var(--cream); margin-bottom: 0.5rem;
        }

        .package-price {
            font-family: var(--font-display); font-size: 2rem; font-weight: 700;
            color: var(--green); margin-bottom: 0.5rem;
        }

        .package-desc {
            font-size: 0.85rem; color: var(--text-muted); line-height: 1.6;
            margin-bottom: 1.25rem;
        }

        .package-features {
            list-style: none; flex: 1;
        }

        .package-features li {
            display: flex; align-items: flex-start; gap: 0.6rem;
            padding: 0.4rem 0; font-size: 0.85rem; color: var(--text-body);
        }

        .package-features li::before {
            content: '\2713'; color: var(--green); font-weight: 700;
            font-size: 0.75rem; margin-top: 0.2rem; flex-shrink: 0;
        }

        /* Quill editor output: <ol><li data-list="bullet"> rendered as bullet list */
        .package-card ol {
            list-style: none; padding: 0; margin-bottom: 1.25rem;
        }
        .package-card ol li[data-list="bullet"] {
            display: flex; align-items: flex-start; gap: 0.6rem;
            padding: 0.4rem 0; font-size: 0.85rem; color: var(--text-body);
        }
        .package-card ol li[data-list="bullet"]::before {
            content: '\2713'; color: var(--green); font-weight: 700;
            font-size: 0.75rem; margin-top: 0.2rem; flex-shrink: 0;
        }
        .package-card .ql-ui { display: none; }

        /* ─── COMPARISON TABLE ─── */
        .comparison { background: var(--navy); }
        .comparison-header { text-align: center; margin-bottom: 3rem; }

        .comparison-wrapper {
            max-width: 1200px; margin: 0 auto;
            overflow-x: auto;
        }

        .comparison-table {
            width: 100%; border-collapse: collapse;
            background: #fff; border-radius: var(--radius);
            overflow: hidden; border: 1px solid rgba(0, 0, 0, 0.06);
        }

        .comparison-table thead th {
            padding: 1rem 0.75rem; font-size: 0.65rem; font-weight: 600;
            letter-spacing: 0.08em; text-transform: uppercase;
            color: var(--text-muted); text-align: center;
            border-bottom: 2px solid rgba(0, 0, 0, 0.06);
            background: var(--navy);
        }

        .comparison-table thead th:first-child { text-align: left; padding-left: 1.5rem; }

        .comparison-table thead th.highlight {
            color: var(--green); position: relative;
        }

        .comparison-table thead th.highlight::before {
            content: 'Populärast'; position: absolute;
            top: -1.25rem; left: 50%; transform: translateX(-50%);
            background: var(--green); color: #fff;
            font-size: 0.55rem; padding: 0.15rem 0.5rem;
            border-radius: 100px; white-space: nowrap;
        }

        .comparison-table tbody td {
            padding: 0.75rem; border-bottom: 1px solid rgba(0, 0, 0, 0.04);
            text-align: center; font-size: 0.85rem; color: var(--text-body);
        }

        .comparison-table tbody td:first-child {
            text-align: left; padding-left: 1.5rem;
            color: var(--cream); font-weight: 500;
        }

        .comparison-table .check { color: var(--green); font-weight: 700; }
        .comparison-table .dash { color: var(--slate); }

        .comparison-table tfoot td {
            padding: 1rem 0.75rem;
            border-top: 2px solid rgba(35, 77, 53, 0.15);
            text-align: center;
            font-family: var(--font-display); font-size: 1.1rem;
            font-weight: 700; color: var(--green);
        }

        .comparison-table tfoot td:first-child {
            text-align: left; padding-left: 1.5rem;
            font-family: var(--font-body); font-size: 0.85rem;
            color: var(--text-muted); font-weight: 500;
        }

        /* ─── CTA ─── */
        .cta-section {
            text-align: center; position: relative;
        }

        .cta-section h2 {
            font-family: var(--font-display); font-size: 2.5rem;
            font-weight: 700; color: var(--cream); margin-bottom: 1rem;
        }

        .cta-section p {
            color: var(--text-muted); font-size: 1.05rem;
            margin-bottom: 2rem; max-width: 480px;
            margin-left: auto; margin-right: auto;
        }

        .btn-cta {
            display: inline-block;
            background: var(--cream);
            color: var(--gold); text-decoration: none;
            padding: 1rem 3rem; border-radius: var(--radius-sm);
            font-weight: 700; font-size: 0.9rem;
            letter-spacing: 0.08em; text-transform: uppercase;
            transition: all 0.3s;
        }

        .btn-cta:hover {
            background: #000;
            transform: translateY(-2px);
            box-shadow: 0 8px 32px rgba(26, 26, 46, 0.35);
        }

@media (max-width: 1024px) {
            .packages-grid { grid-template-columns: repeat(2, 1fr); }
        }

        @media (max-width: 768px) {
            .nav { padding: 0.6rem 1.5rem; }
            .nav-logo img { height: 90px; margin: 5px 0 -38px 0; }
            .nav-links { display: none; }
            .nav-hamburger { display: flex; }
            .page-hero { padding: 8rem 1.5rem 3rem; }
            section { padding: 3rem 1.5rem; }
            .packages-grid { grid-template-columns: 1fr; }
            .comparison-wrapper { margin: 0 -1rem; }
            .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
        }
