/*
Theme Name: Bersihku Replica
Theme URI: https://bersihku.com/
Author: Bersihku
Author URI: https://bersihku.com/
Description: Bersihku theme built on a proven service-site structure, with Bersihku colours and content.
Version: 2.21.2
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: primecleaning4u
Tags: one-column, custom-colors, custom-menu, custom-logo, featured-images, translation-ready
*/

/* ── Reset & Base ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-bg: #ffffff;
    --color-bg-alt: #f4f8fb;
    --color-bg-dark: #0c2136;
    --color-text: #1f2b38;
    --color-text-muted: #5b6b7b;
    --color-text-light: #94a3b3;
    --color-accent: #285246;
    --color-accent-hover: #22638f;
    --color-accent-light: #eaf4fb;
    --color-accent-2: #3E6B5C;
    --color-navy: #172E26;
    --color-border: #e3eaf0;
    --color-white: #ffffff;
    --color-success: #0f9d76;
    --color-star: #f5a623;
    --gradient-brand: linear-gradient(135deg, #3E6B5C 0%, #285246 100%);
    --gradient-brand-soft: linear-gradient(135deg, #eaf4fb 0%, #f4f8fb 100%);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-w: 1140px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 2px rgba(16,58,92,0.06);
    --shadow: 0 2px 8px rgba(16,58,92,0.06), 0 1px 2px rgba(16,58,92,0.04);
    --shadow-md: 0 10px 30px rgba(16,58,92,0.10);
    --shadow-lg: 0 20px 50px rgba(16,58,92,0.14);
    --transition: 0.25s cubic-bezier(0.16,1,0.3,1);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-accent-hover);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-navy);
    letter-spacing: -0.02em;
}

h1 { font-size: 2.5rem; letter-spacing: -0.025em; }
h2 { font-size: 2rem; letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

ul, ol { list-style: none; }

/* ── Utilities ── */
.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 38px 0;
}

.section--alt {
    background: var(--color-bg-alt);
}

.section-label {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-accent);
    background: var(--color-accent-light);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 16px;
    letter-spacing: -0.025em;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    max-width: 560px;
    line-height: 1.7;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    line-height: 1.4;
}

.btn--primary {
    background: var(--gradient-brand);
    color: var(--color-white);
    box-shadow: 0 6px 18px rgba(43,124,184,0.28);
}

.btn--primary:hover {
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(43,124,184,0.38);
}

.btn--outline {
    background: transparent;
    color: var(--color-text);
    border: 1.5px solid var(--color-border);
}

.btn--outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.btn--white {
    background: var(--color-white);
    color: var(--color-accent);
}

.btn--white:hover {
    background: var(--color-accent-light);
    transform: translateY(-1px);
}

.btn--whatsapp {
    background: #25D366;
    color: var(--color-white);
}

.btn--whatsapp:hover {
    background: #1fb855;
    color: var(--color-white);
    transform: translateY(-1px);
}

.btn--sm {
    padding: 8px 20px;
    font-size: 0.875rem;
}

.btn--lg {
    padding: 16px 36px;
    font-size: 1rem;
}

/* ── Header ── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border-bottom: 1px solid transparent;
    transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    background: rgba(255,255,255,0.9);
    border-bottom-color: var(--color-border);
    box-shadow: 0 4px 24px rgba(16,58,92,0.07);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.site-brand img {
    height: 36px;
    width: auto;
}

.site-brand-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.01em;
}

.site-brand-name span {
    color: var(--color-accent);
}

/* Navigation */
.site-nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
}

.site-nav a {
    display: block;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
    border-radius: 6px;
    transition: all var(--transition);
}

.site-nav a {
    position: relative;
}

.site-nav a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    border-radius: 1px;
    transition: width var(--transition), left var(--transition);
}

.site-nav a:hover::after,
.site-nav .current-menu-item a::after,
.site-nav .current_page_item a::after {
    width: 60%;
    left: 20%;
}

.site-nav a:hover,
.site-nav .current-menu-item a,
.site-nav .current_page_item a {
    color: var(--color-text);
    background: var(--color-bg-alt);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-phone {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--color-text);
}

.menu-toggle svg {
    width: 24px;
    height: 24px;
}

/* Mobile nav CTA — hidden on desktop */
.mobile-nav-cta {
    display: none;
}

/* ── Hero ── */
.hero {
    padding: 140px 0 90px;
    background:
        radial-gradient(1200px 520px at 85% -12%, rgba(76,166,221,0.18), transparent 60%),
        radial-gradient(900px 500px at -10% 18%, rgba(43,124,184,0.10), transparent 55%),
        linear-gradient(168deg, #eef6fc 0%, var(--color-bg) 55%, #f4f8fb 100%);
    position: relative;
    overflow: hidden;
}

/* Hero with background image — works on both desktop and mobile */
.hero--has-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero--has-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(168deg, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.78) 50%, rgba(240,245,255,0.85) 100%);
    pointer-events: none;
    z-index: 0;
}
.hero--has-bg .container {
    position: relative;
    z-index: 1;
}
/* Dark overlay variant — toggled via Customizer checkbox */
.hero--dark-overlay::after {
    background: linear-gradient(168deg, rgba(17,24,39,0.75) 0%, rgba(17,24,39,0.65) 50%, rgba(17,24,39,0.8) 100%);
}
.hero--dark-overlay h1,
.hero--dark-overlay p,
.hero--dark-overlay .hero-slogan { color: #fff; }
.hero--dark-overlay .hero-badge { background: rgba(255,255,255,0.15); color: #fff; border-color: rgba(255,255,255,0.2); }
.hero--dark-overlay .hero-trust-item { color: rgba(255,255,255,0.9); }

.hero::before {
    content: '';
    position: absolute;
    top: -140px;
    right: -90px;
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, rgba(76,166,221,0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-inner {
    max-width: 640px;
}

/* Hero grid — text left, image right on desktop */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.hero-grid .hero-inner {
    max-width: 100%;
}
.hero-side-img {
    position: relative;
    z-index: 1;
}
.hero-side-img img {
    width: 100%;
    max-height: 480px;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 24px;
    -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, rgba(0,0,0,1) 55%, rgba(0,0,0,0) 100%);
    mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, rgba(0,0,0,1) 55%, rgba(0,0,0,0) 100%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--color-accent-light);
    color: var(--color-accent);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 24px;
    border: 1px solid rgba(43,124,184,0.16);
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(43,124,184,0.10); }
    50% { box-shadow: 0 0 0 8px rgba(43,124,184,0); }
}

.hero-badge svg {
    width: 14px;
    height: 14px;
}

.hero h1 {
    font-size: 3.5rem;
    letter-spacing: -0.035em;
    line-height: 1.08;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 48px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 32px;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.hero-trust-item svg {
    width: 18px;
    height: 18px;
    color: var(--color-success);
    flex-shrink: 0;
}

/* ── Stats Bar ── */
.stats {
    padding: 36px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: var(--color-bg-alt);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 800;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--color-accent);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 4px;
}

/* ── Services ── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.service-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-top: 3px solid transparent;
}

.service-card:hover {
    border-color: var(--color-accent);
    border-top-color: var(--color-accent);
    box-shadow: 0 16px 40px rgba(43,124,184,0.14);
    transform: translateY(-6px);
}

.service-icon {
    width: 52px;
    height: 52px;
    background: var(--color-accent-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--color-accent);
    transition: background var(--transition), color var(--transition), transform var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient-brand);
    color: #fff;
    transform: translateY(-2px) rotate(-4deg);
}

.service-icon svg {
    width: 24px;
    height: 24px;
}

.service-card h3 {
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.925rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent);
    transition: gap var(--transition), color var(--transition);
}

.service-cta:hover {
    gap: 10px;
    color: var(--color-accent-hover);
}

.service-cta svg {
    width: 14px;
    height: 14px;
}

/* ── Why Choose Us ── */
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    align-items: center;
    margin-top: 48px;
}

