/**
 * PairMyPet Theme Styles
 * Production-grade responsive design with Divi compatibility
 */

/* ==========================================================================
   CSS Custom Properties & Design Tokens
   ========================================================================== */
:root {
    /* Brand Colors */
    --primary: #ff5857;
    --secondary: #e80067;
    --accent: #2ea3f2;
    --heading: #0e0c19;
    --body: #3c3a47;
    --body-muted: #605d6b; /* Darkened from #7a7786 for WCAG 4.5:1 contrast */
    --light: #f8f7fc;
    --cream: #fffbf8;
    --white: #ffffff;
    --black: #000000;
    --border: rgba(14, 12, 25, 0.08);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #ff5857 0%, #e80067 100%);
    --gradient-hover: linear-gradient(135deg, #ff6b6a 0%, #f01078 100%);
    --gradient-header: linear-gradient(to bottom, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 40%, rgba(0,0,0,0) 100%);

    /* Typography Scale - Fluid */
    --font-display: 'Quicksand', -apple-system, sans-serif;
    --font-body: 'DM Sans', -apple-system, sans-serif;

    /* Desktop sizes - matches V2 landing page */
    --text-h1: clamp(2.5rem, 5vw, 4rem);
    --text-h2: clamp(2rem, 4vw, 3rem);
    --text-h3: clamp(1.375rem, 2.5vw, 1.75rem);
    --text-h4: clamp(1.125rem, 2vw, 1.375rem);

    /* Body Text Scale */
    --text-body-lg: 1.125rem;      /* 18px - lead paragraphs */
    --text-body: 1rem;             /* 16px - default body */
    --text-body-sm: 0.9375rem;     /* 15px - secondary text */
    --text-body-xs: 0.875rem;      /* 14px - captions, labels */
    --text-body-tiny: 0.8125rem;   /* 13px - fine print */

    /* Spacing Scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* Layout */
    --container-max: 1800px;
    --container-padding: clamp(1rem, 4vw, 2rem);
    --section-padding: clamp(3rem, 8vw, 6rem);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --shadow-cta: 0 4px 20px rgba(255,88,87,0.35);
    --shadow-glow: 0 8px 32px rgba(232, 0, 103, 0.25);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 50px;
}

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

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

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    font-size: var(--text-body);
    font-weight: 400;
    line-height: 1.8;
    color: var(--body);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

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

/* ==========================================================================
   Typography - Base Heading Styles
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.25;
    color: var(--heading);
    margin: 0 0 var(--space-md);
}

h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }
h4 { font-size: var(--text-h4); }

/* Typography Utility Classes */
.text-white { color: var(--white) !important; }
.text-primary { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-muted { color: var(--body-muted) !important; }
.text-center { text-align: center; }
.text-left { text-align: left; }

/* Gradient text effect */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Body Text - Base Styles */
p {
    font-size: var(--text-body);
    line-height: 1.8;
    color: var(--body);
    margin-bottom: var(--space-sm);
}

/* List Items - Base Styles */
ul, ol {
    margin: 0 0 var(--space-sm);
    padding-left: 1.5rem;
}

li {
    font-size: var(--text-body);
    line-height: 1.8;
    color: var(--body);
    margin-bottom: 0.5rem;
}

li:last-child {
    margin-bottom: 0;
}

/* Body Text Size Utility Classes */
.text-lg {
    font-size: var(--text-body-lg) !important;
    line-height: 1.7;
}

.text-base {
    font-size: var(--text-body) !important;
}

.text-sm {
    font-size: var(--text-body-sm) !important;
}

.text-xs {
    font-size: var(--text-body-xs) !important;
}

.text-tiny {
    font-size: var(--text-body-tiny) !important;
}

/* Lead paragraph - larger intro text */
.lead {
    font-size: var(--text-body-lg);
    line-height: 1.7;
    color: var(--body-muted);
}

/* Typography - Responsive Overrides */
@media (max-width: 768px) {
    :root {
        /* Headings */
        --text-h1: clamp(2rem, 6vw, 2.5rem);
        --text-h2: clamp(1.625rem, 5vw, 2rem);
        --text-h3: clamp(1.25rem, 3vw, 1.5rem);
        --text-h4: clamp(1.0625rem, 2.5vw, 1.25rem);

        /* Body Text */
        --text-body-lg: 1rem;
        --text-body: 0.9375rem;
        --text-body-sm: 0.875rem;
        --text-body-xs: 0.8125rem;
        --text-body-tiny: 0.75rem;
    }

    h1, h2, h3, h4, h5, h6 {
        line-height: 1.3;
        margin-bottom: var(--space-sm);
    }

    p, li {
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    :root {
        /* Headings */
        --text-h1: 1.875rem;
        --text-h2: 1.5rem;
        --text-h3: 1.25rem;
        --text-h4: 1.0625rem;

        /* Body Text */
        --text-body-lg: 0.9375rem;
        --text-body: 0.875rem;
        --text-body-sm: 0.8125rem;
        --text-body-xs: 0.75rem;
        --text-body-tiny: 0.6875rem;
    }

    h1, h2, h3, h4, h5, h6 {
        line-height: 1.35;
    }

    p, li {
        line-height: 1.65;
    }
}

/* ==========================================================================
   Layout & Container
   ========================================================================== */
.container {
    width: 80%;
    max-width: var(--container-max);
    margin: 0 auto;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-cta);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255,88,87,0.45);
    color: var(--white);
}

.btn-cta {
    background-image: linear-gradient(90deg, #ff5857 0%, #e80067 100%);
    color: var(--white) !important;
    padding: 15px 22px !important;
    border-radius: 30px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 15px rgba(232, 0, 103, 0.35);
    transition: all var(--transition-base);
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 0, 103, 0.5);
    color: var(--white) !important;
    background-image: linear-gradient(90deg, #ff6a69 0%, #f01077 100%);
    text-decoration: none;
}

.btn-cta::after {
    display: none !important;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 1rem 0;
    background: var(--gradient-header);
    transition: background var(--transition-base);
    -webkit-tap-highlight-color: transparent;
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

/* WordPress Admin Bar Adjustment */
body.admin-bar .header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .header {
        top: 46px;
    }
}

/* Ensure header is at top on mobile (non-admin) */
@media screen and (max-width: 782px) {
    body:not(.admin-bar) .header {
        top: 0 !important;
    }
}

/* ==========================================================================
   HEADER VARIANTS - Use per page as needed
   ========================================================================== */

/* LIGHT HEADER - White background, dark text */
.header-light {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header-light.scrolled {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-light .nav-menu a,
.header-light .menu a {
    color: var(--heading);
}

.header-light .nav-menu a:hover,
.header-light .menu a:hover {
    color: var(--primary);
}

.header-light .logo-text {
    color: var(--primary);
}

.header-light .mobile-menu-toggle {
    color: var(--heading);
}

/* DARK HEADER - Dark background, white text */
.header-dark {
    background: var(--heading);
    box-shadow: none;
}

.header-dark.scrolled {
    background: var(--heading);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-dark .nav-menu a,
.header-dark .menu a {
    color: var(--white);
}

.header-dark .nav-menu a:hover,
.header-dark .menu a:hover {
    color: var(--primary);
}

.header-dark .logo-text {
    color: var(--white);
}

.header-dark .mobile-menu-toggle {
    color: var(--white);
}

/* TRANSPARENT HEADER - Transparent background, dark text (for light backgrounds) */
.header-transparent {
    background: transparent;
    box-shadow: none;
}

.header-transparent.scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-transparent.scrolled .nav-menu a,
.header-transparent.scrolled .menu a {
    color: var(--white);
}

.header-transparent.scrolled .logo-text {
    color: var(--white);
}

.header-transparent.scrolled .mobile-menu-toggle {
    color: var(--white);
}

.header-transparent .nav-menu a,
.header-transparent .menu a {
    color: var(--heading);
}

.header-transparent .nav-menu a:hover,
.header-transparent .menu a:hover {
    color: var(--primary);
}

.header-transparent .logo-text {
    color: var(--primary);
}

.header-transparent .mobile-menu-toggle {
    color: var(--heading);
}

/* GRADIENT HEADER - Gradient overlay (original default) */
.header-gradient {
    background: var(--gradient-header);
}

.header-gradient.scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-gradient .nav-menu a,
.header-gradient .menu a {
    color: var(--white);
}

.header-gradient .nav-menu a:hover,
.header-gradient .menu a:hover {
    color: var(--primary);
}

.header-gradient .logo-text {
    color: var(--white);
}

.header-gradient .mobile-menu-toggle {
    color: var(--white);
}

.header .container {
    width: 80%;
    max-width: var(--container-max);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1001;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    z-index: 1002;
}

.logo img,
.logo-img {
    height: 45px;
    width: auto;
    transition: all var(--transition-base);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

/* Desktop Navigation */
.nav-menu,
.menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu li,
.menu li {
    margin: 0;
}

.nav-menu a,
.menu a {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.5px;
    color: var(--white);
    text-decoration: none;
    transition: all var(--transition-base);
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a::after,
.menu a:not(.btn-cta)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-base);
}

.nav-menu a:hover::after,
.menu a:not(.btn-cta):hover::after {
    width: 100%;
}

.nav-menu a:hover,
.menu a:hover {
    color: rgba(255, 255, 255, 0.85);
}

/* Navigation Dropdowns */
.has-dropdown {
    position: relative;
}

.has-dropdown > a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-arrow {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
    transition: transform var(--transition-base);
    opacity: 0.7;
}

.has-dropdown:hover .dropdown-arrow,
.has-dropdown.dropdown-open .dropdown-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.04);
    list-style: none;
    margin: 0;
    padding: 10px 0;
    min-width: 230px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 1000;
}

/* Small pointer triangle at top of dropdown */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: var(--white);
    box-shadow: -1px -1px 0 rgba(0, 0, 0, 0.04);
}

.has-dropdown:hover > .dropdown-menu,
.has-dropdown.dropdown-open > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    margin: 0;
    position: relative;
}

.dropdown-menu a {
    display: block;
    padding: 10px 24px;
    color: var(--body) !important;
    font-family: var(--font-body);
    font-size: var(--text-body-sm);
    font-weight: 500;
    white-space: nowrap;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.dropdown-menu a::after {
    display: none !important;
}

.dropdown-menu a:hover {
    background: linear-gradient(135deg, rgba(255, 88, 87, 0.06), rgba(232, 0, 103, 0.06));
    color: var(--primary) !important;
    padding-left: 28px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--white);
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    z-index: 1002;
    transition: all var(--transition-base);
    line-height: 1;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    background: var(--gradient-primary);
    padding: clamp(8rem, 15vw, 10rem) 0 clamp(4rem, 10vw, 6rem);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.03)"/></svg>') repeat;
    opacity: 0.5;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: var(--white);
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: var(--space-md);
}

.hero-content p {
    font-size: 1.125rem;
    opacity: 0.95;
    margin-bottom: var(--space-lg);
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    display: block;
}

.stat-label {
    font-size: var(--text-small);
    opacity: 0.9;
}

.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   Sections
   ========================================================================== */
.how-it-works,
.features,
.benefits,
.testimonials,
.breeds,
.faq,
.cta-section {
    padding: var(--section-padding) 0;
}

.features,
.faq {
    background: var(--light);
}

.testimonials {
    background: var(--gradient-primary);
}

.cta-section {
    background: var(--heading);
    text-align: center;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-2xl);
}

.section-header span {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: var(--text-small);
    letter-spacing: 2px;
}

/* ==========================================================================
   Grid Layouts
   ========================================================================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
    align-items: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

/* ==========================================================================
   Cards
   ========================================================================== */
.step-card,
.benefit-card,
.testimonial-card,
.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    transition: all var(--transition-base);
}

.step-card,
.benefit-card {
    text-align: center;
    box-shadow: var(--shadow-md);
}

.step-card:hover,
.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto var(--space-md);
}

.testimonial-card {
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    color: #ffc107;
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.author-avatar svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--heading);
    padding: var(--space-2xl) 0 var(--space-lg);
    color: rgba(255, 255, 255, 0.7);
}

.footer .container {
    width: 80%;
    max-width: var(--container-max);
}

.footer h3,
.footer h4 {
    color: var(--white);
}

.footer-about {
    padding-right: var(--space-lg);
}

.footer-logo {
    display: inline-block;
    margin-bottom: var(--space-md);
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-body-xs);
    line-height: 1.7;
}

.footer-links h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin: 0 0 var(--space-md);
    padding: 0;
}

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

.footer-links li {
    margin-bottom: var(--space-xs);
    padding: 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-body-sm);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7); /* Explicit color for WCAG contrast */
    margin: 0;
}

.social-links {
    display: flex;
    gap: var(--space-sm);
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition-base);
}

.social-links a:hover {
    background: var(--primary);
}

.social-links a svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ==========================================================================
   WordPress & Divi Compatibility
   ========================================================================== */
.site-main {
    padding-top: 0;
}

.entry-content {
    padding: 0;
    margin: 0;
}

/* Hide empty paragraphs added by WordPress wpautop */
.entry-content > p:empty,
.entry-content > p:last-child:empty,
.entry-content p:only-child:empty {
    display: none;
    margin: 0;
    padding: 0;
}

/* WordPress page content - remove margins */
.page .entry-content,
.single .entry-content,
#main,
#primary,
.site-main,
.page-content {
    padding-top: 0;
    margin-top: 0;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

/* Large Tablet - 1200px (footer grid transition) */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1fr repeat(4, 1fr);
        gap: var(--space-lg);
    }
}

/* Tablet - 1024px */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .cta-buttons {
        justify-content: center;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .journey-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-about {
        grid-column: 1 / -1;
        padding-right: 0;
    }
}

/* Mobile - 768px */
@media (max-width: 768px) {
    /* Prevent horizontal scroll */
    html, body {
        overflow-x: hidden;
    }

    /* Mobile Logo */
    .logo img,
    .logo-img {
        height: 36px;
        width: auto;
    }

    /* Header container - ensure proper alignment */
    .header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0 15px;
    }

    /* Show Mobile Toggle - right aligned */
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }

    /* Mobile Menu - Full Screen Overlay */
    .nav-menu,
    .menu {
        position: fixed;
        inset: 0;
        background: linear-gradient(180deg, rgba(0,0,0,0.98) 0%, rgba(20,0,30,0.98) 100%);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        padding: var(--space-2xl);
        z-index: 1001;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        transform: translateY(-20px);
    }

    .nav-menu.mobile-open,
    .menu.mobile-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-menu > li,
    .menu > li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease;
    }

    /* Dropdown sub-items should always be visible (no stagger animation) */
    .dropdown-menu li {
        opacity: 1;
        transform: none;
        border-bottom: none;
    }

    .nav-menu.mobile-open > li,
    .menu.mobile-open > li {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered animation for top-level menu items only */
    .nav-menu.mobile-open > li:nth-child(1),
    .menu.mobile-open > li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.mobile-open > li:nth-child(2),
    .menu.mobile-open > li:nth-child(2) { transition-delay: 0.15s; }
    .nav-menu.mobile-open > li:nth-child(3),
    .menu.mobile-open > li:nth-child(3) { transition-delay: 0.2s; }
    .nav-menu.mobile-open > li:nth-child(4),
    .menu.mobile-open > li:nth-child(4) { transition-delay: 0.25s; }
    .nav-menu.mobile-open > li:nth-child(5),
    .menu.mobile-open > li:nth-child(5) { transition-delay: 0.3s; }

    .nav-menu > li:last-child,
    .menu > li:last-child {
        border-bottom: none;
        margin-top: var(--space-sm);
        padding-top: var(--space-sm);
    }

    .nav-menu > li > a,
    .menu > li > a {
        display: block;
        padding: 0.9rem 0;
        font-size: 1.1rem;
        font-weight: 500;
        letter-spacing: 0.5px;
        color: var(--white) !important;
    }

    .nav-menu a::after,
    .menu a:not(.btn-cta)::after {
        display: none;
    }

    .nav-menu .btn-cta,
    .menu .btn-cta {
        margin-top: var(--space-sm);
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    /* Mobile Dropdown Menus */
    .has-dropdown {
        position: static;
    }

    .has-dropdown > a {
        justify-content: center;
    }

    .dropdown-menu {
        position: static !important;
        transform: none !important;
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        min-width: auto !important;
        padding: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
        opacity: 1 !important;
        visibility: visible !important;
        transition: max-height 0.3s ease !important;
    }

    .dropdown-menu::before {
        display: none !important;
    }

    /* Kill ALL desktop hover effects on mobile */
    .has-dropdown:hover > .dropdown-menu {
        max-height: 0 !important;
        padding: 0 !important;
    }

    /* ONLY .dropdown-open shows the menu */
    .has-dropdown.dropdown-open > .dropdown-menu {
        max-height: 500px !important;
        padding: 8px 0 !important;
    }

    .dropdown-menu a {
        color: rgba(255, 255, 255, 0.6) !important;
        font-size: 0.95rem;
        font-weight: 400;
        letter-spacing: 0;
        padding: 8px 20px;
        text-align: center;
    }

    .dropdown-menu a:hover {
        background: rgba(255, 255, 255, 0.06);
        color: var(--white) !important;
        padding-left: 20px;
    }

    /* Mobile Toggle Active State */
    .mobile-menu-toggle.active {
        color: var(--primary);
        position: relative;
        z-index: 1003;
    }

    /* Body state when mobile menu is open */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100%;
    }

    /* Grids to Single Column */
    .steps-grid,
    .features-grid,
    .benefits-grid,
    .faq-grid,
    .testimonials-grid,
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: var(--space-md);
    }

    /* Hero adjustments */
    .hero {
        padding: 7rem 0 3rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    /* Section spacing */
    .section-header {
        margin-bottom: var(--space-xl);
    }

    /* Footer */
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* WordPress Block Editor */
    .wp-block-columns {
        flex-direction: column !important;
    }

    .wp-block-column {
        flex-basis: 100% !important;
        margin-left: 0 !important;
    }
}

/* Small Mobile - 480px */
@media (max-width: 480px) {
    /* Keep logo consistent */
    .logo img,
    .logo-img {
        height: 36px;
        width: auto;
    }

    /* Compact header */
    .header {
        padding: 0.75rem 0;
    }

    /* Reduce section padding */
    .how-it-works,
    .features,
    .benefits,
    .testimonials,
    .breeds,
    .faq,
    .cta-section {
        padding: var(--space-xl) 0;
    }

    /* Card padding */
    .step-card,
    .benefit-card,
    .testimonial-card,
    .faq-item {
        padding: var(--space-md);
    }

    /* Button sizing */
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }

    .btn-cta {
        padding: 0.75rem 1.25rem !important;
        font-size: 0.9375rem !important;
    }

    /* Mobile menu font */
    .nav-menu a,
    .menu a {
        font-size: 1.125rem;
        padding: 1rem 0;
    }
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.text-center { text-align: center; }
.text-white { color: var(--white); }
.bg-light { background: var(--light); }
.bg-dark { background: var(--heading); }
.bg-gradient { background: var(--gradient-primary); }

