/* ============================================
   Varanasi Astrologer - Design as per Reference
   (synced from old_code and extended for dynamic PHP)
   ============================================ */

 :root {
    --red: #f97316;
    --red-dark: #ea580c;
    --red-light: #fb923c;
    --brown: #9a3412;
    --brown-dark: #7c2d12;
    --orange: #f97316;
    --orange-dark: #ea580c;

    --white: #ffffff;
    --cream: #fff7ed;
    --text: #0f172a;
    --text-light: #1f2937;
    --nav-dark: #d97706;
    --nav-accent: #fb923c;
    --nav-accent-deep: #f97316;
    --nav-accent-soft: #fff1e6;
    --nav-ink: #0f172a;

    --surface: #ffffff;
    --surface-muted: #fff4e6;
    --border: #e2e8f0;
    --border-warm: rgba(249, 115, 22, 0.18);
    --shadow: 0 30px 70px rgba(15, 23, 42, 0.12);
    --shadow-soft: 0 16px 40px rgba(15, 23, 42, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.4);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    --radius-lg: 18px;
    --radius-xl: 26px;
    --icon-bg: #fff7ed;
    --icon-border: rgba(249, 115, 22, 0.22);
    --icon-shadow: 0 8px 18px rgba(249, 115, 22, 0.18);
    --icon-color: #ea580c;

    --gradient-dark: linear-gradient(135deg, #8a3410 0%, #62220a 55%, #8a3410 100%);
    --gradient-hero: linear-gradient(135deg, #3a1404 0%, #7c2d12 45%, #2a0f04 100%);
    --page-bg: #fff1e6;
    --header-height: 64px;

    /* Hero background can be overridden per-page by inline CSS variable */
    --hero-bg-url: url('https://images.unsplash.com/photo-1611945212123-299a3a93b5de?w=1200');
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
body {
    font-family: 'Manrope', -apple-system, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--page-bg);
    padding-top: 0;
}

/* ========== Motion ========== */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        transition: none;
        transform: none;
        opacity: 1;
    }
}
h1, h2, h3, h4 {
    font-family: 'Space Grotesk', 'Manrope', sans-serif;
    letter-spacing: -0.01em;
}
a { text-decoration: none; color: inherit; transition: all 0.3s; }
img { max-width: 100%; height: auto; display: block; }

/* Better Hindi/Devanagari rendering on Windows */
:lang(hi) {
    font-family: "Nirmala UI", "Mangal", "Noto Sans Devanagari", "Source Sans 3", -apple-system, sans-serif;
    letter-spacing: 0;
}

/* ========== Top Bar ========== */
.top-bar {
    background: linear-gradient(90deg, #ffe9d6 0%, #ffd2b3 45%, #ffe9d6 100%);
    color: #1f2937;
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.top-bar a {
    color: #1f2937;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.top-bar .wa-icon { color: #25D366; }
.top-bar .top-links { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }

.top-brand { display: flex; align-items: center; gap: 10px; }
.top-logo-icon { width: 28px; height: 28px; font-size: 14px; }

/* ========== Header ========== */
header {
    background: linear-gradient(90deg, #ffe9d6 0%, #ffd2b3 45%, #ffe9d6 100%);
    backdrop-filter: none;
    border-bottom: none;
    box-shadow: none;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 22px;
}

.logo {
    font-family: 'Space Grotesk', 'Manrope', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--nav-ink);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: transparent;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    flex: 0 0 40px;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 18px;
    flex-wrap: nowrap;
}

nav ul li a {
    padding: 8px 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--nav-ink);
    border-radius: 999px;
    background: transparent;
    border: 1px solid transparent;
    font-size: 14px;
    white-space: nowrap;
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--nav-ink);
    background: var(--page-bg);
    border-color: rgba(249, 115, 22, 0.18);
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.08);
    transform: translateY(-1px);
}

.header-phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header-phone {
    font-weight: 700;
    font-size: 15px;
    color: var(--nav-accent-deep);
    background: var(--nav-accent-soft);
    padding: 8px 14px;
    border-radius: 999px;
}

.btn-call {
    padding: 10px 22px;
    background: linear-gradient(135deg, var(--nav-accent) 0%, var(--nav-accent-deep) 100%);
    color: var(--white) !important;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 16px 30px rgba(249, 115, 22, 0.28);
}

.btn-call:hover {
    background: #ea580c;
}

/* ========== Hero - Gemstones ========== */
.hero-banner {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: var(--gradient-hero);
    background-image:
        linear-gradient(95deg, rgba(20,7,2,0.92) 0%, rgba(61,27,7,0.72) 45%, rgba(61,27,7,0.2) 100%),
        var(--hero-bg-url);
    background-size: cover;
    background-position: center;
    padding: 80px 20px 90px;
}

