/*
Theme Name: Cashbook Consultancy Theme
Theme URI: https://cashbookacc.com/
Author: Cashbook Consultancy
Author URI: https://cashbookacc.com/
Description: Custom high-performance theme for Cashbook Consultancy with independent styling, native Insights/Blog integration, and Formidable Forms bridge.
Version: 1.0.7
License: GNU General Public License v2 or later
Text Domain: cashbook-theme
*/

/* ==========================================================================
   1. Design Tokens & Global Resets
   ========================================================================== */
:root {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-brand: 'Trajan Pro', 'Trajan', 'Cinzel', serif;
  --bg-color: #faf9f6;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --primary-blue: #004AAD;
  --accent-blue: #2563eb;
  --dark-navy: #141923;
  --dark-card: #162a4a;
  --radius-outer: 24px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background-color: var(--bg-color) !important;
}

body {
  font-family: var(--font-main) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-color) !important;
  color: var(--text-dark) !important;
  min-height: 100vh !important;
  padding: 15px 36px 24px 36px !important;
  margin: 0 !important;
  width: 100% !important;
  overflow-x: hidden !important;
  box-sizing: border-box !important;
  touch-action: pan-y;
}

body.drawer-open {
  overflow: hidden !important;
}

@media (max-width: 900px) {
  body {
    padding: 12px 20px 20px 20px !important;
  }
}

@media (max-width: 600px) {
  body {
    padding: 10px 12px 16px 12px !important;
  }
}

/* ==========================================================================
   2. Header Navigation
   ========================================================================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 8px;
  margin-bottom: 15px;
  position: relative;
  z-index: 100;
  width: 100%;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-left: 30px;
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  line-height: 1;
}

.brand-title {
  font-family: var(--font-brand);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #004AAD;
  text-transform: uppercase;
  line-height: 1.05;
}

.brand-initial {
  font-size: 22px;
  line-height: 1.0;
}

.brand-subtitle {
  font-family: var(--font-main);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: #555555;
  text-transform: uppercase;
  line-height: 1.0;
  margin-top: -1px;
  width: 100%;
  text-align: center;
}

.logo-img {
  height: 45px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-right: 30px;
}

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

.nav-links a {
  display: inline-block;
  text-decoration: none;
  color: #333333;
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #000000;
  transition: width 0.25s ease;
  border-radius: 1px;
}

.nav-links a:hover {
  color: #000000;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  background: linear-gradient(135deg, #1e3a66 0%, #2563eb 100%);
  color: #ffffff !important;
  border-radius: 50px;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 6px 20px -4px rgba(37, 99, 235, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.nav-btn-arrow {
  width: 15px;
  height: 15px;
  transition: transform 0.25s ease;
}

.nav-btn:hover {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  color: #ffffff !important;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 28px -4px rgba(37, 99, 235, 0.5);
  border-color: rgba(255, 255, 255, 0.25);
}

.nav-btn:hover .nav-btn-arrow {
  transform: translate(2px, -2px);
}

/* Mobile Hamburger Toggle Button */
.mobile-menu-btn {
  display: none;
  background: rgba(0, 74, 173, 0.08);
  border: 1px solid rgba(0, 74, 173, 0.15);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #004AAD;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.mobile-menu-btn:hover {
  background: rgba(0, 74, 173, 0.15);
  transform: scale(1.04);
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

@media (max-width: 900px) {
  .brand-logo {
    margin-left: 0;
  }
  .nav-container {
    margin-right: 0;
  }
  .nav-links, .nav-btn {
    display: none !important;
  }
  .mobile-menu-btn {
    display: inline-flex !important;
  }
}

/* Mobile Off-Canvas Drawer */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.mobile-drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 86vw);
  height: 100%;
  background: #ffffff;
  border-left: 1px solid #e2e8f0;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.12);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 24px 22px 28px 22px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-drawer.active {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 24px;
}

.mobile-drawer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.mobile-drawer-logo img {
  height: 38px;
  width: auto;
}

.mobile-drawer-logo-text .brand-title {
  font-family: var(--font-brand);
  font-size: 16px;
  font-weight: 600;
  color: #004AAD;
}

.mobile-drawer-logo-text .brand-subtitle {
  font-size: 8.5px;
  color: #64748b;
  letter-spacing: 0.2em;
}

.mobile-drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-drawer-close svg {
  width: 18px;
  height: 18px;
}

.mobile-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 28px;
  padding: 0;
}

.mobile-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  color: #1e293b;
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.mobile-drawer-link:hover {
  background: #f0f7ff;
  color: #004AAD;
  transform: translateX(4px);
}

.mobile-drawer-link svg {
  width: 16px;
  height: 16px;
  color: #94a3b8;
}

