/*
Theme Name: Red Notice Security
Theme URI: https://rednoticesecurity.com
Author: Red Notice Security
Author URI: https://rednoticesecurity.com
Description: Professional cybersecurity consulting theme for MSPs. Terminal logo, light/dark mode (light default), Resend contact form, fully Customizer-editable.
Version: 2.0.0
Requires at least: 6.2
Tested up to: 6.5
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rns
Tags: cybersecurity, msp, light-mode, one-page, business
*/

/* ============================================================
   TOKENS – Light (default)
   ============================================================ */
:root {
    --c-bg:           #ffffff;
    --c-bg-alt:       #f7f7fb;
    --c-bg-alt2:      #f0f0f8;
    --c-text:         #111827;
    --c-text-soft:    #6b7280;
    --c-text-xsoft:   #9ca3af;
    --c-nav:          #0b0b14;
    --c-dark:         #0b0b14;
    --c-card:         #ffffff;
    --c-card-border:  #e5e7eb;
    --c-input-bg:     #f3f4f6;
    --c-input-border: #d1d5db;
    --c-form:         #ffffff;
    --c-form-border:  #e5e7eb;
    --c-info-bg:      #fff1f2;
    --c-info-border:  #fecdd3;
    --c-red:          #dc2626;
    --c-red-dark:     #b91c1c;
    --c-red-glow:     rgba(220,38,38,0.2);
    --c-footer-muted: #6b7280;
    --c-divider:      #e5e7eb;
    --font-mono:      'Space Mono', monospace;
    --font-body:      'DM Sans', sans-serif;
    --radius-sm:      6px;
    --radius:         12px;
    --radius-lg:      20px;
    --shadow-sm:      0 1px 4px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.05);
    --shadow:         0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg:      0 12px 40px rgba(0,0,0,0.12);
    --t:              0.22s ease;
    --header-h:       68px;
}

/* ============================================================
   TOKENS – Dark
   ============================================================ */
html[data-theme='dark'] {
    --c-bg:           #08080f;
    --c-bg-alt:       #0e0e1c;
    --c-bg-alt2:      #111120;
    --c-text:         #e5e7eb;
    --c-text-soft:    #9ca3af;
    --c-text-xsoft:   #6b7280;
    --c-card:         #0f0f1e;
    --c-card-border:  #1f1f35;
    --c-input-bg:     #141428;
    --c-input-border: #2a2a42;
    --c-form:         #0f0f1e;
    --c-form-border:  #1f1f35;
    --c-info-bg:      #140608;
    --c-info-border:  #3d1114;
    --c-footer-muted: #4b5563;
    --c-divider:      #1f1f35;
    --shadow-sm:      0 1px 4px rgba(0,0,0,0.3), 0 4px 16px rgba(0,0,0,0.2);
    --shadow:         0 4px 24px rgba(0,0,0,0.35);
    --shadow-lg:      0 12px 40px rgba(0,0,0,0.45);
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    background: var(--c-bg);
    color: var(--c-text);
    font-family: var(--font-body);
    line-height: 1.7;
    transition: background var(--t), color var(--t);
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color var(--t); }
a:hover { color: var(--c-red); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
.section-pad { padding: 6rem 0; }
@media (max-width: 768px) { .section-pad { padding: 4rem 0; } }

.sec-white { background: var(--c-bg); }
.sec-alt   { background: var(--c-bg-alt); }
.sec-dark  { background: var(--c-dark); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
    font-family: var(--font-body);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--c-text);
}
.sec-dark h1, .sec-dark h2, .sec-dark h3, .sec-dark h4 { color: #fff; }
.hero-section h1 { color: #fff; }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--c-red);
    margin-bottom: 1rem;
}
.section-label::before { content: '//'; opacity: 0.5; }

.section-title { font-size: clamp(1.9rem, 3.5vw, 2.8rem); margin-bottom: 0.75rem; }
.section-sub { color: var(--c-text-soft); font-size: 1.05rem; max-width: 580px; line-height: 1.75; }
.sec-dark .section-sub { color: rgba(255,255,255,0.5); }
.sec-dark .section-label { color: #f87171; }

/* ============================================================
   HEADER & NAV
   ============================================================ */
#site-header {
    background: var(--c-nav);
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-h);
    z-index: 1000;
    border-bottom: 1px solid rgba(220,38,38,0.15);
    transition: box-shadow var(--t);
}
#site-header.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.4); }

