/*
Theme Name: Garage Conversion Costs
Theme URI: https://yourdomain.com
Author: Your Name
Author URI: https://yourdomain.com
Description: A Bootstrap 5 based WordPress theme for garage conversion cost comparison.
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: garage-conversion-costs
*/

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/* ========================================
   CSS CUSTOM PROPERTIES / DESIGN TOKENS
   ======================================== */

:root {
    --radius: 0.875rem;
    --radius-sm: calc(var(--radius) - 4px);
    --radius-md: calc(var(--radius) - 2px);
    --radius-lg: var(--radius);
    --radius-xl: calc(var(--radius) + 4px);
    --radius-2xl: calc(var(--radius) + 8px);
    --radius-3xl: calc(var(--radius) + 12px);
    --radius-4xl: calc(var(--radius) + 16px);
	
    --font-sans: "Roboto", ui-sans-serif, system-ui, sans-serif;
    --font-display: "Roboto", ui-sans-serif, system-ui, sans-serif;

    /* Brand Colours */
    --color-navy: #005461;
    --color-navy-soft: #0C7779;
    --color-blue: #249E94;
    --color-orange: #3BC1A8;
    --color-success: #249E94;

    /* Bootstrap */
    --bs-primary: #005461;
    --bs-primary-rgb: 0, 84, 97;
    --bs-primary-bg-subtle: #e5f3f3;
    --bs-primary-border-subtle: #b7d9d8;

    --bs-secondary: #249E94;
    --bs-secondary-rgb: 36, 158, 148;

    --bs-success: #249E94;
    --bs-success-rgb: 36, 158, 148;

    --bs-info: #3BC1A8;
    --bs-info-rgb: 59, 193, 168;

    --bs-warning: #3BC1A8;
    --bs-warning-rgb: 59, 193, 168;

    --bs-danger: #dc2626;
    --bs-danger-rgb: 220, 38, 38;

    --bs-light: #f7fbfb;
    --bs-light-rgb: 247, 251, 251;

    --bs-dark: #005461;
    --bs-dark-rgb: 0, 84, 97;

    /* Base Colours */
    --color-background: #ffffff;
    --color-foreground: #153739;

    --color-card: #ffffff;
    --color-card-foreground: #153739;

    --color-popover: #ffffff;
    --color-popover-foreground: #153739;

    --color-primary: #005461;
    --color-primary-foreground: #f8fafc;

    --color-secondary: #249E94;
    --color-secondary-foreground: #ffffff;

    --color-accent: #3BC1A8;
    --color-accent-foreground: #153739;

    --color-muted: #f3f8f8;
    --color-muted-foreground: #5f7275;

    --color-surface: #f7fbfb;
    --color-surface-strong: #edf7f6;

    --color-destructive: #dc2626;
    --color-destructive-foreground: #ffffff;

    --color-border: #d5e4e3;
    --color-input: #cfe0df;
    --color-ring: #249E94;

    /* Charts */
    --color-chart-1: #005461;
    --color-chart-2: #0C7779;
    --color-chart-3: #249E94;
    --color-chart-4: #3BC1A8;
    --color-chart-5: #8dcfc6;

    /* Shadows */
    --shadow-card: 0 1px 2px rgba(0, 84, 97, 0.06),
                   0 12px 32px -12px rgba(0, 84, 97, 0.16);

    --shadow-lift: 0 2px 4px rgba(0, 84, 97, 0.06),
                   0 24px 60px -20px rgba(0, 84, 97, 0.28);

    --shadow-glow: 0 18px 44px -18px rgba(59, 193, 168, 0.45);

    /* Layout */
    --container-max-width: 80rem;
    --container-padding-x: 1.25rem;

    /* Bootstrap Body */
    --bs-body-font-family: var(--font-sans);
    --bs-body-font-size: 1rem;
    --bs-body-font-weight: 400;
    --bs-body-line-height: 1.6;
    --bs-body-color: var(--color-foreground);
    --bs-body-bg: var(--color-background);

    --bs-border-color: var(--color-border);
    --bs-border-radius: var(--radius);
    --bs-border-radius-sm: var(--radius-sm);
    --bs-border-radius-lg: var(--radius-lg);
    --bs-border-radius-xl: var(--radius-xl);
}

/* ========================================
   BASE STYLES
   ======================================== */

*,
*::before,
*::after {
    border-color: var(--color-border);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    background-color: var(--color-background);
    color: var(--color-foreground);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
    color: var(--color-foreground);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
    color: var(--color-muted-foreground);
    line-height: 1.7;
}

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

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

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

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}
.blogcard-text{font-size: 1.125rem;
	color: var(--color-primary) !important;
}
/* ========================================
   HEADER
   ======================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1040;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border);
}

.header-inner {
    max-width: 1280px;
    height: 80px;
    margin: auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 36px;
    color: var(--color-navy);
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    line-height: 1;
}

.logo-text-main {
    font-size: 19px;
    font-weight: 800;
    line-height: 1;
    color: var(--color-primary);
}

.logo-text-sub {
    margin-top: 4px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-muted-foreground);
}

/* ========================================
   DESKTOP MENU
   ======================================== */

