/* ============================================================
   ForgePuls - custom.css
   Accent: #ea580c | Industry: AI defect detection, metal casting/forging
   ============================================================ */

:root {
    --accent: #ea580c;
    --accent-dark: #c2410c;
    --accent-light: #fed7aa;
    --bg: #0f1117;
    --bg-rgb: 15, 17, 23;
    --surface: #181c28;
    --surface2: #1e2435;
    --text: #e8eaf0;
    --text-muted: #8892a4;
    --border: rgba(255,255,255,0.08);
    --radius: 10px;
    --nav-height: 70px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.8;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Remove kinetic template full-height overrides */
section {
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    position: static !important;
    background-image: none !important;
    transition: none !important;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
    text-transform: none;
    letter-spacing: 0;
    margin-top: 0;
}

h1 { font-size: 58px; line-height: 1.1; }
h2 { font-size: 42px; }
h3 { font-size: 22px; font-weight: 600; }
h4 { font-size: 20px; font-weight: 600; }

p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1em;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); text-decoration: none; }

.container-narrow {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---- Navigation ---- */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(15, 17, 23, 0.95);
    border-bottom: 1px solid var(--border);
    height: var(--nav-height);
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease;
}

.site-nav .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
}

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-brand img {
    height: 36px;
    width: auto;
    max-width: none !important;
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 20px;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 4px;
    line-height: 1;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
}

.nav-menu li a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    padding: 8px 14px;
    border-radius: 6px;
    display: block;
    transition: color 0.2s, background-color 0.2s;
    white-space: nowrap;
}

.nav-menu li a:hover,
.nav-menu li.active a {
    color: var(--text);
    background-color: rgba(255,255,255,0.06);
}

.nav-cta a {
    background-color: var(--accent) !important;
    color: #ffffff !important;
    border-radius: 6px;
    font-weight: 600;
    padding: 8px 18px !important;
}

.nav-cta a:hover {
    background-color: var(--accent-dark) !important;
    color: #ffffff !important;
}

/* R77 */
.nav-item { margin-bottom: 0 !important; background-image: none !important; }
.site-logo { max-width: none !important; }
.btn-accent, .cta-primary, .cta-secondary { white-space: nowrap; }

/* ---- Page body offset for fixed nav ---- */
.page-body {
    padding-top: var(--nav-height);
}

/* ---- Section Utility ---- */
.section-pad {
    padding: 90px 0;
}
.section-pad-sm {
    padding: 60px 0;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 56px;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

/* ---- Hero ---- */
.hero-section {
    min-height: 660px;
    display: flex;
    align-items: center;
    background-color: var(--bg);
    position: relative;
    overflow: hidden;
    padding: 100px 0 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    background-color: rgba(234,88,12,0.12);
    border: 1px solid rgba(234,88,12,0.25);
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.hero-h1 {
    font-size: 58px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-h1 span { color: var(--accent); }

.hero-desc {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 520px;
    line-height: 1.8;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.hero-image-wrap {
    position: relative;
}

.hero-image-wrap img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
}

/* ---- Buttons ---- */
.btn-accent {
    display: inline-block;
    background-color: var(--accent);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    padding: 13px 28px;
    border-radius: var(--radius);
    border: 2px solid var(--accent);
    transition: background-color 0.2s, border-color 0.2s;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
}

.btn-accent:hover {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
    color: #ffffff;
    text-decoration: none;
}

/* R-BTN: Outline on dark bg */
.btn-outline-dark-bg {
    display: inline-block;
    background-color: transparent;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    padding: 13px 28px;
    border-radius: var(--radius);
    border: 2px solid rgba(255,255,255,0.35);
    transition: border-color 0.2s, background-color 0.2s;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
}

.btn-outline-dark-bg:hover {
    border-color: #ffffff;
    color: #ffffff;
    background-color: rgba(255,255,255,0.08);
    text-decoration: none;
}

/* R-BTN: Outline on light bg */
.btn-outline-light-bg {
    display: inline-block;
    background-color: transparent;
    color: var(--accent);
    font-size: 16px;
    font-weight: 600;
    padding: 13px 28px;
    border-radius: var(--radius);
    border: 2px solid var(--accent);
    transition: border-color 0.2s, background-color 0.2s, color 0.2s;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
}

.btn-outline-light-bg:hover {
    background-color: var(--accent);
    color: #ffffff;
    text-decoration: none;
}

/* R75: White bg buttons — hardcoded dark text */
.btn-white {
    display: inline-block;
    background-color: #ffffff;
    color: #1e293b;
    font-size: 16px;
    font-weight: 600;
    padding: 13px 28px;
    border-radius: var(--radius);
    border: 2px solid #ffffff;
    white-space: nowrap;
    text-decoration: none;
}

.btn-white:hover {
    background-color: #f1f5f9;
    color: #1e293b;
    text-decoration: none;
}

/* ---- Feature Cards ---- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}

.feature-card:hover {
    border-color: rgba(234,88,12,0.3);
}

/* R87: Uniform card icon/h3/p sizing */
.feature-card .card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(234,88,12,0.12);
    border-radius: 8px;
    margin-bottom: 20px;
}

.feature-card .card-icon .fa {
    font-size: 22px;
    color: var(--accent) !important;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.4;
}

.feature-card p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0;
}

/* R81: Force accent on all icons */
.feature-icon .fa, .card-icon .fa, .step-icon .fa { color: var(--accent) !important; }

/* ---- Steps / How It Works (R80) ---- */
.steps-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.steps-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.step-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-number {
    font-size: 38px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 16px;
}

.step-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}