.mobile-drawer-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
}

.mobile-drawer-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  background: linear-gradient(135deg, #1e3a66 0%, #2563eb 100%);
  color: #ffffff !important;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.3);
}

.mobile-drawer-btn svg {
  width: 15px;
  height: 15px;
}

.mobile-drawer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-drawer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.mobile-drawer-contact-item svg {
  width: 15px;
  height: 15px;
  color: #004AAD;
}

/* ==========================================================================
   3. Insights & Blog Pages Styling
   ========================================================================== */
.insights-main,
.single-post-main,
.page-main {
  width: 100%;
  min-height: 60vh;
  margin-bottom: 40px;
}

.insights-hero {
  position: relative;
  background: linear-gradient(145deg, #141923 0%, #162a4a 55%, #1e3a66 100%);
  border-radius: var(--radius-outer);
  padding: 64px 36px 56px 36px;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 20px 48px -12px rgba(16, 33, 56, 0.35);
  margin-bottom: 48px;
  overflow: hidden;
}

.insights-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.35), transparent 60%);
  pointer-events: none;
}

.insights-hero-container {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.insights-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  color: #93c5fd;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.insights-pill-badge svg {
  width: 16px;
  height: 16px;
}

.insights-hero-title {
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 18px;
}

.text-gradient {
  background: linear-gradient(135deg, #93c5fd 0%, #60a5fa 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.insights-hero-desc {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.65;
  color: #cbd5e1;
  max-width: 680px;
  margin: 0 auto;
  font-weight: 450;
}

/* Insights Content Container & Grid */
.insights-container,
.single-post-container,
.page-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

@media (max-width: 1024px) {
  .insights-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .insights-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .insights-hero {
    padding: 44px 20px 36px 20px;
    border-radius: 20px;
  }
}

/* Post Card */
.post-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 30px -8px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.12);
  border-color: rgba(37, 99, 235, 0.2);
}

.post-card-thumb-link {
  display: block;
  text-decoration: none;
  overflow: hidden;
}

.post-card-thumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background: #141923;
  overflow: hidden;
}

.post-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.post-card:hover .post-thumb-img {
  transform: scale(1.04);
}

.post-thumb-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #182e4e 0%, #102138 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #93c5fd;
  gap: 8px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.post-thumb-placeholder svg {
  width: 36px;
  height: 36px;
}

.post-card-body {
  padding: 24px 26px 22px 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.post-category-pill {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #eff6ff;
  color: #2563eb;
  padding: 4px 12px;
  border-radius: 50px;
}

.post-date {
  font-size: 12.5px;
  color: #94a3b8;
  font-weight: 500;
}

.post-card-title {
  font-size: 1.25rem;
  font-weight: 750;
  line-height: 1.35;
  color: #0f172a;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.post-card-title a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.post-card-title a:hover {
  color: #2563eb;
}

.post-card-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 20px;
  flex-grow: 1;
}

.post-card-excerpt p {
  margin: 0;
}

.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  margin-top: auto;
}

.post-author-info {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.post-read-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
  transition: all 0.2s ease;
}

.post-read-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.post-read-link:hover {
  color: #1d4ed8;
}

.post-read-link:hover svg {
  transform: translate(2px, -2px);
}

/* Pagination */
.insights-pagination {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

.insights-pagination .nav-links,
.page-numbers {
  display: flex;
  gap: 8px;
  list-style: none;
  align-items: center;
}

.page-numbers a,
.page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  color: #0f172a;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: all 0.2s ease;
}

.page-numbers a:hover {
  border-color: #2563eb;
  color: #2563eb;
  background: #f8fafc;
}

.page-numbers.current,
.page-numbers span.current {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

/* Empty State */
.insights-empty-state {
  background: #ffffff;
  border-radius: 24px;
  padding: 64px 32px;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 30px -8px rgba(15, 23, 42, 0.06);
  max-width: 600px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.empty-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.empty-icon-wrap svg {
  width: 32px;
  height: 32px;
}

.empty-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
}

.empty-desc {
  font-size: 15px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 28px;
}

.empty-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: linear-gradient(135deg, #1e3a66 0%, #2563eb 100%);
  color: #ffffff !important;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

/* ==========================================================================
   4. Single Post & General Page Layout
   ========================================================================== */
.single-post-container,
.page-container {
  max-width: 860px;
  margin: 30px auto 60px auto;
  background: #ffffff;
  border-radius: 24px;
  padding: 48px 52px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 16px 40px -12px rgba(15, 23, 42, 0.07);
}

@media (max-width: 768px) {
  .single-post-container,
  .page-container {
    padding: 32px 20px;
    border-radius: 20px;
  }
}

.single-post-nav-bar {
  margin-bottom: 24px;
}

.back-to-insights-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  transition: color 0.2s ease;
}

.back-to-insights-btn:hover {
  color: #2563eb;
}

.back-to-insights-btn svg {
  width: 16px;
  height: 16px;
}

.single-post-header,
.page-header {
  margin-bottom: 32px;
}

.single-post-meta-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.single-post-category-badge {
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: #eff6ff;
  color: #2563eb;
  padding: 4px 12px;
  border-radius: 50px;
}

.single-post-date {
  font-size: 13.5px;
  color: #94a3b8;
  font-weight: 500;
}

.single-post-title,
.page-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.single-post-author-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f1f5f9;
}

