/* ============================================================
   YourUtilities.co.uk - Mobile-first stylesheet
   Modern, conversion-focused energy comparison design
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
    --color-primary: #16a34a;
    --color-primary-dark: #15803d;
    --color-primary-light: #dcfce7;
    --color-primary-50: #f0fdf4;
    --color-secondary: #0f766e;
    --color-text: #0f172a;
    --color-text-light: #475569;
    --color-text-muted: #94a3b8;
    --color-bg: #ffffff;
    --color-bg-alt: #f8fafc;
    --color-bg-dark: #0f172a;
    --color-border: #e2e8f0;
    --color-border-light: #f1f5f9;
    --color-white: #ffffff;
    --color-error: #dc2626;
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.08);
    --shadow-xl: 0 20px 48px rgba(0,0,0,0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --max-width: 1200px;
    --header-height: 72px;
    --transition: 0.2s ease;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary); text-decoration: underline; }

h1, h2, h3, h4 {
    line-height: 1.2;
    color: var(--color-text);
    font-weight: 800;
    letter-spacing: -0.02em;
}
h1 { font-size: 2.25rem; margin-bottom: 1rem; }
h2 { font-size: 1.6rem; margin-top: 2.5rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.15rem; margin-top: 1.5rem; margin-bottom: 0.5rem; font-weight: 700; }
p { margin-bottom: 1rem; }
ul, ol { margin-bottom: 1rem; padding-left: 1.5em; }
li { margin-bottom: 0.35rem; }

/* --- Utility --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.25rem;
}
.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;
}
.skip-link {
    position: absolute;
    left: -9999px;
    top: 1rem;
    z-index: 999;
    padding: 0.5rem 1rem;
    background: var(--color-primary);
    color: var(--color-white);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-sm);
}
.skip-link:focus { left: 1rem; }
.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }

.section-heading {
    text-align: center;
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

/* --- Header --- */
.site-header {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height);
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.site-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--color-text);
    text-decoration: none;
}
.site-logo:hover { color: var(--color-primary); text-decoration: none; }
.site-logo img { height: 36px; width: auto; }

/* Navigation */
.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--color-text);
}
.nav-toggle svg { width: 22px; height: 22px; }

.site-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    padding: 1rem 0;
    z-index: 99;
}
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; padding: 0; margin: 0; }
.site-nav li { border-bottom: 1px solid var(--color-border-light); }
.site-nav li:last-child { border-bottom: none; }
.site-nav a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.95rem;
}
.site-nav a:hover {
    background: var(--color-primary-50);
    color: var(--color-primary-dark);
    text-decoration: none;
}

/* Nav dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown .nav-dropdown-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    width: 100%;
    gap: 0.75rem;
}
.nav-dropdown-label::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--color-text-muted);
    border-bottom: 2px solid var(--color-text-muted);
    transform: rotate(45deg);
    transition: transform var(--transition);
    margin-left: auto;
}
.nav-dropdown.is-open .nav-dropdown-label::after {
    transform: rotate(-135deg);
}
.nav-dropdown-menu {
    display: none;
    padding-left: 1rem;
    background: var(--color-bg-alt);
}
.nav-dropdown.is-open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* --- Homepage Hero --- */
.hero-home {
    background: linear-gradient(160deg, #f0fdf4 0%, #ecfdf5 30%, #ffffff 70%);
    padding: 3rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}
.hero-home::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(22,163,74,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.hero-home-inner {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}
.hero-home-copy h1 {
    font-size: 2.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}
.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    line-height: 1.6;
    max-width: 500px;
}
.hero-reassurance {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.hero-reassurance li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    margin: 0;
}
.hero-reassurance svg { color: var(--color-primary); flex-shrink: 0; }

.hero-home-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.hero-cta-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--color-text);
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.hero-cta-card:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    text-decoration: none;
}
.hero-cta-icon {
    width: 52px;
    height: 52px;
    background: var(--color-primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-dark);
    flex-shrink: 0;
}
.hero-cta-icon svg { width: 26px; height: 26px; }
.hero-cta-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    flex: 1;
}
.hero-cta-text strong {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
}
.hero-cta-text small {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}
.hero-cta-arrow {
    color: var(--color-text-muted);
    flex-shrink: 0;
    transition: transform var(--transition), color var(--transition);
}
.hero-cta-card:hover .hero-cta-arrow {
    transform: translateX(3px);
    color: var(--color-primary);
}
.hero-what-next {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin: 0;
}
.hero-phone {
    margin-top: 1.25rem;
    font-size: 1.05rem;
    color: var(--color-text-muted);
    text-align: center;
}
.hero-phone a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
}

