/**
 * Flexible WiFi Brand Styles
 * Mobile-first responsive design
 */

/* ============================================
   CSS Variables - Brand Colours
   ============================================ */
:root {
    /* Primary colours */
    --color-dark-navy: #071112;
    --color-deep-navy: #0A1628;
    --color-teal: #2DD4BF;
    --color-teal-dark: #0D9488;
    --color-mint: #5EEAD4;

    /* Neutrals */
    --color-white: #FFFFFF;
    --color-light-grey: #94A3B8;
    --color-slate: #1E293B;
    --color-slate-light: #334155;

    /* Light theme colours */
    --color-bg-light: #FFFFFF;
    --color-bg-light-alt: #F8FAFC;
    --color-text-dark: #1E293B;
    --color-text-dark-muted: #64748B;

    /* Semantic */
    --color-bg-primary: var(--color-dark-navy);
    --color-bg-secondary: var(--color-deep-navy);
    --color-bg-card: var(--color-slate);
    --color-text-primary: var(--color-white);
    --color-text-secondary: var(--color-light-grey);
    --color-accent: var(--color-teal);
    --color-accent-hover: var(--color-teal-dark);

    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 5rem;

    /* Layout */
    --container-max: 1200px;
    --border-radius: 8px;
    --border-radius-lg: 16px;
}

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

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: var(--line-height-base);
    color: var(--color-text-secondary);
    background-color: var(--color-bg-primary);
    min-height: 100vh;
}

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

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-text-primary);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

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

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

h4 {
    font-size: 1.25rem;
}

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

.lead {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
}

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

/* ============================================
   Layout
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-2xl) 0;
}

.section--alt {
    background-color: var(--color-bg-secondary);
}

/* Light sections - for content areas */
.section--light {
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
}

.section--light-alt {
    background-color: var(--color-bg-light-alt);
    color: var(--color-text-dark);
}

.section--light h1,
.section--light h2,
.section--light h3,
.section--light h4,
.section--light-alt h1,
.section--light-alt h2,
.section--light-alt h3,
.section--light-alt h4 {
    color: var(--color-dark-navy);
}

.section--light p,
.section--light .lead,
.section--light-alt p,
.section--light-alt .lead {
    color: var(--color-text-dark-muted);
}

.section--light a:not(.btn),
.section--light-alt a:not(.btn) {
    color: var(--color-teal-dark);
}

.section--light a:not(.btn):hover,
.section--light-alt a:not(.btn):hover {
    color: var(--color-accent);
}

/* Dark sections - for hero, header, footer */
.section--dark {
    background-color: var(--color-bg-primary);
    color: var(--color-text-secondary);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
    color: var(--color-text-primary);
}

/* Grid */
.grid {
    display: grid;
    gap: var(--spacing-lg);
}

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

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

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

@media (min-width: 640px) {
    .grid--2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

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

/* ============================================
   Header & Navigation
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(7, 17, 18, 0.98);
    backdrop-filter: blur(10px);
    transition: box-shadow 0.3s ease;
}

.header--scrolled {
    background-color: rgba(7, 17, 18, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm) var(--spacing-md);
    max-width: var(--container-max);
    margin: 0 auto;
}

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

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

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

/* Desktop Navigation */
.nav {
    display: none;
}

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

.nav__link {
    color: var(--color-text-secondary);
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav__link:hover,
.nav__link--active {
    color: var(--color-text-primary);
}

.nav__chevron {
    transition: transform 0.2s ease;
}

/* Desktop Dropdown */
.nav__dropdown {
    position: relative;
}

.nav__submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: var(--color-bg-secondary);
    border: 1px solid var(--color-slate);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    padding: var(--spacing-xs) 0;
    list-style: none;
}

.nav__dropdown:hover .nav__submenu,
.nav__dropdown--open .nav__submenu {
    display: block;
}

.nav__dropdown--open .nav__chevron {
    transform: rotate(180deg);
}

.nav__submenu li a {
    display: block;
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--color-text-secondary);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav__submenu li a:hover {
    background-color: var(--color-slate);
    color: var(--color-accent);
}

/* Mobile menu toggle */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-text-primary);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle--active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle--active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle--active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-bg-primary);
    z-index: 999;
    overflow-y: auto;
}

.mobile-menu--open {
    display: block;
}

.mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm) var(--spacing-md);
    border-bottom: 1px solid var(--color-slate);
}

.mobile-menu__close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--color-text-primary);
    cursor: pointer;
}

.mobile-menu__nav {
    padding: var(--spacing-md);
}

.mobile-menu__nav > ul {
    list-style: none;
}

.mobile-menu__nav > ul > li {
    border-bottom: 1px solid var(--color-slate);
}

