/*
Theme Name: AIOZEN
Theme URI: https://aiozen.ai
Author: AIOZEN
Author URI: https://aiozen.ai
Description: AIOZEN.AI - Tehisintellekti lahendused ettevõtetele.
Version: 2.3.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aiozen
*/

/* ============================================
   AIOZEN.AI v2 — Premium Clean Design
   ============================================ */

:root {
    /* Warm dark palette */
    --bg-primary: #08080a;
    --bg-secondary: #0f0f12;
    --bg-card: #141418;
    --bg-card-hover: #1a1a1f;
    --bg-elevated: #1c1c22;

    /* Borders */
    --border-subtle: rgba(255,255,255,0.06);
    --border-default: rgba(255,255,255,0.08);
    --border-hover: rgba(255,255,255,0.14);

    /* Accent — warm bronze/gold */
    --accent: #c8a26d;
    --accent-soft: rgba(200,162,109,0.12);
    --accent-softer: rgba(200,162,109,0.06);
    --accent-glow: rgba(200,162,109,0.2);

    /* Secondary — soft sage */
    --sage: #7d9a82;
    --sage-soft: rgba(125,154,130,0.1);

    /* Text */
    --text-primary: #ece9e3;
    --text-secondary: #9d9890;
    --text-muted: #6b6660;
    --text-dim: #4a4642;

    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 40px;
    --space-2xl: 64px;
    --space-3xl: 80px;
    --space-4xl: 100px;

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Layout */
    --container: 1200px;
    --container-narrow: 800px;
    --header-h: 72px;

    /* Motion */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --duration-fast: 0.15s;
    --duration: 0.3s;
    --duration-slow: 0.5s;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

::selection {
    background: var(--accent);
    color: var(--bg-primary);
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.8rem, 5.5vw, 4.8rem); font-weight: 500; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 0.95rem; font-weight: 600; }

p {
    color: var(--text-secondary);
    line-height: 1.75;
    font-size: 1.05rem;
}

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

.text-gradient {
    background: linear-gradient(135deg, var(--accent) 0%, #e0c9a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.label-sm {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
}

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

.container-narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

section {
    padding: var(--space-4xl) 0;
    position: relative;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: var(--space-lg);
}

.section-label::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--accent);
}

.section-header {
    margin-bottom: var(--space-3xl);
}

.section-header.center { text-align: center; }

.section-header.center .section-label {
    justify-content: center;
}

.section-header.center .section-label::after {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--accent);
}

.section-header h2 { margin-bottom: var(--space-md); }

.section-header p {
    max-width: 560px;
    font-size: 1.1rem;
}

.section-header.center p {
    margin: 0 auto;
}

/* Divider */
.divider {
    height: 1px;
    background: var(--border-subtle);
    border: none;
    margin: 0;
}

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

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all var(--duration) var(--ease);
    text-decoration: none;
    letter-spacing: 0.01em;
}

.btn-primary {
    padding: 14px 32px;
    background: var(--accent);
    color: var(--bg-primary);
    border-radius: var(--radius-full);
    font-weight: 600;
}

.btn-primary:hover {
    background: #d4ae7a;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-outline {
    padding: 14px 32px;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-full);
}

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

.btn-ghost {
    padding: 0;
    background: none;
    color: var(--accent);
    font-weight: 500;
}

.btn-ghost:hover { opacity: 0.7; }

.btn-ghost .arrow {
    transition: transform var(--duration-fast) var(--ease);
    display: inline-block;
}

.btn-ghost:hover .arrow { transform: translateX(4px); }

.btn-lg {
    padding: 16px 40px;
    font-size: 0.95rem;
}

/* === HEADER === */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-h);
    z-index: 1000;
    background: rgba(8,8,10,0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid transparent;
    transition: all var(--duration) var(--ease);
}

.site-header.scrolled {
    background: rgba(8,8,10,0.92);
    border-bottom-color: var(--border-subtle);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    height: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.header-inner .main-nav {
    flex: 1;
    justify-content: center;
}

.header-inner .nav-cta {
    flex-shrink: 0;
}

.site-logo {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.03em;
}

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

.main-nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.main-nav a {
    padding: 8px 18px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 450;
    transition: color var(--duration-fast) var(--ease);
    letter-spacing: 0.01em;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--text-primary);
}