.desktop-nav {
    display: none;
    margin-left: auto;
}

@media (min-width: 992px) {
    .desktop-nav {
        display: block;
    }

    .mobile-toggle,
    .mobile-nav {
        display: none !important;
    }
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
}

.nav-list > li {
    position: relative;
    list-style: none;
}

.nav-list > li > a {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(21, 55, 57, 0.85);
    text-decoration: none;
    border-radius: 6px;
    transition: 0.2s;
}

.nav-list > li > a:hover {
    color: var(--color-primary);
    background-color: var(--color-surface);
}

.nav-list > li.current-menu-item > a,
.nav-list > li.current-menu-parent > a,
.nav-list > li.current-menu-ancestor > a {
    color: var(--color-primary);
    background-color: var(--color-surface);
}

/* dropdown arrow */

.nav-list .menu-item-has-children > a::after {
    content: "\F282";
    font-family: "bootstrap-icons";
    margin-left: 6px;
    font-size: 12px;
}

/* submenu */

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    padding: 8px;
    margin: 0;
    list-style: none;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    box-shadow: var(--shadow-card);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: 0.2s;
    z-index: 999;
}

.sub-menu li {
    list-style: none;
}

.sub-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 6px;
    color: rgba(21, 55, 57, 0.8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.sub-menu a:hover {
    background: var(--color-muted);
    color: var(--color-primary);
}

.menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* nested */

.sub-menu .sub-menu {
    left: 100%;
    top: 0;
}

/* ========================================
   MOBILE BUTTON
   ======================================== */

.mobile-toggle {
    width: 40px;
    height: 40px;
    margin-left: auto;
    border: 1px solid var(--color-border);
    background: #fff;
    border-radius: 6px;
    display: grid;
    place-items: center;
    cursor: pointer;
    padding: 0;
}

/* ========================================
   MOBILE MENU
   ======================================== */

.mobile-nav {
    display: none;
    border-top: 1px solid var(--color-border);
    background: #fff;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 12px 16px;
}

.mobile-nav-list li {
    list-style: none;
}

.mobile-nav-list a {
    display: block;
    padding: 12px;
    color: var(--color-foreground);
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
}

.mobile-nav-list a:hover {
    background: var(--color-muted);
}

.mobile-nav-list .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    border: none;
    box-shadow: none;
    padding-left: 16px;
    margin-top: 6px;
    background: transparent;
}

.mobile-nav-list .menu-item-has-children.open > .sub-menu {
    display: block;
}

.mobile-nav-list .menu-item-has-children > a::after {
    content: "\F282";
    font-family: "bootstrap-icons";
    float: right;
}

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */

@media (max-width: 991px) {
    .desktop-nav {
        display: none;
    }
}

/* ========================================
   LAYOUT UTILITIES
   ======================================== */
.hero-title-accent{color:#249E94;
}
.container-page {
    width: 100%;
    margin-inline: auto;
    max-width: var(--container-max-width);
    padding-inline: var(--container-padding-x);
}

.font-display {
    font-family: var(--font-display);
}

.font-sans {
    font-family: var(--font-sans);
}

.text-sm {
    font-size: 0.875rem;
}