.mobile-menu__nav > ul > li > a,
.mobile-menu__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--spacing-md) 0;
    color: var(--color-text-primary);
    font-size: 1.125rem;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.mobile-menu__nav > ul > li > a:hover,
.mobile-menu__toggle:hover {
    color: var(--color-accent);
}

.mobile-menu__chevron {
    transition: transform 0.3s ease;
}

.mobile-menu__dropdown--open .mobile-menu__chevron {
    transform: rotate(180deg);
}

.mobile-menu__submenu {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu__dropdown--open .mobile-menu__submenu {
    max-height: 800px;
}

.mobile-menu__submenu li a {
    display: block;
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--color-text-secondary);
    font-size: 1rem;
}

.mobile-menu__submenu li a:hover {
    color: var(--color-accent);
}

.mobile-menu__nav .btn {
    margin-top: var(--spacing-md);
    width: 100%;
    text-align: center;
}

/* Desktop breakpoint */
@media (min-width: 992px) {
    .nav {
        display: block;
    }
    .menu-toggle {
        display: none !important;
    }
    .mobile-menu {
        display: none !important;
    }
    .mobile-menu--open {
        display: none !important;
    }
}

/* Add padding to body for fixed header */
body {
    padding-top: 72px;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 100%);
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
}

/* Hero with background image */
.hero--image {
    min-height: 75vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero--image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(7, 17, 18, 0.45) 0%,
        rgba(7, 17, 18, 0.30) 50%,
        rgba(7, 17, 18, 0.15) 100%
    );
    z-index: 1;
}

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

.hero--image .hero__content {
    max-width: 650px;
}

.hero--image .hero__headline {
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero--image .hero__subtitle {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

/* Brighten hospitality hero - image is dark */
.hero--image[style*="hospitality-hero"] {
    filter: brightness(1.3);
}

@media (min-width: 768px) {
    .hero--image {
        min-height: 80vh;
    }
}

.hero__content {
    max-width: 800px;
}

.hero__headline {
    margin-bottom: var(--spacing-md);
}

.hero__subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-lg);
}

.hero__geo {
    display: inline-block;
    background-color: var(--color-slate);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    color: var(--color-mint);
    margin-bottom: var(--spacing-md);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.btn--primary {
    background-color: var(--color-accent);
    color: var(--color-dark-navy);
}

.btn--primary:hover {
    background-color: var(--color-mint);
    color: var(--color-dark-navy);
}

.btn--secondary {
    background-color: transparent;
    color: var(--color-text-primary);
    border: 2px solid var(--color-slate-light);
}

.btn--secondary:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* Secondary button on light backgrounds */
.section--light .btn--secondary,
.section--light-alt .btn--secondary {
    color: var(--color-dark-navy);
    border-color: var(--color-dark-navy);
}

.section--light .btn--secondary:hover,
.section--light-alt .btn--secondary:hover {
    border-color: var(--color-teal-dark);
    color: var(--color-teal-dark);
}

.btn--large {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 1.125rem;
}

/* ============================================
   Cards
   ============================================ */
.card {
    background-color: var(--color-bg-card);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Cards on light backgrounds */
.section--light .card,
.section--light-alt .card {
    background-color: var(--color-bg-light);
    border: 1px solid #E2E8F0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.section--light .card:hover,
.section--light-alt .card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.section--light .card__title,
.section--light-alt .card__title {
    color: var(--color-dark-navy);
}

.section--light .card__description,
.section--light-alt .card__description {
    color: var(--color-text-dark-muted);
}

.card__icon {
    width: 56px;
    height: 56px;
    background-color: rgba(45, 212, 191, 0.1);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    color: var(--color-accent);
}

.card:hover .card__icon {
    background-color: rgba(45, 212, 191, 0.2);
}

.card__title {
    margin-bottom: var(--spacing-xs);
}

.card__description {
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
}

.card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-md);
    font-weight: 500;
}

/* ============================================
   Features List
   ============================================ */
.features {
    list-style: none;
}

.features__item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.features__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--color-accent);
}

/* Features on light backgrounds */
.section--light .features__item,
.section--light-alt .features__item {
    color: var(--color-text-dark);
}

/* Features with image (two-column layout) */
.features-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.features-with-image__content {
    flex: 1;
}

.features-with-image__image {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.features-with-image__image img {
    max-width: 100%;
    max-height: 400px;
    width: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    object-fit: contain;
}

.features-with-image__badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
}

.features-with-image__badge img {
    width: 120px;
    height: auto;
    max-height: none;
    box-shadow: none;
    border-radius: 0;
}

.features-with-image__badge span {
    font-size: 0.75rem;
    color: var(--color-text-dark-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .features-with-image {
        grid-template-columns: 1fr;
    }

    .features-with-image__image {
        order: -1;
        margin-bottom: var(--spacing-md);
    }

    .features-with-image__image img {
        max-height: 300px;
    }
}

/* ============================================
   Testimonials / Quotes
   ============================================ */
.quote {
    position: relative;
    padding: var(--spacing-lg);
    background-color: var(--color-bg-secondary);
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--color-accent);
}