.nav-cta .btn-primary {
    padding: 10px 24px;
    font-size: 0.82rem;
}

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

.menu-toggle span {
    width: 22px;
    height: 1.5px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--duration-fast) var(--ease);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0; bottom: 0;
    background: rgba(8,8,10,0.98);
    backdrop-filter: blur(24px);
    padding: var(--space-xl);
    z-index: 999;
    flex-direction: column;
    gap: var(--space-sm);
}

.mobile-nav.active { display: flex; }

.mobile-nav a {
    padding: var(--space-md);
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
    border-bottom: 1px solid var(--border-subtle);
    transition: color var(--duration-fast) var(--ease);
}

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

/* === HERO === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-h);
    position: relative;
    overflow: hidden;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

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

.hero-eyebrow {
    margin-bottom: var(--space-xl);
}

.hero h1 {
    margin-bottom: var(--space-lg);
    line-height: 1.05;
}

.hero p.hero-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    max-width: 480px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-3xl);
}

.hero-stats {
    display: flex;
    gap: var(--space-3xl);
}

.hero-stat .number {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -0.03em;
}

.hero-stat .label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/5;
}

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

.hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(8,8,10,0.4) 100%);
    pointer-events: none;
}

/* Subtle ambient light */
.hero::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-softer) 0%, transparent 70%);
    pointer-events: none;
    filter: blur(40px);
}

/* === SERVICES === */
.services {
    background: var(--bg-primary);
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--duration) var(--ease);
}

.service-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.service-card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

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

.service-card:hover .service-card-image img {
    transform: scale(1.04);
}

.service-card-image .overlay-number {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.1em;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: var(--radius-full);
}

.service-card-body {
    padding: var(--space-lg) var(--space-lg) var(--space-xl);
}

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

.service-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.service-card .features-list {
    margin-bottom: var(--space-lg);
}

.service-card .features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
    color: var(--text-secondary);
    font-size: 0.87rem;
}

.service-card .features-list li .check {
    color: var(--accent);
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* Standalone features list (used on service detail pages) */
.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.features-list li .check {
    color: var(--accent);
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* === INDUSTRIES === */
.industries {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.industry-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: default;
    transition: transform var(--duration) var(--ease);
}

.industry-card:hover {
    transform: translateY(-4px);
}

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

.industry-card:hover img {
    transform: scale(1.06);
}

.industry-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(8,8,10,0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-lg);
}

.industry-card h4 {
    font-size: 1.15rem;
    margin-bottom: 4px;
    color: #fff;
}

.industry-card p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.5;
}

.btn-industry-more {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.78rem;
    color: var(--accent);
    font-weight: 500;
    opacity: 0;
    transform: translateY(6px);
    transition: all var(--duration) var(--ease);
}

.industry-card:hover .btn-industry-more {
    opacity: 1;
    transform: translateY(0);
}

/* === INDUSTRIES SLIDER === */
.industries-slider {
    position: relative;
}

.industries-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    padding: 4px 0;
}

.industries-track::-webkit-scrollbar {
    display: none;
}

.industries-track .industry-card {
    flex: 0 0 calc((100% - 60px) / 3.3);
    max-width: calc((100% - 60px) / 3.3);
    scroll-snap-align: start;
}

/* === SERVICES SLIDER === */
.services-slider {
    position: relative;
}

.services-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    padding: 4px 0;
}

.services-track::-webkit-scrollbar {
    display: none;
}

.services-track .service-card {
    flex: 0 0 calc((100% - 40px) / 2.3);
    max-width: calc((100% - 40px) / 2.3);
    scroll-snap-align: start;
}

/* === ABOUT === */
.about-section {
    background: var(--bg-primary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-content .section-label { margin-bottom: var(--space-lg); }
.about-content h2 { margin-bottom: var(--space-lg); }
.about-content p { margin-bottom: var(--space-md); }

.about-numbers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.about-num {
    padding: var(--space-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
}

.about-num .number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.about-num .label {
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/5;
}

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

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: var(--space-lg);
}

.tech-tag {
    padding: 6px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-weight: 450;
}

/* === GOVERNMENT === */
.gov-section {
    background: var(--bg-secondary);
}

.gov-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--duration) var(--ease);
}

.gov-card:hover {
    border-color: var(--border-hover);
}