.why-image {
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.why-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.why-placeholder {
    width: 100%;
    height: auto;
    display: block;
}

.why-features {
    display: grid;
    gap: 24px;
}

.why-feature {
    display: flex;
    gap: 16px;
}

.why-feature-icon {
    width: 40px;
    height: 40px;
    background: var(--color-accent-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-accent);
}

.why-feature-icon svg {
    width: 20px;
    height: 20px;
}

.why-feature h4 {
    margin-bottom: 4px;
}

.why-feature p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* ── Gallery / Our Work ── */

/* Layout wrapper — video above gallery */
.gallery-layout {
    margin-top: 40px;
}

.gallery-video {
    width: 100%;
    height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    background: var(--color-bg-dark);
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    margin-bottom: 28px;
}

.gallery-video-poster {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-video-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-video:hover .gallery-video-poster img {
    transform: scale(1.03);
}

.gallery-video-play {
    position: absolute;
    background: none;
    border: none;
    cursor: pointer;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
    transition: transform 0.2s ease, filter 0.2s ease;
    z-index: 2;
}

.gallery-video-play:hover {
    transform: scale(1.12);
    filter: drop-shadow(0 4px 16px rgba(0,0,0,0.4));
}

.gallery-video.is-playing .gallery-video-poster,
.gallery-video.is-playing .gallery-video-play {
    display: none;
}

.gallery-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.gallery-layout:not(.gallery-layout--has-video) .gallery-grid {
    margin-top: 0;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
}

.gallery-item--empty {
    border-style: dashed;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--color-white);
    font-size: 0.85rem;
    font-weight: 500;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 12px;
    color: var(--color-text-light);
}

.gallery-placeholder svg {
    opacity: 0.4;
}

.gallery-placeholder span {
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.6;
}

.gallery-reveal {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-reveal.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.gallery-reveal:nth-child(1) { transition-delay: 0.05s; }
.gallery-reveal:nth-child(2) { transition-delay: 0.12s; }
.gallery-reveal:nth-child(3) { transition-delay: 0.19s; }
.gallery-reveal:nth-child(4) { transition-delay: 0.26s; }
.gallery-reveal:nth-child(5) { transition-delay: 0.33s; }
.gallery-reveal:nth-child(6) { transition-delay: 0.40s; }

/* ── Process ── */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.process-step {
    text-align: center;
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-accent-2) 0%, var(--color-accent) 100%);
    color: var(--color-white);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 16px;
    box-shadow: 0 6px 16px rgba(43,124,184,0.30);
}

.process-step h4 {
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* ── Testimonials ── */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.testimonial-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
}

.testimonial-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 16px 40px rgba(43,124,184,0.10);
    transform: translateY(-4px);
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
    color: var(--color-star);
}

.testimonial-stars svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    background: var(--color-accent-light);
    color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
}

.testimonial-name {
    font-size: 0.9rem;
    font-weight: 600;
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

/* ── Service Areas ── */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 48px;
}

.area-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
    transition: all var(--transition);
    cursor: default;
}