#site-header nav {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* ── Terminal Logo ── */
.site-logo {
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
    text-decoration: none;
    gap: 0;
    flex-shrink: 0;
}

.logo-line1 {
    display: flex;
    align-items: center;
}

.logo-prompt {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--c-red);
    margin-right: 0.3em;
    flex-shrink: 0;
}

.logo-wordmark {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    letter-spacing: 0.02em;
}

.logo-cursor {
    display: inline-block;
    width: 0.5em;
    height: 0.95em;
    background: var(--c-red);
    margin-left: 0.1em;
    vertical-align: middle;
    border-radius: 1px;
    position: relative;
    top: -0.05em;
    flex-shrink: 0;
}

.logo-cursor.blink { animation: cur-blink 1s step-end infinite; }
@keyframes cur-blink { 0%,100%{opacity:1} 50%{opacity:0} }

.logo-line2 {
    font-family: var(--font-mono);
    font-weight: 400;
    font-size: 0.52rem;
    color: var(--c-red);
    opacity: 0.7;
    letter-spacing: 0.06em;
    padding-left: 1.5em;
    margin-top: 0.35em;
    min-height: 0.9em;
    display: flex;
    align-items: center;
}

/* Desktop nav links */
#desktop-nav { display: none; align-items: center; gap: 1.75rem; }
@media (min-width: 900px) {
    #desktop-nav { display: flex; }
    #mobile-controls { display: none !important; }
}
#desktop-nav a {
    font-family: var(--font-mono);
    color: #6b7280;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: color var(--t);
}
#desktop-nav a:hover { color: #fff; }

.theme-btn {
    background: transparent;
    border: 1px solid rgba(220,38,38,0.3);
    border-radius: 4px;
    color: #6b7280;
    padding: 0.35rem 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all var(--t);
    letter-spacing: 0.04em;
}
.theme-btn:hover { background: var(--c-red); border-color: var(--c-red); color: #fff; }

.nav-pill {
    background: var(--c-red);
    color: #fff;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    transition: background var(--t);
    white-space: nowrap;
}
.nav-pill:hover { background: var(--c-red-dark); color: #fff; }

/* Mobile */
#mobile-controls { display: flex; align-items: center; gap: 0.75rem; }
.icon-btn { background: none; border: none; color: #6b7280; font-size: 1.1rem; cursor: pointer; transition: color var(--t); line-height: 1; }
.icon-btn:hover { color: #fff; }

#mobile-menu {
    position: fixed;
    top: 0; right: 0;
    width: 18rem; height: 100%;
    background: #06060f;
    border-left: 1px solid rgba(220,38,38,0.12);
    padding: 1.5rem;
    z-index: 1200;
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(.4,0,.2,1);
    display: flex;
    flex-direction: column;
}
#mobile-menu.open { transform: translateX(0); }
#mob-close { background: none; border: none; color: #4b5563; font-size: 1.3rem; cursor: pointer; align-self: flex-end; margin-bottom: 2.5rem; transition: color var(--t); }
#mob-close:hover { color: #fff; }
#mobile-menu a {
    display: block; color: #6b7280;
    font-family: var(--font-mono); font-size: 0.85rem; font-weight: 700;
    padding: 0.85rem 0; border-bottom: 1px solid rgba(255,255,255,0.04);
    text-align: right; letter-spacing: 0.04em; transition: color var(--t);
}
#mobile-menu a:hover { color: #fff; }
.mob-cta { margin-top: auto; padding-top: 2rem; }
.mob-cta a {
    display: block; background: var(--c-red); color: #fff !important;
    text-align: center; padding: 0.85rem; border-radius: var(--radius-sm);
    font-weight: 700; border-bottom: none !important;
}

.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 1100; }
.nav-overlay.open { display: block; }

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
    background: linear-gradient(160deg, #0b0b14 0%, #120a1e 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 4.5rem) 1.5rem 5rem;
    position: relative;
    overflow: hidden;
}
/* Grid texture */
.hero-section::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(220,38,38,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(220,38,38,0.035) 1px, transparent 1px);
    background-size: 52px 52px;
    pointer-events: none;
}
/* Glow */
.hero-section::after {
    content: '';
    position: absolute; top: 5%; right: -20%;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(220,38,38,0.08) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 820px; }