.gov-card .num {
    font-family: var(--font-display);
    font-size: 0.72rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
}

.gov-card h4 {
    margin-bottom: var(--space-sm);
}

.gov-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
}

/* === TOOLS === */
.tools-section {
    background: var(--bg-primary);
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.tools-row {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
    padding-top: var(--space-xl);
}

.tool-item {
    text-align: center;
    opacity: 0.45;
    transition: all var(--duration) var(--ease);
    padding: var(--space-md);
    min-width: 100px;
}

.tool-item:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.tool-item .tool-icon {
    margin-bottom: 10px;
    color: var(--text-muted);
    transition: color var(--duration) var(--ease);
}

.tool-item .tool-icon svg {
    fill: currentColor;
}

.tool-item:hover .tool-icon {
    color: var(--accent);
}

.tool-item .tool-name {
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: -0.01em;
}

.tool-item .tool-sub {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* === CLIENTS MARQUEE === */
.clients-section {
    background: var(--bg-primary);
    padding: var(--space-xl) 0 var(--space-3xl);
    overflow: hidden;
}

.logos-track {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.logos-slide {
    display: flex;
    gap: var(--space-3xl);
    animation: marquee 30s linear infinite;
    width: max-content;
}

.client-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dim);
    white-space: nowrap;
    letter-spacing: -0.01em;
    transition: color var(--duration) var(--ease);
}

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

.client-logo .cl-icon {
    width: 36px;
    height: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent);
    flex-shrink: 0;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* === SERVICE MINI CARDS === */
.service-mini {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all var(--duration) var(--ease);
}

.service-mini:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.service-mini-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-softer);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: var(--accent);
}

.service-mini h4 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.service-mini p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* === TESTIMONIALS === */
.testimonials {
    background: var(--bg-secondary);
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.testimonial-card .stars {
    color: var(--accent);
    font-size: 0.85rem;
    margin-bottom: var(--space-md);
    letter-spacing: 2px;
}

.testimonial-card blockquote {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
    font-style: normal;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-subtle);
}

.testimonial-author .avatar {
    width: 40px;
    height: 40px;
    background: var(--accent-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--accent);
}

.testimonial-author .name {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-primary);
}

.testimonial-author .role {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* === BLOG / NEWS === */
.news-section {
    background: var(--bg-primary);
}

.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--duration) var(--ease);
}

.news-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.news-card .news-image {
    height: 220px;
    overflow: hidden;
}

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

.news-card:hover .news-image img {
    transform: scale(1.04);
}

.news-card .news-body {
    padding: var(--space-lg);
}

.news-card .news-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
    align-items: center;
}

.news-card .news-tag {
    font-size: 0.68rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.news-card .news-date {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.news-card h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-card h4 a {
    color: var(--text-primary);
    transition: color var(--duration-fast) var(--ease);
}

.news-card h4 a:hover { color: var(--accent); }

.news-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* === CTA === */
.cta-section {
    background: var(--bg-primary);
    padding: var(--space-4xl) 0;
}

.cta-inner {
    text-align: center;
    padding: var(--space-3xl) var(--space-xl);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    background: var(--bg-card);
    position: relative;
    overflow: hidden;
}

.cta-inner::before {
    content: '';
    position: absolute;
    top: -60%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, var(--accent-softer), transparent 70%);
    pointer-events: none;
}

.cta-inner h2 { margin-bottom: var(--space-md); position: relative; }
.cta-inner p { margin: 0 auto var(--space-xl); max-width: 440px; position: relative; }
.cta-inner .btn { position: relative; }

/* === CAREERS === */
.careers-section {
    background: var(--bg-secondary);
}

.career-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--duration) var(--ease);
    margin-bottom: var(--space-md);
}

.career-card:hover {
    border-color: var(--border-hover);
}

.career-info h4 { margin-bottom: 4px; }

.career-info p { font-size: 0.88rem; color: var(--text-secondary); }

.career-tags {
    display: flex;
    gap: 6px;
    margin-top: 10px;
}

.career-tag {
    padding: 4px 12px;
    background: var(--accent-softer);
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* === FOOTER === */
.site-footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
    padding: var(--space-3xl) 0 var(--space-xl);
}

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

.footer-brand .site-logo { margin-bottom: var(--space-md); }