.area-tag svg {
    width: 14px;
    height: 14px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.area-tag:hover {
    border-color: var(--color-accent);
    background: var(--color-accent-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* ── FAQ ── */
.faq-grid {
    max-width: 960px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: start;
}

.faq-card {
    background: var(--color-surface, #fff);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq-card:hover {
    border-color: var(--color-primary, #059669);
}
.faq-card.active {
    border-color: var(--color-primary, #059669);
    box-shadow: 0 2px 12px rgba(5, 150, 105, 0.08);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
    text-align: left;
}

.faq-num {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--color-primary-light, #ecfdf5);
    color: var(--color-primary, #059669);
    font-size: 0.75rem;
    font-weight: 700;
    transition: background 0.25s ease, color 0.25s ease;
}
.faq-card.active .faq-num {
    background: var(--color-primary, #059669);
    color: #fff;
}

.faq-q-text {
    flex: 1;
    line-height: 1.35;
}

.faq-toggle {
    flex-shrink: 0;
    position: relative;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-primary-light, #ecfdf5);
    transition: background 0.25s ease;
}
.faq-toggle::before,
.faq-toggle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 2px;
    background: var(--color-primary, #059669);
    border-radius: 2px;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease, opacity 0.2s ease;
}
.faq-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
}
.faq-card.active .faq-toggle {
    background: var(--color-primary, #059669);
}
.faq-card.active .faq-toggle::before,
.faq-card.active .faq-toggle::after {
    background: #fff;
}
.faq-card.active .faq-toggle::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
    padding: 0 16px 16px 58px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ── CTA Section ── */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0c2136 0%, #123a5c 50%, #0a1c2e 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(76,166,221,0.18) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(43,124,184,0.14) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section h2 {
    color: var(--color-white);
    font-size: 2rem;
    margin-bottom: 12px;
}

.cta-section p {
    color: #9ca3af;
    font-size: 1.05rem;
    margin-bottom: 32px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

/* ── Footer ── */
.site-footer {
    background: var(--color-bg-dark);
    color: #d1d5db;
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: #9ca3af;
    line-height: 1.7;
    margin-top: 16px;
}

.footer-title {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-white);
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: #9ca3af;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--color-white);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.9rem;
    color: #9ca3af;
}

.footer-contact-item svg {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    flex-shrink: 0;
    color: #6b7280;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    margin-top: 48px;
    border-top: 1px solid #374151;
    font-size: 0.8rem;
    color: #6b7280;
}

.footer-legal {
    margin: 0;
    padding: 14px 0 28px;
    border-top: 1px solid #374151;
    font-size: 0.75rem;
    line-height: 1.7;
    color: #6b7280;
    text-align: center;
}

.section-legal-note {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #6b7280;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    color: #6b7280;
    transition: color var(--transition);
}

.footer-socials a:hover {
    color: var(--color-white);
}

.footer-socials svg {
    width: 18px;
    height: 18px;
}

/* ── email Float ── */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 90;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37,211,102,0.3);
    transition: transform var(--transition), box-shadow var(--transition);
    animation: waFloat 3s ease-in-out infinite;
}

@keyframes waFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.whatsapp-float:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(37,211,102,0.4);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    fill: var(--color-white);
}

/* ── Blog / Posts ── */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.post-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-align: left;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.post-card:hover {
    transform: translateY(-6px);
    border-color: rgba(43,124,184,0.35);
    box-shadow: var(--shadow-md);
}

.post-card-image {
    aspect-ratio: 16/10;
    background: var(--color-bg-alt);
    overflow: hidden;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-card-body {
    padding: 24px;
}

.post-card-meta {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-bottom: 8px;
}

.post-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.post-card h3 a {
    color: var(--color-text);
}

.post-card h3 a:hover {
    color: var(--color-accent);
}

.post-card p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Blog — The Bersihku Journal enhancements */
.post-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.post-card h3 {
    font-family: var(--font-display);
}

.post-cover {
    position: relative;
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--color-bg-alt);
}

.post-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}

.post-card:hover .post-cover img {
    transform: scale(1.06);
}

.post-cover-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0.92;
}

.post-cover--g1 { background: linear-gradient(135deg, #3E6B5C 0%, #285246 100%); }
.post-cover--g2 { background: linear-gradient(135deg, #285246 0%, #172E26 100%); }
.post-cover--g3 { background: linear-gradient(135deg, #5bbfe0 0%, #3a86c0 100%); }

.post-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-navy);
    background: rgba(255,255,255,0.92);
    padding: 5px 11px;
    border-radius: 100px;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.post-readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 14px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent);
    transition: gap var(--transition);
}

.post-readmore svg {
    width: 14px;
    height: 14px;
}

.post-card:hover .post-readmore {
    gap: 10px;
}

/* ── Trust Bar ── */
.trust-bar {
    background: var(--color-navy);
    color: #fff;
    padding: 14px 0;
}
.trust-bar-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 36px;
}
.trust-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 600;
}
.trust-bar-item svg { width: 18px; height: 18px; color: var(--color-accent-2); flex-shrink: 0; }

/* ── Quote / Contact Form ── */
.pc4u-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    text-align: left;
}
.pc4u-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pc4u-form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.85rem; font-weight: 600; color: var(--color-navy); }
.pc4u-form input, .pc4u-form select, .pc4u-form textarea {
    font-family: var(--font);
    font-size: 0.95rem;
    padding: 11px 14px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-bg-alt);
    color: var(--color-text);
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.pc4u-form input:focus, .pc4u-form select:focus, .pc4u-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(43,124,184,0.14);
    background: #fff;
}
.pc4u-form-check { flex-direction: row; align-items: center; gap: 8px; font-weight: 500; color: var(--color-text-muted); }
.pc4u-form-check input { width: auto; }
.pc4u-form-alt { font-size: 0.85rem; color: var(--color-text-muted); text-align: center; margin: 0; }
.pc4u-form-note { padding: 12px 14px; border-radius: var(--radius); font-size: 0.9rem; font-weight: 600; }
.pc4u-form-note--ok { background: #e7f7f0; color: #0f7a56; }
.pc4u-form-note--err { background: #fdecec; color: #c0392b; }
@media (max-width: 560px) { .pc4u-form-row { grid-template-columns: 1fr; } }

/* ── Track My Cleaning ── */
.track-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    text-align: left;
    margin-top: 20px;
}
.track-meta { display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; }
.track-meta strong { font-family: var(--font-display); font-size: 1.1rem; color: var(--color-navy); text-transform: capitalize; }
.track-meta span { font-size: 0.85rem; color: var(--color-text-muted); }
.track-steps { list-style: none; margin: 0; padding: 0; }
.track-step {
    position: relative;
    padding: 10px 0 10px 28px;
    font-weight: 600;
    color: var(--color-text-light);
    border-left: 2px solid var(--color-border);
    margin-left: 8px;
}
.track-step:last-child { border-left-color: transparent; }
.track-step::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 14px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-border);
    border: 2px solid #fff;
}
.track-step--done { color: var(--color-navy); }
.track-step--done::before { background: var(--color-success); }
.track-step--current { color: var(--color-accent); }
.track-step--current::before { background: var(--gradient-brand); box-shadow: 0 0 0 4px rgba(43,124,184,0.15); }

/* ── Combined "Get Started" section (all three tools visible together) ── */
.quote-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.quote-card {
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
}

.quote-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.quote-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 12px;
    background: var(--color-accent-light);
    color: var(--color-accent);
}

.quote-card-head h3 {
    margin: 0;
    font-size: 1.05rem;
}

.quote-card-head p {
    margin: 2px 0 0;
    font-size: 0.82rem;
    color: var(--color-text-muted);
}

/* Flush the inner widgets against the card so the section stays compact. */
.quote-card .calculator {
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
}

.quote-card .pc4u-form {
    padding: 0;
    border: 0;
    box-shadow: none;
    text-align: left;
}

.quote-card .pc4u-track-result .track-card {
    margin: 14px 0 0;
}

/* Transparent pricing — always-visible block under the Get Started grid */
.pricing-block {
    margin-top: 8px;
}
.pricing-block .pricing-tabs { margin-top: 24px; }

/* Mobile: both tools stay VISIBLE, stacked and compact */
@media (max-width: 680px) {
    .quote-grid { grid-template-columns: 1fr; gap: 18px; margin-top: 32px; }
    .quote-card { padding: 20px; }
    .quote-card-head { margin-bottom: 14px; }

    /* Quick quote form on phones — hide optional fields (email/area, message,
       newsletter) so Name + Phone + Service + submit stays short. */
    .quote-card--form .pc4u-form-row--optional,
    .quote-card--form .pc4u-form-field--optional {
        display: none;
    }

    /* Tighten the calculator so the stacked page stays short. */
    .quote-card--estimate .calc-field { margin-bottom: 14px; }
    .quote-card--estimate .calc-result { padding: 14px; margin-bottom: 14px; }
    .quote-card--estimate .calc-result-price { font-size: 1.6rem; }
}

/* ── Landing-page SEO prose ── */
.pc4u-prose { text-align: left; }
.pc4u-prose h2, .pc4u-prose h3 { margin-top: 28px; margin-bottom: 12px; }
.pc4u-prose h4 { margin-top: 20px; margin-bottom: 6px; color: var(--color-navy); font-size: 1.02rem; }
.pc4u-prose p { margin-bottom: 14px; color: var(--color-text-muted); line-height: 1.75; }
.pc4u-prose ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.pc4u-prose ul li { margin-bottom: 8px; color: var(--color-text-muted); line-height: 1.6; }

/* ── Page / Single Templates ── */
.page-header {
    padding: 140px 0 60px;
    background: var(--color-bg-alt);
    text-align: center;
}

.page-header h1 {
    font-size: 2.2rem;
}

.page-content {
    padding: 60px 0;
}

.page-content .container {
    max-width: 780px;
}

.page-content p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.page-content h2 {
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

.page-content h3 {
    margin: 1.5rem 0 0.75rem;
}

.page-content ul,
.page-content ol {
    margin: 1rem 0;
    padding-left: 1.5em;
}

.page-content ul { list-style: disc; }
.page-content ol { list-style: decimal; }
.page-content li { margin-bottom: 0.5rem; }

.page-content img {
    border-radius: var(--radius);
    margin: 1.5rem 0;
}

.page-content blockquote {
    border-left: 3px solid var(--color-accent);
    padding: 16px 24px;
    background: var(--color-accent-light);
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--color-text-muted);
}

