/*
Theme Name: Maids for Chandigarh
Theme URI: https://maidsforchandigarh.com/
Author: Antigravity
Author URI: https://maidsforchandigarh.com/
Description: Modern, responsive, fully editable WordPress theme for Maids for Chandigarh - Verified Maid, Cook, and Nanny services in Chandigarh, Mohali, and Panchkula.
Version: 1.0.0
Tested up to: 6.7
Requires at least: 5.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: maids-for-chandigarh
Tags: two-columns, full-width-template, custom-header, custom-menu, custom-logo, editor-style, featured-images, theme-options, translation-ready
*/

:root {
    --p: #0f766e;
    --pd: #0b4f4a;
    --a: #fbbf24;
    --bg: #ffffff;
    --bg2: #f1f8f7;
    --t: #12302d;
    --m: #5b6f6c;
    --c: #ffffff;
    --bd: #d9e7e5;
    color-scheme: light dark;
    box-sizing: border-box;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #0d1a19;
        --bg2: #12231f;
        --t: #e6f2f0;
        --m: #9db3af;
        --c: #162b28;
        --bd: #24403b;
    }
}

:root[data-theme="dark"] {
    --bg: #0d1a19;
    --bg2: #12231f;
    --t: #e6f2f0;
    --m: #9db3af;
    --c: #162b28;
    --bd: #24403b;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--t);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.w {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 18px;
    width: 100%;
}

/* ================= Top Bar ================= */
.top {
    background: var(--pd);
    color: #ffffff;
    font-size: 13px;
}

.top .w {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.top a {
    color: #ffffff;
}

.top a:hover {
    color: var(--a);
}

/* ================= Header & Navigation ================= */
header.site-header {
    position: sticky;
    top: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--bd);
    z-index: 99;
}

header.site-header .w {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 14px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 19px;
    line-height: 1.15;
    color: var(--p);
    white-space: nowrap;
    flex-shrink: 0;
}

.logo svg, .logo img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo span {
    display: flex;
    flex-direction: column;
}

.logo small {
    display: block;
    font-size: 10.5px;
    letter-spacing: 1.5px;
    color: var(--m);
    font-weight: 600;
}

nav.site-nav {
    display: flex;
    gap: 14px;
    align-items: center;
    font-weight: 600;
    font-size: 14px;
    flex-wrap: nowrap;
}

nav.site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: nowrap;
}

nav.site-nav li {
    position: relative;
    white-space: nowrap;
}

nav.site-nav a {
    color: var(--t);
    padding: 8px 4px;
    white-space: nowrap;
    word-break: keep-all;
}

nav.site-nav a:hover,
nav.site-nav li.current-menu-item > a,
nav.site-nav li.current_page_item > a {
    color: var(--p);
}

.btn.hd {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 9px 18px;
    font-size: 14px;
}

/* Dropdown menus */
nav.site-nav li.menu-item-has-children > a::after,
.dd > a::after,
#ddb::after {
    content: " ▾";
    font-size: 11px;
}

nav.site-nav .sub-menu,
.dd > div {
    display: none;
    position: absolute;
    top: 100%;
    left: -10px;
    background: var(--c);
    border: 1px solid var(--bd);
    border-radius: 10px;
    min-width: 220px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 100;
    list-style: none;
    margin: 0;
}

nav.site-nav li:hover > .sub-menu,
nav.site-nav li.focus > .sub-menu,
.dd:hover > div,
.dd.on > div {
    display: block;
}

nav.site-nav .sub-menu li {
    width: 100%;
}

nav.site-nav .sub-menu a,
.dd > div a {
    display: block;
    padding: 9px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--t);
}

nav.site-nav .sub-menu a:hover,
.dd > div a:hover {
    background: var(--bg2);
    color: var(--p);
}

#mb {
    display: none;
    background: none;
    border: 0;
    font-size: 28px;
    color: var(--t);
    cursor: pointer;
    padding: 4px;
}

/* ================= Buttons ================= */
.btn {
    display: inline-block;
    background: var(--a);
    color: #3b2a00;
    padding: 11px 22px;
    border-radius: 30px;
    font-weight: 700;
    border: 0;
    cursor: pointer;
    font-size: 15px;
    font-family: inherit;
    text-align: center;
    transition: filter 0.2s, transform 0.15s;
}

.btn:hover {
    filter: brightness(0.95);
    transform: translateY(-1px);
    color: #3b2a00;
}

.btn.o {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
}

.btn.o:hover {
    background: rgba(255,255,255,0.15);
    color: #ffffff;
}

.btn.s {
    padding: 7px 14px;
    font-size: 13px;
}