/* --- Hero: single CTA variant (business page) --- */
.hero-cta-single {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.hero-cta-single .btn {
    width: 100%;
}
.hero-phone-inline {
    font-size: 1rem;
    color: var(--color-text-muted);
}
.hero-phone-inline a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
}

/* --- Featured In --- */
.featured-in {
    background: var(--color-bg-alt);
    padding: 1.75rem 0;
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
}
.featured-in-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    text-align: center;
}
.featured-in-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem 2.5rem;
}
.featured-in-logo {
    height: 28px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: filter var(--transition), opacity var(--transition);
}
.featured-in-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* --- Steps Section (How It Works) --- */
.steps-section {
    padding: 4rem 0;
    background: var(--color-white);
}
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    counter-reset: steps;
}
.step {
    text-align: center;
    padding: 1.5rem 1rem;
}
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 1.25rem;
    font-weight: 800;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}
.step h3 {
    margin-top: 0;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}
.step p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    max-width: 320px;
    margin: 0 auto;
}

/* --- Trust Section --- */
.trust-section {
    padding: 3.5rem 0;
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
}
.trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.trust-item {
    text-align: center;
    padding: 1rem 0.5rem;
}
.trust-item svg {
    color: var(--color-primary);
    margin: 0 auto 0.75rem;
    display: block;
}
.trust-item h3 {
    margin-top: 0;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.trust-item p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin: 0;
    line-height: 1.5;
}

/* --- Cards --- */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}
.card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.card--elevated {
    box-shadow: var(--shadow-sm);
    border: none;
}
.card--elevated:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}
.card-icon {
    width: 52px;
    height: 52px;
    background: var(--color-primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--color-primary-dark);
}
.card-icon svg { width: 26px; height: 26px; }
.card h2, .card h3 {
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
}
.card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background var(--transition), transform 0.1s, box-shadow var(--transition);
    line-height: 1.4;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.98); }

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 2px 8px rgba(22,163,74,0.25);
}
.btn-primary:hover {
    background: var(--color-primary-dark);
    color: var(--color-white);
    box-shadow: 0 4px 16px rgba(22,163,74,0.3);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary-dark);
    border: 2px solid var(--color-primary);
}
.btn-outline:hover {
    background: var(--color-primary-50);
    color: var(--color-primary-dark);
}

.btn-lg {
    padding: 1.1rem 2.25rem;
    font-size: 1.1rem;
    border-radius: var(--radius-md);
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

/* --- CTA Block --- */
.cta-block {
    background: linear-gradient(135deg, var(--color-primary-50) 0%, #ecfdf5 100%);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    margin: 3rem 0;
    text-align: center;
    border: none;
}
.cta-block h2 {
    margin-top: 0;
    color: var(--color-primary-dark);
    font-size: 1.5rem;
}
.cta-block p {
    color: var(--color-text-light);
    max-width: 500px;
    margin: 0 auto 1.5rem;
}
.cta-block .hero-what-next {
    margin-top: 1rem;
}
.cta-block .cta-phone {
    margin-top: 0.75rem;
    color: var(--color-text-muted);
}

/* --- Content Section --- */
.content-section {
    padding: 4rem 0;
}
.content-section--alt {
    background: var(--color-bg-alt);
}
.content-section--alt .cta-block {
    margin: 0;
}
.content-section + .content-section {
    border-top: none;
}
.content-body {
    max-width: 800px;
}
.content-body--centered {
    max-width: 700px;
    margin: 0 auto;
}
.content-body h2 { color: var(--color-text); }
.content-body > h2:first-child { margin-top: 0; }
.content-body ul li, .content-body ol li {
    color: var(--color-text-light);
}

/* --- Checklist --- */
.checklist {
    list-style: none;
    padding: 0;
}
.checklist li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.65rem;
    color: var(--color-text-light);
    line-height: 1.6;
}
.checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.1rem;
}

/* --- Related Industries Grid --- */
.related-industries-grid {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.5rem 1rem;
    margin: 1rem 0 0;
}
.related-industries-grid li a {
    display: block;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.15s, border-color 0.15s;
}
.related-industries-grid li a:hover {
    background: var(--color-bg-alt);
    border-color: var(--color-primary);
}