.text-xs {
    font-size: 0.75rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.text-5xl {
    font-size: 3rem;
}

.fw-extrabold {
    font-weight: 800;
}

.fw-semibold {
    font-weight: 600;
}

.fw-medium {
    font-weight: 500;
}

.leading-tight {
    line-height: 1.25;
}

.leading-snug {
    line-height: 1.375;
}

.leading-relaxed {
    line-height: 1.625;
}

.tracking-tight {
    letter-spacing: -0.02em;
}

.tracking-wide {
    letter-spacing: 0.05em;
}

.text-primary {
    color: var(--color-primary) !important;
}

.text-secondary {
    color: var(--color-secondary) !important;
}

.text-accent {
    color: var(--color-accent) !important;
}

.text-muted-foreground {
    color: var(--color-muted-foreground) !important;
}

.text-primary-foreground {
    color: var(--color-primary-foreground) !important;
}

.text-secondary-foreground {
    color: var(--color-secondary-foreground) !important;
}

.text-accent-foreground {
    color: var(--color-accent-foreground) !important;
}

.bg-primary {
    background-color: var(--color-primary) !important;
}

.bg-secondary {
    background-color: var(--color-secondary) !important;
}

.bg-accent {
    background-color: var(--color-accent) !important;
}

.bg-muted {
    background-color: var(--color-muted) !important;
}

.bg-surface {
    background-color: var(--color-surface) !important;
}

.bg-surface-strong {
    background-color: var(--color-surface-strong) !important;
}

.bg-background {
    background-color: var(--color-background) !important;
}

.bg-card {
    background-color: var(--color-card) !important;
}

.bg-navy {
    background-color: var(--color-navy) !important;
}

.bg-navy-soft {
    background-color: var(--color-navy-soft) !important;
}

.hero-surface {
    background: var(--color-navy);
}

.navy-panel {
    background: var(--color-navy);
}

.accent-gradient {
    background: var(--color-accent);
}

.border-primary {
    border-color: var(--color-primary) !important;
}

.border-secondary {
    border-color: var(--color-secondary) !important;
}

.border-accent {
    border-color: var(--color-accent) !important;
}

.border-muted {
    border-color: var(--color-border) !important;
}

.border-opacity-70 {
    --bs-border-opacity: 0.7;
}

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

.shadow-lift {
    box-shadow: var(--shadow-lift);
}

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

.gap-1 {
    gap: 0.25rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-5 {
    gap: 1.25rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-10 {
    gap: 2.5rem;
}

.transition-colors {
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}

.transition-all {
    transition: all 0.15s ease-in-out;
}

.transition-shadow {
    transition: box-shadow 0.15s ease-in-out;
}

.transition-transform {
    transition: transform 0.15s ease-in-out;
}

.hover-bg-surface:hover,
.hover-bg-surface:focus {
    background-color: var(--color-surface) !important;
}

.hover-bg-surface-strong:hover,
.hover-bg-surface-strong:focus {
    background-color: var(--color-surface-strong) !important;
}

.hover-text-primary:hover,
.hover-text-primary:focus {
    color: var(--color-primary) !important;
}

.hover-text-secondary:hover,
.hover-text-secondary:focus {
    color: var(--color-secondary) !important;
}

.hover-shadow-lift:hover {
    box-shadow: var(--shadow-lift);
}

.hover-lift:hover {
    transform: translateY(-2px);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: .5rem !important;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    font-family: var(--font-sans);
    font-weight: 600;
    letter-spacing: -0.01em;
    padding: 0.625rem 1.25rem;
    transition: all 0.15s ease-in-out;
}

.btn-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-primary-foreground);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--color-navy-soft);
    border-color: var(--color-navy-soft);
    color: var(--color-primary-foreground);
    box-shadow: var(--shadow-lift);
}

.btn-secondary {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-secondary-foreground);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: #1e6bc7;
    border-color: #1e6bc7;
    color: var(--color-secondary-foreground);
}

.btn-accent {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: #ffffff;
}

.btn-accent:hover,
.btn-accent:focus {
    background-color: #e06d18;
    border-color: #e06d18;
    color: #ffffff;
    box-shadow: var(--shadow-glow);
}

.btn-outline-primary {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--color-primary);
    color: var(--color-primary-foreground);
}

.btn-sm {
    padding: 0.4rem 0.875rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1.125rem;
}

.btn-quote {
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    background-color: #249E94;
    color: #fff;
}

.btn-quote:hover,
.btn-quote:focus {
    background-color: #3BC1A8;
    border-color: #3BC1A8;
    color: #ffffff;
    box-shadow: var(--shadow-glow);
}

.btn-on-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.btn-on-dark:hover,
.btn-on-dark:focus {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

/* ========================================
   CARDS
   ======================================== */

.card {
    border: 1px solid var(--color-border);
    background-color: var(--color-card);
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.15s ease-in-out, transform 0.15s ease-in-out;
}

.card:hover {
    box-shadow: var(--shadow-lift);
}

.card-header {
    background-color: transparent;
    border-bottom: 1px solid var(--color-border);
    padding: 1.25rem 1.5rem;
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    background-color: transparent;
    border-top: 1px solid var(--color-border);
    padding: 1.25rem 1.5rem;
}

/* ========================================
   FORMS
   ======================================== */

.form-control,
.form-select {
    border: 1px solid var(--color-input);
    padding: 0.625rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--color-foreground);
    background-color: var(--color-background);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--color-ring);
    box-shadow: 0 0 0 3px rgba(42, 125, 225, 0.15);
    outline: none;
}

.form-control::placeholder {
    color: var(--color-muted-foreground);
}

.form-label {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--color-foreground);
    margin-bottom: 0.375rem;
}

.form-check-input:checked {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(42, 125, 225, 0.25);
    border-color: var(--color-secondary);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section .hero-content {
    position: relative;
    z-index: 2;
}

.hero-section .hero-title {
    font-family: var(--font-display);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-section .hero-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    line-height: 1.7;
}

.hero-section .hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-feature-icon
{
	    height: 32px;
    width: 32px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
    font-size: 14px;
}

.hero-feature-text {
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.2;
    color: #ffffff;
}

/* ========================================
   SECTION UTILITIES
   ======================================== */

.section-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media (min-width: 768px) {
    .section-padding {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

.section-title {
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--color-foreground);
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--color-muted-foreground);
    font-size: 1.125rem;
    max-width: 600px;
}

/* ========================================
   FEATURE CARDS
   ======================================== */

.feature-card {
    border: 1px solid var(--color-border);
    padding: 1.5rem;
    background-color: var(--color-card);
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.15s ease-in-out, transform 0.15s ease-in-out;
    height: 100%;
}

.feature-card:hover {
    box-shadow: var(--shadow-lift);
    transform: translateY(-2px);
}

.feature-card .feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--color-surface);
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.feature-card .feature-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--color-foreground);
    margin-bottom: 0.5rem;
}

