/* ============================================================
   NEPTUNE ELEVATORS v2.0 — INNER PAGES
   Shared styles for secondary inner pages
   Premium Industrial Elegance — Tactile Brutalism
   ============================================================ */

/* ----------------------------------------------------------
   PAGE HEADER
   Full-width banner with dark overlay, title, breadcrumb
   ---------------------------------------------------------- */
.page-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 45vh;
    min-height: 45dvh;
    padding-top: var(--space-24);
    padding-bottom: var(--space-16);
    overflow: hidden;
    background-color: var(--navy-900);
}

.page-header-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.page-header-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-header-overlay {
    position: absolute;
    inset: 0;
    /* Stable contrast behind the title regardless of banner brightness. */
    background:
        linear-gradient(90deg, rgba(5, 10, 20, 0.9) 0%, rgba(5, 10, 20, 0.68) 48%, rgba(5, 10, 20, 0.48) 100%),
        linear-gradient(180deg, rgba(5, 10, 20, 0.62) 0%, rgba(5, 10, 20, 0.3) 50%, rgba(5, 10, 20, 0.78) 100%);
    z-index: 2;
}

.page-header-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: var(--space-6) var(--space-8);
    background: rgba(5, 10, 20, 0.2);
    border-bottom: 2px solid var(--accent-primary);
    text-shadow: 0 2px 12px rgba(5, 10, 20, 0.85);
    backdrop-filter: blur(2px);
}

.page-header-title {
    font-size: var(--text-5xl);
    font-weight: var(--font-black);
    line-height: var(--leading-tight);
    /* The banner overlay is always a dark gradient regardless of site
       theme, so this text stays a fixed light color in both themes. */
    color: #FFFFFF;
    margin-bottom: var(--space-4);
    text-wrap: balance;
    text-shadow: 0 2px 12px rgba(5, 10, 20, 0.6);
}

.page-header .breadcrumb {
    justify-content: center;
    color: rgba(232, 228, 220, 0.7);
}

.page-header .breadcrumb-item a {
    color: #F5F3EF;
}

.page-header .breadcrumb-item.active {
    color: #FFFFFF;
}

/* ----------------------------------------------------------
   SECTION HEADER
   ---------------------------------------------------------- */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-12);
}

.section-header-left {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.section-header-left .gold-line-lg {
    margin: 0;
}

.section-heading {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    line-height: var(--leading-snug);
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    text-wrap: balance;
}

.section-subheading {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
}

/* ----------------------------------------------------------
   CONTENT SECTIONS
   ---------------------------------------------------------- */
.content-section {
    padding-top: var(--section-padding-y);
    padding-bottom: var(--section-padding-y);
}

.content-section-alt {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.content-body {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--text-secondary);
}

.content-body p {
    margin-bottom: var(--space-4);
}

.content-body p:last-child {
    margin-bottom: 0;
}

.content-body h2,
.content-body h3,
.content-body h4 {
    color: var(--text-primary);
    margin-top: var(--space-8);
    margin-bottom: var(--space-4);
}

.content-body ul,
.content-body ol {
    margin-bottom: var(--space-4);
    padding-left: var(--space-6);
}

.content-body li {
    margin-bottom: var(--space-2);
}

/* ----------------------------------------------------------
   FEATURE LIST
   ---------------------------------------------------------- */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

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

.feature-item {
    display: flex;
    gap: var(--space-5);
    padding: var(--space-6);
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-default);
    box-shadow: var(--shadow-sm);
    transition: all var(--duration-slow) var(--ease-out);
}

.feature-item:hover {
    border-color: var(--border-gold);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-glow);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-sm);
    color: var(--accent-primary);
}

.feature-content h3 {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.feature-content p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin: 0;
}

/* ----------------------------------------------------------
   GALLERY GRID
   ---------------------------------------------------------- */
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

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

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

.gallery-item {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-default);
    background: var(--bg-secondary);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--duration-slow) var(--ease-out),
                transform var(--duration-slow) var(--ease-out),
                border-color var(--duration-slow) var(--ease-out);
}