/* ==========================================================================
   HOME PAGE SECTIONS
   ========================================================================== */

/* Hero Section - Full viewport with background image */
.hero-home {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px 80px;
    position: relative;
    margin-top: 0;
}

.hero-home .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-home .hero-content {
    position: relative;
    z-index: 1;
    width: 80%;
    max-width: var(--container-max);
    margin: 0 auto;
}

.hero-home .hero-logo {
    width: 210px;
    height: auto;
    margin: 0 auto 40px;
    display: block;
}

.hero-home h1 {
    color: var(--white);
    margin-bottom: 24px;
}

.hero-home p {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 40px;
    font-family: var(--font-body);
}

/* Hero Stats Bar */
.hero-stats-bar {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat .stat-number {
    display: block;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 4px;
}

.hero-stat .stat-label {
    font-size: var(--text-body-xs);
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section Subtitle */
.section-subtitle {
    text-align: center;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: var(--text-body-xs);
    letter-spacing: 2px;
    margin-bottom: 12px;
}

/* Section - White Background */
.section-white {
    padding: clamp(60px, 10vw, 100px) 20px;
    background: var(--white);
}

/* Section - Light Gray Background */
.section-light {
    padding: clamp(60px, 10vw, 100px) 20px;
    background: #f8f9fc;
}

/* Section - CTA Banner */
.section-cta-green {
    padding: clamp(50px, 8vw, 80px) 20px;
    background-image: linear-gradient(90deg, #ff5857 0%, #e80067 100%);
    text-align: center;
}

.section-cta-green h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.section-cta-green p {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 2vw, 1.125rem);
    margin-bottom: 30px;
}

/* CTA Features List */
.cta-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.cta-feature {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--text-body-xs);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cta-feature svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ==========================================================================
   Breeding Journey Section
   ========================================================================== */
.breeding-journey .journey-groups {
    display: flex;
    flex-direction: column;
    gap: clamp(40px, 6vw, 60px);
}

.journey-group-title {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--primary);
    display: inline-block;
}

.journey-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.journey-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 20px;
    padding: 36px 30px;
    text-decoration: none;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

.journey-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.journey-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(255, 88, 87, 0.12), rgba(232, 0, 103, 0.12));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: background var(--transition-base);
}

.journey-card:hover .journey-card-icon {
    background: var(--gradient-primary);
}

.journey-card-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--primary);
    transition: stroke var(--transition-base);
}

.journey-card:hover .journey-card-icon svg {
    stroke: var(--white);
}

.journey-card h4 {
    font-family: var(--font-display);
    color: var(--heading);
    font-size: var(--text-h4);
    font-weight: 700;
    margin-bottom: 10px;
}

.journey-card p {
    color: var(--body-muted);
    font-size: var(--text-body-sm);
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.journey-card-link {
    color: var(--primary);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--text-body-sm);
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.journey-card:hover .journey-card-link {
    color: var(--secondary);
    gap: 8px;
}

@media (max-width: 768px) {
    .journey-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .journey-card {
        padding: 28px 24px;
    }
}

/* Section - Bottom Text */
.section-bottom-text {
    padding: 60px 20px;
    background: #f8f9fc;
    border-top: 1px solid #eee;
}

.section-bottom-text p {
    color: var(--body-muted);
    font-size: var(--text-body-sm);
    line-height: 1.8;
    text-align: center;
}

/* Container */
.section-container {
    width: 80%;
    max-width: var(--container-max);
    margin: 0 auto;
}

.section-container-narrow {
    width: 80%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-container-slim {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-container-xs {
    width: 80%;
    max-width: 900px;
    margin: 0 auto;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: clamp(40px, 6vw, 60px);
}

.section-title-left {
    margin-bottom: clamp(40px, 6vw, 60px);
}

/* ==========================================================================
   STEPS GRID - How It Works
   ========================================================================== */
.steps-grid-home {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.step-card-home {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.step-card-home:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.step-label {
    color: var(--body-muted);
    font-size: var(--text-body-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.step-card-home h3 {
    margin: 12px 0 20px;
}

.step-card-home img {
    width: 100%;
    max-width: 250px;
    display: block;
    margin: 0 auto 20px;
}

.step-card-home p {
    color: var(--body-muted);
}

/* ==========================================================================
   FEATURE ROWS - Why Choose Section
   ========================================================================== */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 8vw, 80px);
    align-items: center;
    margin-bottom: clamp(50px, 8vw, 80px);
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row-reverse {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 8vw, 80px);
    align-items: center;
    margin-bottom: clamp(50px, 8vw, 80px);
}

.feature-row h3 {
    margin-bottom: 16px;
}

.feature-row p,
.feature-row-reverse p {
    color: #666;
    font-size: var(--text-body);
    line-height: 1.8;
}

.feature-row-reverse h3 {
    margin-bottom: 16px;
}

.feature-image {
    text-align: center;
}

.feature-image img {
    max-width: 100%;
    max-height: 350px;
}

/* Feature Lists */
.feature-list-check {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list-check li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--body-muted);
}

.feature-list-check .check-icon {
    color: var(--primary);
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-list-check .check-icon svg {
    width: 16px;
    height: 16px;
    stroke: var(--primary);
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-grid-home {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.faq-item-home {
    margin: 0;
}

.faq-item-home h4 {
    margin-bottom: 12px;
}

.faq-item-home p {
    color: var(--body-muted);
    margin: 0;
}

/* ==========================================================================
   BUTTONS - Page Specific
   ========================================================================== */
.btn-gradient {
    display: inline-block;
    background-image: linear-gradient(90deg, #ff5857 0%, #e80067 100%);
    color: var(--white);
    padding: 18px 50px;
    border-radius: 50px;
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 600;
    text-decoration: none;
    font-family: var(--font-body);
    transition: all var(--transition-base);
    box-shadow: 0 4px 15px rgba(232, 0, 103, 0.35);
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(232, 0, 103, 0.45);
    color: var(--white);
    background-image: linear-gradient(90deg, #ff6a69 0%, #f01077 100%);
}

.btn-gradient-sm {
    display: inline-block;
    background-image: linear-gradient(90deg, #ff5857 0%, #e80067 100%);
    color: var(--white);
    padding: 16px 45px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-base);
    box-shadow: 0 4px 15px rgba(232, 0, 103, 0.35);
}

.btn-gradient-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 0, 103, 0.5);
    color: var(--white);
    background-image: linear-gradient(90deg, #ff6a69 0%, #f01077 100%);
}

.btn-dark {
    display: inline-block;
    background: var(--white);
    color: var(--heading);
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-base);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-dark:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: var(--heading);
}

/* ==========================================================================
   TEXT UTILITIES
   ========================================================================== */
.text-muted {
    color: #666;
}

.text-italic {
    font-style: italic;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 4rem; }

/* Add gap when text-center is followed by feature-row */
.text-center + .feature-row,
.text-center + .feature-row-reverse {
    margin-top: 3rem;
}

/* ==========================================================================
   TRUST BAR
   ========================================================================== */
.trust-bar {
    background: #f8f9fc;
    padding: 30px 20px;
}

.trust-bar-inner {
    width: 80%;
    max-width: var(--container-max);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    margin: 0 auto;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--body);
    font-size: var(--text-body-xs);
    font-weight: 600;
}

.trust-icon {
    color: var(--primary);
    font-size: 24px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary);
}

/* ==========================================================================
   BENEFITS GRID
   ========================================================================== */
.benefits-grid-home {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.benefit-card-home {
    text-align: center;
    padding: 40px 24px;
    border-radius: 16px;
    background: var(--white);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-base);
}

.benefit-card-home:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(135deg, rgba(255, 88, 87, 0.1) 0%, rgba(232, 0, 103, 0.1) 100%);
    border-radius: 16px;
}

.benefit-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--primary);
}

.benefit-card-home h4 {
    margin-bottom: 12px;
}

.benefit-card-home p {
    font-size: var(--text-body-xs);
    color: var(--body-muted);
    line-height: 1.7;
    margin: 0;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.section-testimonials {
    padding: clamp(60px, 10vw, 100px) 20px;
    background-image: linear-gradient(90deg, #ff5857 0%, #e80067 100%);
}

.section-testimonials .section-title {
    color: var(--white);
}

.section-testimonials .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-bottom: 50px;
}

.testimonials-grid-home {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card-home {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-stars {
    color: #ffc107;
    font-size: 20px;
    margin-bottom: 16px;
}

.testimonial-card-home p {
    font-style: italic;
    margin-bottom: 24px;
    font-size: var(--text-body-sm);
    line-height: 1.8;
    color: var(--body-muted);
}

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

.testimonial-author .author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.testimonial-author .author-avatar svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
}

.author-info h5 {
    margin-bottom: 4px;
}

.author-info span {
    font-size: var(--text-body-tiny);
    color: var(--body-muted);
}

/* ==========================================================================
   BREED TAGS
   ========================================================================== */
.breeds-showcase {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.breed-tag {
    padding: 12px 24px;
    background: #f0f0f0;
    border-radius: 50px;
    font-weight: 600;
    color: var(--heading);
    font-size: var(--text-body-xs);
    transition: all var(--transition-base);
}

.breed-tag:hover {
    background-image: linear-gradient(90deg, #ff5857 0%, #e80067 100%);
    color: var(--white);
}

/* ==========================================================================
   RESPONSIVE - Additional Sections
   ========================================================================== */
@media (max-width: 1024px) {
    .benefits-grid-home {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid-home {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .trust-bar-inner {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .benefits-grid-home {
        grid-template-columns: 1fr;
    }

    .trust-bar-inner {
        flex-direction: column;
        gap: 20px;
    }

    .benefit-card-home {
        padding: 30px 20px;
    }

    .testimonial-card-home {
        padding: 30px;
    }

    .breeds-showcase {
        gap: 10px;
    }

    .breed-tag {
        padding: 10px 18px;
        font-size: 13px;
    }
}

/* ==========================================================================
   RESPONSIVE - Home Page Sections
   ========================================================================== */
@media (max-width: 1024px) {
    .steps-grid-home {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-row,
    .feature-row-reverse {
        gap: 40px;
    }

    .faq-grid-home {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero-home {
        min-height: 100vh;
        padding: 80px 20px 60px;
        margin-top: 0;
    }

    .hero-home .hero-logo {
        width: 160px;
        margin: 0 auto 25px;
    }

    /* Hero stats bar mobile */
    .hero-stats-bar {
        flex-direction: column;
        gap: 25px;
        margin-top: 35px;
    }

    .hero-stat .stat-number {
        font-size: 1.75rem;
    }

    /* CTA features mobile */
    .cta-features {
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
    }

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

    .step-card-home {
        padding: 30px 24px;
    }

    /* Step card images - full width */
    .step-card-home img {
        width: 100%;
        max-width: none;
    }

    .feature-row,
    .feature-row-reverse {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Image comes first on mobile for all feature rows */
    .feature-row .feature-image,
    .feature-row-reverse .feature-image {
        order: -1;
    }

    /* Feature images - full width */
    .feature-image img {
        width: 100%;
        max-width: none;
        max-height: none;
    }

    .faq-grid-home {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .faq-column {
        gap: 30px;
    }

    .section-white,
    .section-light {
        padding: 50px 0;
    }

    .section-cta-green {
        padding: 40px 15px;
    }

    .btn-gradient,
    .btn-gradient-sm,
    .btn-dark {
        padding: 14px 30px;
        font-size: var(--text-body-xs);
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-home {
        padding: 80px 15px 40px;
    }

    .hero-home .hero-logo {
        width: 160px;
        margin: 0 auto 20px;
    }

    .step-card-home {
        padding: 24px 20px;
    }

    .step-card-home img {
        width: 100%;
        max-width: none;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .mobile-menu-toggle {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
    }
}

/* ==========================================================================
   PREMIUM LANDING PAGE STYLES (V2)
   Uses main theme variables for consistency
   ========================================================================== */

/* PM Landing Page Scoped Styles */
.pm-landing {
    font-family: var(--font-body);
    color: var(--body);
    line-height: 1.7;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 0;
}

/* Ensure CTA touches footer - no white gap */
.pm-landing > .pm-pricing-cta:last-child {
    margin-bottom: 0;
}

.pm-landing h1, .pm-landing h2, .pm-landing h3, .pm-landing h4 {
    line-height: 1.2;
    margin: 0 0 1rem;
}

.pm-landing p { margin: 0 0 1rem; }
.pm-landing a { text-decoration: none; color: inherit; }
.pm-landing img { max-width: 100%; height: auto; }

.pm-container { width: 80%; max-width: var(--container-max); margin: 0 auto; }
.pm-container-narrow { width: 80%; max-width: 900px; margin: 0 auto; }

/* ==========================================================================
   PM HERO SECTION
   ========================================================================== */
.pm-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--cream);
    overflow: hidden;
    padding: 120px 0 80px;
}

.pm-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.06;
    filter: blur(100px);
    animation: pm-float 20s ease-in-out infinite;
}

.pm-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border);
}

@keyframes pm-float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(5deg); }
    66% { transform: translate(-20px, 20px) rotate(-3deg); }
}

.pm-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.pm-hero-content {
    animation: pm-slideUp 0.8s ease-out;
}

@keyframes pm-slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.pm-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--white);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--secondary);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
    animation: pm-slideUp 0.8s ease-out 0.1s backwards;
}

.pm-hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--gradient-primary);
    border-radius: 50%;
    animation: pm-pulse 2s ease-in-out infinite;
}

@keyframes pm-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
}

.pm-hero h1 {
    font-size: var(--text-h1);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
    animation: pm-slideUp 0.8s ease-out 0.2s backwards;
}

.pm-hero h1 em {
    font-style: normal;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pm-hero-desc {
    font-size: var(--text-body-lg);
    color: var(--body-muted);
    max-width: 520px;
    margin-bottom: 32px;
    animation: pm-slideUp 0.8s ease-out 0.3s backwards;
}

.pm-hero-subhead {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 500;
    color: var(--body-muted);
    line-height: 1.4;
    margin: -8px 0 20px;
    max-width: 600px;
    animation: pm-slideUp 0.8s ease-out 0.25s backwards;
}

.pm-hero-breed .pm-hero-subhead,
.pm-hero-directory .pm-hero-subhead {
    color: rgba(255, 255, 255, 0.85);
}

/* In centered hero layouts, center the subhead under the H1 */
.pm-hero-inner-centered .pm-hero-subhead {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero-subhead {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 500;
    line-height: 1.4;
    margin: -4px 0 16px;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .pm-hero-subhead,
    .hero-subhead {
        font-size: 1rem;
        margin-bottom: 14px;
    }
}

.pm-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
    animation: pm-slideUp 0.8s ease-out 0.4s backwards;
}

/* ==========================================================================
   PM BUTTONS
   ========================================================================== */
.pm-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    background: var(--gradient-primary);
    color: #ffffff !important;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-glow);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.pm-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(232, 0, 103, 0.35);
    background: var(--gradient-hover);
    color: #ffffff !important;
}

.pm-btn-primary svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
    stroke: var(--white);
}

.pm-btn-primary:hover svg {
    transform: translateX(4px);
}

.pm-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    background: var(--white);
    color: var(--heading);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.pm-btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    color: var(--primary);
}

/* ==========================================================================
   PM HERO STATS
   ========================================================================== */
.pm-hero-stats {
    display: flex;
    gap: 48px;
    animation: pm-slideUp 0.8s ease-out 0.5s backwards;
}

.pm-stat {
    position: relative;
}

.pm-stat::after {
    content: '';
    position: absolute;
    right: -24px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: var(--border);
}

.pm-stat:last-child::after {
    display: none;
}

.pm-stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--heading);
    line-height: 1;
    margin-bottom: 4px;
}

.pm-stat-label {
    font-size: var(--text-body-xs);
    color: var(--body-muted);
    font-weight: 500;
}

/* ==========================================================================
   PM HERO VISUAL
   ========================================================================== */
.pm-hero-visual {
    position: relative;
    animation: pm-slideUp 0.8s ease-out 0.3s backwards;
}

.pm-hero-image-wrapper {
    position: relative;
}

.pm-hero-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    -webkit-mask-image:
        linear-gradient(to right, transparent, black 15%, black 85%, transparent),
        linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
    -webkit-mask-composite: source-in;
    mask-image:
        linear-gradient(to right, transparent, black 15%, black 85%, transparent),
        linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
    mask-composite: intersect;
}

.pm-hero-floating-card {
    position: absolute;
    bottom: -30px;
    left: -40px;
    background: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 16px;
    animation: pm-floatCard 3s ease-in-out infinite;
    z-index: 2;
}

@keyframes pm-floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.pm-floating-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.pm-floating-avatar svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
}

.pm-floating-text strong {
    display: block;
    font-size: var(--text-body-xs);
    color: var(--heading);
    margin-bottom: 2px;
}

.pm-floating-text span {
    font-size: var(--text-body-tiny);
    color: var(--body-muted);
}

.pm-hero-floating-badge {
    position: absolute;
    top: 30px;
    right: -20px;
    background: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: pm-floatCard 3s ease-in-out 0.5s infinite;
    z-index: 2;
}

.pm-badge-stars {
    color: #ffc107;
    font-size: 16px;
}

.pm-badge-text {
    font-size: var(--text-body-xs);
    font-weight: 600;
    color: var(--heading);
}

/* ==========================================================================
   PM TRUST BAR
   ========================================================================== */
.pm-trust-bar {
    background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
}

.pm-trust-inner {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 32px;
    flex-wrap: wrap;
}

.pm-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 24px 32px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    min-width: 180px;
    text-align: center;
}

.pm-trust-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.pm-trust-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(255, 88, 87, 0.1) 0%, rgba(232, 0, 103, 0.1) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pm-trust-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary);
    stroke-width: 2;
    fill: none;
}

.pm-trust-item span {
    font-size: var(--text-body-sm);
    font-weight: 600;
    color: var(--heading);
}

/* ==========================================================================
   PM VALUE PROPOSITION SECTION
   ========================================================================== */
.pm-value-section {
    padding: 120px 0;
    background: var(--white);
    position: relative;
}

.pm-section-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px;
}

.pm-section-eyebrow {
    display: inline-block;
    font-size: var(--text-body-tiny);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #c70058; /* Darkened from --secondary for WCAG 4.5:1 contrast on light backgrounds */
    margin-bottom: 16px;
}

.pm-section-title {
    margin-bottom: 20px;
}

.pm-section-desc {
    font-size: var(--text-body-lg);
    color: var(--body-muted);
}

.pm-value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.pm-value-card {
    position: relative;
    padding: 48px 36px;
    background: var(--light);
    border-radius: var(--radius-lg);
    transition: all 0.4s ease;
    overflow: hidden;
}

.pm-value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.pm-value-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
}

