/* =============================================
   Mapleview Energy - Professional Website
   Brand Color: #2CB5A0
   ============================================= */

:root {
    /* Brand Colors */
    --color-primary: #2CB5A0;
    --color-primary-dark: #1E9A87;
    --color-primary-light: #E8F7F5;

    /* Neutrals */
    --color-black: #1A1A1A;
    --color-gray-900: #2D2D2D;
    --color-gray-800: #404040;
    --color-gray-700: #5C5C5C;
    --color-gray-600: #787878;
    --color-gray-500: #9A9A9A;
    --color-gray-400: #BCBCBC;
    --color-gray-300: #DEDEDE;
    --color-gray-200: #EFEFEF;
    --color-gray-100: #F7F7F7;
    --color-white: #FFFFFF;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Inter', sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;

    /* Layout */
    --container-max: 1200px;
    --container-narrow: 800px;
    --header-height: 80px;

    /* Transitions */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-gray-700);
    background: var(--color-white);
}

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

/* Consistent image treatment for photos */
.team-member__photo img,
.feature__image img,
.journey-card__image img,
.case-study__image img,
.service-card__image img,
.sector-card__image img,
.post-card__image img,
.news-carousel__image img {
    filter: saturate(0.85) contrast(1.05) brightness(0.98);
    transition: filter var(--transition), transform var(--transition);
}

.team-member__photo img:hover,
.feature__image img:hover,
.journey-card__image img:hover,
.case-study__image img:hover,
.service-card__image img:hover,
.sector-card__image img:hover,
.post-card__image img:hover,
.news-carousel__image img:hover {
    filter: saturate(1) contrast(1.05) brightness(1);
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-black);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.5rem, 2.5vw, 1.75rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

.lead {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--color-gray-600);
}

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

.container--narrow {
    max-width: var(--container-narrow);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: stretch;
    background: var(--color-white);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.header .container {
    height: 100%;
}

.header.scrolled {
    border-bottom-color: var(--color-gray-200);
    box-shadow: 0 1px 10px rgba(0,0,0,0.05);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.header__logo {
    display: flex;
    align-items: center;
}

.header__logo img {
    height: 36px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav__list {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav__link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-gray-700);
    transition: color var(--transition);
    position: relative;
}

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

.nav__link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-primary);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

/* Mobile nav overlay - hidden by default on desktop */
.nav-overlay {
    display: none;
}

.nav__toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-black);
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

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

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

.btn--outline {
    background: transparent;
    border: 1.5px solid var(--color-gray-300);
    color: var(--color-black);
}

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

.btn--large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn--small {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

.btn--icon svg {
    width: 18px;
    height: 18px;
}

/* Hero Sections */
.hero {
    padding-top: calc(var(--header-height) + var(--space-4xl));
    padding-bottom: var(--space-4xl);
}

.hero--home {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--color-gray-100) 0%, var(--color-white) 100%);
}

.hero--page {
    padding-top: calc(var(--header-height) + var(--space-3xl));
    padding-bottom: var(--space-3xl);
    background: var(--color-gray-100);
}

.hero__content {
    max-width: 680px;
}

.hero__eyebrow {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
}

.hero__title {
    margin-bottom: var(--space-md);
}

.hero__subtitle {
    font-size: 1.25rem;
    color: var(--color-gray-600);
    margin-bottom: var(--space-xl);
    line-height: 1.6;
}

.hero__actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section--gray {
    background: var(--color-gray-100);
}

.section--gray + .section--gray {
    padding-top: var(--space-xl);
}

.section--dark {
    background: linear-gradient(135deg, var(--color-black) 0%, #1a2a28 100%);
    color: var(--color-white);
}

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

.section--dark p {
    color: var(--color-gray-400);
}

.section__header {
    margin-bottom: var(--space-2xl);
}

.section__header--center {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section__eyebrow {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
}

.section__title {
    margin-bottom: var(--space-md);
}

.section__subtitle {
    color: var(--color-gray-600);
    font-size: 1.125rem;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: var(--space-xl);
}

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

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

.grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Cards */
.card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.card--shadow {
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.card--shadow:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.card--bordered {
    border: 1px solid var(--color-gray-200);
    transition: var(--transition);
}

.card--bordered:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 20px rgba(44, 181, 160, 0.1);
}

.card__image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.card:hover .card__image img {
    transform: scale(1.03);
}

.card__body {
    padding: var(--space-lg);
}

.card__eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-xs);
}

.card__title {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.card__text {
    color: var(--color-gray-600);
    font-size: 0.9375rem;
}

/* Feature Blocks */
.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.feature--reverse {
    direction: rtl;
}

.feature--reverse > * {
    direction: ltr;
}

.feature__content {
    max-width: 520px;
}

.feature__image {
    border-radius: 12px;
    overflow: hidden;
}

.feature__image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.stat {
    text-align: center;
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    transition: var(--transition);
}

.section--dark .stat:hover {
    background: rgba(255, 255, 255, 0.06);
}

.stat__value {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat__label {
    font-size: 0.9375rem;
    color: var(--color-gray-400);
    max-width: 220px;
    margin: 0 auto var(--space-sm);
}

.stat__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-md);
    background: rgba(44, 181, 160, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.stat__icon svg {
    width: 28px;
    height: 28px;
}

.stat__desc {
    font-size: 0.875rem;
    color: var(--color-gray-500);
    line-height: 1.6;
    max-width: 280px;
    margin: 0 auto;
}

/* Impact Cards */
.impact-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: var(--space-xl);
    text-align: center;
    transition: var(--transition);
}

.impact-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(44, 181, 160, 0.3);
}

.impact-card__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
    background: rgba(44, 181, 160, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.impact-card__icon svg {
    width: 32px;
    height: 32px;
}

.impact-card__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.impact-card__text {
    font-size: 0.9375rem;
    color: var(--color-gray-400);
    line-height: 1.6;
    margin: 0;
}

.impact-card__value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
}

.impact-card__label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-md);
    line-height: 1.3;
}

.impact-card__desc {
    font-size: 0.9375rem;
    color: var(--color-gray-400);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.impact-card__why {
    font-size: 0.875rem;
    color: var(--color-gray-500);
    line-height: 1.6;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.impact-card__why strong {
    color: var(--color-primary);
    display: block;
    margin-bottom: var(--space-xs);
}

/* Mission Cards */
.mission-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 16px;
    padding: var(--space-2xl);
    transition: var(--transition);
}

.mission-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 8px 30px rgba(44, 181, 160, 0.1);
}

