/*
Theme Name: PM Clean & Clear
Theme URI: https://pm-cs.fr
Author: PM Clean & Clear
Author URI: https://pm-cs.fr
Description: Thème WordPress professionnel pour PM Clean & Clear — Nettoyage de canapés, matelas et fauteuils à Montpellier.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pm-cleanandclear
Tags: one-page, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ================================================================
   PM CLEAN & CLEAR — CleanMate‑style design
   ================================================================ */

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

:root {
    --accent: #052059;
    --accent-dark: #041847;
    --accent-rgb: 5, 32, 89;
    --dark: #222;
    --dark-bg: #1b1b1b;
    --body-text: #6f6f6f;
    --light-bg: #f5f5f5;
    --white: #fff;
    --border: #e5e5e5;
    --heading-font: 'Raleway', sans-serif;
    --body-font: 'Open Sans', sans-serif;
    --transition: .35s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--body-font);
    font-size: 15px;
    color: var(--body-text);
    line-height: 1.75;
    background: var(--white);
}

h1,h2,h3,h4,h5,h6 {
    font-family: var(--heading-font);
    color: var(--dark);
    font-weight: 700;
    line-height: 1.3;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: 1170px; margin: 0 auto; padding: 0 15px; }

/* ---- Buttons (CleanMate style) ---- */
.cm-btn {
    display: inline-block;
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 15px 38px;
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}
.cm-btn-accent {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}
.cm-btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.cm-btn-white {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.cm-btn-white:hover { background: var(--white); color: var(--dark); }
.cm-btn-dark {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}
.cm-btn-dark:hover { background: var(--accent); border-color: var(--accent); }

/* ================================================================
   TOP BAR
   ================================================================ */
.topbar {
    background: var(--dark-bg);
    color: rgba(255,255,255,.6);
    font-size: 13px;
    padding: 0;
    line-height: 40px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.topbar-left { display: flex; gap: 22px; }
.topbar-left span { display: inline-flex; align-items: center; gap: 7px; }
.topbar-left i { color: #fff; font-size: 12px; }
.topbar-right { display: flex; gap: 12px; }
.topbar-right a { color: rgba(255,255,255,.5); font-size: 13px; }
.topbar-right a:hover { color: var(--accent); }

/* ================================================================
   HEADER
   ================================================================ */
.site-header {
    position: fixed;
    top: 40px;
    left: 0; right: 0;
    z-index: 9999;
    background: rgba(0,0,0,.25);
    backdrop-filter: blur(4px);
    transition: background .4s, top .4s, box-shadow .4s;
}
.site-header.scrolled {
    top: 0;
    background: var(--white);
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex; align-items: center;
    transition: var(--transition);
}
.logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a {
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,.85);
    position: relative;
    padding: 8px 0;
}
.main-nav a::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 2px;
    background: var(--accent);
    transition: var(--transition);
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a:hover { color: var(--white); }
.site-header.scrolled .main-nav a { color: var(--dark); }
.site-header.scrolled .main-nav a:hover { color: var(--accent); }

.nav-cta {
    font-family: var(--heading-font) !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--accent);
    color: var(--white) !important;
    padding: 16px 38px;
    border: none;
    border-radius: 50px;
}
.nav-cta:hover { background: var(--accent-dark); }
.site-header.scrolled .nav-cta { color: var(--white) !important; }

.hamburger { display: none; cursor: pointer; padding: 10px; }
.hamburger span { display: block; width: 26px; height: 2px; background: var(--white); margin: 5px 0; transition: var(--transition); }
.site-header.scrolled .hamburger span { background: var(--dark); }

/* ================================================================
   HERO
   ================================================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #0c2d3f;
}
.hero-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,.55);
}
.hero .container {
    position: relative; z-index: 2;
    text-align: center;
    color: var(--white);
}
.hero-sub {
    font-family: var(--heading-font);
    font-weight: 500;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 18px;
    color: var(--accent);
}
.hero h1 {
    font-size: 56px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 22px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.hero-line {
    width: 60px; height: 3px;
    background: var(--accent);
    border-radius: 3px;
    margin: 0 auto 22px;
}
.hero p {
    font-size: 17px;
    max-width: 620px;
    margin: 0 auto 38px;
    color: rgba(255,255,255,.8);
    line-height: 1.8;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.scroll-down {
    position: absolute; bottom: 30px; left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: rgba(255,255,255,.5);
    font-size: 24px;
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%,100%{ transform: translateX(-50%) translateY(0); }
    50%{ transform: translateX(-50%) translateY(10px); }
}

/* ================================================================
   FEATURE BOXES
   ================================================================ */
.feature-boxes {
    position: relative;
    z-index: 10;
    margin-top: -70px;
}
.feature-boxes .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.feature-box {
    padding: 28px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--white);
    border-radius: 16px;
}
.feature-box:nth-child(1){ background: #052059; }
.feature-box:nth-child(2){ background: #0a2d6e; }
.feature-box:nth-child(3){ background: #0f3a83; }
.feature-box:nth-child(4){ background: #144798; }
.feature-box i { font-size: 36px; opacity: .8; flex-shrink: 0; }
.feature-box h4 { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 3px; }
.feature-box p { font-size: 12px; line-height: 1.5; opacity: .8; }

/* ================================================================
   SECTION TITLE
   ================================================================ */
.sec-title { text-align: center; margin-bottom: 50px; }
.sec-title .overline {
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 8px;
    display: block;
}
.sec-title h2 { font-size: 34px; font-weight: 800; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 1px; }
.sec-title .line { width: 50px; height: 3px; background: var(--accent); margin: 0 auto 14px; }
.sec-title p { max-width: 600px; margin: 0 auto; font-size: 14px; color: #999; }

/* ================================================================
   SERVICES SECTION
   ================================================================ */
.services { padding: 90px 0 70px; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.service-card {
    text-align: center;
    padding: 45px 30px 40px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: var(--transition);
    position: relative;
}
.service-card:hover {
    border-color: var(--accent);
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
    transform: translateY(-5px);
}
.service-icon {
    width: 90px; height: 90px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    font-size: 34px;
    color: var(--accent);
    transition: var(--transition);
}
.service-card:hover .service-icon {
    background: var(--accent);
    color: var(--white);
}
.service-card h3 {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.service-card p { font-size: 13px; color: #999; line-height: 1.8; }
.service-card .price-tag {
    display: inline-block;
    margin-top: 18px;
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 14px;
    color: var(--accent);
}
.service-card .price-tag small { font-weight: 400; color: #999; font-size: 11px; }

/* ================================================================
   IMAGE SHOWCASE
   ================================================================ */
.image-showcase {
    padding: 70px 0;
    background: var(--white);
}
.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.showcase-item {
    position: relative;
    overflow: hidden;
    height: 350px;
    border: 1px solid var(--border);
    border-radius: 20px;
}
.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.showcase-item:hover img {
    transform: scale(1.08);
}
.showcase-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}
.showcase-item:hover .showcase-overlay {
    opacity: 1;
}
.showcase-text {
    color: var(--white);
    text-align: center;
}
.showcase-text h3 {
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
    margin-bottom: 8px;
}
.showcase-text p {
    font-size: 14px;
    color: rgba(255,255,255,.8);
}

/* ================================================================
   PROCESS / HOW IT WORKS
   ================================================================ */
.process {
    padding: 90px 0;
    background: var(--light-bg);
}
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.process-item {
    text-align: center;
}
.process-num {
    width: 70px;
    height: 70px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    margin: 0 auto 20px;
    font-family: var(--heading-font);
}
.process-item h3 {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.process-item p {
    font-size: 13px;
    color: #999;
    line-height: 1.8;
}

/* ================================================================
   PARALLAX CTA (about / why choose us)
   ================================================================ */
.parallax-section {
    background: linear-gradient(135deg, #0c2d3f 0%, #1b1b1b 40%, #0a1f2e 70%, #122a3a 100%);
    padding: 100px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.parallax-section::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(ellipse at 20% 50%, rgba(5,32,89,.08) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 20%, rgba(5,32,89,.05) 0%, transparent 40%),
                radial-gradient(ellipse at 60% 80%, rgba(5,32,89,.04) 0%, transparent 45%);
    animation: subtleShift 20s ease-in-out infinite alternate;
}
@keyframes subtleShift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-2%, -1%); }
}
.parallax-section .container { position: relative; z-index: 1; }
.parallax-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.parallax-left h2 {
    color: var(--white);
    font-size: 32px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}
.parallax-left .line { width: 50px; height: 3px; background: var(--accent); margin-bottom: 20px; }
.parallax-left p { color: rgba(255,255,255,.75); margin-bottom: 28px; line-height: 1.85; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.why-item {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 13px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: .5px;
}
.why-item i { color: #fff; font-size: 16px; }

.parallax-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.stat-box {
    text-align: center;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px;
    padding: 30px 15px;
}
.stat-box i { font-size: 30px; color: #fff; margin-bottom: 10px; }
.stat-box .num {
    font-family: var(--heading-font);
    font-size: 38px;
    font-weight: 800;
    color: var(--white);
    display: block;
    margin-bottom: 4px;
}
.stat-box span { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,.5); }

/* ================================================================
   PRICING SECTION
   ================================================================ */
.pricing { padding: 90px 0; background: var(--light-bg); }
.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 45px;
    border: 2px solid var(--border);
    border-radius: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}
.pricing-tab {
    flex: 1;
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 16px 20px;
    background: var(--white);
    color: var(--dark);
    border: none;
    border-right: 1px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
}
.pricing-tab:last-child { border-right: none; }
.pricing-tab.active, .pricing-tab:hover {
    background: var(--accent);
    color: var(--white);
}

.pricing-content { display: none; animation: fadeUp .4s ease; }
.pricing-content.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

.price-table-wrapper {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
}
.price-table {
    width: 100%;
    border-collapse: collapse;
}
.price-table thead th {
    background: var(--accent);
    color: var(--white);
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 16px 20px;
    text-align: left;
}
.price-table thead th:last-child { text-align: right; }
.price-table tbody td {
    padding: 14px 20px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}
.price-table tbody td:last-child {
    text-align: right;
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--accent);
    font-size: 15px;
}
.price-table tbody tr:hover { background: #fcfcfc; }
.price-table tbody tr:last-child td { border-bottom: none; }

.price-note {
    background: rgba(var(--accent-rgb), .07);
    border-left: 3px solid var(--accent);
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 13px;
    color: var(--dark);
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.price-note i { color: var(--accent); margin-top: 3px; }

.tables-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

/* ================================================================
   CTA STRIP
   ================================================================ */
.cta-strip {
    background: var(--accent);
    padding: 55px 0;
    text-align: center;
}
.cta-strip h2 {
    color: var(--white);
    font-size: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.cta-strip p { color: rgba(255,255,255,.8); margin-bottom: 28px; font-size: 16px; }

/* ================================================================
   TESTIMONIALS
   ================================================================ */
.testimonials { padding: 90px 0; background: var(--white); }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.testi-card {
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 35px 30px 30px;
    position: relative;
    transition: var(--transition);
}
.testi-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.testi-card .stars { color: #f5a623; font-size: 13px; margin-bottom: 14px; }
.testi-card blockquote {
    font-size: 14px;
    line-height: 1.85;
    font-style: italic;
    color: #888;
    margin-bottom: 20px;
}
.testi-author {
    display: flex; align-items: center; gap: 14px;
    border-top: 1px solid #f0f0f0;
    padding-top: 18px;
}
.testi-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--accent);
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 18px;
}
.testi-author h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .5px; }
.testi-author span { font-size: 12px; color: #bbb; }

/* ================================================================
   CREDIT IMPOT
   ================================================================ */
.credit {
    background: var(--light-bg);
    padding: 70px 0;
}
.credit .container {
    display: flex;
    align-items: center;
    gap: 35px;
}
.credit-icon {
    flex-shrink: 0;
    width: 100px; height: 100px;
    background: var(--accent);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 40px; color: var(--white);
}
.credit h3 { font-size: 22px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.credit p { font-size: 14px; max-width: 750px; }

/* ================================================================
   ZONE INTERVENTION
   ================================================================ */
.zone { padding: 70px 0; background: var(--white); }
.zone-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
}
.zone-tag {
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 10px 22px;
    transition: var(--transition);
}
.zone-tag:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }

/* ================================================================
   CONTACT SECTION
   ================================================================ */
.contact { padding: 90px 0; background: var(--light-bg); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
}
.contact-info h3 {
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}
.ci-item { display: flex; gap: 15px; margin-bottom: 22px; }
.ci-icon {
    flex-shrink: 0;
    width: 50px; height: 50px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    font-size: 18px;
}
.ci-item h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 3px; }
.ci-item p { font-size: 13px; color: #999; }

.contact-form label {
    display: block;
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
    color: var(--dark);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-family: var(--body-font);
    font-size: 14px;
    color: var(--dark);
    margin-bottom: 18px;
    transition: var(--transition);
    background: var(--white);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}
.contact-form textarea { min-height: 110px; resize: vertical; }
.form-row { display: flex; gap: 18px; }
.form-row > div { flex: 1; }

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
    background: var(--dark-bg);
    color: rgba(255,255,255,.55);
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.site-footer h4 {
    font-size: 15px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}
.site-footer p { font-size: 13px; line-height: 1.85; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 13px; display: flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: var(--accent); }
.footer-links i { font-size: 8px; color: var(--accent); }
.footer-social { display: flex; gap: 8px; margin-top: 18px; }
.footer-social a {
    width: 38px; height: 38px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.4);
    font-size: 14px;
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.footer-bottom {
    text-align: center;
    font-size: 12px;
    padding: 20px 0;
    color: rgba(255,255,255,.35);
}

/* ================================================================
   WHATSAPP + SCROLL TOP
   ================================================================ */
.whatsapp-btn {
    position: fixed; bottom: 25px; left: 25px;
    width: 54px; height: 54px;
    background: #25d366; color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; z-index: 999;
    box-shadow: 0 4px 16px rgba(37,211,102,.4);
    transition: var(--transition);
}
.whatsapp-btn:hover { transform: scale(1.1); }

.scroll-top {
    position: fixed; bottom: 25px; right: 25px;
    width: 44px; height: 44px;
    background: var(--accent); color: var(--white);
    border: none; cursor: pointer; border-radius: 50%;
    font-size: 16px; z-index: 999;
    display: none; align-items: center; justify-content: center;
    transition: var(--transition);
}
.scroll-top.show { display: flex; }
.scroll-top:hover { background: var(--accent-dark); }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 992px) {
    .hero h1 { font-size: 38px; }
    .feature-boxes .container { grid-template-columns: 1fr 1fr; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .showcase-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr 1fr; }
    .parallax-section .container { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .tables-row { grid-template-columns: 1fr; }
    .credit .container { flex-direction: column; text-align: center; }
}
@media (max-width: 768px) {
    .topbar { display: none; }
    .site-header { top: 0; }
    .main-nav {
        display: none;
        position: absolute;
        top: 80px; left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: 0 10px 30px rgba(0,0,0,.1);
    }
    .main-nav.open { display: flex; }
    .main-nav { border-radius: 0 0 20px 20px; }
    .main-nav a { color: var(--dark) !important; padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
    .hamburger { display: block; }
    .hero { height: 80vh; min-height: 500px; }
    .hero h1 { font-size: 28px; }
    .feature-boxes .container { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr 1fr; }
    .form-row { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   SCROLL ANIMATION
   ================================================================ */
.anim {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease;
}
.anim.visible { opacity: 1; transform: translateY(0); }

/* ================================================================
   WORDPRESS COMPATIBILITY
   the_content() may output inside wrappers — reset them all.
   ================================================================ */

/* Reset any WordPress / Elementor content wrappers */
.entry-content,
.page-content,
.post-content,
.wp-site-blocks,
.is-layout-constrained,
.is-layout-flow {
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* WordPress wraps lone text in <p>, prevent auto-margins */
.hero p,
.sec-title p,
.service-card p,
.process-item p,
.parallax-left p,
.credit p,
.testi-card blockquote,
.feature-box p,
.cta-strip p,
.price-note div {
    margin-top: 0;
    margin-bottom: 0;
}
.parallax-left p { margin-bottom: 28px !important; }
.hero p { margin-bottom: 38px !important; }