.feature-card .feature-text {
    color: var(--color-muted-foreground);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ========================================
   STATS
   ======================================== */

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-item .stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-item .stat-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========================================
   TESTIMONIALS
   ======================================== */

.testimonial-card {
    border: 1px solid var(--color-border);
    padding: 1.5rem;
    background-color: var(--color-card);
    box-shadow: var(--shadow-card);
}

.testimonial-card .testimonial-text {
    font-style: italic;
    color: var(--color-foreground);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.testimonial-card .testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-card .testimonial-avatar {
    width: 44px;
    height: 44px;
    object-fit: cover;
}

.testimonial-card .testimonial-name {
    font-weight: 700;
    color: var(--color-foreground);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

.testimonial-card .testimonial-role {
    font-size: 0.8125rem;
    color: var(--color-muted-foreground);
    margin-bottom: 0;
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
    background-color: var(--color-navy);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.15s ease-in-out;
}

.site-footer a:hover {
    color: #ffffff;
}

.site-footer .footer-title {
    font-family: var(--font-display);
    font-weight: 700;
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.site-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 3rem;
}

.footer-link {
    color: var(--color-primary-foreground);
    text-decoration: none;
    opacity: 0.75;
    transition: opacity 0.15s ease-in-out;
}

.footer-link:hover {
    color: var(--color-accent) !important;
    opacity: 1;
}

.footer-text-dimmed {
    opacity: 0.7;
}

.footer-divider {
    border-top: 1px solid rgba(248, 250, 252, 0.15);
}

.footer-bottom-text {
    opacity: 0.6;
}

/* ========================================
   FOOTER SOCIAL ICONS
   ======================================== */

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.15s ease-in-out;
}

.social-icon:hover,
.social-icon:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    transform: translateY(-2px);
}

/* ========================================
   FOOTER LOGO
   ======================================== */

.navy-panel .logo-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    background: #ffffff;
    color: var(--color-navy);
    flex-shrink: 0;
}

.navy-panel .logo-text-main {
    display: block;
    font-family: var(--font-display);
    font-size: 0.98rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
}

.navy-panel .logo-text-sub {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.25;
}

/* ========================================
   ACCORDION
   ======================================== */

.accordion-gcc .accordion-item {
    border: 1px solid var(--color-border);
    overflow: hidden;
    margin-bottom: 0.75rem;
    box-shadow: var(--shadow-card);
    background-color: var(--color-card);
}

.accordion-gcc .accordion-button {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-primary);
    padding: 1.25rem 1.5rem;
    background-color: transparent;
    box-shadow: none;
    font-size: 0.95rem;
}

.accordion-gcc .accordion-button:not(.collapsed) {
    background-color: transparent;
    box-shadow: none;
}

.accordion-gcc .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-gcc .accordion-button::after {
    background-size: 1rem;
}

.accordion-gcc .accordion-body {
    padding: 0 1.5rem 1.25rem;
    color: var(--color-muted-foreground);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ========================================
   CALCULATOR
   ======================================== */

.calculator-panel {
    border: 1px solid var(--color-border);
    overflow: hidden;
    box-shadow: var(--shadow-lift);
    background-color: var(--color-card);
}

.calculator-header {
    border-bottom: 1px solid var(--color-border);
    background-color: var(--color-surface);
    padding: 1.75rem 2.25rem;
}

.calculator-body {
    display: grid;
    gap: 0;
}

@media (min-width: 992px) {
    .calculator-body {
        grid-template-columns: 1fr 1fr 1.05fr;
    }

    .calculator-col {
        border-right: 1px solid var(--color-border);
    }

    .calculator-col:last-child {
        border-right: none;
    }
}

.calculator-col {
    padding: 1.5rem;
}

.calculator-estimate {
    background: var(--color-navy);
    color: var(--color-primary-foreground);
    padding: 1.5rem;
}

@media (min-width: 576px) {
    .calculator-estimate {
        padding: 2rem;
    }
}

.form-range-gcc {
    width: 100%;
    height: 0.5rem;
    padding: 0;
    background-color: var(--color-surface-strong);
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.form-range-gcc::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    background-color: var(--color-secondary);
    cursor: pointer;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.form-range-gcc::-moz-range-thumb {
    width: 1.25rem;
    height: 1.25rem;
    background-color: var(--color-secondary);
    cursor: pointer;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.option-grid {
    display: grid;
    gap: 0.5rem;
}

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

.option-grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.option-btn {
    border: 1px solid var(--color-border);
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    background-color: var(--color-background);
    color: var(--color-muted-foreground);
    transition: all 0.15s ease-in-out;
    text-align: center;
    cursor: pointer;
}

.option-btn:hover {
    border-color: rgba(42, 125, 225, 0.5);
    color: var(--color-primary);
}

.option-btn.active {
    border-color: var(--color-secondary);
    background-color: rgba(42, 125, 225, 0.1);
    color: var(--color-secondary);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    transition: background-color 0.15s ease-in-out;
}

.toggle-row:hover {
    background-color: var(--color-background);
}

.toggle-row-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0;
    cursor: pointer;
}

.toggle-row-hint {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-muted-foreground);
    margin-left: 0.5rem;
}

.number-picker {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.number-picker-btn {
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--color-border);
    background-color: var(--color-background);
    color: var(--color-muted-foreground);
    font-size: 0.875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease-in-out;
    cursor: pointer;
}

.number-picker-btn:hover {
    border-color: rgba(42, 125, 225, 0.5);
}

.number-picker-btn.active {
    border-color: var(--color-secondary);
    background-color: var(--color-secondary);
    color: var(--color-secondary-foreground);
}

.estimate-value {
    font-family: var(--font-sans);
    font-size: clamp(1.875rem, 4vw, 2.25rem);
    font-weight: 800;
    line-height: 1.25;
    color: #fff;
}

.cost-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(248, 250, 252, 0.1);
    padding-bottom: 0.625rem;
}

