/* ==========================================================================
   MIDDLE EAST CONNECT & CULTURAL ADVISORS (M.E.C.C.A.)
   Ultra-Clean, Neater, Luxury Design System
   ========================================================================== */

:root {
  /* Core Brand Colors */
  --brand-terracotta: #8B2C10;       /* Rich warm sienna / terracotta */
  --brand-terracotta-hover: #A33514;
  --brand-terracotta-light: rgba(139, 44, 16, 0.08);
  --brand-terracotta-glow: rgba(139, 44, 16, 0.2);

  --brand-gold: #C69234;             /* Desert Gold / Gulf Brass */
  --brand-gold-hover: #DBA747;
  --brand-gold-light: rgba(198, 146, 52, 0.1);
  --brand-gold-border: rgba(198, 146, 52, 0.35);

  /* Light Theme (Clean, Warm Sand & Ivory) */
  --bg-page: #FAF8F5;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-subtle: #F5EFEB;
  --bg-alt: #F2ECE4;
  --bg-header: rgba(250, 248, 245, 0.94);
  --bg-topbar: #121824;

  --text-primary: #151C26;
  --text-secondary: #475467;
  --text-muted: #667085;
  --text-light: #FFFFFF;

  --border-subtle: #EBE5DC;
  --border-medium: #D8CEBE;
  --border-focus: var(--brand-terracotta);

  --shadow-xs: 0 1px 3px rgba(16, 24, 40, 0.05);
  --shadow-sm: 0 2px 8px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 8px 24px -4px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 16px 40px -8px rgba(16, 24, 40, 0.12);
  --shadow-gold: 0 8px 24px rgba(198, 146, 52, 0.2);

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-arabic: 'Amiri', serif;

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.45s cubic-bezier(0.16, 1, 0.3, 1);

  --container-width: 1200px;
}

/* Dark Theme (Midnight Obsidian & Gold) */
[data-theme="dark"] {
  --bg-page: #0C1017;
  --bg-surface: #121822;
  --bg-surface-elevated: #18202D;
  --bg-card: #141B26;
  --bg-subtle: #192230;
  --bg-alt: #0E141D;
  --bg-header: rgba(12, 16, 23, 0.94);
  --bg-topbar: #070B10;

  --text-primary: #F3F5F8;
  --text-secondary: #B0BCCF;
  --text-muted: #7B8BA3;

  --border-subtle: #1F2A3B;
  --border-medium: #2C3C54;
  --border-focus: var(--brand-gold);

  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.7);
  --shadow-gold: 0 8px 24px rgba(198, 146, 52, 0.15);
}

/* ==========================================================================
   RESET & FOUNDATIONS
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  -webkit-font-smoothing: antialiased;
}

img, svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}

button {
  cursor: pointer;
  background: none;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--text-primary);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.015em;
}

/* ==========================================================================
   CONTAINER & SECTION UTILITIES
   ========================================================================== */

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

.section {
  padding: 88px 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-alt);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 52px auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: var(--brand-terracotta-light);
  color: var(--brand-terracotta);
  border: 1px solid rgba(139, 44, 16, 0.16);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

[data-theme="dark"] .section-tag {
  background: var(--brand-gold-light);
  color: var(--brand-gold);
  border-color: var(--brand-gold-border);
}

.section-title {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   BUTTONS & MICRO-COMPONENTS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-terracotta) 0%, #9E3314 100%);
  color: #FFFFFF !important;
  box-shadow: 0 2px 10px var(--brand-terracotta-glow);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #9C3213 0%, #B33D19 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--brand-terracotta-glow);
}

.btn-gold {
  background: linear-gradient(135deg, #B88528 0%, #D8A440 100%);
  color: #0E141E !important;
  font-weight: 700;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #C79332 0%, #E6B552 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(198, 146, 52, 0.35);
}

.btn-outline {
  border: 1.5px solid var(--border-medium);
  color: var(--text-primary);
  background: var(--bg-surface);
}

.btn-outline:hover {
  border-color: var(--brand-terracotta);
  color: var(--brand-terracotta);
  background: var(--brand-terracotta-light);
  transform: translateY(-1px);
}

[data-theme="dark"] .btn-outline:hover {
  border-color: var(--brand-gold);
  color: var(--brand-gold);
  background: var(--brand-gold-light);
}

.btn-sm {
  padding: 7px 15px;
  font-size: 0.84375rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   ULTRA-CLEAN, NEAT HEADER
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-header);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
  width: 100%;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(16, 24, 40, 0.05);
  border-bottom-color: var(--border-medium);
}