.step-card p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ---- Stats Row ---- */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item {
    padding: 32px 24px;
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
    display: block;
}

.stat-label {
    font-size: 16px;
    color: var(--text-muted);
}

/* ---- CTA Banner ---- */
.cta-banner {
    background-color: var(--accent);
    padding: 72px 0;
    text-align: center;
}

.cta-banner h2 {
    font-size: 40px;
    color: #ffffff;
    margin-bottom: 16px;
}

.cta-banner p {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 32px;
}

/* ---- Footer ---- */
.site-footer {
    background-color: var(--surface);
    border-top: 1px solid var(--border);
    padding: 64px 0 40px;
    color: var(--text-muted);
}

.footer-brand img {
    height: 32px;
    width: auto;
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 260px;
    line-height: 1.7;
    margin-bottom: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 15px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--text);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 0;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    font-size: 15px;
    color: var(--text-muted);
    text-decoration: none;
}

.footer-legal a:hover {
    color: var(--text);
}

/* ---- Cookie Banner ---- */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--surface2);
    border-top: 1px solid var(--border);
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    z-index: 9000;
    flex-wrap: wrap;
}

#cookie-banner p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 0;
}

#cookie-banner a {
    color: var(--accent);
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

#cookie-accept {
    background-color: var(--accent);
    color: #ffffff;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

#cookie-dismiss {
    background-color: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
}

/* R79: Hero transparent container */
.header-thumb { background: transparent !important; border: none !important; }

/* R85: Dark section text always explicit color */
.bg-dark-section {
    background-color: var(--surface);
    color: var(--text);
}

.bg-dark-section h2,
.bg-dark-section h3,
.bg-dark-section h4 { color: var(--text); }

.bg-dark-section p { color: #c8d6e5; }

/* R89: Template overlay no pointer events */
.tm-bg-overlay, [class*="overlay"] { pointer-events: none !important; }

/* ---- Blog ---- */
/* R78: Fixed 3-col blog grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.blog-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.2s;
}

.blog-card:hover {
    border-color: rgba(234,88,12,0.3);
}

.blog-card-img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}

.blog-card-body {
    padding: 24px;
}

.blog-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.blog-tag {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--accent);
    background-color: rgba(234,88,12,0.10);
    padding: 3px 10px;
    border-radius: 4px;
}

.blog-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 10px;
}

.blog-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0;
}

.blog-card-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-read-more {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}

.blog-read-more:hover { text-decoration: underline; color: var(--accent); }

/* R-IMG: Article/blog images */
article img {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
}

/* ---- Pricing ---- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: start;
}

.price-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 32px;
}

.price-card.featured {
    background-color: var(--accent);
    border-color: var(--accent);
}

.price-card.featured h3,
.price-card.featured .price-amount,
.price-card.featured .price-period,
.price-card.featured p,
.price-card.featured li { color: #ffffff; }

.price-card.featured ul li::before { color: #ffffff; }

.price-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: rgba(255,255,255,0.2);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.price-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.price-amount {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    display: block;
    margin-bottom: 4px;
}

.price-card.featured .price-amount { color: #ffffff; }

.price-period {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 24px;
    display: block;
}

.price-desc {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.7;
}

.price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}

.price-features li {
    font-size: 16px;
    color: var(--text-muted);
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-features li .fa {
    color: var(--accent);
    font-size: 14px;
}

.price-card.featured .price-features li {
    border-bottom-color: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
}

.price-card.featured .price-features li .fa { color: #ffffff; }

/* ---- Team ---- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.team-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    text-align: center;
}

.team-card-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    /* R86: object-position center */
    object-position: center;
    display: block;
}

