/* ==========================================================================
   HIT HORSE (Horse Intelligent Technology S.L.) - Corporate Website Styles
   Aesthetic: Clean Luxury Equestrian & Modern Bio-Tech (Light Theme)
   ========================================================================== */

:root {
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-subtle: #f1f5f9;
  --bg-card-hover: #fdfdfd;
  
  --gold-primary: #b8860b;
  --gold-light: #d4af37;
  --gold-dark: #8c6609;
  --gold-glow: rgba(184, 134, 11, 0.15);
  --gold-border: rgba(184, 134, 11, 0.28);
  
  --emerald: #059669;
  --emerald-light: #10b981;
  --emerald-bg: #ecfdf5;
  --emerald-border: #a7f3d0;
  
  --cyan: #0284c7;
  --cyan-bg: #f0f9ff;
  
  --amber: #d97706;
  --amber-bg: #fffbeb;
  
  --danger: #dc2626;
  --danger-bg: #fef2f2;
  --danger-border: #fecaca;
  
  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
  
  --border-subtle: #e2e8f0;
  --border-card: #cbd5e1;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.08);
  --shadow-xl: 0 25px 60px rgba(15, 23, 42, 0.12);
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  background-color: var(--bg-main);
}

/* Subtle Warm Ambient Glow */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 10%;
  width: 80vw;
  height: 50vh;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, rgba(5, 150, 105, 0.02) 50%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* Containers */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding-top: 90px;
  padding-bottom: 90px;
  position: relative;
}

.section-darker {
  background-color: #f1f5f9;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

/* Section Header Styles */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fefce8;
  border: 1px solid var(--gold-border);
  color: var(--gold-dark);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 16px;
}

.section-tag.emerald {
  background: var(--emerald-bg);
  border-color: var(--emerald-border);
  color: var(--emerald);
}

.section-title {
  font-size: clamp(2rem, 3.2vw, 2.85rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  color: var(--text-main);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.7;
}

.text-center {
  text-align: center;
}
.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Header & Clean Navigation (High Usability & Crisp Alignment)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: auto;
  background: #ffffff;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: none !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  z-index: 1000;
  transition: all 0.2s ease;
}

.site-header.scrolled {
  box-shadow: 0 6px 24px -2px rgba(15, 23, 42, 0.1);
}

.site-header.scrolled .site-topbar {
  display: none;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.site-header.scrolled .header-container {
  height: 64px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-fast);
}

.brand-meta {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: 0.5px;
  line-height: 1.15;
}

.brand-tech {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-primary);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Navigation Links */
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 8px;
}

.nav-link {
  color: var(--text-body);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: var(--transition-fast);
  display: inline-block;
}

.nav-link:hover {
  color: var(--gold-dark);
  background: rgba(184, 134, 11, 0.06);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Language Switcher */
.lang-switch {
  display: flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-full);
  padding: 2px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-fast);
}

.lang-btn.active {
  background: #ffffff;
  color: var(--text-main);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-md);
  padding: 11px 22px;
  transition: var(--transition-normal);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(184, 134, 11, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #dfbe53 0%, #9e7308 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(184, 134, 11, 0.35);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: var(--gold-primary);
  transform: translateY(-1px);
}

.btn-emerald {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25);
}

.btn-emerald:hover {
  background: linear-gradient(135deg, #34d399 0%, #047857 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.35);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding-top: 160px;
  padding-bottom: 80px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-main) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
}

.hero-badge-wrap {
  margin-bottom: 18px;
}

.hero-title {
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--text-main);
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 26px;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold-dark);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.hero-visual {
  position: relative;
}

.hero-visual {
  position: relative;
}

.hero-cctv-card {
  position: relative;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(16, 185, 129, 0.2);
}

.cctv-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: #0b1120;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: #94a3b8;
}

.cctv-rec-indicator {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #ef4444;
  font-weight: 700;
}

.rec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
  animation: pulseRec 1.4s ease-in-out infinite;
}

@keyframes pulseRec {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1); }
}

.cctv-cam-id {
  color: #cbd5e1;
  font-weight: 600;
}

.cctv-time {
  color: #38bdf8;
  font-weight: 700;
}

.cctv-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
  line-height: 0;
}

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