/* Hero terminal window */
.hero-terminal {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(220,38,38,0.08);
    border: 1px solid rgba(220,38,38,0.2);
    border-radius: 6px;
    padding: 0.4rem 0.9rem;
    margin-bottom: 2rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: #f87171;
    letter-spacing: 0.06em;
}
.hero-terminal .dot { width: 6px; height: 6px; background: var(--c-red); border-radius: 50%; animation: cur-blink 2s ease-in-out infinite; }

.hero-h1 {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    color: #fff !important;
    line-height: 1.12;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.hero-h1 em { font-style: normal; color: var(--c-red); }

.hero-sub {
    font-size: clamp(0.97rem, 2vw, 1.12rem);
    color: rgba(255,255,255,0.55);
    max-width: 600px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 4rem; }

.hero-divider { border: none; border-top: 1px solid rgba(255,255,255,0.07); margin-bottom: 2rem; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 3rem; }
.stat-num {
    font-family: var(--font-mono);
    font-size: 2rem; font-weight: 700;
    color: #fff; line-height: 1;
}
.stat-num span { color: var(--c-red); }
.stat-label { font-size: 0.7rem; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.3rem; font-family: var(--font-mono); }

@media (max-width: 480px) {
    .hero-h1 { font-size: 2.2rem; line-height: 1.18; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-section { padding-top: calc(var(--header-h) + 2.5rem); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-family: var(--font-mono); font-weight: 700; font-size: 0.82rem;
    padding: 0.85rem 1.75rem; border-radius: var(--radius-sm);
    border: 2px solid transparent; cursor: pointer;
    transition: all var(--t); letter-spacing: 0.04em; line-height: 1; white-space: nowrap;
}
.btn-primary { background: var(--c-red); color: #fff; border-color: var(--c-red); box-shadow: 0 4px 16px var(--c-red-glow); }
.btn-primary:hover { background: var(--c-red-dark); border-color: var(--c-red-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 24px var(--c-red-glow); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.2); }
.btn-outline:hover { border-color: var(--c-red); color: var(--c-red); }
.btn-outline-red { background: transparent; color: var(--c-red); border-color: var(--c-red); }
.btn-outline-red:hover { background: var(--c-red); color: #fff; }
.btn-lg { padding: 1rem 2rem; font-size: 0.88rem; }
.btn-white { background: #fff; color: var(--c-red); border-color: #fff; }
.btn-white:hover { background: transparent; color: #fff; }

/* ============================================================
   SECTION LABEL (terminal style)
   ============================================================ */

/* ============================================================
   WHO WE ARE
   ============================================================ */
.who-grid { display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: start; }
@media (min-width: 768px) { .who-grid { grid-template-columns: 1fr 1fr; } }
.who-text p { color: var(--c-text-soft); font-size: 1rem; margin-bottom: 1.2rem; line-height: 1.8; }
.who-text p:last-child { margin-bottom: 0; }
.who-text strong { color: var(--c-text); font-weight: 700; }
.who-callout {
    background: var(--c-bg-alt);
    border-left: 3px solid var(--c-red);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 1.25rem 1.5rem;
    font-size: 0.97rem;
    font-style: italic;
    color: var(--c-text-soft);
    line-height: 1.75;
    margin-top: 1.5rem;
}

.who-badges { display: flex; flex-direction: column; gap: 1rem; }
.who-badge {
    background: var(--c-card);
    border: 1px solid var(--c-card-border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    display: flex; align-items: flex-start; gap: 1rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--t), transform var(--t), border-color var(--t);
}
.who-badge:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: rgba(220,38,38,0.2); }
.who-badge-icon {
    width: 40px; height: 40px; flex-shrink: 0;
    background: rgba(220,38,38,0.07);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: var(--c-red); font-size: 1rem;
}
.who-badge h4 { font-size: 0.9rem; margin-bottom: 0.2rem; font-weight: 700; }
.who-badge p  { font-size: 0.82rem; color: var(--c-text-soft); line-height: 1.6; }

/* ============================================================
   WHO WE WORK WITH
   ============================================================ */
.partners-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 3rem; }
@media (min-width: 640px) { .partners-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .partners-grid { grid-template-columns: repeat(3, 1fr); } }
.partner-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius);
    padding: 1.75rem;
    transition: border-color var(--t), background var(--t);
}
.partner-card:hover { border-color: rgba(220,38,38,0.35); background: rgba(220,38,38,0.04); }
.partner-card-icon { font-size: 1.75rem; color: var(--c-red); margin-bottom: 1rem; }
.partner-card h3 { color: #fff; font-size: 1rem; margin-bottom: 0.5rem; font-weight: 700; }
.partner-card p  { font-size: 0.85rem; color: rgba(255,255,255,0.45); line-height: 1.7; }
.partner-note {
    margin-top: 2rem;
    background: rgba(220,38,38,0.07);
    border: 1px solid rgba(220,38,38,0.18);
    border-radius: var(--radius);
    padding: 1.25rem 1.75rem;
    font-size: 0.9rem; color: rgba(255,255,255,0.7); line-height: 1.7; text-align: center;
}
.partner-note strong { color: #fff; }

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 3rem; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
    background: var(--c-card);
    border: 1px solid var(--c-card-border);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--t), transform var(--t), border-color var(--t);
    display: flex; flex-direction: column;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: rgba(220,38,38,0.25); }
.service-icon {
    width: 44px; height: 44px;
    background: rgba(220,38,38,0.07);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: var(--c-red); font-size: 1.1rem;
    margin-bottom: 1rem; flex-shrink: 0;
}
.service-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.6rem; line-height: 1.3; }
.service-card p  { font-size: 0.85rem; color: var(--c-text-soft); line-height: 1.75; flex: 1; }
.service-list { margin-top: 0.85rem; display: flex; flex-direction: column; gap: 0.35rem; }
.service-list li {
    font-size: 0.8rem; color: var(--c-text-soft);
    padding-left: 1rem; position: relative;
}
.service-list li::before {
    content: '';
    position: absolute; left: 0; top: 0.52em;
    width: 4px; height: 4px;
    background: var(--c-red); border-radius: 50%;
}
.service-tag {
    display: inline-flex; align-items: center; gap: 0.3rem;
    margin-top: 1rem; font-family: var(--font-mono);
    font-size: 0.62rem; font-weight: 700;
    letter-spacing: 0.06em; color: var(--c-red);
    align-self: flex-start;
}

/* ============================================================
   HOW WE WORK
   ============================================================ */
.work-modes { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 2.5rem; }
@media (min-width: 768px) { .work-modes { grid-template-columns: 1fr 1fr; } }
.work-mode {
    background: var(--c-card); border: 1px solid var(--c-card-border);
    border-radius: var(--radius); padding: 2rem;
    box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.work-mode::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--c-red); }
.work-mode h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.2rem; }
.work-mode .mode-tag { font-family: var(--font-mono); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em; color: var(--c-red); margin-bottom: 1rem; display: block; }
.work-mode ul { display: flex; flex-direction: column; gap: 0.55rem; }
.work-mode li { font-size: 0.88rem; color: var(--c-text-soft); padding-left: 1.1rem; position: relative; line-height: 1.6; }
.work-mode li::before { content: '→'; position: absolute; left: 0; color: var(--c-red); font-size: 0.75rem; }

