/* ════════════════════════════════════════════════════════════════
   Sineli Strategic Solutions — main.css
   ════════════════════════════════════════════════════════════════ */

/* ── Google Fonts ──────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

/* ══ HEADER / NAVIGATION ════════════════════════════════════════ */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: all .3s ease;
}
#site-header.scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,.06);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.site-branding { display: flex; align-items: center; gap: 10px; }
.brand-logo {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(109,40,217,.3);
}
.brand-logo span { color: #fff; font-size: 20px; font-weight: 700; }
.brand-text .site-name  { font-size: 17px; font-weight: 700; line-height: 1.1; }
.brand-text .site-tagline { font-size: 11px; color: var(--fg-muted); }

/* primary nav */
#primary-navigation { display: flex; align-items: center; gap: 4px; }
#primary-navigation a {
  padding: 8px 16px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; color: var(--fg-muted);
  transition: var(--transition);
}
#primary-navigation a:hover,
#primary-navigation .current-menu-item > a,
#primary-navigation .current_page_item > a {
  background: rgba(109,40,217,.08); color: var(--primary);
}
.header-cta { display: flex; align-items: center; gap: 12px; }

/* hamburger */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 6px; color: var(--fg);
}
.nav-toggle .bar {
  display: block; width: 24px; height: 2px;
  background: currentColor; margin: 5px 0;
  transition: var(--transition);
}
.nav-toggle.active .bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active .bar:nth-child(2) { opacity: 0; }
.nav-toggle.active .bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* mobile menu */
#mobile-nav {
  display: none; position: fixed; top: 68px; left: 0; right: 0; z-index: 999;
  background: rgba(255,255,255,.98); border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px; flex-direction: column; gap: 4px;
}
#mobile-nav.open { display: flex; }
#mobile-nav a {
  padding: 12px 16px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 500; color: var(--fg-muted);
}
#mobile-nav a:hover { background: var(--bg-muted); color: var(--primary); }
#mobile-nav .btn { margin-top: 8px; text-align: center; justify-content: center; }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  #primary-navigation, .header-cta { display: none; }
}

/* ══ HERO ════════════════════════════════════════════════════════ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding-top: 68px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .18; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(30,27,74,.55), rgba(30,27,74,.15) 50%, rgba(30,27,74,.75));
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; max-width: 860px; padding-inline: 24px;
}
.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 7vw, 72px);
  font-weight: 700; line-height: 1.1; color: #fff; margin-bottom: 20px;
}
.hero-content h1 .gradient-text {
  background: linear-gradient(135deg, #a78bfa, #c4b5fd);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-content p { font-size: clamp(16px,2.5vw,22px); color: rgba(255,255,255,.8); margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,.6); font-size: 13px; z-index: 2;
  animation: bounce 2s infinite;
}
.scroll-hint svg { width: 22px; height: 22px; }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ══ PAGE HERO (inner pages) ═══════════════════════════════════ */
.page-hero {
  position: relative; padding: 160px 0 80px;
  background: linear-gradient(135deg, rgba(109,40,217,.07) 0%, transparent 60%);
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,.08), transparent 70%);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px); font-weight: 700;
  margin-bottom: 16px; max-width: 700px;
}
.page-hero p { font-size: 18px; color: var(--fg-muted); max-width: 600px; line-height: 1.65; }

/* ══ STATS SECTION ═══════════════════════════════════════════════ */
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.stat-item { text-align: center; padding: 40px 20px; }
.stat-item + .stat-item { border-left: 1px solid rgba(255,255,255,.1); }
.stat-value { font-family: var(--font-display); font-size: clamp(40px,6vw,56px); font-weight: 700; color: #fff; display: block; }
.stat-label { font-size: 14px; color: rgba(196,181,253,.8); margin-top: 6px; font-weight: 500; }
.stat-icon { font-size: 28px; margin-bottom: 10px; opacity: .7; }
@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(3) { border-left: none; }
  .stat-item + .stat-item { border-top: 1px solid rgba(255,255,255,.1); }
  .stat-item:nth-child(1),.stat-item:nth-child(2) { border-top: none; }
}