/* AI Computer Vision Bounding Box */
.ai-bounding-box {
  position: absolute;
  top: 24%;
  left: 28%;
  width: 36%;
  height: 66%;
  border: 1.5px solid rgba(16, 185, 129, 0.9);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.4), inset 0 0 14px rgba(16, 185, 129, 0.15);
  pointer-events: none;
  animation: boxHover 4s ease-in-out infinite alternate;
}

@keyframes boxHover {
  0% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-2px) scale(1.006); }
  100% { transform: translateY(0px) scale(1); }
}

/* Tracking Corner Brackets */
.ai-bounding-box .bracket {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: #10b981;
  border-style: solid;
}
.ai-bounding-box .bracket.top-left {
  top: -2px; left: -2px; border-width: 3px 0 0 3px;
}
.ai-bounding-box .bracket.top-right {
  top: -2px; right: -2px; border-width: 3px 3px 0 0;
}
.ai-bounding-box .bracket.bottom-left {
  bottom: -2px; left: -2px; border-width: 0 0 3px 3px;
}
.ai-bounding-box .bracket.bottom-right {
  bottom: -2px; right: -2px; border-width: 0 3px 3px 0;
}

/* Tracking Tag above horse */
.ai-tracking-tag {
  position: absolute;
  top: -26px;
  left: -2px;
  background: #059669;
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 4px 4px 0 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.ai-tag-confidence {
  background: #064e3b;
  color: #6ee7b7;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 800;
}

/* Status overlay below horse */
.ai-tracking-status {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(16, 185, 129, 0.4);
  backdrop-filter: blur(6px);
  color: #f1f5f9;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.68rem;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #10b981;
}

.status-indicator-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

.status-sub {
  color: #94a3b8;
  font-size: 0.62rem;
}
.status-sub strong {
  color: #e2e8f0;
}

/* Subtle Scanline */
.ai-scanline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(16, 185, 129, 0.7) 50%, transparent 100%);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.7);
  animation: scanAnim 3.8s linear infinite;
  pointer-events: none;
}

@keyframes scanAnim {
  0% { top: 0%; opacity: 0.2; }
  50% { opacity: 0.85; }
  100% { top: 100%; opacity: 0.2; }
}

.cctv-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: #0b1120;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  color: #94a3b8;
}

.cctv-badge-live {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #e2e8f0;
}

.cctv-telemetry {
  display: flex;
  gap: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.74rem;
}
.cctv-telemetry strong {
  color: #10b981;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
  animation: pulseAnim 2s infinite;
}

@keyframes pulseAnim {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.6); }
  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); }
}

/* ==========================================================================
   PegasoIA Highlights
   ========================================================================== */
.engine-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 45px;
}

.highlight-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

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

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: #fefce8;
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--gold-dark);
  margin-bottom: 20px;
}

.card-icon.emerald {
  background: var(--emerald-bg);
  border-color: var(--emerald-border);
  color: var(--emerald);
}

.card-icon.cyan {
  background: var(--cyan-bg);
  border-color: #bae6fd;
  color: var(--cyan);
}

.highlight-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.highlight-card p {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   APP HIT Dashboard Preview & Core Pillars Grid
   ========================================================================== */
.app-dashboard-preview {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(16, 185, 129, 0.2);
  margin-top: 40px;
}

.app-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  background: #0b1120;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.app-preview-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-brand-pill {
  background: var(--gold-primary);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 4px;
}

.app-stable-info {
  color: #cbd5e1;
  font-size: 0.88rem;
}
.app-stable-info strong {
  color: #ffffff;
}

.app-preview-live {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseRec 1.4s infinite;
}

.app-preview-body {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  padding: 24px;
  align-items: center;
}

.app-video-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000000;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  line-height: 0;
}

.app-video-img {
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: cover;
  display: block;
}

.app-video-hud {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: monospace;
  font-size: 0.74rem;
}