.pm-value-card:hover::before {
    transform: scaleX(1);
}

.pm-value-icon {
    width: 64px;
    height: 64px;
    background: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
}

.pm-value-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--primary);
    transition: stroke 0.3s ease;
}

.pm-value-card:hover .pm-value-icon {
    background: var(--gradient-primary);
    transform: rotate(-5deg) scale(1.1);
}

.pm-value-card:hover .pm-value-icon svg {
    stroke: var(--white);
}

.pm-value-card h3 {
    margin-bottom: 12px;
}

.pm-value-card p {
    color: var(--body-muted);
    font-size: var(--text-body-sm);
    margin: 0;
}

/* ==========================================================================
   PM PROCESS SECTION (How It Works)
   ========================================================================== */
.pm-process-section {
    padding: 120px 0;
    background: var(--heading);
    position: relative;
    overflow: hidden;
}

.pm-process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 100%;
    background: radial-gradient(ellipse at center top, rgba(232, 0, 103, 0.15) 0%, transparent 60%);
}

.pm-process-section .pm-section-header {
    position: relative;
    z-index: 1;
}

.pm-process-section .pm-section-eyebrow {
    color: var(--primary);
}

.pm-process-section .pm-section-title {
    color: var(--white);
}

.pm-process-section .pm-section-desc {
    color: rgba(255, 255, 255, 0.6);
}

.pm-process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

.pm-process-card {
    position: relative;
    padding: 48px 36px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.pm-process-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 88, 87, 0.3);
    transform: translateY(-8px);
}

.pm-process-number {
    position: absolute;
    top: -20px;
    left: 36px;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    box-shadow: var(--shadow-glow);
}

.pm-process-card h3,
.pm-landing .pm-process-card h3 {
    color: var(--white);
    margin-top: 16px;
    margin-bottom: 12px;
}

.pm-process-card p,
.pm-landing .pm-process-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-body-sm);
    margin: 0;
}

.pm-process-image {
    margin-top: 24px;
    opacity: 0.8;
    transition: opacity 0.4s ease;
}

.pm-process-card:hover .pm-process-image {
    opacity: 1;
}

.pm-process-image img {
    width: 100%;
    height: auto;
}

/* ==========================================================================
   PM FEATURES SECTION
   ========================================================================== */
.pm-features-section {
    padding: 120px 0;
    background: var(--cream);
}

.pm-feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
}

.pm-feature-row:last-child {
    margin-bottom: 0;
}

.pm-feature-row.pm-reverse {
    direction: rtl;
}

.pm-feature-row.pm-reverse > * {
    direction: ltr;
}

.pm-feature-content {
    max-width: 520px;
}

.pm-feature-content h2 {
    margin-bottom: 20px;
}

.pm-feature-content p {
    color: var(--body-muted);
    margin-bottom: 32px;
}

.pm-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}

.pm-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.pm-feature-list li:last-child {
    border-bottom: none;
}

.pm-check-icon {
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.pm-feature-list span {
    font-size: var(--text-body-sm);
    color: var(--body);
}

.pm-feature-visual {
    position: relative;
}

.pm-feature-image {
    display: block;
}

.pm-feature-image img {
    width: 100%;
    height: auto;
}

/* ==========================================================================
   PM TESTIMONIALS SECTION
   ========================================================================== */
.pm-testimonials-section {
    padding: 120px 0;
    background: var(--white);
}

.pm-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.pm-testimonial-card {
    padding: 40px;
    background: var(--light);
    border-radius: var(--radius-lg);
    transition: all 0.4s ease;
    position: relative;
}

.pm-testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-family: var(--font-display);
    font-size: 6rem;
    line-height: 1;
    color: var(--primary);
    opacity: 0.1;
}

.pm-testimonial-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
}

.pm-testimonial-stars {
    color: #ffc107;
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.pm-testimonial-text {
    font-size: var(--text-body);
    line-height: 1.8;
    color: var(--body);
    margin-bottom: 28px;
    font-style: italic;
}

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

.pm-author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.pm-author-avatar svg {
    width: 28px;
    height: 28px;
    stroke: var(--white);
}

.pm-author-info h4,
.pm-author-info strong {
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 4px;
    display: block;
}

.pm-author-info span {
    font-size: var(--text-body-xs);
    color: var(--body-muted);
}

/* ==========================================================================
   PM BREEDS SHOWCASE
   ========================================================================== */
.pm-breeds-section {
    padding: 100px 0;
    background: var(--light);
}

.pm-breeds-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.pm-breed-tag {
    padding: 14px 28px;
    background: var(--white);
    border-radius: var(--radius-full);
    font-size: var(--text-body-sm);
    font-weight: 500;
    color: var(--body);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    cursor: pointer;
}

.pm-breed-tag:hover {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

/* ==========================================================================
   PM CTA SECTION
   ========================================================================== */
.pm-cta-section {
    padding: 120px 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.pm-cta-section::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.pm-cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.pm-cta-section h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.pm-cta-section p {
    font-size: clamp(0.9375rem, 2.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 40px;
}

.pm-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 48px;
    background: var(--white);
    color: var(--secondary);
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 700;
    border-radius: var(--radius-full);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.pm-cta-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2);
    color: var(--secondary);
}

.pm-cta-btn svg {
    width: 20px;
    height: 20px;
    stroke: var(--secondary);
}

.pm-cta-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.pm-cta-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--text-body-sm);
    font-weight: 500;
}

.pm-cta-feature svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
}

/* ==========================================================================
   PM FAQ SECTION
   ========================================================================== */
.pm-faq-section {
    padding: 120px 0;
    background: var(--white);
}

.pm-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 48px;
    max-width: 1100px;
    margin: 0 auto;
}

.pm-faq-item {
    padding: 32px;
    background: var(--light);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.pm-faq-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.pm-faq-item h3,
.pm-faq-item h4 {
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 12px;
}

.pm-faq-item p {
    font-size: var(--text-body-sm);
    color: var(--body-muted);
    margin: 0;
    line-height: 1.7;
}

/* FAQ List Style (Vertical Cards with Left Border) */
.pm-faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.pm-faq-list .pm-faq-item {
    background: var(--light);
    border-radius: var(--radius-md);
    padding: var(--space-lg) var(--space-xl);
    border-left: 3px solid transparent;
    transition: all var(--transition-fast);
}

.pm-faq-list .pm-faq-item:hover {
    border-left-color: var(--primary);
    box-shadow: var(--shadow-sm);
    background: var(--light);
}

.pm-faq-list .pm-faq-item h3 {
    font-size: var(--text-body-lg);
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 var(--space-sm);
}

.pm-faq-list .pm-faq-item p {
    font-size: var(--text-body);
    color: var(--body);
    margin: 0;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .pm-faq-list .pm-faq-item {
        padding: var(--space-md) var(--space-lg);
    }
}

@media (max-width: 480px) {
    .pm-faq-list {
        gap: var(--space-md);
    }

    .pm-faq-list .pm-faq-item h3 {
        font-size: var(--text-body);
    }
}

/* ==========================================================================
   PM RESPONSIBLE BREEDING SECTION
   ========================================================================== */
.pm-responsible-section {
    padding: 100px 0;
    background: var(--cream);
    border-top: 1px solid var(--border);
}

.pm-responsible-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.pm-responsible-content h2 {
    margin-bottom: 20px;
}

.pm-responsible-content p {
    color: var(--body-muted);
    margin-bottom: 24px;
}

.pm-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pm-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: var(--text-body-sm);
    color: var(--body);
}

.pm-checklist-icon {
    color: var(--primary);
    font-weight: bold;
}

.pm-responsible-note {
    margin-top: 24px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
    font-size: var(--text-body-xs);
    font-style: italic;
    color: var(--body-muted);
}

.pm-responsible-image {
    display: block;
}

.pm-responsible-image img {
    width: 100%;
    height: auto;
}

/* ==========================================================================
   PM SEO SECTION (Bottom Text)
   ========================================================================== */
.pm-seo-section {
    padding: 60px 0;
    background: var(--light);
    border-top: 1px solid var(--border);
}

.pm-seo-text {
    text-align: center;
    font-size: var(--text-body-sm);
    color: var(--body-muted);
    margin: 0 auto;
    line-height: 1.8;
}

/* ==========================================================================
   PM LANDING PAGE RESPONSIVE STYLES
   ========================================================================== */
@media (max-width: 1024px) {
    .pm-hero-inner {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .pm-hero-content {
        order: 1;
    }

    .pm-hero-visual {
        order: 0;
    }

    .pm-hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .pm-hero-cta {
        justify-content: center;
    }

    .pm-hero-stats {
        justify-content: center;
    }

    .pm-hero-floating-card {
        left: 20px;
        bottom: -20px;
    }

    .pm-hero-floating-badge {
        right: 20px;
    }

    .pm-value-grid,
    .pm-process-grid,
    .pm-testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .pm-feature-row,
    .pm-feature-row.pm-reverse,
    .pm-responsible-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        direction: ltr;
    }

    /* Image before content on mobile */
    .pm-feature-row .pm-feature-visual,
    .pm-feature-row.pm-reverse .pm-feature-visual {
        order: -1;
    }

    .pm-feature-row .pm-feature-content,
    .pm-feature-row.pm-reverse .pm-feature-content {
        order: 1;
    }

    .pm-feature-content {
        max-width: none;
    }

    .pm-faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .pm-hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .pm-hero-stats {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }

    .pm-stat {
        text-align: center;
    }

    .pm-stat::after {
        display: none;
    }

    .pm-stat-number {
        font-size: 1.75rem;
    }

    .pm-stat-label {
        font-size: 0.75rem;
    }

    .pm-trust-inner {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .pm-trust-item {
        flex: 1 1 calc(50% - 16px);
        min-width: 140px;
        max-width: 180px;
        padding: 20px 16px;
    }

    .pm-trust-icon {
        width: 48px;
        height: 48px;
    }

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

    .pm-btn-primary,
    .pm-btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .pm-hero-floating-card,
    .pm-hero-floating-badge {
        display: none;
    }

    .pm-cta-features {
        flex-direction: column;
        gap: 16px;
    }

    .pm-value-section,
    .pm-process-section,
    .pm-features-section,
    .pm-testimonials-section,
    .pm-faq-section {
        padding: 80px 0;
    }

    .pm-section-header {
        margin-bottom: 48px;
    }
}

@media (max-width: 480px) {
    .pm-container {
        width: 85%;
    }

    .pm-hero-stats {
        gap: 12px;
    }

    .pm-stat-number {
        font-size: 1.5rem;
    }

    .pm-stat-label {
        font-size: 0.6875rem;
    }

    .pm-value-card,
    .pm-process-card,
    .pm-testimonial-card,
    .pm-faq-item {
        padding: 32px 24px;
    }
}

/* ==========================================================================
   PRICING PAGE STYLES
   ========================================================================== */

/* Pricing Hero */
.pm-pricing-hero {
    position: relative;
    padding: 140px 0 80px;
    background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%);
    text-align: center;
    overflow: hidden;
}

.pm-pricing-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto var(--space-xl);
}

.pm-pricing-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--heading);
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

.pm-pricing-hero h1 em {
    font-style: normal;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pm-pricing-hero-desc {
    font-size: var(--text-body-lg);
    color: var(--body);
    line-height: 1.7;
}

/* Decorative Elements */
.pm-pricing-decoration {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.pm-deco-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 88, 87, 0.08) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

.pm-deco-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(232, 0, 103, 0.06) 0%, transparent 70%);
    bottom: -50px;
    left: -50px;
}

/* Billing Toggle - Button Style */
.pm-billing-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: var(--light);
    padding: 4px;
    border-radius: var(--radius-full);
    position: relative;
    z-index: 2;
}

.pm-toggle-btn {
    font-family: var(--font-body);
    font-size: var(--text-body-sm);
    font-weight: 500;
    color: var(--body-muted);
    background: transparent;
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pm-toggle-btn:hover {
    color: var(--heading);
}

.pm-toggle-btn.active {
    background: var(--white);
    color: var(--heading);
    box-shadow: var(--shadow-sm);
}

.pm-toggle-badge {
    background: var(--light);
    color: var(--body-muted);
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: var(--radius-full);
    letter-spacing: 0.3px;
    transition: all var(--transition-base);
}

.pm-toggle-btn.active .pm-toggle-badge {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

/* Pricing Section */
.pm-pricing-section {
    padding: 0 0 var(--section-padding);
    margin-top: -40px;
    position: relative;
    z-index: 3;
}

/* Pricing Grid */
.pm-pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
    align-items: start;
}

/* Pricing Card Base */
.pm-pricing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.pm-pricing-card:hover {
    transform: translateY(-4px);
}

/* Free Card */
.pm-pricing-free {
    border: 2px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.pm-pricing-free:hover {
    box-shadow: var(--shadow-md);
}

/* Premium Card */
.pm-pricing-premium {
    background: var(--white);
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-lg);
}

.pm-pricing-premium:hover {
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border-color: var(--secondary);
}

/* Popular Badge */
.pm-popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 6px 20px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-cta);
    letter-spacing: 0.5px;
}

/* Card Header */
.pm-pricing-card-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.pm-plan-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-md);
    background: var(--light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pm-plan-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--body);
}

.pm-pricing-premium .pm-plan-icon {
    background: linear-gradient(135deg, rgba(255, 88, 87, 0.1) 0%, rgba(232, 0, 103, 0.1) 100%);
}

.pm-pricing-premium .pm-plan-icon svg {
    stroke: var(--primary);
}

.pm-plan-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 4px;
}

.pm-plan-tagline {
    font-size: var(--text-body-sm);
    color: var(--body-muted);
    margin: 0;
}

/* Card Price */
.pm-pricing-card-price {
    text-align: center;
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: var(--space-lg);
}

.pm-price-amount {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--heading);
    line-height: 1;
}

.pm-price-period {
    font-size: var(--text-body);
    color: var(--body-muted);
    font-weight: 500;
}

.pm-price-billed {
    display: block;
    font-size: var(--text-body-xs);
    color: var(--body-muted);
    margin-top: 4px;
}

.pm-price-monthly,
.pm-price-annual {
    display: none;
}

.pm-price-annual {
    display: block;
}

/* Features List */
.pm-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pm-feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: var(--text-body-sm);
    color: var(--body);
    line-height: 1.4;
    min-height: 48px;
    margin: 0;
}

.pm-feature-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pm-icon-check {
    background: rgba(34, 197, 94, 0.1);
}

.pm-icon-check svg {
    width: 12px;
    height: 12px;
    stroke: #22c55e;
}

.pm-icon-limited {
    background: rgba(251, 191, 36, 0.1);
}

.pm-icon-limited svg {
    width: 14px;
    height: 14px;
    stroke: #f59e0b;
}

.pm-icon-x {
    background: rgba(239, 68, 68, 0.1);
}

.pm-icon-x svg {
    width: 12px;
    height: 12px;
    stroke: #ef4444;
}

.pm-feature-excluded {
    opacity: 0.5;
}

.pm-feature-highlight {
    position: relative;
}

.pm-feature-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -40px;
    right: -40px;
    background: linear-gradient(90deg, rgba(34, 197, 94, 0.06) 0%, transparent 100%);
    z-index: -1;
}

/* Card CTA */
.pm-pricing-card-cta {
    margin-top: var(--space-lg);
}

.pm-pricing-card-cta .pm-btn-primary,
.pm-pricing-card-cta .pm-btn-outline {
    width: 100%;
    justify-content: center;
}

.pm-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: var(--text-body);
    font-weight: 600;
    color: var(--heading);
    background: transparent;
    border: 2px solid var(--border);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

.pm-btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(255, 88, 87, 0.05);
}

.pm-btn-glow {
    box-shadow: var(--shadow-cta);
}

.pm-btn-glow:hover {
    box-shadow: var(--shadow-glow);
}

.pm-guarantee {
    text-align: center;
    font-size: var(--text-body-xs);
    color: var(--body-muted);
    margin: var(--space-md) 0 0;
}

/* Comparison Section */
.pm-comparison-section {
    padding: var(--section-padding) 0;
    background: var(--light);
}

.pm-comparison-table-wrapper {
    max-width: 800px;
    margin: 0 auto;
    overflow-x: auto;
}

.pm-comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.pm-comparison-table th,
.pm-comparison-table td {
    padding: 20px 24px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.pm-comparison-table th {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--text-body);
    color: var(--heading);
    background: var(--light);
}

.pm-comparison-table th.pm-feature-col {
    text-align: left;
    width: 40%;
}

.pm-comparison-table th.pm-plan-premium {
    background: linear-gradient(135deg, rgba(255, 88, 87, 0.1) 0%, rgba(232, 0, 103, 0.1) 100%);
    color: var(--primary);
}

.pm-comparison-table td {
    font-size: var(--text-body-sm);
    color: var(--body);
}

.pm-comparison-table td.pm-feature-name {
    text-align: left;
    font-weight: 500;
    color: var(--heading);
}

.pm-comparison-table tr:last-child td {
    border-bottom: none;
}

.pm-comparison-table tr:hover td {
    background: rgba(248, 247, 252, 0.5);
}

.pm-check-icon,
.pm-x-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.pm-check-icon {
    background: rgba(34, 197, 94, 0.1);
}

.pm-check-icon svg {
    width: 14px;
    height: 14px;
    stroke: #22c55e;
}

.pm-x-icon {
    background: rgba(239, 68, 68, 0.1);
}

.pm-x-icon svg {
    width: 12px;
    height: 12px;
    stroke: #ef4444;
}

/* Pricing FAQ */
.pm-pricing-faq {
    padding: var(--section-padding) 0;
}

.pm-pricing-faq .pm-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.pm-pricing-faq .pm-faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px 32px;
}

.pm-pricing-faq .pm-faq-item h4 {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 12px;
}

.pm-pricing-faq .pm-faq-item p {
    font-size: var(--text-body-sm);
    color: var(--body);
    line-height: 1.7;
    margin: 0;
}

/* Pricing CTA */
.pm-pricing-cta {
    padding: var(--section-padding) 0;
    background: var(--heading);
    text-align: center;
}

.pm-pricing-cta .pm-cta-inner {
    max-width: 600px;
    margin: 0 auto;
}

.pm-pricing-cta h2,
.pm-landing .pm-pricing-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-md);
}

.pm-pricing-cta p {
    font-size: var(--text-body-lg);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-xl);
}

.pm-pricing-cta .pm-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    font-family: var(--font-body);
    font-size: var(--text-body);
    font-weight: 600;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-cta);
}

.pm-pricing-cta .pm-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.pm-pricing-cta .pm-btn-primary svg {
    width: 20px;
    height: 20px;
    stroke: var(--white);
}

/* Ensure CTA is the last element with no gap to footer */
.pm-pricing-cta:last-child,
.pm-about-cta:last-child,
.pm-stud-cta:last-child {
    margin-bottom: 0;
}

