/* Insight PV - Brand Styles */
:root {
    --brand-dark-blue: #003366;
    --brand-nav-blue: #00264d;
    --brand-gold: #D4AF37;
    --brand-pale-white: #F9F9F9;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--brand-pale-white);
    line-height: 1.6;
}

/* Navbar — light, consistent with body */
.navbar {
    background-color: var(--brand-pale-white) !important;
    border-bottom: 2px solid var(--brand-gold);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.navbar .nav-link {
    color: var(--brand-dark-blue);
    font-weight: 500;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: var(--brand-gold);
}

/* Header */
.hero-section {
    padding: 5rem 2rem 3rem;
    text-align: center;
    color: white;
    border-bottom: 4px solid var(--brand-gold);
}

.hero-logo {
    max-width: none;
    height: auto;
}

/* Hero logo wordmark (colour variant) */
.hero-logo-mark {
    max-height: 64px;
    width: auto;
    margin-bottom: 1rem;
}

.hero-splash {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* Stat tiles */
.stat-tile {
    background-color: white;
    color: var(--brand-dark-blue);
    border-radius: 10px;
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.stat-tile .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand-gold);
    line-height: 1.1;
}

.stat-tile .stat-label {
    font-size: 0.9rem;
    color: var(--brand-dark-blue);
}

/* Headings */
section h2 {
    color: var(--brand-dark-blue);
    font-weight: 600;
    border-bottom-color: var(--brand-gold);
    padding-bottom: 1rem;
}

/* Product Cards */
.product-grid {
    display: grid;
    gap: 2.5rem;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.product-card {
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Product Icons */
.product-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
}

/* Product card images (index page) */
.product-card-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Team Section */
.team-section img.img-fluid {
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.team-grid > [class*="col"] {
    margin-bottom: 2rem;
}

.team-grid .product-card {
    height: 100%;
}

/* Buttons */
.btn-gold {
    background-color: var(--brand-gold);
    color: white;
    padding: 12px 35px;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background-color: #b89231;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

/* Footer */
footer {
    background-color: var(--brand-dark-blue);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .hero-section {
        padding: 3.5rem 1.5rem 2rem;
    }

    section h2, footer p {
        font-size: 1.4rem;
    }
}

/* Accessibility - Focus States */
:focus-visible {
    outline: 3px solid var(--brand-gold);
    outline-offset: 2px;
}

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

/* How it works steps */
.how-it-works-step {
    padding: 1rem;
}

.how-it-works-number {
    width: 56px;
    height: 56px;
    line-height: 56px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background-color: var(--brand-dark-blue);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.how-it-works-step h3 {
    color: var(--brand-dark-blue);
    font-weight: 600;
}

/* Cookie consent banner */
.story-logo {
    width: 100%;
    height: auto;
    max-height: 108px;
    object-fit: contain;
    padding: 1.5rem 0;
}
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--brand-nav-blue);
    color: white;
    padding: 1rem 1.5rem;
    z-index: 1060;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.cookie-consent p {
    margin: 0;
    font-size: 0.9rem;
}

.cookie-consent .btn {
    white-space: nowrap;
}
