/*
Theme Name: LadyWW Beauty Tech
Theme URI: https://www.ladyww.net
Description: Premium B2B Beauty Tech & Aesthetic Equipment theme — medical-grade elegance for global Med-Spas and salons. Female-led, Shenzhen-sourced, certified quality.
Author: LadyWW
Version: 1.0.0
License: GPL v2
Text Domain: ladyww-com
*/

/* ── CSS Variables ── */
:root {
    /* Color palette — Medical Clean + Rose Gold Luxury */
    --color-bg: #FAF6F0;
    --color-bg-alt: #F8F9FA;
    --color-surface: #FFFFFF;
    --color-navy: #1C2D42;
    --color-navy-light: #2B2D42;
    --color-rosegold: #D4A373;
    --color-rosegold-light: #E8C5AF;
    --color-text: #1C2D42;
    --color-text-md: #4A5568;
    --color-text-light: #718096;
    --color-text-inv: #FAF6F0;
    --color-text-inv-md: rgba(250,246,240,0.75);
    --color-border: #E2D8CF;
    --color-border-light: #F0E8DF;
    --color-gold: #D4A373;
    --color-green: #2D6A4F;
    --color-red: #C4454E;

    /* Typography */
    --font-heading: 'Montserrat', 'Cinzel', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'SF Mono', 'Fira Code', monospace;

    /* Spacing & Sizing */
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    --shadow-sm: 0 1px 3px rgba(28,45,66,0.04);
    --shadow-md: 0 4px 16px rgba(28,45,66,0.06);
    --shadow-lg: 0 8px 32px rgba(28,45,66,0.08);
    --shadow-xl: 0 16px 48px rgba(28,45,66,0.10);

    --max-width: 1240px;
}

/* ── Reset ── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
    font-family:var(--font-body);
    font-size:16px;
    line-height:1.65;
    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}
svg{display:inline-block!important;vertical-align:middle;flex-shrink:0}
a{color:var(--color-navy);text-decoration:none;transition:color 0.25s}
a:hover{color:var(--color-rosegold)}
ul,ol{list-style:none}

/* ── Typography ── */
h1,h2,h3,h4,h5,h6{
    font-family:var(--font-heading);
    font-weight:700;
    line-height:1.2;
    color:var(--color-navy);
}
h1{font-size:3.2rem;letter-spacing:-0.01em}
h2{font-size:2.2rem}
h3{font-size:1.45rem}
h4{font-size:1.15rem}

/* ── Layout ── */
.container{max-width:var(--max-width);margin:0 auto;padding:0 2rem}
.section{padding:6rem 0}
.section-sm{padding:4rem 0}
.section-tight{padding:3rem 0}
.section-label{
    display:inline-block;
    font-family:var(--font-heading);
    font-size:0.72rem;
    font-weight:800;
    letter-spacing:0.12em;
    text-transform:uppercase;
    color:var(--color-rosegold);
    margin-bottom:0.75rem;
}
.section-title{
    font-size:2.4rem;
    font-weight:800;
    margin-bottom:1rem;
    letter-spacing:-0.01em;
}
.section-subtitle{
    font-size:1.05rem;
    color:var(--color-text-md);
    max-width:680px;
    line-height:1.7;
}
.text-center{text-align:center}
.text-center .section-subtitle{margin:0 auto}

/* Grids */
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:2rem}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:2rem}

/* ── Header ── */
#site-header{
    position:fixed;
    top:0;left:0;right:0;
    z-index:1000;
    background:rgba(250,246,240,0.92);
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
    border-bottom:1px solid var(--color-border-light);
    transition:all 0.3s;
}
#site-header.scrolled{
    background:rgba(250,246,240,0.98);
    box-shadow:var(--shadow-md);
}
.header-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    max-width:var(--max-width);
    margin:0 auto;
    padding:0 2rem;
    height:72px;
}
.site-logo a{
    display:block;
    text-decoration:none;
}
.logo-text{
    font-family:var(--font-heading);
    font-size:1.35rem;
    font-weight:800;
    color:var(--color-navy);
    letter-spacing:-0.02em;
}
.logo-accent{
    color:var(--color-rosegold);
}
.logo-subtitle{
    font-size:0.62rem;
    font-weight:600;
    color:var(--color-text-light);
    letter-spacing:0.06em;
    text-transform:uppercase;
    margin-top:1px;
}

/* Nav */
.site-nav{display:flex;align-items:center}
.nav-menu{
    display:flex;
    align-items:center;
    gap:0.15rem;
}
.nav-menu > li{position:relative}
.nav-menu > li > a{
    display:flex;
    align-items:center;
    gap:0.3rem;
    font-size:0.8rem;
    font-weight:600;
    color:var(--color-text-md);
    padding:0.55rem 0.85rem;
    border-radius:var(--radius-sm);
    transition:all 0.2s;
    white-space:nowrap;
}
.nav-menu > li > a:hover{
    color:var(--color-rosegold);
    background:rgba(212,163,115,0.06);
}
.nav-menu a svg{
    display:inline-block;
    vertical-align:middle;
    flex-shrink:0;
}