/* ── Legal Pages ── */
.page-header--legal {
    text-align: center;
}
.legal-badge {
    display: inline-block;
    background: var(--color-accent-light);
    color: var(--color-accent);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.legal-updated {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    margin-top: 8px;
}
.legal-wrapper {
    max-width: 780px;
    margin: 0 auto;
}
.legal-content h2 {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
    font-size: 1.35rem;
}
.legal-content h2:first-of-type {
    border-top: none;
    padding-top: 0;
}
.legal-content h3 {
    font-size: 1.05rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-heading);
}
.legal-content p {
    line-height: 1.75;
}
.legal-content ul,
.legal-content ol {
    margin-left: 1.25rem;
}
.legal-content li {
    line-height: 1.7;
}
.legal-content a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.legal-content a:hover {
    color: var(--color-accent-hover);
}
.legal-content code {
    background: var(--color-bg-alt);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.88em;
    color: var(--color-heading);
}

/* Table of Contents */
.legal-toc {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    margin-bottom: 2rem;
}
.legal-toc h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}
.legal-toc ol {
    columns: 2;
    column-gap: 32px;
    margin: 0;
    padding-left: 1.25rem;
}
.legal-toc li {
    font-size: 0.9rem;
    margin-bottom: 6px;
    break-inside: avoid;
}
.legal-toc a {
    color: var(--color-accent);
    text-decoration: none;
}
.legal-toc a:hover {
    text-decoration: underline;
}

/* Contact blocks */
.legal-contact {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin: 1rem 0 1.5rem;
}
.legal-contact p {
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.legal-contact svg {
    flex-shrink: 0;
    color: var(--color-accent);
}

/* Legal tables */
.legal-table-wrap {
    overflow-x: auto;
    margin: 1rem 0 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
}
.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.legal-table th {
    background: var(--color-bg-alt);
    font-weight: 600;
    text-align: left;
    padding: 12px 16px;
    border-bottom: 2px solid var(--color-border);
    white-space: nowrap;
}
.legal-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--color-border);
    vertical-align: top;
}
.legal-table tr:last-child td {
    border-bottom: none;
}
.legal-table a {
    color: var(--color-accent);
}

/* Footer legal links separator */
.footer-legal {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 8px;
    font-size: 0.82rem;
}
.footer-legal a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-legal a:hover {
    color: var(--color-accent);
}

/* Single Post */
.single-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    justify-content: center;
}

.single-featured {
    margin: -30px auto 2rem;
    max-width: 780px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.single-featured img {
    width: 100%;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.post-tags a {
    padding: 4px 12px;
    background: var(--color-bg-alt);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.post-tags a:hover {
    background: var(--color-accent-light);
    color: var(--color-accent);
}

.post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.post-nav a {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.post-nav a:hover {
    color: var(--color-accent);
}

.post-nav .next {
    text-align: right;
}

/* Archive */
.archive-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: all var(--transition);
}

.pagination a:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.pagination .current {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}

/* 404 */
.error-404 {
    padding: 160px 0 100px;
    text-align: center;
}

.error-404-code {
    font-size: 6rem;
    font-weight: 800;
    color: var(--color-border);
    line-height: 1;
    margin-bottom: 16px;
}

.error-404 p {
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

/* Comments */
.comments-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.comments-area h3 {
    margin-bottom: 24px;
}

.comment-list {
    list-style: none;
}

.comment-list li {
    padding: 20px 0;
    border-bottom: 1px solid var(--color-border);
}

.comment-list .comment-author {
    font-weight: 600;
    font-size: 0.9rem;
}

.comment-list .comment-meta {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-bottom: 8px;
}

.comment-respond label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.9rem;
    margin-bottom: 16px;
    transition: border-color var(--transition);
}

.comment-respond input:focus,
.comment-respond textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.comment-respond textarea {
    min-height: 120px;
    resize: vertical;
}

.comment-respond .submit {
    background: var(--color-accent);
    color: var(--color-white);
    padding: 10px 24px;
    border: none;
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition);
}

.comment-respond .submit:hover {
    background: var(--color-accent-hover);
}

/* ── Quote Calculator ── */
.calculator {
    max-width: 560px;
    margin: 48px auto 0;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.calc-field {
    margin-bottom: 20px;
}

.calc-field label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--color-text);
}

.calc-field select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.9rem;
    color: var(--color-text);
    background: var(--color-white);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5.5l6.5 6.5 6.5-6.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.calc-field select:focus {
    outline: none;
    border-color: var(--color-accent);
}

.calc-result {
    text-align: center;
    padding: 20px;
    background: var(--color-accent-light);
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.calc-result-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-accent);
}

.calc-result-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 2px;
}

/* ── Hero Slogan ── */
.hero-slogan {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--color-accent);
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

/* ── Areas Note ── */
.areas-note {
    margin-top: 32px;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.areas-note a {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ── Pricing Section ── */
.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.pricing-tab {
    padding: 10px 24px;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    border: 1.5px solid var(--color-border);
    border-radius: 100px;
    background: var(--color-white);
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all var(--transition);
}

.pricing-tab:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.pricing-tab.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}

.pricing-panel {
    display: none;
}

.pricing-panel.active {
    display: block;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.pricing-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 16px 40px rgba(43,124,184,0.12);
    transform: translateY(-6px);
}

.pricing-card--popular {
    border-color: var(--color-accent);
    box-shadow: 0 8px 26px rgba(43,124,184,0.14);
}

.pricing-card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    background: var(--color-accent);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.pricing-card-header h3 {
    margin-bottom: 4px;
}

.pricing-card-size {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.pricing-card-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-accent);
    padding: 16px 0;
}

.pricing-card-features {
    list-style: none;
    margin-bottom: 20px;
}

.pricing-card-features li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.pricing-card-features svg {
    color: var(--color-success);
    flex-shrink: 0;
}

.pricing-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.pricing-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
    text-align: left;
}

.pricing-table th {
    padding: 14px 16px;
    background: var(--color-accent);
    color: var(--color-white);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pricing-table th:first-child {
    border-radius: var(--radius) 0 0 0;
}

.pricing-table th:last-child {
    border-radius: 0 var(--radius) 0 0;
}

.pricing-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9rem;
    color: var(--color-text);
}

.pricing-table tbody tr:hover {
    background: var(--color-accent-light);
}

.pricing-table-group {
    background: var(--color-bg-alt) !important;
}

.pricing-table-group td {
    padding: 14px 16px;
    font-size: 0.95rem;
    border-bottom: 2px solid var(--color-accent);
}

/* ── Partnership Section ── */
.partnership-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.partnership-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.partnership-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 16px 40px rgba(43,124,184,0.12);
    transform: translateY(-6px);
}

.partnership-icon {
    width: 48px;
    height: 48px;
    background: var(--color-accent-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--color-accent);
}

.partnership-card h3 {
    margin-bottom: 10px;
}