/* ══ TESTIMONIALS ════════════════════════════════════════════════ */
.testimonial-card .quote-text {
  font-size: 14px; line-height: 1.8; color: var(--fg-muted);
  margin-bottom: 20px; font-style: italic;
}
.testimonial-card .stars { color: var(--primary); font-size: 14px; margin-bottom: 12px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.author-name { font-size: 14px; font-weight: 700; }
.author-role { font-size: 12px; color: var(--fg-muted); }

/* ══ SERVICE/CATEGORY SECTIONS ══════════════════════════════════ */
.service-category { margin-bottom: 64px; }
.service-category:last-child { margin-bottom: 0; }
.category-header {
  display: flex; align-items: center; gap: 16px; margin-bottom: 28px;
}
.category-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(109,40,217,.1), rgba(139,92,246,.1));
  display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.category-header h2 { font-size: clamp(22px,3vw,30px); font-weight: 700; }

/* ══ WHY CHOOSE US ═══════════════════════════════════════════════ */
.why-card {
  display: flex; gap: 16px; padding: 24px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--card-bg);
  transition: var(--transition);
}
.why-card:hover { box-shadow: var(--shadow-hover); border-color: var(--accent); transform: translateY(-3px); }
.why-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(109,40,217,.08); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--primary);
}
.why-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.why-card p  { font-size: 14px; color: var(--fg-muted); }

/* ══ TIMELINE ════════════════════════════════════════════════════ */
.timeline { position: relative; max-width: 900px; margin-inline: auto; }
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--primary), var(--accent));
  transform: translateX(-50%);
}
.timeline-item { display: grid; grid-template-columns: 1fr 40px 1fr; gap: 20px; margin-bottom: 40px; align-items: center; }
.timeline-item:nth-child(even) .timeline-content { order: 3; }
.timeline-item:nth-child(even) .timeline-dot    { order: 2; }
.timeline-item:nth-child(even) .timeline-empty   { order: 1; }
.timeline-dot {
  width: 16px; height: 16px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  margin: auto; position: relative; z-index: 1;
  box-shadow: 0 0 0 4px rgba(109,40,217,.15);
}
.timeline-content {
  background: var(--card-bg); border: 1px solid var(--border);
  border-left: 4px solid var(--primary); border-radius: var(--radius);
  padding: 24px;
}
.timeline-content:hover { box-shadow: var(--shadow); }
.timeline-year { font-size: 32px; font-weight: 700; color: var(--primary); }
.timeline-milestone { font-size: 16px; font-weight: 700; margin: 6px 0; }
.timeline-desc { font-size: 14px; color: var(--fg-muted); }

@media (max-width: 768px) {
  .timeline::before { left: 20px; }
  .timeline-item { grid-template-columns: 40px 1fr; }
  .timeline-empty { display: none; }
  .timeline-item:nth-child(even) .timeline-content { order: unset; }
  .timeline-item:nth-child(even) .timeline-dot    { order: unset; }
}

/* ══ APPROACH STEPS ══════════════════════════════════════════════ */
.step-card { text-align: center; padding: 36px 28px; }
.step-number {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700; color: #fff;
  margin: 0 auto 20px; box-shadow: 0 8px 20px rgba(109,40,217,.3);
}
.step-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.step-card p  { color: var(--fg-muted); line-height: 1.65; }

/* ══ CONTACT ═════════════════════════════════════════════════════ */
.contact-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 40px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-form-wrap {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px;
}
.contact-form-wrap h2 { font-size: 26px; font-weight: 700; margin-bottom: 28px; }
.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: 14px; font-weight: 600; color: var(--fg); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 15px; font-family: var(--font-sans); background: var(--bg);
  color: var(--fg); transition: var(--transition); outline: none; width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(109,40,217,.1); }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-submit .btn { width: 100%; justify-content: center; font-size: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.contact-info-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; margin-bottom: 20px;
}
.contact-info-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.contact-item:last-child { margin-bottom: 0; }
.contact-item-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--bg-muted); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.contact-item-label { font-size: 12px; color: var(--fg-muted); font-weight: 500; }
.contact-item-value { font-size: 14px; font-weight: 600; color: var(--fg); }
.contact-item-value a { color: var(--fg); transition: var(--transition); }
.contact-item-value a:hover { color: var(--primary); }

