/*styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #63a5c2;
    --secondary-color: #bd4b5c;
    --text-color: #000c30;
    --background-color: #ffffff;
    --light-bg: #f8fafc;
    --medium-bg: #f2f2f2;
    --dark-bg: #000c30;
    --border-color: #e7e7e7;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: 0.5em;
}

h1 {
    font-size: 5em;
    line-height: 1.4;
}

h2 {
    font-size: 2.8rem;
    line-height: 1.3;
}

h3 {
    font-size: 2rem;
    line-height: 1.3;
}

p {
    margin-bottom: 1em;
    line-height: 1.6;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--dark-bg);
    color: #ffffff;
    padding: 8px 12px;
    text-decoration: none;
    z-index: 10000;
    border-radius: 0 0 4px 4px;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* Header */
.site-header {
    background: var(--primary-color);
    padding: 1.5em 0;
    box-shadow: var(--shadow);
    position: relative;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding {
    flex-shrink: 0;
}

.site-logo {
    max-width: 450px;
    height: auto;
    transition: transform 0.3s ease;
}

.site-logo:hover {
    transform: scale(1.02);
}

/* Navigation - WCAG Compliant Colors */
.main-navigation {
    display: flex;
    align-items: center;
}



.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5em;
    background: rgba(255, 255, 255, 0.95);
    padding: 1em 1.5em;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap; /* Allows wrapping if needed */
    justify-content: center; /* Center items */
}

.nav-link {
    color: var(--dark-bg);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    padding: 0.8em 1.2em;
    border-radius: 6px;
    border: 2px solid transparent;
    white-space: nowrap; /* Prevents text wrapping */
}

.nav-link:hover,
.nav-link:focus {
    color: var(--secondary-color);
    background: var(--light-bg);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.nav-link[aria-current="page"] {
    color: white;
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.nav-link[aria-current="page"]:hover,
.nav-link[aria-current="page"]:focus {
    background: #a53e4d;
    color: white;
    border-color: #a53e4d;
}

/* Sections with alternating backgrounds */
section {
    padding: 4em 0;
}

/* Alternate section backgrounds */
.intro-section {
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--background-color) 100%);
}

.offer-section {
    background: var(--background-color);
}

.work-section {
    background: var(--medium-bg);
}

.approach-section {
    background: var(--light-bg);
}

.articles-section {
    background: var(--medium-bg);
}

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

.contact-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #4a8fa8 100%);
    color: white;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: var(--text-color);
    margin-bottom: 1em;
    text-align: center;
}

.contact-section .section-title {
    color: white;
}

/* Grid Layouts */
.intro-grid,
.offer-grid,
.work-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4em;
    align-items: center;
}

.approach-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4em;
}

/* Cards and containers with shadows */
.intro-content,
.offer-content,
.work-content,
.approach-content,
.fees-section {
    background: white;
    padding: 2.5em;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.fees-section {
    background: var(--light-bg);
    margin-top: 2em;
}

/* Images */
.intro-image img,
.offer-image img,
.work-image img,
.stones-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.intro-image img:hover,
.offer-image img:hover,
.work-image img:hover {
    transform: translateY(-5px);
}

.intro-portrait {
    max-width: 400px;
}

.forest-portrait {
    max-width: 683px;
}

.professional-portrait {
    max-width: 376px;
}

.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8em;
    background: var(--secondary-color);
    color: white;
    padding: 16px 38px;
    text-decoration: none;
    border: none;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin-top: 1.5em;
    box-shadow: 0 4px 15px rgba(189, 75, 92, 0.3);
}

.cta-button:hover,
.cta-button:focus {
    background: #a53e4d;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(189, 75, 92, 0.4);
}

.cta-button svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Lists */
.qualifications-list,
.help-list {
    list-style: none;
    margin: 1.5em 0;
}

.qualifications-list li,
.help-list li {
    padding: 0.5em 0;
    padding-left: 1.5em;
    position: relative;
    background: var(--light-bg);
    margin-bottom: 0.5em;
    border-radius: 6px;
    padding: 0.8em 1em 0.8em 2.5em;
}

.qualifications-list li::before,
.help-list li::before {
    content: "✓";
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: 1em;
    top: 50%;
    transform: translateY(-50%);
}