.partnership-card p {
    font-size: 0.925rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.partnership-cta {
    margin-top: 40px;
}

.partnership-cta p {
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 20px;
}

/* ── Footer Slogan ── */
.footer-slogan {
    font-size: 1rem;
    color: var(--color-accent);
    font-weight: 600;
    margin-top: 12px;
    margin-bottom: 8px;
}

/* ── Responsive ── */

/* ── Tablet Landscape (1024px) ── */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .posts-grid { grid-template-columns: repeat(2, 1fr); }
    .areas-grid { grid-template-columns: repeat(3, 1fr); }
    .pricing-cards { grid-template-columns: repeat(2, 1fr); }
    .partnership-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
    .partnership-card { padding: 24px 18px; }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
    .footer-grid > div:last-child { grid-column: 1 / -1; }
    .hero h1 { font-size: 2.6rem; }

    .gallery-video { height: 440px; }
    .process-steps { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* ==========================================================================
   MOBILE REDESIGN — 768px and below
   Horizontal-swipe carousels · Card-style stats · Pill tags · Centered hero
   ========================================================================== */
@media (max-width: 768px) {

    /* ── Legal Pages Mobile ── */
    .legal-toc ol { columns: 1; }
    .legal-toc { padding: 18px 20px; }
    .legal-content h2 { font-size: 1.2rem; margin-top: 2rem; padding-top: 1.2rem; }
    .legal-table { font-size: 0.82rem; }
    .legal-table th, .legal-table td { padding: 10px 12px; }

    /* ── Global Mobile ── */
    body { font-size: 15px; }
    .container { padding: 0 20px; }

    /* Typography — clear, readable hierarchy */
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.35rem; }
    h3 { font-size: 1.05rem; }
    .section-title { font-size: 1.35rem; margin-bottom: 8px; letter-spacing: -0.01em; }
    .section-subtitle { font-size: 0.88rem; max-width: 100%; line-height: 1.6; }
    .section-label { font-size: 0.7rem; margin-bottom: 6px; letter-spacing: 0.1em; }

    /* Section spacing — generous breathing room */
    .section { padding: 26px 0; }

    /* Disable hover transforms on touch (they stick) */
    .service-card:hover,
    .testimonial-card:hover,
    .pricing-card:hover,
    .partnership-card:hover,
    .area-tag:hover,
    .post-card:hover {
        transform: none;
        box-shadow: none;
    }
    .pricing-card--popular:hover { box-shadow: 0 8px 26px rgba(43,124,184,0.14); }

    /* ── Header ── */
    .site-nav { display: block; }
    .header-cta { display: none; }
    .menu-toggle { display: block; }
    .header-inner { height: 60px; }
    .site-brand-name { font-size: 1.05rem; }

    .site-nav {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--color-white);
        border-bottom: 1px solid var(--color-border);
        box-shadow: 0 12px 32px rgba(0,0,0,0.1);
        padding: 0 20px;
        z-index: 100;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                    opacity 0.25s ease,
                    padding 0.3s ease;
    }

    .site-nav.open {
        display: flex;
        flex-direction: column;
        max-height: 500px;
        opacity: 1;
        padding: 8px 20px 20px;
    }

    .site-nav.open ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .site-nav.open a {
        padding: 14px 0;
        font-size: 0.95rem;
        border-bottom: 1px solid var(--color-border);
        color: var(--color-text);
    }

    .site-nav.open a::after { display: none; }

    .site-nav.open li:last-child a { border-bottom: none; }

    .mobile-nav-cta {
        display: block;
        margin-top: 14px;
    }

    .mobile-nav-cta .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 0.95rem;
    }

    /* ── Hero — centered, impactful ── */
    .hero {
        padding: 80px 0 28px;
        text-align: center;
        background: linear-gradient(168deg, #f0f5ff 0%, var(--color-bg) 60%, #f9fafb 100%);
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .hero-inner { max-width: 100%; }
    .hero-side-img img {
        border-radius: 20px;
        -webkit-mask-image: radial-gradient(ellipse 95% 90% at 50% 50%, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
        mask-image: radial-gradient(ellipse 95% 90% at 50% 50%, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
    }

    .hero::before { width: 280px; height: 280px; top: -60px; right: -40px; }
    .hero-inner { max-width: 100%; }

    .hero-badge { font-size: 0.7rem; padding: 5px 12px; margin-bottom: 12px; }
    .hero h1 { font-size: 1.7rem; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 4px; }
    .hero-slogan { font-size: 1rem; margin-bottom: 8px; }
    .hero p { font-size: 0.88rem; margin-bottom: 20px; max-width: 100%; line-height: 1.55; }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        margin-bottom: 20px;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .hero-trust {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
        justify-content: center;
    }

    .hero-trust-item {
        font-size: 0.75rem;
        background: var(--color-white);
        padding: 5px 12px;
        border-radius: 100px;
        border: 1px solid var(--color-border);
        box-shadow: var(--shadow-sm);
    }

    /* ── Stats — 2×2 card grid ── */
    .stats { padding: 28px 0; }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .stats-grid > div {
        background: var(--color-white);
        padding: 18px 14px;
        border-radius: var(--radius-lg);
        border: 1px solid var(--color-border);
        box-shadow: var(--shadow-sm);
    }

    .stat-number {
        font-size: 1.5rem;
        background: var(--gradient-brand);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    .stat-label { font-size: 0.72rem; margin-top: 2px; }

    /* ── Services — VERTICAL STACK ── */
    .services-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 28px;
        overflow-x: visible;
        scroll-snap-type: none;
    }

    .service-card {
        min-width: unset;
        max-width: unset;
        padding: 22px 18px;
        border-top: 3px solid var(--color-accent);
    }

    .service-icon { width: 40px; height: 40px; margin-bottom: 14px; }
    .service-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
    .service-card p { font-size: 0.85rem; line-height: 1.55; margin-bottom: 12px; }
    .service-cta { font-size: 0.82rem; }

    /* ── Why Choose Us ── */
    .why-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 28px;
    }

    .why-image {
        border-radius: var(--radius);
        width: 100%;
    }
    .why-image img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: var(--radius);
    }
    .why-placeholder {
        width: 100%;
        height: auto;
    }

    .why-features { gap: 18px; }
    .why-feature { gap: 12px; }
    .why-feature-icon { width: 36px; height: 36px; }
    .why-feature h4 { font-size: 0.95rem; margin-bottom: 2px; }
    .why-feature p { font-size: 0.84rem; line-height: 1.55; }

    /* ── Gallery ── */
    .gallery-video {
        height: 420px;
        margin-bottom: 16px;
        border-radius: var(--radius);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .gallery-item { border-radius: var(--radius); }

    /* Always show captions on touch — no hover */
    .gallery-caption {
        padding: 6px 10px;
        font-size: 0.75rem;
        transform: translateY(0);
        background: linear-gradient(transparent, rgba(0,0,0,0.55));
    }

    /* ── Process — VERTICAL STACKED on mobile ── */
    .process-steps {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
        margin: 28px 0 0;
        padding: 0;
        overflow-x: visible;
        scroll-snap-type: none;
    }

    .process-step {
        min-width: unset;
        max-width: unset;
        scroll-snap-align: unset;
        flex-shrink: unset;
        background: var(--color-white);
        padding: 22px 18px;
        border-radius: var(--radius-lg);
        border: 1px solid var(--color-border);
        box-shadow: var(--shadow-sm);
    }

    .step-number { width: 38px; height: 38px; font-size: 0.9rem; margin-bottom: 12px; }
    .process-step h4 { font-size: 0.92rem; margin-bottom: 4px; }
    .process-step p { font-size: 0.82rem; line-height: 1.5; }

    /* ── Calculator ── */
    .calculator { padding: 22px 18px; margin-top: 28px; border-radius: var(--radius-lg); }
    .calc-field label { font-size: 0.84rem; }
    .calc-field select { font-size: 0.85rem; padding: 10px 12px; }
    .calc-result { padding: 16px; border-radius: var(--radius); }
    .calc-result-price { font-size: 1.5rem; }
    .calc-result-label { font-size: 0.75rem; }

    /* ── Pricing Tabs — horizontally scrollable pills ── */
    .pricing-tabs {
        gap: 6px;
        margin-top: 24px;
        margin-bottom: 20px;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0 0 4px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .pricing-tabs::-webkit-scrollbar { display: none; }
    .pricing-tab {
        padding: 8px 16px;
        font-size: 0.8rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* ── Pricing Cards — VERTICAL STACK ── */
    .pricing-cards {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 16px;
        overflow-x: visible;
        scroll-snap-type: none;
    }

    .pricing-card {
        min-width: unset;
        max-width: unset;
        padding: 22px 18px;
    }

    .pricing-card--popular { border-width: 2px; }
    .pricing-card-price { font-size: 1.5rem; padding: 12px 0; }
    .pricing-card-header h3 { font-size: 1rem; }
    .pricing-card-size { font-size: 0.8rem; }
    .pricing-card-features li { font-size: 0.84rem; padding: 4px 0; }
    .pricing-card .btn { width: 100%; justify-content: center; font-size: 0.88rem; }

    /* Pricing table */
    .pricing-table th { padding: 10px 12px; font-size: 0.75rem; letter-spacing: 0.03em; }
    .pricing-table td { padding: 10px 12px; font-size: 0.82rem; }

    /* ── Testimonials — VERTICAL STACKED on mobile ── */
    .testimonials-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
        margin: 28px 0 0;
        padding: 0;
        overflow-x: visible;
        scroll-snap-type: none;
    }

    .testimonial-card {
        min-width: unset;
        max-width: unset;
        scroll-snap-align: unset;
        flex-shrink: unset;
        padding: 22px 18px;
    }

    .testimonial-stars svg { width: 14px; height: 14px; }
    .testimonial-text { font-size: 0.88rem; margin-bottom: 14px; line-height: 1.65; }
    .testimonial-name { font-size: 0.85rem; }
    .testimonial-role { font-size: 0.75rem; }
    .testimonial-avatar { width: 36px; height: 36px; font-size: 0.8rem; }

    /* ── Areas — flowing centered pill tags ── */
    .areas-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        margin-top: 24px;
    }

    .area-tag {
        padding: 8px 14px;
        font-size: 0.78rem;
        border-radius: 100px;
        gap: 5px;
    }

    .area-tag svg { width: 12px; height: 12px; }
    .areas-note { font-size: 0.84rem; margin-top: 20px; }

    /* ── FAQ ── */
    .faq-grid { grid-template-columns: 1fr; margin-top: 24px; gap: 8px; }
    .faq-card { border-radius: 8px; }
    .faq-question { padding: 13px 14px; gap: 10px; font-size: 0.87rem; }
    .faq-num { width: 28px; height: 28px; font-size: 0.72rem; border-radius: 7px; }
    .faq-toggle { width: 22px; height: 22px; }
    .faq-toggle::before, .faq-toggle::after { width: 9px; }
    .faq-answer-inner { padding: 0 14px 14px 52px; font-size: 0.82rem; line-height: 1.65; }

    /* ── Partnership — VERTICAL STACKED on mobile ── */
    .partnership-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
        margin: 28px 0 0;
        padding: 0;
        overflow-x: visible;
        scroll-snap-type: none;
    }

    .partnership-card {
        min-width: unset;
        max-width: unset;
        scroll-snap-align: unset;
        flex-shrink: unset;
        padding: 22px 18px;
    }

    .partnership-icon { width: 40px; height: 40px; margin: 0 auto 14px; }
    .partnership-card h3 { font-size: 1rem; margin-bottom: 6px; }
    .partnership-card p { font-size: 0.84rem; }
    .partnership-cta { margin-top: 24px; }
    .partnership-cta p { font-size: 0.92rem; margin-bottom: 14px; }
    .partnership-cta .btn { width: 100%; justify-content: center; }

    /* ── Blog Posts — VERTICAL STACKED on mobile ── */
    .posts-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
        margin: 28px 0 0;
        padding: 0;
        overflow-x: visible;
        scroll-snap-type: none;
    }

    .post-card {
        min-width: unset;
        max-width: unset;
        scroll-snap-align: unset;
        flex-shrink: unset;
    }

    .post-card-body { padding: 16px; }
    .post-card-meta { font-size: 0.72rem; }
    .post-card h3 { font-size: 0.95rem; margin-bottom: 4px; }
    .post-card p { font-size: 0.82rem; }

    /* ── CTA Section ── */
    .cta-section { padding: 48px 0; }
    .cta-section h2 { font-size: 1.4rem; margin-bottom: 8px; }
    .cta-section p { font-size: 0.9rem; margin-bottom: 24px; }

    .cta-actions {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .cta-actions .btn {
        width: 100%;
        max-width: 100%;
        justify-content: center;
    }

    /* ── Footer ── */
    .site-footer { padding: 40px 0 0; }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .footer-grid > div:first-child { grid-column: 1 / -1; }
    .footer-grid > div:last-child { grid-column: 1 / -1; }
    .footer-brand p { font-size: 0.84rem; }
    .footer-slogan { font-size: 0.9rem; }
    .footer-title { font-size: 0.78rem; margin-bottom: 12px; }
    .footer-links a { font-size: 0.84rem; }
    .footer-links li { margin-bottom: 8px; }
    .footer-contact-item { font-size: 0.84rem; margin-bottom: 10px; }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        margin-top: 28px;
        padding: 18px 0;
        font-size: 0.75rem;
    }

    /* ── Pages ── */
    .archive-grid { grid-template-columns: 1fr; }
    .post-nav { grid-template-columns: 1fr; }
    .page-header { padding: 100px 0 40px; }
    .page-header h1 { font-size: 1.6rem; }
    .error-404 { padding: 110px 0 56px; }
    .error-404-code { font-size: 4rem; }

    /* email Float — move above mobile nav area */
    .whatsapp-float { width: 52px; height: 52px; bottom: 80px; right: 18px; }
    .whatsapp-float svg { width: 26px; height: 26px; }
}

