/* LOUIS Toolkit Website Styles — Open Sans fork (Wagtail/live parity trial)
   Compare with ../website-revised (system UI fonts).
   Open Sans is loaded via <link> in each HTML page (weights 300–800). */

:root {
    /* Primary — aligned with live/brochure steel blue + navy */
    --primary-dark: #1a3a5c;
    --primary: #5c89b4;
    --primary-light: #7a9fc4;
    --primary-lighter: #9eb4d4;
    
    /* CTA + checkmarks — original warm orange (kept for contrast) */
    --accent: #e8833a;
    --accent-hover: #d6722a;
    --accent-light: #f4a460;
    
    /* Neutrals — soft paper tint from brochure cream family */
    --dark: #1e2a3a;
    --gray-dark: #4a5568;
    --gray: #718096;
    --gray-light: #cbd5e0;
    --light: #f5f3ef;
    --white: #ffffff;
    
    /* Sector accents — blue family only (subtle depth, not rainbow) */
    --lands: #3d6a8a;
    --housing: #2b5797;
    --infrastructure: #4a6578;
    --community: #5c6b7a;
    --municipal: #5c89b4;
    
    /* Typography — Open Sans to match live / Wagtail marketing pages */
    --font-primary: 'Open Sans', Helvetica, Arial, sans-serif;
    --font-heading: 'Open Sans', Helvetica, Arial, sans-serif;
    --tracking-body: 0.5px;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    
    /* Borders */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    /* Shadows - softer, more modern */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.05), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.08), 0 4px 10px rgba(0,0,0,0.04);
    
    /* Transitions */
    --transition: all 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 15px;
    line-height: 1.65;
    letter-spacing: var(--tracking-body);
    color: var(--dark);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-wrap: pretty;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.01em;
    color: var(--primary-dark);
    margin-bottom: var(--spacing-sm);
    text-wrap: balance;
}

h1 { font-size: 2.35rem; }
h2 { font-size: 1.85rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

p {
    margin-bottom: var(--spacing-sm);
    color: var(--gray-dark);
}

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

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

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

img.photo-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Header & Navigation */
.header {
    background: var(--white);
    box-shadow: 0 1px 0 rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-links a {
    color: var(--gray-dark);
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: 0.3px;
    padding: var(--spacing-xs) 0;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.nav-login {
    font-weight: 500;
    color: var(--gray-dark) !important;
    border-bottom: none !important;
    opacity: 0.85;
}

.nav-login:hover {
    color: var(--primary) !important;
    opacity: 1;
}

.draft-note {
    font-size: 0.9rem;
    color: var(--gray-dark);
    background: var(--light);
    border-left: 3px solid var(--primary-light);
    padding: 0.75rem 1rem;
    margin-bottom: var(--spacing-md);
    max-width: 48rem;
}

.news-meta {
    font-size: 0.875rem;
    color: var(--gray);
    margin: 0.25rem 0 0.75rem;
}

.news-grid {
    grid-template-columns: 1fr;
}

.news-filters {
    display: grid;
    grid-template-columns: minmax(0, 8rem) minmax(0, 12rem) minmax(0, 1fr);
    gap: 0.85rem 1rem;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--gray-light);
}

.news-filter label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-dark);
    margin-bottom: 0.35rem;
}

.news-filter select,
.news-filter input[type="search"] {
    width: 100%;
    padding: 0.55rem 0.65rem;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-sm);
    font: inherit;
    font-size: 0.95rem;
    color: var(--dark);
    background: var(--white);
}

.news-filter select:focus,
.news-filter input[type="search"]:focus {
    outline: 2px solid var(--primary-light);
    outline-offset: 1px;
}

.news-count {
    font-size: 0.875rem;
    color: var(--gray);
    margin: 0 0 0.75rem;
}

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

.news-item {
    border-bottom: none;
}

.news-item[hidden] {
    display: none;
}