.header-container {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: opacity var(--transition-fast);
}

.logo-dark-mode {
  display: none;
}

[data-theme="dark"] .logo-light-mode {
  display: none;
}

[data-theme="dark"] .logo-dark-mode {
  display: block;
}

/* Nav Links Menu (Neat, Single-Line, Centered) */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0 auto;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap !important;
  position: relative;
  padding: 6px 4px;
  transition: color var(--transition-fast);
  line-height: 1.2;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-terracotta);
}

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
  color: var(--brand-gold);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-terracotta);
  transition: width var(--transition-fast);
}

[data-theme="dark"] .nav-link::after {
  background: var(--brand-gold);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Right Header Action Cluster */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.header-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  font-size: 0.84375rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap !important;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.header-phone-link:hover {
  border-color: var(--brand-terracotta);
  color: var(--brand-terracotta);
  background: var(--brand-terracotta-light);
}

[data-theme="dark"] .header-phone-link:hover {
  border-color: var(--brand-gold);
  color: var(--brand-gold);
  background: var(--brand-gold-light);
}

.theme-toggle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  border-color: var(--brand-terracotta);
  color: var(--brand-terracotta);
  background: var(--brand-terracotta-light);
}

[data-theme="dark"] .theme-toggle-btn:hover {
  border-color: var(--brand-gold);
  color: var(--brand-gold);
  background: var(--brand-gold-light);
}

.theme-icon-dark {
  display: none;
}

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

[data-theme="dark"] .theme-icon-dark {
  display: block;
}

.mobile-toggle-btn {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

/* ==========================================================================
   NEAT HERO SECTION
   ========================================================================== */

.hero {
  position: relative;
  padding: 72px 0 84px 0;
  background: radial-gradient(circle at 85% 15%, rgba(198, 146, 52, 0.07) 0%, transparent 55%),
              radial-gradient(circle at 10% 85%, rgba(139, 44, 16, 0.05) 0%, transparent 45%),
              var(--bg-page);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 52px;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--bg-surface);
  color: var(--brand-terracotta);
  border: 1px solid var(--brand-gold-border);
  box-shadow: var(--shadow-xs);
  margin-bottom: 20px;
}

[data-theme="dark"] .hero-pill-badge {
  color: var(--brand-gold);
  background: var(--brand-gold-light);
}

.hero-title {
  font-size: clamp(2.25rem, 3.8vw, 3.25rem);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-title .highlight-terracotta {
  color: var(--brand-terracotta);
}

[data-theme="dark"] .hero-title .highlight-terracotta {
  color: var(--brand-gold);
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-guarantee-strip {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.hero-guarantee-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84375rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.hero-guarantee-icon {
  color: #2E7D32;
  font-weight: 800;
}

/* Neat Hero Right Column (Executive Portfolio Card) */
.hero-executive-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.hero-exec-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.exec-badge-pill {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  background: var(--brand-gold-light);
  color: var(--brand-gold);
  border: 1px solid var(--brand-gold-border);
}

.exec-location-text {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}

.exec-principal-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.exec-principal-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--brand-gold);
  background: #18202D;
  color: #E8C172;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  flex-shrink: 0;
}

.exec-principal-meta h4 {
  font-size: 1.125rem;
  margin-bottom: 2px;
}

.exec-principal-meta p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.exec-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.exec-metric-cell {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 10px;
  text-align: center;
}

.exec-metric-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-terracotta);
  line-height: 1.1;
  margin-bottom: 2px;
}

[data-theme="dark"] .exec-metric-num {
  color: var(--brand-gold);
}