/* ── Small Mobile (480px) ── */
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .section { padding: 18px 0; }

    /* No carousel edge adjustments needed — all sections are vertical stacks */

    /* Hero */
    .hero { padding: 96px 0 40px; }
    .hero h1 { font-size: 1.6rem; }
    .hero p { font-size: 0.88rem; }
    .hero-slogan { font-size: 0.95rem; }
    .hero-badge { font-size: 0.68rem; padding: 4px 10px; }
    .hero-actions .btn { padding: 13px 20px; font-size: 0.88rem; }

    /* Stats */
    .stats { padding: 22px 0; }
    .stats-grid { gap: 8px; }
    .stats-grid > div { padding: 14px 10px; }
    .stat-number { font-size: 1.35rem; }
    .stat-label { font-size: 0.7rem; }

    /* Card sizing on small screens */
    .service-card { padding: 20px 16px; }
    .service-card h3 { font-size: 1rem; }
    .service-card p { font-size: 0.82rem; }
    .service-icon { width: 36px; height: 36px; margin-bottom: 12px; }

    .process-step { padding: 18px 14px; }
    .step-number { width: 34px; height: 34px; font-size: 0.82rem; margin-bottom: 10px; }
    .process-step h4 { font-size: 0.88rem; }
    .process-step p { font-size: 0.78rem; }

    .pricing-card { padding: 20px 16px; }
    .pricing-card-price { font-size: 1.4rem; padding: 10px 0; }
    .pricing-card-features li { font-size: 0.8rem; }
    .pricing-tab { padding: 7px 12px; font-size: 0.75rem; }

    .testimonial-card { padding: 18px 16px; }
    .testimonial-text { font-size: 0.84rem; }

    .partnership-card { padding: 18px 16px; }
    .post-card-body { padding: 14px; }

    /* Gallery */
    .gallery-grid { gap: 6px; }
    .gallery-caption { padding: 5px 8px; font-size: 0.72rem; }

    /* Calculator */
    .calculator { padding: 18px 14px; }
    .calc-result-price { font-size: 1.4rem; }

    /* Areas */
    .area-tag { padding: 7px 12px; font-size: 0.74rem; gap: 4px; }

    /* FAQ */
    .faq-question { font-size: 0.82rem; padding: 12px 12px; gap: 8px; }
    .faq-num { width: 26px; height: 26px; font-size: 0.7rem; }
    .faq-answer-inner { font-size: 0.78rem; padding: 0 12px 12px 46px; }

    /* CTA */
    .cta-section { padding: 40px 0; }
    .cta-section h2 { font-size: 1.3rem; }
    .cta-section p { font-size: 0.85rem; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 20px; }
    .footer-grid > div:first-child,
    .footer-grid > div:last-child { grid-column: auto; }
    .footer-bottom { font-size: 0.72rem; padding: 16px 0; }

    /* Blog */
    .post-card-body { padding: 14px; }
    .post-card h3 { font-size: 0.9rem; }

    /* email Float */
    .whatsapp-float { width: 48px; height: 48px; bottom: 76px; right: 14px; }
    .whatsapp-float svg { width: 24px; height: 24px; }
}