/* Sub-menu */
.sub-menu{
    position:absolute;
    top:100%;
    left:0;
    min-width:220px;
    width:max-content;
    background:var(--color-surface);
    border:1px solid var(--color-border-light);
    border-radius:var(--radius-md);
    padding:0.4rem 0;
    opacity:0;
    visibility:hidden;
    transform:translateY(6px);
    transition:all 0.2s;
    box-shadow:var(--shadow-lg);
}
.nav-menu > li:hover > .sub-menu,
.nav-menu > li:focus-within > .sub-menu{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}
/* Bridge gap between menu item and sub-menu */
.nav-menu > li::before{
    content:'';
    position:absolute;
    top:100%;
    left:0;right:0;
    height:10px;
    z-index:2;
}
.sub-menu a{
    display:flex;
    align-items:center;
    gap:0.3rem;
    padding:0.45rem 1.2rem;
    font-size:0.78rem;
    color:var(--color-text-md);
    white-space:nowrap;
    transition:all 0.15s;
}
.sub-menu a:hover{
    color:var(--color-rosegold);
    background:rgba(212,163,115,0.06);
}

/* Header CTA */
.header-cta{
    font-family:var(--font-heading);
    font-size:0.76rem;
    font-weight:700;
    letter-spacing:0.03em;
    color:var(--color-surface)!important;
    background:var(--color-rosegold);
    padding:0.55rem 1.4rem;
    border-radius:var(--radius-md);
    transition:all 0.3s;
    white-space:nowrap;
}
.header-cta:hover{
    background:var(--color-navy);
    color:var(--color-surface)!important;
}

/* Mobile menu toggle */
.menu-toggle{
    display:none;
    background:none;
    border:none;
    padding:0.4rem;
    cursor:pointer;
    color:var(--color-navy);
}

/* ── Buttons ── */
.btn{
    display:inline-flex;
    align-items:center;
    gap:0.5rem;
    padding:0.75rem 1.8rem;
    border-radius:var(--radius-md);
    font-family:var(--font-heading);
    font-size:0.82rem;
    font-weight:700;
    letter-spacing:0.02em;
    text-decoration:none;
    white-space:nowrap;
    cursor:pointer;
    transition:all 0.3s;
    border:none;
}
.btn-rose{
    background:var(--color-rosegold);
    color:var(--color-surface)!important;
    box-shadow:0 2px 8px rgba(212,163,115,0.25);
}
.btn-rose:hover{
    background:var(--color-navy);
    color:var(--color-surface)!important;
    box-shadow:0 4px 16px rgba(28,45,66,0.2);
}
.btn-navy{
    background:var(--color-navy);
    color:var(--color-surface)!important;
}
.btn-navy:hover{
    background:var(--color-rosegold);
    color:var(--color-surface)!important;
}
.btn-outline{
    background:transparent;
    color:var(--color-navy);
    border:1.5px solid var(--color-navy);
}
.btn-outline:hover{
    background:var(--color-navy);
    color:var(--color-surface)!important;
}
.btn-lg{padding:0.95rem 2.4rem;font-size:0.88rem}
.btn-sm{padding:0.5rem 1.2rem;font-size:0.74rem}

/* ── Content Sections ── */
.section-header{margin-bottom:3.5rem}
.section-header h2{font-size:2.4rem;margin-bottom:0.75rem}
.section-header p{font-size:1.05rem;color:var(--color-text-md);max-width:640px}
.text-center .section-header p{margin:0 auto}

/* ── Cards ── */
.card{
    background:var(--color-surface);
    border:1px solid var(--color-border-light);
    border-radius:var(--radius-md);
    padding:2rem;
    transition:all 0.3s;
    box-shadow:var(--shadow-sm);
}
.card:hover{
    box-shadow:var(--shadow-lg);
    transform:translateY(-2px);
}
.card-icon{
    width:52px;
    height:52px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:var(--radius-md);
    background:rgba(212,163,115,0.08);
    color:var(--color-rosegold);
    margin-bottom:1.25rem;
    flex-shrink:0;
}
.card h3{font-size:1.1rem;margin-bottom:0.5rem;color:var(--color-navy)}
.card p{font-size:0.88rem;color:var(--color-text-md);line-height:1.7}

/* ── Product Cards ── */
.product-card{
    background:var(--color-surface);
    border:1px solid var(--color-border-light);
    border-radius:var(--radius-md);
    overflow:hidden;
    transition:all 0.3s;
    box-shadow:var(--shadow-sm);
}
.product-card:hover{
    box-shadow:var(--shadow-lg);
    transform:translateY(-3px);
}
.product-card-img{
    width:100%;
    aspect-ratio:4/3;
    object-fit:cover;
    background:var(--color-bg-alt);
}
.product-card-body{padding:1.5rem}
.product-card-body h3{font-size:1.05rem;font-weight:700;margin-bottom:0.35rem}
.product-card-body .product-tag{
    display:inline-block;
    font-size:0.66rem;
    font-weight:700;
    letter-spacing:0.06em;
    text-transform:uppercase;
    color:var(--color-rosegold);
    margin-bottom:0.5rem;
}
.product-card-body p{
    font-size:0.84rem;
    color:var(--color-text-md);
    line-height:1.6;
    margin-bottom:1rem;
}
.product-card-body .product-specs{
    display:flex;
    flex-wrap:wrap;
    gap:0.5rem;
    margin-bottom:1rem;
}
.product-card-body .spec-badge{
    font-size:0.7rem;
    font-weight:600;
    padding:0.25rem 0.65rem;
    background:rgba(28,45,66,0.04);
    color:var(--color-text-md);
    border-radius:999px;
}

