/*
Theme Name: Human + AI for Humanity
Theme URI: https://humanai申lliance.org
Author: Human Hands & Antigravity AI
Author URI: https://humanai申lliance.org
Description: A custom, lightweight, AEO/GEO and SEO-optimized WordPress theme designed for global humanitarian impact through the synergy of Human Conscience and Artificial Intelligence.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: human-ai-humanity
Tags: humanitarian, ai, seo, aeo, geo, responsive, fast, accessibility-ready, custom-menu, featured-images
*/

/* ==========================================================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ========================================================================== */
:root {
  /* Brand Palette */
  --color-sacred-gold: #c59b27;
  --color-sacred-gold-light: #fdf8e6;
  --color-sacred-gold-hover: #b0871d;
  --color-primary: #0f172a;       /* Deep Slate / Wisdom */
  --color-primary-light: #1e293b;
  --color-accent: #0284c7;        /* Compassionate Sky Blue */
  --color-accent-hover: #0369a1;
  --color-emerald: #059669;       /* Hope & Renewal */
  --color-emerald-light: #ecfdf5;
  --color-text-main: #1e293b;
  --color-text-muted: #64748b;
  --color-bg-light: #f8fafc;
  --color-bg-white: #ffffff;
  --color-border: #e2e8f0;
  --color-border-focus: #0284c7;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-arabic: "Amiri", "Traditional Arabic", "Scheherazade New", "Noto Naskh Arabic", Tahoma, serif;
  --font-mono: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;

  /* Spacing & Layout */
  --container-max: 1240px;
  --container-narrow: 840px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --transition-fast: 0.2s ease-in-out;
}

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-main);
  background-color: var(--color-bg-light);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover, a:focus {
  color: var(--color-accent-hover);
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1.25rem;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.skip-link {
  position: absolute;
  top: -9999px;
  left: 1rem;
  background: var(--color-sacred-gold);
  color: #000;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  z-index: 10000;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 1rem;
}

/* ==========================================================================
   1. SACRED TOP BANNER (BILINGUAL ARABIC & ENGLISH)
   ========================================================================== */
.sacred-topbar {
  background: linear-gradient(135deg, #0b1120 0%, #1e1b4b 100%);
  color: #f8fafc;
  border-bottom: 2px solid var(--color-sacred-gold);
  padding: 0.75rem 1rem;
  text-align: center;
  position: relative;
  z-index: 999;
}

.sacred-topbar-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.sacred-arabic {
  font-family: var(--font-arabic);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-sacred-gold);
  letter-spacing: 0.05em;
  line-height: 1.3;
}

.sacred-english {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  font-weight: 600;
  text-transform: uppercase;
  color: #e2e8f0;
  opacity: 0.95;
}

@media (min-width: 768px) {
  .sacred-topbar-inner {
    flex-direction: row;
    gap: 1.5rem;
  }
  .sacred-divider {
    display: inline-block;
    color: var(--color-sacred-gold);
    opacity: 0.6;
  }
}

@media (max-width: 767px) {
  .sacred-divider {
    display: none;
  }
}

/* ==========================================================================
   2. MAIN SITE HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  background: var(--color-bg-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: var(--shadow-sm);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

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

.site-logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--color-sacred-gold) 0%, #0284c7 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.25rem;
}

.site-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
}

.site-title span {
  color: var(--color-accent);
}

.site-tagline {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.primary-navigation ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.primary-navigation a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary-light);
  text-decoration: none;
  padding: 0.4rem 0.2rem;
  position: relative;
}

.primary-navigation a:hover,
.primary-navigation a:focus {
  color: var(--color-accent);
}

.btn-header-cta {
  background: var(--color-sacred-gold);
  color: #0b1120 !important;
  font-weight: 700 !important;
  padding: 0.6rem 1.25rem !important;
  border-radius: 999px;
  border: 1px solid var(--color-sacred-gold-hover);
  transition: all var(--transition-fast) !important;
}

.btn-header-cta:hover {
  background: var(--color-sacred-gold-hover);
  color: #ffffff !important;
  text-decoration: none !important;
  transform: translateY(-1px);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--color-primary);
  cursor: pointer;
}

@media (max-width: 900px) {
  .mobile-nav-toggle {
    display: block;
  }
  .primary-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg-white);
    border-bottom: 1px solid var(--color-border);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
  }
  .primary-navigation.is-open {
    display: block;
  }
  .primary-navigation ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* ==========================================================================
   3. HERO SECTION (HIGH CONVERSION & AEO RELEVANCE)
   ========================================================================== */
.hero-section {
  padding: 4.5rem 0 3.5rem;
  background: radial-gradient(circle at top right, #f1f5f9 0%, #ffffff 100%);
  border-bottom: 1px solid var(--color-border);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-sacred-gold-light);
  color: #855d0a;
  border: 1px solid rgba(197, 155, 39, 0.3);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: #0b1120;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #0284c7 0%, var(--color-emerald) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  max-width: 780px;
  margin-bottom: 2rem;
  line-height: 1.6;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

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

.btn-primary:hover {
  background: var(--color-primary-light);
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: var(--color-sacred-gold);
  color: #0b1120;
}

.btn-accent:hover {
  background: var(--color-sacred-gold-hover);
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-bg-white);
  border-color: var(--color-accent);
  color: var(--color-accent);
  text-decoration: none;
}

.btn-white {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #ffffff !important;
  font-weight: 800 !important;
}

.btn-white:hover {
  background: #f8fafc !important;
  color: var(--color-accent) !important;
  text-decoration: none !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   4. AEO DIRECT ANSWER / EXECUTIVE SUMMARY COMPONENT (SLEEK & MOBILE-FIRST)
   ========================================================================== */
.aeo-answer-block {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  box-shadow: 0 4px 16px -2px rgba(11, 17, 32, 0.05);
  margin: 2rem 0;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-left: 4.5px solid var(--color-sacred-gold);
  position: relative;
  transition: box-shadow var(--transition-fast);
}

.aeo-answer-block:hover {
  box-shadow: 0 8px 24px -4px rgba(11, 17, 32, 0.09);
}

.aeo-answer-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.85rem;
}

.aeo-badge {
  display: inline-flex;
  align-items: center;
  background: var(--color-sacred-gold-light);
  color: #855d0a;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(197, 155, 39, 0.25);
  white-space: nowrap;
  line-height: 1.2;
}

.aeo-topic {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.35;
}

.aeo-answer-text {
  font-size: 1.08rem;
  font-weight: 450;
  line-height: 1.68;
  color: #1e293b;
  margin-bottom: 0;
}

.aeo-key-points {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--color-border);
}

