:root {
    --primary: #2E7D32;
    --primary-dark: #1B5E20;
    --accent: #FFA000;
    --dark: #1C2833;
    --gray: #5D6D7E;
    --light-bg: #F5F7F5;
    --white: #FFFFFF;
    --shadow: 0 10px 30px rgba(0,0,0,0.07);
    --radius: 20px;
}
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Tajawal', 'Cairo', sans-serif;
    background: var(--light-bg);
    color: var(--dark);
    line-height: 1.7;
    direction: rtl;
    text-align: right;
}
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- Skip link --- */
.skip-link {
    position: absolute; top: -40px; right: 0;
    background: var(--primary); color: #fff;
    padding: 8px 16px; z-index: 9999;
}
.skip-link:focus { top: 0; }

/* --- Navbar --- */
.navbar {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    position: fixed; width: 100%; top: 0; z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.nav-container {
    display: flex; justify-content: space-between; align-items: center;
    height: 74px; max-width: 1140px; margin: 0 auto; padding: 0 20px;
}
.logo {
    font-family: 'Cairo', sans-serif;
    font-weight: 800; font-size: 1.25rem;
    color: var(--primary);
}
.nav-links { display: flex; gap: 1.5rem; }
.nav-links a {
    font-weight: 500; font-size: 0.95rem;
    transition: 0.25s; padding: 6px 4px; border-radius: 6px;
}
.nav-links a:hover,
.nav-links a.active { color: var(--primary); background: rgba(46,125,50,0.07); }
.hamburger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer;
}
.hamburger span { width: 26px; height: 2px; background: var(--dark); transition: 0.3s; }

/* --- Hero --- */
.hero {
    background: linear-gradient(135deg, #1B3A2A 0%, #2E7D32 100%);
    min-height: 88vh; display: flex; align-items: center;
    text-align: center; position: relative; color: #fff;
    padding: 120px 20px 80px;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: url('../img/hero-climbing.jpg') center/cover no-repeat;
    opacity: 0.35;
}
.hero-content { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; }
.hero-eyebrow { color: var(--accent); font-weight: 600; letter-spacing: 1px; margin-bottom: 1rem; }
.hero h1 {
    font-family: 'Cairo', sans-serif;
    font-size: 3rem; font-weight: 800;
    margin: 0.5rem 0 1rem; line-height: 1.2;
}
.hero-sub { font-size: 1.15rem; opacity: 0.92; margin-bottom: 2rem; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* --- Buttons --- */
.btn {
    display: inline-block; padding: 12px 28px;
    border-radius: 40px; font-weight: 700; font-family: inherit;
    transition: 0.3s; border: none; cursor: pointer; font-size: 1rem;
}
.btn-primary {
    background: var(--primary); color: #fff;
    box-shadow: 0 4px 14px rgba(46,125,50,0.35);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--primary); }
.btn-full { width: 100%; }

/* --- Sections --- */
.section { padding: 80px 0; }
.light-bg { background: #fff; }
.section-title {
    font-family: 'Cairo', sans-serif;
    font-size: 2.2rem; text-align: center;
    margin-bottom: 2.5rem; color: var(--dark); font-weight: 800;
}
.section-subtitle { text-align: center; color: var(--gray); margin: -1.5rem auto 2.5rem; max-width: 700px; }

/* --- Two columns --- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.two-col img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* --- Cards --- */
.cards-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}
.card {
    background: #fff; padding: 1.8rem 1.5rem;
    border-radius: var(--radius); box-shadow: var(--shadow);
    transition: 0.3s;
}
.card:hover { transform: translateY(-6px); }
.card-icon { font-size: 2rem; margin-bottom: 0.8rem; }
.card h3 { font-family: 'Cairo', sans-serif; margin-bottom: 0.5rem; color: var(--dark); }
.card p { color: var(--gray); font-size: 0.95rem; }

/* --- Price cards --- */
.price-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem; margin-top: 2rem;
}
.price-card {
    background: #fff; border-radius: var(--radius);
    padding: 2rem 1.5rem; box-shadow: var(--shadow);
    text-align: center; position: relative;
    display: flex; flex-direction: column;
    border-top: 5px solid var(--primary);
}
.price-card.featured { transform: scale(1.03); border-top-color: var(--accent); }
.badge {
    position: absolute; top: -14px; right: 50%; transform: translateX(50%);
    background: var(--accent); color: #fff; font-weight: 700;
    padding: 4px 14px; border-radius: 20px; font-size: 0.8rem;
}
.price-card h3 { font-family: 'Cairo', sans-serif; margin-bottom: 0.5rem; }
.price { font-size: 2rem; font-weight: 800; color: var(--primary); margin: 1rem 0; }
.price-card ul { text-align: right; margin: 1rem 0; padding: 0; color: var(--gray); font-size: 0.95rem; }
.price-card li { padding: 4px 0; }
.price-card .btn { margin-top: auto; }
.price-note { text-align: center; color: var(--gray); font-size: 0.9rem; margin-top: 1.5rem; }