/* Pricing Page Responsive */
@media (max-width: 768px) {
    .pm-pricing-hero {
        padding: 120px 0 60px;
    }

    .pm-pricing-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 400px;
    }

    .pm-pricing-card {
        padding: 32px 24px;
    }

    .pm-pricing-premium {
        order: -1;
    }

    .pm-comparison-table th,
    .pm-comparison-table td {
        padding: 16px 12px;
        font-size: var(--text-body-xs);
    }

    .pm-pricing-faq .pm-faq-grid {
        grid-template-columns: 1fr;
    }

    .pm-toggle-btn {
        padding: 10px 16px;
        font-size: var(--text-body-xs);
    }

    .pm-toggle-badge {
        font-size: 0.625rem;
        padding: 3px 6px;
    }

    .pm-feature-highlight::before {
        left: -24px;
        right: -24px;
    }
}

@media (max-width: 480px) {
    .pm-pricing-hero h1 {
        font-size: 1.875rem;
    }

    .pm-price-amount {
        font-size: 2.5rem;
    }

    .pm-popular-badge {
        font-size: 0.75rem;
        padding: 5px 16px;
    }
}

/* ==========================================================================
   LEGAL PAGES STYLES
   ========================================================================== */

/* Legal Page Hero */
.pm-legal-hero {
    padding: 140px 0 60px;
    background: var(--light);
    text-align: center;
}

.pm-legal-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--heading);
    margin-bottom: var(--space-sm);
}

.pm-legal-updated {
    font-size: var(--text-body-sm);
    color: var(--body-muted);
}

/* Legal Content */
.pm-legal-content {
    padding: var(--section-padding) 0;
}

.pm-legal-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.pm-legal-intro {
    font-size: var(--text-body-lg);
    color: var(--body);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--border);
}

.pm-legal-intro p {
    margin-bottom: var(--space-md);
}

.pm-legal-section {
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--border);
}

.pm-legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.pm-legal-section h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: var(--space-md);
}

.pm-legal-section h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--heading);
    margin: var(--space-lg) 0 var(--space-sm);
}

.pm-legal-section p {
    font-size: var(--text-body);
    color: var(--body);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.pm-legal-section ul {
    margin: 0 0 var(--space-md);
    padding-left: var(--space-lg);
}

.pm-legal-section li {
    font-size: var(--text-body);
    color: var(--body);
    line-height: 1.8;
    margin-bottom: var(--space-xs);
}

.pm-legal-section a {
    color: var(--primary);
    text-decoration: underline;
}

.pm-legal-section a:hover {
    color: var(--secondary);
}

.pm-legal-contact {
    background: var(--light);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    margin-top: var(--space-md);
}

.pm-legal-contact p {
    margin-bottom: var(--space-xs);
}

.pm-legal-contact p:last-child {
    margin-bottom: 0;
}

/* Cookie Table */
.pm-cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-md) 0;
    font-size: var(--text-body-sm);
}

.pm-cookie-table th,
.pm-cookie-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.pm-cookie-table th {
    background: var(--light);
    font-weight: 600;
    color: var(--heading);
}

.pm-cookie-table td {
    color: var(--body);
}

.pm-cookie-table tr:last-child td {
    border-bottom: none;
}

/* Legal Pages Responsive */
@media (max-width: 768px) {
    .pm-legal-hero {
        padding: 120px 0 40px;
    }

    .pm-legal-wrapper {
        padding: 0 var(--space-sm);
    }

    .pm-cookie-table {
        font-size: var(--text-body-xs);
    }

    .pm-cookie-table th,
    .pm-cookie-table td {
        padding: 10px 12px;
    }
}

/* ==========================================================================
   RESOURCE PAGES - Breeding Guide & Health Testing
   Premium editorial design for shareable, informative content
   ========================================================================== */

/* Resource Hero Section */
.pm-resource-hero {
    position: relative;
    padding: 160px 0 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1625 0%, #2d2438 50%, #1e2a3a 100%);
}

.pm-resource-hero-health {
    background: linear-gradient(135deg, #162322 0%, #1e3a38 50%, #1a2e3a 100%);
}

.pm-resource-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.pm-resource-hero .pm-hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(255, 88, 87, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(46, 163, 242, 0.06) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.pm-resource-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.pm-resource-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 88, 87, 0.15);
    border: 1px solid rgba(255, 88, 87, 0.3);
    border-radius: var(--radius-full);
    color: #ff8a89;
    font-size: var(--text-body-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: var(--space-lg);
}

.pm-resource-hero h1,
.pm-resource-hero h2,
.pm-resource-hero h3 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 700;
    color: var(--white) !important;
    margin-bottom: var(--space-lg);
    line-height: 1.15;
}

.pm-resource-lead {
    font-size: var(--text-body-lg);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-xl);
}

.pm-resource-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.pm-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-body-sm);
}

.pm-meta-item svg {
    opacity: 0.7;
}

/* Table of Contents */
.pm-resource-toc {
    padding: var(--space-2xl) 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 70px;
    z-index: 100;
}

.pm-toc-wrapper {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.pm-toc-title {
    font-size: var(--text-body-sm);
    font-weight: 600;
    color: var(--body-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    white-space: nowrap;
}

.pm-toc-nav {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    flex: 1;
}

.pm-toc-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--light);
    border-radius: var(--radius-sm);
    color: var(--body);
    font-size: var(--text-body-sm);
    font-weight: 500;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.pm-toc-link:hover {
    background: var(--primary);
    color: var(--white);
}

.pm-toc-number {
    font-weight: 700;
    font-size: var(--text-body-xs);
    color: var(--primary);
    transition: color var(--transition-fast);
}

.pm-toc-link:hover .pm-toc-number {
    color: var(--white);
}

.pm-toc-text {
    display: inline;
}

/* On very small screens, hide text and show only numbers */
@media (max-width: 480px) {
    .pm-toc-text {
        display: none;
    }

    .pm-toc-link {
        padding: 10px 14px;
    }
}

/* Resource Content Area */
.pm-resource-content {
    padding: var(--space-3xl) 0;
    background: var(--white);
}

.pm-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.pm-content-section {
    margin-bottom: var(--space-3xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid var(--border);
}

.pm-content-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.pm-content-section .pm-section-header {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    text-align: left;
}

.pm-section-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: var(--white);
    font-weight: 700;
    font-size: var(--text-body-sm);
    flex-shrink: 0;
}

.pm-content-section .pm-section-header h2 {
    font-size: var(--text-h2);
    color: var(--heading);
    margin: 0;
    padding-top: 4px;
    text-align: left;
}

.pm-lead-text {
    font-size: var(--text-body-lg);
    line-height: 1.8;
    color: var(--body);
    margin-bottom: var(--space-xl);
    padding-left: var(--space-lg);
    border-left: 3px solid var(--primary);
}

/* Content Typography */
.pm-content-section h3 {
    font-size: var(--text-h3);
    color: var(--heading);
    margin: var(--space-xl) 0 var(--space-md);
}

.pm-content-section h4 {
    font-size: var(--text-h4);
    color: var(--heading);
    margin: var(--space-lg) 0 var(--space-sm);
}

.pm-content-section h5 {
    font-size: var(--text-body);
    font-weight: 600;
    color: var(--heading);
    margin: var(--space-md) 0 var(--space-xs);
}

.pm-content-section p {
    font-size: var(--text-body);
    line-height: 1.8;
    color: var(--body);
    margin-bottom: var(--space-md);
}

.pm-content-section ul,
.pm-content-section ol {
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
}

.pm-content-section li {
    margin-bottom: var(--space-xs);
    line-height: 1.7;
}

/* Principle Cards */
.pm-principle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-md);
    margin: var(--space-xl) 0;
}

.pm-principle-card {
    background: var(--light);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    transition: all var(--transition-base);
}

.pm-principle-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.pm-principle-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
    color: var(--primary);
}

.pm-principle-card h3 {
    font-size: var(--text-body);
    font-weight: 700;
    margin: 0 0 var(--space-xs);
}

.pm-principle-card p {
    font-size: var(--text-body-sm);
    color: var(--body-muted);
    margin: 0;
    line-height: 1.6;
}

/* Callout Boxes */
.pm-callout {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    margin: var(--space-xl) 0;
}

.pm-callout-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.pm-callout-content h4 {
    font-size: var(--text-body);
    font-weight: 700;
    margin: 0 0 var(--space-xs);
}

.pm-callout-content p,
.pm-callout-content ul {
    font-size: var(--text-body-sm);
    margin: 0;
    line-height: 1.7;
}

.pm-callout-content ul {
    padding-left: var(--space-md);
    margin-top: var(--space-sm);
}

.pm-callout-content li {
    margin-bottom: 4px;
}

.pm-callout-warning {
    background: linear-gradient(135deg, #fef3cd 0%, #fff8e6 100%);
    border-left: 4px solid #f0ad4e;
}

.pm-callout-warning .pm-callout-icon {
    background: rgba(240, 173, 78, 0.2);
    color: #c68c00;
}

.pm-callout-warning h4 {
    color: #856404;
}

.pm-callout-info {
    background: linear-gradient(135deg, #d1ecf1 0%, #e8f6f8 100%);
    border-left: 4px solid var(--accent);
}

.pm-callout-info .pm-callout-icon {
    background: rgba(46, 163, 242, 0.2);
    color: var(--accent);
}

.pm-callout-info h4 {
    color: #0c5460;
}

.pm-callout-tip {
    background: linear-gradient(135deg, #d4edda 0%, #e8f5ea 100%);
    border-left: 4px solid #28a745;
}

.pm-callout-tip .pm-callout-icon {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.pm-callout-tip h4 {
    color: #155724;
}

.pm-callout-emergency {
    background: linear-gradient(135deg, #f8d7da 0%, #fce4e6 100%);
    border-left: 4px solid #dc3545;
}

.pm-callout-emergency .pm-callout-icon {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

.pm-callout-emergency h4 {
    color: #721c24;
}

/* Timeline Component */
.pm-cycle-timeline {
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin: var(--space-xl) 0;
}

.pm-cycle-timeline.pm-cycle-cat {
    background: linear-gradient(135deg, #f8f7fc 0%, #fdf8f6 100%);
}

.pm-timeline-title {
    font-size: var(--text-h4);
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 var(--space-lg);
    text-align: center;
}

.pm-timeline {
    position: relative;
    padding-left: 40px;
}

.pm-timeline::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    border-radius: 2px;
}

.pm-timeline-item {
    position: relative;
    padding-bottom: var(--space-lg);
}

.pm-timeline-item:last-child {
    padding-bottom: 0;
}

.pm-timeline-marker {
    position: absolute;
    left: -40px;
    top: 0;
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: var(--text-body-sm);
    box-shadow: 0 4px 12px rgba(255, 88, 87, 0.3);
}

.pm-timeline-content {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    box-shadow: var(--shadow-sm);
}

.pm-timeline-content h5 {
    font-size: var(--text-body);
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 4px;
}

.pm-timeline-duration {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 88, 87, 0.1);
    border-radius: var(--radius-full);
    color: var(--primary);
    font-size: var(--text-body-xs);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.pm-timeline-content p {
    font-size: var(--text-body-sm);
    color: var(--body);
    margin: 0;
    line-height: 1.6;
}

/* Info Cards */
.pm-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

.pm-info-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    transition: all var(--transition-base);
}

.pm-info-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.pm-info-card h4 {
    font-size: var(--text-body);
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 var(--space-sm);
}

.pm-info-card p {
    font-size: var(--text-body-sm);
    color: var(--body);
    margin: 0;
    line-height: 1.6;
}

/* Data Tables */
.pm-data-table-wrapper {
    overflow-x: auto;
    margin: var(--space-lg) 0;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.pm-data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
}

.pm-data-table th,
.pm-data-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.pm-data-table th {
    background: var(--light);
    font-weight: 600;
    font-size: var(--text-body-sm);
    color: var(--heading);
}

.pm-data-table td {
    font-size: var(--text-body-sm);
    color: var(--body);
}

.pm-data-table tr:last-child td {
    border-bottom: none;
}

.pm-data-table tbody tr:hover {
    background: rgba(255, 88, 87, 0.03);
}

/* Comparison Grid */
.pm-comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
    margin: var(--space-xl) 0;
}

.pm-comparison-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: center;
    transition: all var(--transition-base);
}

.pm-comparison-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.pm-comparison-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    border-radius: 50%;
    color: var(--primary);
}

.pm-comparison-icon.cat {
    background: linear-gradient(135deg, #f8f0ff 0%, #fff0f8 100%);
    color: var(--secondary);
}

.pm-comparison-item h4 {
    font-size: var(--text-body);
    font-weight: 700;
    margin: 0 0 var(--space-xs);
}

.pm-comparison-item p {
    font-size: var(--text-body-sm);
    color: var(--body-muted);
    margin: 0;
    line-height: 1.6;
}

/* Checklist Grid */
.pm-checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    margin: var(--space-xl) 0;
}

.pm-checklist-card {
    background: var(--light);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
}

.pm-checklist-card h4 {
    font-size: var(--text-body);
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--primary);
}

.pm-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pm-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: var(--text-body-sm);
    color: var(--body);
}

.pm-checklist li svg {
    flex-shrink: 0;
    color: #28a745;
    margin-top: 2px;
}

/* Question List */
.pm-question-list {
    margin: var(--space-xl) 0;
}

.pm-question-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--light);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    transition: all var(--transition-fast);
}

.pm-question-item:hover {
    background: var(--cream);
}

.pm-question-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: 50%;
    color: var(--primary);
    font-weight: 700;
    font-size: var(--text-body-sm);
}

.pm-question-item p {
    margin: 0;
    font-size: var(--text-body);
    color: var(--body);
    line-height: 1.6;
    padding-top: 4px;
}

/* Prep Timeline */
.pm-prep-timeline {
    margin: var(--space-xl) 0;
}

.pm-prep-item {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border);
}

.pm-prep-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.pm-prep-time {
    flex-shrink: 0;
    width: 140px;
    font-size: var(--text-body-sm);
    font-weight: 700;
    color: var(--primary);
    padding-top: 4px;
}

.pm-prep-content {
    flex: 1;
}

.pm-prep-content h4 {
    font-size: var(--text-body);
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 var(--space-sm);
}

.pm-prep-content ul {
    margin: 0;
    padding-left: var(--space-md);
}

.pm-prep-content li {
    font-size: var(--text-body-sm);
    margin-bottom: 6px;
}

/* Document Grid */
.pm-doc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-sm);
    margin: var(--space-lg) 0;
}

.pm-doc-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: var(--space-sm) var(--space-md);
    background: var(--light);
    border-radius: var(--radius-sm);
    font-size: var(--text-body-sm);
    color: var(--body);
}

.pm-doc-item svg {
    color: var(--primary);
    flex-shrink: 0;
}

/* Pregnancy Cards */
.pm-pregnancy-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
}

.pm-pregnancy-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.pm-pregnancy-header {
    padding: var(--space-lg);
    text-align: center;
}

.pm-pregnancy-card.dog .pm-pregnancy-header {
    background: linear-gradient(135deg, #ff5857 0%, #e80067 100%);
    color: var(--white);
}

.pm-pregnancy-card.cat .pm-pregnancy-header {
    background: linear-gradient(135deg, #2ea3f2 0%, #6366f1 100%);
    color: var(--white);
}

.pm-pregnancy-header svg {
    margin-bottom: var(--space-sm);
    opacity: 0.9;
}

.pm-pregnancy-header h3 {
    font-size: var(--text-h4);
    margin: 0 0 4px;
    color: inherit;
}

.pm-duration {
    font-size: var(--text-body-sm);
    opacity: 0.9;
}

.pm-pregnancy-content {
    padding: var(--space-lg);
}

.pm-pregnancy-content h4 {
    font-size: var(--text-body);
    font-weight: 700;
    color: var(--heading);
    margin: var(--space-md) 0 var(--space-sm);
}

.pm-pregnancy-content h4:first-child {
    margin-top: 0;
}

.pm-pregnancy-content ul {
    margin: 0;
    padding-left: var(--space-md);
}

.pm-pregnancy-content li {
    font-size: var(--text-body-sm);
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Supplies Grid */
.pm-supplies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-sm);
    margin: var(--space-lg) 0;
}

.pm-supply-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: var(--space-md);
    background: var(--light);
    border-radius: var(--radius-md);
}

.pm-supply-icon {
    font-size: 1.5rem;
}

.pm-supply-item p {
    margin: 0;
    font-size: var(--text-body-sm);
    color: var(--body);
}

/* Resource CTA */
.pm-resource-cta {
    background: linear-gradient(135deg, #1a1625 0%, #2d2438 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl) var(--space-xl);
    margin-top: var(--space-3xl);
    text-align: center;
}

.pm-resource-cta h2,
.pm-resource-cta h3 {
    color: var(--white) !important;
    margin-bottom: var(--space-sm);
}

.pm-resource-cta p {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-body-lg);
    margin-bottom: var(--space-lg);
}

.pm-resource-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
}

.pm-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--text-body);
    text-decoration: none !important;
    transition: all var(--transition-base);
}

.pm-btn-primary {
    background: var(--gradient-primary);
    color: var(--white) !important;
    box-shadow: var(--shadow-cta);
}

.pm-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 88, 87, 0.45);
    color: var(--white) !important;
}

/* Secondary button on dark backgrounds - scope to dark sections only */
.pm-cta .pm-btn-secondary,
.pm-section-dark .pm-btn-secondary,
.pm-resource-cta .pm-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pm-cta .pm-btn-secondary:hover,
.pm-section-dark .pm-btn-secondary:hover,
.pm-resource-cta .pm-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white) !important;
}

/* Health Testing Specific Styles */
.pm-stat-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
    margin: var(--space-xl) 0;
}

.pm-stat-showcase .pm-stat-item {
    background: linear-gradient(135deg, var(--light) 0%, var(--cream) 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
}

.pm-stat-showcase .pm-stat-number {
    display: block;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: var(--space-xs);
}

.pm-stat-showcase .pm-stat-label {
    font-size: var(--text-body-sm);
    color: var(--body-muted);
    line-height: 1.5;
}

/* Purpose Grid */
.pm-purpose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-md);
    margin: var(--space-xl) 0;
}

.pm-purpose-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--transition-base);
}

.pm-purpose-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.pm-purpose-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 88, 87, 0.1) 0%, rgba(232, 0, 103, 0.1) 100%);
    border-radius: 50%;
    color: var(--primary);
}

.pm-purpose-card h4 {
    font-size: var(--text-body);
    font-weight: 700;
    margin: 0 0 var(--space-sm);
}

.pm-purpose-card p {
    font-size: var(--text-body-sm);
    color: var(--body-muted);
    margin: 0;
    line-height: 1.6;
}

/* Test Categories */
.pm-test-category {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin: var(--space-xl) 0;
    overflow: hidden;
}

.pm-test-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: var(--light);
    border-bottom: 1px solid var(--border);
}

.pm-test-header h4 {
    font-size: var(--text-h4);
    margin: 0;
}