.aeo-key-points li {
  font-size: 0.92rem;
  color: var(--color-text-main);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.5;
}

.aeo-key-points li::before {
  content: "✔";
  color: var(--color-emerald);
  font-weight: bold;
}

/* ==========================================================================
   5. IMPACT PILLARS & SOLUTIONS CARDS (WHERE PEOPLE NEED HELP)
   ========================================================================== */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background-color: #f1f5f9;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-tag {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-primary);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.pillar-card {
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(2, 132, 199, 0.3);
}

.pillar-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
}

.pillar-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.pillar-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  flex-grow: 1;
}

.pillar-action {
  margin-top: 1.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ==========================================================================
   6. HOW WE WORK: HUMAN HANDS + AI MINDS
   ========================================================================== */
.synergy-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.step-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: var(--radius-md);
  border-top: 4px solid var(--color-primary);
  border: 1px solid var(--color-border);
  border-top-width: 4px;
  position: relative;
}

.step-card.gold-border {
  border-top-color: var(--color-sacred-gold);
}

.step-card.blue-border {
  border-top-color: var(--color-accent);
}

.step-card.green-border {
  border-top-color: var(--color-emerald);
}

.step-number {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-text-muted);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.step-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   7. AEO ACCORDION FAQS
   ========================================================================== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.is-active {
  border-color: var(--color-accent);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-question:hover {
  background-color: var(--color-bg-light);
}

.faq-chevron {
  font-size: 1.25rem;
  transition: transform var(--transition-fast);
  color: var(--color-accent);
}

.faq-item.is-active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.5rem;
  color: var(--color-text-main);
  font-size: 1rem;
  line-height: 1.7;
}

.faq-item.is-active .faq-answer {
  display: block;
}

/* ==========================================================================
   8. FOOTER (HIGH ENTITY & AUTHORITATIVE)
   ========================================================================== */
.site-footer {
  background: #090e17;
  color: #cbd5e1;
  padding-top: 4.5rem;
  padding-bottom: 2rem;
  margin-top: auto;
  border-top: 1px solid #1e293b;
}

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

.footer-col h5 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-col p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.65rem;
}

.footer-col a {
  color: #94a3b8;
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--color-sacred-gold);
  text-decoration: none;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #1e293b;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: #64748b;
}

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

/* ==========================================================================
   9. NATIVE VOICE LEAD CONCIERGE (100% FREE & SECURE)
   ========================================================================== */
.voice-assistant-wrapper {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
}

/* Floating Action Button */
.voice-assistant-fab {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #0b1120 0%, #1e293b 100%);
  color: #ffffff;
  border: 2px solid var(--color-sacred-gold);
  border-radius: 999px;
  padding: 0.75rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 0 15px rgba(197, 155, 39, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.voice-assistant-fab:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), 0 0 25px rgba(197, 155, 39, 0.6);
  border-color: #f1d37b;
}