.exec-metric-lbl {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.exec-landmark-box {
  background: var(--brand-terracotta-light);
  border-left: 3px solid var(--brand-terracotta);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 12px 14px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

[data-theme="dark"] .exec-landmark-box {
  background: var(--brand-gold-light);
  border-left-color: var(--brand-gold);
}

/* ==========================================================================
   NEAT TRUST & ACCREDITATION STRIP
   ========================================================================== */

.trust-strip {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 24px 0;
}

.trust-badges-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
}

.trust-item-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84375rem;
  font-weight: 700;
  color: var(--text-primary);
}

.trust-check-icon {
  color: var(--brand-gold);
  font-size: 1rem;
}

/* ==========================================================================
   NEAT SERVICES SECTION (2x2 BALANCED GRID)
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 34px;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-gold-border);
  box-shadow: var(--shadow-md);
}

.service-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.service-icon-frame {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--brand-terracotta-light);
  color: var(--brand-terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: 1px solid rgba(139, 44, 16, 0.14);
}

[data-theme="dark"] .service-icon-frame {
  background: var(--brand-gold-light);
  color: var(--brand-gold);
  border-color: var(--brand-gold-border);
}

.service-badge-pill {
  font-size: 0.71875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 9px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.service-card-title {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.service-card-desc {
  color: var(--text-secondary);
  font-size: 0.90625rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  margin-top: auto;
}

.service-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.84375rem;
  color: var(--text-primary);
  line-height: 1.5;
}

.service-bullet-item svg {
  color: var(--brand-terracotta);
  flex-shrink: 0;
  margin-top: 3px;
}

[data-theme="dark"] .service-bullet-item svg {
  color: var(--brand-gold);
}

.service-card-foot {
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-cta-link {
  font-size: 0.84375rem;
  font-weight: 700;
  color: var(--brand-terracotta);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

[data-theme="dark"] .service-cta-link {
  color: var(--brand-gold);
}

.service-cta-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   NEAT QUOTE ESTIMATOR (COMPACT & BALANCED)
   ========================================================================== */

.calculator-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  overflow: hidden;
}

.calculator-left {
  padding: 36px 40px;
}

.calc-step-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.calc-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand-terracotta);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78125rem;
  font-weight: 700;
}

[data-theme="dark"] .calc-step-num {
  background: var(--brand-gold);
  color: #0E141E;
}

.calc-step-title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-primary);
}

.calc-group {
  margin-bottom: 22px;
}

.service-segmented-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.service-seg-btn {
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: var(--bg-card);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
}

.service-seg-btn:hover {
  border-color: var(--brand-terracotta);
  background: var(--brand-terracotta-light);
}

.service-seg-btn.selected {
  border-color: var(--brand-terracotta);
  background: var(--brand-terracotta-light);
  box-shadow: 0 0 0 1px var(--brand-terracotta);
}

[data-theme="dark"] .service-seg-btn.selected {
  border-color: var(--brand-gold);
  background: var(--brand-gold-light);
  box-shadow: 0 0 0 1px var(--brand-gold);
}

.seg-btn-name {
  font-size: 0.875rem;
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
}

.seg-btn-sub {
  font-size: 0.71875rem;
  color: var(--text-muted);
  display: block;
}

.calc-select {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-medium);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 0.90625rem;
  transition: border-color var(--transition-fast);
}

.calc-select:focus {
  border-color: var(--brand-terracotta);
}

[data-theme="dark"] .calc-select:focus {
  border-color: var(--brand-gold);
}

.slider-val-badge {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-terracotta);
}

[data-theme="dark"] .slider-val-badge {
  color: var(--brand-gold);
}

.calc-range {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--border-medium);
  appearance: none;
  cursor: pointer;
  margin-top: 8px;
}

.calc-range::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-terracotta);
  border: 2px solid #FFFFFF;
  box-shadow: var(--shadow-xs);
  cursor: pointer;
}

[data-theme="dark"] .calc-range::-webkit-slider-thumb {
  background: var(--brand-gold);
  border-color: #0E141E;
}