.pm-test-badge {
    padding: 6px 14px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: var(--text-body-xs);
    font-weight: 600;
}

.pm-test-content {
    padding: var(--space-lg);
}

.pm-test-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
    margin: var(--space-lg) 0;
    padding: var(--space-md);
    background: var(--light);
    border-radius: var(--radius-md);
}

.pm-test-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pm-test-detail strong {
    font-size: var(--text-body-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--body-muted);
}

.pm-test-detail span {
    font-size: var(--text-body-sm);
    color: var(--body);
}

/* Grade Table */
.pm-grade-table {
    margin: var(--space-lg) 0;
}

.pm-grade-row {
    display: flex;
    align-items: center;
    padding: 12px var(--space-md);
    border-radius: var(--radius-sm);
    margin-bottom: 4px;
}

.pm-grade-name {
    flex-shrink: 0;
    width: 160px;
    font-weight: 600;
    font-size: var(--text-body-sm);
}

.pm-grade-desc {
    font-size: var(--text-body-sm);
    color: var(--body);
}

.pm-grade-pass {
    background: rgba(40, 167, 69, 0.1);
}

.pm-grade-pass .pm-grade-name {
    color: #155724;
}

.pm-grade-borderline {
    background: rgba(255, 193, 7, 0.15);
}

.pm-grade-borderline .pm-grade-name {
    color: #856404;
}

.pm-grade-fail {
    background: rgba(220, 53, 69, 0.1);
}

.pm-grade-fail .pm-grade-name {
    color: #721c24;
}

/* Cardiac Levels */
.pm-cardiac-levels {
    display: grid;
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

.pm-cardiac-level {
    background: var(--light);
    border-radius: var(--radius-md);
    padding: var(--space-md);
}

.pm-cardiac-level h5 {
    font-size: var(--text-body);
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 var(--space-xs);
}

.pm-cardiac-level p {
    font-size: var(--text-body-sm);
    color: var(--body);
    margin: 0;
}

/* Breed Tests */
.pm-breed-tests {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    margin: var(--space-xl) 0;
}

.pm-breed-test-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    transition: all var(--transition-base);
}

.pm-breed-test-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.pm-breed-test-card h4 {
    font-size: var(--text-body);
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--primary);
}

.pm-breed-tests-cat .pm-breed-test-card h4 {
    border-bottom-color: var(--accent);
}

.pm-breed-test-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pm-breed-test-card li {
    font-size: var(--text-body-sm);
    color: var(--body);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.pm-breed-test-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

.pm-breed-tests-cat .pm-breed-test-card li::before {
    background: var(--accent);
}

/* Disease Cards */
.pm-disease-cards {
    display: grid;
    gap: var(--space-md);
    margin: var(--space-xl) 0;
}

.pm-disease-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
}

.pm-disease-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.pm-disease-header h4 {
    margin: 0;
    font-size: var(--text-body);
    font-weight: 700;
}

.pm-disease-critical {
    padding: 4px 12px;
    background: rgba(220, 53, 69, 0.1);
    border-radius: var(--radius-full);
    color: #dc3545;
    font-size: var(--text-body-xs);
    font-weight: 600;
}

.pm-disease-card p {
    font-size: var(--text-body-sm);
    margin-bottom: var(--space-sm);
}

.pm-disease-action {
    padding: var(--space-sm);
    background: var(--light);
    border-radius: var(--radius-sm);
    font-size: var(--text-body-sm);
}

/* Condition List */
.pm-condition-list {
    margin: var(--space-md) 0;
    padding-left: var(--space-lg);
}

.pm-condition-list li {
    margin-bottom: var(--space-sm);
}

/* Blood Type */
.pm-blood-type-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

.pm-blood-type-card {
    background: var(--light);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    text-align: center;
}

.pm-blood-type-card h4 {
    font-size: var(--text-h4);
    color: var(--primary);
    margin: 0 0 var(--space-xs);
}

.pm-blood-type-card p {
    font-size: var(--text-body-sm);
    color: var(--body);
    margin: 0;
}

/* Inheritance */
.pm-inheritance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    margin: var(--space-xl) 0;
}

.pm-inheritance-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
}

.pm-inheritance-card h4 {
    font-size: var(--text-body);
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 var(--space-sm);
}

.pm-inheritance-desc {
    font-size: var(--text-body-sm);
    color: var(--body);
    margin-bottom: var(--space-md);
}

.pm-inheritance-example {
    padding: var(--space-sm);
    background: var(--light);
    border-radius: var(--radius-sm);
    font-size: var(--text-body-sm);
}

.pm-inheritance-visual {
    margin: var(--space-md) 0;
}

.pm-inheritance-note {
    font-size: var(--text-body-sm);
    font-weight: 600;
    color: var(--body-muted);
    margin: 0;
    text-align: center;
}

/* Punnett Square */
.pm-punnett {
    display: grid;
    grid-template-columns: auto 1fr 1fr;
    gap: 4px;
    margin-bottom: var(--space-sm);
}

.pm-punnett-header,
.pm-punnett-row {
    display: contents;
}

.pm-punnett-header span,
.pm-punnett-row span {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    font-size: var(--text-body-sm);
    font-weight: 600;
    border-radius: 4px;
}

.pm-punnett-header span {
    background: var(--light);
    color: var(--heading);
}

.pm-punnett-row span:first-child {
    background: var(--light);
    color: var(--heading);
}

.pm-clear {
    background: rgba(40, 167, 69, 0.15) !important;
    color: #155724 !important;
}

.pm-carrier {
    background: rgba(255, 193, 7, 0.2) !important;
    color: #856404 !important;
}

.pm-affected {
    background: rgba(220, 53, 69, 0.15) !important;
    color: #721c24 !important;
}

.pm-punnett-legend {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
}

.pm-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-body-xs);
    color: var(--body-muted);
}

.pm-legend-item span:first-child {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

/* Breeding Matrix */
.pm-breeding-matrix {
    margin: var(--space-xl) 0;
    overflow-x: auto;
}

.pm-matrix-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.pm-matrix-table th,
.pm-matrix-table td {
    padding: 14px 16px;
    text-align: center;
    border: 1px solid var(--border);
    font-size: var(--text-body-sm);
}

.pm-matrix-table th {
    background: var(--light);
    font-weight: 600;
}

.pm-matrix-table td:first-child {
    background: var(--light);
    font-weight: 600;
    text-align: left;
}

.pm-safe {
    background: rgba(40, 167, 69, 0.1);
}

.pm-caution {
    background: rgba(255, 193, 7, 0.15);
}

.pm-risky {
    background: rgba(255, 152, 0, 0.15);
}

.pm-avoid {
    background: rgba(220, 53, 69, 0.1);
}

.pm-matrix-legend {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-top: var(--space-md);
    justify-content: center;
}

.pm-matrix-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: var(--text-body-xs);
    font-weight: 500;
}

.pm-matrix-item.pm-safe {
    color: #155724;
}

.pm-matrix-item.pm-caution {
    color: #856404;
}

.pm-matrix-item.pm-risky {
    color: #7c4500;
}

.pm-matrix-item.pm-avoid {
    color: #721c24;
}

/* Provider Grid */
.pm-provider-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    margin: var(--space-xl) 0;
}

.pm-provider-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    transition: all var(--transition-base);
}

.pm-provider-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.pm-provider-card h4 {
    font-size: var(--text-body);
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 var(--space-sm);
}

.pm-provider-card p {
    font-size: var(--text-body-sm);
    color: var(--body);
    margin-bottom: var(--space-sm);
}

.pm-provider-link {
    display: inline-block;
    font-size: var(--text-body-sm);
    font-weight: 600;
    color: var(--primary);
}

.pm-provider-link:hover {
    color: var(--secondary);
}

/* Terminology Grid */
.pm-terminology-grid {
    display: grid;
    gap: var(--space-md);
    margin: var(--space-xl) 0;
}

.pm-term-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
}

.pm-term-status {
    display: inline-block;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: var(--text-body-sm);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.pm-term-clear {
    background: rgba(40, 167, 69, 0.15);
    color: #155724;
}

.pm-term-carrier {
    background: rgba(255, 193, 7, 0.2);
    color: #856404;
}

.pm-term-affected {
    background: rgba(220, 53, 69, 0.15);
    color: #721c24;
}

.pm-term-codes {
    font-family: monospace;
    font-size: var(--text-body-sm);
    color: var(--body-muted);
    margin-bottom: var(--space-sm);
}

.pm-term-card p {
    font-size: var(--text-body-sm);
    margin: 0;
}

/* Lookup Steps */
.pm-lookup-steps {
    margin: var(--space-xl) 0;
}

.pm-lookup-step {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--light);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
}

.pm-step-number {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: var(--white);
    font-weight: 700;
    font-size: var(--text-body-sm);
}

.pm-step-content h4 {
    font-size: var(--text-body);
    font-weight: 700;
    margin: 0 0 4px;
}

.pm-step-content p {
    font-size: var(--text-body-sm);
    color: var(--body);
    margin: 0;
}

/* Resource Links */
.pm-resource-links {
    display: grid;
    gap: var(--space-sm);
    margin: var(--space-lg) 0;
}

.pm-resource-link {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.pm-resource-link:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.pm-resource-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    border-radius: 50%;
    color: var(--primary);
}

.pm-resource-text {
    flex: 1;
}

.pm-resource-text h4 {
    font-size: var(--text-body);
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 2px;
}

.pm-resource-text p {
    font-size: var(--text-body-sm);
    color: var(--body-muted);
    margin: 0;
}

.pm-resource-arrow {
    font-size: 1.25rem;
    color: var(--primary);
}

/* Club Grid */
.pm-club-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

.pm-club-card {
    background: var(--light);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
}

.pm-club-card h4 {
    font-size: var(--text-body);
    font-weight: 700;
    margin: 0 0 var(--space-sm);
}

.pm-club-card p {
    font-size: var(--text-body-sm);
    color: var(--body);
    margin: 0;
}

/* Cost Table */
.pm-cost-table-wrapper {
    overflow-x: auto;
    margin: var(--space-lg) 0;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.pm-cost-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
}

.pm-cost-table th,
.pm-cost-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.pm-cost-table th {
    background: var(--light);
    font-weight: 600;
    font-size: var(--text-body-sm);
    color: var(--heading);
}

.pm-cost-table td {
    font-size: var(--text-body-sm);
    color: var(--body);
}

.pm-cost-table td:nth-child(2) {
    font-weight: 600;
    color: var(--heading);
}

.pm-cost-table tr:last-child td {
    border-bottom: none;
}

.pm-cost-table tbody tr:hover {
    background: rgba(255, 88, 87, 0.03);
}

/* Resource Pages Responsive */
@media (max-width: 1024px) {
    .pm-resource-toc {
        position: relative;
        top: 0;
    }

    .pm-toc-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .pm-toc-nav {
        width: 100%;
        overflow-x: auto;
        padding-bottom: var(--space-xs);
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 768px) {
    .pm-resource-hero {
        padding: 120px 0 60px;
    }

    .pm-resource-hero h1 {
        font-size: clamp(2rem, 6vw, 2.5rem);
    }

    .pm-content-section .pm-section-header {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .pm-section-number {
        width: 40px;
        height: 40px;
    }

    .pm-prep-item {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .pm-prep-time {
        width: auto;
    }

    .pm-timeline {
        padding-left: 32px;
    }

    .pm-timeline::before {
        left: 12px;
    }

    .pm-timeline-marker {
        left: -32px;
        width: 24px;
        height: 24px;
        font-size: var(--text-body-xs);
    }

    .pm-pregnancy-cards {
        grid-template-columns: 1fr;
    }

    .pm-resource-cta {
        padding: var(--space-xl) var(--space-md);
    }

    .pm-grade-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .pm-grade-name {
        width: auto;
    }
}

@media (max-width: 480px) {
    .pm-resource-badge {
        font-size: 0.7rem;
        padding: 6px 14px;
    }

    .pm-toc-link {
        padding: 8px 12px;
        font-size: var(--text-body-xs);
    }

    .pm-principle-grid,
    .pm-comparison-grid,
    .pm-checklist-grid,
    .pm-purpose-grid,
    .pm-inheritance-grid,
    .pm-breed-tests,
    .pm-provider-grid {
        grid-template-columns: 1fr;
    }

    .pm-callout {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .pm-matrix-legend {
        flex-direction: column;
        align-items: center;
    }
}

/* ==========================================================================
   TRUST & SAFETY PAGE STYLES
   ========================================================================== */

.pm-trust-safety {
    background: var(--white);
}

/* Page Hero */
.pm-page-hero {
    background: linear-gradient(135deg, var(--heading) 0%, #1a1a2e 100%);
    padding: 120px 0 80px;
    text-align: center;
    color: var(--white);
}

.pm-page-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin: 0 0 20px;
    color: var(--white) !important;
}

.pm-page-intro {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Content Container */
.pm-content-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px 80px;
}

/* Content Sections */
.pm-content-section {
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border);
}

.pm-content-section:last-of-type {
    border-bottom: none;
    margin-bottom: 40px;
}

.pm-content-section h2 {
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 24px;
    line-height: 1.3;
}

.pm-content-section h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--heading);
    margin: 32px 0 16px;
}

/* ===========================================
   GLOBAL LINK STYLING (Site-wide)
   =========================================== */

/* Links in content sections, FAQ items, and containers */
.pm-content-section a:not(.pm-btn):not(.pm-btn-primary):not(.pm-btn-secondary):not(.pm-btn-cta-primary):not(.pm-btn-cta-secondary),
.pm-faq-item a,
.pm-faq-list a,
.pm-intro-text a,
.pm-content-container p a {
    color: #b8232e; /* darker coral for AA contrast on light backgrounds */
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--transition-fast);
}

.pm-content-section a:not(.pm-btn):not(.pm-btn-primary):not(.pm-btn-secondary):not(.pm-btn-cta-primary):not(.pm-btn-cta-secondary):hover,
.pm-faq-item a:hover,
.pm-faq-list a:hover,
.pm-intro-text a:hover,
.pm-content-container p a:hover {
    color: var(--secondary);
}

/* ===========================================
   RELATED POSTS SHORTCODE [related_posts]
   Matches blog Related Articles design
   =========================================== */

/* ==========================================================================
   RELATED POSTS SHORTCODE - Horizontal Card Layout
   Clean editorial style that integrates with page content
   ========================================================================== */
.pm-shortcode-related {
    padding: var(--space-xl) 0;
    margin: var(--space-xl) 0;
    overflow: hidden;
}

.pm-shortcode-related .pm-related-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 var(--space-lg);
    display: flex;
    align-items: center;
    gap: 12px;
}

.pm-shortcode-related .pm-related-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 2px;
}

/* Horizontal card grid */
.pm-shortcode-related .pm-related-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

/* Horizontal card layout */
.pm-shortcode-related .pm-related-card {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    grid-template-rows: 1fr;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    border: 1px solid var(--border);
}

.pm-shortcode-related .pm-related-card:hover {
    background: var(--white);
    border-color: rgba(255, 88, 87, 0.4);
    box-shadow: 0 4px 20px rgba(255, 88, 87, 0.1);
    transform: translateX(4px);
}

/* Image container - fills card height */
.pm-shortcode-related .pm-related-card-image {
    display: block;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.pm-shortcode-related .pm-related-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.pm-shortcode-related .pm-related-card:hover .pm-related-card-image img {
    transform: scale(1.05);
}

/* Content area */
.pm-shortcode-related .pm-related-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-md) var(--space-lg);
    min-width: 0;
    overflow: hidden;
}

/* Category badge */
.pm-shortcode-related .pm-related-category {
    display: inline-block;
    width: fit-content;
    padding: 4px 12px;
    background: rgba(255, 88, 87, 0.1);
    border-radius: var(--radius-full);
    color: #b8232e; /* darker coral for AA contrast on pink badge */
    font-family: var(--font-body);
    font-size: var(--text-body-xs);
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    transition: all var(--transition-fast);
}

.pm-shortcode-related .pm-related-category:hover {
    background: var(--primary);
    color: var(--white);
}

/* Title - using site typography */
.pm-shortcode-related .pm-related-card-title {
    font-family: var(--font-heading);
    font-size: var(--text-body-lg);
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 6px;
}

.pm-shortcode-related .pm-related-card-title a {
    color: var(--heading);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.pm-shortcode-related .pm-related-card-title a:hover {
    color: var(--primary);
}

/* Excerpt */
.pm-shortcode-related .pm-related-excerpt {
    font-family: var(--font-body);
    font-size: var(--text-body-sm);
    color: var(--body);
    line-height: 1.6;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Date */
.pm-shortcode-related .pm-related-date {
    font-family: var(--font-body);
    font-size: var(--text-body-xs);
    color: var(--body-muted);
}

/* Responsive: vertical cards on mobile */
@media (max-width: 600px) {
    .pm-shortcode-related .pm-related-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .pm-shortcode-related .pm-related-card {
        display: flex;
        flex-direction: column;
        grid-template-columns: unset;
        gap: 0;
    }

    .pm-shortcode-related .pm-related-card:hover {
        transform: translateY(-4px);
    }

    .pm-shortcode-related .pm-related-card-image {
        aspect-ratio: 16 / 10;
    }

    .pm-shortcode-related .pm-related-card-content {
        padding: var(--space-sm) var(--space-md);
    }

    .pm-shortcode-related .pm-related-card-title {
        font-size: var(--text-body);
    }

    .pm-shortcode-related .pm-related-category {
        font-size: 0.7rem;
        padding: 3px 10px;
    }

    .pm-shortcode-related .pm-related-excerpt {
        font-size: var(--text-body-xs);
    }

    .pm-shortcode-related .pm-related-date {
        font-size: 0.75rem;
    }
}

/* Very small screens: single column */
@media (max-width: 400px) {
    .pm-shortcode-related .pm-related-grid {
        grid-template-columns: 1fr;
    }

    .pm-shortcode-related .pm-related-card-title {
        font-size: var(--text-body-lg);
    }

    .pm-shortcode-related .pm-related-excerpt {
        font-size: var(--text-body-sm);
    }
}

.pm-content-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--heading);
    margin: 24px 0 12px;
}

.pm-content-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--body);
    margin-bottom: 16px;
}

.pm-content-section ul,
.pm-content-section ol {
    margin: 16px 0 24px;
    padding-left: 24px;
}

.pm-content-section li {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--body);
    margin-bottom: 10px;
}

/* Enforcement List */
.pm-enforcement-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 24px 0;
}

.pm-enforcement-item {
    display: flex;
    gap: 16px;
    padding: 20px 24px;
    background: var(--surface);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.pm-enforcement-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pm-enforcement-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
}

.pm-enforcement-item strong {
    display: block;
    font-size: 1.1rem;
    color: var(--heading);
    margin-bottom: 4px;
}

.pm-enforcement-item p {
    font-size: 0.95rem;
    color: var(--body-muted);
    margin: 0;
}