.hero-slider-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-slide.is-active {
    opacity: 1;
}

.hero-slide.pan-left {
    animation: hero-pan-left 14s linear infinite alternate;
}

.hero-slide.pan-right {
    animation: hero-pan-right 14s linear infinite alternate;
}

@keyframes hero-pan-left {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

@keyframes hero-pan-right {
    0% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-slider-ui {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.hero-dots {
    position: absolute;
    top: 18px;
    left: 18px;
    display: flex;
    gap: 10px;
    align-items: center;
    background: rgba(15, 23, 42, 0.2);
    border-radius: 999px;
    padding: 6px 10px;
    backdrop-filter: blur(8px) saturate(120%);
    -webkit-backdrop-filter: blur(8px) saturate(120%);
}

.hero-dot {
    width: 18px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.2s ease;
    cursor: pointer;
    pointer-events: auto;
}

.hero-dot.is-active {
    width: 34px;
    background: #ffffff;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.hero-arrows {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: auto;
}

.hero-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(8px) saturate(120%);
    -webkit-backdrop-filter: blur(8px) saturate(120%);
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.55);
    color: #1f2937;
}

.hero-arrow:active {
    transform: translateY(1px);
}

.hero-slider-ui.is-hidden {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 560px;
    text-align: left;
    background: var(--glass-bg);
    backdrop-filter: blur(10px) saturate(120%);
    padding: 28px 32px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.hero-slider .hero-content {
    background: transparent;
    backdrop-filter: none;
    padding: 0;
    border: none;
    box-shadow: none;
    max-width: 520px;
}

.hero-slider .hero-content h1 {
    font-size: clamp(32px, 4.4vw, 48px);
    line-height: 1.15;
    margin-bottom: 14px;
}

.hero-content h1 {
    font-size: clamp(30px, 4vw, 46px);
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}
.hero-subtext {
    color: var(--white);
    opacity: 0.92;
    margin-bottom: 12px;
    font-size: 16px;
}
.hero-quick-contact {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    color: var(--nav-ink);
    font-weight: 700;
    margin-bottom: 16px;
}
.hero-quick-contact i { margin-right: 6px; }

.hero-quick-contact .whatsapp-text {
    color: #1f9f4a;
}

.hero-cta-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    background: linear-gradient(90deg, rgba(249,115,22,0.95) 0%, rgba(234,88,12,0.95) 100%);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.hero-cta-bar .contact-no {
    color: var(--white);
    font-weight: 700;
    font-size: 18px;
}

.hero-cta-bar .talk-now {
    background: var(--nav-accent-deep);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 600;
}

/* ========== Section Styles ========== */
section {
    padding: 56px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-subtitle {
    font-size: 12px;
    color: var(--nav-accent-deep);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 10px;
    font-weight: 700;
}

.section-title {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
    position: relative;
}
.section-title .subtitle {
    margin-top: 6px;
    color: var(--text-light);
}

.section-title::after {
    content: "";
    width: 72px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--nav-accent) 0%, var(--nav-accent-deep) 100%);
    opacity: 0.85;
}

.section-title h2 {
    font-size: clamp(28px, 3.2vw, 38px);
    color: var(--text);
    margin-bottom: 0;
}

/* ========== About Us ========== */
.about-section {
    background: transparent;
    border-radius: var(--radius-xl);
    padding: 48px 24px;
    margin: 0 auto 18px;
    max-width: 1180px;
    box-shadow: none;
    border: none;
}

.about-content {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    background: transparent;
    border-radius: var(--radius-lg);
    padding: 34px 34px 30px;
    border: none;
    box-shadow: none;
}

.about-text .section-subtitle { margin-bottom: 10px; }
.about-text h2 { color: var(--text); margin-bottom: 18px; font-size: clamp(28px, 3vw, 34px); line-height: 1.2; }
.about-text p { color: var(--text-light); margin-bottom: 14px; font-size: 16px; }
.about-text .phone-large { font-size: 20px; font-weight: 700; color: var(--nav-accent-deep); margin: 18px 0 10px; display: block; }

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
}

.about-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.08) 100%);
    pointer-events: none;
}

.about-image img { width: 100%; height: 360px; object-fit: cover; }