/* ── Very Small Screens (360px) ── */
@media (max-width: 360px) {
    .container { padding: 0 12px; }

    /* No carousel edge adjustments needed — all sections are vertical stacks */

    .hero h1 { font-size: 1.4rem; }
    .hero p { font-size: 0.84rem; }
    .hero-actions .btn { padding: 12px 16px; font-size: 0.84rem; }
    .section-title { font-size: 1.2rem; }
    .section-subtitle { font-size: 0.82rem; }

    .stats-grid { gap: 6px; }
    .stats-grid > div { padding: 12px 8px; }
    .stat-number { font-size: 1.2rem; }

    /* Card padding on tiny screens */
    .service-card,
    .pricing-card { padding: 18px 14px; }

    .pricing-tab { padding: 6px 10px; font-size: 0.72rem; }
    .btn--lg { padding: 13px 22px; font-size: 0.88rem; }
    .area-tag { padding: 6px 10px; font-size: 0.7rem; }
}

/* ── Scroll Reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Accessibility ── */
:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ── Language switcher ── */
.pc4u-language-switcher {
    display: flex;
    align-items: center;
}

.pc4u-language-switcher ul {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.pc4u-language-switcher a {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.pc4u-language-switcher a:hover,
.pc4u-language-switcher .current-lang > a {
    color: var(--color-accent);
    background: var(--color-accent-light);
}

.header-language-switcher { margin-left: 12px; }

@media (max-width: 1024px) {
    .header-language-switcher { margin-left: auto; margin-right: 8px; }
    .header-language-switcher a { padding: 4px 6px; font-size: 0.7rem; }
}

.pc4u-lang-suggest {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--color-navy);
    color: #fff;
    box-shadow: var(--shadow-lg);
    font-size: 0.9rem;
}

.pc4u-lang-suggest a { color: #fff; text-decoration: underline; }
.pc4u-lang-suggest button {
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 600px) {
    .pc4u-lang-suggest {
        width: calc(100% - 32px);
        justify-content: center;
        text-align: center;
    }
}

/* ── SEO pages: breadcrumbs & linked coverage pills ── */
.pc4u-breadcrumbs {
    margin: 0 0 20px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.pc4u-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.pc4u-breadcrumbs a { color: var(--color-accent); }
.pc4u-breadcrumbs a:hover { color: var(--color-accent-hover); }
.pc4u-breadcrumb-sep { color: var(--color-text-light); }

a.area-tag,
a.area-tag:visited { color: var(--color-text); }
a.area-tag:hover { color: var(--color-accent); border-color: var(--color-accent); }
.area-tag--plain { opacity: 0.75; }

.service-card h3 a { color: inherit; }
.service-card h3 a:hover { color: var(--color-accent); }

/* ── Print ── */
@media print {
    .site-header,
    .site-footer,
    .whatsapp-float,
    .cta-section { display: none; }

    body { color: #000; font-size: 12pt; }
    a { color: #000; text-decoration: underline; }
}

/* ── Cleaners & agents page (/agents/) ── */
.partnership-grid--three { grid-template-columns: repeat(3, 1fr); }

.pc4u-agent-pay { margin: 24px 0 8px; }
.pc4u-agent-pay dt {
    font-family: var(--font-heading, inherit);
    font-weight: 700;
    color: var(--color-primary, #285246);
    margin-top: 18px;
}
.pc4u-agent-pay dd {
    margin: 4px 0 0;
    color: var(--color-text, #26384a);
    line-height: 1.7;
}

.cta-note {
    margin-top: 16px;
    font-size: 0.92rem;
    line-height: 1.6;
}
.cta-note a { color: inherit; text-decoration: underline; }

@media (max-width: 992px) {
    .partnership-grid--three { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .partnership-grid--three { grid-template-columns: 1fr; }
}

/* ── Video block (service + agents pages) ── */
.pc4u-video {
    max-width: 860px;
    margin: 32px auto 0;
}
.pc4u-video-link {
    display: block;
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg, 16px);
    background: #0f1b26 center/cover no-repeat;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(15, 27, 38, 0.18);
}
.pc4u-video-link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 20, 30, 0.25);
    transition: background 0.25s ease;
}
.pc4u-video-link:hover::after { background: rgba(10, 20, 30, 0.08); }
.pc4u-video-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    z-index: 1;
}
.pc4u-video-play::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-38%, -50%);
    border-style: solid;
    border-width: 13px 0 13px 22px;
    border-color: transparent transparent transparent #285246;
}
@media (max-width: 640px) {
    .pc4u-video-play { width: 58px; height: 58px; }
}

/* ── Inline article image ── */
.pc4u-post-inline {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 0 24px;
    border-radius: var(--radius-lg, 16px);
}

/* ── Blog article contact CTA ── */
.pc4u-blog-cta-line {
    margin-top: 32px;
    padding: 18px 20px;
    background: #f4f8fb;
    border-left: 4px solid #285246;
    border-radius: 8px;
}
.pc4u-blog-cta {
    margin: 40px 0 8px;
    border-radius: var(--radius-lg, 16px);
    overflow: hidden;
}
.pc4u-blog-cta .cta-note,
.pc4u-blog-cta .cta-note a { color: #ffffff; }
.pc4u-blog-cta .cta-note a { text-decoration: underline; }
.pc4u-blog-cta .cta-note a + a { margin-left: 4px; }

/* ── Homepage guide carousel: three per view, sliding ── */
.posts-carousel { position: relative; }
.posts-carousel__viewport { overflow: hidden; }

/* The carousel only takes over once the script has measured the cards. Until
   then the section stays a normal grid, so it works with JS disabled. */
.posts-carousel.is-ready .posts-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    margin-top: 48px;
    transition: transform .65s cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
}
.posts-carousel.is-ready .post-card {
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: 0;
}
.posts-carousel.is-ready .posts-grid > * { scroll-snap-align: start; }

@media (max-width: 1024px) {
    .posts-carousel.is-ready .post-card { flex-basis: calc((100% - 24px) / 2); }
}
@media (max-width: 640px) {
    .posts-carousel.is-ready .post-card { flex-basis: 100%; }
}

.posts-carousel__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 30px;
}
.posts-carousel__nav[hidden] { display: none; }

.posts-carousel__btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--color-border, #cbd5e1);
    background: var(--color-white, #ffffff);
    color: #0f172a;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.posts-carousel__btn:hover:not(:disabled) { border-color: #0f766e; color: #0f766e; transform: translateY(-1px); }
.posts-carousel__btn:disabled { opacity: .35; cursor: default; }
.posts-carousel__btn:focus-visible { outline: 2px solid #0f766e; outline-offset: 2px; }

.posts-carousel__dots { display: flex; align-items: center; gap: 9px; }
.posts-carousel__dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
}
.posts-carousel__dot.is-active { background: #0f766e; transform: scale(1.35); }
.posts-carousel__dot:focus-visible { outline: 2px solid #0f766e; outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
    .posts-carousel.is-ready .posts-grid { transition: none; }
}

/* ── Answer hub and key facts ── */
.section--tight { padding-top: 28px; padding-bottom: 28px; }

.hero--answer .pc4u-answer-lead {
    margin: 18px 0 8px;
    padding: 22px 24px;
    background: #f1f5f9;
    border-left: 4px solid #0f766e;
    border-radius: 10px;
}
.hero--answer .pc4u-answer-lead p {
    margin: 0;
    font-size: 1.06rem;
    line-height: 1.65;
    color: #0f172a;
}

.pc4u-facts {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 22px 24px;
}
.pc4u-facts__title {
    font-size: 1rem;
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #475569;
}
.pc4u-facts__list { margin: 0; display: grid; gap: 10px; }
.pc4u-facts__row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px dashed #e2e8f0;
    padding-bottom: 10px;
}
.pc4u-facts__row:last-child { border-bottom: 0; padding-bottom: 0; }
.pc4u-facts__row dt { color: #64748b; font-size: .92rem; margin: 0; }
.pc4u-facts__row dd { margin: 0; font-weight: 600; text-align: right; color: #0f172a; }

.pc4u-updated { margin-top: 26px; font-size: .88rem; color: #64748b; }

.pc4u-answer-links { display: flex; flex-wrap: wrap; gap: 12px; }
.pc4u-answer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    color: #0f172a;
    background: #ffffff;
}
.pc4u-answer-link:hover { border-color: #0f766e; color: #0f766e; }

.pc4u-answer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}
.pc4u-answer-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    text-decoration: none;
    color: #0f172a;
}
.pc4u-answer-card:hover {
    border-color: #0f766e;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
}
.pc4u-answer-card__cat {
    font-size: .74rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #0f766e;
    font-weight: 700;
}
.pc4u-answer-card__q { font-weight: 600; line-height: 1.4; }

.pc4u-author {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 22px 24px;
}
.pc4u-author__body strong { display: block; margin-bottom: 8px; }
.pc4u-author__body p { margin: 0 0 10px; color: #475569; font-size: .95rem; }

.pc4u-jump { display: flex; flex-wrap: wrap; gap: 10px; }
.pc4u-jump__link {
    padding: 8px 14px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #0f172a;
    text-decoration: none;
    font-size: .9rem;
    font-weight: 600;
}
.pc4u-jump__link:hover { background: #0f766e; color: #ffffff; }

.pc4u-answer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pc4u-answer-list__link {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    text-decoration: none;
    color: #0f172a;
}
.pc4u-answer-list__link span { color: #475569; font-size: .95rem; }
.pc4u-answer-list__link:hover { border-color: #0f766e; }

@media (max-width: 640px) {
    .pc4u-facts__row { flex-direction: column; gap: 2px; }
    .pc4u-facts__row dd { text-align: left; }
}

/* =========================================================================
   Bersihku palette override — appended, no original rule rewritten.
   Every Bersihku component reads these variables, so the whole theme
   rebrands without touching its layout.
   ========================================================================= */
:root {
	--color-bg: #f2f0e4;
	--color-bg-alt: #f8f6ec;
	--color-bg-dark: #172e26;
	--color-text: #2e3a35;
	--color-text-muted: #5a675f;
	--color-text-light: #7a8a82;
	--color-accent: #285246;
	--color-accent-hover: #172e26;
	--color-accent-light: #e8f0ec;
	--color-accent-2: #3e6b5c;
	--color-navy: #172e26;
	--color-border: #dfe6df;
	--color-white: #ffffff;
	--color-success: #12805c;
	--color-star: #b49d71;
	--gradient-brand: linear-gradient(135deg, #285246 0%, #172e26 100%);
	--gradient-brand-soft: linear-gradient(135deg, #e8f0ec 0%, #f2f0e4 100%);
	--shadow-sm: 0 1px 2px rgba(23, 46, 38, .06);
	--shadow: 0 2px 8px rgba(23, 46, 38, .07), 0 1px 2px rgba(23, 46, 38, .05);
	--shadow-md: 0 10px 30px rgba(23, 46, 38, .10);
	--shadow-lg: 0 20px 50px rgba(23, 46, 38, .14);
}

/* Empty gallery placeholders add noise before photography exists. */
.gallery-item--empty { display: none; }
.gallery-grid:not(:has(.gallery-item:not(.gallery-item--empty))) { display: none; }
#gallery:not(:has(.gallery-item:not(.gallery-item--empty))):not(:has(.gallery-video)) { display: none; }

/* Keep gold purely decorative and text-safe. */
.footer-legal { opacity: .85; }
.section-label { color: #7a6636; }

/* Bersihku replica refinements */
/* Without a hero photo the two-column hero leaves a dead half. */
.hero-grid:not(:has(.hero-side-img)) { grid-template-columns: 1fr; }
.hero-grid:not(:has(.hero-side-img)) .hero-inner { max-width: 860px; }
/* The slogan line now repeats the brand name; the H1 carries the message. */
.hero-slogan { display: none; }

/* Hide inherited placeholder UI until real content exists. */
.why-placeholder { display: none; }
a[href="tel:"] { display: none; }

/* No first-party reviews yet, and no backend for the tracker. Showing the
   original theme's demo testimonials would be fabricated proof. */
#testimonials, #track { display: none; }

/* The why-section photo is now the client's own team photograph, imported into
   the media library, so the grid keeps its two columns. The placeholder SVG is
   still hidden in case the setting is ever cleared. */