/* ── Certification Badge ── */
.cert-row{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:center;
    gap:3rem;
    padding:2.5rem 0;
}
.cert-item{
    display:flex;
    align-items:center;
    gap:0.75rem;
    font-size:0.88rem;
    font-weight:700;
    color:var(--color-navy);
}
.cert-item svg{color:var(--color-rosegold);flex-shrink:0}
.cert-item span{font-family:var(--font-heading);letter-spacing:0.03em}

/* ── Step Cards (numbered flow) ── */
.step-card{
    background:var(--color-surface);
    border:1px solid var(--color-border-light);
    border-radius:var(--radius-md);
    padding:2rem;
    position:relative;
    text-align:center;
    transition:all 0.3s;
    box-shadow:var(--shadow-sm);
}
.step-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-2px)}
.step-number{
    position:absolute;
    top:-18px;left:-18px;
    width:44px;height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--color-rosegold);
    color:var(--color-surface);
    font-family:var(--font-heading);
    font-size:1.1rem;
    font-weight:800;
    border-radius:50%;
    box-shadow:0 4px 12px rgba(212,163,115,0.3);
}
.step-card .card-icon{margin:0 auto 1rem}
.step-card h3{font-size:1.05rem}

/* ── Dark Section ── */
.dark-section{
    background:var(--color-navy);
    color:var(--color-text-inv);
}
.dark-section h2,
.dark-section h3{color:var(--color-text-inv)}
.dark-section .section-label{color:var(--color-rosegold-light)}
.dark-section p{color:var(--color-text-inv-md)}
.dark-section .card{
    background:rgba(255,255,255,0.04);
    border-color:rgba(250,246,240,0.08);
}
.dark-section .card:hover{background:rgba(255,255,255,0.06)}
.dark-section .card h3{color:var(--color-text-inv)}
.dark-section .card p{color:var(--color-text-inv-md)}
.dark-section .card-icon{background:rgba(212,163,115,0.12)}

/* ── Female-Led Block ── */
.female-led-block{
    display:grid;
    grid-template-columns:1fr 1.2fr;
    gap:3.5rem;
    align-items:center;
}
.female-led-img{
    border-radius:var(--radius-lg);
    overflow:hidden;
    aspect-ratio:3/4;
    background:linear-gradient(135deg, var(--color-rosegold-light), var(--color-navy-light));
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
}
.female-led-img-placeholder{
    text-align:center;
    color:rgba(255,255,255,0.9);
}
.female-led-img-placeholder svg{width:80px;height:80px;margin-bottom:1rem;color:var(--color-surface)}
.female-led-img-placeholder p{
    font-family:var(--font-heading);
    font-size:0.8rem;
    font-weight:600;
    letter-spacing:0.06em;
    text-transform:uppercase;
    color:rgba(255,255,255,0.7);
}
.female-led-quote{
    font-family:var(--font-heading);
    font-size:1.4rem;
    font-weight:700;
    font-style:italic;
    color:var(--color-navy);
    line-height:1.5;
    margin-bottom:1.5rem;
}
.female-led-quote::before{content:'\201C';color:var(--color-rosegold);margin-right:0.2rem}
.female-led-text{
    font-size:0.95rem;
    color:var(--color-text-md);
    line-height:1.8;
    margin-bottom:1.25rem;
}
.female-led-signature{
    font-family:var(--font-heading);
    font-size:0.9rem;
    font-weight:700;
    color:var(--color-rosegold);
    margin-top:1.5rem;
}

/* ── Testimonial Cards ── */
.testimonial-card{
    background:var(--color-surface);
    border:1px solid var(--color-border-light);
    border-radius:var(--radius-md);
    padding:2rem;
    box-shadow:var(--shadow-sm);
    transition:all 0.3s;
}
.testimonial-card:hover{box-shadow:var(--shadow-md)}
.testimonial-stars{
    display:flex;
    gap:0.15rem;
    margin-bottom:1rem;
    color:var(--color-rosegold);
}
.testimonial-stars svg{width:16px;height:16px}
.testimonial-text{
    font-size:0.9rem;
    color:var(--color-text-md);
    line-height:1.75;
    font-style:italic;
    margin-bottom:1.25rem;
}
.testimonial-author{
    display:flex;
    align-items:center;
    gap:0.75rem;
    border-top:1px solid var(--color-border-light);
    padding-top:1.25rem;
}
.testimonial-avatar{
    width:42px;height:42px;
    border-radius:50%;
    background:var(--color-rosegold-light);
    display:flex;
    align-items:center;
    justify-content:center;
    font-family:var(--font-heading);
    font-weight:700;
    font-size:0.95rem;
    color:var(--color-surface);
    flex-shrink:0;
}
.testimonial-name{font-weight:700;font-size:0.85rem}
.testimonial-role{font-size:0.74rem;color:var(--color-text-light)}

/* ── Stats Row ── */
.stats-row{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:4rem;
    padding:2.5rem 0;
}
.stat-block{text-align:center}
.stat-number{
    font-family:var(--font-heading);
    font-size:3rem;
    font-weight:800;
    color:var(--color-rosegold);
    line-height:1.1;
    letter-spacing:-0.02em;
}
.stat-label{
    font-size:0.82rem;
    font-weight:600;
    color:var(--color-text-md);
    margin-top:0.35rem;
    letter-spacing:0.03em;
}