.about-image.placeholder {
    background: linear-gradient(135deg, #fff3e6 0%, #ffe1c7 100%);
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: rgba(124, 45, 18, 0.55);
}

.about-caption {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 12px;
    text-align: center;
}

/* ========== CTA Banner ========== */
.contact-cta {
    background: var(--page-bg);
    color: var(--text);
    padding: 32px 20px;
    text-align: center;
}

.contact-cta .section-subtitle { color: var(--nav-accent-deep); }
.contact-cta h3 { font-size: 22px; margin-bottom: 15px; }
.contact-cta .phone {
    font-size: 30px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 15px 0;
    color: var(--nav-accent-deep);
}

.cta-text { margin: 25px auto 15px; max-width: 800px; }

/* ========== Services ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 26px;
}

.service-card {
    background: var(--glass-bg);
    border-radius: 20px;
    padding: 26px 26px 22px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--glass-border);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 280px;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.14);
}

.service-card .offer-tag {
    font-size: 11px;
    color: var(--nav-accent-deep);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.service-card .icon {
    width: 58px;
    height: 58px;
    background: var(--icon-bg);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--icon-color);
    margin-bottom: 16px;
    box-shadow: var(--icon-shadow);
    border: 1px solid var(--icon-border);
}

.service-card .icon.icon-heart {
    color: #ef4444;
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text);
}

.service-card p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 18px;
    min-height: 64px;
}

.service-card .btn {
    display: inline-block;
    padding: 10px 18px;
    background: linear-gradient(135deg, var(--nav-accent) 0%, var(--nav-accent-deep) 100%);
    color: var(--white) !important;
    font-weight: 600;
    border-radius: 999px;
    font-size: 13px;
    margin-top: auto;
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-card .btn:hover {
    background: var(--red-dark);
}

/* ========== Hindi Banner ========== */
.hindi-banner {
    background: var(--page-bg);
    color: var(--text);
    padding: 55px 20px;
    text-align: center;
    border-radius: var(--radius-xl);
    border: none;
}

.hindi-banner p {
    font-size: 18px;
    line-height: 1.9;
    max-width: 900px;
    margin: 0 auto;
}

.hindi-banner-cta { margin-top: 22px; }
.hindi-banner-cta a { color: var(--nav-accent-deep); font-weight: 700; font-size: 22px; }

.hindi-banner.hindi-banner-compact { padding: 35px 20px; }

/* ========== Pitra Dosh ========== */
.pitra-section { background: transparent; }
.pitra-content {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
    align-items: center;
    background: var(--page-bg);
    border-radius: var(--radius-xl);
    padding: 50px;
    box-shadow: none;
    border: none;
}

.pitra-image {
    background: linear-gradient(135deg, #ffe4cc 0%, #ffd4b5 100%);
    height: 320px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    color: rgba(124, 45, 18, 0.6);
    box-shadow: none;
}

.pitra-image.pitra-image-photo { padding: 0; font-size: 0; }
.pitra-image.pitra-image-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.pitra-text {
    background: transparent;
    border-radius: var(--radius-lg);
    padding: 0;
    box-shadow: none;
}
.pitra-text p { color: var(--text-light); font-size: 15px; margin-bottom: 16px; }
.pitra-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.pitra-cta .phone-large {
    margin: 0;
    font-size: 18px;
    color: var(--nav-accent-deep);
}

/* ========== Products ========== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.product-card {
    background: var(--glass-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--glass-border);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover,
.award-card:hover,
.testimonial-card:hover,
.service-card:hover {
    transform: translateY(-4px);
}

.product-card:hover { transform: translateY(-5px); }

.product-card .product-img {
    height: 200px;
    background: #ffe7d3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--nav-accent-deep);
}

.product-card .product-info { padding: 25px; }
.product-card h3 { font-size: 18px; margin-bottom: 10px; }
.product-card p { color: var(--text-light); font-size: 14px; }

/* ========== Testimonials ========== */
.testimonials-section {
    background: transparent;
    color: var(--text);
    padding: 48px 20px;
    border-radius: var(--radius-xl);
    max-width: 1180px;
    margin: 0 auto 40px;
}

.testimonials-section .section-subtitle { color: var(--nav-accent-deep); }
.testimonials-section .section-title h2 { color: var(--text); }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

.testimonial-card {
    background: var(--glass-bg);
    color: var(--text);
    padding: 28px 26px;
    border-radius: 20px;
    position: relative;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 18px;
    min-height: 240px;
}

.testimonial-card p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-light);
    font-style: normal;
    position: relative;
}

.testimonial-card p::before {
    content: "“";
    font-size: 42px;
    color: rgba(249, 115, 22, 0.35);
    position: absolute;
    left: -4px;
    top: -18px;
    font-family: 'Space Grotesk', sans-serif;
}

.testimonial-card .author {
    font-weight: 700;
    color: var(--text);
}

.testimonial-card .role {
    color: var(--nav-accent-deep);
    font-weight: 600;
}

.testimonial-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* ========== Awards ========== */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 26px;
}