.news-item-link {
    display: block;
    padding: 1.1rem 0 0.35rem;
    text-decoration: none;
    color: inherit;
}

.news-item-link:hover .news-item-title {
    color: var(--primary);
}

.news-item-title {
    margin: 0 0 0.35rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.35;
    text-wrap: balance;
}

.news-item-meta {
    margin: 0 0 0.45rem;
    font-size: 0.85rem;
    color: var(--gray);
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.85rem;
}

.news-item-tags {
    color: var(--primary-dark);
}

.news-item-summary {
    margin: 0 0 1.1rem;
    padding-bottom: 0.35rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--gray-dark);
}

.news-item-summary p {
    margin: 0 0 0.65rem;
}

.news-item-summary p:last-child {
    margin-bottom: 0;
}

.news-item-summary a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.news-item-summary a:hover {
    color: var(--primary-dark);
}

.news-item .news-item-summary {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    border-bottom: 1px solid var(--gray-light);
}

.news-empty {
    margin-top: var(--spacing-md);
    color: var(--gray-dark);
}

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

.prose {
    max-width: 44rem;
    margin: 0 auto;
}

.prose h2 {
    margin-top: var(--spacing-md);
}

.prose h3 {
    margin-top: var(--spacing-sm);
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
    color: var(--primary-dark);
}

.prose a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

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

/* Buttons inside prose must match homepage CTAs (not link styling) */
.prose a.btn,
.prose a.btn:hover {
    text-decoration: none;
}

.prose a.btn-primary {
    color: var(--white);
    background: var(--accent);
}

.prose a.btn-primary:hover {
    color: var(--white);
    background: var(--accent-hover);
}

.prose a.btn-secondary {
    color: var(--primary);
}

.prose a.btn-secondary:hover {
    color: var(--white);
}

.ti-richtext {
    display: inline-block;
    vertical-align: -0.15em;
    font-size: 1.1em;
    line-height: 1;
}

.prose-list,
.prose ol,
.prose ul {
    margin: 1rem 0 1.25rem 1.25rem;
    color: var(--gray-dark);
    line-height: 1.55;
    padding-left: 1.25rem;
}

.prose-list li,
.prose ol li,
.prose ul li {
    margin-bottom: 0.5rem;
}

.prose ol {
    list-style-type: decimal;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
    padding: var(--spacing-xs) 0;
    z-index: 100;
}

.nav-dropdown-content--grouped {
    min-width: 260px;
    padding-bottom: var(--spacing-sm);
}

.nav-dropdown-group {
    padding-top: var(--spacing-xs);
    border-top: 1px solid var(--light);
}

.nav-dropdown-label {
    display: block;
    padding: var(--spacing-xs) var(--spacing-sm) 0.25rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-dark);
}

.nav-dropdown-content--grouped > a:first-child {
    font-weight: 600;
}

.nav-dropdown:hover .nav-dropdown-content {
    display: block;
}

.nav-dropdown-content a {
    display: block;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-bottom: none;
}

.nav-dropdown-content a:hover {
    background: var(--light);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-dark);
}