.work-both {
    margin-top: 1.25rem;
    background: var(--c-bg-alt);
    border: 1px solid var(--c-card-border);
    border-radius: var(--radius); padding: 1.5rem 1.75rem;
}
.work-both h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.85rem; }
.work-both ul { display: flex; flex-wrap: wrap; gap: 0.5rem 2.5rem; }
.work-both li { font-size: 0.85rem; color: var(--c-text-soft); padding-left: 1.1rem; position: relative; }
.work-both li::before { content: '✓'; position: absolute; left: 0; color: var(--c-red); font-weight: 700; font-size: 0.8rem; }

/* ============================================================
   PROCESS
   ============================================================ */
.process-steps { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 3.5rem; }
@media (min-width: 768px) { .process-steps { grid-template-columns: repeat(4, 1fr); gap: 0; } }
.process-step { padding: 0 1.25rem 2rem; position: relative; text-align: center; }
@media (min-width: 768px) {
    .process-step:not(:last-child)::after {
        content: '';
        position: absolute; top: 26px; left: 58%; right: -12%;
        height: 1px;
        background: linear-gradient(90deg, rgba(220,38,38,0.45), rgba(220,38,38,0.08));
    }
}
.step-num {
    width: 52px; height: 52px;
    background: var(--c-red); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-mono); font-size: 1.1rem; font-weight: 700;
    color: #fff; margin: 0 auto 1.25rem;
    position: relative; z-index: 1;
    box-shadow: 0 0 0 6px rgba(220,38,38,0.1);
}
.process-step h3 { color: #fff; font-size: 0.95rem; margin-bottom: 0.5rem; font-weight: 700; }
.process-step p  { font-size: 0.83rem; color: rgba(255,255,255,0.45); line-height: 1.7; }

/* ============================================================
   WHY US
   ============================================================ */
.why-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 3rem; }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-card {
    background: var(--c-card); border: 1px solid var(--c-card-border);
    border-radius: var(--radius); padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--t), transform var(--t), border-color var(--t);
}
.why-card:hover { border-color: rgba(220,38,38,0.25); box-shadow: var(--shadow); transform: translateY(-2px); }
.why-icon {
    width: 42px; height: 42px;
    background: rgba(220,38,38,0.07);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: var(--c-red); font-size: 1rem; margin-bottom: 1rem;
}
.why-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.4rem; }
.why-card p  { font-size: 0.85rem; color: var(--c-text-soft); line-height: 1.7; }