.btn.g {
    background: var(--p);
    color: #ffffff;
}

.btn.g:hover {
    background: var(--pd);
    color: #ffffff;
}

.btn.r {
    background: #dc2626;
    color: #ffffff;
}

.btn.r:hover {
    background: #b91c1c;
    color: #ffffff;
}

/* ================= Hero / Banner Slider ================= */
.ban {
    position: relative;
    color: #ffffff;
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--pd);
}

.ban.inner-ban {
    min-height: 340px;
}

.bgs-container {
    position: absolute;
    inset: 0;
}

.bs {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.bs.on {
    opacity: 1;
}

.bs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.bs.bs-nanny {
    background: linear-gradient(120deg, #0b4f4a, #2f9e8f);
    display: flex;
    justify-content: flex-end;
}

.bs.bs-nanny img {
    height: 100%;
    width: auto;
    max-width: 65%;
    object-fit: cover;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%);
    mask-image: linear-gradient(90deg, transparent, #000 30%);
}

.ban::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5,30,28,0.85) 0%, rgba(5,30,28,0.5) 50%, rgba(5,30,28,0.2) 80%);
    pointer-events: none;
}

.ban > .w {
    width: 100%;
    position: relative;
    z-index: 2;
}

.bt {
    position: relative;
    z-index: 2;
    max-width: 580px;
    padding: 50px 0;
    text-align: left;
    margin: 0;
}

.bt h1 {
    font-size: clamp(28px, 4.4vw, 48px);
    line-height: 1.15;
    margin: 12px 0;
    color: #ffffff;
}

.bt h1 span {
    color: var(--a);
}

.bt p {
    font-size: 17px;
    margin-bottom: 22px;
    color: #e2f1ee;
}

.tag {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.tag a {
    color: #ffffff;
}

.tag a:hover {
    color: var(--a);
}

.dots {
    position: absolute;
    bottom: 18px;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    gap: 8px;
    justify-content: center;
}

.dots i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-block;
}

.dots i.on {
    background: var(--a);
    width: 30px;
    border-radius: 6px;
}

/* ================= Why Choose Us ================= */
.why {
    background: var(--p);
    color: #ffffff;
    padding: 26px 0;
}

.why .w {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.why div {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 14px;
    line-height: 1.3;
}

.why span.why-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.why b {
    display: block;
    font-size: 15px;
    color: var(--a);
}

/* ================= Common Section Layouts ================= */
section {
    padding: 65px 0;
}

.alt {
    background: var(--bg2);
}

.h {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 36px;
}

.h h2 {
    font-size: clamp(26px, 3.5vw, 36px);
    margin-bottom: 8px;
}

.h p {
    color: var(--m);
    font-size: 16px;
}

.h h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--a);
    margin: 12px auto 0;
    border-radius: 4px;
}

.g {
    display: grid;
    gap: 24px;
}

.g3 {
    grid-template-columns: repeat(3, 1fr);
}

.g2 {
    grid-template-columns: 1fr 1fr;
}

.card {
    background: var(--c);
    border: 1px solid var(--bd);
    border-radius: 14px;
    padding: 24px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(15,118,110,0.12);
}

/* ================= About Section ================= */
.about {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.trio {
    display: flex;
    justify-content: center;
}

.trio img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(0,0,0,0.18);
    object-fit: cover;
}

/* ================= Services Section ================= */
.sv {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sv .av {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--a);
    margin-bottom: 14px;
}

.sv h3 {
    font-size: 21px;
    margin-bottom: 6px;
}

.sv p {
    color: var(--m);
    font-size: 14px;
    margin: 6px 0 18px;
    flex-grow: 1;
}

/* ================= Reviews / Testimonials ================= */
.stars {
    color: #f59e0b;
    letter-spacing: 2px;
    font-size: 16px;
    margin-bottom: 10px;
}

.who {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    font-weight: 700;
}

.in {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--p);
    color: #ffffff;
    display: grid;
    place-items: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

/* ================= CTA Banner ================= */
.cta {
    background: var(--a);
    color: #3b2a00;
    text-align: center;
    padding: 56px 0;
}

.cta h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
}

.cta p {
    font-size: 17px;
    margin-top: 6px;
}

.cta .btn {
    background: var(--pd);
    color: #ffffff;
    margin-top: 18px;
}

.cta .btn:hover {
    background: #062b28;
    color: #ffffff;
}

/* ================= Meet Verified Professionals Rail ================= */
.rw {
    position: relative;
}