.quote__text {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-md);
}

.quote__author {
    font-weight: 600;
    color: var(--color-accent);
}

.quote__role {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

/* Quote on light backgrounds */
.section--light .quote,
.section--light-alt .quote {
    background-color: var(--color-bg-light-alt);
    border: 1px solid #E2E8F0;
}

.section--light .quote__text,
.section--light-alt .quote__text {
    color: var(--color-dark-navy);
}

.section--light .quote__role,
.section--light-alt .quote__role {
    color: var(--color-text-dark-muted);
}

/* ============================================
   FAQ Section
   ============================================ */
.faq {
    border-bottom: 1px solid var(--color-slate);
}

.faq__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: var(--color-text-primary);
    font-weight: 600;
    font-size: 1.0625rem;
}

.faq__question:hover {
    color: var(--color-accent);
}

.faq__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    transition: transform 0.2s ease;
}

.faq[open] .faq__icon {
    transform: rotate(45deg);
}

.faq__answer {
    padding-bottom: var(--spacing-md);
    color: var(--color-text-secondary);
}

/* FAQ on light backgrounds */
.section--light .faq,
.section--light-alt .faq {
    border-bottom: 1px solid #E2E8F0;
}

.section--light .faq__question,
.section--light-alt .faq__question {
    color: var(--color-dark-navy);
}

.section--light .faq__answer,
.section--light-alt .faq__answer {
    color: var(--color-text-dark-muted);
}

/* ============================================
   Contact Form
   ============================================ */
.form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form__group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.form__label {
    font-weight: 500;
    color: var(--color-text-primary);
}

.form__input,
.form__textarea {
    padding: var(--spacing-sm);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-slate);
    background-color: var(--color-bg-secondary);
    color: var(--color-text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.form__textarea {
    min-height: 150px;
    resize: vertical;
}

/* Form on light backgrounds */
.section--light .form__label,
.section--light-alt .form__label {
    color: var(--color-dark-navy);
}

.section--light .form__input,
.section--light .form__textarea,
.section--light-alt .form__input,
.section--light-alt .form__textarea {
    background-color: var(--color-bg-light);
    border-color: #CBD5E1;
    color: var(--color-dark-navy);
}

.section--light .form__input:focus,
.section--light .form__textarea:focus,
.section--light-alt .form__input:focus,
.section--light-alt .form__textarea:focus {
    border-color: var(--color-teal-dark);
}

/* ============================================
   Logo
   ============================================ */
.logo__img {
    height: 40px;
    width: auto;
}

.logo__img--footer {
    height: 48px;
}

/* ============================================
   Partner Logos Section
   ============================================ */
.partners {
    background-color: var(--color-bg-light-alt);
    padding: var(--spacing-xl) 0;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}

.partners__title {
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-text-dark-muted);
    margin-bottom: var(--spacing-lg);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.partners__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-lg) var(--spacing-xl);
}