/* --- FAQ Section --- */
.faq-home-section {
    padding: 4rem 0;
    background: var(--color-bg-alt);
}
.faq-section { margin: 2rem auto; max-width: 800px; }
.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    overflow: hidden;
    background: var(--color-white);
}
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.1rem 1.5rem;
    background: var(--color-white);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    text-align: left;
    font-family: var(--font-sans);
    line-height: 1.4;
    transition: background var(--transition);
}
.faq-question:hover {
    background: var(--color-bg-alt);
}
.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-text-muted);
    flex-shrink: 0;
    margin-left: 1rem;
    transition: transform var(--transition);
}
.faq-item.is-open .faq-question::after {
    content: '\2212';
}
.faq-answer {
    display: none;
    padding: 0.75rem 1.5rem 1.25rem;
    color: var(--color-text-light);
    line-height: 1.7;
}
.faq-item.is-open .faq-answer { display: block; }

/* --- Expandable / Collapsible --- */
.expandable {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    margin: 1.5rem 0;
}
.expandable-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.85rem 1.25rem;
    background: var(--color-bg-alt);
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-light);
    text-align: left;
    font-family: var(--font-sans);
}
.expandable-toggle::after {
    content: '+';
    font-size: 1.1rem;
    color: var(--color-text-muted);
}
.expandable.is-open .expandable-toggle::after { content: '\2212'; }
.expandable-content {
    display: none;
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}
.expandable.is-open .expandable-content { display: block; }

/* --- Page Hero (inner pages) --- */
.page-hero {
    background: linear-gradient(160deg, var(--color-primary-50) 0%, var(--color-white) 100%);
    padding: 3rem 0 3rem;
    border-bottom: 1px solid var(--color-border-light);
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(22,163,74,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.page-hero h1 {
    font-size: 2rem;
    color: var(--color-text);
}
.page-hero p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 640px;
}
.page-hero .hero-home-inner {
    margin-top: 0.5rem;
}

/* --- Sticky CTA Bar (home + business pages) --- */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
    padding: 0.75rem 0;
    z-index: 90;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.sticky-cta.is-visible {
    transform: translateY(0);
}
.sticky-cta .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.sticky-cta-text {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text);
    display: none;
}
.sticky-cta .btn {
    flex-shrink: 0;
    width: 100%;
}

/* --- Industry Grid (business page) --- */
.industry-section {
    margin: 2rem 0;
}
.industry-search {
    display: block;
    width: 100%;
    max-width: 400px;
    padding: 0.85rem 1.25rem;
    font-size: 1rem;
    font-family: var(--font-sans);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    outline: none;
    transition: border-color var(--transition);
}
.industry-search:focus {
    border-color: var(--color-primary);
}
.industry-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin: 0 0 1rem;
}
.industry-link {
    display: block;
    padding: 0.85rem 1.15rem;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.industry-link:hover {
    border-color: var(--color-primary);
    background: var(--color-primary-50);
    color: var(--color-primary-dark);
    text-decoration: none;
    transform: translateX(2px);
}
.industry-link.is-hidden {
    display: none;
}
.industry-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.25rem;
    background: none;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-light);
    transition: border-color var(--transition), color var(--transition);
    margin-bottom: 1rem;
}
.industry-toggle:hover {
    border-color: var(--color-primary);
    color: var(--color-primary-dark);
}

/* --- Breadcrumbs --- */
.breadcrumbs {
    padding: 0.75rem 0;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}
.breadcrumbs a { color: var(--color-text-muted); }
.breadcrumbs a:hover { color: var(--color-primary); }
.breadcrumbs span { margin: 0 0.4rem; }

/* --- Footer --- */
.site-footer {
    margin-top: auto;
    background: var(--color-bg-dark);
    color: #94a3b8;
    padding: 3rem 0 1.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-col h4 {
    color: var(--color-white);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a { color: #94a3b8; }
.footer-col a:hover { color: var(--color-white); text-decoration: underline; }
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--color-white);
    margin-bottom: 0.75rem;
    text-decoration: none;
}
.footer-logo:hover { color: var(--color-primary-light); text-decoration: none; }
.footer-disclaimer {
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.5;
    margin-top: 0.5rem;
}
.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #64748b;
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-social a:hover {
    color: #f1f5f9;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: #64748b;
}
.footer-company-info { line-height: 1.5; }

/* --- Legal / Content Pages --- */
.legal-content {
    padding: 2.5rem 0 3rem;
}
.legal-content h1 { margin-bottom: 1.5rem; }
.legal-content h2 {
    margin-top: 2rem;
    font-size: 1.3rem;
}
.legal-content p, .legal-content li {
    color: var(--color-text-light);
}

/* --- 404 Page --- */
.error-page {
    text-align: center;
    padding: 5rem 0;
}
.error-page h1 {
    font-size: 5rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}
.error-page p { color: var(--color-text-light); font-size: 1.1rem; }
.error-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 2rem;
}
.error-links a {
    padding: 0.7rem 1.5rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: border-color var(--transition), background var(--transition);
}
.error-links a:hover {
    border-color: var(--color-primary);
    background: var(--color-primary-50);
    color: var(--color-primary-dark);
    text-decoration: none;
}