.mission-card__icon {
    width: 56px;
    height: 56px;
    background: var(--color-primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
}

.mission-card__icon svg {
    width: 28px;
    height: 28px;
}

.mission-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: var(--space-sm);
}

.mission-card__text {
    font-size: 1rem;
    color: var(--color-gray-600);
    line-height: 1.7;
    margin: 0;
}

/* Journey Timeline */
.journey-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.journey-timeline__line {
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-primary-light));
}

.journey-timeline__items {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.journey-item {
    display: flex;
    gap: var(--space-lg);
    position: relative;
}

.journey-item__marker {
    width: 56px;
    height: 56px;
    background: var(--color-white);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
    z-index: 1;
    transition: var(--transition);
}

.journey-item__marker svg {
    width: 24px;
    height: 24px;
}

.journey-item:hover .journey-item__marker {
    background: var(--color-primary);
    color: var(--color-white);
}

.journey-item--current .journey-item__marker {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 0 0 4px rgba(44, 181, 160, 0.2);
}

.journey-item__content {
    flex: 1;
    padding-bottom: var(--space-sm);
}

.journey-item__year {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-xs);
}

.journey-item__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 0.25rem;
}

.journey-item__text {
    font-size: 0.9375rem;
    color: var(--color-gray-600);
    margin: 0;
}

/* Partner Logo Grid */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-xl);
    align-items: center;
    justify-items: center;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 80px;
    padding: var(--space-sm);
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

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

.partner-logo img {
    max-width: 180px;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.partner-logo--wide img {
    max-width: 240px;
}

/* Highlight Text */
.highlight-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-top: var(--space-xl);
}

/* Process Steps */
.process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    counter-reset: process;
}

.process__step {
    position: relative;
    padding: var(--space-lg);
    background: var(--color-white);
    border-radius: 12px;
    border: 1px solid var(--color-gray-200);
}

.process__step::before {
    counter-increment: process;
    content: counter(process);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50%;
    margin-bottom: var(--space-md);
}

.process__title {
    font-size: 1.125rem;
    margin-bottom: var(--space-xs);
}

.process__text {
    font-size: 0.9375rem;
    color: var(--color-gray-600);
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
}

.team-member {
    text-align: center;
}

.team-member__photo {
    width: 180px;
    height: 180px;
    margin: 0 auto var(--space-lg);
    border-radius: 50%;
    overflow: hidden;
    background: var(--color-gray-200);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 4px solid var(--color-white);
}

.team-member__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.team-member:hover .team-member__photo img {
    transform: scale(1.05);
}

.team-member__initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-white);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.team-member__name {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.team-member__role {
    color: var(--color-primary);
    font-weight: 500;
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.team-member__credentials {
    color: var(--color-gray-500);
    font-size: 0.875rem;
}

/* Case Study */
.case-study {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.case-study__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.case-study__image {
    min-height: 400px;
}

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

.case-study__content {
    padding: var(--space-3xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case-study__eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
}

.case-study__title {
    margin-bottom: var(--space-md);
}

.case-study__text {
    margin-bottom: var(--space-lg);
}

.case-study__stats {
    display: flex;
    gap: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-gray-300);
}

.case-study__stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.case-study__stat-label {
    font-size: 0.875rem;
    color: var(--color-gray-600);
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: var(--space-2xl);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-gray-200);
}

.timeline__item {
    position: relative;
    padding-bottom: var(--space-xl);
}

.timeline__item:last-child {
    padding-bottom: 0;
}

.timeline__marker {
    position: absolute;
    left: calc(-1 * var(--space-2xl) + 0);
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-white);
    border: 3px solid var(--color-primary);
}

.timeline__item--completed .timeline__marker {
    background: var(--color-primary);
}

.timeline__year {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
}

.timeline__title {
    font-size: 1.125rem;
    margin-bottom: var(--space-xs);
}

.timeline__text {
    color: var(--color-gray-600);
    font-size: 0.9375rem;
}

/* Blog/News */
a.post-card {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.post-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.post-card__image {
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: var(--space-md);
    background: var(--color-gray-200);
}

.post-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.post-card:hover .post-card__image img {
    transform: scale(1.03);
}

.post-card__meta {
    font-size: 0.8125rem;
    color: var(--color-gray-500);
    margin-bottom: var(--space-xs);
}

.post-card__title {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    transition: color var(--transition);
}

.post-card:hover .post-card__title {
    color: var(--color-primary);
}

.post-card__excerpt {
    color: var(--color-gray-600);
    font-size: 0.9375rem;
    flex-grow: 1;
}

.post-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-top: var(--space-md);
}

/* Forms */
.form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form__group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.form__label {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-gray-800);
}

.form__input,
.form__select,
.form__textarea {
    padding: 0.875rem 1rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    border: 1.5px solid var(--color-gray-300);
    border-radius: 8px;
    background: var(--color-white);
    transition: var(--transition);
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-light);
}

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

/* Contact Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-4xl);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.contact-info__item {
    display: flex;
    gap: var(--space-md);
}

.contact-info__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: 10px;
    flex-shrink: 0;
}

.contact-info__label {
    font-size: 0.875rem;
    color: var(--color-gray-500);
    margin-bottom: 0.25rem;
}

.contact-info__value {
    font-weight: 500;
    color: var(--color-black);
}

.contact-info__value a {
    color: var(--color-primary);
}

/* Footer */
.footer {
    background: var(--color-black);
    color: var(--color-gray-400);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer__brand {
    max-width: 300px;
}

.footer__logo {
    height: 32px;
    margin-bottom: var(--space-md);
}

.footer__heading {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__link {
    color: var(--color-gray-400);
    font-size: 0.9375rem;
    transition: color var(--transition);
}

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

.footer__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--color-gray-400);
    transition: color var(--transition);
    margin-top: var(--space-sm);
}

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

.footer__social svg {
    width: 20px;
    height: 20px;
}

.footer__bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-gray-800);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

/* Logo Scroller */
.logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-3xl);
    flex-wrap: wrap;
    opacity: 0.6;
}