.partners__logo {
    height: 40px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.partners__logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

@media (min-width: 768px) {
    .partners__logo {
        height: 45px;
        max-width: 140px;
    }
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background-color: var(--color-dark-navy);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
    border-top: 1px solid var(--color-slate);
}

.footer__grid {
    display: grid;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

@media (min-width: 768px) {
    .footer__grid {
        grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    }
}

/* Footer sitemap */
.footer-sitemap {
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    padding: var(--spacing-xl) 0 var(--spacing-lg);
}

.footer-sitemap .sitemap-column h4 {
    color: #2DD4BF;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-sitemap .sitemap-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-sitemap .sitemap-column a {
    color: #9CA3AF;
    text-decoration: none;
    font-size: 0.85rem;
}

.footer-sitemap .sitemap-column a:hover {
    color: #2DD4BF;
}

.footer-sitemap .sitemap-column address {
    font-style: normal;
    color: #9CA3AF;
    font-size: 0.85rem;
    line-height: 1.6;
}

/* Footer contact column (5th column) */
.footer-contact-column {
    text-align: right;
}

.footer-contact-column .footer-logo img {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-contact-column p {
    margin: 0.5rem 0;
    font-size: 0.85rem;
}

.footer-contact-column a {
    color: #9CA3AF;
    text-decoration: none;
}

.footer-contact-column a:hover {
    color: #2DD4BF;
}

.footer-contact-column .footer-phone a {
    color: var(--color-mint);
    font-weight: 500;
    font-size: 0.95rem;
}

.footer-contact-column .footer-email a {
    color: var(--color-mint);
    font-size: 0.9rem;
}

.footer-contact-column .footer-links {
    color: #9CA3AF;
    font-size: 0.8rem;
    margin-top: 0.75rem;
}

.footer-social {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin: 0.75rem 0;
}

.footer-social a {
    color: #9CA3AF;
    transition: color 0.2s;
}

.footer-social a:hover {
    color: #2DD4BF;
}

.footer-social svg {
    width: 22px;
    height: 22px;
    display: block;
}

/* Footer bottom bar */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    color: #9CA3AF;
}

.footer-bottom p {
    margin: 0;
}

.footer-credit-link {
    color: #9CA3AF;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-credit-link:hover {
    color: #2DD4BF;
}

.reasonwave-logo {
    height: 14px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.footer-credit-link:hover .reasonwave-logo {
    opacity: 1;
}

/* Hide sitemap on mobile, show simplified footer */
@media (max-width: 768px) {
    .footer-sitemap,
    .desktop-only {
        display: none;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

.footer__offices {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: var(--spacing-lg);
}

.footer__office {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer__office strong {
    color: var(--color-text-primary);
    font-size: 0.85rem;
}

.footer__office span {
    color: var(--color-text-secondary);
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .footer__offices {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}

.footer__simple .footer__contact {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.footer__contact-link {
    color: var(--color-mint);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    padding: var(--spacing-xs) var(--spacing-sm);
}

.footer__contact-link:hover {
    color: var(--color-accent);
}

.footer__links {
    margin-bottom: var(--spacing-lg);
}

.footer__links a {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    text-decoration: none;
}

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

.footer__divider {
    color: var(--color-text-secondary);
    margin: 0 var(--spacing-sm);
    opacity: 0.5;
}

.footer__simple .footer__legal {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-lg);
}

.footer__simple .footer__legal p {
    color: var(--color-text-secondary);
    font-size: 0.85rem;
    margin-bottom: var(--spacing-xs);
}

.footer__company-info {
    opacity: 0.7;
}


/* Footer mobile styles - single column stack */
@media (max-width: 767px) {
    .footer__grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }

    .footer__brand {
        max-width: 100%;
        text-align: center;
        margin-bottom: var(--spacing-md);
    }

    .footer__heading {
        margin-bottom: var(--spacing-md);
        font-size: 1rem;
    }

    .footer__list li {
        margin-bottom: var(--spacing-xs);
    }

    .footer__list a {
        font-size: 1rem;
        display: block;
        padding: 10px 0;
        min-height: 44px;
        line-height: 24px;
    }

    .footer__offices {
        max-width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-lg);
        text-align: center;
    }

    .footer__offices .footer__heading {
        grid-column: 1 / -1;
    }

    .footer__office {
        margin-bottom: 0;
        text-align: center;
    }

    .footer__iso {
        text-align: center;
    }

    .footer__bottom {
        text-align: center;
    }

    .footer__legal {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .footer__offices {
        grid-template-columns: 1fr;
    }
}

.footer__brand {
    max-width: 280px;
}

.footer__tagline {
    margin-top: var(--spacing-sm);
    color: var(--color-text-secondary);
    font-style: italic;
}

.footer__location {
    margin-top: var(--spacing-xs);
    color: var(--color-text-secondary);
    font-size: 0.875rem;
}

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

.footer__contact p {
    margin-bottom: var(--spacing-xs);
}

.footer__contact a {
    color: var(--color-text-primary);
    font-size: 0.9375rem;
}

.footer__contact a:hover {
    color: var(--color-accent);
}

/* Office addresses */
.footer__offices {
    max-width: 200px;
}

.footer__office {
    margin-bottom: var(--spacing-md);
}

.footer__office-name {
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: var(--spacing-xs);
}

.footer__office address {
    font-style: normal;
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
}

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

.footer__iso-badge {
    height: 50px;
    width: auto;
}

.footer__heading {
    color: var(--color-text-primary);
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer__list {
    list-style: none;
}

.footer__list li {
    margin-bottom: var(--spacing-xs);
}

.footer__list a {
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
}

.footer__list a:hover {
    color: var(--color-accent);
}

/* Client logos in footer */
.footer__clients {
    padding: var(--spacing-xl) 0;
    border-top: 1px solid var(--color-slate);
    margin-top: var(--spacing-xl);
}

.footer__clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md) var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.footer__client-logo {
    height: 30px;
    width: auto;
    filter: grayscale(100%) brightness(1.5);
    opacity: 0.5;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.footer__client-logo:hover {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

@media (min-width: 768px) {
    .footer__client-logo {
        height: 40px;
    }
}

/* ============================================
   Clients Section (Light background version)
   ============================================ */
.clients {
    background-color: var(--color-bg-light);
    padding: var(--spacing-xl) 0;
    border-bottom: 1px solid #E2E8F0;
}

.clients__title {
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-text-dark-muted);
    margin-bottom: var(--spacing-lg);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.clients__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md) var(--spacing-xl);
}

.clients__logo {
    height: 35px;
    width: auto;
    max-width: 100px;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.clients__logo:hover {
    opacity: 1;
}

@media (min-width: 768px) {
    .clients__logo {
        height: 45px;
        max-width: 120px;
    }
}

.footer__bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-slate);
    text-align: center;
}

.footer__legal {
    color: var(--color-text-secondary);
    font-size: 0.8125rem;
}

.footer__legal p {
    margin-bottom: var(--spacing-xs);
}

.footer__copyright {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

/* ============================================
   Case Study
   ============================================ */
.case-study__header {
    padding: var(--spacing-2xl) 0;
    background-color: var(--color-bg-secondary);
}

.case-study__meta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.case-study__sector {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-sm);
    background-color: var(--color-slate);
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    color: var(--color-mint);
}

/* Sector badge on light backgrounds */
.section--light .case-study__sector,
.section--light-alt .case-study__sector {
    background-color: #E0F2F1;
    color: var(--color-teal-dark);
}

.case-study__section {
    margin-bottom: var(--spacing-xl);
}

.case-study__section h3 {
    color: var(--color-accent);
    margin-bottom: var(--spacing-sm);
}

/* Case study sections on light backgrounds */
.section--light .case-study__section h3,
.section--light-alt .case-study__section h3 {
    color: var(--color-teal-dark);
}

.section--light .case-study__section p,
.section--light-alt .case-study__section p {
    color: var(--color-text-dark-muted);
}

/* Case study stats grid */
.case-study__stats {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-slate);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

@media (min-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

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

.stat-value {
    font-size: 0.9375rem;
    color: var(--color-text-dark);
    line-height: 1.4;
}

/* ============================================
   Utilities
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }

.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }

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

/* ============================================
   Schema/SEO Hidden
   ============================================ */
.schema-ld {
    display: none;
}

/* ============================================
   Chat Button
   ============================================ */
.chat-button {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-dark-navy);
    border: 2px solid var(--color-teal);
    cursor: pointer;
    z-index: 1000;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.chat-button svg {
    width: 24px;
    height: 24px;
    color: var(--color-teal);
    stroke: var(--color-teal);
}

.chat-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(45, 212, 191, 0.3);
}

/* ============================================
   Dave Chat Panel
   ============================================ */
.dave-chat-panel {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 380px;
    max-width: calc(100vw - 48px);
    height: 560px;
    max-height: calc(100vh - 48px);
    background: var(--color-dark-navy);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
}

.dave-chat-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dave-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--color-deep-navy);
    border-radius: 16px 16px 0 0;
    border-bottom: 1px solid var(--color-slate);
}

.dave-chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dave-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-teal-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-dark-navy);
}

.dave-chat-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-white);
}