.speed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.speed-seg-card {
  padding: 10px;
  text-align: center;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.speed-seg-card.selected {
  border-color: var(--brand-terracotta);
  background: var(--brand-terracotta-light);
  font-weight: 700;
}

[data-theme="dark"] .speed-seg-card.selected {
  border-color: var(--brand-gold);
  background: var(--brand-gold-light);
}

.speed-seg-title {
  font-size: 0.8125rem;
  display: block;
}

.speed-seg-days {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

/* Neat Upload Dropzone */
.file-dropzone {
  border: 1.5px dashed var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 18px;
  text-align: center;
  background: var(--bg-subtle);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.file-dropzone:hover {
  border-color: var(--brand-terracotta);
  background: var(--brand-terracotta-light);
}

.dropzone-label {
  font-size: 0.84375rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.dropzone-sub {
  font-size: 0.71875rem;
  color: var(--text-muted);
}

.uploaded-file-tag {
  display: none;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding: 8px 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xs);
  font-size: 0.8125rem;
}

.uploaded-file-tag.active {
  display: flex;
}

/* Right Summary Column */
.calculator-right {
  background: var(--bg-subtle);
  border-left: 1px solid var(--border-subtle);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-summary-title {
  font-size: 1.15rem;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.calc-summary-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.calc-sum-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84375rem;
}

.calc-sum-lbl {
  color: var(--text-secondary);
}

.calc-sum-val {
  font-weight: 700;
  color: var(--text-primary);
}

.calc-price-display-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--brand-gold-border);
  border-radius: var(--radius-sm);
  padding: 18px;
  text-align: center;
  margin-bottom: 22px;
}

.calc-price-lead {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.calc-price-number {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--brand-terracotta);
  line-height: 1.1;
  margin-bottom: 4px;
}

[data-theme="dark"] .calc-price-number {
  color: var(--brand-gold);
}

.calc-price-disclaimer {
  font-size: 0.71875rem;
  color: var(--text-muted);
}

/* ==========================================================================
   NEAT CASE STUDIES SECTION
   ========================================================================== */

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.case-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-gold-border);
  box-shadow: var(--shadow-md);
}

.case-thumb-header {
  height: 180px;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 14px;
}

.case-thumb-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,20,29,0.1) 0%, rgba(14,20,29,0.8) 100%);
}

.case-category-pill {
  position: relative;
  z-index: 2;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--brand-gold);
  color: #0E141E;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
}

.case-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.case-heading {
  font-size: 1.1875rem;
  margin-bottom: 10px;
}

.case-paragraph {
  font-size: 0.84375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.case-client-tag {
  margin-top: auto;
  font-size: 0.78125rem;
  font-weight: 700;
  color: var(--brand-terracotta);
  display: flex;
  align-items: center;
  gap: 6px;
}

[data-theme="dark"] .case-client-tag {
  color: var(--brand-gold);
}

/* ==========================================================================
   NEAT FOUNDER PROFILE (MARIAM ELLIOTT)
   ========================================================================== */

.founder-editorial-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 52px;
}

.founder-photo-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  border: 2px solid var(--brand-gold-border);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--bg-surface);
  max-width: 420px;
  width: 100%;
}

.founder-img {
  width: 100%;
  height: 480px;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.founder-quote-banner {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(14, 20, 29, 0.9);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  padding: 16px;
  color: #FFFFFF;
  border: 1px solid rgba(198, 146, 52, 0.3);
}

.founder-quote-text {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  font-style: italic;
  line-height: 1.45;
  margin-bottom: 6px;
}

.founder-quote-name {
  font-size: 0.75rem;
  color: #E8C172;
  font-weight: 700;
}

.founder-editorial-bio h2 {
  font-size: 2.2rem;
  margin-bottom: 6px;
}

.founder-role-tag {
  font-size: 1rem;
  color: var(--brand-terracotta);
  font-weight: 700;
  margin-bottom: 20px;
}

[data-theme="dark"] .founder-role-tag {
  color: var(--brand-gold);
}

.founder-bio-p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.founder-credentials-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 22px 0 28px 0;
  padding: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.founder-cred-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84375rem;
  font-weight: 600;
  color: var(--text-primary);
}

.founder-cred-bullet {
  color: var(--brand-gold);
}

/* ==========================================================================
   NEAT ARABIC PHRASEBOOK (AUDIO COMPONENT)
   ========================================================================== */

.phrase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.phrase-neat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phrase-neat-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand-gold-border);
  box-shadow: var(--shadow-sm);
}