/* ── CTA Banner ── */
.cta-banner{
    text-align:center;
    padding:4.5rem 2rem;
    border-radius:var(--radius-lg);
    background:linear-gradient(135deg, var(--color-navy), #2A3D5C);
    color:var(--color-text-inv);
    position:relative;
    overflow:hidden;
}
.cta-banner::before{
    content:'';
    position:absolute;
    top:-50%;right:-30%;
    width:500px;height:500px;
    border-radius:50%;
    background:radial-gradient(circle, rgba(212,163,115,0.1), transparent 70%);
}
.cta-banner *{position:relative;z-index:1}
.cta-banner h2{
    font-size:2.2rem;
    font-weight:800;
    color:var(--color-text-inv);
    margin-bottom:0.75rem;
}
.cta-banner p{
    font-size:1.05rem;
    color:var(--color-text-inv-md);
    max-width:580px;
    margin:0 auto 2rem;
    line-height:1.7;
}
.cta-banner .btn-group{
    display:flex;
    flex-wrap:wrap;
    gap:1rem;
    justify-content:center;
}
.cta-banner .btn-rose{
    background:var(--color-rosegold);
    color:var(--color-surface)!important;
    box-shadow:0 4px 16px rgba(212,163,115,0.35);
}
.cta-banner .btn-rose:hover{
    background:var(--color-surface);
    color:var(--color-navy)!important;
}

/* ── Articles Grid ── */
.posts-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:2rem;
}
.post-card{
    background:var(--color-surface);
    border:1px solid var(--color-border-light);
    border-radius:var(--radius-md);
    overflow:hidden;
    transition:all 0.3s;
    box-shadow:var(--shadow-sm);
}
.post-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-2px)}
.post-card-thumb{
    width:100%;
    aspect-ratio:16/10;
    object-fit:cover;
    background:var(--color-bg-alt);
}
.post-card-body{padding:1.5rem}
.post-card-body .post-date{
    font-size:0.72rem;
    color:var(--color-text-light);
    letter-spacing:0.03em;
    margin-bottom:0.5rem;
    font-weight:600;
}
.post-card-body h3{
    font-size:1rem;
    font-weight:700;
    margin-bottom:0.4rem;
    line-height:1.4;
}
.post-card-body h3 a{color:var(--color-navy)}
.post-card-body h3 a:hover{color:var(--color-rosegold)}
.post-card-body p{
    font-size:0.82rem;
    color:var(--color-text-md);
    line-height:1.6;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}
.post-card-body .read-more{
    display:inline-block;
    margin-top:0.75rem;
    font-size:0.76rem;
    font-weight:700;
    color:var(--color-rosegold);
    letter-spacing:0.02em;
}

/* Category filter */
.cat-filter{
    display:flex;
    flex-wrap:wrap;
    gap:0.5rem;
    margin-bottom:2.5rem;
    justify-content:center;
}
.cat-filter a{
    padding:0.45rem 1.2rem;
    border-radius:999px;
    font-size:0.78rem;
    font-weight:600;
    color:var(--color-text-md);
    background:var(--color-surface);
    border:1px solid var(--color-border-light);
    transition:all 0.2s;
}
.cat-filter a:hover,
.cat-filter a.active{
    background:var(--color-navy);
    color:var(--color-surface);
    border-color:var(--color-navy);
}

/* Pagination */
.pagination{
    display:flex;
    justify-content:center;
    gap:0.4rem;
    margin-top:3rem;
}
.pagination a,.pagination span{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:40px;height:40px;
    border-radius:var(--radius-sm);
    font-size:0.82rem;
    font-weight:600;
    border:1px solid var(--color-border-light);
    background:var(--color-surface);
    color:var(--color-text-md);
    transition:all 0.2s;
}
.pagination a:hover,
.pagination .current{
    background:var(--color-navy);
    color:var(--color-surface);
    border-color:var(--color-navy);
}

/* ── Single Post ── */
.single-post{padding-top:2rem}
.article-header{margin-bottom:2rem;text-align:center}
.article-header .post-cat{
    display:inline-block;
    font-size:0.7rem;
    font-weight:700;
    letter-spacing:0.08em;
    text-transform:uppercase;
    color:var(--color-rosegold);
    margin-bottom:0.75rem;
}
.article-header h1{
    font-size:2.4rem;
    line-height:1.2;
    margin-bottom:1rem;
    max-width:800px;
    margin-left:auto;margin-right:auto;
}
.article-meta{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:1.25rem;
    font-size:0.82rem;
    color:var(--color-text-light);
    flex-wrap:wrap;
}
.article-meta span{display:flex;align-items:center;gap:0.3rem}
.article-meta svg{color:var(--color-text-light)}

/* TOC + Content layout */
.article-layout{
    display:grid;
    grid-template-columns:1fr 260px;
    gap:3rem;
    align-items:start;
    max-width:var(--max-width);
    margin:0 auto;
    padding:0 2rem;
}
.toc-sidebar{
    position:sticky;
    top:90px;
    background:var(--color-surface);
    border:1px solid var(--color-border-light);
    border-radius:var(--radius-md);
    padding:1.5rem;
    box-shadow:var(--shadow-sm);
}
.toc-sidebar h4{
    font-size:0.8rem;
    font-weight:700;
    letter-spacing:0.06em;
    text-transform:uppercase;
    color:var(--color-text-md);
    margin-bottom:1rem;
}
.toc-sidebar nav a{
    display:block;
    padding:0.35rem 0;
    font-size:0.8rem;
    color:var(--color-text-md);
    border-left:2px solid transparent;
    padding-left:0.75rem;
    transition:all 0.15s;
}
.toc-sidebar nav a:hover,
.toc-sidebar nav a.active{
    color:var(--color-rosegold);
    border-left-color:var(--color-rosegold);
}
.toc-sidebar nav a.toc-h3{
    padding-left:1.5rem;
    font-size:0.76rem;
}