.author-avatar-badge img {
  border-radius: 50%;
  display: block;
}

.author-details {
  display: flex;
  flex-direction: column;
}

.author-label {
  font-size: 11px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.author-fullname {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
}

.single-post-featured-media,
.page-featured-media {
  margin: 32px 0;
  border-radius: 18px;
  overflow: hidden;
}

.single-post-featured-img,
.page-featured-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Typography Flow (For Blog Content & Text) */
.typography-flow {
  font-size: 16.5px;
  line-height: 1.8;
  color: #334155;
}

.typography-flow p {
  margin-bottom: 24px;
}

.typography-flow h2,
.typography-flow h3,
.typography-flow h4 {
  color: #0f172a;
  font-weight: 800;
  line-height: 1.3;
  margin-top: 36px;
  margin-bottom: 16px;
}

.typography-flow h2 { font-size: 1.65rem; }
.typography-flow h3 { font-size: 1.35rem; }

.typography-flow ul,
.typography-flow ol {
  margin-bottom: 24px;
  padding-left: 28px;
}

.typography-flow li {
  margin-bottom: 8px;
}

.typography-flow blockquote {
  border-left: 4px solid #2563eb;
  padding: 16px 24px;
  background: #f8fafc;
  border-radius: 0 14px 14px 0;
  margin: 32px 0;
  font-style: italic;
  color: #1e293b;
}

.single-post-footer {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid #f1f5f9;
}

.post-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.post-tag {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  padding: 4px 12px;
  border-radius: 6px;
}

.post-navigation-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.post-navigation-bar a {
  font-size: 14.5px;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
}

.post-navigation-bar a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   5. Site Footer
   ========================================================================== */
.site-footer {
  background-color: #242A36;
  border-radius: 0;
  width: calc(100% + 72px);
  margin-left: -36px;
  margin-right: -36px;
  margin-bottom: -24px;
  margin-top: 60px;
  color: #ffffff;
  position: relative;
}

.footer-container {
  padding: 64px 74px 36px 74px;
  width: 100%;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.3fr 1.2fr;
  gap: 44px;
  align-items: flex-start;
  margin-bottom: 48px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-brand {
  display: inline-block;
  text-decoration: none;
  margin-bottom: 18px;
  transition: opacity 0.25s ease, transform 0.25s ease;
  width: fit-content;
}

.footer-brand:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.footer-logo-img {
  height: 92px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer-excerpt {
  color: #94a3b8;
  font-size: 0.93rem;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 330px;
}

.footer-heading {
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
  position: relative;
  display: flex;
  align-items: center;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 24px;
  height: 2px;
  background: #3b82f6;
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.footer-link {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.footer-link:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0;
  margin: 0;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-contact-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #93c5fa;
  margin-top: 2px;
}

.footer-contact-icon svg {
  width: 15px;
  height: 15px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-contact-label {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

.footer-contact-val {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s ease;
  word-break: break-all;
}

.footer-contact-val:hover {
  color: #ffffff;
}

.footer-social-desc {
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

.footer-social-links {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-social-btn:hover {
  background: #2563eb;
  border-color: #2563eb;
  transform: translateY(-2px);
}

.footer-social-btn svg {
  width: 16px;
  height: 16px;
}

.footer-cta-box {
  margin-top: 4px;
}

.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 650;
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-cta-btn:hover {
  background: #ffffff;
  color: #0f172a;
}

.footer-cta-btn svg {
  width: 14px;
  height: 14px;
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: #64748b;
}

.footer-copyright {
  color: #94a3b8;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-legal-link {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-link:hover {
  color: #ffffff;
}

.footer-legal-sep {
  color: #475569;
}

@media (max-width: 1024px) {
  .site-footer {
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
    margin-bottom: -20px;
  }
  .footer-container {
    padding: 48px 32px 28px 32px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .site-footer {
    width: calc(100% + 24px);
    margin-left: -12px;
    margin-right: -12px;
    margin-bottom: -16px;
  }
  .footer-container {
    padding: 36px 18px 24px 18px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom-bar {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