.logos img {
    height: 32px;
    width: auto;
    filter: grayscale(100%);
    transition: var(--transition);
}

.logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    padding: var(--space-2xl);
    border-radius: 16px;
    text-align: center;
}

.cta-banner h2 {
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.cta-banner p {
    color: rgba(255,255,255,0.9);
    margin-bottom: var(--space-lg);
}

.cta-banner .btn--primary {
    background: var(--color-white);
    color: var(--color-primary);
}

.cta-banner .btn--primary:hover {
    background: var(--color-gray-100);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

/* =============================================
   Impact Stat Cards (Home Page)
   ============================================= */
.impact-stats {
    gap: var(--space-lg);
}

.impact-stat-card {
    background: var(--color-white);
    border-radius: 12px;
    padding: var(--space-xl);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.impact-stat-card__numbers {
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
}

.impact-stat-card__prefix {
    color: var(--color-primary);
    font-size: 1.125rem;
}

.impact-stat-card__value {
    color: var(--color-primary);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
}

.impact-stat-card__unit {
    color: var(--color-primary);
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 600;
}

.impact-stat-card__label {
    color: var(--color-gray-700);
    font-size: 1rem;
}

/* =============================================
   Responsive - Tablet (1024px)
   ============================================= */
@media (max-width: 1024px) {
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .process { grid-template-columns: repeat(2, 1fr); }
    .feature { grid-template-columns: 1fr; gap: var(--space-xl); }
    .feature--reverse { direction: ltr; }
    .case-study__inner { grid-template-columns: 1fr; }
    .case-study__image { min-height: 300px; }
    .contact-grid { grid-template-columns: 1fr; gap: var(--space-2xl); }
    .footer__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-xl); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); }

    /* Journey cards - tablet */
    .journey-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .journey-cards .journey-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
}

/* =============================================
   Responsive - Mobile Nav & Overlay (768px)
   ============================================= */
@media (max-width: 768px) {
    /* Mobile Navigation */
    .nav__toggle {
        display: flex;
        z-index: 1002;
        position: relative;
    }

    .nav__toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

    .nav__toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .nav__list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        height: 100dvh;
        background: var(--color-white);
        flex-direction: column;
        padding: 100px var(--space-xl) var(--space-xl);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transition: right var(--transition);
        z-index: 1001;
        overflow-y: auto;
    }

    .nav__list.active {
        right: 0;
    }

    /* Nav link colors in mobile menu always dark */
    .header--dark .nav__list .nav__link {
        color: var(--color-gray-700);
    }

    .header--dark .nav__list .nav__link:hover,
    .header--dark .nav__list .nav__link.active {
        color: var(--color-primary);
    }

    /* Mobile menu backdrop */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        opacity: 0;
        transition: opacity var(--transition);
    }

    .nav-overlay.active {
        display: block;
        opacity: 1;
    }

    /* Mobile nav link sizing for touch targets */
    .nav__list .nav__link {
        padding: 0.75rem 0;
        font-size: 1rem;
        display: block;
    }

    .nav__list .btn {
        margin-top: var(--space-sm);
        text-align: center;
    }

    /* Grid layouts */
    .grid--2,
    .grid--3 { grid-template-columns: 1fr; }

    /* Impact cards */
    .impact-card {
        padding: var(--space-lg);
    }

    .impact-card__icon {
        width: 56px;
        height: 56px;
    }

    .impact-card__icon svg {
        width: 28px;
        height: 28px;
    }

    /* Mission cards */
    .mission-card {
        padding: var(--space-xl);
    }

    /* Journey timeline */
    .journey-timeline__line {
        left: 20px;
    }

    .journey-item__marker {
        width: 40px;
        height: 40px;
    }

    .journey-item__marker svg {
        width: 18px;
        height: 18px;
    }

    /* Partner logos */
    .partner-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-lg);
    }

    .partner-logo {
        height: 70px;
    }

    .partner-logo img {
        max-width: 150px;
    }

    /* Stats */
    .stats { grid-template-columns: 1fr; gap: var(--space-lg); }
    .stat { padding: var(--space-lg); }
    .stat__desc { max-width: 100%; }

    /* Team grid - single column */
    .team-grid { grid-template-columns: 1fr; }
    .team-member__photo {
        width: 150px;
        height: 150px;
    }

    /* Process */
    .process { grid-template-columns: 1fr; }

    /* Form */
    .form__row { grid-template-columns: 1fr; }

    /* Footer */
    .footer__grid { grid-template-columns: 1fr; gap: var(--space-xl); }
    .footer__brand { max-width: 100%; }
    .footer__bottom { flex-direction: column; gap: var(--space-sm); text-align: center; }

    /* Hero */
    .hero--home { min-height: auto; padding-top: calc(var(--header-height) + var(--space-3xl)); }
    .hero--page {
        padding-top: calc(var(--header-height) + var(--space-2xl));
        padding-bottom: var(--space-2xl);
    }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; }
    .hero__subtitle { font-size: 1.125rem; }

    /* Lead text */
    .lead { font-size: 1.125rem; }

    /* Section spacing */
    .section { padding: var(--space-2xl) 0; }
    .section__header { margin-bottom: var(--space-xl); }

    /* CTA Banner */
    .cta-banner {
        padding: var(--space-xl);
    }
    .cta-banner h2 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    /* Case study */
    .case-study__content {
        padding: var(--space-xl);
    }

    /* Contact card padding override */
    .contact-grid .card,
    .card--form {
        padding: var(--space-xl);
    }

    /* Value card responsive */
    .value-card__header {
        gap: var(--space-sm);
    }

    /* Card body centered padding */
    .card__body--centered {
        padding: var(--space-lg);
    }

    /* Section text block */
    .section__text-block {
        margin-top: var(--space-2xl);
    }

    /* Hero content wide variants */
    .hero__content--wide,
    .hero__content--medium {
        max-width: 100%;
    }

    /* Contact social */
    .contact-social {
        margin-top: var(--space-lg);
        padding-top: var(--space-lg);
    }

    /* Services grid */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 320px;
    }

    /* News carousel */
    .news-carousel__item {
        flex: 0 0 calc(100% - var(--space-md));
        min-width: 0;
    }

    /* Dark hero */
    .hero--dark {
        min-height: 80vh;
    }

    .hero--dark .hero__title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero--dark .hero__subtitle {
        font-size: 1.125rem;
    }
}