.phrase-ar-text {
  font-family: var(--font-arabic);
  font-size: 1.85rem;
  direction: rtl;
  color: var(--brand-terracotta);
  line-height: 1.25;
}

[data-theme="dark"] .phrase-ar-text {
  color: var(--brand-gold);
}

.phrase-phonetic {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
}

.phrase-meaning-text {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.phrase-audio-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  font-size: 0.78125rem;
  font-weight: 700;
  color: var(--text-primary);
  align-self: flex-start;
  transition: all var(--transition-fast);
}

.phrase-audio-btn:hover {
  background: var(--brand-terracotta-light);
  border-color: var(--brand-terracotta);
  color: var(--brand-terracotta);
}

[data-theme="dark"] .phrase-audio-btn:hover {
  background: var(--brand-gold-light);
  border-color: var(--brand-gold);
  color: var(--brand-gold);
}

/* ==========================================================================
   NEAT GCC CULTURAL GUIDE (TABS)
   ========================================================================== */

.tabs-pill-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.tab-pill-btn {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-medium);
  background: var(--bg-surface);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.tab-pill-btn.active {
  background: var(--brand-terracotta);
  color: #FFFFFF;
  border-color: var(--brand-terracotta);
  box-shadow: 0 2px 10px var(--brand-terracotta-glow);
}

[data-theme="dark"] .tab-pill-btn.active {
  background: var(--brand-gold);
  color: #0E141E;
  border-color: var(--brand-gold);
}

.tab-panel-container {
  display: none;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.tab-panel-container.active {
  display: block;
}

.protocol-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.protocol-neat-card {
  padding: 20px;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.protocol-neat-title {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--brand-terracotta);
}

[data-theme="dark"] .protocol-neat-title {
  color: var(--brand-gold);
}

.protocol-neat-text {
  font-size: 0.84375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   NEAT TESTIMONIALS & CLIENT RATINGS
   ========================================================================== */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-fast);
}

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

.testimonial-stars {
  color: var(--brand-gold);
  margin-bottom: 14px;
  font-size: 0.9375rem;
  letter-spacing: 2px;
}

.testimonial-quote-body {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 20px;
}

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

.author-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-terracotta-light);
  color: var(--brand-terracotta);
  border: 1px solid rgba(139, 44, 16, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9375rem;
}

[data-theme="dark"] .author-circle {
  background: var(--brand-gold-light);
  color: var(--brand-gold);
  border-color: var(--brand-gold-border);
}

.author-name-text {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1px;
}

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

/* ==========================================================================
   NEAT FAQ ACCORDION (WITH SEARCH)
   ========================================================================== */

.faq-search-box {
  max-width: 520px;
  margin: 0 auto 36px auto;
  position: relative;
}

.faq-search-field {
  width: 100%;
  padding: 13px 18px 13px 44px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-medium);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-size: 0.9375rem;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}

.faq-search-field:focus {
  border-color: var(--brand-terracotta);
}

[data-theme="dark"] .faq-search-field:focus {
  border-color: var(--brand-gold);
}

.faq-search-svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.faq-accordion-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-node {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-node.active {
  border-color: var(--brand-gold-border);
}

.faq-node-header {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.faq-node-question {
  font-size: 0.96875rem;
  font-weight: 700;
  color: var(--text-primary);
}

.faq-node-chevron {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-normal);
  color: var(--text-muted);
  font-size: 0.75rem;
}

.faq-node.active .faq-node-chevron {
  transform: rotate(180deg);
  background: var(--brand-terracotta-light);
  color: var(--brand-terracotta);
}

[data-theme="dark"] .faq-node.active .faq-node-chevron {
  background: var(--brand-gold-light);
  color: var(--brand-gold);
}

.faq-node-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 22px;
}

.faq-node.active .faq-node-body {
  max-height: 350px;
  padding-bottom: 20px;
}

.faq-node-answer {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   NEAT CONTACT SECTION
   ========================================================================== */

.contact-layout-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
}

.contact-card-sidebar {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 34px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-channels-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 26px 0;
}