.cost-row:last-child {
    border-bottom: none;
    padding-top: 0.25rem;
    font-size: 1rem;
    font-weight: 800;
}

.cost-row-dt {
    color: rgba(248, 250, 252, 0.7);
    font-size: 0.875rem;
    margin-bottom: 0;
}

.cost-row-dd {
    font-weight: 700;
    color: var(--color-primary-foreground);
    margin-bottom: 0;
}

.stat-box {
    border: 1px solid rgba(248, 250, 252, 0.15);
    background-color: rgba(248, 250, 252, 0.05);
    padding: 0.875rem;
}

.stat-box-label {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-accent);
    margin-bottom: 0;
}

.stat-box-value {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 800;
    margin-top: 0.25rem;
    margin-bottom: 0;
    color: #fff;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-primary-foreground);
}

.hero-stat {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 14px;
}

.hero-stat-value {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 800;
}

@media (min-width: 576px) {
    .hero-stat-value {
        font-size: 1.25rem;
    }
}

.hero-stat-label {
    margin-top: 0.25rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(248, 250, 252, 0.7);
}

.eyebrow-dark {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(248, 250, 252, 0.25);
    background-color: rgba(248, 250, 252, 0.1);
    padding: 0.35rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.scroll-mt-20 {
    scroll-margin-top: 5rem;
}

/* ========================================
   GUIDE LINKS
   ======================================== */

.guide-link-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    border: 1px solid var(--color-border);
    background-color: var(--color-card);
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-primary);
    box-shadow: var(--shadow-card);
    transition: all 0.15s ease-in-out;
    text-decoration: none;
}

.guide-link-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lift);
    color: var(--color-primary);
}

.conversion-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-border);
    background-color: var(--color-card);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    transition: all 0.15s ease-in-out;
    height: 100%;
}

.conversion-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
}

.conversion-card-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    background: var(--color-accent);
    color: var(--color-primary);
}

.conversion-card-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-top: 1rem;
    margin-bottom: 0;
}

.conversion-card-body {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--color-muted-foreground);
    flex: 1;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.conversion-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-secondary);
    text-decoration: none;
    transition: gap 0.15s ease-in-out;
}

.conversion-card-link:hover {
    gap: 0.625rem;
    color: var(--color-secondary);
}

/* ========================================
   STEPS
   ======================================== */

.step-card {
    position: relative;
    border: 1px solid var(--color-border);
    background-color: var(--color-card);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    height: 100%;
}

.step-number {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    background: var(--color-navy);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-primary-foreground);
}

.step-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-top: 1rem;
    margin-bottom: 0;
}

.step-body {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--color-muted-foreground);
    margin-top: 0.5rem;
    margin-bottom: 0;
}

/* ========================================
   TRUST STATS
   ======================================== */

.trust-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.trust-stat-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--color-card);
    color: var(--color-secondary);
    box-shadow: var(--shadow-card);
    flex-shrink: 0;
}

.trust-stat-value {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.25;
    margin-bottom: 0;
}

.trust-stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-muted-foreground);
    line-height: 1.25;
    margin-bottom: 0;
}

/* ========================================
   FACTOR CARDS
   ======================================== */

.factor-card {
    border: 1px solid var(--color-border);
    background-color: var(--color-card);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    transition: all 0.15s ease-in-out;
    height: 100%;
}

.factor-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
}

.factor-card-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    background-color: rgba(42, 125, 225, 0.1);
    color: var(--color-secondary);
    transition: all 0.15s ease-in-out;
}