/* Article body typography */
.ladyww-article-body{
    font-size:1rem;
    line-height:1.85!important;
    color:var(--color-text)!important;
}
.ladyww-article-body h2{
    font-size:1.6rem!important;
    margin:2.5rem 0 1rem!important;
    color:var(--color-navy)!important;
}
.ladyww-article-body h3{
    font-size:1.2rem!important;
    margin:2rem 0 0.75rem!important;
    color:var(--color-navy)!important;
}
.ladyww-article-body p{
    margin-bottom:1.25rem!important;
    font-size:1rem!important;
    color:var(--color-text)!important;
}
.ladyww-article-body ul,.ladyww-article-body ol{
    padding-left:1.5rem!important;
    margin-bottom:1.25rem!important;
    list-style:disc!important;
}
.ladyww-article-body ol{list-style:decimal!important}
.ladyww-article-body li{
    margin-bottom:0.4rem!important;
    font-size:1rem!important;
    color:var(--color-text)!important;
}
.ladyww-article-body blockquote{
    border-left:3px solid var(--color-rosegold)!important;
    padding:1rem 1.5rem!important;
    margin:1.5rem 0!important;
    background:rgba(212,163,115,0.04)!important;
    font-style:italic!important;
    color:var(--color-text-md)!important;
    border-radius:0 var(--radius-sm) var(--radius-sm) 0!important;
}
.ladyww-article-body img{
    border-radius:var(--radius-md)!important;
    margin:1.5rem 0!important;
    height:auto!important;
}
.ladyww-article-body a{
    color:var(--color-rosegold)!important;
    text-decoration:underline!important;
}
.ladyww-article-body table{
    width:100%!important;
    border-collapse:collapse!important;
    margin:1.5rem 0!important;
    font-size:0.88rem!important;
}
.ladyww-article-body th,.ladyww-article-body td{
    border:1px solid var(--color-border-light)!important;
    padding:0.65rem 1rem!important;
    text-align:left!important;
}
.ladyww-article-body th{
    background:rgba(28,45,66,0.03)!important;
    font-weight:700!important;
    color:var(--color-navy)!important;
}
.ladyww-article-body code{
    background:rgba(28,45,66,0.05)!important;
    padding:0.15rem 0.4rem!important;
    border-radius:3px!important;
    font-family:var(--font-mono)!important;
    font-size:0.88em!important;
}
.ladyww-article-body pre{
    background:var(--color-navy)!important;
    color:var(--color-text-inv)!important;
    padding:1.25rem!important;
    border-radius:var(--radius-sm)!important;
    overflow-x:auto!important;
    margin:1.5rem 0!important;
    font-size:0.85rem!important;
    line-height:1.6!important;
}
.ladyww-article-body pre code{
    background:none!important;
    padding:0!important;
    color:inherit!important;
}

/* Tags */
.post-tags{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:0.5rem;
    margin-top:2rem;
    padding-top:1.5rem;
    border-top:1px solid var(--color-border-light);
}
.post-tags-label{
    font-size:0.8rem;
    font-weight:700;
    color:var(--color-text);
    margin-right:0.25rem;
}
.post-tag-item{
    display:inline-block;
    padding:0.28rem 0.85rem;
    background:var(--color-navy);
    color:var(--color-surface);
    border-radius:999px;
    font-size:0.74rem;
    font-weight:600;
    letter-spacing:0.02em;
    transition:all 0.2s;
}
.post-tag-item:hover{
    background:var(--color-rosegold);
    color:var(--color-surface)!important;
}

/* Post navigation */
.post-nav{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:1.5rem;
    margin-top:3rem;
    padding-top:2rem;
    border-top:1px solid var(--color-border-light);
}
.post-nav a{
    display:block;
    padding:1.25rem;
    background:var(--color-surface);
    border:1px solid var(--color-border-light);
    border-radius:var(--radius-md);
    transition:all 0.2s;
}
.post-nav a:hover{
    border-color:var(--color-rosegold);
    box-shadow:var(--shadow-sm);
}
.post-nav .nav-label{
    font-size:0.7rem;
    font-weight:700;
    letter-spacing:0.06em;
    text-transform:uppercase;
    color:var(--color-text-light);
    margin-bottom:0.3rem;
}
.post-nav .nav-title{
    font-size:0.88rem;
    font-weight:600;
    color:var(--color-navy);
    line-height:1.45;
}
.post-nav .nav-next{text-align:right}