.award-card {
    background: var(--glass-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--glass-border);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.award-card:hover { transform: translateY(-5px); }

.award-card .award-img {
    height: 180px;
    background: linear-gradient(135deg, #ffeede 0%, #ffd8b8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--nav-accent-deep);
}

.award-card .award-info { padding: 20px; }
.award-card h3 { font-size: 15px; }

/* ========== Footer ========== */
footer {
    background: linear-gradient(90deg, #ffe9d6 0%, #ffd2b3 45%, #ffe9d6 100%);
    color: #1f2937;
    padding: 22px 20px 16px;
    border-top: none;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo-icon {
    width: 36px;
    height: 36px;
    background: transparent;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

footer h4 { font-size: 18px; margin-bottom: 20px; color: #1f2937; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer ul li a:hover { color: #7c2d12; }

footer ul li a i {
    margin-right: 6px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    opacity: 0.95;
}

.footer-contact i {
    color: #7c2d12;
    margin-top: 4px;
    min-width: 18px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(124, 45, 18, 0.2);
    font-size: 14px;
    opacity: 0.9;
}

/* ========== Buttons ========== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--nav-accent) 0%, var(--nav-accent-deep) 100%);
    color: var(--white) !important;
    font-weight: 600;
    border-radius: 999px;
    font-size: 15px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 16px 30px rgba(249, 115, 22, 0.25);
}

.btn:hover { transform: translateY(-1px); box-shadow: 0 20px 40px rgba(249, 115, 22, 0.28); }

.btn.btn-outline {
    background: #25D366;
    color: #ffffff !important;
    box-shadow: 0 16px 30px rgba(37, 211, 102, 0.25);
}

.btn.btn-outline:hover {
    background: #1fb455;
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.28);
}

.btn-green { background: #2e7d32; }
.btn-green:hover { background: #1b5e20; }

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    right: 20px;
    bottom: 24px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25D366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 36px rgba(37, 211, 102, 0.35);
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    transition: all 0.25s ease;
    z-index: 9999;
    font-size: 22px;
}

.floating-call {
    position: fixed;
    right: 20px;
    bottom: 90px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--nav-accent) 0%, var(--nav-accent-deep) 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 36px rgba(249, 115, 22, 0.35);
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    transition: all 0.25s ease;
    z-index: 9999;
    font-size: 22px;
}

.floating-top {
    position: fixed;
    right: 20px;
    bottom: 156px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--nav-accent) 0%, var(--nav-accent-deep) 100%);
    color: #ffffff;
    font-size: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.25);
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
}

.floating-top.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.floating-top:hover {
    background: #ea580c;
    transform: translateY(-2px);
}

/* ========== Mobile ========== */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text);
}

/* ========== Page Hero (for sub-pages) ========== */
.page-hero {
    background: transparent;
    color: var(--text);
    padding: 28px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    border-radius: 20px;
    border: none;
    margin: 10px auto 6px;
    max-width: 1200px;
    min-height: 140px;
    overflow: hidden;
}
.page-hero h1 { color: var(--text); font-size: clamp(28px, 4vw, 38px); margin: 0; }
.page-hero p {
    color: var(--text-light);
    margin: 0;
    max-width: 860px;
}


.page-hero h1,
.page-hero p {
    text-shadow: 0 2px 10px rgba(15, 23, 42, 0.2);
    animation: hero-text-zoom 4s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes hero-text-zoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.06); }
}


/* ========== Contact page ========== */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin-bottom: 30px; }
.contact-wrapper > div:first-child {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.contact-info-card {
    background: var(--glass-bg);
    padding: 40px;
    border-radius: 12px;
    border-left: 5px solid var(--red);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}
.contact-info-card h3 { color: var(--text); margin-bottom: 25px; font-size: 22px; }
.contact-item { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 25px; }
.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--icon-bg);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--icon-color);
    font-size: 18px;
    flex-shrink: 0;
    border: 1px solid var(--icon-border);
    box-shadow: var(--icon-shadow);
}
.contact-item h4 { font-size: 16px; color: var(--text); margin-bottom: 5px; }
.contact-item p, .contact-item a { color: var(--text-light); overflow-wrap: anywhere; word-break: break-word; }
.contact-form {
    background: var(--glass-bg);
    padding: 45px;
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
}
.contact-form h3 { color: var(--text); margin-bottom: 25px; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; color: var(--text); }
.form-group input, .form-group textarea { width: 100%; padding: 14px 18px; border: 1px solid var(--border); border-radius: 12px; font-family: inherit; font-size: 15px; background: #fffaf5; }
.form-group input::placeholder,
.form-group textarea::placeholder {
    text-align: center;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--nav-accent-deep); box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.15); }
.form-group textarea { min-height: 120px; resize: vertical; }
.consultation-hours {
    background: rgba(249, 115, 22, 0.08);
    padding: 28px;
    border-radius: 12px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    flex: 1;
}
.consultation-hours strong { color: var(--nav-accent-deep); }
.contact-buttons { display: flex; gap: 15px; flex-wrap: wrap; justify-content: center; }
.accent-line { width: 80px; height: 4px; background: var(--nav-accent-deep); margin: 15px 0; border-radius: 2px; }