/* Verified Badge Showcase */
.pm-badge-showcase {
    display: flex;
    justify-content: center;
    margin: 32px 0;
}

.pm-verified-badge-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px 48px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 2px solid #22c55e;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.15);
}

.pm-verified-badge-large svg {
    width: 64px;
    height: 64px;
    stroke: #22c55e;
}

.pm-verified-badge-large span {
    font-size: 1.25rem;
    font-weight: 700;
    color: #166534;
}

/* Verification Steps */
.pm-verification-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 24px 0;
}

.pm-verification-step {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--surface);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.pm-verification-step:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.pm-verification-step .pm-step-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pm-verification-step .pm-step-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--white);
}

.pm-verification-step .pm-step-info strong {
    display: block;
    font-size: 1.05rem;
    color: var(--heading);
    margin-bottom: 4px;
}

.pm-verification-step .pm-step-info p {
    font-size: 0.95rem;
    color: var(--body-muted);
    margin: 0;
    line-height: 1.6;
}

/* Report Box */
.pm-report-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #f59e0b;
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
}

.pm-report-box h3 {
    font-size: 1.15rem;
    color: #92400e;
    margin: 0 0 12px;
}

.pm-report-box p {
    font-size: 0.95rem;
    color: #78350f;
    margin: 8px 0;
}

.pm-report-box a {
    color: #b45309;
    font-weight: 600;
}

/* CTA Box */
.pm-cta-box {
    background: linear-gradient(135deg, var(--heading) 0%, #1a1a2e 100%);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    margin: 32px 0;
}

.pm-cta-box h4 {
    font-size: 1.25rem;
    color: var(--white) !important;
    margin: 0 0 12px;
}

.pm-cta-box p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 20px;
}

/* Two Column Layout */
.pm-two-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin: 24px 0;
}

.pm-two-col h4 {
    margin-top: 0;
}

/* Founder Note */
.pm-founder-note {
    background: var(--surface);
    border-radius: 16px;
    padding: 32px;
    border-left: 4px solid var(--primary);
}

.pm-founder-note p {
    font-size: 1.05rem;
}

.pm-founder-note p:last-child {
    margin-bottom: 0;
}

/* Checklist Danger Variant */
.pm-checklist-danger .pm-checklist-icon {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
}

/* Highlight Box Warning Variant */
.pm-highlight-warning {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%) !important;
    border-color: #ef4444 !important;
}

.pm-highlight-warning h3 {
    color: #b91c1c !important;
}

.pm-highlight-warning li {
    color: #7f1d1d !important;
}

/* Post CTA (reused from blog) */
.pm-trust-safety .pm-post-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 20px;
    padding: 48px;
    text-align: center;
    margin-top: 40px;
}

.pm-trust-safety .pm-post-cta h3 {
    font-size: 1.5rem;
    color: var(--white) !important;
    margin: 0 0 12px;
}

.pm-trust-safety .pm-post-cta p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.pm-trust-safety .pm-post-cta .pm-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: var(--white);
    color: var(--primary) !important;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.pm-trust-safety .pm-post-cta .pm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .pm-page-hero {
        padding: 100px 0 60px;
    }

    .pm-page-hero h1 {
        font-size: 1.75rem;
    }

    .pm-page-intro {
        font-size: 1.05rem;
    }

    .pm-content-container {
        padding: 40px 20px 60px;
    }

    .pm-content-section {
        margin-bottom: 40px;
        padding-bottom: 40px;
    }

    .pm-content-section h2 {
        font-size: 1.5rem;
    }

    .pm-two-col {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pm-enforcement-item {
        flex-direction: column;
        text-align: center;
    }

    .pm-enforcement-icon {
        margin: 0 auto;
    }

    .pm-verification-step {
        flex-direction: column;
        text-align: center;
    }

    .pm-verification-step .pm-step-icon {
        margin: 0 auto;
    }

    .pm-verified-badge-large {
        padding: 24px 32px;
    }

    .pm-trust-safety .pm-post-cta {
        padding: 32px 24px;
    }
}

/* ============================================
   ABOUT US PAGE STYLES
   ============================================ */

.pm-about-us {
    background: var(--white);
    padding-bottom: 0;
}

/* Remove margin/padding from last content-section and container so CTA can sit flush */
.pm-about-us .pm-content-container {
    padding-bottom: 0;
}

.pm-about-us .pm-content-container .pm-content-section:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Ensure CTA touches footer - no white gap */
.pm-about-us > .pm-about-cta:last-child {
    margin-bottom: 0;
}


/* About Hero Section */
.pm-about-hero {
    position: relative;
    padding: 140px 0 0;
    background: linear-gradient(135deg, #1a1625 0%, #2d2438 50%, #1e2a3a 100%);
    overflow: hidden;
}

.pm-about-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(ellipse 80% 50% at 20% 30%, rgba(255, 88, 87, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 70%, rgba(46, 163, 242, 0.1) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.pm-about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding-bottom: var(--space-2xl);
}

.pm-about-hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background: rgba(255, 88, 87, 0.15);
    border: 1px solid rgba(255, 88, 87, 0.3);
    border-radius: var(--radius-full);
    color: #ff8a89;
    font-size: var(--text-body-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-lg);
}

.pm-about-hero h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    color: var(--white);
    margin: 0 0 var(--space-md);
    line-height: 1.2;
}

.pm-about-hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--primary) 0%, #ff8a89 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pm-about-hero-tagline {
    font-size: var(--text-body-lg);
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 var(--space-xl);
    line-height: 1.6;
}

.pm-about-hero-highlights {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.pm-hero-highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: var(--text-body-sm);
    font-weight: 500;
}

.pm-hero-highlight svg {
    color: var(--primary);
}

/* Hero Bottom Summary */
.pm-about-hero-bottom {
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: var(--space-lg) 0;
}

.pm-about-hero-summary {
    max-width: 900px;
    margin: 0 auto;
    font-size: var(--text-body);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    text-align: center;
}

@media (max-width: 768px) {
    .pm-about-hero {
        padding: 120px 0 0;
    }

    .pm-about-hero-content {
        padding-bottom: var(--space-xl);
    }

    .pm-about-hero-highlights {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }

    .pm-hero-highlight {
        width: 100%;
        max-width: 260px;
        justify-content: center;
    }

}

@media (max-width: 480px) {
    .pm-about-hero-badge {
        font-size: 0.7rem;
        padding: 8px 18px;
        letter-spacing: 1.5px;
    }
}

/* Link Styling - Match Blog */
.pm-about-us .pm-content-section a:not(.pm-btn) {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--transition-fast);
}

.pm-about-us .pm-content-section a:not(.pm-btn):hover {
    color: var(--secondary);
}

/* Hero Image Section */
.pm-about-image-section {
    margin: var(--space-xl) 0 var(--space-2xl);
}

.pm-about-image-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.pm-about-hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 480px;
}

/* Introduction Section */
.pm-about-intro .lead {
    font-size: var(--text-body-lg);
    line-height: 1.8;
    color: var(--body);
    margin-bottom: var(--space-md);
}

/* Features Grid */
.pm-about-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.pm-about-feature {
    text-align: center;
    padding: var(--space-lg);
    background: var(--light);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.pm-about-feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.pm-about-feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    color: var(--white);
}

.pm-about-feature-icon svg {
    width: 28px;
    height: 28px;
}

.pm-about-feature h4 {
    font-size: var(--text-body);
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 var(--space-xs);
}

.pm-about-feature p {
    font-size: var(--text-body-sm);
    color: var(--body-muted);
    margin: 0;
    line-height: 1.5;
}

/* Problem/Solution Cards */
.pm-about-problem-solution {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.pm-about-problem,
.pm-about-solution {
    padding: var(--space-lg);
    border-radius: var(--radius-md);
}

.pm-about-problem {
    background: rgba(220, 53, 69, 0.06);
    border: 1px solid rgba(220, 53, 69, 0.15);
}

.pm-about-solution {
    background: rgba(40, 167, 69, 0.06);
    border: 1px solid rgba(40, 167, 69, 0.15);
}

.pm-about-problem h4,
.pm-about-solution h4 {
    font-size: var(--text-body);
    font-weight: 700;
    margin: 0 0 var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.pm-about-problem h4 {
    color: #dc3545;
}

.pm-about-problem h4::before {
    content: "✕";
    font-weight: 700;
}

.pm-about-solution h4 {
    color: #28a745;
}

.pm-about-solution h4::before {
    content: "✓";
    font-weight: 700;
}

.pm-about-problem ul,
.pm-about-solution ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pm-about-problem li,
.pm-about-solution li {
    padding: var(--space-xs) 0;
    padding-left: var(--space-md);
    position: relative;
    font-size: var(--text-body-sm);
    color: var(--body);
}

.pm-about-problem li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #dc3545;
    font-weight: bold;
}

.pm-about-solution li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* Differentiators Grid */
.pm-about-differentiators {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.pm-about-diff-card {
    padding: var(--space-lg);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    position: relative;
}

.pm-about-diff-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.pm-diff-number {
    font-size: var(--text-h3);
    font-weight: 700;
    color: var(--primary);
    opacity: 0.2;
    margin-bottom: var(--space-xs);
    font-family: var(--font-display);
}

.pm-about-diff-card h4 {
    font-size: var(--text-body);
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 var(--space-xs);
}

.pm-about-diff-card p {
    font-size: var(--text-body-sm);
    color: var(--body-muted);
    margin: 0;
    line-height: 1.5;
}

/* Team Card */
.pm-about-team-card {
    background: var(--light);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    border-left: 4px solid var(--primary);
}

.pm-about-team-card p {
    margin-bottom: var(--space-md);
}

.pm-about-team-card p:last-child {
    margin-bottom: 0;
}

/* Highlight Box Override for About */
.pm-about-us .pm-highlight-box {
    background: linear-gradient(135deg, #1a1625 0%, #2d2438 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: left;
}

.pm-about-us .pm-highlight-box p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.pm-about-us .pm-highlight-box p:last-child {
    margin-bottom: 0;
}

.pm-about-us .pm-highlight-box a {
    color: var(--primary) !important;
    text-decoration: underline;
}

.pm-about-us .pm-highlight-box a:hover {
    color: #ff8a89 !important;
}

/* FAQ Section Styles */
.pm-about-us .pm-faq-section {
    margin-top: var(--space-xl);
}

.pm-about-us .pm-faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.pm-about-us .pm-faq-item {
    background: var(--light);
    border-radius: var(--radius-md);
    padding: var(--space-lg) var(--space-xl);
    border-left: 3px solid transparent;
    transition: all var(--transition-fast);
}

.pm-about-us .pm-faq-item:hover {
    border-left-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.pm-about-us .pm-faq-item h3 {
    font-size: var(--text-body-lg);
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 var(--space-sm);
}

.pm-about-us .pm-faq-item p {
    font-size: var(--text-body);
    color: var(--body);
    margin: 0;
    line-height: 1.7;
}

/* About Page Responsive */
@media (max-width: 1024px) {
    .pm-about-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .pm-about-differentiators {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pm-about-features {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }

    .pm-about-feature {
        display: flex;
        align-items: center;
        text-align: left;
        gap: var(--space-md);
        padding: var(--space-md);
    }

    .pm-about-feature-icon {
        margin: 0;
        width: 48px;
        height: 48px;
        flex-shrink: 0;
    }

    .pm-about-feature-icon svg {
        width: 24px;
        height: 24px;
    }

    .pm-about-problem-solution {
        grid-template-columns: 1fr;
    }

    .pm-about-differentiators {
        grid-template-columns: 1fr;
    }

    .pm-about-diff-card {
        display: flex;
        align-items: flex-start;
        gap: var(--space-md);
    }

    .pm-diff-number {
        flex-shrink: 0;
        margin-bottom: 0;
    }

    .pm-about-hero-image {
        max-height: 280px;
    }

    .pm-about-team-card {
        padding: var(--space-lg);
    }

    .pm-about-us .pm-faq-item {
        padding: var(--space-md) var(--space-lg);
    }

    .pm-about-us .pm-highlight-box {
        padding: var(--space-lg);
    }
}

@media (max-width: 480px) {
    .pm-about-us .pm-faq-list {
        gap: var(--space-md);
    }

    .pm-about-us .pm-faq-item h3 {
        font-size: var(--text-body);
    }

    .pm-about-feature {
        flex-direction: column;
        text-align: center;
    }
}

/* About Page CTA Section */
.pm-about-cta {
    position: relative;
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, #1a1625 0%, #2d2438 50%, #1e2a3a 100%);
    overflow: hidden;
    margin-top: var(--space-2xl);
}

.pm-about-cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(255, 88, 87, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(46, 163, 242, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.pm-about-cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.pm-about-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 88, 87, 0.15);
    border: 1px solid rgba(255, 88, 87, 0.3);
    border-radius: var(--radius-full);
    color: #ff8a89;
    font-size: var(--text-body-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-lg);
}

.pm-about-cta h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--white);
    margin: 0 0 var(--space-sm);
    line-height: 1.2;
}

.pm-about-cta p {
    font-size: var(--text-body-lg);
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 var(--space-lg);
    line-height: 1.7;
}

.pm-about-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
    margin-bottom: var(--space-xl);
}

.pm-btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white) !important;
    font-size: var(--text-body);
    font-weight: 600;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all var(--transition-base);
    box-shadow: 0 4px 20px rgba(255, 88, 87, 0.4);
}

.pm-btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 88, 87, 0.5);
    color: var(--white) !important;
}

.pm-btn-cta-primary svg {
    transition: transform var(--transition-fast);
}

.pm-btn-cta-primary:hover svg {
    transform: translateX(4px);
}

.pm-btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white) !important;
    font-size: var(--text-body);
    font-weight: 600;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all var(--transition-base);
}

.pm-btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white) !important;
}

.pm-about-cta-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pm-cta-stat {
    text-align: center;
}

.pm-cta-stat-number {
    display: block;
    font-size: var(--text-h3);
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-display);
}

.pm-cta-stat-label {
    font-size: var(--text-body-sm);
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .pm-about-cta {
        padding: var(--space-2xl) 0;
    }

    .pm-about-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .pm-btn-cta-primary,
    .pm-btn-cta-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .pm-about-cta-stats {
        gap: var(--space-lg);
    }

    .pm-cta-stat-number {
        font-size: var(--text-h4);
    }
}

@media (max-width: 480px) {
    .pm-about-cta-stats {
        flex-direction: column;
        gap: var(--space-md);
    }

    .pm-about-cta-badge {
        font-size: 0.7rem;
        padding: 8px 16px;
    }
}

/* Blog styles moved to blog.css */

/* ============================================
   STUD MY DOG GUIDE PAGE STYLES
   ============================================ */

.pm-stud-guide {
    background: var(--white);
    padding-bottom: 0;
}

/* Ensure dark CTA extends to edge - no white gap */
.pm-stud-guide > .pm-stud-cta:last-child {
    margin-bottom: 0;
}

/* Stud Guide Hero Section */
.pm-stud-hero {
    position: relative;
    padding: 140px 0 0;
    background: linear-gradient(135deg, #1a1625 0%, #2d2438 50%, #1e2a3a 100%);
    overflow: hidden;
}

.pm-stud-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(ellipse 80% 50% at 20% 30%, rgba(255, 88, 87, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 70%, rgba(46, 163, 242, 0.1) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.pm-stud-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding-bottom: var(--space-2xl);
}

.pm-stud-hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background: rgba(255, 88, 87, 0.15);
    border: 1px solid rgba(255, 88, 87, 0.3);
    border-radius: var(--radius-full);
    color: #ff8a89;
    font-size: var(--text-body-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-lg);
}

.pm-stud-hero h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    color: var(--white);
    margin: 0 0 var(--space-md);
    line-height: 1.2;
}

.pm-stud-hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--primary) 0%, #ff8a89 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pm-stud-hero-tagline {
    font-size: var(--text-body-lg);
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 var(--space-xl);
    line-height: 1.6;
}

.pm-stud-hero-highlights {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pm-stud-guide .pm-hero-highlight {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.55);
    font-size: var(--text-body-xs);
    font-weight: 500;
}

.pm-stud-guide .pm-hero-highlight svg {
    color: rgba(255, 88, 87, 0.7);
    width: 16px;
    height: 16px;
}

.pm-stud-hero-cta {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
    margin-top: var(--space-lg);
}

.pm-stud-hero-cta-primary {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pm-stud-hero-microcopy {
    color: rgba(255, 255, 255, 0.45);
    font-size: var(--text-body-xs);
    margin-top: 8px;
}

.pm-stud-hero-bottom {
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: var(--space-lg) 0;
}

.pm-stud-hero-summary {
    max-width: 900px;
    margin: 0 auto;
    font-size: var(--text-body);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    text-align: center;
}

@media (max-width: 768px) {
    .pm-stud-hero {
        padding: 120px 0 0;
    }

    .pm-stud-hero-content {
        padding-bottom: var(--space-xl);
    }

    .pm-stud-hero-highlights {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }

    .pm-stud-guide .pm-hero-highlight {
        width: 100%;
        max-width: 260px;
        justify-content: center;
    }

    .pm-stud-hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .pm-stud-hero-cta .pm-btn-cta-primary,
    .pm-stud-hero-cta .pm-btn-cta-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .pm-stud-hero-badge {
        font-size: 0.7rem;
        padding: 8px 18px;
        letter-spacing: 1.5px;
    }
}

/* Link Styling for Stud Guide - Match Blog */
.pm-stud-guide .pm-content-section a:not(.pm-btn):not(.pm-btn-cta-primary):not(.pm-btn-cta-secondary) {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--transition-fast);
}

.pm-stud-guide .pm-content-section a:not(.pm-btn):not(.pm-btn-cta-primary):not(.pm-btn-cta-secondary):hover {
    color: var(--secondary);
}

/* Introduction Section */
.pm-stud-intro .lead {
    font-size: var(--text-body-lg);
    line-height: 1.8;
    color: var(--body);
    margin-bottom: var(--space-md);
}

/* Stud Guide Image Section */
.pm-stud-image-section {
    margin: var(--space-xl) 0 var(--space-2xl);
}

.pm-stud-image-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.pm-stud-hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 480px;
}

@media (max-width: 768px) {
    .pm-stud-hero-image {
        max-height: 320px;
    }
}

/* ===========================================
   5-STEP CHECKLIST INFOGRAPHIC
   =========================================== */

.pm-stud-checklist-section {
    background: linear-gradient(135deg, #f8f7fc 0%, #fff 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    margin: var(--space-2xl) 0;
    border: 1px solid var(--border);
}

.pm-stud-checklist-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.pm-stud-checklist-badge,
.pm-infographic-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    font-size: var(--text-body-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-sm);
}

.pm-stud-checklist-header h2 {
    font-size: var(--text-h2);
    color: var(--heading);
    margin: 0 0 var(--space-xs);
}

.pm-stud-checklist-header p {
    font-size: var(--text-body);
    color: var(--body-muted);
    margin: 0;
}