/* ============================================================
   CHARITIES
   ============================================================ */
.charity-inner { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 768px) { .charity-inner { grid-template-columns: 1fr 1fr; } }
.charity-text p { font-size: 1rem; color: var(--c-text-soft); line-height: 1.8; margin-bottom: 1.2rem; }
.charity-items { display: flex; flex-direction: column; gap: 0.85rem; margin-top: 0.5rem; }
.charity-item { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.88rem; color: var(--c-text-soft); line-height: 1.6; }
.charity-item i { color: var(--c-red); margin-top: 0.15rem; flex-shrink: 0; }
.charity-visual {
    background: var(--c-bg-alt);
    border: 1px solid var(--c-card-border);
    border-radius: var(--radius-lg); padding: 2.5rem; text-align: center;
}
.charity-visual-icon { font-size: 3.5rem; color: var(--c-red); margin-bottom: 1.25rem; opacity: 0.8; }
.charity-visual h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.charity-visual p  { font-size: 0.88rem; color: var(--c-text-soft); line-height: 1.7; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-inner { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 768px) { .about-inner { grid-template-columns: 2fr 1fr; } }
.about-text p { font-size: 1rem; color: var(--c-text-soft); line-height: 1.85; margin-bottom: 1.2rem; }
.about-text strong { color: var(--c-text); }
.founder-card {
    background: var(--c-card); border: 1px solid var(--c-card-border);
    border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); text-align: center;
}
@media (min-width: 768px) { .founder-card { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.founder-avatar {
    width: 72px; height: 72px;
    background: rgba(220,38,38,0.08);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.75rem; color: var(--c-red);
    margin: 0 auto 1.25rem;
}
.founder-card h4 { font-size: 0.95rem; margin-bottom: 0.2rem; font-weight: 700; }
.founder-role { font-family: var(--font-mono); font-size: 0.65rem; color: var(--c-red); font-weight: 700; letter-spacing: 0.08em; margin-bottom: 0.75rem; display: block; }
.founder-location { font-size: 0.82rem; color: var(--c-text-soft); display: flex; align-items: center; justify-content: center; gap: 0.35rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-top: 3rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 3fr 2fr; } }
.contact-form-wrap {
    background: var(--c-form); border: 1px solid var(--c-form-border);
    border-radius: var(--radius-lg); padding: 2.25rem; box-shadow: var(--shadow);
}
.contact-form-wrap h3 { font-size: 1.4rem; margin-bottom: 0.35rem; }
.form-sub { font-size: 0.85rem; color: var(--c-text-soft); margin-bottom: 1.75rem; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group.full { grid-column: 1 / -1; }
label { font-size: 0.8rem; font-weight: 600; color: var(--c-text); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
    width: 100%; background: var(--c-input-bg); border: 1px solid var(--c-input-border);
    border-radius: var(--radius-sm); padding: 0.72rem 0.95rem;
    font-family: var(--font-body); font-size: 0.88rem; color: var(--c-text);
    transition: border-color var(--t), box-shadow var(--t); outline: none; appearance: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--c-red); box-shadow: 0 0 0 3px rgba(220,38,38,0.1); }
textarea { resize: vertical; min-height: 120px; }
.submit-btn { width: 100%; padding: 0.9rem; margin-top: 0.5rem; font-size: 0.88rem; border: none; }
.submit-btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none !important; }
#form-status { margin-top: 0.85rem; padding: 0.8rem 1rem; border-radius: var(--radius-sm); font-size: 0.85rem; font-weight: 600; display: none; }
#form-status.success { background: rgba(22,163,74,0.08); color: #15803d; border: 1px solid rgba(22,163,74,0.2); display: block; }
#form-status.error   { background: rgba(220,38,38,0.07); color: var(--c-red); border: 1px solid rgba(220,38,38,0.2); display: block; }