/* ========== Contact Urgent ========== */
.contact-urgent {
    background: var(--page-bg);
    padding: 50px 20px;
}

.contact-urgent-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.contact-urgent-inner h2 { margin-bottom: 10px; }
.contact-urgent-inner p { margin-bottom: 20px; }

/* ========== Map ========== */
.map-section { padding-top: 10px; }
.map-embed iframe { display: block; }
.map-embed {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(249, 115, 22, 0.18);
    box-shadow: var(--shadow-soft);
}

/* ========== Gallery (not in reference CSS; needed for your gallery page) ========== */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
.gallery-item { background: var(--glass-bg); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); border: 1px solid var(--glass-border); transition: all 0.3s; }
.gallery-item:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(15, 23, 42, 0.12); }
.gallery-item .thumb { height: 220px; background: linear-gradient(135deg, #fff7ed 0%, #ffe4cc 100%); display: flex; align-items: center; justify-content: center; font-size: 64px; color: var(--red); }
.gallery-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item .caption { padding: 20px; }
.gallery-item h3 { font-size: 17px; color: var(--text); }
.gallery-categories { display: flex; gap: 15px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.gallery-categories a { padding: 10px 22px; background: var(--surface-muted); border-radius: 25px; font-weight: 600; color: var(--text); transition: all 0.3s; border: 1px solid transparent; }
.gallery-categories a:hover, .gallery-categories a.active {
    background: linear-gradient(135deg, var(--nav-accent) 0%, var(--nav-accent-deep) 100%);
    color: var(--white);
    box-shadow: 0 12px 24px rgba(249, 115, 22, 0.22);
}

/* ========== Install note + alerts (dynamic app extras) ========== */
.install-note { background: #fff8e1; border-bottom: 1px solid #ffe0b2; }
.install-note-inner { max-width: 1200px; margin: 0 auto; padding: 12px 20px; color: #6d4c41; font-weight: 700; }
.alert { padding: 12px 14px; border-radius: 12px; margin: 18px 0; font-weight: 700; }
.alert-error { background: #ffebee; border: 1px solid #ffcdd2; color: #b71c1c; }
.alert-success { background: #e8f5e9; border: 1px solid #c8e6c9; color: #1b5e20; }

/* ========== Services page intro ========== */
.services-intro { background: var(--page-bg); padding: 8px 20px 18px; text-align: center; }
.services-intro + section { padding-top: 32px; }
.services-intro p { max-width: 700px; margin: 0 auto; font-size: 17px; color: var(--text-light); }

.service-extra {
    display: inline;
    font-weight: 600;
}

.trust-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 70px;
    text-align: center;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
    margin-bottom: 26px;
}
.trust-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 18px;
    box-shadow: var(--shadow-soft);
}
.trust-value {
    font-size: 20px;
    font-weight: 800;
    color: var(--nav-accent-deep);
}
.trust-label {
    font-size: 13px;
    color: var(--text-light);
}
.trust-quote {
    max-width: 760px;
    margin: 0 auto 22px;
    font-style: italic;
}
.trust-quote span {
    display: block;
    margin-top: 8px;
    font-weight: 700;
}
.trust-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 980px) {
    .header-inner { flex-wrap: wrap; }
    .header-phone-btn { width: 100%; justify-content: flex-start; }
}

@media (max-width: 1100px) {
    nav ul { gap: 12px; }
    nav ul li a { padding: 8px 12px; }
}

@media (max-width: 1024px) {
    .header-inner {
        flex-wrap: wrap;
        row-gap: 12px;
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    .header-phone-btn {
        width: 100%;
        justify-content: center;
    }
    .hero-content {
        max-width: 520px;
    }
    section { padding: 52px 18px; }
    .services-grid,
    .products-grid,
    .awards-grid,
    .testimonials-grid,
    .gallery-grid { gap: 20px; }
    .about-content,
    .pitra-content,
    .contact-wrapper { gap: 36px; }
}

@media (max-width: 900px) {
    .about-content,
    .pitra-content,
    .contact-wrapper { grid-template-columns: 1fr; }
    .about-text { padding: 26px 22px; }
    .pitra-content { padding: 36px 22px; }
    .contact-info-card,
    .contact-form { padding: 28px; }
}

@media (max-width: 768px) {
    :root { --header-height: 84px; }
    .menu-toggle { display: block; }
    nav ul { display: none; width: 100%; flex-direction: column; margin-top: 10px; }
    nav ul.active { display: flex; }
    nav ul li a {
        width: 100%;
        justify-content: center;
        padding: 10px 14px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.65);
        border: 1px solid rgba(249, 115, 22, 0.18);
    }
    .header-inner {
        padding: 12px 16px;
        flex-direction: column;
        align-items: stretch;
    }
    .logo {
        width: 100%;
        justify-content: space-between;
    }
    .menu-toggle {
        align-self: flex-end;
        background: #ffffff;
        border-radius: 10px;
        padding: 8px 10px;
        box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
    }
    .logo { font-size: 20px; }
    .logo-icon { width: 78px; height: 78px; flex: 0 0 78px; }
    .hero-banner {
        min-height: 420px;
        padding: 72px 16px 30px;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    .hero-content {
        max-width: 100%;
        width: 100%;
    }
    .hero-cta-bar {
        position: static;
        width: 100%;
        border-radius: 12px;
        margin-top: 0;
    }
    section { padding: 70px 16px; }
    .services-grid,
    .products-grid,
    .awards-grid,
    .testimonials-grid,
    .gallery-grid { grid-template-columns: 1fr; }
    .contact-form { padding: 28px; }
    .contact-info-card { padding: 28px; }
    .contact-cta .phone { font-size: 24px; }
    .about-content, .pitra-content, .contact-wrapper { grid-template-columns: 1fr; }
    .about-section { padding: 50px 20px; border-radius: 18px; }
    .about-text { padding: 26px 22px; }
    .pitra-content { padding: 32px 22px; }
    .pitra-text { padding: 22px 20px; }
    .hero-content { text-align: center; }
    .header-phone-btn { width: 100%; }
    .header-phone-btn .btn-call { width: 100%; text-align: center; justify-content: center; }
}

@media (max-width: 480px) {
    .hero-cta-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        text-align: center;
    }
    .hero-cta-bar .contact-no,
    .hero-cta-bar .talk-now {
        width: 100%;
        display: inline-flex;
        justify-content: center;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero-banner {
        align-items: flex-start;
        padding-bottom: 24px;
    }
}

@media (max-width: 640px) {
    .hero-content {
        padding: 22px;
        border-radius: 18px;
    }
    .hero-content h1 {
        font-size: clamp(26px, 6vw, 34px);
    }
    .hero-cta-bar .contact-no { font-size: 16px; }
    .hero-cta-bar .talk-now { font-size: 15px; }
    section { padding: 56px 16px; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-logo-icon { width: 56px; height: 56px; }
    .service-card,
    .product-card,
    .award-card,
    .testimonial-card,
    .gallery-item,
    .contact-info-card,
    .contact-form { border-radius: 16px; }
    .service-card,
    .product-card,
    .award-card,
    .testimonial-card,
    .gallery-item,
    .contact-info-card,
    .contact-form,
    .consultation-hours { text-align: center; }
    .contact-item { align-items: center; }
    .contact-item i { margin: 0 auto; }
    .product-card .product-info,
    .gallery-item .caption,
    .testimonial-card,
    .contact-info-card,
    .contact-form,
    .consultation-hours { padding-left: 18px; padding-right: 18px; }
    .contact-item { flex-direction: column; }
    .contact-item h4 { margin-bottom: 2px; }
    .contact-item p,
    .contact-item a { text-align: center; }
    .form-group label { text-align: center; }
    .contact-buttons { flex-direction: column; }
    .contact-buttons .btn { width: 100%; justify-content: center; }
    .about-text,
    .about-text h2,
    .about-text p,
    .about-text .section-subtitle,
    .about-caption { text-align: center; }
    .service-card { padding: 22px 20px; }
    .product-card .product-info,
    .gallery-item .caption { padding: 18px; }
    .testimonial-card { padding: 22px; }
    .stats-section { padding: 0 16px 40px; }
    .stats-grid { gap: 14px; }
    .stat-card { padding: 20px; min-height: 120px; }
    .stat-value { font-size: 24px; }
    .form-group input,
    .form-group textarea { font-size: 16px; }
    .contact-wrapper { margin-bottom: 10px; }
    .contact-info-card,
    .contact-form,
    .consultation-hours { width: 100%; }
    .contact-item { gap: 14px; }
    .contact-item i { width: 44px; height: 44px; }
    .contact-item p,
    .contact-item a { font-size: 14px; }
    .contact-form h3,
    .contact-info-card h3 { font-size: 20px; }
}

@media (max-width: 420px) {
    .logo { font-size: 18px; }
    .logo-icon { width: 72px; height: 72px; flex: 0 0 72px; }
    .menu-toggle { padding: 6px 8px; }
    .btn { font-size: 14px; }
    .service-card, .product-card, .award-card, .testimonial-card, .gallery-item {
        border-radius: 16px;
    }
}

/* ===============================
   Screenshot-like homepage extras
   =============================== */
.home-top-banner,
.home-mid-banner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 0;
}
.home-top-banner img,
.home-mid-banner img {
    width: 100%;
    border-radius: 10px;
    display: block;
}

.home-action-section { padding-top: 30px; }
.home-action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}
.action-card {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 22px;
    padding: 26px 28px;
    position: relative;
    overflow: hidden;
}
.action-card-title { font-weight: 700; font-size: 20px; margin-bottom: 8px; }
.action-card-body { color: var(--text-light); margin-bottom: 14px; }
.home-action-grid .action-card:first-child::after {
    content: "";
    position: absolute;
    inset: -40% auto auto -40%;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.25) 0%, rgba(249, 115, 22, 0) 70%);
}
.action-card-whatsapp {
    background: transparent;
}

.btn-green { background: #2e7d32; }
.btn-green:hover { background: #1b5e20; }

.service-thumb {
    width: 100%;
    height: 140px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.12);
}
.service-thumb img { width: 100%; height: 100%; object-fit: cover; }

.products-grid.products-grid-hero {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.product-card.product-card-banner { position: relative; }
.product-banner-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.testimonials-section.testimonials-light {
    background: transparent;
    color: var(--text);
}
.testimonials-section.testimonials-light .section-title h2 { color: var(--text); }
.testimonials-section.testimonials-light .testimonial-card { border: 1px solid #eee; box-shadow: 0 4px 18px rgba(0,0,0,0.06); }

.award-img.award-img-photo { padding: 0; }
.award-img.award-img-photo img { width: 100%; height: 180px; object-fit: cover; display: block; }

/* Updated icon placeholders (modern flat) */
.awards-grid .award-card .award-img,
.products-grid .product-card .product-img,
.product-compact-img,
.gallery-item .thumb {
    background: var(--icon-bg);
    border: 1px solid rgba(249, 115, 22, 0.12);
    box-shadow: 0 10px 22px rgba(249, 115, 22, 0.1);
    color: var(--icon-color);
}

.products-second { padding-top: 50px; }
.products-grid.products-grid-compact { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.product-card.product-card-compact { display: grid; grid-template-columns: 180px 1fr; gap: 18px; align-items: stretch; padding: 18px; }
.product-card.product-card-compact .product-info { padding: 6px 4px; }
.product-card.product-card-compact,
.product-card.product-card-banner {
    border: 1px solid var(--border-warm);
}
.product-compact-img {
    height: 140px;
    border-radius: 14px;
    overflow: hidden;
    background: var(--icon-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    color: var(--icon-color);
    border: 1px solid rgba(249, 115, 22, 0.12);
    box-shadow: 0 10px 22px rgba(249, 115, 22, 0.1);
}
.product-compact-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-compact-placeholder { background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%); }

/* ========== Stats Strip (Home) ========== */
.stats-section {
    padding: 10px 20px 50px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.stat-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 24px 22px 22px;
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 8px;
    min-height: 130px;
    position: relative;
    overflow: hidden;
    text-align: center;
    justify-items: center;
    z-index: 1;
}

.stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--icon-bg);
    color: var(--icon-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: var(--icon-shadow);
    border: 1px solid var(--icon-border);
    animation: stat-glow 2.8s ease-in-out infinite;
}

.stat-value {
    font-size: 26px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 600;
}

.stats-trust {
    margin-top: 14px;
    text-align: center;
    font-size: 13px;
    color: var(--text-light);
    font-weight: 600;
}

/* ========== Home Popup ========== */
.home-popup {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 99999;
}
.home-popup.is-open { display: flex; }
.home-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(3px);
}
.home-popup-card {
    position: relative;
    width: min(720px, 92vw);
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.35);
    overflow: hidden;
    z-index: 1;
}
.home-popup-close {
    position: absolute;
    right: 14px;
    top: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #f3f4f6;
    color: #111827;
    font-size: 24px;
    cursor: pointer;
}
.home-popup-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 260px;
}
.home-popup-visual {
    background: linear-gradient(180deg, #7c2d12 0%, #b45309 45%, #f97316 100%);
    color: #fff;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    text-align: left;
}
.home-popup-badge {
    display: inline-flex;
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.18);
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}
.home-popup-visual h3 {
    font-size: 32px;
    line-height: 1.2;
}
.home-popup-visual p {
    font-size: 16px;
    opacity: 0.92;
}
.home-popup-form {
    padding: 14px 18px;
    display: grid;
    gap: 12px;
}
.home-popup-form h2 {
    margin: 0;
    font-size: 20px;
    color: var(--text);
    text-align: left;
}
.home-popup-form p { color: var(--text-light); text-align: left; }
.home-popup-form form {
    display: grid;
    gap: 10px;
    margin-top: 8px;
}
.home-popup-form input,
.home-popup-form textarea {
    width: 100%;
    padding: 9px 12px;
    border-radius: 14px;
    border: 1px solid #eaded7;
    background: #fff8f2;
    font-family: inherit;
}
.home-popup-form input::placeholder,
.home-popup-form textarea::placeholder {
    text-align: center;
}
.home-popup-form textarea { min-height: 90px; resize: vertical; }
.home-popup-form .popup-btn {
    width: 100%;
    justify-content: center;
    padding: 10px 14px;
    font-size: 14px;
    background: linear-gradient(135deg, var(--nav-accent) 0%, var(--nav-accent-deep) 100%);
}

@media (max-width: 900px) {
    .home-popup-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .home-popup { padding: 12px; }
    .home-popup-card {
        width: min(96vw, 420px);
        border-radius: 22px;
        max-height: 86vh;
    }
    .home-popup-grid {
        min-height: 0;
    }
    .home-popup-visual {
        padding: 16px 16px 12px;
        text-align: center;
        align-items: center;
        gap: 10px;
    }
    .home-popup-badge {
        align-self: center;
        padding: 8px 14px;
        font-size: 11px;
    }
    .home-popup-visual h3 {
        font-size: 24px;
    }
    .home-popup-visual p {
        font-size: 14px;
    }
    .home-popup-form {
        padding: 12px 16px 16px;
        gap: 8px;
    }
    .home-popup-form h2 {
        font-size: 18px;
        text-align: center;
    }
    .home-popup-form p {
        font-size: 13px;
        text-align: center;
    }
    .home-popup-form form {
        gap: 8px;
    }
    .home-popup-form textarea { min-height: 70px; }
    .home-popup-close {
        width: 34px;
        height: 34px;
        font-size: 20px;
        right: 10px;
        top: 10px;
    }
}

@keyframes stat-glow {
    0%, 100% { box-shadow: 0 8px 18px rgba(249, 115, 22, 0.22); transform: translateY(0); }
    50% { box-shadow: 0 10px 22px rgba(249, 115, 22, 0.32); transform: translateY(-1px); }
}

@media (prefers-reduced-motion: reduce) {
    .stat-icon { animation: none; }
}

/* Warm grade for imagery (subtle, keeps layout intact) */
.about-image img,
.pitra-image img,
.service-thumb img,
.product-banner-img,
.award-img.award-img-photo img,
.gallery-item .thumb img {
    filter: saturate(1.05) sepia(0.08) contrast(1.02);
}

@media (max-width: 520px) {
    :root { --header-height: 92px; }
    .product-card.product-card-compact { grid-template-columns: 1fr; }
    .product-compact-img { height: 180px; }
    .header-phone-btn { width: 100%; }
    .btn { width: 100%; justify-content: center; }
    .btn-call {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 10px 18px;
        font-size: 14px;
        border-radius: 16px;
    }
    .hero-slider-ui { display: block; }
    .floating-whatsapp,
    .floating-call,
    .floating-top {
        right: 12px;
        width: 52px;
        height: 52px;
        font-size: 20px;
    }
    .floating-call { bottom: 78px; }
    .floating-whatsapp { bottom: 18px; }
    .floating-top { bottom: 132px; }
    .hero-dots {
        top: 10px;
        left: 10px;
        padding: 5px 8px;
        gap: 8px;
    }
    .hero-dot {
        width: 14px;
        height: 5px;
    }
    .hero-dot.is-active {
        width: 26px;
    }
    .hero-arrows {
        right: 10px;
    }
    .hero-arrow {
        width: 36px;
        height: 36px;
    }
    .hero-banner { padding-top: 80px; }
}

@media (max-width: 768px) {
    .home-action-grid { grid-template-columns: 1fr; }
    .products-grid.products-grid-hero { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
    .stats-grid { grid-template-columns: 1fr; }
    .stat-card { text-align: center; }
    .stat-icon { margin: 0 auto; }
}

/* ========== Inline Editor (Admin) ========== */
body[data-edit-mode="1"] .editable {
    outline: 2px dashed rgba(249, 115, 22, 0.55);
    outline-offset: 2px;
    border-radius: 6px;
    cursor: text;
}
body[data-edit-mode="1"] img.editable-image {
    outline: 2px dashed rgba(249, 115, 22, 0.55);
    outline-offset: 4px;
    cursor: pointer;
}
.edit-bar {
    position: sticky;
    top: 0;
    z-index: 10000;
    background: #111827;
    color: #fff;
    padding: 10px 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.edit-bar-title { font-weight: 800; }
.edit-bar-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.edit-bar-btn {
    background: rgba(255,255,255,0.12);
    color: #fff;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
}