.voice-fab-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.voice-fab-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--color-emerald);
  border-radius: 50%;
  animation: fabPulse 2s infinite;
}

@keyframes fabPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(5, 150, 105, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}

/* Floating Panel */
.voice-assistant-panel {
  display: none;
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 380px;
  max-width: calc(100vw - 32px);
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  animation: panelSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.voice-assistant-panel.is-open {
  display: block;
}

@keyframes panelSlideUp {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Panel Header */
.voice-panel-header {
  background: linear-gradient(135deg, #0b1120 0%, #1e1b4b 100%);
  color: #ffffff;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--color-sacred-gold);
}

.voice-panel-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.voice-avatar-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-sacred-gold);
  color: #0b1120;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.voice-panel-title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
}

.voice-panel-subtitle {
  font-size: 0.75rem;
  color: #cbd5e1;
}

.voice-close-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
}

.voice-close-btn:hover {
  color: #ffffff;
}

/* Panel Body */
.voice-panel-body {
  padding: 1.25rem;
  max-height: 520px;
  overflow-y: auto;
}

/* Waveform Visualizer */
.voice-waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 24px;
  margin-bottom: 0.75rem;
}

.wave-bar {
  width: 4px;
  height: 6px;
  background-color: var(--color-border);
  border-radius: 999px;
  transition: all 0.2s ease;
}

.voice-waveform.is-active .wave-bar {
  background-color: var(--color-sacred-gold);
  animation: waveDance 1.2s infinite ease-in-out;
}

.voice-waveform.is-active .wave-bar:nth-child(2) { animation-delay: 0.15s; }
.voice-waveform.is-active .wave-bar:nth-child(3) { animation-delay: 0.3s; }
.voice-waveform.is-active .wave-bar:nth-child(4) { animation-delay: 0.45s; }
.voice-waveform.is-active .wave-bar:nth-child(5) { animation-delay: 0.6s; }

@keyframes waveDance {
  0%, 100% { height: 6px; }
  50% { height: 22px; background-color: var(--color-accent); }
}

.voice-status-box {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  font-size: 0.85rem;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 0.85rem;
  line-height: 1.4;
  font-weight: 500;
}

/* Quick Service Pills */
.voice-service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.voice-service-btn {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
  cursor: pointer;
  transition: all 0.15s ease;
}

.voice-service-btn:hover {
  background: var(--color-sacred-gold-light);
  border-color: var(--color-sacred-gold);
  color: #855d0a;
}

/* Mic Controls */
.voice-mic-controls {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.voice-mic-trigger {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.65rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.voice-mic-trigger:hover {
  background: #f1f5f9;
  border-color: var(--color-accent);
}

.voice-mic-trigger.is-recording {
  background: #fee2e2;
  border-color: #ef4444;
  color: #ef4444;
  animation: recBlink 1s infinite alternate;
}

@keyframes recBlink {
  from { opacity: 1; }
  to { opacity: 0.7; }
}

.voice-stop-trigger {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text-muted);
  cursor: pointer;
}

.voice-stop-trigger:hover {
  background: #f1f5f9;
  color: var(--color-primary);
}

.voice-divider {
  text-align: center;
  position: relative;
  margin: 1.1rem 0;
}

.voice-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-border);
}

.voice-divider span {
  position: relative;
  background: #ffffff;
  padding: 0 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Lead Form */
.voice-lead-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.voice-input,
.voice-select,
.voice-textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  background: #ffffff;
}

.voice-input:focus,
.voice-select:focus,
.voice-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.15);
}

.voice-submit-btn {
  width: 100%;
  padding: 0.75rem;
  font-size: 0.95rem;
  font-weight: 800;
  background: var(--color-sacred-gold);
  color: #0b1120;
  border: 1px solid var(--color-sacred-gold-hover);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 0.25rem;
}

.voice-submit-btn:hover {
  background: var(--color-sacred-gold-hover);
  color: #ffffff;
}

.voice-privacy-note {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 0.25rem;
}

.voice-success-box {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--color-emerald-light);
  border: 1px solid rgba(5, 150, 105, 0.25);
  border-radius: var(--radius-md);
}

/* ==========================================================================
   10. MOBILE-FIRST RESPONSIVE OPTIMIZATIONS (GOOGLE CORE SIGNALS)
   ========================================================================== */