.contact-channel-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-channel-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--brand-terracotta-light);
  color: var(--brand-terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

[data-theme="dark"] .contact-channel-icon {
  background: var(--brand-gold-light);
  color: var(--brand-gold);
}

.channel-lbl {
  font-size: 0.71875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 1px;
}

.channel-val {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
}

.channel-val:hover {
  color: var(--brand-terracotta);
}

[data-theme="dark"] .channel-val:hover {
  color: var(--brand-gold);
}

.contact-form-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.form-split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-unit {
  margin-bottom: 18px;
}

.form-unit-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.form-unit-input, .form-unit-textarea, .form-unit-select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 0.90625rem;
  transition: border-color var(--transition-fast);
}

.form-unit-input:focus, .form-unit-textarea:focus, .form-unit-select:focus {
  border-color: var(--brand-terracotta);
}

[data-theme="dark"] .form-unit-input:focus,
[data-theme="dark"] .form-unit-textarea:focus,
[data-theme="dark"] .form-unit-select:focus {
  border-color: var(--brand-gold);
}

.form-unit-textarea {
  min-height: 110px;
  resize: vertical;
}

/* ==========================================================================
   NEAT FOOTER
   ========================================================================== */

.site-footer {
  background: #0E131A;
  color: #CFD7E3;
  border-top: 1px solid rgba(198, 146, 52, 0.2);
  padding: 64px 0 28px 0;
}

.footer-quad-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 36px;
  margin-bottom: 48px;
}

.footer-brand-p {
  font-size: 0.875rem;
  color: #9AA6B8;
  line-height: 1.6;
  margin: 16px 0 20px 0;
}

.footer-brand-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.footer-title-h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-single-link {
  color: #9AA6B8;
  font-size: 0.84375rem;
  transition: color var(--transition-fast);
}

.footer-single-link:hover {
  color: #E8C172;
}

.footer-baseline-row {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8125rem;
  color: #8C99AA;
}

/* ==========================================================================
   SYSTECT FOOTER CREDIT (EXACTLY AS ON AQWAKE.CO.ZA)
   ========================================================================== */

.footer-systect-credit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.footer-created-by-text {
  font-size: 0.8125rem;
  color: #9AA6B8;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.systect-neon-led {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #00f0ff;
  background: rgba(8, 8, 10, 0.85);
  padding: 0.2rem 0.65rem;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000,
     0 2px 4px rgba(0, 0, 0, 0.95),
     0 0 5px rgba(0, 240, 255, 0.75),
     0 0 12px rgba(0, 240, 255, 0.35);
  animation: systectNeonPulse 6s ease-in-out infinite;
  transition: all 0.25s ease;
}

.systect-neon-led:hover {
  background: rgba(0, 0, 0, 0.95);
  border-color: rgba(0, 240, 255, 0.5);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.9), 0 0 10px rgba(0, 240, 255, 0.3);
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000,
     0 2px 4px #000,
     0 0 6px #fff,
     0 0 14px currentColor;
}

@keyframes systectNeonPulse {
  0%, 100% {
    color: #00f0ff;
    border-color: rgba(0, 240, 255, 0.25);
    text-shadow:
      -1px -1px 0 #000,
       1px -1px 0 #000,
      -1px  1px 0 #000,
       1px  1px 0 #000,
       0 2px 4px rgba(0, 0, 0, 0.95),
       0 0 5px rgba(0, 240, 255, 0.75),
       0 0 12px rgba(0, 240, 255, 0.35);
  }
  50% {
    color: #55f5ff;
    border-color: rgba(0, 240, 255, 0.5);
    text-shadow:
      -1px -1px 0 #000,
       1px -1px 0 #000,
      -1px  1px 0 #000,
       1px  1px 0 #000,
       0 2px 4px rgba(0, 0, 0, 0.95),
       0 0 8px rgba(0, 240, 255, 0.9),
       0 0 18px rgba(0, 240, 255, 0.55);
  }
}

/* ==========================================================================
   MODAL DIALOG
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-box {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-lg);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
}

.modal-dismiss-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-size: 1.2rem;
}

.modal-dismiss-btn:hover {
  background: var(--brand-terracotta-light);
  color: var(--brand-terracotta);
}

/* ==========================================================================
   FLOATING SPEED ACTIONS (WHATSAPP & PHONE)
   ========================================================================== */