.rw .ar {
    position: absolute;
    top: 40%;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 0;
    background: var(--p);
    color: #ffffff;
    font-size: 22px;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.rw .ar:hover {
    background: var(--pd);
}

.rw .l { left: -14px; }
.rw .rr { right: -14px; }

.rail {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px 4px 20px;
    scrollbar-width: thin;
}

.rail > .pc {
    flex: 0 0 250px;
    scroll-snap-align: start;
}

.pc {
    background: var(--c);
    border: 1px solid var(--bd);
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
}

.pc:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(15,118,110,0.2);
}

.pc .ph {
    height: 190px;
    background: var(--bg2);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.pc .ph img, .pc .ph svg {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.pc .bd {
    padding: 16px;
}

.pc h4 {
    font-size: 17px;
    margin-bottom: 2px;
}

.pc small {
    color: var(--m);
    display: block;
    margin-bottom: 4px;
}

.vf {
    display: inline-block;
    background: #dcfce7;
    color: #166534;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    margin-top: 4px;
}

.chips {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 8px 0;
}

.chips span {
    background: var(--bg2);
    border-radius: 12px;
    padding: 2px 10px;
    font-size: 12px;
    color: var(--m);
}

.pg {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

/* ================= Inner Page Specifics ================= */
.sh {
    background: linear-gradient(120deg, var(--pd), var(--p));
    color: #ffffff;
    padding: 50px 0;
}

.sh h1 {
    font-size: clamp(28px, 4vw, 42px);
    color: #ffffff;
    margin-bottom: 8px;
}

.sh p {
    max-width: 680px;
    opacity: 0.92;
    font-size: 16px;
}

.il {
    list-style: none;
    padding: 0;
    margin: 14px 0;
}

.il li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--bd);
    font-size: 15px;
}

.il li::before {
    content: "✓ ";
    color: var(--p);
    font-weight: 800;
    margin-right: 6px;
}

/* ================= Forms & Inputs ================= */
.fm {
    max-width: 720px;
    margin: 0 auto;
}

.fm input, .fm select, .fm textarea,
.pr input, .pr select, .pr textarea,
.comment-form input, .comment-form textarea {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 12px;
    border: 1px solid var(--bd);
    border-radius: 8px;
    background: var(--bg);
    color: var(--t);
    font: inherit;
    font-size: 15px;
}

.fm input:focus, .fm select:focus, .fm textarea:focus,
.pr input:focus, .pr select:focus, .pr textarea:focus {
    outline: none;
    border-color: var(--p);
    box-shadow: 0 0 0 3px rgba(15,118,110,0.15);
}

.fm label {
    display: block;
    font-size: 13px;
    color: var(--m);
    font-weight: 600;
    margin-bottom: 4px;
}

.r2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
}

.note {
    background: #fef3c7;
    color: #78350f;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 13px;
    margin-bottom: 14px;
    border-left: 4px solid var(--a);
}

.tb {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.tb button, .tb a {
    border: 1px solid var(--bd);
    background: var(--c);
    color: var(--t);
    padding: 8px 18px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
}

.tb button.on, .tb a.on,
.tb button:hover, .tb a:hover {
    background: var(--p);
    color: #ffffff;
    border-color: var(--p);
}

.row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.bg {
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 12px;
    background: #e0e7ff;
    color: #3730a3;
    font-weight: 700;
}

/* ================= Footer ================= */
footer.site-footer {
    background: var(--pd);
    color: #cfe6e3;
    padding: 55px 0 0;
    font-size: 14px;
}

footer.site-footer .w {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.3fr 1.2fr;
    gap: 32px;
}

footer.site-footer h4 {
    color: #ffffff;
    margin-bottom: 12px;
    font-size: 16px;
}

footer.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer.site-footer a, footer.site-footer p {
    display: block;
    padding: 4px 0;
    color: #cfe6e3;
}

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

footer.site-footer a.btn, footer.site-footer .btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 30px;
    font-weight: 700;
}

footer.site-footer a.btn.btn-whatsapp {
    background: #25d366 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 14.5px !important;
    text-align: center;
    border: none !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.3) !important;
    margin-top: 14px;
}

footer.site-footer a.btn.btn-whatsapp:hover {
    background: #20ba5a !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.copy {
    border-top: 1px solid rgba(255,255,255,0.15);
    margin-top: 40px;
    padding: 18px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

/* ================= Floating WhatsApp & Call Buttons ================= */
.fl {
    position: fixed;
    right: 18px;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    display: grid;
    gap: 12px;
    z-index: 40;
}

.fl a {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 24px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.3);
    color: #ffffff;
    transition: transform 0.2s;
}

.fl a:hover {
    transform: scale(1.08);
}

