/* ==========================================================================
   Pinui Psolet — Static Site Stylesheet
   Mobile-first, RTL, optimized for Core Web Vitals
   ========================================================================== */

:root {
    --c-primary: #F57C00;
    --c-primary-dark: #E65100;
    --c-green: #25D366;
    --c-dark: #1a1a2e;
    --c-text: #333;
    --c-bg: #fff;
    --c-light: #f8f9fa;
    --c-border: #e0e0e0;
    --radius: 8px;
    --shadow: 0 2px 12px rgba(0,0,0,.08);
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: "Heebo", sans-serif;
    color: var(--c-text);
    background: var(--c-bg);
    direction: rtl;
    line-height: 1.7;
    font-size: 16px;
    padding-bottom: 56px;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; }
a:hover { color: var(--c-primary-dark); }
ul, ol { padding-right: 1.5em; }
table { width: 100%; border-collapse: collapse; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.content-narrow { max-width: 800px; margin: 0 auto; }

/* --- Header --- */
.site-header {
    background: var(--c-dark);
    color: #fff;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.logo a {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo a:hover { color: var(--c-primary); }
.logo-icon { font-size: 1.5rem; }

/* Nav */
.main-nav { flex: 1; }
.nav-menu { list-style: none; padding: 0; margin: 0; display: none; }
.nav-menu li a {
    color: #fff;
    padding: 10px 14px;
    display: block;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.nav-menu li a:hover { color: var(--c-primary); }

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: all 0.3s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-open .nav-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: var(--c-dark);
    padding: 16px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
}

.header-cta { display: none; }
.btn-phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--c-primary);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.9rem;
    transition: background 0.2s;
}
.btn-phone:hover { background: var(--c-primary-dark); color: #fff; }
.btn-phone svg { flex-shrink: 0; }

/* --- Breadcrumbs --- */
.breadcrumbs {
    background: var(--c-light);
    padding: 10px 0;
    font-size: 0.85rem;
    color: #666;
}
.breadcrumbs a { color: var(--c-primary); }
.breadcrumbs .sep { margin: 0 6px; color: #999; }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-align: center;
    font-family: inherit;
}
.btn-lg { padding: 14px 28px; font-size: 1.1rem; }
.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-primary-dark); color: #fff; }
.btn-whatsapp { background: var(--c-green); color: #fff; }
.btn-whatsapp:hover { background: #1DA851; color: #fff; }
.btn-outline { background: transparent; color: var(--c-primary); border: 2px solid var(--c-primary); }
.btn-outline:hover { background: var(--c-primary); color: #fff; }
.btn-full { width: 100%; }

/* --- Hero --- */
.hero {
    background: linear-gradient(135deg, var(--c-dark) 0%, #16213e 100%);
    color: #fff;
    padding: 48px 0 64px;
}
.hero h1 { font-size: 1.75rem; font-weight: 900; line-height: 1.3; margin-bottom: 16px; }
.hero-subtitle { font-size: 1.1rem; line-height: 1.6; opacity: 0.9; margin-bottom: 24px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.hero-trust { font-size: 0.85rem; opacity: 0.8; margin-bottom: 20px; }

/* Hero image — full-width below text, rounded with subtle shadow */
.hero-img-wrap {
    display: block;
    margin-top: 24px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.35);
    line-height: 0;
}
.hero-img-wrap img {
    width: 100%;
    height: 320px;
    display: block;
    object-fit: cover;
    object-position: center;
}

.hero-form {
    background: #fff;
    color: var(--c-text);
    padding: 24px;
    border-radius: 12px;
    margin-top: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.hero-form h2 { font-size: 1.25rem; margin-bottom: 8px; color: var(--c-dark); }
.hero-form p { font-size: 0.9rem; color: #666; margin-bottom: 16px; }

/* --- Sharuvel intro split section --- */
.sharuvel-intro { background: #FFF3E0; padding: 56px 0; }
.sharuvel-intro-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    max-width: 860px;
    margin: 0 auto;
}
.sharuvel-img-wrap {
    flex: 0 0 auto;
    width: min(280px, 100%);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    line-height: 0;
    order: 2; /* image on left in RTL = visually right side */
}
.sharuvel-img-wrap img { width: 100%; height: auto; display: block; }
.sharuvel-stats { flex: 1; min-width: 240px; order: 1; }
.sharuvel-stats h2 { font-size: 1.5rem; font-weight: 900; color: var(--c-dark); margin: 0 0 20px; border-right: 4px solid var(--c-primary); padding-right: 14px; }
.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
.stat-item:last-of-type { border-bottom: none; }
.stat-num { font-size: 1.4rem; font-weight: 900; color: var(--c-primary); min-width: 100px; flex-shrink: 0; text-align: right; }
.stat-label { font-size: 1rem; color: #444; line-height: 1.4; }

/* --- Page Hero (inner pages) --- */
.page-hero {
    background: linear-gradient(135deg, var(--c-dark) 0%, #16213e 100%);
    color: #fff;
    padding: 40px 0;
    text-align: center;
}
.page-hero h1 { font-size: 1.6rem; font-weight: 900; line-height: 1.3; margin-bottom: 12px; }
.page-hero .hero-subtitle { max-width: 700px; margin: 0 auto 24px; }

/* --- TL;DR --- */
.tldr { background: #FFF3E0; padding: 48px 0; }
.tldr-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.tldr-img-wrap {
    flex: 0 0 auto;
    width: min(440px, 100%);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0,0,0,0.15);
    line-height: 0;
}
.tldr-img-wrap img { width: 100%; height: auto; display: block; }
.tldr-text { flex: 1; min-width: 220px; }
.tldr-title { font-size: 1.4rem; font-weight: 700; color: var(--c-dark); margin: 0 0 12px; border-right: 4px solid var(--c-primary); padding-right: 12px; }
.tldr-text p { font-size: 1rem; line-height: 1.7; margin-bottom: 16px; }
.tldr-bullets { list-style: none; padding: 0; margin: 0; }
.tldr-bullets li { font-size: 0.95rem; line-height: 1.6; padding: 4px 0; }

/* --- Content Sections --- */
.content-section { padding: 48px 0; }
.section-subtitle { color: #666; font-size: 1.05rem; margin-bottom: 32px; }

.content-section h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--c-dark);
    margin: 40px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--c-primary);
}
.content-section h2:first-child { margin-top: 0; }
.content-section h3 { font-size: 1.15rem; font-weight: 600; margin: 24px 0 8px; color: var(--c-dark); }
.content-section p { margin-bottom: 16px; }
.content-section ul, .content-section ol { margin-bottom: 16px; }
.content-section li { margin-bottom: 8px; line-height: 1.6; }

/* --- Services Grid --- */
.services-section { background: var(--c-light); padding: 48px 0; }
.services-section h2, .areas-section h2, .testimonials h2, .how-it-works h2, .pricing-preview h2, .faq-section h2 {
    text-align: center;
    font-size: 1.6rem;
    border: none;
    margin-bottom: 8px;
}
.services-section .section-subtitle, .areas-section .section-subtitle, .pricing-preview .section-subtitle { text-align: center; }

.services-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 24px; }
.service-card {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0,0,0,.12); }
.service-icon { font-size: 2rem; margin-bottom: 12px; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.service-card h3 a { color: var(--c-dark); }
.service-card h3 a:hover { color: var(--c-primary); }
.service-card p { font-size: 0.95rem; color: #555; margin-bottom: 12px; }
.service-price {
    display: inline-block;
    background: #FFF3E0;
    color: var(--c-primary-dark);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

/* --- Price Table --- */
.price-table {
    width: 100%;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    overflow: hidden;
    margin: 16px 0 24px;
    font-size: 0.95rem;
}
.price-table thead { background: var(--c-dark); color: #fff; }
.price-table th { padding: 12px 16px; text-align: right; font-weight: 600; }
.price-table td { padding: 12px 16px; border-bottom: 1px solid var(--c-border); }
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table tbody tr:nth-child(even) { background: var(--c-light); }
.price-cell { font-weight: 700; color: var(--c-primary-dark); white-space: nowrap; }
.pricing-note { font-size: 0.85rem; color: #666; margin-top: 8px; }

/* Responsive table */
@media (max-width: 600px) {
    .price-table { font-size: 0.85rem; }
    .price-table th, .price-table td { padding: 8px 10px; }
}

/* --- Steps --- */
.how-it-works { padding: 48px 0; }
.steps-list { list-style: none; padding: 0; margin: 32px 0; }
.step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 24px;
    padding: 20px;
    background: var(--c-light);
    border-radius: var(--radius);
}
.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    background: var(--c-primary);
    color: #fff;
    font-weight: 900;
    font-size: 1.25rem;
    border-radius: 50%;
    flex-shrink: 0;
}
.step h3 { margin: 0 0 6px; font-size: 1.1rem; }
.step p { margin: 0; color: #555; font-size: 0.95rem; }

/* --- Areas --- */
.areas-section { background: var(--c-light); padding: 48px 0; }
.areas-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
.area-card {
    display: block;
    background: #fff;
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    color: var(--c-text);
    transition: transform 0.2s, box-shadow 0.2s;
    border-right: 4px solid var(--c-primary);
}
.area-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,.12); color: var(--c-text); }
.area-card h3 { font-size: 1.2rem; margin: 0 0 8px; color: var(--c-dark); }
.area-card p { margin: 0; font-size: 0.9rem; color: #666; }

/* --- Neighborhoods --- */
.neighborhoods-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 0; }
.neighborhoods-grid ul { list-style: disc; }

/* --- Two Columns --- */
.two-columns { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 16px 0; }
.column-allowed, .column-forbidden { padding: 20px; border-radius: var(--radius); }
.column-allowed { background: #E8F5E9; border-right: 4px solid #4CAF50; }
.column-forbidden { background: #FFEBEE; border-right: 4px solid #F44336; }
.column-allowed h3 { color: #2E7D32; }
.column-forbidden h3 { color: #C62828; }

/* --- Testimonials --- */
.testimonials { padding: 48px 0; }
.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 24px; }
.testimonial-card {
    background: var(--c-light);
    padding: 24px;
    border-radius: var(--radius);
    border-right: 4px solid var(--c-primary);
    margin: 0;
}
.testimonial-card .stars { margin-bottom: 8px; }
.testimonial-card p { font-size: 0.95rem; line-height: 1.6; margin-bottom: 12px; }
.testimonial-card cite { font-style: normal; font-size: 0.85rem; color: #666; }

/* --- FAQ --- */
.faq-section { padding: 48px 0; background: var(--c-light); }
.faq-section h2 { margin-bottom: 24px; }
.faq-item {
    background: #fff;
    margin-bottom: 8px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.faq-question {
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--c-primary);
    transition: transform 0.2s;
    flex-shrink: 0;
    margin-right: 12px;
}
details[open] .faq-question::after { content: '−'; }
.faq-answer { padding: 0 20px 16px; font-size: 0.95rem; line-height: 1.7; color: #555; }
.faq-more { text-align: center; margin-top: 24px; }

/* --- CTA Banner --- */
.cta-banner {
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
    color: #fff;
    padding: 48px 0;
    text-align: center;
}
.cta-banner h2 { font-size: 1.5rem; margin-bottom: 12px; color: #fff; border: none; }
.cta-banner p { opacity: 0.9; margin-bottom: 24px; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cta-buttons .btn-primary { background: #fff; color: var(--c-primary-dark); }
.cta-buttons .btn-primary:hover { background: #f5f5f5; }

/* --- Page CTA Box --- */
.page-cta-box {
    background: var(--c-light);
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    margin-top: 40px;
}
.page-cta-box h2 { border: none; margin-top: 0; font-size: 1.3rem; }
.page-cta-box p { margin-bottom: 20px; }
.page-cta-box .hero-cta { justify-content: center; }

/* --- Final CTA --- */
.final-cta {
    background: var(--c-dark);
    color: #fff;
    padding: 48px 0;
    text-align: center;
}
.final-cta h2 { color: #fff; border: none; font-size: 1.5rem; margin-bottom: 12px; }
.final-cta p { opacity: 0.9; margin-bottom: 24px; }
.final-cta .hero-cta { justify-content: center; }

/* --- Footer --- */
.site-footer {
    background: var(--c-dark);
    color: #ccc;
    padding: 48px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.footer-col h3 { color: #fff; font-size: 1.1rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #aaa; font-size: 0.9rem; }
.footer-col a:hover { color: var(--c-primary); }
.footer-contact a { display: block; margin-bottom: 8px; color: #ddd; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    margin-top: 32px;
    text-align: center;
    font-size: 0.85rem;
    color: #888;
}

/* --- Sticky CTA --- */
.sticky-cta {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    display: flex;
    z-index: 99;
    box-shadow: 0 -2px 10px rgba(0,0,0,.15);
}
.sticky-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}
.sticky-phone { background: var(--c-primary); }
.sticky-phone:hover { background: var(--c-primary-dark); color: #fff; }
.sticky-wa { background: var(--c-green); }
.sticky-wa:hover { background: #1DA851; color: #fff; }

/* --- Forms --- */
.lead-form .form-group { margin-bottom: 16px; }
.lead-form label { display: block; font-weight: 500; margin-bottom: 4px; font-size: 0.9rem; }
.lead-form input,
.lead-form select,
.lead-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
}
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
    outline: none;
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px rgba(245,124,0,0.15);
}
.form-note { font-size: 0.8rem; color: #888; margin-top: 8px; text-align: center; }
/* tel input: numbers flow LTR but placeholder stays RTL */
.lead-form input[type="tel"] { direction: ltr; text-align: right; }
.lead-form input[type="tel"]::placeholder { direction: rtl; text-align: right; unicode-bidi: plaintext; }

/* --- Contact Page --- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
.contact-method {
    margin-bottom: 24px;
    padding: 20px;
    background: var(--c-light);
    border-radius: var(--radius);
}
.contact-method h3 { margin: 0 0 8px; }
.contact-link { font-size: 1.15rem; font-weight: 600; color: var(--c-primary); display: block; margin-bottom: 4px; }
.hours-table { margin-top: 12px; }
.hours-table td { padding: 8px 16px 8px 0; border-bottom: 1px solid var(--c-border); }
.contact-form-wrapper { background: var(--c-light); padding: 32px; border-radius: 12px; }
.contact-form-wrapper h2 { margin-top: 0; border: none; }

/* --- Features Grid --- */
.features-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 24px 0; }
.feature { background: var(--c-light); padding: 24px; border-radius: var(--radius); text-align: center; }
.feature h3 { margin-bottom: 8px; }
.feature p { font-size: 0.95rem; color: #555; margin: 0; }

/* --- Map --- */
.map-container { margin: 16px 0 32px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

/* --- Pricing Preview --- */
.pricing-preview { padding: 48px 0; }

/* ==========================================================================
   Tablet (768px+)
   ========================================================================== */
@media (min-width: 768px) {
    .hero h1 { font-size: 2.25rem; }
    .page-hero h1 { font-size: 2rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .areas-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .two-columns { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr 1fr; }
    .header-cta { display: block; }
}

/* ==========================================================================
   Desktop (1024px+)
   ========================================================================== */
@media (min-width: 1024px) {
    .hero h1 { font-size: 2.5rem; }
    .page-hero h1 { font-size: 2.25rem; }
    .menu-toggle { display: none; }
    .nav-menu { display: flex !important; gap: 4px; }
    .hero > .container { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: stretch; }
    .hero-form { margin-top: 0; display: flex; flex-direction: column; }
    .hero-form form.lead-form { flex: 1; display: flex; flex-direction: column; }
    .hero-form .form-note { margin-top: auto; padding-top: 8px; }
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
    .features-grid { grid-template-columns: repeat(4, 1fr); }
    .sticky-cta { display: none; }
    body { padding-bottom: 0; }
}

/* --- Print --- */
@media print {
    .site-header, .sticky-cta, .cta-banner, .hero-cta, .btn { display: none; }
    body { padding: 0; font-size: 12pt; }
}
