/* =============================================
   TeleGent — Main Stylesheet
   Mobile-first, CSS custom properties
   ============================================= */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary:        #2563eb;
    --primary-hover:  #1d4ed8;
    --primary-light:  #dbeafe;
    --secondary:      #7c3aed;
    --secondary-light:#ede9fe;
    --accent:         #059669;
    --text:           #1f2937;
    --text-muted:     #6b7280;
    --bg:             #ffffff;
    --bg-alt:         #f9fafb;
    --bg-dark:        #111827;
    --border:         #e5e7eb;
    --border-radius:  0.75rem;
    --shadow:         0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md:      0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
    --shadow-lg:      0 10px 15px rgba(0,0,0,.07), 0 4px 6px rgba(0,0,0,.05);
    --transition:     .2s ease;
    --container:      1200px;
}

html { scroll-behavior: smooth; }

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-hover); }
ul  { list-style: none; }
h1,h2,h3,h4 { line-height: 1.25; font-weight: 700; }

/* ---------- Container ---------- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1rem;
}
@media (min-width: 640px)  { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: .75rem 1.5rem;
    background: var(--primary);
    color: #fff !important;
    border-radius: .5rem;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: .95rem;
    font-weight: 600;
    text-align: center;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    text-decoration: none;
}
.btn:hover   { background: var(--primary-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active  { transform: translateY(0); }

.btn-sm      { padding: .5rem 1rem; font-size: .875rem; }
.btn-lg      { padding: 1rem 2rem;  font-size: 1.05rem; }
.btn-outline {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary) !important;
}
.btn-outline:hover { background: var(--primary-light); }
.btn-white {
    background: #fff;
    color: var(--primary) !important;
    border-color: #fff;
}
.btn-white:hover { background: var(--primary-light); }
.btn-secondary {
    background: var(--secondary);
    border-color: var(--secondary);
}
.btn-secondary:hover { background: #6d28d9; }

/* ---------- Cards ---------- */
.card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* ---------- Section ---------- */
.section { padding: 4rem 0; }
.section-alt { background: var(--bg-alt); }
.section-dark {
    background: var(--bg-dark);
    color: #f9fafb;
}
.section-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    margin-bottom: .75rem;
}
.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
}
.section-header { margin-bottom: 2.5rem; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }

/* ---------- Badge ---------- */
.badge {
    display: inline-block;
    padding: .25rem .75rem;
    border-radius: 9999px;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.badge-primary   { background: var(--primary-light);   color: var(--primary); }
.badge-secondary { background: var(--secondary-light); color: var(--secondary); }
.badge-green     { background: #d1fae5; color: #065f46; }

/* ---------- Grid helpers ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

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

/* =============================================
   HEADER
   ============================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    height: 64px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text) !important;
    white-space: nowrap;
    text-decoration: none;
}
.logo-icon { font-size: 1.5rem; }

/* Desktop nav */
.nav-main { flex: 1; }
.nav-main ul {
    display: none;
    gap: .25rem;
}
@media (min-width: 768px) {
    .nav-main ul { display: flex; }
}
.nav-main a {
    display: block;
    padding: .5rem .75rem;
    color: var(--text);
    border-radius: .375rem;
    font-weight: 500;
    transition: background var(--transition), color var(--transition);
}
.nav-main a:hover,
.nav-main a.active {
    background: var(--primary-light);
    color: var(--primary);
}

/* Header CTA */
.header-cta { display: none; white-space: nowrap; }
@media (min-width: 768px) { .header-cta { display: inline-block; } }

/* Hamburger */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
    padding: .5rem;
}
.hamburger span {
    display: block;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 768px) { .hamburger { display: none; } }

/* Mobile nav */
.nav-mobile {
    display: none;
    border-top: 1px solid var(--border);
    padding: 1rem 0;
}
.nav-mobile.open { display: block; }
.nav-mobile ul { padding: 0 1rem; display: flex; flex-direction: column; gap: .5rem; }
.nav-mobile a {
    display: block;
    padding: .625rem .75rem;
    color: var(--text);
    border-radius: .375rem;
    font-weight: 500;
}
.nav-mobile a:hover,
.nav-mobile a.active {
    background: var(--primary-light);
    color: var(--primary);
}
.nav-mobile .btn { width: 100%; text-align: center; }

/* =============================================
   HERO
   ============================================= */
.hero {
    padding: 5rem 0 4rem;
    background: linear-gradient(135deg, #1e3a8a 0%, #312e81 50%, #1e1b4b 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 768px) {
    .hero-inner { grid-template-columns: 1fr 1fr; }
}
.hero-label {
    display: inline-block;
    padding: .25rem .75rem;
    background: rgba(255,255,255,.15);
    border-radius: 9999px;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .05em;
    margin-bottom: 1rem;
    color: #bfdbfe;
}
.hero h1 {
    font-size: clamp(1.75rem, 4vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}
.hero h1 span { color: #93c5fd; }
.hero-sub {
    font-size: 1.05rem;
    color: #bfdbfe;
    margin-bottom: 2rem;
    max-width: 480px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-visual {
    display: none;
    justify-content: center;
}
@media (min-width: 768px) { .hero-visual { display: flex; } }
.hero-chat {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 1rem;
    padding: 1.5rem;
    width: 100%;
    max-width: 320px;
    backdrop-filter: blur(4px);
}
.chat-bubble {
    padding: .625rem 1rem;
    border-radius: .75rem;
    font-size: .875rem;
    margin-bottom: .5rem;
    max-width: 85%;
    line-height: 1.4;
}
.chat-bubble.bot  { background: rgba(255,255,255,.15); color: #f0f9ff; align-self: flex-start; }
.chat-bubble.user { background: var(--primary); color: #fff; margin-left: auto; border-radius: .75rem .75rem 0 .75rem; }
.chat-bubbles { display: flex; flex-direction: column; gap: .5rem; }
.chat-typing  { display: flex; gap: 4px; align-items: center; padding: .5rem 1rem; }
.chat-typing span {
    width: 6px; height: 6px;
    background: rgba(255,255,255,.5);
    border-radius: 50%;
    animation: typing .9s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: .2s; }
.chat-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typing {
    0%,60%,100% { transform: translateY(0); }
    30%         { transform: translateY(-6px); }
}

/* Hero stats */
.hero-stats { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 2.5rem; }
.hero-stat strong { display: block; font-size: 1.5rem; font-weight: 800; color: #93c5fd; }
.hero-stat span   { font-size: .8rem; color: #bfdbfe; }

/* =============================================
   ADVANTAGES
   ============================================= */
.advantage-card { text-align: center; }
.advantage-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.advantage-card h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.advantage-card p  { color: var(--text-muted); font-size: .9rem; }

/* =============================================
   SOLUTIONS PREVIEW
   ============================================= */
.solution-card { position: relative; overflow: hidden; }
.solution-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
}
.solution-card.assistants::before { background: linear-gradient(90deg, var(--primary), #60a5fa); }
.solution-card.agents::before     { background: linear-gradient(90deg, var(--secondary), #a78bfa); }
.solution-icon { font-size: 2rem; margin-bottom: .75rem; }
.solution-card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.solution-card p  { color: var(--text-muted); margin-bottom: 1rem; font-size: .9rem; }
.solution-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.solution-tag {
    padding: .2rem .6rem;
    background: var(--bg-alt);
    border-radius: .25rem;
    font-size: .78rem;
    color: var(--text-muted);
    border: 1px solid var(--border);
}

/* =============================================
   CASES
   ============================================= */
.case-card { display: flex; flex-direction: column; }
.case-img-wrap {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
}
.case-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.case-img-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem;
}
.case-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.case-niche { margin-bottom: .75rem; }
.case-card h3 { font-size: 1.05rem; margin-bottom: .625rem; }
.case-meta { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--border); }
.case-meta-item label { display: block; font-size: .72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .2rem; }
.case-meta-item span  { font-size: .875rem; font-weight: 600; color: var(--text); }
.case-result { color: var(--accent) !important; }

.cases-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
    font-size: 1.05rem;
}
.cases-empty span { font-size: 3rem; display: block; margin-bottom: 1rem; }

/* =============================================
   CTA BLOCK
   ============================================= */
.cta-block {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    text-align: center;
}
.cta-block h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 1rem; }
.cta-block p  { font-size: 1.05rem; opacity: .9; margin-bottom: 2rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-actions  { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* =============================================
   TRUST BLOCK
   ============================================= */
.trust-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }
.trust-item  {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: .95rem;
    color: var(--text-muted);
}
.trust-icon { font-size: 1.5rem; }

/* =============================================
   FORMS
   ============================================= */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 500; font-size: .9rem; margin-bottom: .375rem; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: .65rem .875rem;
    border: 1.5px solid var(--border);
    border-radius: .5rem;
    font-size: .95rem;
    font-family: inherit;
    color: var(--text);
    background: var(--bg);
    transition: border-color var(--transition), box-shadow var(--transition);
    appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group .field-error {
    display: block;
    color: #dc2626;
    font-size: .8rem;
    margin-top: .25rem;
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error { border-color: #dc2626; }

.form-note { font-size: .8rem; color: var(--text-muted); margin-top: .75rem; }
.form-note a { color: var(--primary); text-decoration: underline; }

#formResponse {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: .5rem;
    font-size: .9rem;
    display: none;
}
#formResponse.success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; display: block; }
#formResponse.error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; display: block; }

/* Honeypot */
.hp-field { display: none !important; }

/* =============================================
   CONTACTS PAGE
   ============================================= */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1.4fr; } }

.contact-info h2 { font-size: 1.5rem; margin-bottom: .75rem; }
.contact-info p  { color: var(--text-muted); margin-bottom: 1.5rem; }
.contact-items   { display: flex; flex-direction: column; gap: 1rem; }
.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-alt);
    border-radius: .5rem;
}
.contact-item-icon { font-size: 1.5rem; }
.contact-item-label { font-size: .78rem; color: var(--text-muted); margin-bottom: .2rem; }
.contact-item-value { font-weight: 600; }
.contact-item-value a { color: var(--text); }
.contact-item-value a:hover { color: var(--primary); }

/* =============================================
   SOLUTIONS PAGE
   ============================================= */
.solution-section { padding: 3rem 0; }
.solution-section + .solution-section { border-top: 1px solid var(--border); }

.solution-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .solution-layout { grid-template-columns: 1.2fr 1fr; } }
.solution-layout.reverse { direction: rtl; }
.solution-layout.reverse > * { direction: ltr; }

.solution-details h2 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); margin-bottom: .875rem; }
.solution-details p  { color: var(--text-muted); margin-bottom: 1.25rem; }

.feature-list { display: flex; flex-direction: column; gap: .625rem; margin-bottom: 1.5rem; }
.feature-item { display: flex; align-items: flex-start; gap: .75rem; font-size: .9rem; }
.feature-item::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; margin-top: .1rem; }

.audience-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.audience-chip {
    padding: .35rem .875rem;
    border-radius: 9999px;
    border: 1.5px solid var(--border);
    font-size: .82rem;
    color: var(--text-muted);
}

.solution-illustration {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
}
.solution-illustration .big-icon { font-size: 4rem; margin-bottom: 1rem; }
.solution-illustration h4 { font-size: 1rem; margin-bottom: 1rem; }

.flow-steps { text-align: left; }
.flow-step {
    display: flex;
    align-items: flex-start;
    gap: .875rem;
    padding: .75rem 0;
    border-bottom: 1px solid var(--border);
    font-size: .875rem;
}
.flow-step:last-child { border-bottom: none; }
.flow-step-num {
    width: 28px; height: 28px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .75rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Comparison table */
.comparison-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.comparison-table th { padding: .875rem 1rem; text-align: left; background: var(--bg-alt); border-bottom: 2px solid var(--border); font-size: .85rem; }
.comparison-table td { padding: .75rem 1rem; border-bottom: 1px solid var(--border); }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:nth-child(even) td { background: var(--bg-alt); }
.comparison-table .mark { color: var(--accent); font-weight: 600; }

/* =============================================
   ADMIN PANEL
   ============================================= */
.admin-body { background: #f1f5f9; min-height: 100vh; }
.admin-header {
    background: var(--bg-dark);
    color: #fff;
    padding: 0 2rem;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.admin-header .logo { color: #fff !important; }
.admin-header a { color: #94a3b8; font-size: .875rem; }
.admin-header a:hover { color: #fff; }

.admin-main { padding: 2rem; max-width: 1200px; margin: 0 auto; }
.admin-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--text); }

.stats-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.stat-card { background: #fff; border-radius: .75rem; padding: 1.25rem; border: 1px solid var(--border); }
.stat-card .stat-value { font-size: 1.75rem; font-weight: 800; color: var(--primary); }
.stat-card .stat-label { font-size: .8rem; color: var(--text-muted); margin-top: .25rem; }

.table-wrap { background: #fff; border-radius: .75rem; border: 1px solid var(--border); overflow: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.data-table th {
    padding: .875rem 1rem;
    text-align: left;
    background: var(--bg-alt);
    font-weight: 600;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}
.data-table td { padding: .75rem 1rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg-alt); }

.status-badge { display: inline-block; padding: .2rem .6rem; border-radius: .25rem; font-size: .75rem; font-weight: 600; }
.status-new       { background: #dbeafe; color: #1d4ed8; }
.status-contacted { background: #fef3c7; color: #92400e; }
.status-closed    { background: #d1fae5; color: #065f46; }

.filter-bar { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-bottom: 1.5rem; }
.filter-bar select { padding: .5rem .75rem; border: 1px solid var(--border); border-radius: .375rem; font-size: .875rem; }
.filter-bar label  { font-size: .875rem; font-weight: 500; }

/* Login form */
.login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-alt);
    padding: 1rem;
}
.login-box {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
}
.login-box h1 { font-size: 1.5rem; margin-bottom: .5rem; }
.login-box p  { color: var(--text-muted); margin-bottom: 2rem; font-size: .9rem; }
.login-error  { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; border-radius: .5rem; padding: .75rem 1rem; font-size: .875rem; margin-bottom: 1rem; }

/* =============================================
   PRIVACY PAGE
   ============================================= */
.privacy-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 3rem 0 4rem;
}
.privacy-content h1 { font-size: 1.75rem; margin-bottom: .5rem; }
.privacy-date { color: var(--text-muted); font-size: .875rem; margin-bottom: 2.5rem; }
.privacy-content h2 { font-size: 1.15rem; margin: 2rem 0 .75rem; }
.privacy-content p  { color: var(--text-muted); margin-bottom: .875rem; }
.privacy-content ul { padding-left: 1.5rem; list-style: disc; color: var(--text-muted); }
.privacy-content li { margin-bottom: .375rem; }

/* =============================================
   PAGE HERO (subpages)
   ============================================= */
.page-hero {
    padding: 3.5rem 0 2.5rem;
    background: linear-gradient(135deg, #1e3a8a, #312e81);
    color: #fff;
    text-align: center;
}
.page-hero h1 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: .75rem; }
.page-hero p  { color: #bfdbfe; font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
    background: var(--bg-dark);
    color: #9ca3af;
    padding-top: 3rem;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
}
@media (min-width: 640px) {
    .footer-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
    .footer-inner { grid-template-columns: 2fr 1fr 1fr; }
}
.footer-brand .logo { color: #f9fafb !important; margin-bottom: .75rem; }
.footer-tagline  { font-size: .875rem; max-width: 240px; }
.footer-nav h3,
.footer-contacts h3 { color: #f9fafb; font-size: .875rem; margin-bottom: .875rem; }
.footer-nav ul,
.footer-contacts ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-nav a,
.footer-contacts a { color: #9ca3af; font-size: .875rem; transition: color var(--transition); }
.footer-nav a:hover,
.footer-contacts a:hover { color: #f9fafb; }
.footer-contacts li { font-size: .875rem; }

.footer-bottom {
    border-top: 1px solid #1f2937;
    padding: 1.25rem 0;
}
.footer-bottom-inner {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    align-items: flex-start;
    font-size: .8rem;
    color: #6b7280;
}
@media (min-width: 640px) {
    .footer-bottom-inner { flex-direction: row; justify-content: space-between; align-items: center; }
}
.footer-legal  { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.separator     { color: #374151; }

/* =============================================
   UTILS
   ============================================= */
.text-center { text-align: center; }
.text-muted  { color: var(--text-muted); }
.mt-1  { margin-top: .5rem; }
.mt-2  { margin-top: 1rem; }
.mt-3  { margin-top: 1.5rem; }
.mt-4  { margin-top: 2rem; }
.mb-2  { margin-bottom: 1rem; }
.mb-3  { margin-bottom: 1.5rem; }
.gap-1 { gap: .5rem; }
.flex  { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.w-full { width: 100%; }