/* ================= Modal Popups ================= */
.pop {
    position: fixed;
    inset: 0;
    background: rgba(5,25,23,0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 16px;
    backdrop-filter: blur(4px);
    overflow: auto;
}

.pop.on {
    display: flex;
}

.pb {
    background: var(--c);
    color: var(--t);
    border-radius: 20px;
    max-width: 760px;
    width: 100%;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    overflow: hidden;
    position: relative;
    animation: up 0.35s ease-out;
    margin: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

@keyframes up {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.pl {
    background: linear-gradient(160deg, var(--p), var(--pd));
    color: #ffffff;
    padding: 32px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.pl .av {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--a);
    margin: 10px auto;
}

.pl h3 {
    color: var(--a);
    font-size: 22px;
    margin-bottom: 6px;
}

.pl p {
    font-size: 14px;
    opacity: 0.9;
}

.pr {
    padding: 32px;
}

.pr h3 {
    margin-bottom: 4px;
    font-size: 22px;
}

.pr > p {
    color: var(--m);
    font-size: 14px;
    margin-bottom: 16px;
}

.pr .btn, .fm .btn {
    width: 100%;
}

.x {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: 0;
    font-size: 28px;
    cursor: pointer;
    color: var(--t);
    z-index: 10;
    line-height: 1;
    padding: 4px;
}

.pm {
    background: var(--c);
    color: var(--t);
    border-radius: 20px;
    max-width: 860px;
    width: 100%;
    position: relative;
    animation: up 0.35s ease-out;
    margin: auto;
    padding: 28px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    max-height: 90vh;
    overflow-y: auto;
}

.pm .top2 {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 24px;
}

.pm .pp {
    border-radius: 14px;
    overflow: hidden;
    background: var(--bg2);
    aspect-ratio: 1;
}

.pm .pp img, .pm .pp svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.st {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 12px 0;
}

.st div {
    background: var(--bg2);
    border-radius: 10px;
    padding: 8px 14px;
    text-align: center;
    font-size: 12px;
    color: var(--m);
}

.st b {
    display: block;
    font-size: 18px;
    color: var(--p);
}

.vid {
    aspect-ratio: 16/9;
    background: #0b1f1d;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #ffffff;
    text-align: center;
    overflow: hidden;
    margin-top: 8px;
}

.vid video {
    width: 100%;
    height: 100%;
}

.gl {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
    margin-top: 8px;
}

.gl img, .gl svg {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 10px;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    background: #0b1f1d;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 30px;
    z-index: 2000;
    display: none;
    max-width: 90%;
    text-align: center;
    font-size: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

/* ================= WordPress Content & Default Styles ================= */
.entry-content {
    line-height: 1.8;
    font-size: 16px;
}

.entry-content p {
    margin-bottom: 1.5em;
}

.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4 {
    margin-top: 1.4em;
    margin-bottom: 0.6em;
    color: var(--t);
}

.entry-content ul, .entry-content ol {
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}

.entry-content img {
    border-radius: 8px;
    margin: 1.2em 0;
}

.aligncenter { display: block; margin: 1.5em auto; }
.alignright { float: right; margin: 0 0 1.5em 1.5em; }
.alignleft { float: left; margin: 0 1.5em 1.5em 0; }
.alignwide { max-width: 1200px; width: 100%; }
.alignfull { width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; }

/* ================= Responsive Queries ================= */
@media (max-width: 900px) {
    .g3, .g2, .about, footer.site-footer .w, .pm .top2 {
        grid-template-columns: 1fr;
    }
    .why .w {
        grid-template-columns: 1fr 1fr;
    }
    .pb {
        grid-template-columns: 1fr;
    }
    .pl {
        display: none;
    }
    .r2 {
        grid-template-columns: 1fr;
    }
    .rw .ar {
        display: none;
    }
    .pm .pp {
        max-width: 200px;
    }
    nav.site-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg);
        flex-direction: column;
        align-items: flex-start;
        padding: 18px;
        border-bottom: 1px solid var(--bd);
        box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    }
    nav.site-nav.on {
        display: flex;
    }
    nav.site-nav ul {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 8px;
    }
    nav.site-nav li {
        width: 100%;
    }
    nav.site-nav .sub-menu, .dd > div {
        position: static;
        box-shadow: none;
        display: block;
        border: 0;
        padding-left: 12px;
        background: transparent;
    }
    #mb {
        display: block;
    }
    .hd {
        display: none !important;
    }
}

@media (max-width: 540px) {
    .why .w {
        grid-template-columns: 1fr;
    }
    .top .w {
        font-size: 12px;
        justify-content: center;
        text-align: center;
    }
}