/* =============================================
   Responsive - Small Mobile (480px)
   ============================================= */
@media (max-width: 480px) {
    :root {
        --header-height: 64px;
    }

    .header__logo img {
        height: 28px;
    }

    .container { padding: 0 var(--space-md); }
    .section { padding: var(--space-xl) 0; }

    /* Hero */
    .hero {
        padding-top: calc(var(--header-height) + var(--space-2xl));
        padding-bottom: var(--space-2xl);
    }
    .hero--page {
        padding-top: calc(var(--header-height) + var(--space-xl));
        padding-bottom: var(--space-xl);
    }
    .hero__subtitle {
        font-size: 1rem;
    }

    /* Dark hero */
    .hero--dark {
        min-height: 70vh;
    }

    /* Case study */
    .case-study__content { padding: var(--space-lg); }
    .case-study__stats { flex-direction: column; gap: var(--space-md); }
    .case-study__image { min-height: 200px; }

    /* Partners */
    .partner-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .partner-logo {
        height: 55px;
    }

    .partner-logo img {
        max-width: 120px;
    }

    /* Journey timeline */
    .journey-item {
        gap: var(--space-md);
    }

    .journey-timeline__line {
        left: 16px;
    }

    .journey-item__marker {
        width: 32px;
        height: 32px;
    }

    .journey-item__marker svg {
        width: 14px;
        height: 14px;
    }

    /* Highlight text */
    .highlight-text {
        font-size: 1.125rem;
    }

    /* Service cards */
    .service-card {
        min-height: 280px;
    }

    .service-card__title {
        font-size: 1.5rem;
    }

    /* CTA banner */
    .cta-banner {
        padding: var(--space-lg);
        border-radius: 12px;
    }

    /* Buttons */
    .btn--large {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }

    /* Section headers */
    .section__subtitle {
        font-size: 1rem;
    }

    /* Mission cards */
    .mission-card {
        padding: var(--space-lg);
    }

    /* Impact cards */
    .impact-card {
        padding: var(--space-md);
    }

    /* Contact card */
    .contact-grid .card,
    .card--form {
        padding: var(--space-lg);
    }

    /* Value card icon stacked on small mobile */
    .value-card__header {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Section text block */
    .section__text-block {
        margin-top: var(--space-xl);
    }

    .section__text-block p {
        font-size: 1rem;
    }

    /* Team member photo */
    .team-member__photo {
        width: 130px;
        height: 130px;
    }

    /* News carousel */
    .news-carousel__item {
        flex: 0 0 100%;
    }

    .news-carousel__track {
        gap: var(--space-md);
    }

    /* Footer */
    .footer {
        padding: var(--space-2xl) 0 var(--space-lg);
    }

    .footer__grid {
        gap: var(--space-lg);
        margin-bottom: var(--space-xl);
    }

    .footer__bottom {
        padding-top: var(--space-md);
        font-size: 0.8125rem;
    }

    .footer__heading {
        font-size: 0.875rem;
        margin-bottom: var(--space-sm);
    }

    .footer__link {
        font-size: 0.875rem;
    }

    .footer__brand p {
        font-size: 0.875rem;
    }
}

/* =============================================
   Dark Hero with Background Image
   ============================================= */
.hero--dark {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--color-black);
    overflow: hidden;
}

/* Hero Carousel */
.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-carousel__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    z-index: 0;
    transition: opacity 1s ease-in-out, visibility 0s 1s;
}

.hero-carousel__slide--active {
    opacity: 0.6;
    visibility: visible;
    z-index: 1;
    transition: opacity 1s ease-in-out, visibility 0s 0s;
}

.hero-carousel__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.85) contrast(1.05) brightness(0.98);
}

.hero--dark::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}

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

.hero--dark .hero__content {
    max-width: 800px;
}

.hero--dark .hero__title {
    color: var(--color-white);
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: var(--space-lg);
}

.hero--dark .hero__subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.375rem;
    margin-bottom: var(--space-xl);
}

.hero--dark .btn--outline {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--color-white);
}

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

/* Dark header when on dark hero */
.header--dark {
    background: transparent;
    border-bottom-color: transparent;
}

.header--dark .nav__link {
    color: rgba(255, 255, 255, 0.85);
}

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

.header--dark .nav__toggle span {
    background: var(--color-white);
}

.header--dark.scrolled {
    background: var(--color-black);
    border-bottom-color: var(--color-gray-800);
}

/* =============================================
   Two-Column Services Section
   ============================================= */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.service-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.service-card__image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

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

.service-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
}

.service-card__content {
    position: relative;
    z-index: 1;
    padding: var(--space-xl);
    color: var(--color-white);
}

.service-card__eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
}

.service-card__title {
    font-size: 1.75rem;
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.service-card__text {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-md);
    font-size: 1rem;
    line-height: 1.6;
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--color-primary);
    transition: gap var(--transition);
}

.service-card__link:hover {
    gap: 0.75rem;
}

.service-card__link svg {
    width: 18px;
    height: 18px;
}

/* =============================================
   News Carousel
   ============================================= */
.news-carousel {
    overflow: hidden;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.news-carousel::-webkit-scrollbar {
    display: none;
}

.news-carousel__track {
    display: flex;
    gap: var(--space-xl);
}

.news-carousel__item {
    flex: 0 0 calc(33.333% - var(--space-lg));
    min-width: 300px;
}

.news-carousel__card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-carousel__card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.news-carousel__image {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--color-gray-200);
}

.news-carousel__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.news-carousel__card:hover .news-carousel__image img {
    transform: scale(1.05);
}

.news-carousel__body {
    padding: var(--space-lg);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-carousel__date {
    font-size: 0.8125rem;
    color: var(--color-gray-500);
    margin-bottom: var(--space-xs);
}

.news-carousel__title {
    font-size: 1.125rem;
    margin-bottom: var(--space-sm);
    line-height: 1.4;
}

.news-carousel__excerpt {
    color: var(--color-gray-600);
    font-size: 0.9375rem;
    flex-grow: 1;
}

.news-carousel__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-top: var(--space-md);
    font-size: 0.9375rem;
}

/* Responsive for new sections - handled in main media queries above */

/* =============================================
   Process Flow Diagram
   ============================================= */