.contact-info-wrap { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-info-card {
    background: var(--c-info-bg); border: 1px solid var(--c-info-border);
    border-radius: var(--radius); padding: 1.75rem;
}
html[data-theme='dark'] .contact-info-card { background: rgba(220,38,38,0.04); border-color: rgba(220,38,38,0.12); }
.contact-info-card h4 { font-size: 0.95rem; margin-bottom: 1rem; font-weight: 700; }
.info-item { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.85rem; font-size: 0.85rem; color: var(--c-text-soft); line-height: 1.6; }
.info-item:last-child { margin-bottom: 0; }
.info-item i { color: var(--c-red); margin-top: 0.15rem; flex-shrink: 0; }
.info-item a { color: var(--c-text-soft); }
.info-item a:hover { color: var(--c-red); }

.contact-promise { background: var(--c-card); border: 1px solid var(--c-card-border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.contact-promise h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.85rem; }
.promise-items { display: flex; flex-direction: column; gap: 0.5rem; }
.promise-items li { font-size: 0.83rem; color: var(--c-text-soft); padding-left: 1.1rem; position: relative; line-height: 1.6; }
.promise-items li::before { content: '✓'; position: absolute; left: 0; color: var(--c-red); font-weight: 700; font-size: 0.78rem; }

.social-links { display: flex; gap: 0.6rem; margin-top: 1.1rem; }
.social-link {
    width: 36px; height: 36px;
    background: var(--c-bg-alt); border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: var(--c-text-soft); font-size: 0.9rem;
    transition: all var(--t); border: 1px solid var(--c-card-border);
}
.social-link:hover { background: var(--c-red); color: #fff; border-color: var(--c-red); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
    background: linear-gradient(135deg, var(--c-red) 0%, var(--c-red-dark) 100%);
    padding: 5rem 1.5rem; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
    content: ''; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 36px 36px;
}
.cta-banner-inner { position: relative; z-index: 1; }
.cta-banner h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); color: #fff; margin-bottom: 0.75rem; }
.cta-banner p  { color: rgba(255,255,255,0.7); font-size: 1rem; max-width: 520px; margin: 0 auto 2rem; line-height: 1.7; }
.cta-actions   { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ============================================================
   BLOG TEASER
   ============================================================ */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}
@media (min-width: 768px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.blog-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: border-color var(--t), transform var(--t);
}
.blog-card:hover { border-color: rgba(220,38,38,0.4); transform: translateY(-3px); }

.blog-card-icon {
    width: 2.5rem; height: 2.5rem;
    background: rgba(220,38,38,0.12);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--c-red);
    font-size: 1.1rem;
    flex-shrink: 0;
}
.blog-tag {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-red);
}
.blog-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    margin: 0;
}
.blog-card p {
    font-size: 0.83rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    flex: 1;
    margin: 0;
}
.blog-read-more {
    font-size: 0.8rem;
    color: var(--c-red);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
    transition: gap var(--t);
}
.blog-read-more:hover { gap: 0.7rem; }
.blog-cta { margin-top: 3rem; text-align: center; }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer { background: #050510; border-top: 1px solid rgba(220,38,38,0.1); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand p { font-size: 0.83rem; color: var(--c-footer-muted); line-height: 1.75; margin-top: 1rem; max-width: 260px; }
.footer-col h5 { font-family: var(--font-mono); font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #fff; margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul li a { font-size: 0.83rem; color: var(--c-footer-muted); transition: color var(--t); }
.footer-col ul li a:hover { color: var(--c-red); }
.footer-bottom { padding-top: 2rem; display: flex; flex-direction: column; gap: 0.4rem; align-items: center; text-align: center; }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer-bottom p, .footer-bottom a { font-size: 0.75rem; color: var(--c-footer-muted); }
.footer-bottom a:hover { color: var(--c-red); }

/* ============================================================
   ADMIN BAR & WP
   ============================================================ */
.admin-bar #site-header { top: 32px; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .logo-cursor { animation: none !important; }
    * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