.office-hours-row { display: flex; justify-content: space-between; font-size: 14px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.office-hours-row:last-child { border-bottom: none; }
.office-hours-row .day { font-weight: 600; }
.office-hours-row .hours { color: var(--fg-muted); }
.hours.closed { color: #dc2626; }

/* ══ FOOTER ══════════════════════════════════════════════════════ */
#site-footer {
  background: var(--card-bg); border-top: 1px solid var(--border);
  padding-block: 64px 0;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand p { font-size: 14px; color: var(--fg-muted); margin-top: 14px; line-height: 1.7; max-width: 260px; }
.footer-col h3 { font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 14px; color: var(--fg-muted); display: flex; align-items: center; gap: 6px;
  transition: var(--transition);
}
.footer-col ul a:hover { color: var(--primary); padding-left: 4px; }
.footer-col ul a::before { content: '→'; opacity: 0; font-size: 12px; transition: var(--transition); }
.footer-col ul a:hover::before { opacity: 1; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 14px; color: var(--fg-muted); }
.footer-contact-item span:first-child { color: var(--primary); flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-block: 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 14px; color: var(--fg-muted); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 14px; color: var(--fg-muted); transition: var(--transition); }
.footer-legal a:hover { color: var(--primary); }

/* ══ VALUE/CORE CARDS ════════════════════════════════════════════ */
.value-card { text-align: center; }
.value-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(109,40,217,.1), rgba(139,92,246,.1));
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin: 0 auto 16px;
}
.value-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.value-card p  { font-size: 14px; color: var(--fg-muted); line-height: 1.65; }

/* ══ CTA STRIP ═══════════════════════════════════════════════════ */
.cta-section {
  padding: 100px 0; text-align: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  position: relative; overflow: hidden;
}
.cta-section::before, .cta-section::after {
  content: ''; position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.cta-section::before { width: 400px; height: 400px; top: -200px; left: -100px; }
.cta-section::after  { width: 300px; height: 300px; bottom: -150px; right: -50px; }
.cta-section h2 { font-family: var(--font-display); font-size: clamp(28px,5vw,44px); font-weight: 700; color: #fff; margin-bottom: 14px; }
.cta-section p  { font-size: 18px; color: rgba(255,255,255,.8); margin-bottom: 36px; max-width: 600px; margin-inline: auto; margin-bottom: 36px; }
.cta-features { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; margin-bottom: 36px; }
.cta-feat { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.9); font-size: 14px; font-weight: 500; }
.cta-feat::before { content: '✓'; background: rgba(255,255,255,.2); border-radius: 50%; width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; }

/* ══ ANIMATIONS ══════════════════════════════════════════════════ */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ══ NOTICE / SUCCESS ════════════════════════════════════════════ */
.form-success {
  background: rgba(109,40,217,.06); border: 1px solid rgba(109,40,217,.2);
  border-radius: var(--radius); padding: 28px; text-align: center;
  display: none;
}
.form-success.show { display: block; }
.form-success h3 { color: var(--primary); margin-bottom: 8px; }
.form-success p  { font-size: 14px; color: var(--fg-muted); }

/* ══ WORDPRESS DEFAULTS ══════════════════════════════════════════ */
.wp-block-image { margin-bottom: 20px; }
.entry-content h2 { font-size: 28px; font-weight: 700; margin: 32px 0 14px; }
.entry-content h3 { font-size: 22px; font-weight: 700; margin: 24px 0 10px; }
.entry-content p  { margin-bottom: 16px; line-height: 1.75; color: var(--fg-muted); }
.entry-content ul, .entry-content ol { margin: 0 0 16px 24px; color: var(--fg-muted); }
.entry-content a  { color: var(--primary); }
.site-main { padding-top: 68px; }