.gallery-item:hover {
    border-color: var(--border-gold);
    box-shadow: var(--shadow-md), var(--shadow-gold);
    transform: translateY(-3px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-5);
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(5, 10, 20, 0.7) 100%
    );
    opacity: 0;
    transition: opacity var(--duration-normal) var(--ease-out);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-title {
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-1);
}

.gallery-item-meta {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

/* ----------------------------------------------------------
   BLOG GRID
   ---------------------------------------------------------- */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}

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

.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-default);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--duration-slow) var(--ease-out);
}

.blog-card:hover {
    border-color: var(--border-gold);
    box-shadow: var(--shadow-md), var(--shadow-gold);
    transform: translateY(-4px);
}

.blog-card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--border-default);
}

.blog-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: var(--space-6);
}

.blog-card-title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-3);
    text-wrap: balance;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-out);
}

.blog-card-title a:hover {
    color: var(--accent-primary);
}

.blog-card-excerpt {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
    flex: 1;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--accent-primary);
    transition: gap var(--duration-normal) var(--ease-out);
}

.blog-card:hover .blog-card-link {
    gap: var(--space-3);
}

/* Blog detail */
.blog-detail-header {
    margin-bottom: var(--space-8);
}

.blog-detail-image {
    width: 100%;
    aspect-ratio: 21 / 9;
    object-fit: cover;
    border-radius: var(--radius-default);
    margin-bottom: var(--space-8);
}

/* ----------------------------------------------------------
   PRODUCT GRID (used on productranges, car-elevators, home-elevators)
   ---------------------------------------------------------- */

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

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

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

.product-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-default);
    overflow: hidden;
    transition: all var(--duration-slow) var(--ease-out);
}

.product-card:hover {
    border-color: var(--border-default);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.product-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

.product-card-body {
    padding: var(--space-6);
}

.product-card-title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    text-wrap: balance;
}

.product-card-desc {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
}

.product-card-arrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--accent-primary);
    transition: gap var(--duration-normal) var(--ease-out);
}

.product-card:hover .product-card-arrow {
    gap: var(--space-3);
}

[data-theme="light"] .product-card {
    background: var(--warm-50);
}

/* ----------------------------------------------------------
   PRODUCT FOCUS PAGE
   ---------------------------------------------------------- */
.product-focus-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    align-items: center;
}

@media (min-width: 1024px) {
    .product-focus-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.product-focus-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-default);
    border: 1px solid var(--border-subtle);
}

.product-focus-content h2 {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

.product-focus-content .content-body {
    margin-bottom: var(--space-8);
}

/* ----------------------------------------------------------
   SEARCH RESULTS
   ---------------------------------------------------------- */
.search-form {
    max-width: 640px;
    margin: 0 auto var(--space-12);
}

.search-form-inner {
    display: flex;
    gap: var(--space-3);
}

.search-form .form-input {
    flex: 1;
}

.search-results-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-bottom: var(--space-12);
}

.search-result-item {
    display: block;
    padding: var(--space-5);
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-default);
    transition: all var(--duration-normal) var(--ease-out);
}

.search-result-item:hover {
    border-color: var(--border-gold);
    transform: translateX(4px);
}

.search-result-title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.search-result-type {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--accent-primary);
    margin-bottom: var(--space-2);
}

.search-result-excerpt {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
}

/* ----------------------------------------------------------
   404 PAGE
   ---------------------------------------------------------- */
.page-404 {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
    padding-top: var(--space-12);
    padding-bottom: var(--space-12);
}

.page-404-code {
    font-family: var(--font-mono);
    font-size: clamp(6rem, 15vw, 10rem);
    font-weight: var(--font-bold);
    line-height: 1;
    color: var(--accent-primary);
    opacity: 0.8;
    margin-bottom: var(--space-6);
}

.page-404-title {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

.page-404-text {
    font-size: var(--text-base);
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
}

.page-404-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-12);
}

.page-404-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
    font-size: var(--text-sm);
}

.page-404-links a {
    color: var(--text-secondary);
    transition: color var(--duration-fast) var(--ease-out);
}

.page-404-links a:hover {
    color: var(--accent-primary);
}

/* ----------------------------------------------------------
   PAGINATION
   ---------------------------------------------------------- */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: var(--space-12);
}

/* ----------------------------------------------------------
   CTA BANNER
   ---------------------------------------------------------- */