.factor-card:hover .factor-card-icon {
    background-color: var(--color-secondary);
    color: var(--color-secondary-foreground);
}

.factor-card-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-top: 1rem;
    margin-bottom: 0;
}

.factor-card-body {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--color-muted-foreground);
    margin-top: 0.5rem;
    margin-bottom: 0;
}

/* ========================================
   FACTOR CARDS GRID OVERRIDE
   ======================================== */

/* Mobile: force full width */
@media (max-width: 575.98px) {
  #cost-factors .row > [class*="col-"] {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

/* Tablet+: restore 2 columns */
@media (min-width: 576px) {
  #cost-factors .row > .col-sm-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    width: 50% !important;
  }
}

/* ========================================
   LEAD FORM
   ======================================== */

.lead-form {
    border: 1px solid var(--color-border);
    background-color: var(--color-card);
    padding: 1.5rem;
    box-shadow: var(--shadow-lift);
}

@media (min-width: 576px) {
    .lead-form {
        padding: 1.75rem;
    }
}

.lead-form-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.lead-form-badge {
    display: none;
    align-items: center;
    gap: 0.375rem;
    background-color: var(--color-surface);
    padding: 0.375rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-secondary);
}

@media (min-width: 576px) {
    .lead-form-badge {
        display: inline-flex;
    }
}

.form-field-group {
    display: grid;
    gap: 0.375rem;
}

.form-field-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-muted-foreground);
    margin-bottom: 0;
}

/* ========================================
   TABLES
   ======================================== */

.table-gcc {
    width: 100%;
    min-width: 36rem;
    text-align: left;
    font-size: 0.875rem;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0;
}

.table-gcc thead {
    background: var(--color-navy);
    color: var(--color-primary-foreground);
}

.table-gcc th {
    padding: 1rem 1.25rem;
    font-weight: 600;
    white-space: nowrap;
    border: none;
}

.table-gcc td {
    padding: 1rem 1.25rem;
    border: none;
}

.table-gcc tbody tr {
    border-top: 1px solid var(--color-border);
}

.table-gcc tbody tr:nth-child(even) {
    background-color: rgba(248, 249, 251, 0.6);
}

.table-gcc tbody th {
    font-weight: 700;
    color: var(--color-primary);
    border: none;
}

.table-gcc .text-secondary {
    font-weight: 700;
}

.table-responsive-gcc {
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.max-w-3xl {
    max-width: 48rem;
}

.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.py-6 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

@media (min-width: 992px) {
    .py-lg-6 {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
}

/* ========================================
   PAGINATION
   ======================================== */

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.pagination li {
    list-style: none;
}

.pagination li a,
.pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    border: 1px solid var(--color-border);
    background-color: var(--color-card);
    color: var(--color-muted-foreground);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease-in-out;
}

.pagination li a:hover,
.pagination li a:focus {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
    background-color: rgba(42, 125, 225, 0.05);
}

.pagination li span.current {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-secondary-foreground);
    font-weight: 700;
}

.pagination li span.dots {
    border-color: transparent;
    background-color: transparent;
    color: var(--color-muted-foreground);
}

.pagination li a.prev,
.pagination li a.next {
    padding: 0 0.875rem;
}

.pagination li a.prev:hover,
.pagination li a.next:hover {
    gap: 0.5rem;
}

/* ========================================
   PAGE & ARTICLE CONTENT
   ======================================== */

.page-content,
.article-content {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-foreground);
}

.page-content h2,
.article-content h2 {
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--color-primary);
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.page-content h3,
.article-content h3 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-primary);
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    margin-top: 2rem;
    margin-bottom: 0.875rem;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.page-content h4,
.article-content h4 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.125rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.page-content p,
.article-content p {
    color: var(--color-muted-foreground);
    margin-bottom: 1.25rem;
    line-height: 1.75;
}

.page-content p:last-child,
.article-content p:last-child {
    margin-bottom: 0;
}

.page-content a,
.article-content a {
    color: var(--color-secondary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.15s ease-in-out;
}

.page-content a:hover,
.article-content a:hover {
    color: var(--color-primary);
}

.page-content ul,
.article-content ul,
.page-content ol,
.article-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.page-content ul li,
.article-content ul li,
.page-content ol li,
.article-content ol li {
    margin-bottom: 0.5rem;
    color: var(--color-muted-foreground);
    line-height: 1.7;
}

.page-content ul li::marker,
.article-content ul li::marker {
    color: var(--color-secondary);
}

.page-content ol li::marker,
.article-content ol li::marker {
    color: var(--color-secondary);
    font-weight: 700;
}

.page-content blockquote,
.article-content blockquote {
    border-left: 4px solid var(--color-secondary);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--color-primary);
    font-size: 1.125rem;
    line-height: 1.7;
}

.page-content img,
.article-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2rem 0;
}

.page-content figure,
.article-content figure {
    margin: 2rem 0;
}