/* Contact Section */
.contact-methods {
    display: flex;
    justify-content: center;
    gap: 3em;
    margin-top: 2em;
    flex-wrap: wrap;
}

.contact-link {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 600;
    padding: 1em 2em;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

.contact-link:hover,
.contact-link:focus {
    background: white;
    color: var(--primary-color);
    border-color: white;
    transform: translateY(-2px);
}

/* Footer - WCAG Compliant */
.site-footer {
    background: var(--dark-bg);
    color: white;
    padding: 3em 0 2em;
    margin-top: 4em;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-copyright {
    margin-bottom: 1.5em;
    font-size: 1.1em;
}

.footer-copyright a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.footer-copyright a:hover {
    color: #8bc4d9;
    text-decoration: underline;
}

.accessibility-statement {
    font-size: 0.9em;
    opacity: 0.9;
    background: rgba(255, 255, 255, 0.1);
    padding: 1em;
    border-radius: 6px;
    margin-top: 1.5em;
}

.accessibility-statement a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
}

.accessibility-statement a:hover {
    color: #8bc4d9;
}

/* Footer secondary nav (articles links) */
.footer-secondary-nav {
    margin-top: 1.5em;
    padding: 1em 0 0.5em;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5em 2em;
    font-size: 0.95em;
    line-height: 1.6;
}

.footer-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease, background-color 0.2s ease;
    padding: 0.15em 0.3em;
    border-radius: 3px;
}

.footer-link:hover,
.footer-link:focus {
    color: #8bc4d9;
    text-decoration: none;
    background-color: rgba(168, 216, 235, 0.15);
}

/* High contrast footer links — extend to new footer-link class */
@media (prefers-contrast: high) {
    .footer-copyright a,
    .accessibility-statement a,
    .footer-link {
        color: #a8d8eb !important; /* Much lighter blue */
        text-decoration: underline;
        font-weight: 700; /* Bolder text */
    }

    .footer-copyright a:hover,
    .footer-copyright a:focus,
    .accessibility-statement a:hover,
    .accessibility-statement a:focus,
    .footer-link:hover,
    .footer-link:focus {
        color: #ffffff !important; /* Pure white on hover */
        text-decoration: none;
        background-color: rgba(168, 216, 235, 0.2);
    }
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.scroll-top-btn:hover,
.scroll-top-btn:focus {
    background: #a53e4d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.scroll-top-btn svg {
    width: 24px;
    height: 24px;
}

/* Mobile-only section */
.mobile-image-section {
    display: none;
    background: var(--medium-bg);
    padding: 2em 0;
}

/* Subsection titles */
.subsection-title {
    color: var(--secondary-color);
    margin: 1.5em 0 0.5em 0;
    font-size: 1.4em;
}

.help-title {
    color: var(--secondary-color);
    margin: 2em 0 1em 0;
    font-size: 1.6em;
}

.fees-title {
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 1em;
    font-size: 1.8em;
}

.fees-content {
    text-align: center;
}

.fees-content p {
    margin-bottom: 1em;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2em;
    margin-top: 2em;
}
.testimonial-card {
    background: var(--light-bg);
    padding: 2.5em;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover,
.testimonial-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.quote-icon {
    width: 32px;
    height: 32px;
    color: var(--secondary-color);
    margin-bottom: 1em;
    flex-shrink: 0;
}

.testimonial-card blockquote {
    flex: 1;
    margin: 0;
}

.testimonial-card blockquote p {
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-color);
    font-style: italic;
}

.testimonial-card figcaption {
    margin-top: 1.5em;
    padding-top: 1.2em;
    border-top: 2px solid var(--primary-color);
}

.testimonial-card figcaption cite {
    font-style: normal;
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 1.05em;
    font-family: 'Playfair Display', serif;
}

/* Articles & Insights teaser cards */
.articles-intro {
    color: var(--text-color);
    font-size: 1.05em;
}

.articles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2em;
}

.article-card {
    background: var(--background-color);
    padding: 2.2em;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover,
.article-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.article-icon {
    width: 36px;
    height: 36px;
    color: var(--primary-color);
    margin-bottom: 0.8em;
    flex-shrink: 0;
}

.article-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    line-height: 1.35;
    margin: 0 0 0.8em 0;
    color: var(--text-color);
}