.cta-section {
    background: var(--navy-900);
    border-top: 1px solid var(--border-subtle);
}

.cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-8);
}

@media (min-width: 768px) {
    .cta-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.cta-content {
    max-width: 600px;
}

.cta-heading {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-3);
    text-wrap: balance;
}

.cta-text {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    flex-shrink: 0;
}

/* ----------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------- */
@media (max-width: 767px) {
    .content-section {
        padding-top: var(--space-16);
        padding-bottom: var(--space-16);
    }

    .page-header {
        min-height: 35vh;
        padding-top: var(--space-16);
        padding-bottom: var(--space-10);
    }

    .page-header-title {
        font-size: var(--text-3xl);
    }

    .section-heading,
    .product-focus-content h2 {
        font-size: var(--text-2xl);
    }

    .feature-item {
        flex-direction: column;
        gap: var(--space-4);
    }

    .search-form-inner {
        flex-direction: column;
    }

    .cta-inner {
        text-align: center;
    }

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

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

    .project-card-title {
        font-size: var(--text-base);
    }
}

/* ----------------------------------------------------------
   SECTION FOOTER
   ---------------------------------------------------------- */
.section-footer {
    text-align: center;
    margin-top: var(--space-12);
}

/* ----------------------------------------------------------
   FAQ (shared with dedicated FAQ page)
   ---------------------------------------------------------- */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.faq-item {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    overflow: hidden;
    transition: border-color var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out);
}

.faq-item:hover {
    border-color: var(--border-gold);
}

.faq-item.open {
    border-color: var(--border-gold);
    box-shadow: var(--shadow-gold);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-5);
    font-family: inherit;
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    text-align: left;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color var(--duration-fast) var(--ease-out);
}

.faq-question:hover {
    color: var(--accent-primary);
}

.faq-number {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    font-weight: var(--font-bold);
    color: var(--accent-primary);
    background: var(--accent-glow);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-sm);
}

.faq-question-text {
    flex: 1;
    padding-right: var(--space-2);
    /* now an <h3> for heading semantics — reset browser heading defaults
       so it still renders exactly like the plain text it replaced */
    margin: 0;
    font: inherit;
    color: inherit;
}

.faq-question svg {
    flex-shrink: 0;
    transition: transform var(--duration-normal) var(--ease-out);
    color: var(--accent-primary);
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration-normal) var(--ease-out);
}

.faq-answer-inner {
    padding: 0 var(--space-5) var(--space-5) calc(var(--space-5) + 36px + var(--space-4));
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--text-secondary);
}

.faq-answer-inner p {
    margin: 0 0 var(--space-3) 0;
}

.faq-answer-inner p:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .faq-answer-inner {
        padding-left: var(--space-5);
    }
}

/* ----------------------------------------------------------
   PROJECT FILTERS
   ---------------------------------------------------------- */
.project-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-3);
    margin-bottom: var(--space-12);
}

@media (max-width: 767px) {
    .project-filters {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: var(--space-2);
        -webkit-overflow-scrolling: touch;
    }

    .project-filters .btn {
        flex-shrink: 0;
    }
}

.project-filter.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--text-inverse);
}

/* ----------------------------------------------------------
   PROJECTS GRID
   ---------------------------------------------------------- */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    align-items: stretch;
}

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

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

.project-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-default);
    overflow: hidden;
    transition: all var(--duration-slow) var(--ease-out);
}

.project-card:hover {
    border-color: var(--border-default);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.project-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: var(--bg-tertiary);
    overflow: hidden;
}

.project-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

.project-card:hover .project-card-media img {
    transform: scale(1.05);
}

.project-card-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--border-default);
}

.project-card-badge {
    position: absolute;
    top: var(--space-4);
    left: var(--space-4);
    display: inline-flex;
    align-items: center;
    padding: var(--space-1) var(--space-3);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    background: var(--navy-950);
    color: var(--gold-300);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-sm);
}

.project-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: var(--space-6);
}

.project-card-desc {
    flex: 1;
}

.project-card-title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    text-wrap: balance;
}

.project-card-desc {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-3);
}

.project-card-summary {
    font-size: var(--text-xs);
    color: var(--text-muted);
    line-height: var(--leading-relaxed);
    padding-top: var(--space-3);
    border-top: 1px solid var(--border-subtle);
}