.page-content figure img,
.article-content figure img {
    margin-bottom: 0.5rem;
}

.page-content figcaption,
.article-content figcaption {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    text-align: center;
}

.page-content table,
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.9375rem;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.page-content table thead,
.article-content table thead {
    background: var(--color-navy);
    color: var(--color-primary-foreground);
}

.page-content table th,
.article-content table th {
    padding: 1rem 1.25rem;
    font-weight: 600;
    text-align: left;
    border: none;
}

.page-content table td,
.article-content table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-muted-foreground);
}

.page-content table tbody tr:nth-child(even),
.article-content table tbody tr:nth-child(even) {
    background-color: rgba(248, 249, 251, 0.6);
}

.page-content table tbody tr:last-child td,
.article-content table tbody tr:last-child td {
    border-bottom: none;
}

.page-content hr,
.article-content hr {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 2.5rem 0;
}

.page-content pre,
.article-content pre {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 1.25rem;
    overflow-x: auto;
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 1.5rem 0;
}

.page-content code,
.article-content code {
    background-color: var(--color-surface);
    padding: 0.125rem 0.375rem;
    font-size: 0.875rem;
    color: var(--color-secondary);
}

.page-content strong,
.article-content strong {
    color: var(--color-primary);
    font-weight: 700;
}

/* ========================================
   REMOVE GUTENBERG BLOCK BORDERS
   ======================================== */

.page-content [class*="wp-block-"],
.article-content [class*="wp-block-"],
.page-content .wp-block-group,
.article-content .wp-block-group,
.page-content .wp-block-columns,
.article-content .wp-block-columns,
.page-content .wp-block-media-text,
.article-content .wp-block-media-text {
    border: none;
    box-shadow: none;
    padding: 0;
    margin-bottom: 1.25rem;
    background: transparent;
}

.page-content .wp-block-group__inner-container,
.article-content .wp-block-group__inner-container {
    border: none;
    box-shadow: none;
    padding: 0;
    background: transparent;
}

.page-content > div,
.article-content > div,
.page-content > section,
.article-content > section {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.page-content .wp-block-paragraph,
.article-content .wp-block-paragraph,
.page-content .wp-block-heading,
.article-content .wp-block-heading {
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 0;
}

.page-content [class*="wp-block-"],
.article-content [class*="wp-block-"] {
    border-left: none;
    border-right: none;
}

/* ========================================
   HOW IT WORKS
   ======================================== */

#how-it-works .max-w-3xl {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

#how-it-works .row {
    justify-content: center;
}

#how-it-works .step-card {
    text-align: center;
}

#how-it-works .step-number {
    margin: 0 auto;
}

.hero-surface .row {
    align-items: center;
}

