/* ==========================================================================
   NEXLAYER ADVISORY - "The Practice" Stylesheet
   White ground, ink type, one wine accent. No gradients, no glow.
   ========================================================================== */

/* ===== CSS Variables (Design Tokens) ===== */
:root {
    /* Color Palette */
    --bg-primary: #ffffff;
    --bg-secondary: #f7f5f1;
    --bg-card: #ffffff;
    --bg-card-hover: #fbf3f5;

    --primary: #6e1e3a;
    /* Wine - the one accent */
    --primary-light: #8c3a57;
    --primary-rgb: 110, 30, 58;
    --secondary: #4e1428;
    /* Deep wine, for heading variety */
    --secondary-light: #a85773;

    --text-primary: #15130f;
    /* Ink */
    --text-secondary: #6e685e;
    /* Warm grey */
    --text-muted: #9c968b;

    --border-color: rgba(21, 19, 15, 0.1);
    --border-hover: rgba(110, 30, 58, 0.35);

    /* On dark surfaces (CTA band, footer) */
    --on-dark-primary: #f3efe7;
    --on-dark-secondary: #b7afa2;
    --on-dark-muted: #837c70;
    --on-dark-accent: #d98ba6;
    --on-dark-border: rgba(243, 239, 231, 0.14);

    /* Semantic Status */
    --success: #2f6f4e;
    --warning: #b3791f;
    --danger: #a33636;

    /* Shadows (ink-tinted, no glow) */
    --shadow-sm: 0 1px 2px 0 rgba(21, 19, 15, 0.05);
    --shadow: 0 2px 8px -2px rgba(21, 19, 15, 0.08);
    --shadow-lg: 0 12px 28px -8px rgba(21, 19, 15, 0.14);

    /* Border Radius (sharper, editorial) */
    --radius-sm: 2px;
    --radius: 4px;
    --radius-lg: 8px;
    --radius-xl: 12px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Archivo', -apple-system, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-primary);
    letter-spacing: -0.015em;
}

/* Italic serif flourish - the single ornament, used sparingly on one word */
h1 em,
h2 em,
.hero-title em,
.accent-text {
    font-family: 'Newsreader', Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-weight: 500;
    color: var(--primary);
}

p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== Decorative elements removed for the editorial direction ===== */
.glow-orb,
.hero-grid-overlay {
    display: none;
}

/* Badge Component - understated eyebrow label, not a pill */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    color: var(--primary);
    font-family: 'Archivo', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.5rem;
}

.badge::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--primary);
    margin-right: 0.6rem;
}

/* ===== Button Styles ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius);
    font-family: 'Archivo', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: 1px solid transparent;
    outline: none;
    position: relative;
}

.btn-primary {
    background: var(--text-primary);
    color: #ffffff;
    border-color: var(--text-primary);
}

.btn-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

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

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.04);
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.05rem;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.97);
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: padding var(--transition-normal);
}

.navbar-scrolled .nav-container {
    padding: 0.85rem 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-svg {
    filter: none;
}

.logo-text {
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

.nav-link {
    position: relative;
    color: var(--text-secondary);
    font-family: 'Archivo', sans-serif;
    font-weight: 500;
    font-size: 0.92rem;
    padding: 0.5rem 1rem;
    border-radius: 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0.15rem;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background-color: transparent;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

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

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

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

/* ===== Hero Section (interior pages use .hero) ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--bg-primary);
    padding-top: 100px;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 6rem 2rem 4rem;
    max-width: 860px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: clamp(2.6rem, 5.5vw, 4rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    margin-bottom: 5rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    border-top: 1px solid var(--border-color);
    padding-top: 3.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero-stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Archivo', sans-serif;
    font-size: clamp(1.9rem, 3.2vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

/* ===== Services Preview Section ===== */
.services-preview {
    padding: 9rem 0;
    background-color: var(--bg-secondary);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: clamp(1.9rem, 3.6vw, 2.6rem);
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
}

.service-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
    position: relative;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow);
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: var(--radius);
    background: transparent;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    margin-bottom: 2rem;
    transition: all var(--transition-normal);
}

.service-card:hover .service-icon-wrapper {
    background: var(--text-primary);
    color: #ffffff;
    border-color: transparent;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.team-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading, inherit);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.team-photo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    border: 2px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.team-role {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 0.75rem;
}