.process-flow {
    background: var(--color-white);
    border-radius: 16px;
    padding: var(--space-2xl);
    border: 1px solid var(--color-gray-200);
}

.process-flow__title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
}

.process-flow__subtitle {
    text-align: center;
    color: var(--color-gray-600);
    margin-bottom: var(--space-2xl);
}

.process-flow__steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.process-flow__step {
    flex: 1;
    min-width: 120px;
    max-width: 160px;
    text-align: center;
    position: relative;
}

.process-flow__step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-sm);
    background: var(--color-primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.process-flow__step-icon svg {
    width: 32px;
    height: 32px;
}

.process-flow__step-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-gray-800);
    line-height: 1.3;
}

.process-flow__arrow {
    color: var(--color-primary);
    flex-shrink: 0;
}

.process-flow__arrow svg {
    width: 24px;
    height: 24px;
}

.process-flow__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 500;
}

.process-flow__footer {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-gray-200);
}

.process-flow__note {
    font-size: 0.875rem;
    color: var(--color-gray-500);
    font-style: italic;
}

/* =============================================
   BMS Section
   ============================================= */
.bms-section {
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-gray-900) 100%);
    color: var(--color-white);
}

.bms-section .section__eyebrow {
    color: var(--color-primary);
}

.bms-section .section__title {
    color: var(--color-white);
}

.bms-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
    margin-top: var(--space-2xl);
}

.bms-diagram__block {
    background: var(--color-gray-800);
    border-radius: 12px;
    padding: var(--space-lg);
    text-align: center;
    min-width: 180px;
}

.bms-diagram__block--input {
    border: 2px solid var(--color-gray-600);
}

.bms-diagram__block--bms {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    min-width: 280px;
}

.bms-diagram__block--output {
    border: 2px solid var(--color-gray-600);
}

.bms-diagram__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-sm);
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bms-diagram__block--bms .bms-diagram__icon {
    background: rgba(255,255,255,0.2);
}

.bms-diagram__icon svg {
    width: 24px;
    height: 24px;
}

.bms-diagram__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-xs);
}

.bms-diagram__features {
    list-style: none;
    padding: 0;
    margin: var(--space-sm) 0 0;
    text-align: left;
}

.bms-diagram__features li {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.9);
    padding: 0.25rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bms-diagram__features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--color-white);
    border-radius: 50%;
    flex-shrink: 0;
}

.bms-diagram__arrow {
    color: var(--color-primary);
    flex-shrink: 0;
}

.bms-diagram__arrow svg {
    width: 32px;
    height: 32px;
}

/* =============================================
   Dark Process Flow Diagram
   ============================================= */
.process-flow-dark {
    padding: var(--space-xl) 0;
}

.process-flow-dark__steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
}

.process-flow-dark__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 100px;
    max-width: 120px;
}

.process-flow-dark__icon {
    width: 56px;
    height: 56px;
    border: 2px solid var(--color-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-sm);
    color: var(--color-primary);
    background: transparent;
}

.process-flow-dark__icon svg {
    width: 28px;
    height: 28px;
}

.process-flow-dark__label {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.3;
}

.process-flow-dark__arrow {
    display: flex;
    align-items: center;
    padding-top: 14px;
    color: var(--color-primary);
}

.process-flow-dark__arrow svg {
    width: 20px;
    height: 20px;
}

.process-flow-dark__center {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.process-flow-dark__badge {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.625rem 1.5rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 500;
}

.process-flow-dark__footer {
    text-align: center;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    margin: 0;
}

/* =============================================
   Bullet List
   ============================================= */
.bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bullet-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: var(--space-sm);
    color: var(--color-gray-700);
    line-height: 1.6;
}

.bullet-list li:last-child {
    margin-bottom: 0;
}

.bullet-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
}

/* =============================================
   Circular Lifecycle Diagram
   ============================================= */
.lifecycle-diagram {
    width: 100%;
    max-width: 580px;
    aspect-ratio: 1;
    position: relative;
    background: var(--color-gray-100);
    border-radius: 20px;
    padding: var(--space-xl);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.lifecycle-diagram__circle {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Circular track/ring */
.lifecycle-diagram__circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72%;
    height: 72%;
    border: 2px dashed rgba(44, 181, 160, 0.35);
    border-radius: 50%;
}

.lifecycle-diagram__center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(44, 181, 160, 0.35);
    z-index: 10;
}

.lifecycle-diagram__center span {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-white);
    line-height: 1.3;
}

.lifecycle-diagram__stage {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 120px;
    z-index: 5;
}

.lifecycle-diagram__stage span {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-gray-700);
    line-height: 1.3;
    margin-top: 0.625rem;
}

.lifecycle-diagram__icon {
    width: 60px;
    height: 60px;
    background: var(--color-white);
    border: 2.5px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.lifecycle-diagram__icon:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.1);
}

.lifecycle-diagram__icon svg {
    width: 28px;
    height: 28px;
}

/* Position stages around the circle (clockwise from top) */
.lifecycle-diagram__stage--1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.lifecycle-diagram__stage--2 {
    top: 18%;
    right: -2%;
}

.lifecycle-diagram__stage--3 {
    bottom: 4%;
    right: 0;
}

.lifecycle-diagram__stage--4 {
    bottom: 4%;
    left: 0;
}

.lifecycle-diagram__stage--5 {
    top: 18%;
    left: -2%;
}

/* Curved arrows between stages */
.lifecycle-diagram__arrow {
    position: absolute;
    color: var(--color-primary);
    opacity: 0.7;
    z-index: 1;
}

.lifecycle-diagram__arrow svg {
    width: 18px;
    height: 18px;
}

.lifecycle-diagram__arrow--1 { top: 8%;  right: 14%; transform: rotate(55deg); }
.lifecycle-diagram__arrow--2 { top: 46%; right: 6%;  transform: rotate(100deg); }
.lifecycle-diagram__arrow--3 { bottom: 2%; right: 40%; transform: rotate(155deg); }
.lifecycle-diagram__arrow--4 { top: 46%; left: 6%;   transform: rotate(-100deg); }
.lifecycle-diagram__arrow--5 { top: 8%;  left: 14%;  transform: rotate(-55deg); }

/* =============================================
   Responsive - Process Flow, BMS, Lifecycle
   ============================================= */