.floating-speed-bar {
  position: fixed;
  bottom: 24px;
  bottom: max(24px, env(safe-area-inset-bottom));
  right: 24px;
  right: max(24px, env(safe-area-inset-right));
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
  pointer-events: auto;
}

.floating-speed-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
  color: #FFFFFF;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
}

.floating-speed-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.floating-phone-btn {
  background: linear-gradient(135deg, var(--brand-terracotta) 0%, #A33514 100%);
}

.floating-wa-btn {
  background: #25D366;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* ==========================================================================
   MOBILE & RESPONSIVE PERFECTION
   ========================================================================== */

@media (max-width: 1024px) {
  .header-container {
    height: 66px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .brand-logo {
    height: 36px;
  }

  .nav-menu {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-surface);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    display: none;
    overflow-y: auto;
    border-top: 1px solid var(--border-subtle);
    z-index: 999;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-link {
    font-size: 1.05rem;
    padding: 10px 14px;
    width: 100%;
    border-bottom: 1px solid var(--border-subtle);
  }

  .mobile-toggle-btn {
    display: flex;
  }

  .header-phone-link {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .calculator-wrapper {
    grid-template-columns: 1fr;
  }

  .calculator-right {
    border-left: none;
    border-top: 1px solid var(--border-subtle);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .cases-grid {
    grid-template-columns: 1fr;
  }

  .founder-editorial-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .protocol-cards-row {
    grid-template-columns: 1fr;
  }

  .phrase-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .contact-layout-grid {
    grid-template-columns: 1fr;
  }

  .footer-quad-grid {
    grid-template-columns: 1fr 1fr;
  }

  .floating-speed-bar {
    bottom: 20px;
    bottom: max(20px, env(safe-area-inset-bottom));
    right: 20px;
    right: max(20px, env(safe-area-inset-right));
  }
}

@media (max-width: 820px) {
  .header-container {
    height: 64px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .brand-logo {
    height: 34px;
  }

  .nav-menu {
    top: 64px;
  }

  .form-split-row {
    grid-template-columns: 1fr;
  }

  .service-segmented-grid {
    grid-template-columns: 1fr;
  }

  .speed-grid {
    grid-template-columns: 1fr;
  }

  .tabs-pill-row {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }

  .tab-pill-btn {
    width: 100%;
    text-align: center;
    font-size: 0.8125rem;
    padding: 10px 14px;
  }

  .tab-panel-container {
    padding: 22px 18px;
  }

  .footer-quad-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-baseline-row {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    gap: 16px;
  }

  .footer-systect-credit {
    margin: 8px auto;
  }

  .section {
    padding: 56px 0;
  }
}

@media (max-width: 520px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    padding: 40px 0 52px 0;
  }

  .hero-pill-badge {
    font-size: 0.71875rem;
    padding: 4px 10px;
    line-height: 1.4;
    white-space: normal;
    text-align: left;
  }

  .hero-title {
    font-size: 1.95rem;
    line-height: 1.2;
    margin-bottom: 14px;
  }

  .hero-description {
    font-size: 0.9375rem;
    line-height: 1.55;
    margin-bottom: 24px;
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 10px;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-guarantee-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-top: 16px;
  }

  .hero-executive-card {
    padding: 20px 16px;
  }

  .exec-metrics-row {
    gap: 6px;
  }

  .exec-metric-cell {
    padding: 8px 4px;
  }

  .exec-metric-num {
    font-size: 1.25rem;
  }

  .exec-metric-lbl {
    font-size: 0.625rem;
  }

  .calculator-left,
  .calculator-right {
    padding: 22px 16px;
  }

  .calc-price-number {
    font-size: 1.75rem;
  }

  .service-card {
    padding: 22px 16px;
  }

  .case-card-content {
    padding: 20px 16px;
  }

  .founder-photo-wrapper {
    max-width: 100%;
  }

  .founder-img {
    height: auto;
    max-height: 420px;
  }

  .contact-card-sidebar,
  .contact-form-container {
    padding: 22px 16px;
  }

  .floating-speed-bar {
    bottom: 14px;
    right: 14px;
    gap: 8px;
  }

  .floating-speed-btn {
    width: 44px;
    height: 44px;
  }

  .modal-box {
    padding: 22px 16px;
    margin: 12px;
  }
}