.service-card>p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.service-features {
    list-style: none;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.service-features li {
    padding: 0.45rem 0;
    padding-left: 1.75rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.9rem;
    width: 6px;
    height: 6px;
    background: var(--primary);
}

/* ===== About Teaser Section ===== */
.about-teaser {
    padding: 9rem 0;
    background-color: var(--bg-primary);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.about-content h2 {
    font-size: clamp(1.9rem, 3.6vw, 2.6rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.about-content>p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.about-stats {
    display: flex;
    gap: 3.5rem;
    margin: 3rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 2rem 0;
}

.about-stat {
    text-align: left;
}

.about-stat .stat-number {
    font-size: 2.1rem;
    margin-bottom: 0.25rem;
}

.about-stat .stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.about-image {
    position: relative;
}

.image-container-premium {
    position: relative;
    width: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.image-glow {
    display: none;
}

.premium-visual-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    transition: transform var(--transition-slow);
}

.image-container-premium:hover .premium-visual-img {
    transform: scale(1.03);
}

/* ===== Industries Section ===== */
.industries {
    padding: 8rem 0;
    background-color: var(--bg-secondary);
    position: relative;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.75rem;
}

.industry-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.industry-item:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow);
    background: var(--bg-card-hover);
}

.industry-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin: 0 auto 1.5rem;
    transition: all var(--transition-normal);
}

.industry-item:hover .industry-icon-wrapper {
    background: var(--primary);
    color: #ffffff;
    border-color: transparent;
}

.industry-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.industry-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.5;
}