/* Hero Sections */
.hero {
    background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    color: var(--white);
    padding: var(--spacing-xl) 0;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

/* Photo heroes: --hero-image is set inline from Wagtail ImageChooser (hero block / contact page). */
.hero.hero-photo {
    background-image: none;
    background-color: var(--primary-dark);
    background-size: cover;
    background-position: center;
    isolation: isolate;
}

.hero.hero-photo::before {
    content: '';
    display: block;
    position: absolute;
    inset: 0;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    /* Option 3: colour stays in regraded photos — no CSS greyscale */
    filter: none;
    z-index: 0;
    pointer-events: none;
}

.hero.hero-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    /* Same light-medium navy wash on every page */
    background: linear-gradient(
        115deg,
        rgba(26, 58, 92, 0.70) 0%,
        rgba(26, 58, 92, 0.60) 50%,
        rgba(43, 87, 151, 0.50) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.hero.hero-photo > .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 800;
    letter-spacing: 0.3px;
    position: relative;
}

.hero p {
    color: rgba(255,255,255,0.92);
    font-size: 1.125rem;
    max-width: 650px;
    margin: 0 auto var(--spacing-md);
    line-height: 1.7;
    font-weight: 400;
    position: relative;
    text-wrap: pretty;
}

.hero-small {
    padding: var(--spacing-lg) 0;
}

.hero-small h1 {
    font-size: 2.1rem;
    font-weight: 700;
}

/* Solid fallbacks when no photo */
.hero-lands {
    background: linear-gradient(160deg, var(--primary-dark) 0%, var(--lands) 55%, var(--primary) 100%);
}

.hero-housing {
    background: linear-gradient(160deg, var(--primary-dark) 0%, var(--housing) 50%, var(--primary) 100%);
}

.hero-infrastructure {
    background: linear-gradient(160deg, var(--primary-dark) 0%, var(--infrastructure) 50%, var(--primary) 100%);
}

.hero-community {
    background: linear-gradient(160deg, var(--primary-dark) 0%, var(--community) 50%, var(--primary) 100%);
}

.hero-municipal {
    background: linear-gradient(160deg, var(--primary-dark) 0%, var(--municipal) 50%, var(--primary-light) 100%);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.9375rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(26, 58, 92, 0.22);
}

.btn-primary:hover {
    background: var(--accent-hover);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 58, 92, 0.28);
}

/* On blue heroes, keep the warm CTA and give it a bit more presence */
.hero .btn-primary {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
    font-weight: 700;
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 1.5px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-outline-white {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.8);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary-dark);
}

.btn-group {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

/* Sections */
.section {
    padding: var(--spacing-xl) 0;
}

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

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title h2 {
    margin-bottom: var(--spacing-xs);
}

.section-title p {
    max-width: 38rem;
    margin: 0 auto;
    text-wrap: pretty;
}

.section-title--wide p {
    max-width: 48rem;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 1.75rem;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(43, 87, 151, 0.1);
}

.card-icon {
    width: 52px;
    height: 52px;
    background: var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
    font-size: 1.4rem;
    color: var(--white);
}

.card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    text-wrap: balance;
}

.card p {
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
}

.card-link {
    color: var(--primary);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.9rem;
}

.card-link:hover {
    gap: 0.5rem;
    color: var(--primary-dark);
}

/* Product Cards */
.product-card .card-icon.heritage { background: var(--lands); }
.product-card .card-icon.planner { background: var(--housing); }
.product-card .card-icon.spatial { background: var(--infrastructure); }
.product-card .card-icon.assets { background: var(--municipal); }

/* Sector Cards */
.sector-card {
    border-left: 3px solid var(--primary);
    padding-left: 1.5rem;
}

.sector-card.lands { border-left-color: var(--lands); }
.sector-card.housing { border-left-color: var(--housing); }
.sector-card.infrastructure { border-left-color: var(--infrastructure); }
.sector-card.community { border-left-color: var(--community); }
.sector-card.municipal { border-left-color: var(--municipal); }

/* Features List */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
}

.feature-content h4 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    text-wrap: balance;
}

.feature-content p {
    font-size: 0.875rem;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Two Column Layout */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.two-col.two-col--align-start {
    align-items: start;
}

.two-col-content h2 {
    margin-bottom: var(--spacing-sm);
    color: var(--dark);
}

.two-col-image {
    border-radius: var(--radius-lg);
    min-height: 280px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: var(--shadow-lg);
    background: var(--light);
}

.two-col-image img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    display: block;
}

.two-col-image--diagram {
    min-height: 0;
    background: transparent;
    box-shadow: none;
    border: none;
    overflow: visible;
}

.two-col-image--diagram img {
    min-height: 0;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(26, 58, 92, 0.1);
    box-shadow: var(--shadow-lg);
}