@media (max-width: 767px) {
  /* Prevent horizontal overflow on small devices */
  html, body {
    overflow-x: hidden;
  }

  /* Compact Container Padding */
  .container,
  .container-narrow {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  /* Section Rhythm */
  .section {
    padding: 2.75rem 0;
  }

  .section-header {
    margin: 0 auto 1.75rem;
    text-align: left;
  }

  .section-tag {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    margin-bottom: 0.35rem;
  }

  .section-title {
    font-size: clamp(1.5rem, 5.5vw, 1.85rem);
    line-height: 1.25;
    letter-spacing: -0.01em;
  }

  .section-desc {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  /* Sacred Topbar Mobile Optimization */
  .sacred-topbar {
    padding: 0.5rem 0.75rem;
  }

  .sacred-topbar-inner {
    gap: 0.25rem;
  }

  .sacred-arabic {
    font-size: 1.1rem;
    line-height: 1.3;
  }

  .sacred-english {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    line-height: 1.3;
  }

  /* Site Header & Navigation */
  .site-header-inner {
    padding: 0.75rem 0;
  }

  .site-title {
    font-size: 1.15rem;
  }

  .site-tagline {
    display: none; /* Hide tagline on mobile for a clean, sleek top bar */
  }

  .mobile-nav-toggle {
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Hero Section */
  .hero-section {
    padding: 2.25rem 0 1.75rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    margin-bottom: 1rem;
  }

  .hero-title {
    font-size: clamp(1.75rem, 6vw, 2.25rem);
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .hero-desc {
    font-size: 0.98rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-ctas .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    min-height: 48px; /* Google recommended touch target */
    font-size: 0.95rem;
  }

  /* Sleek AEO Direct Answer Block on Mobile */
  .aeo-answer-block {
    padding: 1.15rem 1rem;
    margin: 1.35rem 0;
    border-left-width: 3.5px;
    border-radius: var(--radius-sm);
  }

  .aeo-answer-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    margin-bottom: 0.65rem;
  }

  .aeo-badge {
    font-size: 0.68rem;
    padding: 0.2rem 0.55rem;
    letter-spacing: 0.04em;
  }

  .aeo-topic {
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.35;
  }

  .aeo-answer-text {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #334155;
  }

  .aeo-key-points {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
  }

  .aeo-key-points li {
    font-size: 0.85rem;
    line-height: 1.45;
  }

  /* Cards & Grid */
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .pillar-card {
    padding: 1.35rem 1.15rem;
    border-radius: var(--radius-md);
  }

  .pillar-icon {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }

  .pillar-card h3 {
    font-size: 1.18rem;
    margin-bottom: 0.5rem;
  }

  .pillar-card p {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .pillar-action {
    margin-top: 1.1rem;
    font-size: 0.85rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  /* Synergy Steps */
  .synergy-flow {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .step-card {
    padding: 1.25rem 1.15rem;
  }

  .step-card h4 {
    font-size: 1.08rem;
  }

  .step-card p {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  /* Fast Assist Help Banner */
  #help-directory div[style*="background: linear-gradient"] {
    padding: 1.35rem 1.15rem !important;
    border-radius: var(--radius-md) !important;
  }

  #help-directory div[style*="background: linear-gradient"] a.btn {
    width: 100%;
    text-align: center;
  }

  /* FAQ Accordion */
  .faq-question {
    padding: 0.95rem 1.1rem;
    font-size: 0.95rem;
    min-height: 48px;
  }

  .faq-answer {
    padding: 0 1.1rem 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
  }

  /* Footer */
  .site-footer {
    padding-top: 3rem;
    padding-bottom: 1.75rem;
  }

  .footer-col h5 {
    font-size: 0.92rem;
    margin-bottom: 0.85rem;
  }

  .footer-col p,
  .footer-col a {
    font-size: 0.88rem;
  }

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

  /* Form Elements: Prevent iOS Auto-Zoom */
  input, select, textarea,
  .voice-input, .voice-select, .voice-textarea {
    font-size: 16px !important; /* Prevents auto-zoom on iOS Safari */
  }

  /* Single Blueprint Page on Mobile */
  article header h1 {
    font-size: clamp(1.5rem, 5.5vw, 1.95rem) !important;
    line-height: 1.25 !important;
  }

  .author-box {
    padding: 1.25rem 1rem !important;
    gap: 1rem !important;
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .author-box > div:first-child {
    margin: 0 auto;
  }

  /* Voice Concierge Widget Mobile */
  .voice-assistant-wrapper {
    bottom: 16px;
    right: 16px;
  }

  .voice-assistant-fab {
    padding: 0.55rem 0.95rem;
    font-size: 0.82rem;
    min-height: 44px;
  }

  .voice-assistant-panel {
    bottom: 62px;
    right: 0;
    width: calc(100vw - 32px);
    max-height: 82vh;
  }

  .voice-panel-body {
    padding: 1rem;
    max-height: calc(82vh - 65px);
  }

  .voice-mic-trigger,
  .voice-submit-btn {
    min-height: 48px;
  }
}