.article-card-link {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-card-link:hover,
.article-card-link:focus {
    color: var(--secondary-color);
    outline: none;
}

.article-card-excerpt {
    color: var(--text-color);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 1.5em;
}

.article-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
    padding-top: 1.2em;
    border-top: 2px solid var(--light-bg);
}

.article-card-author {
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.9em;
    opacity: 0.85;
}

.article-card-readmore {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.article-card-readmore:hover,
.article-card-readmore:focus {
    color: var(--primary-color);
    transform: translateX(2px);
    outline: none;
}

/* Standalone article pages */
.article-page {
    padding: 3em 20px 1em;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 2em;
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5em;
    font-size: 0.9em;
    padding: 0;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.breadcrumb-item::after {
    content: "\203A";
    color: var(--text-color);
    opacity: 0.5;
    font-weight: 600;
}

.breadcrumb-item:last-child::after {
    content: "";
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-item a:hover,
.breadcrumb-item a:focus {
    color: var(--secondary-color);
    text-decoration: underline;
}

.breadcrumb-item [aria-current="page"] {
    color: var(--text-color);
    font-weight: 500;
}

/* Article header */
.article {
    max-width: 860px;
    margin: 0 auto 3em;
}

.article-header {
    margin-bottom: 2.5em;
    padding-bottom: 2em;
    border-bottom: 2px solid var(--border-color);
}

.article-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    line-height: 1.2;
    color: var(--text-color);
    margin: 0 0 0.8em 0;
}

.article-meta {
    background: var(--light-bg);
    padding: 1.2em 1.5em;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.article-meta p {
    margin: 0.25em 0;
    font-size: 0.95em;
}

.article-meta strong {
    color: var(--text-color);
}

.article-byline {
    font-weight: 500;
}

.article-date {
    color: var(--text-color);
    opacity: 0.85;
}

.article-attribution {
    margin-top: 0.5em !important;
    font-size: 0.9em !important;
}

.article-attribution a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.article-attribution a:hover,
.article-attribution a:focus {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Article content typography */
.article-content {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.05em;
}

.article-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    line-height: 1.3;
    color: var(--text-color);
    margin: 2em 0 0.8em 0;
    padding-bottom: 0.3em;
    border-bottom: 2px solid var(--border-color);
}

.article-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    line-height: 1.35;
    color: var(--secondary-color);
    margin: 1.8em 0 0.6em 0;
}

.article-content p {
    margin: 0 0 1.2em 0;
    line-height: 1.8;
}

.article-content strong {
    color: var(--text-color);
    font-weight: 600;
}

.article-content em {
    font-style: italic;
    color: var(--text-color);
}

.article-content ul {
    margin: 1em 0 1.5em 0;
    padding-left: 0;
    list-style: none;
}

.article-content ul li {
    padding: 0.6em 0 0.6em 2em;
    position: relative;
    background: var(--light-bg);
    margin-bottom: 0.5em;
    border-radius: 6px;
    line-height: 1.7;
}

.article-content ul li::before {
    content: "\2022";
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.2em;
    position: absolute;
    left: 0.8em;
    top: 50%;
    transform: translateY(-50%);
}

.article-content a {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
    word-break: break-word;
}

.article-content a:hover,
.article-content a:focus {
    color: var(--secondary-color);
}

/* Article footer */
.article-footer {
    margin-top: 3.5em;
    padding-top: 2em;
    border-top: 2px solid var(--border-color);
}

.article-republish {
    background: var(--light-bg);
    padding: 1.2em 1.5em;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    font-size: 0.95em;
    line-height: 1.7;
    margin-bottom: 2em;
}

.article-republish a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.article-republish a:hover,
.article-republish a:focus {
    color: var(--secondary-color);
    text-decoration: underline;
}

.article-footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2em;
}

.article-footer-links li a {
    display: block;
    padding: 1.2em 1.5em;
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-decoration: none;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.article-footer-links li a:hover,
.article-footer-links li a:focus {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    outline: none;
}

.footer-link-label {
    display: block;
    font-size: 0.85em;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.3em;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.footer-link-title {
    display: block;
    color: var(--text-color);
    font-weight: 500;
    line-height: 1.5;
}

/* Article figures / inline images */
.article-figure {
    margin: 2em 0;
    padding: 0;
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.article-figure--hero {
    margin: 0 0 2.5em 0;
}

.article-figure img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    margin: 0 auto;
    border: 0;
}

.article-figure-caption {
    padding: 1em 1.5em 1.2em 1.5em;
    font-size: 0.9em;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--light-bg);
    border-top: 1px solid var(--border-color);
    font-style: italic;
}

.article-figure-caption::before {
    content: "\201C";
    color: var(--secondary-color);
    font-size: 1.2em;
    font-weight: 700;
    margin-right: 0.15em;
    font-style: normal;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles */
button:focus,
a:focus,
.nav-link:focus,
.cta-button:focus,
.contact-link:focus {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
}

/* In-page anchor target visibility (WCAG 2.4.3 Focus Order) */
section:target {
    scroll-margin-top: 1.5rem;
}

article:target,
[id]:target {
    scroll-margin-top: 1.5rem;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0066cc;
        --secondary-color: #cc0000;
        --text-color: #000000;
        --background-color: #ffffff;
        --light-bg: #f0f0f0;
        --medium-bg: #e0e0e0;
    }
    
    .nav-link:hover,
    .nav-link:focus {
        background: #000000;
        color: #ffffff;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .intro-image img:hover,
    .offer-image img:hover,
    .work-image img:hover,
    .cta-button:hover,
    .contact-link:hover,
    .testimonial-card:hover,
    .testimonial-card:focus-within,
    .article-card:hover,
    .article-card:focus-within,
    .article-footer-links li a:hover,
    .article-footer-links li a:focus,
    .article-figure:hover,
    .article-figure:focus-within {
        transform: none;
        box-shadow: var(--shadow);
        transition: none;
    }

    .testimonials-grid,
    .articles-grid,
    .article-footer-nav ul {
        grid-template-columns: 1fr;
        gap: 2em;
    }



    /* Grid Layouts */
    .intro-grid,
    .offer-grid,
    .work-grid,
    .approach-grid {
        grid-template-columns: 1fr;
        gap: 2em;
    }

    .offer-grid {
        grid-template-areas: 
            "text"
            "image";
    }

    .offer-text {
        grid-area: text;
    }

    .offer-image {
        grid-area: image;
    }

    /* Contact Section */
    .contact-methods {
        flex-direction: column;
        gap: 1em;
    }

    /* Mobile-only Image Section */
    .mobile-image-section {
        display: block;
    }

    .mobile-image img {
        width: 100%;
        height: auto;
        border-radius: 8px;
    }

    /* Content Padding */
    .intro-content,
    .offer-content,
    .work-content,
    .approach-content,
    .fees-section,
    .testimonial-card,
    .article-card,
    .article-page {
        padding: 1.5em;
    }

    /* Section Spacing */
    section {
        padding: 3em 0;
    }

    .article-title {
        font-size: 2rem;
    }

    .article-content h2 {
        font-size: 1.6rem;
    }

    .article-content h3 {
        font-size: 1.3rem;
    }

    /* Button Sizing */
    .cta-button {
        padding: 14px 30px;
        font-size: 1em;
        width: 100%;
        justify-content: center;
    }

    /* Contact Links */
    .contact-link {
        padding: 0.8em 1.5em;
        font-size: 1.1em;
        text-align: center;
    }

    /* Lists */
    .qualifications-list li,
    .help-list li {
        padding: 0.8em 1em 0.8em 2.5em;
        font-size: 0.95em;
    }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    /* Typography adjustments for mobile */
    h1 {
        font-size: 3em;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    h3 {
        font-size: 1.6rem;
        line-height: 1.2;
    }
    
    .section-title {
        font-size: 2.2rem;
    }

    /* Header adjustments */
    .header-container {
        flex-direction: column;
        gap: 1em;
        text-align: center;
    }
    
    .site-logo {
        max-width: 340px;
    }

    /* Navigation for mobile */
      .nav-menu {
        gap: 0.8em; /* Tighter spacing on mobile */
        padding: 0.8em 1em;
        justify-content: center; /* Ensure centering */
    }
    
    .nav-link {
        padding: 0.6em 1em;
        font-size: 1em; /* Slightly smaller on mobile */
        text-align: center;
    }

    /* Grid Layouts - stack sections vertically with consistent image-first order */
    .intro-grid,
    .offer-grid,
    .work-grid,
    .approach-grid {
        grid-template-columns: 1fr;
        gap: 2em;
    }

    /* Force consistent stacking: image first, then text */
    .intro-grid {
        grid-template-areas: 
            "image"
            "text";
    }

    .offer-grid {
        grid-template-areas: 
            "image"
            "text";
    }

    .work-grid {
        grid-template-areas: 
            "image"
            "text";
    }

    .approach-grid {
        grid-template-areas: 
            "image"
            "text";
    }

    /* Assign grid areas */
    .intro-image { grid-area: image; }
    .intro-content { grid-area: text; }
    .offer-image { grid-area: image; }
    .offer-content { grid-area: text; }
    .work-image { grid-area: image; }
    .work-content { grid-area: text; }
    .stones-image { grid-area: image; }
    .approach-content { grid-area: text; }

    /* Contact Section */
    .contact-methods {
        flex-direction: column;
        gap: 1em;
        align-items: center;
    }

    /* Content Padding */
    .intro-content,
    .offer-content,
    .work-content,
    .approach-content,
    .fees-section,
    .testimonial-card,
    .article-card,
    .article-page {
        padding: 1.5em;
    }

    /* Section Spacing */
    section {
        padding: 2em 0;
    }

    /* Button Sizing */
    .cta-button {
        padding: 14px 30px;
        font-size: 1em;
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    .contact-methods {
        flex-direction: column;
        gap: 1.5em;
        align-items: center;
        padding: 0 1em;
    }

    .contact-link {
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        padding: 1.2em 2em;
        text-align: center;
    }

    /* Remove any existing margins that might be causing overlap */
    .contact-method {
        margin: 0;
        padding: 0;
        width: 100%;
    }

    /* Lists */
    .qualifications-list li,
    .help-list li {
        padding: 0.8em 1em 0.8em 2.5em;
        font-size: 0.95em;
    }

    /* Testimonials responsive */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5em;
    }

    .testimonial-card {
        padding: 1.5em;
    }

    /* Articles teaser responsive */
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5em;
    }

    /* Standalone article responsive */
    .article-footer-nav ul {
        grid-template-columns: 1fr;
        gap: 1em;
    }

    .article-title {
        font-size: 2rem;
    }

    .article-content h2 {
        font-size: 1.6rem;
    }

    .article-content h3 {
        font-size: 1.3rem;
    }

    .article-meta {
        padding: 1em;
    }

    .breadcrumb-list {
        flex-wrap: wrap;
        gap: 0.3em 0.6em;
    }

    /* Article figures */
    .article-figure {
        margin: 1.5em 0;
        border-radius: 8px;
    }

    .article-figure--hero {
        margin: 0 0 2em 0;
    }

    .article-figure-caption {
        padding: 0.9em 1.2em 1em 1.2em;
        font-size: 0.88em;
    }

    /* Images */
    .intro-image img,
    .offer-image img,
    .work-image img,
    .stones-image img {
            display: inline-block;
        max-width: 100%;
        margin: 0 auto;
    }

    /* Scroll to top button */
    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    h1 {
        font-size: 2.5em;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .intro-content,
    .offer-content,
    .work-content,
    .approach-content,
    .fees-section,
    .testimonial-card,
    .article-card,
    .article-page,
    .article-meta,
    .article-republish {
        padding: 1em;
    }

    .article-title {
        font-size: 1.8rem;
    }

    .article-content h2 {
        font-size: 1.4rem;
    }

    /* Article figures (small mobile) */
    .article-figure {
        margin: 1.2em 0;
        border-radius: 6px;
    }

    .article-figure--hero {
        margin: 0 0 1.5em 0;
    }

    .article-figure-caption {
        padding: 0.8em 1em 0.9em 1em;
        font-size: 0.85em;
    }
}
/* Accessibility page styles */
.accessibility-content {
    max-width: 800px;
    margin: 0 auto;
}

.accessibility-content h2 {
    color: var(--secondary-color);
    margin: 2em 0 1em 0;
    font-size: 1.6em;
}

.accessibility-content ul {
    margin: 1em 0;
    padding-left: 2em;
}

.accessibility-content li {
    margin-bottom: 0.5em;
}
.back-to-home {
    text-align: center;
    margin-top: 3em;
    padding-top: 2em;
    border-top: 1px solid var(--border-color);
}

.back-to-home .cta-button {
    display: inline-flex;
    width: auto;
}


/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark-bg);
    color: white;
    padding: 1.5em;
    z-index: 10000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.cookie-content p {
    margin-bottom: 1em;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 1em;
    justify-content: center;
    margin: 1.5em 0;
    flex-wrap: wrap;
}

.cookie-buttons .btn {
    padding: 0.8em 2em;
    border: 2px solid white;
    border-radius: 6px;
    background: transparent;
    color: white;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.cookie-buttons .btn-accept {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.cookie-buttons .btn-accept:hover,
.cookie-buttons .btn-accept:focus {
    background: #a53e4d;
    border-color: #a53e4d;
    transform: translateY(-2px);
}

.cookie-buttons .btn-reject:hover,
.cookie-buttons .btn-reject:focus {
    background: white;
    color: var(--dark-bg);
    transform: translateY(-2px);
}

.cookie-links {
    display: flex;
    gap: 2em;
    justify-content: center;
    flex-wrap: wrap;
}

.cookie-links a {
    color: #a8d8eb !important; /* Light blue for good contrast */
    text-decoration: underline;
    font-weight: 600;
}

.cookie-links a:hover,
.cookie-links a:focus {
    color: #ffffff !important; /* Pure white on hover */
    text-decoration: none;
    background-color: rgba(168, 216, 235, 0.2);
    padding: 2px 4px;
    border-radius: 3px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 1em;
    }
    
    .cookie-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cookie-buttons .btn {
        width: 100%;
        max-width: 200px;
    }
    
    .cookie-links {
        flex-direction: column;
        gap: 0.5em;
    }
    
    /* Keep the same colors on mobile - these are redundant now but safe to keep */
    .cookie-links a {
        color: #a8d8eb !important;
    }
    
    .cookie-links a:hover,
    .cookie-links a:focus {
        color: #ffffff !important;
    }
}
/* Accessibility & Privacy Page Styles */
.accessibility-content {
    max-width: 800px;
    margin: 0 auto;
}

.accessibility-content h2 {
    color: #000c30; /* Using your --text-color for better contrast (7:1 ratio) */
    margin: 2.5em 0 1em 0;
    font-size: 1.8em;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5em;
}

.accessibility-content h3 {
    color: #000c30; /* Using --text-color instead of --primary-color for better contrast */
    margin: 1.5em 0 0.8em 0;
    font-size: 1.4em;
}

.accessibility-content ul {
    margin: 1em 0;
    padding-left: 2em;
}

.accessibility-content li {
    margin-bottom: 0.8em;
    line-height: 1.6;
}

.accessibility-content strong {
    color: #000c30; /* High contrast instead of --secondary-color */
    font-weight: 600;
}

.back-to-home {
    text-align: center;
    margin-top: 4em;
    padding-top: 2em;
    border-top: 2px solid var(--border-color);
}

.back-to-home .cta-button {
    display: inline-flex;
    width: auto;
    margin: 0 auto;
}

/* Contact methods styling for the policy page */
.accessibility-content .contact-methods {
    margin: 2em 0;
    justify-content: center;
}

.accessibility-content .contact-link {
    color: #000c30; /* High contrast text */
    background: var(--light-bg);
    border-color: #000c30; /* High contrast border */
    font-weight: 600;
}

.accessibility-content .contact-link:hover,
.accessibility-content .contact-link:focus {
    color: white;
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* Ensure all text has sufficient contrast */
.accessibility-content {
    color: #000c30; /* Your --text-color */
}

.accessibility-content p {
    color: #000c30;
}
/* If you prefer to keep your brand colors but ensure contrast */
.cookie-buttons .btn-accept {
    background: #bd4b5c !important; /* Your original color */
    border-color: #bd4b5c !important;
    color: white !important;
    font-weight: 700;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3); /* Adds subtle text shadow for better contrast */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Adds depth */
}

.cookie-buttons .btn-accept:hover,
.cookie-buttons .btn-accept:focus {
    background: #a53e4d !important;
    border-color: #a53e4d !important;
    color: white !important;
}

/* Desktop multi-column overrides for grids (must be LAST rule to win cascade) */
@media (min-width: 769px) {
    .testimonials-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 2em !important;
    }

    .articles-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 2em !important;
    }

    .article-footer-nav ul {
        grid-template-columns: 1fr 1fr !important;
        gap: 1.2em !important;
    }
}