@media (max-width: 1024px) {
    .process-flow__steps {
        justify-content: center;
    }

    .process-flow__arrow {
        display: none;
    }

    .process-flow {
        padding: var(--space-xl);
    }

    .process-flow-dark__steps {
        gap: var(--space-md);
    }

    .process-flow-dark__arrow {
        display: none;
    }

    .bms-diagram {
        flex-direction: column;
    }

    .bms-diagram__arrow {
        transform: rotate(90deg);
    }

    .lifecycle-diagram {
        max-width: 500px;
    }

    .lifecycle-diagram__center {
        width: 140px;
        height: 140px;
    }

    .lifecycle-diagram__center span {
        font-size: 0.8125rem;
    }

    .lifecycle-diagram__stage {
        width: 100px;
    }

    .lifecycle-diagram__icon {
        width: 54px;
        height: 54px;
    }

    .lifecycle-diagram__icon svg {
        width: 26px;
        height: 26px;
    }

    .lifecycle-diagram__stage span {
        font-size: 0.75rem;
    }

    .lifecycle-diagram__arrow svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 768px) {
    .process-flow__step {
        min-width: 80px;
        max-width: 120px;
    }

    .process-flow__step-icon {
        width: 48px;
        height: 48px;
    }

    .process-flow__step-icon svg {
        width: 24px;
        height: 24px;
    }

    .process-flow {
        padding: var(--space-lg);
    }

    .process-flow__subtitle {
        margin-bottom: var(--space-xl);
    }

    /* Process flow dark: grid on mobile */
    .process-flow-dark__steps {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: var(--space-md);
        justify-items: center;
    }

    .process-flow-dark__step {
        min-width: auto;
        max-width: none;
    }

    .lifecycle-diagram {
        max-width: 400px;
        margin: 0 auto var(--space-xl);
        padding: var(--space-lg);
    }

    .lifecycle-diagram__center {
        width: 120px;
        height: 120px;
    }

    .lifecycle-diagram__center span {
        font-size: 0.75rem;
    }

    .lifecycle-diagram__stage {
        width: 85px;
    }

    .lifecycle-diagram__stage--2 {
        right: 0;
    }

    .lifecycle-diagram__stage--3 {
        bottom: 6%;
    }

    .lifecycle-diagram__stage--4 {
        bottom: 6%;
    }

    .lifecycle-diagram__stage--5 {
        left: 0;
    }

    .lifecycle-diagram__icon {
        width: 48px;
        height: 48px;
    }

    .lifecycle-diagram__icon svg {
        width: 22px;
        height: 22px;
    }

    .lifecycle-diagram__stage span {
        font-size: 0.6875rem;
    }

    .lifecycle-diagram__arrow {
        display: none;
    }
}

@media (max-width: 480px) {
    .process-flow {
        padding: var(--space-md);
    }

    .lifecycle-diagram {
        max-width: 300px;
        padding: var(--space-md);
    }

    .lifecycle-diagram__center {
        width: 90px;
        height: 90px;
    }

    .lifecycle-diagram__center span {
        font-size: 0.625rem;
    }

    .lifecycle-diagram__stage {
        width: 65px;
    }

    .lifecycle-diagram__icon {
        width: 36px;
        height: 36px;
    }

    .lifecycle-diagram__icon svg {
        width: 16px;
        height: 16px;
    }

    .lifecycle-diagram__stage span {
        font-size: 0.5625rem;
    }
}

/* =============================================
   Blog Article Layout
   ============================================= */
.article {
    max-width: 800px;
    margin: 0 auto;
}

.article__meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    font-size: 0.9375rem;
    color: var(--color-gray-500);
}

.article__date {
    font-weight: 500;
}

.article__back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: var(--space-xl);
    transition: gap var(--transition);
}

.article__back:hover {
    gap: 0.75rem;
}

.article__back svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.article__hero-image {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: var(--space-xl);
}

.article__hero-image img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.article__content h2 {
    font-size: 1.5rem;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

.article__content h3 {
    font-size: 1.25rem;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.article__content p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--color-gray-700);
    margin-bottom: var(--space-md);
}

.article__content ul,
.article__content ol {
    margin-bottom: var(--space-md);
    padding-left: 1.5rem;
}

.article__content ul {
    list-style: disc;
}

.article__content ol {
    list-style: decimal;
}

.article__content li {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--color-gray-700);
    margin-bottom: var(--space-xs);
}

.article__image {
    margin: var(--space-xl) 0;
    border-radius: 12px;
    overflow: hidden;
}

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

.article__image figcaption {
    font-size: 0.875rem;
    color: var(--color-gray-500);
    margin-top: var(--space-sm);
    text-align: center;
    font-style: italic;
}

.article__tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-gray-200);
}

.article__tag {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--color-gray-100);
    color: var(--color-gray-600);
    font-size: 0.8125rem;
    font-weight: 500;
    border-radius: 20px;
}

/* =============================================
   Approach Cards (4-column grid)
   ============================================= */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.approach-card {
    background: var(--color-white);
    border-radius: 16px;
    padding: var(--space-xl);
    text-align: center;
    border: 1px solid var(--color-gray-200);
    transition: var(--transition);
    position: relative;
}

.approach-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 8px 30px rgba(44, 181, 160, 0.12);
    transform: translateY(-4px);
}

.approach-card__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: var(--space-md);
}

.approach-card__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    background: var(--color-primary-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.approach-card__icon svg {
    width: 32px;
    height: 32px;
}

.approach-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: var(--space-sm);
}

.approach-card__text {
    font-size: 0.9375rem;
    color: var(--color-gray-600);
    line-height: 1.6;
    margin: 0;
}

/* =============================================
   Business Model Table
   ============================================= */