.dave-status {
    font-size: 12px;
    color: var(--color-teal);
}

.dave-chat-close {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: var(--color-light-grey);
    cursor: pointer;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.dave-chat-close:hover {
    background: var(--color-slate);
    color: var(--color-white);
}

.dave-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dave-message {
    display: flex;
    max-width: 85%;
}

.dave-message--user {
    align-self: flex-end;
}

.dave-message--assistant {
    align-self: flex-start;
}

.dave-message-bubble {
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
}

.dave-message--user .dave-message-bubble {
    background: var(--color-teal);
    color: var(--color-dark-navy);
    border-bottom-right-radius: 4px;
}

.dave-message--assistant .dave-message-bubble {
    background: var(--color-slate);
    color: var(--color-white);
    border-bottom-left-radius: 4px;
}

.dave-message--assistant .dave-message-bubble p {
    margin: 0 0 0.5em;
}

.dave-message--assistant .dave-message-bubble p:last-child {
    margin-bottom: 0;
}

.dave-message--assistant .dave-message-bubble ul {
    margin: 0.5em 0;
    padding-left: 1.2em;
}

.dave-message--assistant .dave-message-bubble li {
    margin-bottom: 0.25em;
}

.dave-message--assistant .dave-message-bubble strong {
    color: var(--color-mint);
}

.dave-typing .dave-message-bubble {
    display: flex;
    gap: 4px;
    padding: 16px 20px;
}

.dave-typing-dot {
    width: 8px;
    height: 8px;
    background: var(--color-light-grey);
    border-radius: 50%;
    animation: daveBounce 1.4s ease-in-out infinite;
}

.dave-typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.dave-typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes daveBounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-6px); }
}

.dave-chat-input {
    display: flex;
    gap: 8px;
    padding: 16px 20px;
    border-top: 1px solid var(--color-slate);
}