/* --- Contact --- */
.contact-info {
    margin: 1.5rem 0;
}
.contact-info dt {
    font-weight: 600;
    color: var(--color-text);
    margin-top: 1rem;
}
.contact-info dd {
    color: var(--color-text-light);
    margin-left: 0;
}

/* --- Last updated badge --- */
.last-updated {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    background: var(--color-bg-alt);
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
}

/* ============================================================
   Responsive: Tablet (640px+)
   ============================================================ */
@media (min-width: 640px) {
    h1 { font-size: 2.5rem; }
    .hero-home-copy h1 { font-size: 3rem; }
    .steps-grid { grid-template-columns: 1fr 1fr 1fr; }
    .trust-grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
    .card-grid { grid-template-columns: 1fr 1fr; }
    .industry-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .sticky-cta-text { display: block; }
    .sticky-cta .btn { width: auto; }
}

/* ============================================================
   Responsive: Desktop (1024px+)
   ============================================================ */
@media (min-width: 1024px) {
    h1 { font-size: 2.75rem; }
    .hero-home { padding: 5rem 0 5rem; }
    .hero-home-inner {
        display: grid;
        grid-template-columns: 1fr 400px;
        grid-template-areas:
            "copy    actions"
            "bullets actions";
        column-gap: 3rem;
        row-gap: 0.75rem;
    }
    .hero-home-copy    { grid-area: copy; }
    .hero-reassurance  { grid-area: bullets; margin-top: 1.5rem; }
    .hero-home-actions { grid-area: actions; align-self: center; }

    .page-hero { padding: 3.5rem 0 3rem; }

    /* Desktop nav */
    .nav-toggle { display: none; }
    .site-nav {
        display: flex;
        position: static;
        background: none;
        border: none;
        box-shadow: none;
        padding: 0;
    }
    .site-nav > ul {
        display: flex;
        align-items: center;
        gap: 0;
    }
    .site-nav > ul > li { border-bottom: none; }
    .site-nav a {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        border-radius: var(--radius-sm);
    }
    .site-nav a:hover { background: var(--color-primary-50); }

    /* Desktop dropdown */
    .nav-dropdown { position: relative; }
    .nav-dropdown-label::after {
        width: 6px; height: 6px;
        margin-left: 0.4rem;
    }
    .nav-dropdown-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 220px;
        background: var(--color-white);
        border: 1px solid var(--color-border);
        border-radius: var(--radius-sm);
        box-shadow: var(--shadow-lg);
        padding: 0.5rem 0;
        z-index: 50;
        flex-direction: column;
    }
    .nav-dropdown-menu li {
        display: block;
        border-bottom: none;
    }
    .nav-dropdown-menu a {
        display: block;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        color: var(--color-text);
        border-radius: 0;
    }
    .nav-dropdown-menu a:hover {
        background: var(--color-primary-50);
        color: var(--color-primary-dark);
    }
    .nav-dropdown:hover .nav-dropdown-menu,
    .nav-dropdown.is-open .nav-dropdown-menu { display: block; }

    .card-grid { grid-template-columns: 1fr 1fr; }
    .industry-grid { grid-template-columns: 1fr 1fr 1fr; }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
    .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* ============================================================
   Responsive: Large Desktop (1280px+)
   ============================================================ */
@media (min-width: 1280px) {
    .hero-home-copy h1 { font-size: 3.5rem; }
    .industry-grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
}

/* --- Print styles --- */
@media print {
    .site-header, .site-footer, .nav-toggle, .btn, .cta-block, .sticky-cta { display: none; }
    body { font-size: 12pt; color: #000; }
    a { color: #000; text-decoration: underline; }
}