.business-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.business-table thead {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.business-table th {
    padding: var(--space-lg) var(--space-xl);
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
}

.business-table th:first-child {
    width: 25%;
}

.business-table td {
    padding: var(--space-lg) var(--space-xl);
    border-bottom: 1px solid var(--color-gray-200);
    vertical-align: top;
}

.business-table tr:last-child td {
    border-bottom: none;
}

.business-table__phase {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.business-table__phase-icon {
    width: 48px;
    height: 48px;
    background: var(--color-primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

.business-table__phase-icon svg {
    width: 24px;
    height: 24px;
}

.business-table__phase-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-black);
}

.business-table__what {
    font-size: 0.9375rem;
    color: var(--color-gray-700);
    line-height: 1.6;
}

.business-table__benefit {
    font-size: 0.9375rem;
    color: var(--color-primary);
    font-weight: 500;
    line-height: 1.6;
}

/* =============================================
   BMS Operations Circular Diagram
   ============================================= */
.bms-ops-diagram {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1;
    position: relative;
    margin: 0 auto;
}

.bms-ops-diagram__circle {
    width: 100%;
    height: 100%;
    position: relative;
}

.bms-ops-diagram__circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68%;
    height: 68%;
    border: 2px dashed rgba(44, 181, 160, 0.4);
    border-radius: 50%;
}

.bms-ops-diagram__center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 10px 40px rgba(44, 181, 160, 0.35);
    z-index: 10;
}

.bms-ops-diagram__center-icon {
    margin-bottom: var(--space-xs);
    color: var(--color-white);
}

.bms-ops-diagram__center-icon svg {
    width: 32px;
    height: 32px;
}

.bms-ops-diagram__center span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-white);
    line-height: 1.3;
}

.bms-ops-diagram__stage {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100px;
    z-index: 5;
}

.bms-ops-diagram__stage-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
    transition: var(--transition);
}

.bms-ops-diagram__stage:hover .bms-ops-diagram__stage-icon {
    background: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.1);
}

.bms-ops-diagram__stage-icon svg {
    width: 28px;
    height: 28px;
}

.bms-ops-diagram__stage span {
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.3;
}

/* Position 4 stages around the circle */
.bms-ops-diagram__stage--1 {
    top: 2%;
    left: 50%;
    transform: translateX(-50%);
}

.bms-ops-diagram__stage--2 {
    top: 50%;
    right: 2%;
    transform: translateY(-50%);
}

.bms-ops-diagram__stage--3 {
    bottom: 2%;
    left: 50%;
    transform: translateX(-50%);
}

.bms-ops-diagram__stage--4 {
    top: 50%;
    left: 2%;
    transform: translateY(-50%);
}

/* Curved arrows */
.bms-ops-diagram__arrow {
    position: absolute;
    color: var(--color-primary);
    opacity: 0.6;
    z-index: 1;
}

.bms-ops-diagram__arrow svg {
    width: 20px;
    height: 20px;
}

.bms-ops-diagram__arrow--1 { top: 18%; right: 18%; transform: rotate(45deg); }
.bms-ops-diagram__arrow--2 { bottom: 18%; right: 18%; transform: rotate(135deg); }
.bms-ops-diagram__arrow--3 { bottom: 18%; left: 18%; transform: rotate(-135deg); }
.bms-ops-diagram__arrow--4 { top: 18%; left: 18%; transform: rotate(-45deg); }

/* =============================================
   Sector Grid with Images
   ============================================= */
.sector-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.sector-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.sector-card__image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.sector-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.sector-card:hover .sector-card__image img {
    transform: scale(1.05);
}

.sector-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.1) 100%);
}

.sector-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-lg);
    color: var(--color-white);
    z-index: 1;
}

.sector-card__icon {
    width: 44px;
    height: 44px;
    background: var(--color-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-sm);
}

.sector-card__icon svg {
    width: 22px;
    height: 22px;
}

.sector-card__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 0.25rem;
}

.sector-card__text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.5;
}

/* =============================================
   System Benefits
   ============================================= */
.system-benefit {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
}

.system-benefit__icon {
    width: 56px;
    height: 56px;
    background: var(--color-primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

.system-benefit__icon svg {
    width: 28px;
    height: 28px;
}

.system-benefit__content h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.system-benefit__content p {
    color: var(--color-gray-600);
    font-size: 0.9375rem;
    margin: 0;
}

/* =============================================
   Journey Cards (horizontal)
   ============================================= */
.journey-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.journey-card {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

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

.journey-card__image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.journey-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.journey-card:hover .journey-card__image img {
    transform: scale(1.03);
}

.journey-card__body {
    padding: var(--space-lg);
}

.journey-card__eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-xs);
}

.journey-card__title {
    font-size: 1.125rem;
    margin-bottom: var(--space-sm);
}

.journey-card__text {
    color: var(--color-gray-600);
    font-size: 0.9375rem;
    margin: 0;
    line-height: 1.6;
}

/* Journey Card with Logo */
.journey-card__header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
}