.dave-chat-input input {
    flex: 1;
    min-width: 0;
    padding: 12px 16px;
    border: 1px solid var(--color-slate);
    border-radius: 24px;
    background: var(--color-slate);
    color: var(--color-white);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.dave-chat-input input::placeholder {
    color: var(--color-light-grey);
}

.dave-chat-input input:focus {
    border-color: var(--color-teal);
}

.dave-chat-input button {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: none;
    background: var(--color-teal);
    color: var(--color-dark-navy);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.dave-chat-input button:hover {
    background: var(--color-mint);
    transform: scale(1.05);
}

.dave-chat-footer {
    padding: 12px 20px 16px;
}

.dave-handoff-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid var(--color-slate);
    background: transparent;
    color: var(--color-light-grey);
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.dave-handoff-btn:hover:not(:disabled) {
    border-color: var(--color-teal);
    color: var(--color-teal);
}

.dave-handoff-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.dave-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid var(--color-slate);
    border-top-color: var(--color-teal);
    border-radius: 50%;
    animation: daveSpin 0.8s linear infinite;
}

@keyframes daveSpin {
    to { transform: rotate(360deg); }
}

/* Powered by branding */
.dave-powered-by {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 12px;
    font-size: 11px;
    color: #94A3B8;
    border-top: 1px solid #1E293B;
    background: var(--color-dark-navy);
}

.dave-powered-by a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: #38BDF8;
    font-weight: 600;
    transition: color 0.2s;
}

.dave-powered-by a:hover {
    color: #7DD3FC;
}

.dave-powered-by img {
    height: 20px;
    width: auto;
}

/* Mobile responsive */
@media (max-width: 480px) {
    .dave-chat-panel {
        bottom: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
    }

    .dave-chat-header {
        border-radius: 0;
    }
}

/* Offices Grid */
.offices-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    max-width: 900px;
    margin: 0 auto;
}

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

.office-card {
    text-align: center;
}

.office-card__image {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    margin-bottom: var(--spacing-md);
}

.office-card__name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-dark);
}

.office-card__address {
    color: var(--color-text-dark-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stat-card {
    text-align: center;
    padding: var(--spacing-lg);
}

.stat-card__value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-teal);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

.stat-card__label {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-dark-muted);
}

/* Office Card Link */
.office-card__link {
    display: inline-block;
    margin-top: var(--spacing-sm);
    color: var(--color-teal);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s;
}

.office-card__link:hover {
    color: var(--color-mint);
}

/* Partners Grid */
.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
    max-width: 800px;
    margin: 0 auto;
}

.partner-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: var(--spacing-sm) var(--spacing-lg);
    color: var(--color-light-grey);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Office Directions */
.office-card__directions {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-top: var(--spacing-xs);
    color: var(--color-text-dark-muted);
    font-size: 0.85rem;
    line-height: 1.4;
}

.office-card__directions-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.6;
}

/* Office images mobile fix */
@media (max-width: 768px) {
    .office-card__image {
        max-height: 200px;
    }
}

@media (max-width: 480px) {
    .office-card__image {
        max-height: 160px;
    }
    
    .offices-grid {
        gap: var(--spacing-lg);
    }
}

/* Contact Options */
.contact-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .contact-options {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
}

.contact-option {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--color-bg-light-alt);
    border-radius: var(--border-radius-lg);
    border: 1px solid #E2E8F0;
}

.contact-option__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--spacing-md);
    color: var(--color-teal);
}

.contact-option__icon svg {
    width: 100%;
    height: 100%;
}

.contact-option__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-sm);
}

.contact-option__value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-teal);
    margin-bottom: var(--spacing-sm);
    text-decoration: none;
}

.contact-option__value:hover {
    color: var(--color-dark-teal);
}

.contact-option__desc {
    font-size: 0.9rem;
    color: var(--color-text-dark-muted);
}

/* Contact Form */
.contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

@media (max-width: 600px) {
    .contact-form__row {
        grid-template-columns: 1fr;
    }
}

.contact-form__field {
    margin-bottom: var(--spacing-md);
}

.contact-form__field label {
    display: block;
    font-weight: 500;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-xs);
    font-size: 0.95rem;
}

.contact-form__field input,
.contact-form__field textarea,
.contact-form__field select {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid #CBD5E1;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus,
.contact-form__field select:focus {
    outline: none;
    border-color: var(--color-teal);
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.15);
}

.contact-form__field textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form__submit {
    text-align: center;
    margin-top: var(--spacing-lg);
}

/* Dark Office Cards */
.offices-grid--dark {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .offices-grid--dark {
        grid-template-columns: 1fr;
    }
}