.footer-brand p {
    font-size: 0.88rem;
    color: var(--text-muted);
    max-width: 280px;
    margin-bottom: var(--space-lg);
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 36px; height: 36px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all var(--duration-fast) var(--ease);
}

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

.footer-col h5 {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
    font-weight: 600;
}

.footer-col a {
    display: block;
    padding: 5px 0;
    color: var(--text-muted);
    font-size: 0.88rem;
    transition: color var(--duration-fast) var(--ease);
}

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

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p { font-size: 0.78rem; color: var(--text-dim); }
.footer-bottom a { color: var(--text-dim); font-size: 0.78rem; }
.footer-bottom a:hover { color: var(--text-muted); }

/* === CONTACT === */
.contact-section { background: var(--bg-primary); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
}

.contact-form label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

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

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 13px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.92rem;
    transition: border-color var(--duration-fast) var(--ease);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--accent);
}

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

.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.contact-info-card .icon {
    width: 40px; height: 40px;
    background: var(--accent-softer);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent);
}

.contact-info-card h5 { font-size: 0.92rem; margin-bottom: 2px; }
.contact-info-card p { font-size: 0.85rem; color: var(--text-muted); }

/* === PAGE TEMPLATES === */
.page-hero {
    padding: 160px 0 80px;
    position: relative;
}

.page-hero h1 {
    margin-bottom: var(--space-md);
}

.page-hero p {
    max-width: 560px;
}

.page-hero.center { text-align: center; }
.page-hero.center p { margin: 0 auto; }

.breadcrumbs { margin-bottom: var(--space-lg); }
.breadcrumbs a, .breadcrumbs span { font-size: 0.82rem; color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs .separator { margin: 0 6px; }

/* === SINGLE POST === */
.single-content { max-width: 720px; margin: 0 auto; padding: 60px 24px 100px; }
.single-content h2 { margin: 48px 0 16px; }
.single-content h3 { margin: 36px 0 12px; }
.single-content p { margin-bottom: 24px; }
.single-content ul, .single-content ol { margin-bottom: 24px; padding-left: 24px; }
.single-content li { list-style: disc; margin-bottom: 8px; color: var(--text-secondary); }
.single-content ol li { list-style: decimal; }
.single-content blockquote {
    border-left: 2px solid var(--accent);
    padding: 16px 24px;
    margin: 32px 0;
    background: var(--accent-softer);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.single-content code {
    background: var(--accent-softer);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.9em;
}
.single-content img { border-radius: var(--radius-md); margin: 32px 0; }

/* === BLOG ARCHIVE === */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--duration) var(--ease);
}
.blog-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.blog-card .card-image { height: 220px; overflow: hidden; }
.blog-card .card-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card .card-content { padding: var(--space-lg); }
.blog-card .card-meta { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 10px; }
.blog-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.blog-card h3 a { color: var(--text-primary); }
.blog-card h3 a:hover { color: var(--accent); }

/* === PAGINATION === */
.nav-links {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-links .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.88rem;
    transition: all var(--duration-fast) var(--ease);
}

.nav-links .page-numbers:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.nav-links .page-numbers.current {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-primary);
    font-weight: 600;
}

/* === 404 === */
.page-404 {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-404 .error-code {
    font-family: var(--font-display);
    font-size: 10rem;
    font-weight: 500;
    color: var(--text-dim);
    line-height: 1;
    letter-spacing: -0.05em;
}

/* === ANIMATIONS === */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-24px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-in-left.visible { opacity: 1; transform: translateX(0); }

.fade-in-right {
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-in-right.visible { opacity: 1; transform: translateX(0); }

.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.2s; }
.stagger-5 { transition-delay: 0.25s; }
.stagger-6 { transition-delay: 0.3s; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .hero-layout { grid-template-columns: 1fr; gap: var(--space-xl); }
    .hero-image { max-width: 500px; aspect-ratio: 16/10; }
    .hero { min-height: auto; padding: 140px 0 var(--space-3xl); }
    .about-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    section { padding: var(--space-3xl) 0; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; }
    .main-nav, .nav-cta, .lang-switcher { display: none; }
    .theme-toggle { order: 1; }
    .menu-toggle { order: 2; }
    .savings { flex-direction: column; gap: var(--space-md); }
    .menu-toggle { display: flex; }
    .hero h1 { font-size: 2.4rem; }
    .hero-stats { gap: var(--space-xl); }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .blog-grid { grid-template-columns: 1fr; }
    .about-numbers { grid-template-columns: 1fr; }
    .career-card { flex-direction: column; align-items: flex-start; gap: var(--space-md); }
    .cta-inner { padding: var(--space-xl); }
    .tools-row { gap: var(--space-xl); }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .hero-stats { flex-direction: column; gap: var(--space-md); }
    .container { padding: 0 var(--space-md); }
    .header-inner { padding: 0 var(--space-md); }
}

/* === WP FIX === */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }

/* === USE CASES === */
.usecases-section {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.usecase-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--duration) var(--ease);
}

.usecase-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.usecase-card h4 {
    margin-bottom: var(--space-sm);
    color: var(--accent);
}

.usecase-card > p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.savings {
    display: flex;
    gap: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-subtle);
}

.saving-item {
    flex: 1;
}

.saving-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.saving-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
    margin-top: 2px;
}

/* === CLIENT LOGO IMAGES === */
.client-logo img {
    height: 36px;
    width: auto;
    object-fit: contain;
    filter: grayscale(1) brightness(0.6);
    transition: filter var(--duration) var(--ease);
}

.client-logo:hover img {
    filter: grayscale(0) brightness(1);
}

/* === THEME TOGGLE === */
.theme-toggle {
    background: none;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: all var(--duration-fast) var(--ease);
    flex-shrink: 0;
    padding: 0;
}

.theme-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon { display: none; }

[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }

/* === LIGHT THEME === */
[data-theme="light"] {
    --bg-primary: #f8f7f4;
    --bg-secondary: #efede8;
    --bg-card: #ffffff;
    --bg-card-hover: #f5f3ef;
    --bg-elevated: #ffffff;

    --border-subtle: rgba(0,0,0,0.06);
    --border-default: rgba(0,0,0,0.1);
    --border-hover: rgba(0,0,0,0.18);

    --accent: #a07a42;
    --accent-soft: rgba(160,122,66,0.12);
    --accent-softer: rgba(160,122,66,0.06);
    --accent-glow: rgba(160,122,66,0.2);

    --sage: #5a7c5f;
    --sage-soft: rgba(90,124,95,0.1);

    --text-primary: #1a1816;
    --text-secondary: #555049;
    --text-muted: #8a847c;
    --text-dim: #b5afa7;
}

[data-theme="light"] .site-header {
    background: rgba(248,247,244,0.7);
}

[data-theme="light"] .site-header.scrolled {
    background: rgba(248,247,244,0.92);
}

[data-theme="light"] .mobile-nav {
    background: rgba(248,247,244,0.98);
}

[data-theme="light"] .hero::before {
    background: radial-gradient(circle, var(--accent-softer) 0%, transparent 70%);
}

[data-theme="light"] .hero-image::after {
    background: linear-gradient(180deg, transparent 50%, rgba(248,247,244,0.4) 100%);
}

[data-theme="light"] .industry-card .overlay {
    background: linear-gradient(180deg, transparent 30%, rgba(26,24,22,0.85) 100%);
}

[data-theme="light"] .industry-card h4 {
    color: #fff;
}

[data-theme="light"] .industry-card p {
    color: rgba(255,255,255,0.65);
}

[data-theme="light"] .btn-primary:hover {
    background: #b08a50;
}

[data-theme="light"] .service-card-image .overlay-number {
    background: rgba(0,0,0,0.5);
    color: rgba(255,255,255,0.8);
}

[data-theme="light"] .client-logo img {
    filter: grayscale(1) brightness(1);
}

[data-theme="light"] .client-logo:hover img {
    filter: grayscale(0) brightness(1);
}

[data-theme="light"] ::selection {
    background: var(--accent);
    color: #fff;
}

/* === TEAM SECTION === */
.team-section {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-lg);
}

.team-card {
    text-align: center;
    padding: var(--space-xl) var(--space-md);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all var(--duration) var(--ease);
}

.team-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto var(--space-md);
    overflow: hidden;
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.team-initials {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent);
}

.team-card h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.team-role {
    font-size: 0.8rem !important;
    color: var(--text-muted) !important;
}

.team-linkedin {
    display: inline-flex;
    margin-top: var(--space-sm);
    color: var(--text-muted);
    transition: color var(--duration-fast) var(--ease);
}

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