/* ===== CTA Section - inverted ink band ===== */
.cta-section {
    padding: 8.5rem 0;
    background: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.cta-content {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.cta-content h2 {
    font-size: clamp(2rem, 4.4vw, 2.9rem);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.cta-content>p {
    font-size: 1.15rem;
    margin-bottom: 3rem;
}

.cta-section .cta-content h2 {
    color: var(--on-dark-primary);
}

.cta-section .cta-content h2 em {
    color: var(--on-dark-accent);
}

.cta-section .cta-content>p {
    color: var(--on-dark-secondary);
}

.cta-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: #ffffff;
    color: var(--text-primary);
    border-color: #ffffff;
}

.cta-buttons .btn-primary:hover {
    background: var(--on-dark-accent);
    border-color: var(--on-dark-accent);
    color: var(--text-primary);
}

.cta-buttons .btn-secondary {
    color: var(--on-dark-primary);
    border-color: var(--on-dark-border);
}

.cta-buttons .btn-secondary:hover {
    border-color: var(--on-dark-accent);
    color: var(--on-dark-accent);
    background: transparent;
}

/* ===== Footer ===== */
.footer {
    padding: 7rem 0 3rem;
    background-color: #0f0d0a;
    color: var(--on-dark-secondary);
    position: relative;
    z-index: 10;
}

.footer .logo-text {
    color: var(--on-dark-primary);
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 5rem;
}

.footer-brand {
    max-width: 320px;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--on-dark-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.footer-brand .footer-contact {
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-brand .footer-contact a {
    color: var(--on-dark-secondary);
    transition: color var(--transition-fast);
}

.footer-brand .footer-contact a:hover {
    color: var(--on-dark-accent);
}

.footer-brand .footer-contact span {
    display: none;
}

.footer-links h4 {
    color: var(--on-dark-primary);
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-links a {
    display: block;
    color: var(--on-dark-secondary);
    padding: 0.45rem 0;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--on-dark-accent);
}

.footer-bottom {
    padding-top: 2.5rem;
    border-top: 1px solid var(--on-dark-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--on-dark-muted);
}

.footer-bottom p {
    margin-bottom: 0;
}

.footer-bottom .footer-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom .footer-links a {
    color: var(--on-dark-muted);
    padding: 0;
}

.footer-bottom .footer-links a:hover {
    color: var(--on-dark-secondary);
}

/* ===== Scroll-Driven Reveal Animations (JS Activated) ===== */
.reveal-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
    will-change: transform, opacity;
}

.reveal-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-item {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.services-grid .service-card:nth-child(1) {
    transition-delay: 0.1s;
}

.services-grid .service-card:nth-child(2) {
    transition-delay: 0.2s;
}

.services-grid .service-card:nth-child(3) {
    transition-delay: 0.3s;
}

.services-grid .service-card:nth-child(4) {
    transition-delay: 0.4s;
}

.industries-grid .industry-item:nth-child(1) {
    transition-delay: 0.1s;
}

.industries-grid .industry-item:nth-child(2) {
    transition-delay: 0.2s;
}

.industries-grid .industry-item:nth-child(3) {
    transition-delay: 0.3s;
}

.industries-grid .industry-item:nth-child(4) {
    transition-delay: 0.4s;
}

.industries-grid .industry-item:nth-child(5) {
    transition-delay: 0.5s;
}

/* ===== Responsive Layouts ===== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .about-image {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-container > .btn-primary {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid var(--border-color);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 4rem 3rem;
        gap: 1.5rem;
        transition: right var(--transition-normal);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.2rem;
        width: 100%;
        padding: 0.75rem 0;
    }

    .no-scroll {
        overflow: hidden;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-brand {
        max-width: 100%;
    }

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

    .footer-bottom .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .hero-content {
        padding: 5rem 1rem 3rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        flex-direction: column;
        gap: 2rem;
        align-items: flex-start;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }
}

/* ===== Form & Input Styles ===== */
.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.form-label {
    font-family: 'Archivo', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.85rem 1.15rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12);
}

.form-select option {
    background-color: #ffffff;
    color: var(--text-primary);
}

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

/* ===== Homepage: Hero ===== */
.hero-section {
    position: relative;
    padding: 160px 0 4rem;
    overflow: hidden;
    background-color: var(--bg-primary);
}

.hero-grid {
    display: flex;
    justify-content: center;
}

.hero-text-wrapper {
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    color: var(--primary);
    font-family: 'Archivo', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-badge::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--primary);
    margin-right: 0.6rem;
}

.hero-title {
    font-size: clamp(2.6rem, 5.5vw, 4rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-divider,
.section-divider {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 3rem 0;
}

.hero-credentials {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    list-style: none;
}

.cred-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.4rem;
}

.cred-count {
    font-family: 'Archivo', sans-serif;
    font-size: clamp(1.65rem, 2.8vw, 2.25rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.hero-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem auto 3rem;
    max-width: 800px;
}

.card-compact {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: all var(--transition-normal);
}

.card-compact:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Homepage: About Teaser ===== */
.about-teaser-section {
    padding: 9rem 0;
    background-color: var(--bg-primary);
}

.about-image-wrapper {
    position: relative;
    width: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border: 1px solid var(--border-color);
}

.about-image-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
}

.about-bg-shapes {
    display: none;
}

.about-stats-grid {
    display: flex;
    gap: 3.5rem;
    margin: 3rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 2rem 0;
    flex-wrap: wrap;
}

.about-stat-block {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.about-stat-block .stat-value {
    font-family: 'Archivo', sans-serif;
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.about-stat-block .stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.cta-wrapper {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.cta-buttons-wrapper {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Homepage: Industries ===== */
.industries-section {
    padding: 8rem 0;
    background-color: var(--bg-secondary);
}

.section-header-wrapper {
    text-align: center;
    margin-bottom: 5rem;
}

.industries-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.75rem;
}

.industry-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.industry-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow);
    background: var(--bg-card-hover);
}

.industry-img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin: 0 auto 1.5rem;
    transition: all var(--transition-normal);
}

.industry-card:hover .industry-img {
    background: var(--primary);
    color: #ffffff;
    border-color: transparent;
}

.industry-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.industry-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.5;
}

/* ===== Homepage: Features ===== */
.features-section {
    padding: 8rem 0;
    background-color: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.75rem;
}

.feature-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: transparent;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon {
    background: var(--text-primary);
    color: #ffffff;
    border-color: transparent;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ===== Homepage: Footer variant ===== */
.footer-cta p {
    margin-bottom: 1rem;
    color: var(--on-dark-secondary);
}

.footer-contact {
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact a {
    color: var(--on-dark-secondary);
    transition: color var(--transition-fast);
}

.footer-contact a:hover {
    color: var(--on-dark-accent);
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.footer-social a {
    color: var(--on-dark-muted);
    font-size: 0.9rem;
}

.footer-social a:hover {
    color: var(--on-dark-accent);
}

.btn-sm {
    padding: 0.55rem 1.25rem;
    font-size: 0.85rem;
}

.footer-divider {
    border: none;
    border-top: 1px solid var(--on-dark-border);
    margin: 0 0 2.5rem;
}

/* ===== Homepage: Responsive ===== */
@media (max-width: 768px) {
    .hero-credentials {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 1rem;
    }

    .hero-features-grid {
        grid-template-columns: 1fr;
    }

    .about-stats-grid {
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-credentials {
        grid-template-columns: 1fr;
    }

    .about-stats-grid {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* Print Styles */
@media print {

    .navbar,
    .cta-section,
    .footer {
        display: none;
    }

    body {
        background-color: #ffffff;
        color: #000000;
    }
}