.office-card--dark {
    text-align: center;
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.office-card--dark .office-card__name {
    color: var(--color-text-primary);
}

.office-card--dark .office-card__address {
    color: var(--color-text-secondary);
}

.office-card--dark .office-card__directions {
    color: var(--color-text-secondary);
    justify-content: center;
}

.office-card--dark .office-card__link {
    color: var(--color-mint);
}

.office-card--dark .office-card__link:hover {
    color: var(--color-accent);
}

/* Voice Controls */
.dave-mic-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--color-slate);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.dave-mic-btn:hover {
    color: var(--color-teal);
    background: rgba(45, 212, 191, 0.1);
}

/* Stop button */
.dave-stop-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #ef4444;
    color: white;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
    animation: stopPulse 1s infinite;
}

.dave-stop-btn:hover {
    background: #dc2626;
    transform: scale(1.1);
}

@keyframes stopPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
}

.dave-mic-btn.listening {
    color: var(--color-teal);
    background: rgba(45, 212, 191, 0.2);
    animation: micPulse 1.5s infinite;
}

@keyframes micPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(45, 212, 191, 0); }
}

.dave-voice-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #94A3B8;
    border-radius: 16px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.dave-voice-toggle:hover {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
    color: #CBD5E1;
}

.dave-voice-toggle.active {
    border-color: var(--color-teal);
    background: rgba(45, 212, 191, 0.15);
    color: var(--color-teal);
}

.dave-voice-toggle svg {
    flex-shrink: 0;
}

.dave-voice-toggle .sound-on {
    display: none;
}

.dave-voice-toggle .sound-off {
    display: block;
}

.dave-voice-toggle.active .sound-on {
    display: block;
}

.dave-voice-toggle.active .sound-off {
    display: none;
}

/* Mic button with audio level indicator */
.dave-mic-btn {
    position: relative;
    overflow: hidden;
}

.dave-mic-btn .mic-icon {
    position: relative;
    z-index: 2;
}

.dave-mic-btn .audio-level {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0%;
    background: linear-gradient(to top, rgba(45, 212, 191, 0.4), rgba(45, 212, 191, 0.1));
    transition: height 0.1s ease-out;
    z-index: 1;
    border-radius: 50%;
}

.dave-mic-btn .silence-countdown {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: var(--color-teal);
    font-weight: 600;
    display: none;
    white-space: nowrap;
}

/* Voice status states */
.dave-mic-btn.active {
    color: var(--color-teal);
    background: rgba(45, 212, 191, 0.15);
}

.dave-mic-btn.silence {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.15);
    animation: silencePulse 0.8s infinite;
}

@keyframes silencePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(245, 158, 11, 0); }
}

.dave-mic-btn.processing {
    color: var(--color-teal);
    background: rgba(45, 212, 191, 0.15);
}

.dave-mic-btn.processing .mic-icon {
    animation: processingRotate 1s linear infinite;
}

@keyframes processingRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.dave-mic-btn.speaking {
    color: var(--color-teal);
    background: rgba(45, 212, 191, 0.2);
    animation: speakingPulse 1s ease-in-out infinite;
}

@keyframes speakingPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Status text in header */
.dave-status {
    font-size: 12px;
    color: var(--color-slate);
    transition: color 0.2s;
}

/* Chat button voice states */
.chat-button.listening {
    animation: chatButtonPulse 1.5s infinite;
    border-color: var(--color-teal);
    box-shadow: 0 0 20px rgba(45, 212, 191, 0.4);
}

@keyframes chatButtonPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.chat-button.speaking {
    animation: chatButtonSpeak 0.8s ease-in-out infinite;
    border-color: var(--color-teal);
    background: rgba(45, 212, 191, 0.2);
}

@keyframes chatButtonSpeak {
    0%, 100% { box-shadow: 0 4px 20px rgba(45, 212, 191, 0.3); }
    50% { box-shadow: 0 4px 30px rgba(45, 212, 191, 0.6); }
}

/* Chat button voice states */
.chat-button.listening {
    animation: chatButtonPulse 1.5s infinite;
    border-color: var(--color-teal);
    box-shadow: 0 0 20px rgba(45, 212, 191, 0.5);
}

.chat-button.speaking {
    animation: chatButtonSpeak 0.8s infinite;
    border-color: var(--color-mint);
}

@keyframes chatButtonPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes chatButtonSpeak {
    0%, 100% { box-shadow: 0 0 10px rgba(94, 234, 212, 0.3); }
    50% { box-shadow: 0 0 20px rgba(94, 234, 212, 0.6); }
}

/* Update chat footer layout */
.dave-chat-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    border-top: 1px solid var(--color-slate);
    gap: 8px;
}

/* Screen reader only - for SEO GEO statements */
.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;
}

/* Card links list */
.card__links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.card__links li {
    margin-bottom: 0.5rem;
}
.card__links a {
    color: var(--color-primary);
    text-decoration: none;
}
.card__links a:hover {
    text-decoration: underline;
}


/* ============================================
   Case Studies Strip
   ============================================ */