/* Related posts */
.related-posts{margin-top:4rem}
.related-posts h3{
    font-size:1.3rem;
    margin-bottom:1.5rem;
    color:var(--color-navy);
}
.related-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:1.5rem;
}
.related-card{
    background:var(--color-surface);
    border:1px solid var(--color-border-light);
    border-radius:var(--radius-md);
    overflow:hidden;
    transition:all 0.2s;
    box-shadow:var(--shadow-sm);
}
.related-card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}
.related-thumb{
    width:100%;
    aspect-ratio:16/10;
    object-fit:cover;
    background:var(--color-bg-alt);
}
.related-card-body{padding:1rem 1.25rem}
.related-card-body h4{
    font-size:0.9rem;
    line-height:1.4;
    margin-bottom:0.25rem;
}
.related-card-body h4 a{color:var(--color-navy)}
.related-card-body h4 a:hover{color:var(--color-rosegold)}
.related-card-body .related-date{
    font-size:0.7rem;
    color:var(--color-text-light);
}

/* ── FAQ ── */
details.faq-item{
    background:var(--color-surface);
    border:1px solid var(--color-border-light);
    border-radius:var(--radius-md);
    margin-bottom:0.75rem;
    overflow:hidden;
}
details.faq-item summary{
    padding:1.1rem 1.3rem;
    font-weight:700;
    font-size:0.9rem;
    color:var(--color-navy);
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:space-between;
    user-select:none;
    list-style:none;
}
details.faq-item summary::-webkit-details-marker{display:none}
details.faq-item summary::after{
    content:'+';
    font-size:1.3rem;
    color:var(--color-rosegold);
    transition:transform 0.25s;
    font-weight:300;
}
details.faq-item[open] summary::after{content:'\2212'}
details.faq-item .faq-content{
    padding:0 1.3rem 1.3rem;
    font-size:0.86rem;
    color:var(--color-text-md);
    line-height:1.75;
}