.team-card-body {
    padding: 24px;
}

.team-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.team-card .team-role {
    font-size: 15px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
}

.team-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0;
}

/* ---- About Page ---- */
.about-hero {
    padding: 100px 0 80px;
    background-color: var(--bg);
}

.about-story {
    max-width: 720px;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.value-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}

.value-card .fa {
    font-size: 32px;
    color: var(--accent);
    margin-bottom: 16px;
    display: block;
}

.value-card h3 {
    font-size: 20px;
    color: var(--text);
    margin-bottom: 10px;
}

.value-card p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ---- Contact Page ---- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 48px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 28px;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background-color: rgba(234,88,12,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon .fa {
    font-size: 18px;
    color: var(--accent);
}

.contact-info-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.contact-info-item p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 0;
}

.contact-form {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background-color: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(234,88,12,0.15);
}

.form-control::placeholder { color: var(--text-muted); }

textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

/* ---- Accordion / FAQ ---- */
.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 24px 0;
}

.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-question {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    background: none;
    border: none;
    padding: 0;
    width: 100%;
    text-align: left;
}

.faq-question .fa {
    color: var(--accent);
    font-size: 16px;
    flex-shrink: 0;
}

.faq-answer {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-top: 14px;
}

/* ---- Page Hero (inner pages) ---- */
.page-hero {
    background-color: var(--surface);
    padding: 80px 0 60px;
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.page-hero h1 {
    font-size: 46px;
    color: var(--text);
    margin-bottom: 14px;
}

.page-hero p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
}

/* ---- Two column text+image ---- */
.two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.two-col-grid img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
}

/* ---- Highlight boxes ---- */
.highlight-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.highlight-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 16px;
    font-size: 16px;
    color: var(--text-muted);
}

.highlight-list li .fa {
    color: var(--accent);
    font-size: 14px;
    margin-top: 4px;
    flex-shrink: 0;
}

/* ---- Breadcrumb ---- */
.breadcrumb-nav {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.breadcrumb-nav a { color: var(--text-muted); }
.breadcrumb-nav a:hover { color: var(--accent); }

/* ---- Responsive ---- */
@media (max-width: 991px) {
    h1, .hero-h1, .page-hero h1 { font-size: 42px; }
    h2, .section-title { font-size: 32px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .steps-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .two-col-grid { grid-template-columns: 1fr; gap: 32px; }
    .about-values-grid { grid-template-columns: repeat(2, 1fr); }
    /* R78 */
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .nav-menu { display: none; flex-direction: column; gap: 0; position: absolute; top: var(--nav-height); left: 0; right: 0; background-color: var(--bg); border-bottom: 1px solid var(--border); padding: 16px 0; }
    .nav-menu.open { display: flex; }
    .nav-menu li a { padding: 12px 24px; border-radius: 0; }
    .nav-toggle { display: block; }
    .hero-section { padding: 80px 0 60px; }
    .hero-h1 { font-size: 34px; }
    .features-grid { grid-template-columns: 1fr; }
    .steps-grid-3, .steps-grid-4 { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .team-grid { grid-template-columns: 1fr; }
    .about-values-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .cta-banner h2 { font-size: 30px; }
    .section-pad { padding: 60px 0; }
    #cookie-banner { flex-direction: column; align-items: flex-start; }
}