.case-studies-strip {
    background: var(--color-bg-primary);
    padding: var(--spacing-2xl) 0;
}

.case-studies-strip__title {
    color: var(--color-text-primary);
    text-align: center;
    margin-bottom: var(--spacing-xl);
    font-size: 2rem;
}

.case-studies-strip__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

@media (max-width: 992px) {
    .case-studies-strip__cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .case-studies-strip__cards {
        grid-template-columns: 1fr;
    }
}

.case-studies-strip__card {
    background: var(--color-white);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-lg);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.case-studies-strip__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.case-studies-strip__card-logo {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.case-studies-strip__card-logo img {
    max-height: 100%;
    max-width: 150px;
    object-fit: contain;
}

.case-studies-strip__card-sector {
    display: inline-block;
    background: var(--color-accent);
    color: var(--color-bg-primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    margin-bottom: var(--spacing-sm);
    width: fit-content;
}

.case-studies-strip__card-desc {
    color: var(--color-text-dark-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
}

.case-studies-strip__card-link {
    color: var(--color-teal-dark);
    font-weight: 500;
    font-size: 0.9rem;
}

.case-studies-strip__card:hover .case-studies-strip__card-link {
    text-decoration: underline;
}

/* ============================================
   Dark Feature Section (two-column layout)
   ============================================ */
.section--dark-feature {
    background: var(--color-bg-primary);
    padding: var(--spacing-2xl) 0;
}

.dark-feature {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: var(--spacing-xl);
    align-items: center;
}

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

.dark-feature__content {
    color: var(--color-text-primary);
}

.dark-feature__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
}

.dark-feature__text {
    color: var(--color-text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

.dark-feature__image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dark-feature__image img {
    max-width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 0 30px rgba(45, 212, 191, 0.2);
}

/* Alt version - image on left */
.dark-feature--alt .dark-feature__inner {
    direction: rtl;
}

.dark-feature--alt .dark-feature__inner > * {
    direction: ltr;
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */

.testimonials {
    background: var(--color-dark);
    padding: var(--spacing-2xl) 0;
}

.testimonial {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.testimonial__photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--color-teal);
    flex-shrink: 0;
}

.testimonial__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial__photo--placeholder {
    background: linear-gradient(135deg, var(--color-teal) 0%, #1a4a4a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    font-weight: 600;
}

.testimonial__content {
    color: white;
}

.testimonial__quote {
    font-size: 1.125rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: var(--spacing-md);
    position: relative;
}

.testimonial__quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--color-teal);
    opacity: 0.3;
    position: absolute;
    top: -1.5rem;
    left: -0.5rem;
    font-family: Georgia, serif;
}

.testimonial__author {
    color: var(--color-teal);
    font-weight: 600;
    font-size: 1.125rem;
}

.testimonial__role {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

/* Decorative triangles */
.testimonial__decoration {
    position: absolute;
    right: -2rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.1;
}

.testimonial__decoration svg {
    width: 150px;
    height: 150px;
    fill: var(--color-teal);
}

/* Testimonials grid for multiple */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

.testimonials-grid .testimonial {
    background: rgba(255, 255, 255, 0.03);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    display: block;
}

.testimonials-grid .testimonial__photo {
    width: 80px;
    height: 80px;
    margin-bottom: var(--spacing-md);
}

@media (max-width: 768px) {
    .testimonial {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .testimonial__photo {
        margin: 0 auto var(--spacing-md);
    }

    .testimonial__quote::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .testimonial__decoration {
        display: none;
    }
}

/* ==========================================================================
   Sector Cards (Industries we serve)
   ========================================================================== */

.sector-card {
    text-align: center;
    padding: var(--spacing-lg);
}

.sector-card__icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-md);
    color: var(--color-teal);
}

.sector-card__icon svg {
    width: 100%;
    height: 100%;
}

.sector-card .card__title {
    margin-bottom: var(--spacing-sm);
}

.sector-card .card__description {
    font-size: 0.875rem;
    color: var(--color-text-dark-muted);
}

/* ==========================================================================
   Case Study Card Logos - Centred Globally
   ========================================================================== */

/* Homepage case study cards */
.case-study-card {
    text-align: center;
}

.case-study-card__logo {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.case-study-card__logo img {
    max-height: 100%;
    max-width: 150px;
    object-fit: contain;
}

/* Keep text left-aligned within centred cards */
.case-study-card .card__title,
.case-study-card .card__description,
.case-study-card p {
    text-align: left;
}

/* Global catch-all for any case study logo containers */
[class*="case-study"] [class*="logo"] {
    display: flex;
    align-items: center;
    justify-content: center;
}

[class*="case-study"] [class*="logo"] img {
    max-height: 60px;
    max-width: 150px;
    object-fit: contain;
}