/* ── Contact Form ── */
.contact-form-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:1rem;
}
.contact-form-grid .full-width{grid-column:1/-1}
.form-group{margin-bottom:1rem}
.form-group label{
    display:block;
    font-size:0.78rem;
    font-weight:700;
    color:var(--color-navy);
    margin-bottom:0.35rem;
    letter-spacing:0.02em;
}
.form-group input,
.form-group textarea,
.form-group select{
    width:100%;
    padding:0.75rem 1rem;
    border:1px solid var(--color-border);
    border-radius:var(--radius-sm);
    font-family:var(--font-body);
    font-size:0.86rem;
    color:var(--color-text);
    background:var(--color-surface);
    transition:border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus{
    outline:none;
    border-color:var(--color-rosegold);
    box-shadow:0 0 0 3px rgba(212,163,115,0.08);
}
.form-group textarea{resize:vertical;min-height:130px}
.form-success,.form-error{
    display:none;
    padding:0.8rem 1rem;
    border-radius:var(--radius-sm);
    font-size:0.82rem;
    font-weight:600;
    margin-bottom:1rem;
}
.form-success{background:#f0fff4;color:#1a7f3d;border:1px solid #a3e4b8}
.form-error{background:#fff5f5;color:#c41e3a;border:1px solid #fcc}

/* ── Floating CTA ── */
.float-cta{
    position:fixed;
    right:1.5rem;
    bottom:2rem;
    z-index:999;
    display:flex;
    flex-direction:column;
    gap:0.6rem;
}
.float-btn{
    display:flex;
    align-items:center;
    gap:0.5rem;
    padding:0.7rem 1.1rem;
    border-radius:var(--radius-md);
    font-size:0.78rem;
    font-weight:700;
    letter-spacing:0.02em;
    color:var(--color-surface)!important;
    text-decoration:none;
    box-shadow:var(--shadow-lg);
    transition:all 0.3s;
}
.float-btn.whatsapp{background:#25D366}
.float-btn.whatsapp:hover{background:#1da851;transform:translateY(-1px)}
.float-btn.quote{background:var(--color-rosegold)}
.float-btn.quote:hover{background:var(--color-navy);transform:translateY(-1px)}
.float-btn svg{color:var(--color-surface)}
.float-btn .pulse-dot{
    width:8px;height:8px;
    border-radius:50%;
    background:#fff;
    animation:pulse 1.5s infinite;
}

/* ── Notification Toast ── */
.toast{
    position:fixed;
    top:1.5rem;
    right:1.5rem;
    z-index:9999;
    background:var(--color-navy);
    color:var(--color-text-inv);
    padding:0.9rem 1.5rem;
    border-radius:var(--radius-md);
    font-size:0.83rem;
    font-weight:600;
    box-shadow:var(--shadow-lg);
    opacity:0;
    transform:translateY(-10px);
    transition:all 0.3s;
}
.toast.show{opacity:1;transform:translateY(0)}
.toast.success{background:#1a7f3d}
.toast.error{background:#c41e3a}

/* ── 404 ── */
.not-found{padding:10rem 0;text-align:center}
.not-found h1{
    font-family:var(--font-heading);
    font-size:8rem;
    font-weight:900;
    color:var(--color-rosegold);
    line-height:1;
}
.not-found h2{font-size:1.5rem;margin:1rem 0}
.not-found p{color:var(--color-text-md);margin-bottom:2rem}

/* ── Search ── */
.search-form-wrap{
    max-width:560px;
    margin:0 auto 3rem;
}
.search-form-wrap input{
    width:100%;
    padding:0.9rem 1.2rem;
    border:1.5px solid var(--color-border);
    border-radius:var(--radius-md);
    font-family:var(--font-body);
    font-size:1rem;
    color:var(--color-text);
    transition:border-color 0.2s;
}
.search-form-wrap input:focus{
    outline:none;
    border-color:var(--color-rosegold);
}

/* ── Hero Section ── */
.hero{
    padding:8rem 0 6rem;
    background:linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
    overflow:hidden;
}
.hero-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:4rem;
    align-items:center;
}
.hero-content h1{
    font-size:3rem;
    font-weight:800;
    line-height:1.15;
    margin-bottom:1.25rem;
    letter-spacing:-0.02em;
}
.hero-content h1 .highlight{
    background:linear-gradient(135deg, var(--color-rosegold), var(--color-rosegold-light));
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
}
.hero-content .hero-desc{
    font-size:1.1rem;
    color:var(--color-text-md);
    line-height:1.7;
    margin-bottom:2rem;
    max-width:520px;
}
.hero-content .hero-cta-group{
    display:flex;
    flex-wrap:wrap;
    gap:1rem;
    margin-bottom:2rem;
}
.hero-badges{
    display:flex;
    flex-wrap:wrap;
    gap:1.25rem;
    font-size:0.8rem;
    font-weight:600;
    color:var(--color-text-md);
}
.hero-badge-item{
    display:flex;
    align-items:center;
    gap:0.4rem;
}
.hero-badge-item svg{color:var(--color-rosegold)}
.hero-visual{
    position:relative;
    border-radius:var(--radius-lg);
    overflow:hidden;
    aspect-ratio:4/3;
    background:linear-gradient(135deg, var(--color-navy), #2A3D5C);
    display:flex;
    align-items:center;
    justify-content:center;
}
.hero-visual-placeholder{text-align:center;color:rgba(255,255,255,0.9)}
.hero-visual-placeholder svg{width:100px;height:100px;margin-bottom:1rem;color:var(--color-rosegold-light)}
.hero-visual-placeholder p{
    font-family:var(--font-heading);
    font-size:0.78rem;
    font-weight:600;
    letter-spacing:0.05em;
    text-transform:uppercase;
    color:rgba(255,255,255,0.6);
}

/* ── Page template generic ── */
.template-header{
    padding:5rem 0 3rem;
    text-align:center;
    background:linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}
.template-header h1{font-size:2.6rem;margin-bottom:0.75rem}
.template-header p{font-size:1.05rem;color:var(--color-text-md);max-width:640px;margin:0 auto}

/* ── Breadcrumbs ── */
.breadcrumbs{
    display:flex;
    flex-wrap:wrap;
    gap:0.4rem;
    align-items:center;
    font-size:0.76rem;
    color:var(--color-text-light);
    padding:1rem 0;
    margin-bottom:1.5rem;
}
.breadcrumbs a{color:var(--color-text-light)}
.breadcrumbs a:hover{color:var(--color-rosegold)}
.breadcrumbs .sep{color:var(--color-text-light)}

/* ── Responsive ── */
@media (max-width:1024px){
    h1{font-size:2.4rem}
    .grid-3{grid-template-columns:repeat(2,1fr)}
    .grid-4{grid-template-columns:repeat(2,1fr)}
    .posts-grid{grid-template-columns:repeat(2,1fr)}
    .related-grid{grid-template-columns:repeat(2,1fr)}
    .article-layout{grid-template-columns:1fr}
    .toc-sidebar{position:static;order:-1}
    .hero-grid{grid-template-columns:1fr;gap:3rem}
    .hero-visual{max-width:500px;margin:0 auto;order:-1}
    .female-led-block{grid-template-columns:1fr;gap:2rem}
    .female-led-img{max-width:400px;margin:0 auto}
}
@media (max-width:768px){
    h1{font-size:2rem}
    h2{font-size:1.6rem}
    .section{padding:3.5rem 0}
    .container{padding:0 1.25rem}
    .grid-2,.grid-3,.grid-4{grid-template-columns:1fr}
    .posts-grid{grid-template-columns:1fr}
    .related-grid{grid-template-columns:1fr}
    .contact-form-grid{grid-template-columns:1fr}
    .post-nav{grid-template-columns:1fr}
    .section-title{font-size:1.8rem}

    /* Mobile Nav */
    .menu-toggle{display:block}
    .site-nav{
        position:absolute;
        top:72px;left:0;right:0;
        background:var(--color-surface);
        border-top:1px solid var(--color-border-light);
        padding:1rem;
        display:none;
        box-shadow:var(--shadow-lg);
    }
    .site-nav.open{display:block}
    .nav-menu{flex-direction:column;align-items:stretch;gap:0.2rem}
    .nav-menu > li > a{padding:0.75rem 1rem}
    .sub-menu{
        position:static;
        opacity:1;visibility:visible;
        transform:none;
        box-shadow:none;
        border:none;
        padding-left:1rem;
        background:var(--color-bg-alt);
    }
    .header-cta{display:none}
    .float-cta{right:0.75rem;bottom:1.25rem}
    .hero{padding:5rem 0 3rem}
    .hero-content h1{font-size:2rem}
    .cert-row{gap:1.5rem}
    .stats-row{flex-direction:column;gap:2rem;align-items:center}
    .cta-banner h2{font-size:1.6rem}
}
@media (max-width:480px){
    h1{font-size:1.75rem}
    .hero-content h1{font-size:1.7rem}
}

/* ── Breadcrumbs override ── */
@media (min-width:1024px){
    .hero-content{max-width:560px}
}

/* ── SVG Icon Alignment Fix ── */
li:has(> svg){
    display:flex;
    align-items:flex-start;
    gap:0.5rem;
    padding:0.3rem 0;
    line-height:1.65;
}
li:has(> svg) > svg{margin-top:0.15rem}

/* ── Admin Bar Offset ── */
body.admin-bar #site-header{top:32px}
@media (max-width:782px){body.admin-bar #site-header{top:46px}}

/* ── Animations ── */
@keyframes fadeup{
    from{opacity:0;transform:translateY(30px)}
    to{opacity:1;transform:translateY(0)}
}
@keyframes slideInRight{
    from{opacity:0;transform:translateX(30px)}
    to{opacity:1;transform:translateX(0)}
}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:0.4}}
@keyframes scaleIn{
    from{opacity:0;transform:scale(0.95)}
    to{opacity:1;transform:scale(1)}
}
.animate-fadeup{animation:fadeup 0.7s ease-out both}
.animate-slide-right{animation:slideInRight 0.7s ease-out both}
.animate-scale{animation:scaleIn 0.5s ease-out both}

/* Staggered animation delays */
.stagger > *:nth-child(1){animation-delay:0.1s}
.stagger > *:nth-child(2){animation-delay:0.2s}
.stagger > *:nth-child(3){animation-delay:0.3s}
.stagger > *:nth-child(4){animation-delay:0.4s}
.stagger > *:nth-child(5){animation-delay:0.5s}
.stagger > *:nth-child(6){animation-delay:0.6s}

/* Page wrapper offset for fixed header */
.page-wrapper{padding-top:72px}

/* ── Footer ── */
.site-footer{
    background:var(--color-navy);
    color:var(--color-text-inv-md);
    padding:4rem 0 2rem;
    border-top:1px solid rgba(255,255,255,0.06);
}
.footer-grid{
    display:grid;
    grid-template-columns:1.3fr 1fr 1fr 1fr;
    gap:2rem;
    margin-bottom:2rem;
}
.footer-brand .logo-text{font-size:1.3rem;font-weight:700;color:var(--color-white);letter-spacing:0.5px}
.footer-brand .logo-accent{color:var(--color-gold)}
.footer-brand p{font-size:0.85rem;color:var(--color-text-inv-md);line-height:1.7;margin-top:0.5rem;max-width:260px}
.footer-col h4{font-size:0.85rem;font-weight:600;color:var(--color-white);text-transform:uppercase;letter-spacing:1.5px;margin-bottom:1rem}
.footer-col ul{list-style:none;padding:0;margin:0}
.footer-col li{margin-bottom:0.55rem}
.footer-col a,.footer-contact span{font-size:0.84rem;color:var(--color-text-inv-md);transition:color 0.2s}
.footer-col a:hover{color:var(--color-gold)}
.footer-contact li{display:flex;align-items:center;gap:0.5rem}
.footer-contact svg{flex-shrink:0;color:var(--color-gold)}
.footer-bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-top:1px solid rgba(255,255,255,0.08);
    padding-top:1.5rem;
    font-size:0.78rem;
    color:var(--color-text-inv-md);
}
.footer-social{display:flex;gap:0.75rem}
.footer-social a{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,0.06);color:var(--color-text-inv-md);transition:all 0.2s}
.footer-social a:hover{background:var(--color-gold);color:var(--color-white)}

@media (max-width:768px){
    .footer-grid{grid-template-columns:1fr 1fr;gap:1.5rem}
    .footer-bottom{flex-direction:column;gap:0.75rem;text-align:center}
}

/* ── Floating CTA ── */
.float-cta{
    position:fixed;
    bottom:1.5rem;
    right:1.5rem;
    display:flex;
    flex-direction:column;
    gap:0.6rem;
    z-index:999;
    pointer-events:none;
}
.float-cta > *{pointer-events:auto}
.float-btn{
    display:inline-flex;
    align-items:center;
    gap:0.5rem;
    padding:0.75rem 1.1rem;
    border-radius:var(--radius-lg);
    font-size:0.82rem;
    font-weight:600;
    color:var(--color-white);
    box-shadow:0 4px 14px rgba(0,0,0,0.15);
    transition:all 0.2s;
    position:relative;
}
.float-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(0,0,0,0.2)}
.float-btn.whatsapp{background:#25D366}
.float-btn.quote{background:var(--color-gold);color:var(--color-navy)}
.float-btn span:first-of-type{display:none}
@media (min-width:640px){.float-btn span:first-of-type{display:inline}}
.pulse-dot{
    position:absolute;
    top:0.4rem;
    right:0.4rem;
    width:8px;
    height:8px;
    border-radius:50%;
    background:#fff;
    animation:pulse 2s infinite;
    border:1px solid rgba(255,255,255,0.3);
}

/* ── Toast ── */
#toast{
    position:fixed;
    bottom:7rem;
    right:1.5rem;
    background:var(--color-navy);
    color:var(--color-white);
    padding:0.75rem 1.25rem;
    border-radius:var(--radius-md);
    font-size:0.85rem;
    font-weight:500;
    box-shadow:0 4px 16px rgba(0,0,0,0.2);
    opacity:0;
    transform:translateY(12px);
    transition:all 0.3s ease;
    z-index:1000;
    pointer-events:none;
    border:1px solid rgba(255,255,255,0.08);
}
#toast.show{opacity:1;transform:translateY(0)}

/* ── Admin Bar Offset ── */
body.admin-bar #site-header{top:32px}