[data-theme="light"] .project-card {
    background: var(--warm-50);
}

[data-theme="light"] .project-card-icon {
    color: var(--warm-300);
}

/* ----------------------------------------------------------
   CAREERS VISUAL
   ---------------------------------------------------------- */
.careers-visual {
    display: flex;
    justify-content: center;
}

.careers-visual-card {
    width: 100%;
    max-width: 420px;
    padding: var(--space-10);
    text-align: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-default);
}

.careers-visual-icon {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-8);
    color: var(--accent-primary);
    background: var(--accent-glow);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-full);
}

.careers-visual-title {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-3);
}

.careers-visual-text {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin: 0;
}

[data-theme="light"] .careers-visual-card {
    background: var(--warm-50);
}

/* ----------------------------------------------------------
   ABOUT IMAGE COLLAGE
   The CMS awards/achievements photos here are all landscape
   (lobby, cabin interiors) — a full-width hero shot on top
   with two supporting shots below avoids the heavy cropping
   a tall portrait "main" cell would force on them.
   ---------------------------------------------------------- */
.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.about-image-wrap {
    border-radius: var(--radius-default);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-subtle);
}

.about-image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid transparent;
    border-radius: inherit;
    transition: border-color var(--duration-normal) var(--ease-out);
    pointer-events: none;
}

.about-image-wrap:hover::after {
    border-color: var(--border-gold);
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--duration-slow) var(--ease-out);
}

.about-image-wrap:hover .about-img {
    transform: scale(1.03);
}

.about-img-main {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
}

.about-img-secondary {
    aspect-ratio: 4 / 3;
}

@media (max-width: 599px) {
    .about-images {
        grid-template-columns: 1fr;
    }

    .about-img-secondary {
        grid-column: 1 / -1;
    }
}

/* ----------------------------------------------------------
   TRUST STATS STRIP
   Shared with homepage.css — same counter markup, reused on
   any inner page (e.g. About) that pulls in the CMS
   "neptune---trust-stats" category.
   ---------------------------------------------------------- */
.stats-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding-top: var(--space-16);
    padding-bottom: var(--space-16);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-12);
    }
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: var(--font-black);
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: var(--space-3);
    overflow-wrap: break-word;
}

.stat-suffix {
    color: var(--accent-primary);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--text-muted);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    margin-bottom: var(--space-4);
}

.stat-line {
    width: 40px;
    height: 2px;
    background: var(--accent-primary);
    margin: 0 auto;
    opacity: 0.5;
}

/* ----------------------------------------------------------
   MILESTONE TIMELINE
   Compact chip-style timeline for CMS events (title-only data)
   ---------------------------------------------------------- */
.milestone-timeline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
}

.milestone-item {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    padding: var(--space-3) var(--space-6);
    transition: all var(--duration-normal) var(--ease-out);
}

.milestone-item:hover {
    border-color: var(--border-gold);
    transform: translateY(-2px);
}

.milestone-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-primary);
    flex-shrink: 0;
}

.milestone-item h3 {
    font-size: var(--text-sm);
    font-weight: var(--font-bold);
    color: var(--text-primary);
    margin: 0;
}

/* ----------------------------------------------------------
   LIGHT MODE OVERRIDES
   ---------------------------------------------------------- */
[data-theme="light"] .page-header-overlay {
    background:
        linear-gradient(90deg, rgba(5, 10, 20, 0.86) 0%, rgba(5, 10, 20, 0.64) 48%, rgba(5, 10, 20, 0.44) 100%),
        linear-gradient(180deg, rgba(5, 10, 20, 0.58) 0%, rgba(5, 10, 20, 0.28) 50%, rgba(5, 10, 20, 0.72) 100%);
}

[data-theme="light"] .page-header {
    background-color: var(--warm-100);
}

[data-theme="light"] .feature-item,
[data-theme="light"] .blog-card,
[data-theme="light"] .gallery-item,
[data-theme="light"] .search-result-item,
[data-theme="light"] .faq-item {
    background: var(--warm-50);
}

[data-theme="light"] .cta-section {
    background: var(--warm-100);
}