.hud-badge {
  background: rgba(15, 23, 42, 0.85);
  color: #e2e8f0;
  padding: 3px 8px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.hud-confidence {
  background: rgba(16, 185, 129, 0.9);
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 700;
}

.app-video-status {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(16, 185, 129, 0.4);
  backdrop-filter: blur(6px);
  color: #f1f5f9;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: monospace;
}

.status-check {
  color: #10b981;
}

.app-live-kpis {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.kpi-card {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition-fast);
}

.kpi-card:hover {
  border-color: rgba(184, 134, 11, 0.5);
  background: #243046;
}

.kpi-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.kpi-icon-wrap.blue { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
.kpi-icon-wrap.emerald { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.kpi-icon-wrap.amber { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }

.kpi-content {
  flex: 1;
}

.kpi-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-bottom: 2px;
}

.kpi-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.kpi-sub {
  font-size: 0.8rem;
  font-weight: 500;
  color: #94a3b8;
}

.kpi-badge-green {
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  padding: 2px 8px;
  border-radius: 4px;
}

.kpi-progress {
  width: 100%;
  height: 6px;
  background: #334155;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 6px;
}

.kpi-bar {
  height: 100%;
  border-radius: 6px;
}
.kpi-bar.blue { background: #38bdf8; }
.kpi-bar.emerald { background: #10b981; }

.kpi-detail {
  font-size: 0.75rem;
  color: #94a3b8;
}

/* 4 Pillars Grid */
.app-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.app-pillar-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.app-pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-border);
  box-shadow: var(--shadow-md);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.pillar-icon.emerald { background: #d1fae5; color: #047857; }
.pillar-icon.gold { background: #fef3c7; color: #b45309; }
.pillar-icon.cyan { background: #e0f2fe; color: #0284c7; }
.pillar-icon.red { background: #fee2e2; color: #b91c1c; }

.app-pillar-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.app-pillar-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Download Footer */
.app-download-footer {
  margin-top: 30px;
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.app-download-badges {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.app-download-note {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--emerald-dark);
}

@media (max-width: 992px) {
  .app-preview-body {
    grid-template-columns: 1fr;
  }
  .app-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .app-pillars-grid {
    grid-template-columns: 1fr;
  }
  .app-download-footer {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   Solutions & Detection Use Cases
   ========================================================================== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 45px;
}

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

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

.solution-card.featured {
  grid-column: span 2;
  border: 1px solid rgba(184, 134, 11, 0.4);
  background: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
}

.solution-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.solution-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.8px;
}

.tag-red { background: #fee2e2; color: #b91c1c; border: 1px solid #fca5a5; }
.tag-amber { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.tag-emerald { background: #d1fae5; color: #047857; border: 1px solid #6ee7b7; }
.tag-blue { background: #e0f2fe; color: #0369a1; border: 1px solid #7dd3fc; }

.solution-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-main);
}

.solution-card p {
  color: var(--text-body);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.solution-features {
  list-style: none;
  margin-top: 14px;
}

.solution-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-body);
  margin-bottom: 8px;
}

.solution-features li svg {
  color: var(--gold-dark);
  flex-shrink: 0;
}

/* ==========================================================================
   Clean Responsive Timeline Component (No SVG Text Overlap!)
   ========================================================================== */
.colic-timeline-box {
  margin-top: 36px;
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
}

.timeline-header-meta {
  margin-bottom: 24px;
  text-align: left;
}

.timeline-header-meta h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.timeline-header-meta p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.timeline-comparison-tracks {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.timeline-row {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  border-left: 5px solid #cbd5e1;
  box-shadow: var(--shadow-sm);
}

.timeline-row.traditional {
  border-left-color: var(--danger);
  background: #fff8f8;
}

.timeline-row.pegaso {
  border-left-color: var(--emerald);
  background: #f6fdf9;
}

.track-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.track-label strong {
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.track-label.bad strong { color: var(--danger); }
.track-label.good strong { color: var(--emerald); }

.track-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}

.step-node {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.node-bullet {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
}

.node-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-gray { background: #94a3b8; }
.dot-red { background: var(--danger); box-shadow: 0 0 6px rgba(220, 38, 38, 0.4); }
.dot-green { background: var(--emerald); box-shadow: 0 0 6px rgba(5, 150, 105, 0.4); }

.node-text {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.4;
}

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

/* ==========================================================================
   PegasoIA Live Simulator (High-tech monitor on clean dashboard)
   ========================================================================== */
.simulator-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-xl);
  margin-top: 40px;
}

.sim-controls-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.sim-scenarios-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sim-scenario-btn {
  background: #f1f5f9;
  border: 1px solid var(--border-subtle);
  color: var(--text-body);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.sim-scenario-btn:hover {
  background: #e2e8f0;
  color: var(--text-main);
}

.sim-scenario-btn.active {
  background: var(--gold-primary);
  color: #ffffff;
  border-color: var(--gold-dark);
  box-shadow: 0 2px 8px var(--gold-glow);
}

.sim-screen-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 24px;
}

.sim-viewport {
  background: #000000;
  border: 1px solid #1e293b;
  border-radius: var(--radius-md);
  height: 420px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sim-real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sim-scenario-overlay {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 20;
  pointer-events: none;
  transition: var(--transition-fast);
}

.sim-scenario-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.03em;
}

.sim-scenario-tag.tag-normal {
  background: rgba(16, 185, 129, 0.92);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.sim-scenario-tag.tag-colic {
  background: rgba(239, 68, 68, 0.95);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: pulseRec 1.2s infinite;
}

.sim-scenario-tag.tag-foal {
  background: rgba(245, 158, 11, 0.95);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.sim-scenario-tag.tag-cast {
  background: rgba(225, 29, 72, 0.95);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: pulseRec 1s infinite;
}

.sim-viewport::after {
  content: " ";
  display: block;
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.2) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.02), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.02));
  z-index: 10;
  background-size: 100% 3px, 6px 100%;
  pointer-events: none;
}

.laser-sweep {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #10b981 50%, transparent 100%);
  box-shadow: 0 0 12px #10b981;
  animation: sweepAnim 3.5s ease-in-out infinite;
  z-index: 15;
}

@keyframes sweepAnim {
  0% { top: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.sim-cam-hud {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 20;
  font-family: monospace;
  font-size: 0.8rem;
  color: #94a3b8;
}

.hud-rec {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ef4444;
  font-weight: 700;
}

.hud-rec-dot {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  animation: pulseAnim 1s infinite;
}

#simSvgCanvas {
  width: 100%;
  height: 100%;
  z-index: 5;
}

.sim-telemetry-sidebar {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.telemetry-header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 14px;
  margin-bottom: 16px;
}

.telemetry-title {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-dark);
  font-weight: 700;
}

.telemetry-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  margin-top: 8px;
}

.status-normal { background: #d1fae5; color: #047857; border: 1px solid #6ee7b7; }
.status-colic { background: #fee2e2; color: #b91c1c; border: 1px solid #fca5a5; }
.status-foal { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.status-hazard { background: #ffe4e6; color: #be123c; border: 1px solid #fda4af; }

.telemetry-gauges {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}

.gauge-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gauge-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-body);
}

.gauge-bar-bg {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
}

.gauge-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fill-emerald { background: var(--emerald); }
.fill-amber { background: var(--amber); }
.fill-danger { background: var(--danger); }
.fill-cyan { background: var(--cyan); }

.telemetry-log {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px;
  font-family: monospace;
  font-size: 0.75rem;
  color: #334155;
  max-height: 110px;
  overflow-y: auto;
}

.log-entry {
  margin-bottom: 4px;
  display: flex;
  gap: 6px;
}

.log-time { color: var(--gold-dark); font-weight: 700; }
.log-alert { color: var(--danger); font-weight: 700; }

/* ==========================================================================
   ROI Calculator
   ========================================================================== */
.roi-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-top: 40px;
  box-shadow: var(--shadow-lg);
}

.roi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.roi-controls {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.slider-group label {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.slider-val {
  color: var(--gold-dark);
  font-weight: 800;
  font-size: 1.15rem;
}

input[type=range] {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-primary);
  border: 2px solid #ffffff;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.roi-results-box {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}

.result-item {
  display: flex;
  flex-direction: column;
}

.result-num {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.1;
}

.num-savings {
  color: var(--emerald);
}

.num-risk {
  color: var(--amber);
}

.result-caption {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Implementation Steps
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 45px;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  position: relative;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

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

.step-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold-primary);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 12px;
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.step-card p {
  color: var(--text-body);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ==========================================================================
   About Company Section
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.about-item {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.about-item h4 {
  font-size: 1rem;
  color: var(--gold-dark);
  margin-bottom: 6px;
  font-weight: 700;
}

.about-item p {
  font-size: 0.85rem;
  color: var(--text-body);
}

.about-card-badge {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.about-meta-list {
  list-style: none;
  margin-top: 20px;
}

.about-meta-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
}

.about-meta-list li:last-child {
  border-bottom: none;
}

.meta-label {
  color: var(--text-muted);
}

.meta-val {
  font-weight: 600;
  color: var(--text-main);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list {
  max-width: 820px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.faq-item:hover {
  border-color: var(--border-card);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.3rem;
  color: var(--gold-dark);
  transition: transform var(--transition-normal);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  padding: 0 24px 22px;
}

/* ==========================================================================
   Contact & Demo Form
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  margin-top: 45px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-card-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.contact-card-box:hover {
  border-color: var(--gold-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: #fefce8;
  border: 1px solid var(--gold-border);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-icon.emerald {
  background: var(--emerald-bg);
  border-color: var(--emerald-border);
  color: var(--emerald);
}

.contact-icon.cyan {
  background: var(--cyan-bg);
  border-color: #bae6fd;
  color: var(--cyan);
}

.contact-details h4 {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-details a,
.contact-details p {
  color: var(--text-main);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 700;
}

.contact-details a:hover {
  color: var(--gold-primary);
}

.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.12);
}

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

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-body);
  margin-bottom: 22px;
}

.form-check input[type=checkbox] {
  margin-top: 3px;
  accent-color: var(--gold-primary);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.form-check a {
  color: var(--gold-dark);
  text-decoration: underline;
}

.form-feedback {
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 18px;
  display: none;
}

.form-feedback.success {
  display: block;
  background: #d1fae5;
  border: 1px solid #6ee7b7;
  color: #065f46;
}

.form-feedback.error {
  display: block;
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #0f172a;
  color: #f8fafc;
  border-top: 1px solid var(--border-subtle);
  padding-top: 70px;
  padding-bottom: 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 320px;
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #d4af37;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: #1e293b;
  border: 1px solid #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  text-decoration: none;
  transition: var(--transition-fast);
}

.social-icon-btn:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
  transform: translateY(-2px);
}

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

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a {
  color: #94a3b8;
  text-decoration: none;
}

.footer-legal-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ==========================================================================
   Cookie Banner & Modal Windows
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 660px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  box-shadow: 0 12px 36px -4px rgba(15, 23, 42, 0.2);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.cookie-banner.hidden {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}

.cookie-banner-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
}

.cookie-banner-text {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.6;
}

.cookie-banner-text a {
  color: var(--gold-dark);
  font-weight: 600;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .cookie-banner {
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 16px;
  }
  .cookie-actions {
    flex-direction: column-reverse;
    width: 100%;
  }
  .cookie-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Cookie Preferences Switches */
.cookie-pref-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
}

.cookie-pref-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.cookie-pref-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.cookie-pref-info p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.badge-always-active {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #047857;
  background: #d1fae5;
  padding: 4px 10px;
  border-radius: 9999px;
  white-space: nowrap;
}

/* Switch Toggle */
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #cbd5e1;
  transition: .25s ease;
  border-radius: 24px;
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .25s ease;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.cookie-switch input:checked + .cookie-slider {
  background-color: var(--gold-primary);
}

.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(20px);
}

.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 800px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

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

.modal-header h3 {
  font-size: 1.3rem;
  color: var(--text-main);
  font-weight: 800;
}

.modal-close-btn {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-body {
  padding: 28px;
  overflow-y: auto;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
}

.modal-body h4 {
  color: var(--text-main);
  margin-top: 18px;
  margin-bottom: 8px;
  font-weight: 700;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1100px) {
  .nav-links {
    gap: 4px;
  }
  .nav-link {
    font-size: 0.82rem;
    padding: 6px 8px;
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .roi-grid {
    grid-template-columns: 1fr;
  }
  
  .sim-screen-grid {
    grid-template-columns: 1fr;
  }
  
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .solutions-grid {
    grid-template-columns: 1fr;
  }
  
  .solution-card.featured {
    grid-column: span 1;
  }
  
  .track-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border-subtle);
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    transform: translateY(-130%);
    transition: transform var(--transition-normal);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  
  .main-nav.open {
    transform: translateY(0);
  }
  
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 12px;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .engine-highlights,
  .steps-grid,
  .form-row,
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .track-steps {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Contratación Online Wizard Styles (Guided Onboarding & Checkout)
   ========================================================================== */
.btn-contract-cta {
  background: linear-gradient(135deg, #b8860b 0%, #8c6609 100%);
  color: #ffffff !important;
  font-weight: 800;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(184, 134, 11, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-contract-cta:hover {
  background: linear-gradient(135deg, #d4af37 0%, #9e7308 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 134, 11, 0.5);
}

.wizard-card {
  background: #ffffff;
  border: 1px solid rgba(184, 134, 11, 0.3);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 36px;
  max-width: 960px;
  margin: 36px auto 0;
  position: relative;
}

/* Progress Steps Header */
.wizard-steps-header {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.wizard-step-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.45;
  transition: var(--transition-fast);
}

.wizard-step-indicator.active {
  opacity: 1;
}

.wizard-step-indicator.completed {
  opacity: 0.85;
}

.step-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 2px solid #cbd5e1;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.wizard-step-indicator.active .step-circle {
  background: var(--gold-primary);
  border-color: var(--gold-dark);
  color: #ffffff;
  box-shadow: 0 0 10px var(--gold-glow);
}

.wizard-step-indicator.completed .step-circle {
  background: var(--emerald);
  border-color: var(--emerald);
  color: #ffffff;
}

.step-label {
  display: flex;
  flex-direction: column;
}

.step-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

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

/* Counter Box Widget */
.counter-box-widget {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 6px;
  width: fit-content;
  gap: 8px;
}

.counter-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.counter-btn:hover {
  background: #f1f5f9;
  border-color: var(--gold-primary);
}

.counter-val-input {
  width: 65px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  border: none;
  background: transparent;
  outline: none;
}

/* Choice Cards (Radio Options) */
.camera-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 20px 0;
}

.choice-card-label {
  background: #f8fafc;
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: var(--transition-fast);
  position: relative;
}

.choice-card-label:hover {
  border-color: #cbd5e1;
  background: #ffffff;
}

.choice-card-label input[type="radio"]:checked + .choice-content {
  color: var(--text-main);
}

.choice-card-label:has(input[type="radio"]:checked) {
  border-color: var(--gold-primary);
  background: #fffdf8;
  box-shadow: 0 4px 16px rgba(184, 134, 11, 0.12);
}

.choice-card-label input[type="radio"] {
  margin-top: 4px;
  accent-color: var(--gold-primary);
  width: 18px;
  height: 18px;
}

.choice-content h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-main);
}

.choice-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Hardware Catalog Grid */
.hardware-catalog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 18px;
}

.hardware-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.hardware-card-img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  background: #f8fafc;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  padding: 8px;
  border: 1px solid var(--border-subtle);
}

.hardware-card:hover {
  border-color: var(--gold-border);
  box-shadow: var(--shadow-md);
}

.hw-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  background: #ecfdf5;
  color: #047857;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
  border: 1px solid #a7f3d0;
}

.hardware-card h4 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--text-main);
}

.hardware-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.hw-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.hw-price {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text-main);
}

/* Certified Callouts */
.callout-box {
  padding: 18px 22px;
  border-radius: var(--radius-md);
  margin-top: 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.callout-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.callout-warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}

/* Pricing Breakdown Summary */
.price-breakdown-card {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.breakdown-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.92rem;
  color: var(--text-body);
}

.breakdown-row.total-row {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  padding-top: 14px;
  border-top: 2px dashed #cbd5e1;
}

.breakdown-row.recurring-row {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  color: var(--gold-dark);
}

/* Payment Gateway Selector Tabs */
.gateway-tabs-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

.gateway-tab-btn {
  background: #ffffff;
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: left;
}

.gateway-tab-btn:hover {
  border-color: #cbd5e1;
}

.gateway-tab-btn.active {
  border-color: var(--gold-primary);
  background: #fffdf8;
  box-shadow: 0 4px 12px rgba(184, 134, 11, 0.15);
}

.gateway-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
  color: var(--text-main);
  flex-shrink: 0;
}

.gateway-info-box {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--text-body);
  margin-bottom: 20px;
}

/* Card Inputs Container */
.card-inputs-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

/* Confirmation Screen Receipt */
.confirmation-screen {
  background: #ffffff;
  border: 2px solid #86efac;
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  display: none;
}

.conf-check-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #d1fae5;
  color: #047857;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 20px;
}

.conf-details-card {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  max-width: 500px;
  margin: 24px auto;
  text-align: left;
}

.conf-details-card li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.9rem;
}

.conf-details-card li:last-child {
  border-bottom: none;
}

/* Review & Send Step Styles */
.review-summary-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  margin-bottom: 24px;
}

.review-card {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
}

.review-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.review-data-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.review-data-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.88rem;
}

.review-data-list li:last-child {
  border-bottom: none;
}

.review-data-list .label {
  color: var(--text-muted);
}

.review-data-list .val {
  font-weight: 600;
  color: var(--text-main);
  text-align: right;
  max-width: 60%;
  word-break: break-word;
}

@media (max-width: 900px) {
  .review-summary-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .wizard-steps-header {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .camera-choice-grid,
  .hardware-catalog-grid,
  .gateway-tabs-group {
    grid-template-columns: 1fr;
  }
  .wizard-card {
    padding: 20px;
  }
}

/* CCTV Mobile Adjustments */
@media (max-width: 640px) {
  .ai-bounding-box {
    top: 22%;
    left: 24%;
    width: 44%;
    height: 68%;
  }
  .ai-tracking-tag {
    font-size: 0.62rem;
    padding: 2px 6px;
    top: -22px;
  }
  .ai-tag-confidence {
    font-size: 0.60rem;
    padding: 0 4px;
  }
  .ai-tracking-status {
    bottom: 4px;
    padding: 2px 6px;
    font-size: 0.60rem;
  }
  .status-sub {
    display: none;
  }
  .cctv-top-bar, .cctv-bottom-bar {
    font-size: 0.68rem;
    padding: 8px 12px;
  }
  .cctv-cam-id {
    display: none;
  }
}

/* Contract Overview Section on index.php */
.contract-overview-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  margin-top: 40px;
}

.contract-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.contract-feature-box {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  position: relative;
  transition: var(--transition-fast);
}

.contract-feature-box:hover {
  transform: translateY(-3px);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-sm);
}

.feature-num-pill {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.contract-feature-box h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.contract-feature-box p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.contract-cta-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: var(--radius-md);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: #ffffff;
}

.contract-cta-banner .banner-info h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.contract-cta-banner .banner-info p {
  color: #94a3b8;
  font-size: 0.95rem;
  margin: 0;
}

.contract-cta-banner .banner-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

@media (max-width: 992px) {
  .contract-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contract-cta-banner {
    flex-direction: column;
    text-align: center;
  }
  .contract-cta-banner .banner-actions {
    flex-direction: column;
    width: 100%;
  }
  .contract-cta-banner .banner-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .contract-features-grid {
    grid-template-columns: 1fr;
  }
  .contract-overview-card {
    padding: 24px 16px;
  }
}

/* ==========================================================================
   Supertop Bar (Direct Phone, Email & 24/7 Monitoring)
   ========================================================================== */
.site-topbar {
  background: #090f1d;
  border: none;
  color: #94a3b8;
  font-size: 0.78rem;
  padding: 6px 0;
  transition: all 0.2s ease;
}

.topbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #34d399;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  letter-spacing: 0.02em;
}

.pulse-dot-sm {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-top 2s infinite;
}

@keyframes pulse-top {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.15s ease;
  font-weight: 500;
}

.topbar-item:hover {
  color: var(--gold-light, #fbbf24);
}

.topbar-item strong {
  color: #ffffff;
  font-weight: 700;
}

.topbar-label {
  color: #64748b;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.topbar-divider {
  color: #334155;
  font-size: 0.75rem;
}

@media (max-width: 768px) {
  .topbar-badge { display: none; }
  .topbar-label { display: none; }
  .topbar-container { justify-content: center; }
  .topbar-right { gap: 10px; font-size: 0.74rem; }
}

/* ==========================================================================
   FAQ Section & Accordions
   ========================================================================== */
.faq-section {
  padding: 90px 0;
  background: #f8fafc;
}

.faq-accordion {
  max-width: 860px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md, 12px);
  overflow: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.faq-item:hover {
  border-color: rgba(184, 134, 11, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.faq-item.open {
  border-color: var(--gold-primary, #b8860b);
  box-shadow: 0 6px 18px -4px rgba(184, 134, 11, 0.12);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 24px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main, #0f172a);
  transition: color 0.15s ease;
}

.faq-question:hover {
  color: var(--gold-dark, #8b6508);
}

.faq-toggle-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.faq-item.open .faq-toggle-icon {
  background: var(--gold-primary, #b8860b);
  color: #ffffff;
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-answer-inner {
  padding: 0 24px 22px;
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.7;
}

.faq-cta-footer {
  margin-top: 40px;
  text-align: center;
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 24px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}