.pm-stud-checklist {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-md);
    align-items: start;
}

.pm-stud-step {
    text-align: center;
    position: relative;
    padding-top: var(--space-sm);
}

.pm-step-number {
    position: absolute;
    top: 0;
    right: calc(50% - 48px);
    width: 24px;
    height: 24px;
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-display);
    z-index: 2;
}

.pm-step-connector {
    display: none;
}

.pm-step-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--space-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(255, 88, 87, 0.3);
}

.pm-step-icon svg {
    width: 32px;
    height: 32px;
}

.pm-stud-step h4 {
    font-size: var(--text-body);
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 var(--space-xs);
}

.pm-stud-step p {
    font-size: var(--text-body-xs);
    color: var(--body-muted);
    margin: 0;
    line-height: 1.4;
}

.pm-step-connector {
    flex: 0 0 auto;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    opacity: 0.4;
}

.pm-step-connector svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 992px) {
    .pm-stud-checklist {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .pm-stud-checklist-section {
        padding: var(--space-lg);
    }

    .pm-stud-checklist {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg) var(--space-md);
    }

    .pm-step-icon {
        width: 60px;
        height: 60px;
    }

    .pm-step-icon svg {
        width: 28px;
        height: 28px;
    }

    .pm-step-number {
        right: calc(50% - 40px);
    }
}

/* ===========================================
   HEAT CYCLE TIMELINE INFOGRAPHIC
   =========================================== */

.pm-heat-cycle-infographic {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin: var(--space-xl) 0;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.pm-heat-cycle-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.pm-heat-cycle-header h3 {
    font-size: var(--text-h3);
    color: var(--heading);
    margin: 0 0 var(--space-xs);
}

.pm-heat-cycle-header p {
    font-size: var(--text-body-sm);
    color: var(--body-muted);
    margin: 0;
}

.pm-heat-cycle-timeline {
    display: flex;
    gap: 4px;
    margin-bottom: var(--space-lg);
    padding-top: var(--space-xl);
    position: relative;
}

.pm-cycle-phase {
    flex: 1;
    position: relative;
}

.pm-phase-bar {
    height: 8px;
    border-radius: 4px;
    margin-bottom: var(--space-sm);
}

.pm-phase-proestrus .pm-phase-bar {
    background: linear-gradient(90deg, #ffd6d6 0%, #ffb3b3 100%);
}

.pm-phase-estrus .pm-phase-bar {
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    box-shadow: 0 2px 8px rgba(255, 88, 87, 0.4);
}

.pm-phase-diestrus .pm-phase-bar {
    background: linear-gradient(90deg, #d4b3ff 0%, #c9a3ff 100%);
}

.pm-phase-anestrus .pm-phase-bar {
    background: linear-gradient(90deg, #e0e0e0 0%, #d0d0d0 100%);
}

.pm-phase-content {
    padding: var(--space-sm);
}

.pm-phase-days {
    display: inline-block;
    padding: 4px 10px;
    background: var(--light);
    border-radius: var(--radius-sm);
    font-size: var(--text-body-xs);
    font-weight: 600;
    color: var(--body-muted);
    margin-bottom: var(--space-xs);
}

.pm-cycle-phase h4 {
    font-size: var(--text-body);
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 4px;
}

.pm-cycle-phase p {
    font-size: var(--text-body-xs);
    color: var(--body-muted);
    margin: 0;
    line-height: 1.4;
}

.pm-phase-estrus .pm-phase-content {
    background: rgba(255, 88, 87, 0.05);
    border-radius: var(--radius-sm);
}

.pm-phase-highlight {
    color: var(--primary) !important;
    font-weight: 500;
}

.pm-optimal-marker {
    position: absolute;
    top: -32px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 14px;
    background: var(--primary);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    z-index: 5;
}

.pm-optimal-marker::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--primary);
}

.pm-progesterone-note {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: linear-gradient(135deg, #d1ecf1 0%, #e8f6f8 100%);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-sm);
}

.pm-progesterone-note svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.pm-progesterone-note p {
    font-size: var(--text-body-sm);
    color: var(--body);
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .pm-heat-cycle-timeline {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .pm-optimal-marker {
        position: static;
        transform: none;
        display: inline-block;
        margin-bottom: var(--space-xs);
    }

    .pm-optimal-marker::after {
        display: none;
    }

    .pm-phase-bar {
        height: 6px;
    }
}

/* ===========================================
   COMPARISON TABLE (GOOD VS RED FLAGS)
   =========================================== */

.pm-comparison-table {
    margin: var(--space-xl) 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.pm-comparison-header {
    background: linear-gradient(135deg, #1a1625 0%, #2d2438 100%);
    padding: var(--space-lg);
    text-align: center;
}

.pm-comparison-header h3 {
    font-size: var(--text-h3);
    color: var(--white);
    margin: 0;
}

.pm-comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.pm-comparison-col {
    padding: var(--space-lg);
}

.pm-comparison-good {
    background: rgba(40, 167, 69, 0.04);
}

.pm-comparison-bad {
    background: rgba(220, 53, 69, 0.04);
}

.pm-comparison-title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid;
}

.pm-comparison-good .pm-comparison-title {
    border-color: #28a745;
}

.pm-comparison-good .pm-comparison-title svg {
    color: #28a745;
}

.pm-comparison-bad .pm-comparison-title {
    border-color: #dc3545;
}

.pm-comparison-bad .pm-comparison-title svg {
    color: #dc3545;
}

.pm-comparison-title svg {
    width: 24px;
    height: 24px;
}

.pm-comparison-title h4 {
    font-size: var(--text-body);
    font-weight: 700;
    margin: 0;
}

.pm-comparison-good .pm-comparison-title h4 {
    color: #28a745;
}

.pm-comparison-bad .pm-comparison-title h4 {
    color: #dc3545;
}

.pm-comparison-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pm-comparison-col li {
    padding: var(--space-xs) 0;
    padding-left: var(--space-md);
    position: relative;
    font-size: var(--text-body-sm);
    color: var(--body);
    line-height: 1.5;
}

.pm-comparison-col li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.pm-comparison-good li::before {
    background: #28a745;
}

.pm-comparison-bad li::before {
    background: #dc3545;
}

@media (max-width: 768px) {
    .pm-comparison-grid {
        grid-template-columns: 1fr;
    }

    .pm-comparison-col {
        padding: var(--space-md);
    }
}

/* ===========================================
   HOW IT WORKS STEPS
   =========================================== */

.pm-how-it-works {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

.pm-hiw-step {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    padding: var(--space-lg);
    background: var(--light);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
}

.pm-hiw-step-num {
    display: inline-block;
    font-size: var(--text-body-xs);
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pm-hiw-step h4 {
    font-size: var(--text-body);
    font-weight: 700;
    color: var(--heading);
    margin: 0;
}

.pm-hiw-step p {
    font-size: var(--text-body-sm);
    color: var(--body);
    margin: 0;
    line-height: 1.7;
}

/* ===========================================
   COST BREAKDOWN CHART
   =========================================== */

.pm-cost-breakdown {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin: var(--space-xl) 0;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.pm-cost-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.pm-cost-header h3 {
    font-size: var(--text-h3);
    color: var(--heading);
    margin: 0 0 var(--space-xs);
}

.pm-cost-header p {
    font-size: var(--text-body-sm);
    color: var(--body-muted);
    margin: 0;
}

.pm-cost-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.pm-cost-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--light);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.pm-cost-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.pm-cost-primary {
    background: linear-gradient(135deg, rgba(255, 88, 87, 0.08) 0%, rgba(232, 0, 103, 0.08) 100%);
    border: 1px solid rgba(255, 88, 87, 0.2);
    grid-column: span 2;
}

.pm-cost-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.pm-cost-icon svg {
    width: 22px;
    height: 22px;
    color: var(--primary);
}

.pm-cost-primary .pm-cost-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.pm-cost-primary .pm-cost-icon svg {
    color: var(--white);
}

.pm-cost-details h4 {
    font-size: var(--text-body-sm);
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 4px;
}

.pm-cost-range {
    display: block;
    font-size: var(--text-body);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.pm-cost-details p {
    font-size: var(--text-body-xs);
    color: var(--body-muted);
    margin: 0;
    line-height: 1.4;
}

.pm-cost-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-lg);
    background: linear-gradient(135deg, #1a1625 0%, #2d2438 100%);
    border-radius: var(--radius-md);
}

.pm-cost-total-label {
    font-size: var(--text-body);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.pm-cost-total-amount {
    font-size: var(--text-h3);
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-display);
}

@media (max-width: 600px) {
    .pm-cost-primary {
        grid-column: span 1;
    }

    .pm-cost-total {
        flex-direction: column;
        text-align: center;
        gap: var(--space-xs);
    }
}

/* ===========================================
   STUD GUIDE FAQ SECTION
   =========================================== */

.pm-stud-guide .pm-faq-section {
    margin-top: var(--space-2xl);
}

.pm-stud-guide .pm-faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.pm-stud-guide .pm-faq-item {
    background: var(--light);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.pm-stud-guide .pm-faq-item:hover {
    box-shadow: var(--shadow-sm);
}

.pm-stud-guide .pm-faq-item h3 {
    font-size: var(--text-body-lg);
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 var(--space-sm);
}

.pm-stud-guide .pm-faq-item p {
    font-size: var(--text-body);
    color: var(--body);
    margin: 0;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .pm-stud-guide .pm-faq-item {
        padding: var(--space-md);
    }
}

@media (max-width: 480px) {
    .pm-stud-guide .pm-faq-list {
        gap: var(--space-md);
    }

    .pm-stud-guide .pm-faq-item h3 {
        font-size: var(--text-body);
    }
}

/* ===========================================
   INLINE CTA SECTION
   =========================================== */

.pm-stud-cta-inline {
    background: linear-gradient(135deg, #1a1625 0%, #2d2438 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) !important;
    margin-top: var(--space-2xl) !important;
}

.pm-stud-cta-inline h2 {
    color: var(--white);
}

.pm-stud-cta-inline p {
    color: rgba(255, 255, 255, 0.85);
}

.pm-stud-cta-inline a {
    color: #ff8a89 !important;
}

.pm-stud-cta-inline a:hover {
    color: #ffb3b3 !important;
}

/* ===========================================
   STUD GUIDE CTA SECTION (FULL WIDTH)
   =========================================== */

.pm-stud-cta {
    position: relative;
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, #1a1625 0%, #2d2438 50%, #1e2a3a 100%);
    overflow: hidden;
    margin-top: var(--space-2xl);
}

.pm-stud-cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(255, 88, 87, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(46, 163, 242, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.pm-stud-cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.pm-stud-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 88, 87, 0.15);
    border: 1px solid rgba(255, 88, 87, 0.3);
    border-radius: var(--radius-full);
    color: #ff8a89;
    font-size: var(--text-body-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-lg);
}

.pm-stud-cta h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--white);
    margin: 0 0 var(--space-sm);
    line-height: 1.2;
}

.pm-stud-cta p {
    font-size: var(--text-body-lg);
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 var(--space-lg);
    line-height: 1.7;
}

.pm-stud-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
    margin-bottom: var(--space-xl);
}

.pm-stud-cta-features {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.pm-stud-cta .pm-cta-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-body-sm);
}

.pm-stud-cta .pm-cta-feature svg {
    color: #28a745;
    fill: none;
    width: 16px;
    height: 16px;
}

@media (max-width: 768px) {
    .pm-stud-cta {
        padding: var(--space-2xl) 0;
    }

    .pm-stud-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .pm-stud-cta-buttons .pm-btn-cta-primary,
    .pm-stud-cta-buttons .pm-btn-cta-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .pm-stud-cta-features {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }
}

@media (max-width: 480px) {
    .pm-stud-cta-badge {
        font-size: 0.7rem;
        padding: 8px 16px;
    }
}

/* ============================================
   STUD MY DOG OUT - ADDITIONAL INFOGRAPHICS
   ============================================ */

/* ===========================================
   STUD-READY CHECKLIST
   =========================================== */

.pm-stud-ready-checklist {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin: var(--space-xl) 0;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.pm-checklist-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.pm-checklist-header h3 {
    font-size: var(--text-h3);
    color: var(--heading);
    margin: 0 0 var(--space-xs);
}

.pm-checklist-header p {
    font-size: var(--text-body-sm);
    color: var(--body-muted);
    margin: 0;
}

.pm-checklist-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.pm-checklist-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--light);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.pm-checklist-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.pm-checklist-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    flex-shrink: 0;
}

.pm-checklist-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.pm-checklist-content {
    flex: 1;
}

.pm-checklist-content h4 {
    font-size: var(--text-body);
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 4px;
}

.pm-checklist-content p {
    font-size: var(--text-body-sm);
    color: var(--body-muted);
    margin: 0;
    line-height: 1.4;
}

.pm-checklist-check {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.pm-checklist-check svg {
    width: 18px;
    height: 18px;
    color: #28a745;
}

@media (max-width: 600px) {
    .pm-stud-ready-checklist {
        padding: var(--space-lg);
    }

    .pm-checklist-item {
        flex-wrap: wrap;
    }

    .pm-checklist-content {
        flex: 1 1 calc(100% - 80px);
    }

    .pm-checklist-check {
        margin-left: auto;
    }
}

/* ===========================================
   PAYMENT STRUCTURE COMPARISON
   =========================================== */

.pm-payment-comparison {
    background: linear-gradient(135deg, #f8f7fc 0%, #fff 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin: var(--space-xl) 0;
    border: 1px solid var(--border);
}

.pm-payment-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.pm-payment-header h3 {
    font-size: var(--text-h3);
    color: var(--heading);
    margin: 0 0 var(--space-xs);
}

.pm-payment-header p {
    font-size: var(--text-body-sm);
    color: var(--body-muted);
    margin: 0;
}

.pm-payment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.pm-payment-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: center;
    border: 1px solid var(--border);
    transition: all var(--transition-base);
    position: relative;
}

.pm-payment-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.pm-payment-featured {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(255, 88, 87, 0.15);
}

.pm-payment-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    background: var(--primary);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-full);
}

.pm-payment-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    border-radius: 50%;
}

.pm-payment-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.pm-payment-card h4 {
    font-size: var(--text-body);
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 var(--space-xs);
}

.pm-payment-range {
    font-size: var(--text-body-lg);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-md);
}

.pm-payment-pros {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-md);
    text-align: left;
}

.pm-payment-pros li {
    padding: 8px 0;
    padding-left: var(--space-md);
    position: relative;
    font-size: var(--text-body-sm);
    color: var(--body);
    line-height: 1.4;
    border-bottom: 1px solid var(--border);
}

.pm-payment-pros li:last-child {
    border-bottom: none;
}

.pm-payment-pros li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 12px;
}

.pm-payment-best {
    font-size: var(--text-body-xs);
    color: var(--body-muted);
    font-weight: 600;
    padding-top: var(--space-sm);
    border-top: 1px solid var(--border);
}

@media (max-width: 900px) {
    .pm-payment-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .pm-payment-featured {
        order: -1;
    }
}

/* ===========================================
   PROCESS FLOWCHART
   =========================================== */

.pm-process-flowchart {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin: var(--space-xl) 0;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.pm-flowchart-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.pm-flowchart-header h3 {
    font-size: var(--text-h3);
    color: var(--heading);
    margin: 0;
}

.pm-flowchart-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.pm-flowchart-step {
    flex: 0 0 auto;
    width: 140px;
    text-align: center;
    position: relative;
    padding-top: var(--space-sm);
}

.pm-flowchart-num {
    position: absolute;
    top: 0;
    right: calc(50% - 44px);
    width: 22px;
    height: 22px;
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-display);
    z-index: 2;
}

.pm-flowchart-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 88, 87, 0.25);
}

.pm-flowchart-icon svg {
    width: 28px;
    height: 28px;
}

.pm-flowchart-step h4 {
    font-size: var(--text-body-sm);
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 4px;
}

.pm-flowchart-step p {
    font-size: var(--text-body-xs);
    color: var(--body-muted);
    margin: 0;
    line-height: 1.4;
}

.pm-flowchart-connector {
    flex: 0 0 auto;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    opacity: 0.4;
    padding-top: 30px;
}

.pm-flowchart-connector svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 900px) {
    .pm-flowchart-steps {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-md);
    }

    .pm-flowchart-connector {
        display: none;
    }

    .pm-flowchart-step {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .pm-process-flowchart {
        padding: var(--space-lg);
    }

    .pm-flowchart-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .pm-flowchart-icon {
        width: 56px;
        height: 56px;
    }

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

/* ============================================
   DOG MATE FINDER - PLATFORM COMPARISON TABLE
   ============================================ */

.pm-platform-comparison {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin: var(--space-xl) 0;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.pm-platform-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.pm-platform-header h3 {
    font-size: var(--text-h3);
    color: var(--heading);
    margin: var(--space-sm) 0 0;
}

.pm-platform-table-wrapper {
    overflow-x: auto;
    margin: 0 -var(--space-md);
    padding: 0 var(--space-md);
}

.pm-platform-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.pm-platform-table th,
.pm-platform-table td {
    padding: var(--space-sm) var(--space-md);
    text-align: center;
    border-bottom: 1px solid var(--border);
    font-size: var(--text-body-sm);
}

.pm-platform-table th {
    background: var(--light);
    font-weight: 700;
    color: var(--heading);
    font-size: var(--text-body-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pm-platform-table th:first-child {
    text-align: left;
    font-size: var(--text-body-sm);
    text-transform: none;
    letter-spacing: normal;
}

.pm-platform-table th.pm-platform-highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
}

.pm-platform-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--heading);
}

.pm-platform-table td.pm-platform-highlight {
    background: rgba(255, 88, 87, 0.05);
}

.pm-platform-table tr:last-child td {
    border-bottom: none;
}

.pm-platform-table tr:hover td {
    background: var(--light);
}

.pm-platform-table tr:hover td.pm-platform-highlight {
    background: rgba(255, 88, 87, 0.1);
}

.pm-check-yes {
    color: #10b981;
    font-weight: 600;
}

.pm-check-no {
    color: #ef4444;
    font-weight: 500;
}

.pm-check-partial {
    color: #f59e0b;
    font-weight: 500;
}

@media (max-width: 768px) {
    .pm-platform-comparison {
        padding: var(--space-md);
    }

    .pm-platform-table th,
    .pm-platform-table td {
        padding: var(--space-xs) var(--space-sm);
        font-size: var(--text-body-xs);
    }
}

/* ============================================
   DOG MATE FINDER - METHODS COMPARISON
   ============================================ */

.pm-methods-comparison {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin: var(--space-xl) 0;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.pm-methods-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.pm-methods-header h3 {
    font-size: var(--text-h3);
    color: var(--heading);
    margin: var(--space-sm) 0 0;
}

.pm-methods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.pm-method-card {
    position: relative;
    background: var(--light);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: center;
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.pm-method-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.pm-method-card.pm-method-featured {
    background: linear-gradient(135deg, rgba(255, 88, 87, 0.08) 0%, rgba(232, 0, 103, 0.08) 100%);
    border-color: var(--primary);
}

.pm-method-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pm-method-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.pm-method-card.pm-method-featured .pm-method-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
}

.pm-method-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary);
}