/* === USE CASES SLIDER === */
.usecases-slider {
    position: relative;
}

.usecases-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    padding: 4px 0;
    /* Show 3 cards + peek of 4th: each card = ~30% leaving ~10% for peek */
}

.usecases-track::-webkit-scrollbar {
    display: none;
}

.usecases-track .usecase-card {
    flex: 0 0 calc((100% - 60px) / 3.3);
    max-width: calc((100% - 60px) / 3.3);
    scroll-snap-align: start;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    color: var(--text-secondary);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.slider-prev { left: -22px; }
.slider-next { right: -22px; }

.slider-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--bg-card);
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

/* === CAREER MODAL === */
.career-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
}

.career-modal.active {
    display: flex;
}

.career-modal-inner {
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    padding: var(--space-xl) var(--space-xl) var(--space-lg);
    max-width: 520px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.career-modal-inner h3 {
    margin-bottom: var(--space-lg);
    font-size: 1.4rem;
}

.career-modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: color var(--duration-fast) var(--ease);
}

.career-modal-close:hover {
    color: var(--text-primary);
}

.career-modal .form-group {
    margin-bottom: var(--space-md);
}

.career-modal label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.career-modal input,
.career-modal textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.92rem;
    transition: border-color var(--duration-fast) var(--ease);
}

.career-modal input:focus,
.career-modal textarea:focus {
    outline: none;
    border-color: var(--accent);
}

/* === FOOTER CTA BAR === */
.footer-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: var(--space-xl) var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.footer-cta h3 {
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.footer-cta p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

.footer-credit {
    font-size: 0.78rem;
    color: var(--text-dim);
}

.footer-credit a {
    color: var(--text-muted);
    transition: color var(--duration-fast) var(--ease);
}

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

/* === LANGUAGE SWITCHER === */
.lang-switcher {
    position: relative;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    padding: 6px 12px;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.04em;
    font-family: var(--font-body);
    transition: all var(--duration-fast) var(--ease);
}

.lang-current:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    padding: 4px;
    min-width: 60px;
    z-index: 100;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.lang-switcher:hover .lang-dropdown,
.lang-switcher.open .lang-dropdown {
    display: block;
}

.lang-option {
    display: block;
    padding: 6px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    border-radius: 4px;
    letter-spacing: 0.04em;
    transition: all var(--duration-fast) var(--ease);
}

.lang-option:hover {
    background: var(--accent-softer);
    color: var(--accent);
}

.lang-option.active {
    color: var(--accent);
}

/* === SECTION OVERLAY EFFECTS (alternating) === */
.industries::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    opacity: 0.4;
    background: radial-gradient(ellipse at 80% 20%, var(--accent-softer), transparent 60%);
}

.usecases-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    opacity: 0.4;
    background: radial-gradient(ellipse at 20% 80%, var(--sage-soft), transparent 60%);
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    opacity: 0.4;
    background: radial-gradient(ellipse at 70% 50%, var(--accent-softer), transparent 50%);
}

.tools-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

/* === RESPONSIVE ADDITIONS === */
@media (max-width: 1024px) {
    .team-grid { grid-template-columns: repeat(3, 1fr); }
    .usecases-track .usecase-card { flex: 0 0 calc(100% - var(--space-md)); max-width: calc(100% - var(--space-md)); }
    .industries-track .industry-card { flex: 0 0 calc(50% - 10px); max-width: calc(50% - 10px); }
    .services-track .service-card { flex: 0 0 calc(80% - 10px); max-width: calc(80% - 10px); }
    .footer-cta { flex-direction: column; text-align: center; gap: var(--space-md); }
}

@media (max-width: 768px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .slider-btn { display: none; }
    .usecases-track .usecase-card { flex: 0 0 85%; max-width: 85%; }
    .industries-track .industry-card { flex: 0 0 80%; max-width: 80%; }
    .services-track .service-card { flex: 0 0 85%; max-width: 85%; }
    .lang-switcher { order: 0; }
    .footer-cta { padding: var(--space-lg); }
    .career-modal-inner { padding: var(--space-lg); }
}

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

.screen-reader-text {
    clip: rect(1px,1px,1px,1px);
    position: absolute !important;
    height: 1px; width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}