.integration-diagram {
    width: 100%;
    margin: 0;
}

.integration-diagram figcaption {
    margin-top: 0.85rem;
    font-size: 0.8125rem;
    color: var(--gray-dark);
    line-height: 1.45;
    max-width: 32rem;
}

.photo-band {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.photo-band figure {
    margin: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.05);
}

.photo-band img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.photo-band figcaption {
    padding: 0.65rem 0.85rem;
    font-size: 0.8125rem;
    color: var(--gray-dark);
    background: var(--white);
}

/* Client banner — sector social proof */
.client-banner {
    background: var(--light);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: var(--spacing-md) 0;
}

.client-banner-label {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.client-banner-note {
    text-align: center;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--gray-dark);
    max-width: 36rem;
    margin: 0 auto;
}

/* CTA Section */
.cta {
    background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    color: var(--white);
    text-align: center;
    padding: var(--spacing-xl) 0;
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.cta h2 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    position: relative;
}

.cta p {
    color: rgba(255,255,255,0.92);
    max-width: 40rem;
    margin: 0 auto var(--spacing-md);
    position: relative;
    line-height: 1.45;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--gray-light);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(16rem, 2fr) repeat(auto-fit, minmax(10rem, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.footer-brand .logo-text {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
}

.footer-brand .logo-text span {
    color: var(--primary-light);
}

.footer-brand img {
    height: 36px;
    width: auto;
    margin-bottom: 0.75rem;
}

.footer-brand p {
    color: var(--gray-light);
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer h4 {
    color: var(--white);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--gray-light);
    font-size: 0.875rem;
}

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

.footer-links-label {
    margin: var(--spacing-sm) 0 0.5rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links-label:first-of-type {
    margin-top: var(--spacing-xs);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--spacing-md);
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray);
}

/* Contact Form */
.contact-form {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.04);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.375rem;
    font-weight: 500;
    color: var(--dark);
    font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.625rem 0.75rem;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(43, 87, 151, 0.1);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

/* Pain Points / Challenges */
.challenges-list {
    list-style: none;
}

.challenges-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 0.875rem 1rem;
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.03);
}

.challenges-list .icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
}

.challenges-list li span:last-child {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Comparison Note */
.comparison-note {
    background: var(--white);
    border-left: 3px solid var(--primary);
    padding: 1.25rem 1.5rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-sm);
}

.comparison-note h4 {
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-size: 1rem;
    text-wrap: balance;
}

.comparison-note p {
    margin-bottom: 0;
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Breadcrumb */
.breadcrumb {
    padding: var(--spacing-sm) 0;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--gray);
}

.breadcrumb span {
    color: var(--gray);
    margin: 0 0.5rem;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .two-col {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: var(--spacing-sm);
        box-shadow: var(--shadow-md);
        gap: 0;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: var(--spacing-sm);
        border-bottom: 1px solid var(--light);
    }
    
    .nav-dropdown-content {
        position: static;
        box-shadow: none;
        padding-left: var(--spacing-md);
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 1.85rem;
        letter-spacing: 0.2px;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .photo-band {
        grid-template-columns: 1fr;
    }
    
    h1 { font-size: 1.85rem; }
    h2 { font-size: 1.4rem; }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .btn-group {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Team page */
.team-photo {
    margin: 0;
    background: #c8c8c8;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.team-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 6 / 7;
    object-fit: cover;
    object-position: center center;
    border-radius: 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--spacing-md);
    max-width: 56rem;
    margin: 0 auto;
}

.team-grid--founders {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 38rem;
}

.team-member h3 {
    margin: 0.75rem 0 0.2rem;
    font-size: 1.1rem;
    color: var(--dark);
}

.team-member p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray-dark);
}

.team-role {
    font-size: 0.875rem !important;
    color: var(--primary) !important;
    font-weight: 500;
    margin-bottom: 0.5rem !important;
}

@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 22rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }

.hidden { display: none; }
.visible { display: block; }