.pm-method-card.pm-method-featured .pm-method-icon svg {
    stroke: var(--white);
}

.pm-method-card h4 {
    font-size: var(--text-body);
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 var(--space-xs);
}

.pm-method-desc {
    font-size: var(--text-body-sm);
    color: var(--body-muted);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.pm-method-desc p {
    margin: 0;
}

.pm-method-pros-cons {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.pm-method-pros-cons .pm-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.pm-pros .pm-label {
    color: #10b981;
}

.pm-cons .pm-label {
    color: #ef4444;
}

.pm-method-pros-cons ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pm-method-pros-cons ul li {
    font-size: var(--text-body-xs);
    color: var(--body);
    padding: 3px 0;
    padding-left: 16px;
    position: relative;
}

.pm-pros ul li::before {
    content: "+";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
}

.pm-cons ul li::before {
    content: "−";
    position: absolute;
    left: 0;
    color: #ef4444;
    font-weight: 700;
}

.pm-methods-note {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    background: linear-gradient(135deg, rgba(255, 88, 87, 0.08) 0%, rgba(232, 0, 103, 0.08) 100%);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-top: var(--space-lg);
}

.pm-methods-note svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    stroke: var(--primary);
    margin-top: 2px;
}

.pm-methods-note p {
    font-size: var(--text-body-sm);
    color: var(--body);
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .pm-methods-comparison {
        padding: var(--space-md);
    }

    .pm-methods-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .pm-method-card {
        padding: var(--space-md);
    }
}

/* ==========================================================================
   How It Works Page
   ========================================================================== */
.pm-hiw-page .pm-content-section .pm-section-header h2 {
    font-size: 1.85rem;
    line-height: 1.3;
}
.pm-hiw-page .pm-stud-hero h1 {
    color: var(--white) !important;
}
.pm-hiw-page .pm-stud-hero h1 em {
    background: linear-gradient(135deg, var(--primary) 0%, #ff8a89 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent !important;
    font-style: normal;
}
.pm-hiw-page .pm-stud-hero-tagline,
.pm-hiw-page .pm-stud-hero-microcopy,
.pm-hiw-page .pm-stud-hero-summary {
    color: rgba(255, 255, 255, 0.85) !important;
}

.pm-how-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin: 0 0 4rem;
    padding: 0;
}
.pm-how-step:nth-child(even) .pm-how-step-visual {
    order: -1;
}
.pm-how-step-text .pm-step-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: #fff;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--text-body-tiny);
    letter-spacing: 0.04em;
    margin: 0 0 1.25rem;
}
.pm-how-step-text h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 1rem;
    line-height: 1.3;
}
.pm-how-step-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--body);
    margin: 0 0 1rem;
}
.pm-how-step-text p:last-child {
    margin-bottom: 0;
}

/* Step screenshot (images have phone frames baked in) */
.pm-how-step-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.pm-how-step-visual::before {
    content: '';
    position: absolute;
    width: 70%;
    padding-bottom: 70%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle at center, rgba(255, 88, 87, 0.10) 0%, rgba(232, 0, 103, 0.05) 40%, transparent 70%);
    border-radius: 50%;
    filter: blur(20px);
    z-index: 0;
    pointer-events: none;
}
.pm-hiw-screenshot {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    max-width: 300px;
    aspect-ratio: 9 / 19;
    object-fit: cover;
    object-position: center;
    margin: 0 auto;
    filter: drop-shadow(0 25px 40px rgba(14, 12, 25, 0.14));
    transition: transform 0.35s ease, filter 0.35s ease;
}
.pm-hiw-screenshot:hover {
    transform: translateY(-6px);
    filter: drop-shadow(0 32px 50px rgba(255, 88, 87, 0.18));
}

.pm-hiw-screenshot-duo {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}
.pm-hiw-shot-wrap {
    width: 280px;
    aspect-ratio: 9 / 19;
    overflow: hidden;
    border-radius: 6px;
    filter: drop-shadow(0 25px 40px rgba(14, 12, 25, 0.14));
    transition: transform 0.35s ease, filter 0.35s ease;
}

/* Stacked step layout (images on top row, text below) */
.pm-how-step-stacked {
    grid-template-columns: 1fr;
    gap: 2.5rem;
}
.pm-how-step-stacked .pm-how-step-visual,
.pm-how-step-stacked .pm-how-step-text {
    width: 100%;
}
.pm-how-step-stacked .pm-hiw-screenshot-duo {
    gap: 2rem;
}
.pm-how-step-stacked .pm-hiw-shot-wrap {
    width: 300px;
}
@media (max-width: 860px) {
    .pm-how-step-stacked .pm-hiw-shot-wrap {
        width: 240px;
    }
}
.pm-hiw-shot-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.pm-hiw-shot-wrap:hover {
    transform: translateY(-4px);
    filter: drop-shadow(0 32px 50px rgba(255, 88, 87, 0.18));
}

.pm-tip-inline {
    background: #f8f7fc;
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
    margin: 1.5rem 0 0;
}
.pm-tip-inline h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 0.75rem;
}
.pm-tip-inline ul {
    margin: 0;
    padding-left: 1.25rem;
}
.pm-tip-inline li {
    color: var(--body);
    margin-bottom: 0.4rem;
    line-height: 1.6;
}
.pm-tip-inline li:last-child { margin-bottom: 0; }

.pm-feature-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(14, 12, 25, 0.08);
    padding: 1.75rem 2rem;
    margin: 0 0 4rem;
    box-shadow: 0 10px 30px -15px rgba(14, 12, 25, 0.12);
    position: relative;
    overflow: hidden;
}
.pm-feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-primary);
}
.pm-feature-card h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 0.75rem;
}
.pm-feature-card p {
    margin: 0;
    color: var(--body);
    line-height: 1.8;
    font-size: 1.05rem;
}

.pm-dosdonts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 0 0 4rem;
}
.pm-dd-col {
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(14, 12, 25, 0.08);
    padding: 1.5rem 1.75rem;
}
.pm-dd-col.do { border-top: 3px solid #16a34a; }
.pm-dd-col.dont { border-top: 3px solid #dc2626; }
.pm-dd-col h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.pm-dd-col.do h4 { color: #16a34a; }
.pm-dd-col.dont h4 { color: #dc2626; }
.pm-dd-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pm-dd-col li {
    padding: 0.5rem 0 0.5rem 1.75rem;
    position: relative;
    color: var(--body);
    line-height: 1.55;
    border-bottom: 1px solid rgba(14, 12, 25, 0.05);
    font-size: var(--text-body-sm);
}
.pm-dd-col li:last-child { border-bottom: none; }
.pm-dd-col.do li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 16px; height: 10px;
    border-left: 2.5px solid #16a34a;
    border-bottom: 2.5px solid #16a34a;
    transform: rotate(-45deg);
}
.pm-dd-col.dont li::before {
    content: '\00d7';
    position: absolute;
    left: 0.1rem;
    top: 0.35rem;
    color: #dc2626;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.pm-scorecard {
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(14, 12, 25, 0.08);
    padding: 2rem;
    margin: 0 0 4rem;
    box-shadow: 0 10px 30px -15px rgba(14, 12, 25, 0.12);
    position: relative;
    overflow: hidden;
}
.pm-scorecard::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-primary);
}
.pm-scorecard h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 1.5rem;
}
.pm-score-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.pm-score-item {
    text-align: center;
    padding: 1.25rem 0.75rem;
    background: #f8f7fc;
    border-radius: 10px;
}
.pm-score-points {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin: 0 0 0.5rem;
}
.pm-score-label {
    font-size: var(--text-body-tiny);
    color: var(--body);
    font-weight: 600;
    line-height: 1.4;
}
.pm-scorecard .pm-scorecard-tagline {
    margin: 2.5rem 0 0;
    text-align: center;
    font-size: var(--text-body-sm);
    font-weight: 500;
    color: var(--body-muted);
    font-style: italic;
}

.pm-match-sub {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(14, 12, 25, 0.08);
}
.pm-match-sub:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.pm-tips-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 0 0 3rem;
}
.pm-tip-card {
    background: #fff;
    border: 1px solid rgba(14, 12, 25, 0.08);
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.pm-tip-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -10px rgba(14, 12, 25, 0.12);
}
.pm-tip-card h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 0.5rem;
}
.pm-tip-card p {
    margin: 0;
    color: var(--body);
    font-size: 1rem;
    line-height: 1.7;
}

@media (max-width: 860px) {
    .pm-how-step {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 3rem;
    }
    .pm-how-step:nth-child(even) .pm-how-step-visual {
        order: 0;
    }
    .pm-hiw-screenshot { max-width: 240px; }
    .pm-hiw-shot-wrap { width: 240px; }
    .pm-dosdonts { grid-template-columns: 1fr; }
    .pm-score-grid { grid-template-columns: repeat(2, 1fr); }
    .pm-tips-list { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .pm-score-grid { grid-template-columns: 1fr; }
    .pm-feature-card, .pm-scorecard { padding: 1.5rem; }
}

/* ========== Medical Reviewer Card ========== */
/*
 * Used on:
 *   - Blog posts (single.php) — after .pm-author-bio
 *   - Pages (page.php) — wrapped in .pm-reviewer-section for container padding
 *   - Reviewer profile pages (single-medical_reviewer.php)
 *   - Reviewer directory (archive-medical_reviewer.php)
 * Light theme only per CLAUDE.md.
 */

.pm-reviewer-section {
    padding: var(--space-xl) 0 var(--space-2xl);
}

.pm-reviewer-card {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
    padding: var(--space-lg);
    background: var(--cream);
    border: 1px solid rgba(255, 88, 87, 0.18);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.pm-reviewer-card-photo {
    flex-shrink: 0;
}

.pm-reviewer-card-photo a {
    display: block;
    border-radius: 50%;
    overflow: hidden;
    width: 80px;
    height: 80px;
    line-height: 0;
}

.pm-reviewer-card-photo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.pm-reviewer-card-content {
    flex: 1;
    min-width: 0;
}

.pm-reviewer-card-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-body-xs);
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 6px;
}

.pm-reviewer-card-label svg {
    flex-shrink: 0;
}

.pm-reviewer-card-name {
    font-size: var(--text-h4);
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 var(--space-xs);
    line-height: 1.3;
}

.pm-reviewer-card-name a {
    color: inherit;
    text-decoration: none;
}

.pm-reviewer-card-name a:hover {
    color: var(--primary);
}

.pm-reviewer-card-creds {
    font-size: var(--text-body-xs);
    font-weight: 500;
    color: var(--body-muted);
    letter-spacing: 0.3px;
    margin: 0 0 var(--space-xs);
    line-height: 1.4;
}

.pm-reviewer-card-when {
    font-weight: 500;
    color: var(--body-muted);
    font-size: 0.85em;
    margin-left: 4px;
    white-space: nowrap;
}

.pm-reviewer-card-role {
    font-size: var(--text-body-sm);
    color: var(--body-muted);
    margin: 0 0 var(--space-xs);
    font-weight: 500;
}

.pm-reviewer-card-bio {
    font-size: var(--text-body-sm);
    color: var(--body);
    margin: 0 0 var(--space-sm);
    line-height: 1.65;
}

.pm-reviewer-card-disclaimer {
    font-size: var(--text-body-xs);
    color: var(--body-muted);
    margin: 0 0 var(--space-sm);
    padding: var(--space-sm);
    background: var(--light);
    border-left: 3px solid rgba(255, 88, 87, 0.4);
    border-radius: var(--radius-sm);
    line-height: 1.6;
}

.pm-reviewer-card-disclaimer em {
    font-style: italic;
}

.pm-reviewer-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin: 0;
    padding-top: var(--space-sm);
    border-top: 1px solid rgba(14, 12, 25, 0.08);
}

.pm-reviewer-card-date {
    font-size: var(--text-body-xs);
    color: var(--body-muted);
}

.pm-reviewer-card-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: var(--text-body-xs);
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color var(--transition-fast);
}

.pm-reviewer-card-link:hover {
    color: var(--secondary);
}

.pm-reviewer-card-link svg {
    transition: transform var(--transition-fast);
}

.pm-reviewer-card-link:hover svg {
    transform: translateX(3px);
}

/* ---- Reviewer archive (/medical-reviewers/) ---- */

.pm-reviewer-archive-hero {
    padding: 160px 0 var(--space-xl);
    background: var(--cream);
    border-bottom: 1px solid rgba(14, 12, 25, 0.06);
    text-align: center;
}

.pm-reviewer-archive-eyebrow {
    display: inline-block;
    font-size: var(--text-body-xs);
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.pm-reviewer-archive-title {
    font-size: var(--text-h1);
    color: var(--heading);
    margin: 0 0 var(--space-sm);
    font-weight: 800;
}

.pm-reviewer-archive-subhead {
    font-size: var(--text-h3);
    color: var(--heading);
    font-weight: 600;
    max-width: 760px;
    margin: 0 auto var(--space-sm);
    line-height: 1.4;
}

.pm-reviewer-archive-lede {
    font-size: var(--text-body-lg);
    color: var(--body-muted);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.7;
}

.pm-reviewer-archive-grid-wrap {
    padding: var(--space-2xl) 0;
}

.pm-reviewer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.pm-reviewer-tile {
    background: var(--white);
    border: 1px solid rgba(14, 12, 25, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.pm-reviewer-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 88, 87, 0.35);
}

.pm-reviewer-tile-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.pm-reviewer-tile-photo {
    background: var(--light);
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.pm-reviewer-tile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pm-reviewer-tile-body {
    padding: var(--space-lg);
}

.pm-reviewer-tile-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 var(--space-xs);
    line-height: 1.3;
}

.pm-reviewer-tile-creds {
    font-weight: 500;
    color: var(--body-muted);
    font-size: 0.85em;
}

.pm-reviewer-tile-role {
    font-size: var(--text-body-sm);
    color: var(--primary);
    margin: 0 0 var(--space-sm);
    font-weight: 600;
}

.pm-reviewer-tile-bio {
    font-size: var(--text-body-sm);
    color: var(--body);
    margin: 0 0 var(--space-md);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pm-reviewer-tile-cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: var(--text-body-xs);
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pm-reviewer-archive-pagination {
    margin-top: var(--space-2xl);
    display: flex;
    justify-content: center;
}

.pm-reviewer-empty {
    text-align: center;
    color: var(--body-muted);
    padding: var(--space-2xl) 0;
    font-size: var(--text-body-lg);
}

/* ---- Reviewer single profile (/medical-reviewers/[slug]/) ---- */

.pm-reviewer-profile-hero {
    padding: 160px 0 var(--space-lg);
    background: var(--cream);
    border-bottom: 1px solid rgba(14, 12, 25, 0.06);
}

.pm-reviewer-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-body-xs);
    color: var(--body-muted);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    transition: color var(--transition-fast);
}

.pm-reviewer-back:hover {
    color: var(--primary);
}

.pm-reviewer-profile-header {
    display: flex;
    gap: var(--space-xl);
    align-items: center;
    flex-wrap: wrap;
}

.pm-reviewer-profile-photo {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-md);
}

.pm-reviewer-profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pm-reviewer-profile-meta {
    flex: 1;
    min-width: 260px;
}

.pm-reviewer-profile-eyebrow {
    display: inline-block;
    font-size: var(--text-body-xs);
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.pm-reviewer-profile-name {
    font-size: var(--text-h1);
    font-weight: 800;
    color: var(--heading);
    margin: 0 0 var(--space-sm);
    line-height: 1.15;
}

.pm-reviewer-profile-creds {
    font-size: var(--text-body);
    font-weight: 500;
    color: var(--body-muted);
    letter-spacing: 0.3px;
    margin: 0 0 var(--space-sm);
    line-height: 1.5;
}

.pm-reviewer-profile-job {
    font-size: var(--text-body-lg);
    color: var(--heading);
    font-weight: 600;
    margin: 0 0 var(--space-xs);
}

.pm-reviewer-profile-affiliation,
.pm-reviewer-profile-years {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--text-body-sm);
    color: var(--body-muted);
    margin: 0 0 4px;
}

.pm-reviewer-profile-years strong {
    color: var(--heading);
}

.pm-reviewer-profile-body {
    padding: var(--space-2xl) 0;
}

.pm-reviewer-profile-grid {
    max-width: 760px;
}

.pm-reviewer-profile-bio h2,
.pm-reviewer-profile-bio h3,
.pm-reviewer-profile-bio h4 {
    color: var(--heading);
}

.pm-reviewer-profile-bio p {
    color: var(--body);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.pm-reviewer-profile-subhead {
    font-size: var(--text-h3);
    font-weight: 700;
    color: var(--heading);
    margin: var(--space-xl) 0 var(--space-md);
}

.pm-reviewer-specialty-list,
.pm-reviewer-sameas-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.pm-reviewer-specialty-list li {
    background: var(--light);
    color: var(--heading);
    padding: 8px 14px;
    border-radius: var(--radius-full);
    font-size: var(--text-body-sm);
    font-weight: 500;
}

.pm-reviewer-sameas-list li a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--white);
    color: var(--primary);
    padding: 10px 16px;
    border: 1px solid rgba(255, 88, 87, 0.25);
    border-radius: var(--radius-full);
    font-size: var(--text-body-sm);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.pm-reviewer-sameas-list li a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.pm-reviewer-reviewed-section {
    padding: var(--space-2xl) 0;
    background: var(--light);
}

.pm-reviewer-reviewed-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--heading);
    margin: 0 0 var(--space-lg);
}

.pm-reviewer-reviewed-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-sm);
}

.pm-reviewer-reviewed-item {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid rgba(14, 12, 25, 0.06);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.pm-reviewer-reviewed-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: rgba(255, 88, 87, 0.35);
}

.pm-reviewer-reviewed-link {
    display: block;
    padding: var(--space-md);
    text-decoration: none;
    color: inherit;
}

.pm-reviewer-reviewed-name {
    display: block;
    font-size: var(--text-body);
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 4px;
    line-height: 1.4;
}

.pm-reviewer-reviewed-date {
    display: block;
    font-size: var(--text-body-xs);
    color: var(--body-muted);
}

@media (max-width: 720px) {
    .pm-reviewer-card {
        flex-direction: column;
        gap: var(--space-sm);
        padding: var(--space-md);
    }
    .pm-reviewer-card-photo a,
    .pm-reviewer-card-photo img {
        width: 64px;
        height: 64px;
    }
    .pm-reviewer-card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-xs);
    }
    .pm-reviewer-profile-header {
        gap: var(--space-md);
    }
    .pm-reviewer-profile-photo {
        width: 140px;
        height: 140px;
    }
}