.hero-surface .col-lg-7 {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-surface .align-items-start {
    align-items: center !important;
}

.hero-surface {
    position: relative;
    background-image: url('https://www.garageconversioncosts.co.uk/wp-content/uploads/2026/08/garage-conversions-hero-image.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-surface::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: #005461;
    opacity: 0.96;
    z-index: 0;
}

.hero-surface .container-page,
.hero-surface .row {
    position: relative;
    z-index: 1;
}

/* ========================================
   PAGE.PHP STYLES
   ======================================== */

.hero-title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    line-height: 1.1;
}

.hero-meta {
    color: rgba(248, 250, 252, 0.8);
}

.hero-meta-separator {
    color: rgba(248, 250, 252, 0.4);
}

.featured-image {
    height: 400px;
    object-fit: cover;
    display: block;
}

.author-avatar {
    width: 48px;
    height: 48px;
    font-weight: 700;
    font-size: 1.125rem;
}

.author-name {
    font-size: 0.9375rem;
}

.sticky-sidebar {
    position: sticky;
    top: 6rem;
}

.trust-card {
    background: var(--color-navy);
    color: #fff;
    border-radius: var(--radius);
}

.trust-card-eyebrow {
    color: var(--color-accent);
    margin-bottom: 0.5rem;
    display: block;
}

.trust-card-title {
    font-size: 1.25rem;
    color: #fff;
    line-height: 1.3;
}

.trust-check {
    width: 20px;
    height: 20px;
    background: var(--color-secondary);
    color: #fff;
    font-size: 0.625rem;
    font-weight: bold;
    margin-top: 2px;
}

.trust-item-title {
    font-size: 0.875rem;
    color: #fff;
    font-weight: 600;
}

.trust-item-text {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.7;
}

.steps-eyebrow {
    margin-bottom: 0.5rem;
    display: block;
}

.steps-title {
    font-size: 1.25rem;
    line-height: 1.3;
}

.step-number {
    width: 42px;
    height: 42px;
    background: var(--color-surface);
    color: var(--color-primary);
    font-size: 0.875rem;
}

.step-label {
    font-size: 0.875rem;
    color: var(--color-foreground);
    font-weight: 600;
}

/* ========================================
   SINGLE.PHP STYLES
   ======================================== */

.hero-date {
    color: rgba(248, 250, 252, 0.6);
}

.hero-excerpt {
    color: rgba(248, 250, 252, 0.8);
    max-width: 42rem;
}

.author-hero-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(155deg, var(--color-navy), #1a2d4a);
    color: var(--color-primary-foreground);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.875rem;
}

.hero-meta-dim {
    color: rgba(248, 250, 252, 0.6);
}

.featured-image-wrap {
    border-radius: var(--radius-2xl);
}

.featured-image {
    height: auto;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

.tags-section {
    border-top: 1px solid var(--color-border);
}

.tag-pill {
    border-radius: 999px;
    border: 1px solid var(--color-border);
    background-color: var(--color-surface);
    color: var(--color-muted-foreground);
    font-size: 0.75rem;
    transition: all 0.15s ease-in-out;
}

.tag-pill:hover {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
}

.post-nav-section {
    border-top: 1px solid var(--color-border);
}

.post-nav-link {
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    background-color: var(--color-card);
    transition: all 0.15s ease-in-out;
}

.post-nav-link:hover {
    box-shadow: var(--shadow-lift);
    transform: translateY(-2px);
}

.post-nav-title {
    line-height: 1.4;
}

.related-title {
    font-size: 1rem;
}

.related-item {
    border-bottom: 1px solid var(--color-border);
    transition: background-color 0.15s ease-in-out;
}

.related-item:hover {
    background-color: var(--color-surface);
}

.related-thumb {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.related-thumb-placeholder {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background-color: var(--color-surface);
    color: var(--color-secondary);
}

.related-item-title {
    line-height: 1.4;
}

.more-guides-title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.guide-card-img-wrap {
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.guide-card-img {
    height: 160px;
    object-fit: cover;
    display: block;
}

.guide-card-title {
    font-size: 1rem;
    line-height: 1.3;
}

.cta-checklist {
    color: rgba(248, 250, 252, 0.7);
}

/* ========================================
   CTA BANNER
   ======================================== */

.cta-banner {
    background: var(--color-navy-soft);
}

.cta-banner .container-page {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin: 0 auto;
    padding: 1rem 6rem;
}

.cta-banner-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.feature-icon-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-radius: 50%;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feature-icon-cta-light {
    background-color: rgba(255, 255, 255, 0.2);
}

.cta-banner-heading {
    font-family: var(--font-sans);
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-navy);
    background-color: #ffffff;
    border-radius: var(--radius);
    text-decoration: none;
    transition: all 0.15s ease-in-out;
    flex-shrink: 0;
    white-space: nowrap;
}

.btn-cta:hover,
.btn-cta:focus {
    background-color: var(--color-accent);
    color: #ffffff;
    box-shadow: var(--shadow-glow);
}

@media (max-width: 767.98px) {
    .cta-banner .container-page {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem 1.25rem;
        gap: 1.5rem;
    }

    .cta-banner-text {
        flex-direction: column;
        gap: 0.75rem;
    }

    .cta-banner-heading {
        font-size: 1.125rem;
    }

    .btn-cta {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact-section {
    padding: var(--section-padding, 5rem 0);
}

.contact-header {
    max-width: 48rem;
    margin-bottom: 3rem;
}

.contact-title {
    margin-top: 1rem;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
}

.contact-subtitle {
    margin-top: 0.75rem;
    font-size: 1rem;
    line-height: 1.625;
    color: var(--color-muted-foreground);
}

.contact-info-grid {
    display: grid;
    gap: 1.5rem;
}

.contact-info-card {
    padding: 1.5rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-3xl, 1.5rem);
    background-color: #ffffff;
    box-shadow: var(--shadow-card, 0 4px 20px rgba(0, 0, 0, 0.06));
}

.contact-info-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: var(--radius-2xl, 1rem);
    background-color: rgba(var(--bs-secondary-rgb), 0.1);
    color: var(--color-secondary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-info-body {
    flex: 1;
}

.contact-info-heading {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-primary);
}

.contact-info-text {
    margin: 0.25rem 0 0 0;
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    line-height: 1.5;
}

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

@media (min-width: 992px) {
    .site-header .header-inner {
        min-height: 72px;
    }
}

@media (max-width: 991.98px) {
    .section-padding {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

@media (max-width: 767.98px) {
    h1 {
        font-size: 1.875rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .stat-item .stat-number {
        font-size: 2rem;
    }
}

@media print {
    .site-header,
    .mobile-nav,
    .btn {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    a {
        text-decoration: underline;
        color: #000;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* ========================================
   SCROLLBAR
   ======================================== */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-surface);
}

::-webkit-scrollbar-thumb {
    background: var(--color-border);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-muted-foreground);
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(244, 122, 32, 0.4);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(244, 122, 32, 0);
    }
}

.animate-pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

@supports not (backdrop-filter: blur(8px)) {
    .site-header {
        background-color: var(--color-background) !important;
    }
}