@import url('https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&display=swap');
/* =========================================================
   Custom pages: design variables + ready-made template blocks
   Every colour below comes from the page design panel, so the
   administrator can restyle any page live from Edit Mode.
   ========================================================= */

.lv-page-root {
    --pg-bg: #FBF6EE;
    --pg-text: #3D2810;
    --pg-heading: #3D2810;
    --pg-accent: #C8973A;
    --pg-card: #FFFFFF;
    --pg-button-bg: #751A1D;
    --pg-button-text: #FFFFFF;
    --pg-border: #E8D5B5;
    --pg-width: 1000px;
    --pg-radius: 16px;
    --pg-font-size: 17px;
    --pg-font: 'Cairo', 'Tajawal', Arial, sans-serif;

    background: var(--pg-bg);
    color: var(--pg-text);
    font-family: var(--pg-font);
    font-size: var(--pg-font-size);
    padding: 46px 18px 60px;
}

.lv-page-inner {
    max-width: var(--pg-width);
    margin: 0 auto;
}

.lv-page-root h1, .lv-page-root h2, .lv-page-root h3,
.lv-page-root h4, .lv-page-root h5 { color: var(--pg-heading); line-height: 1.35; }
.lv-page-root h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: 14px; }
.lv-page-root h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 12px; }
.lv-page-root h3 { font-size: 1.12rem; margin-bottom: 8px; }
.lv-page-root p  { margin-bottom: 14px; line-height: 1.9; }
.lv-page-root a  { color: var(--pg-accent); }
.lv-page-root img { max-width: 100%; height: auto; border-radius: var(--pg-radius); display: block; }
.lv-page-root hr { border: 0; border-top: 1px solid var(--pg-border); margin: 28px 0; }

/* ---------------- Template blocks ---------------- */
.tpl-block { margin-bottom: 46px; }
.tpl-center { text-align: center; }

.tpl-eyebrow {
    display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: 2px;
    color: var(--pg-accent);
    border: 1px solid color-mix(in srgb, var(--pg-accent) 45%, transparent);
    background: color-mix(in srgb, var(--pg-accent) 12%, transparent);
    border-radius: 30px; padding: 6px 16px; margin-bottom: 14px;
}

.tpl-lead { font-size: 1.06em; opacity: .92; }

.tpl-section-title { margin-bottom: 22px; }

.tpl-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.tpl-actions.tpl-center { justify-content: center; }

.tpl-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 26px; border-radius: 40px;
    background: var(--pg-button-bg); color: var(--pg-button-text) !important;
    font-weight: 700; font-size: .92rem; text-decoration: none;
    border: 1px solid transparent; transition: transform .18s ease, filter .18s ease;
}
.tpl-btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.tpl-btn-ghost {
    background: transparent; color: var(--pg-accent) !important;
    border-color: color-mix(in srgb, var(--pg-accent) 55%, transparent);
}

/* Hero */
.tpl-hero-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
.tpl-hero-media img { border-radius: var(--pg-radius); box-shadow: 0 18px 40px rgba(0,0,0,.16); }

/* Grid + cards */
.tpl-grid { display: grid; gap: 20px; }
.tpl-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tpl-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.tpl-card {
    background: var(--pg-card);
    border: 1px solid var(--pg-border);
    border-radius: var(--pg-radius);
    padding: 24px;
}
.tpl-card-row { display: flex; gap: 16px; align-items: flex-start; }
.tpl-icon {
    width: 46px; height: 46px; flex: 0 0 46px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 14px; font-weight: 800; font-size: 1.1rem;
    background: color-mix(in srgb, var(--pg-accent) 16%, transparent);
    color: var(--pg-accent);
    margin-bottom: 12px;
}

/* Split section */
.tpl-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: center; }

.tpl-list { list-style: none; padding: 0; margin: 0 0 18px; }
.tpl-list li { position: relative; padding-inline-start: 20px; margin-bottom: 9px; }
.tpl-list li::before {
    content: ''; position: absolute; inset-inline-start: 0; top: .62em;
    width: 8px; height: 8px; border-radius: 50%; background: var(--pg-accent);
}

/* Stats */
.tpl-stat {
    text-align: center; padding: 22px; border-radius: var(--pg-radius);
    background: var(--pg-card); border: 1px solid var(--pg-border);
}
.tpl-stat strong { display: block; font-size: 1.9rem; color: var(--pg-accent); }
.tpl-stat span { font-size: .9rem; opacity: .8; }

/* Quote */
.tpl-quote {
    text-align: center; padding: 34px 24px;
    border-radius: var(--pg-radius);
    background: color-mix(in srgb, var(--pg-accent) 10%, transparent);
    border: 1px solid var(--pg-border);
}
.tpl-quote blockquote { font-size: 1.16em; font-weight: 600; margin: 0 0 10px; color: var(--pg-heading); }
.tpl-quote cite { font-style: normal; opacity: .75; font-size: .9rem; }

/* Prices */
.tpl-price {
    position: relative; text-align: center; padding: 28px 22px;
    background: var(--pg-card); border: 1px solid var(--pg-border);
    border-radius: var(--pg-radius);
}
.tpl-price-featured {
    border-color: var(--pg-accent);
    box-shadow: 0 18px 40px color-mix(in srgb, var(--pg-accent) 22%, transparent);
}
.tpl-price-tag { font-size: 2rem; font-weight: 800; color: var(--pg-accent); margin: 8px 0 14px; }
.tpl-price-tag small { font-size: .8rem; font-weight: 600; }
.tpl-price .tpl-list { text-align: start; display: inline-block; }
.tpl-badge {
    position: absolute; top: -13px; inset-inline-start: 50%; transform: translateX(50%);
    background: var(--pg-accent); color: #1C140D;
    font-size: .72rem; font-weight: 800; padding: 5px 14px; border-radius: 30px;
}

/* FAQ */
.tpl-faq-item {
    background: var(--pg-card); border: 1px solid var(--pg-border);
    border-radius: var(--pg-radius); padding: 18px 20px; margin-bottom: 12px;
}
.tpl-faq-item p { margin: 0; }

/* CTA */
.tpl-cta {
    text-align: center; padding: 40px 24px;
    border-radius: var(--pg-radius);
    background: var(--pg-card); border: 1px solid var(--pg-border);
}

@media (max-width: 880px) {
    .tpl-hero-split, .tpl-split, .tpl-grid-2, .tpl-grid-3 { grid-template-columns: 1fr; }
    .lv-page-root { padding: 30px 14px 44px; }
}
