/*
Theme Name: Mycleena
Theme URI: https://lunar-whitesmoke-narwhal-81.hostingersite.com
Author: Nueka Digital Services
Description: Block theme for Mycleena, a home-cleaning service in Abuja with online booking. All colours, fonts and spacing live in theme.json. Pages are built from editable block patterns.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 7.1
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: mycleena
*/

/* ---------- Base ---------- */
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.wp-site-blocks>*+*{margin-block-start:0}
.myc-main>*{margin-block:0}
:where(a,button,summary,input,select,textarea):focus-visible{outline:3px solid var(--wp--preset--color--amber);outline-offset:2px}
img{max-width:100%;height:auto}
.myc-section{padding-top:var(--wp--preset--spacing--section);padding-bottom:var(--wp--preset--spacing--section)}
.myc-eyebrow{font-size:.875rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--wp--preset--color--primary);margin:0 0 12px}
.myc-eyebrow--amber{color:var(--wp--preset--color--amber)}
.myc-lead{font-size:var(--wp--preset--font-size--medium);line-height:1.6}
.myc-h-tight{margin-top:0}

/* ---------- Header ---------- */
.myc-header{background:var(--wp--preset--color--mint);padding-top:16px;padding-bottom:16px}
.myc-header .myc-header__row{gap:12px 24px}
.myc-logo{margin:0;font-size:1.5rem;font-weight:800;letter-spacing:-.02em;line-height:1}
.myc-logo a{display:inline-flex;align-items:center;gap:10px;color:var(--wp--preset--color--deep);text-decoration:none;min-height:44px}
.myc-logo svg{flex:0 0 auto}
.myc-header .wp-block-navigation{font-weight:600;font-size:.9375rem}
.myc-header .wp-block-navigation a{color:var(--wp--preset--color--deep);text-decoration:none;min-height:44px;display:inline-flex;align-items:center}
.myc-header .wp-block-navigation a:hover{color:var(--wp--preset--color--primary)}
.myc-wa a{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:999px;background:#fff;border:1px solid var(--wp--preset--color--border);color:var(--wp--preset--color--primary)}
.myc-wa a:hover{background:var(--wp--preset--color--primary);color:#fff}
.myc-header .wp-block-button__link{border-radius:999px;padding:.75rem 1.5rem;min-height:44px;display:inline-flex;align-items:center}
@media (max-width:600px){
  .myc-logo{font-size:1.25rem}
  .myc-logo svg{width:30px;height:30px}
  .myc-header .wp-block-button__link{padding:.7rem 1rem;font-size:.9375rem}
}

/* ---------- Hero ---------- */
.myc-hero{background:var(--wp--preset--color--mint);padding-top:clamp(24px,4vw,48px);padding-bottom:clamp(48px,7vw,88px)}
.myc-pill{display:inline-block;margin:0 0 24px;background:#fff;border:1px solid var(--wp--preset--color--border);color:var(--wp--preset--color--primary-dark);font-size:.875rem;font-weight:700;padding:8px 16px;border-radius:999px}
.myc-hero__lead{max-width:34rem;margin:0 0 32px}
.myc-ticks{display:flex;flex-wrap:wrap;gap:12px 28px;margin:28px 0 0;padding:0;list-style:none;font-weight:600;color:var(--wp--preset--color--deep);font-size:.9375rem}
.myc-ticks li{display:flex;align-items:center;gap:8px;margin:0}
.myc-ticks li:before{content:"";flex:0 0 20px;height:20px;background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f766e' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")}
.myc-quote-card{background:#fff;border:1px solid var(--wp--preset--color--border);border-radius:24px;padding:clamp(20px,3vw,28px);max-width:34rem;box-shadow:0 12px 32px rgba(15,118,110,.10)}
.myc-hero__media{position:relative}
.myc-photo{background:var(--wp--preset--color--placeholder);border-radius:32px;min-height:clamp(280px,40vw,560px);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:14px;color:var(--wp--preset--color--primary-dark);padding:24px}
.myc-photo p{margin:0;font-weight:700;font-size:.9375rem;color:var(--wp--preset--color--primary-dark)}
.myc-photo--short{min-height:clamp(220px,28vw,300px)}
.myc-float{position:absolute;background:#fff;border-radius:16px;padding:14px 18px;box-shadow:0 12px 32px rgba(11,43,41,.14);margin:0}
.myc-float p{margin:0}
.myc-float--top{top:28px;right:-12px}
.myc-float--bottom{bottom:28px;left:-12px}
.myc-float__big{font-size:1.5rem;font-weight:800;letter-spacing:-.02em;color:var(--wp--preset--color--deep)}
.myc-float__small{font-size:.8125rem;color:var(--wp--preset--color--muted);font-weight:600}
.myc-float__ok{font-size:.8125rem;color:var(--wp--preset--color--primary);font-weight:700}
.myc-dot{display:inline-block;width:10px;height:10px;border-radius:50%;background:var(--wp--preset--color--primary);margin-right:10px}
@media (max-width:781px){.myc-float--top{right:12px;top:12px}.myc-float--bottom{left:12px;bottom:12px}}

/* ---------- Cards ---------- */
.myc-card{border:1px solid var(--wp--preset--color--border);border-radius:24px;padding:32px;display:flex;flex-direction:column;gap:14px;background:#fff;height:100%;box-sizing:border-box}
.myc-card>*{margin:0}
.myc-card--featured{border:2px solid var(--wp--preset--color--primary);background:var(--wp--preset--color--mint);padding:31px}
.myc-icon{width:52px;height:52px;border-radius:16px;background:var(--wp--preset--color--mint);display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.myc-card--featured .myc-icon{background:#fff}
.myc-icon p,.myc-icon figure{margin:0}
.myc-card__title{font-size:1.375rem!important;font-weight:800;letter-spacing:-.01em;color:var(--wp--preset--color--deep)}
.myc-card__text{font-size:.9375rem;line-height:1.6;flex:1}
.myc-from{font-size:.8125rem;font-weight:600;color:var(--wp--preset--color--muted)}
.myc-price{font-size:1.625rem;font-weight:800;color:var(--wp--preset--color--primary);letter-spacing:-.01em}
.myc-card__link a{font-weight:700;text-decoration:none;color:var(--wp--preset--color--primary-dark);display:inline-flex;align-items:center;min-height:44px}
.myc-card__link a:hover{text-decoration:underline}

/* ---------- Dark band (how it works, footer) ---------- */
.myc-dark{background:var(--wp--preset--color--deep);color:var(--wp--preset--color--on-dark)}
.myc-dark h2,.myc-dark h3{color:#fff}
.myc-dark p{color:var(--wp--preset--color--on-dark)}
.myc-step-num{width:48px;height:48px;border-radius:50%;background:var(--wp--preset--color--amber);color:var(--wp--preset--color--deep)!important;font-weight:800;font-size:1.25rem;display:flex;align-items:center;justify-content:center;margin:0 0 20px}

/* ---------- Features, chips, reviews, FAQ ---------- */
.myc-feature{gap:18px;align-items:flex-start;flex-wrap:nowrap}
.myc-feature .myc-icon{width:48px;height:48px;border-radius:14px}
.myc-feature h3{margin:0 0 6px}
.myc-feature p{margin:0}
.myc-dashed{border:2px dashed var(--wp--preset--color--dashed);border-radius:20px;padding:24px;background:#f7fcfb}
.myc-dashed>*{margin:0}
.myc-dashed>*+*{margin-top:6px}
.myc-chips{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 20px}
.myc-chip{margin:0;padding:10px 18px;border:1px solid var(--wp--preset--color--border);border-radius:999px;font-weight:600;font-size:.9375rem;background:var(--wp--preset--color--mint);color:var(--wp--preset--color--deep)}
.myc-zone{font-size:.8125rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--wp--preset--color--muted);margin:0 0 10px}
.myc-review{background:#fff;border:1px solid var(--wp--preset--color--border);border-radius:24px;padding:32px;height:100%;box-sizing:border-box}
.myc-review>*{margin:0}
.myc-review>*+*{margin-top:24px}
.myc-avatar{width:44px;height:44px;border-radius:50%;background:var(--wp--preset--color--placeholder);flex:0 0 auto}
.myc-who{gap:12px;align-items:center;flex-wrap:nowrap}
.myc-who p{margin:0;font-weight:700;font-size:.9375rem}
.wp-block-details{border-top:1px solid var(--wp--preset--color--border);padding:6px 0;margin:0}
.wp-block-details:last-of-type{border-bottom:1px solid var(--wp--preset--color--border)}
.wp-block-details summary{font-size:1.125rem;font-weight:800;color:var(--wp--preset--color--deep);cursor:pointer;min-height:44px;display:flex;align-items:center;padding:14px 0;list-style-position:inside}
.wp-block-details>*:not(summary){margin:0 0 16px}

/* ---------- CTA band ---------- */
.myc-cta{background:var(--wp--preset--color--primary);color:#fff;padding-top:clamp(48px,7vw,80px);padding-bottom:clamp(48px,7vw,80px)}
.myc-cta h2{color:#fff;font-size:clamp(2rem,4vw,2.75rem)}
.myc-cta p{color:var(--wp--preset--color--on-teal);font-size:var(--wp--preset--font-size--medium);margin:0}
.myc-cta .wp-block-button__link{font-size:1.125rem;padding:1.15rem 2.5rem;border-radius:16px;font-weight:800}

/* ---------- Footer ---------- */
.myc-footer{background:var(--wp--preset--color--deep);color:var(--wp--preset--color--on-dark);padding-top:64px;padding-bottom:40px}
.myc-footer p,.myc-footer li{color:var(--wp--preset--color--on-dark);margin:0}
.myc-footer h3{color:#fff;font-size:.9375rem;font-weight:800;margin:0 0 16px;letter-spacing:0}
.myc-footer a{color:var(--wp--preset--color--on-dark);text-decoration:none;display:inline-flex;align-items:center;min-height:32px}
.myc-footer a:hover{color:#fff;text-decoration:underline}
.myc-footer ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.myc-footer .myc-logo a{color:#fff}
.myc-footer__bottom{border-top:1px solid var(--wp--preset--color--dark-line);margin-top:48px;padding-top:24px;font-size:.875rem}

/* ---------- Inner pages ---------- */
.myc-page-title{padding-top:clamp(40px,6vw,72px);padding-bottom:clamp(24px,3vw,40px);background:var(--wp--preset--color--mint)}
.myc-page-title h1{margin:0}
.myc-prose{padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--section)}
.myc-prose h2{margin-top:2.25rem;font-size:var(--wp--preset--font-size--x-large)}
.myc-prose h3{margin-top:1.75rem}
.myc-table table{border-collapse:collapse;width:100%}
.myc-table th,.myc-table td{padding:12px 14px;border-bottom:1px solid var(--wp--preset--color--border);text-align:left;font-size:.9375rem}
.myc-table th{color:var(--wp--preset--color--deep);font-weight:800}


/* ===== Clevaro-style refresh: brings inner pages in line with the new homepage ===== */
/* Header: cream bar that stays at the top, like the homepage */
@media (min-width:1000px){
.wp-block-template-part:has(> .myc-header){position:sticky;top:0;z-index:50}
.admin-bar .wp-block-template-part:has(> .myc-header){top:32px}
}
.myc-header{background:rgba(247,248,245,.92);-webkit-backdrop-filter:saturate(1.4) blur(14px);backdrop-filter:saturate(1.4) blur(14px);border-bottom:1px solid rgba(23,32,29,.08)}
/* Page title band: soft green gradient, bigger tighter heading */
.myc-page-title{background:var(--wp--preset--gradient--fresh);padding-top:clamp(48px,7vw,88px);padding-bottom:clamp(36px,5vw,64px)}
.myc-page-title h1{font-size:clamp(2.5rem,6vw,4.5rem);line-height:1.04;letter-spacing:-.04em}
/* Cards: bigger radius and a lift on hover */
.myc-card,.myc-review,.myc-feature,.myc-quote-card{border-radius:28px}
.myc-card{transition:transform .15s ease,box-shadow .15s ease}
.myc-card:hover{transform:translateY(-2px);box-shadow:var(--wp--preset--shadow--lift)}
/* Buttons: same pill feel as the homepage */
.wp-block-button__link{font-weight:600;letter-spacing:-.01em;transition:transform .15s ease,background .15s ease}
.wp-block-button__link:hover{transform:translateY(-1px)}
.myc-cta{border-radius:40px;margin-left:clamp(16px,3vw,40px);margin-right:clamp(16px,3vw,40px)}

/* FAQ + tables: white rounded cards like the homepage */
.wp-block-details{background:#fff;border:1px solid rgba(23,32,29,.08);border-radius:22px;padding:20px 26px;margin:0 0 12px}
.wp-block-details:last-of-type{margin-bottom:0}
.wp-block-details summary{cursor:pointer;font-weight:700;color:var(--wp--preset--color--green)}
.wp-block-details[open] summary{margin-bottom:10px}
.myc-table table{background:#fff;border-collapse:separate;border-spacing:0;border:1px solid rgba(23,32,29,.1);border-radius:22px;overflow:hidden}
.myc-table table th,.myc-table table td{border:0;border-bottom:1px solid rgba(23,32,29,.07)}
.myc-table table th{background:var(--wp--preset--color--mint);color:var(--wp--preset--color--green);border-bottom:0}
.myc-table table tr:last-child td{border-bottom:0}


/* ===== Shared footer: one footer (parts/footer.html), same on every page ===== */
.mcl{--green:#163b35;--lime:#d8f36a;--ink:#17201d;--grey:#5e6b66;--cream:#f7f8f5;--white:#fff;--mint:#dcefe6;--sage:#cfe0d8;
 --r-card:28px;--r-img:22px;--shadow:0 20px 40px -12px rgba(23,32,29,.25);
 font-family:Manrope,system-ui,sans-serif;color:var(--ink);background:var(--cream);font-size:16px;line-height:1.6;letter-spacing:-.01em;overflow-x:clip;-webkit-font-smoothing:antialiased}
.mcl *,.mcl *::before,.mcl *::after{box-sizing:border-box}
.mcl a{color:inherit;text-decoration:none}
.mcl .wrap{max-width:1200px;margin:0 auto;padding:0 24px}
.mcl .logo{display:inline-flex;align-items:center;gap:10px;font-size:18px;font-weight:800;letter-spacing:.16em;color:var(--green)}
.mcl .logo{gap:12px;letter-spacing:-.02em}
.mcl .logo-word{font-size:26px;font-weight:800;letter-spacing:-.03em;line-height:1}
.mcl .ftr .logo-word{color:#fff}
.mcl .ftr{background:var(--green);color:#fff;padding:80px 0 32px;margin-top:80px}
.mcl .ftr-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.2fr;gap:48px;padding-bottom:56px;border-bottom:1px solid rgba(255,255,255,.14)}
.mcl .ftr .logo{color:#fff}
.mcl .ftr p.tg{margin-top:20px;color:rgba(255,255,255,.7);font-size:19px;line-height:1.4;max-width:300px;letter-spacing:-.01em}
.mcl .ftr h4{margin:0 0 18px;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--lime);font-weight:700}
.mcl .ftr li{margin-bottom:12px}
.mcl .ftr li a{color:rgba(255,255,255,.72);font-size:16px;font-weight:500}
.mcl .ftr li a:hover{color:#fff}
.mcl .ftr-bot{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;padding-top:28px;font-size:14px;color:rgba(255,255,255,.6)}
.logo-crop{display:block;position:relative;width:71px;height:48px;overflow:hidden;flex:none}
.logo-crop img{position:absolute;width:93px;height:auto;max-width:none;left:-12px;top:-7.5px;mix-blend-mode:multiply}
.logo-tile{display:inline-flex;align-items:center;justify-content:center;background:#fff;border-radius:14px;padding:6px 8px}
.mcl.mcl-ftr{background:transparent;overflow:visible}
.mcl.mcl-ftr :is(ul,ol,p,h4){margin:0;padding:0}
.mcl.mcl-ftr ul{list-style:none}
.mcl.mcl-ftr .ftr h4{margin:0 0 18px}
.mcl.mcl-ftr .ftr p.tg{margin-top:20px}
.mcl.mcl-ftr .ftr li{margin-bottom:12px}
.mcl .ftr-bot a{color:inherit}
.mcl .ftr-bot a:hover{color:#fff}


/* ===== Responsive fixes (footer + shared components) ===== */
.mcl .ftr li a{overflow-wrap:anywhere}
@media (max-width:820px){
.mcl .ftr{padding:56px 0 28px;margin-top:56px}
.mcl .ftr-grid{grid-template-columns:1fr 1fr;gap:32px;padding-bottom:40px}
.mcl .ftr-grid>div:first-child{grid-column:1/-1}
.mcl .ftr .logo-word{font-size:22px}
.mcl .ftr-bot{flex-direction:column;gap:8px}
}

/* Header on phones: one compact row (logo, Book now, menu) like the homepage */
@media (max-width:599px){
.myc-header .myc-header__row{flex-wrap:nowrap;gap:10px;justify-content:flex-start}
.myc-header .myc-logo{margin-right:auto;min-width:0}
.myc-header .myc-logo a{font-size:1.15rem}
.myc-header__row>.wp-block-group{order:2;flex:none}
.myc-header__row>nav{order:3;flex:none}
.myc-header .myc-wa{display:none}
.myc-header .wp-block-button__link{padding:.55rem .95rem;min-height:40px;font-size:.875rem}
}
/* No stuck hover states on touch screens */
@media (hover:none){.myc-card:hover{transform:none;box-shadow:none}.wp-block-button__link:hover{transform:none}}