/* --- Testimonials --- */
.testimonials-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.testimonial {
    background: #fff; padding: 1.8rem;
    border-radius: var(--radius); box-shadow: var(--shadow);
    text-align: center;
}
.testimonial img,
.testimonial .avatar {
    width: 70px; height: 70px; border-radius: 50%;
    object-fit: cover; margin: 0 auto 1rem;
    border: 3px solid var(--primary);
}
.testimonial .avatar {
    background: var(--primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; font-weight: 800;
}
.quote { font-style: italic; color: var(--gray); margin-bottom: 0.8rem; }
.author { font-weight: 700; color: var(--dark); }

/* --- Commercial grid --- */
.commercial-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.commercial-item {
    background: #fff; padding: 1.8rem; border-radius: var(--radius);
    box-shadow: var(--shadow); border-right: 4px solid var(--primary);
}
.commercial-item h3 { font-family: 'Cairo', sans-serif; margin-bottom: 0.5rem; }

/* --- Order form --- */
.order-section { background: #fff; padding: 80px 0; }
.order-form {
    max-width: 720px; margin: 0 auto;
    background: var(--light-bg); padding: 2.5rem;
    border-radius: var(--radius); box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-weight: 700; margin-bottom: 0.4rem; color: var(--dark); }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%; padding: 12px 14px;
    border: 1.5px solid #dcdcdc; border-radius: 12px;
    font-family: inherit; font-size: 1rem; background: #fff;
    transition: 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none; border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(46,125,50,0.12);
}
.form-note { font-size: 0.85rem; color: var(--gray); margin-top: 1rem; text-align: center; }
.form-note a { color: var(--primary); text-decoration: underline; }

.flash {
    max-width: 720px; margin: 0 auto 1.5rem;
    padding: 1rem 1.4rem; border-radius: 12px;
    font-weight: 500; text-align: center;
}
.flash-success { background: #e8f5e9; color: #1B5E20; border: 1px solid #a5d6a7; }
.flash-error { background: #ffebee; color: #b71c1c; border: 1px solid #ef9a9a; }

/* --- Page header --- */
.page-header {
    background: linear-gradient(135deg, #1B3A2A, #2E7D32);
    color: #fff; padding: 140px 0 70px; text-align: center;
}
.page-header h1 { font-family: 'Cairo', sans-serif; font-size: 2.6rem; margin-bottom: 0.5rem; }
.page-header p { font-size: 1.1rem; opacity: 0.92; }

/* --- Articles --- */
.articles-list { display: flex; flex-direction: column; gap: 2.5rem; }
.article-card {
    background: #fff; border-radius: var(--radius);
    box-shadow: var(--shadow); overflow: hidden;
}
.article-card img { width: 100%; height: 340px; object-fit: cover; }
.article-card h2 {
    font-family: 'Cairo', sans-serif;
    padding: 1.5rem 2rem 0.5rem; font-size: 1.5rem;
}
.article-card > p { padding: 0 2rem; color: var(--gray); }
.article-card details { padding: 0.5rem 2rem 2rem; }
.article-card summary {
    cursor: pointer; color: var(--primary); font-weight: 700;
    padding: 0.5rem 0; list-style: none;
}
.article-card summary::-webkit-details-marker { display: none; }
.article-card summary::before { content: "▸ "; }
.article-card details[open] summary::before { content: "▾ "; }
.article-card details h3 {
    font-family: 'Cairo', sans-serif; color: var(--primary-dark);
    margin: 1rem 0 0.3rem; font-size: 1.1rem;
}
.article-card details p { color: var(--gray); margin-bottom: 0.5rem; }

/* --- System reviews --- */
.system-list { display: flex; flex-direction: column; gap: 2.5rem; }
.system-review {
    background: #fff; border-radius: var(--radius);
    box-shadow: var(--shadow); overflow: hidden;
    padding-bottom: 1.5rem;
}
.system-review img { width: 100%; height: 320px; object-fit: cover; }
.system-review h2 {
    font-family: 'Cairo', sans-serif;
    padding: 1.5rem 2rem 0.5rem; font-size: 1.4rem;
}
.system-review > p { padding: 0 2rem; color: var(--gray); }
.pros-cons {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
    padding: 1rem 2rem;
}
.pros, .cons { padding: 1rem 1.2rem; border-radius: 12px; }
.pros { background: #e8f5e9; }
.cons { background: #fff3e0; }
.pros h3, .cons h3 { font-family: 'Cairo', sans-serif; font-size: 1rem; margin-bottom: 0.5rem; }
.pros li, .cons li { font-size: 0.92rem; color: var(--dark); padding: 2px 0; }
.suitability {
    padding: 0.5rem 2rem; font-weight: 700; color: var(--primary-dark);
}

/* --- Contact --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2.5rem; }
.contact-info {
    background: #fff; padding: 2rem;
    border-radius: var(--radius); box-shadow: var(--shadow);
}
.contact-info h2 { font-family: 'Cairo', sans-serif; margin-bottom: 1.5rem; }
.contact-info p { margin-bottom: 1rem; }
.contact-info a { color: var(--primary); }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

/* --- Legal --- */
.legal-box {
    background: #fff; padding: 2.5rem;
    border-radius: var(--radius); box-shadow: var(--shadow);
    max-width: 820px; margin: 0 auto;
}
.legal-box h3 { font-family: 'Cairo', sans-serif; color: var(--primary-dark); margin: 1.5rem 0 0.5rem; }
.legal-box p { color: var(--gray); margin-bottom: 0.8rem; }
.legal-box a { color: var(--primary); text-decoration: underline; }
.muted { color: #999; font-size: 0.9rem; margin-top: 1.5rem; }

/* --- Team --- */
.team-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}
.team-card {
    background: #fff; padding: 1.5rem; text-align: center;
    border-radius: var(--radius); box-shadow: var(--shadow);
}
.team-card img {
    width: 140px; height: 140px; border-radius: 50%;
    object-fit: cover; margin: 0 auto 1rem; border: 4px solid var(--primary);
}
.team-card h3 { font-family: 'Cairo', sans-serif; font-size: 1.1rem; margin-bottom: 0.3rem; }
.team-card p { color: var(--gray); font-size: 0.9rem; }

/* --- Check list --- */
.check-list li { padding: 8px 0; font-size: 1rem; }

/* --- Prices table --- */
.table-wrap { overflow-x: auto; }
.prices-table {
    width: 100%; border-collapse: collapse; background: #fff;
    border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow);
}
.prices-table th, .prices-table td {
    padding: 14px 18px; text-align: right; border-bottom: 1px solid #eee;
}
.prices-table th { background: var(--primary); color: #fff; font-family: 'Cairo', sans-serif; }
.prices-table tr:hover { background: #f5f7f5; }

/* --- FAQ --- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
    background: #fff; border-radius: 12px; padding: 1rem 1.5rem;
    margin-bottom: 0.8rem; box-shadow: var(--shadow);
}
.faq summary {
    cursor: pointer; font-weight: 700; color: var(--dark);
    list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "▸ "; color: var(--primary); }
.faq details[open] summary::before { content: "▾ "; }
.faq p { margin-top: 0.7rem; color: var(--gray); }

/* --- Footer --- */
.footer { background: #142418; color: #b6c4b6; padding: 3rem 0 1rem; margin-top: 0; }
.footer-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem; margin-bottom: 2rem;
}
.footer h3, .footer h4 { color: #fff; font-family: 'Cairo', sans-serif; margin-bottom: 0.8rem; }
.footer a { color: #b6c4b6; transition: 0.2s; }
.footer a:hover { color: var(--accent); }
.footer-bottom {
    border-top: 1px solid #2a3a2e; padding-top: 1.2rem;
    text-align: center; font-size: 0.9rem;
}

/* --- Back to top --- */
.back-to-top {
    position: fixed; bottom: 24px; left: 24px;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--primary); color: #fff;
    border: none; cursor: pointer; font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    opacity: 0; visibility: hidden; transition: 0.3s; z-index: 999;
}
.back-to-top.show { opacity: 1; visibility: visible; }

/* --- Responsive --- */
@media (max-width: 900px) {
    .hero h1 { font-size: 2.2rem; }
    .section-title { font-size: 1.8rem; }
    .two-col, .contact-grid, .pros-cons { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .price-card.featured { transform: none; }
}
@media (max-width: 768px) {
    .nav-links {
        display: none; position: absolute; top: 74px; right: 0; left: 0;
        background: #fff; flex-direction: column;
        padding: 1.5rem; gap: 1rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.07);
    }
    .nav-links.active { display: flex; }
    .hamburger { display: flex; }
    .article-card img, .system-review img { height: 220px; }
    .order-form { padding: 1.5rem; }
}