.journey-card__logo {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.journey-card__logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.journey-card__header-text {
    flex: 1;
}

.journey-card__header-text .journey-card__eyebrow {
    margin-bottom: 0.125rem;
}

.journey-card__header-text .journey-card__title {
    margin-bottom: 0;
}

/* =============================================
   Responsive - Energy Storage Components
   ============================================= */
@media (max-width: 1024px) {
    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .business-table th,
    .business-table td {
        padding: var(--space-md) var(--space-lg);
    }

    .bms-ops-diagram {
        max-width: 400px;
    }

    .bms-ops-diagram__center {
        width: 120px;
        height: 120px;
    }

    .bms-ops-diagram__stage-icon {
        width: 56px;
        height: 56px;
    }

    .bms-ops-diagram__stage-icon svg {
        width: 24px;
        height: 24px;
    }

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

@media (max-width: 768px) {
    .approach-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .approach-card {
        padding: var(--space-lg);
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Business table: card-style on mobile */
    .business-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .business-table th:first-child {
        width: auto;
        min-width: 150px;
    }

    .business-table th,
    .business-table td {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.875rem;
    }

    .business-table__phase-icon {
        width: 40px;
        height: 40px;
    }

    .business-table__phase-icon svg {
        width: 20px;
        height: 20px;
    }

    .business-table__phase-name {
        font-size: 1rem;
    }

    .bms-ops-diagram {
        max-width: 320px;
    }

    .bms-ops-diagram__center {
        width: 100px;
        height: 100px;
    }

    .bms-ops-diagram__center-icon svg {
        width: 24px;
        height: 24px;
    }

    .bms-ops-diagram__center span {
        font-size: 0.75rem;
    }

    .bms-ops-diagram__stage {
        width: 80px;
    }

    .bms-ops-diagram__stage-icon {
        width: 48px;
        height: 48px;
    }

    .bms-ops-diagram__stage-icon svg {
        width: 20px;
        height: 20px;
    }

    .bms-ops-diagram__stage span {
        font-size: 0.6875rem;
    }

    .bms-ops-diagram__arrow {
        display: none;
    }

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

    .sector-card {
        aspect-ratio: 16/9;
    }

    .journey-cards {
        grid-template-columns: 1fr;
    }

    .system-benefit {
        flex-direction: column;
        text-align: center;
    }

    .system-benefit__icon {
        margin: 0 auto;
    }

    /* BMS diagram block */
    .bms-diagram__block {
        min-width: 140px;
    }

    .bms-diagram__block--bms {
        min-width: 220px;
    }
}

@media (max-width: 480px) {
    .bms-ops-diagram {
        max-width: 260px;
    }

    .bms-ops-diagram__center {
        width: 80px;
        height: 80px;
    }

    .bms-ops-diagram__center-icon svg {
        width: 20px;
        height: 20px;
    }

    .bms-ops-diagram__center span {
        font-size: 0.625rem;
    }

    .bms-ops-diagram__stage {
        width: 60px;
    }

    .bms-ops-diagram__stage-icon {
        width: 36px;
        height: 36px;
    }

    .bms-ops-diagram__stage-icon svg {
        width: 16px;
        height: 16px;
    }

    .bms-ops-diagram__stage span {
        font-size: 0.5625rem;
    }

    .sector-card {
        aspect-ratio: 3/2;
    }

    .approach-card__icon {
        width: 56px;
        height: 56px;
    }

    .approach-card__icon svg {
        width: 28px;
        height: 28px;
    }

    /* BMS diagram blocks */
    .bms-diagram__block {
        min-width: 100%;
    }

    .bms-diagram__block--bms {
        min-width: 100%;
    }
}

/* =============================================
   Responsive - Inline Style Overrides
   ============================================= */
@media (max-width: 768px) {
    /* Override inline max-width on hero content */
    .hero__content[style] {
        max-width: 100% !important;
    }

    /* Impact stat cards */
    .impact-stat-card {
        padding: var(--space-lg);
    }
}

@media (max-width: 480px) {
    .impact-stat-card {
        padding: var(--space-md);
    }

    .impact-stat-card__label {
        font-size: 0.9375rem;
    }
}

/* =============================================
   Utility Classes for Inline Style Replacements
   ============================================= */

/* Footer social links wrapper */
.footer__social-wrap {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

/* Section header with reduced bottom margin */
.section__header--compact {
    margin-bottom: var(--space-xl);
}

/* Grid gap override */
.grid--gap-xl {
    gap: var(--space-xl);
}

/* Hero content wider variant */
.hero__content--wide {
    max-width: 820px;
}

.hero__content--medium {
    max-width: 800px;
}

/* About page secondary paragraph */
.hero__secondary-text {
    color: var(--color-gray-600);
    font-size: 1.125rem;
    line-height: 1.7;
    margin: 0;
}

/* Hero subtitle with top spacing */
.hero__subtitle--spaced {
    margin-top: var(--space-sm);
}

/* Value card header (icon + title inline) */
.value-card__header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
}

.value-card__icon {
    width: 44px;
    height: 44px;
    background: var(--color-primary-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

.value-card__title {
    margin: 0;
}

/* Full-width card variant */
.card--mt-xl {
    margin-top: var(--space-xl);
}

.card__body--centered {
    text-align: center;
    padding: var(--space-xl);
}

.card__body-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--color-primary-light);
    border-radius: 12px;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.card__text--constrained {
    max-width: 700px;
    margin: 0 auto;
}

/* Dark section text block */
.section__text-block {
    max-width: 800px;
    margin: var(--space-3xl) auto 0;
    text-align: center;
}

.section__text-block p {
    color: var(--color-gray-400);
    font-size: 1.0625rem;
    line-height: 1.7;
}

.section__text-block p + p {
    margin-top: var(--space-md);
}

/* Dark section subtitle color override */
.section__subtitle--muted {
    color: var(--color-gray-400);
}

/* Grid with top margin */
.grid--mt-3xl {
    margin-top: var(--space-3xl);
}

/* Process flow dark title styles */
.section__title--process {
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 1.5rem;
}

.section__subtitle--light {
    color: rgba(255, 255, 255, 0.7);
}

/* Feature image centered */
.feature__image--centered {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Key capabilities heading */
.feature__subheading {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
    font-size: 1rem;
}

/* Contact page social section */
.contact-social {
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-gray-200);
}

.contact-social__title {
    margin-bottom: var(--space-md);
}

.contact-social__text {
    color: var(--color-gray-600);
    font-size: 0.9375rem;
    margin-bottom: var(--space-md);
}

.contact-social__links {
    display: flex;
    gap: var(--space-sm);
}

.contact-social__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: 10px;
    transition: var(--transition);
}

.contact-social__link:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Contact form card */
.card--form {
    padding: var(--space-2xl);
}

.card--form h3 {
    margin-bottom: var(--space-lg);
}

/* Submit button full width */
.btn--full {
    width: 100%;
}

/* Honeypot field */
.form__honeypot {
    display: none;
}

/* News post image contain variant */
.post-card__image--contain img {
    object-fit: contain;
    padding: 2rem;
    background: var(--color-gray-100);
}

/* Text with top margin */
.text-center--mt-xl {
    text-align: center;
    margin-top: var(--space-xl);
}

/* Article hero image logo variant */
.article__hero-image--logo {
    background: var(--color-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.article__hero-image--logo img {
    object-fit: contain;
    max-height: 200px;
    aspect-ratio: auto;
}

/* =============================================
   Responsive - Article / Blog Posts
   ============================================= */
@media (max-width: 768px) {
    .article {
        padding: 0;
    }

    .article__content h2 {
        font-size: 1.375rem;
    }

    .article__content h3 {
        font-size: 1.125rem;
    }

    .article__content p,
    .article__content li {
        font-size: 1rem;
    }

    .article__tags {
        margin-top: var(--space-lg);
        padding-top: var(--space-lg);
    }
}

@media (max-width: 480px) {
    .article__hero-image {
        border-radius: 8px;
        margin-bottom: var(--space-lg);
    }

    .article__content h2 {
        font-size: 1.25rem;
        margin-top: var(--space-lg);
    }

    .article__image {
        margin: var(--space-lg) 0;
        border-radius: 8px;
    }
}
