/*
Theme Name: StartUp Growth Hub
Theme URI: https://sgh.aromanish.com
Author: Aroma Nish
Author URI: https://aromanish.com
Description: A fully customizable WordPress theme for StartUp Growth Hub — built for startup consultancy, business growth, and entrepreneurship content. Features custom page templates, Customizer integration, blog support, and premium editorial design.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sgh
Tags: business, blog, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, sticky-post, threaded-comments, translation-ready, two-columns, right-sidebar
*/

/* ============================================
   CSS CUSTOM PROPERTIES / DESIGN TOKENS
   ============================================ */
:root {
  /* Brand Colors - Customizer controlled */
  --sgh-primary:        #0F4C75;
  --sgh-primary-dark:   #0a3557;
  --sgh-accent:         #F5A623;
  --sgh-accent-dark:    #e09010;
  --sgh-dark:           #0D1117;
  --sgh-dark-alt:       #161B22;
  --sgh-text:           #1a1a2e;
  --sgh-text-muted:     #5a6270;
  --sgh-light:          #F8FAFD;
  --sgh-white:          #FFFFFF;
  --sgh-border:         #E2E8F0;
  --sgh-success:        #22c55e;
  --sgh-gradient:       linear-gradient(135deg, var(--sgh-primary) 0%, #1a73a7 100%);
  --sgh-gradient-dark:  linear-gradient(135deg, var(--sgh-dark) 0%, var(--sgh-primary-dark) 100%);

  /* Typography */
  --sgh-font-heading:   'Playfair Display', 'Georgia', serif;
  --sgh-font-body:      'DM Sans', 'Helvetica Neue', sans-serif;
  --sgh-font-mono:      'JetBrains Mono', monospace;

  /* Spacing */
  --sgh-gap-xs:   0.5rem;
  --sgh-gap-sm:   1rem;
  --sgh-gap-md:   2rem;
  --sgh-gap-lg:   4rem;
  --sgh-gap-xl:   6rem;
  --sgh-gap-2xl:  8rem;

  /* Sizing */
  --sgh-container:      1200px;
  --sgh-container-wide: 1400px;
  --sgh-radius:         8px;
  --sgh-radius-lg:      16px;
  --sgh-radius-xl:      24px;

  /* Shadows */
  --sgh-shadow-sm:  0 2px 8px rgba(0,0,0,.06);
  --sgh-shadow-md:  0 8px 30px rgba(0,0,0,.1);
  --sgh-shadow-lg:  0 20px 60px rgba(0,0,0,.15);
  --sgh-shadow-xl:  0 40px 100px rgba(0,0,0,.2);

  /* Transitions */
  --sgh-ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --sgh-transition: 0.3s var(--sgh-ease);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sgh-font-body);
  color: var(--sgh-text);
  background: var(--sgh-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sgh-primary); text-decoration: none; transition: color var(--sgh-transition); }
a:hover { color: var(--sgh-accent); }
ul { list-style: none; }
button, input, textarea, select { font-family: inherit; }

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--sgh-font-heading);
  line-height: 1.2;
  color: var(--sgh-text);
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }
p { margin-bottom: 1.25rem; color: var(--sgh-text-muted); }
p:last-child { margin-bottom: 0; }

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.sgh-container {
  max-width: var(--sgh-container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.sgh-container--wide { max-width: var(--sgh-container-wide); }
.sgh-section { padding: var(--sgh-gap-xl) 0; }
.sgh-section--sm { padding: var(--sgh-gap-lg) 0; }
.sgh-section--dark { background: var(--sgh-dark); }
.sgh-section--light { background: var(--sgh-light); }
.sgh-section--primary { background: var(--sgh-gradient); }
.sgh-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sgh-gap-md); }
.sgh-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sgh-gap-md); }
.sgh-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sgh-gap-md); }
.sgh-flex { display: flex; }
.sgh-flex-center { display: flex; align-items: center; justify-content: center; }
.sgh-text-center { text-align: center; }
.sgh-text-white { color: var(--sgh-white) !important; }
.sgh-text-muted { color: var(--sgh-text-muted); }
.sgh-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--sgh-accent);
  margin-bottom: 0.75rem;
}
.sgh-section-header { margin-bottom: var(--sgh-gap-lg); }

/* ============================================
   BUTTONS
   ============================================ */
.sgh-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--sgh-radius);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--sgh-transition);
  white-space: nowrap;
}
.sgh-btn--primary {
  background: var(--sgh-accent);
  color: var(--sgh-dark);
  border-color: var(--sgh-accent);
}
.sgh-btn--primary:hover {
  background: var(--sgh-accent-dark);
  border-color: var(--sgh-accent-dark);
  color: var(--sgh-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245,166,35,.35);
}
.sgh-btn--outline {
  background: transparent;
  color: var(--sgh-white);
  border-color: rgba(255,255,255,.5);
}
.sgh-btn--outline:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--sgh-white);
  color: var(--sgh-white);
}
.sgh-btn--dark {
  background: var(--sgh-dark);
  color: var(--sgh-white);
  border-color: var(--sgh-dark);
}
.sgh-btn--dark:hover {
  background: var(--sgh-primary);
  border-color: var(--sgh-primary);
  color: var(--sgh-white);
  transform: translateY(-2px);
}
.sgh-btn--lg { padding: 1.1rem 2.5rem; font-size: 1rem; border-radius: var(--sgh-radius-lg); }
.sgh-btn--sm { padding: 0.6rem 1.25rem; font-size: 0.8rem; }

/* ============================================
   TOP BAR
   ============================================ */
.sgh-topbar {
  background: var(--sgh-dark);
  color: rgba(255,255,255,.7);
  font-size: 0.8rem;
  padding: 0.5rem 0;
}
.sgh-topbar .sgh-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.sgh-topbar a { color: rgba(255,255,255,.7); }
.sgh-topbar a:hover { color: var(--sgh-accent); }
.sgh-topbar-left, .sgh-topbar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.sgh-topbar-item { display: flex; align-items: center; gap: 0.4rem; }

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.sgh-header {
  background: var(--sgh-white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
  transition: all var(--sgh-transition);
}
.sgh-header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,.12);
}
.sgh-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  max-width: var(--sgh-container);
  margin: 0 auto;
}
.sgh-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.sgh-logo img { height: 50px; width: auto; }
.sgh-logo-text { font-family: var(--sgh-font-heading); }
.sgh-logo-name {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--sgh-primary);
  line-height: 1.1;
}
.sgh-logo-tagline {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--sgh-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Primary Nav */
.sgh-nav { display: flex; align-items: center; gap: 0; }
.sgh-nav ul { display: flex; align-items: center; gap: 0; list-style: none; }
.sgh-nav ul li { position: relative; }
.sgh-nav ul li a {
  display: block;
  padding: 0.6rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--sgh-text);
  transition: color var(--sgh-transition);
  white-space: nowrap;
}
.sgh-nav ul li a:hover,
.sgh-nav ul li.current-menu-item > a,
.sgh-nav ul li.current_page_item > a { color: var(--sgh-primary); }
.sgh-nav ul li.current-menu-item > a::after,
.sgh-nav ul li.current_page_item > a::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--sgh-accent);
  border-radius: 2px;
  margin-top: 2px;
}

/* Dropdown */
.sgh-nav ul li ul {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--sgh-white);
  min-width: 200px;
  border-radius: var(--sgh-radius);
  box-shadow: var(--sgh-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--sgh-transition);
  flex-direction: column;
  gap: 0;
  border-top: 3px solid var(--sgh-accent);
}
.sgh-nav ul li:hover > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.sgh-nav ul li ul li a {
  padding: 0.7rem 1.25rem;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--sgh-border);
}
.sgh-nav ul li ul li:last-child a { border-bottom: none; }

/* Header CTA */
.sgh-header-cta { display: flex; align-items: center; gap: 1rem; }
.sgh-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}
.sgh-mobile-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--sgh-text);
  transition: all var(--sgh-transition);
  border-radius: 2px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.sgh-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--sgh-gradient-dark);
}
.sgh-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(15,76,117,.6) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(245,166,35,.08) 0%, transparent 60%);
}
.sgh-hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  opacity: 0.15;
}
.sgh-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.sgh-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245,166,35,.15);
  border: 1px solid rgba(245,166,35,.3);
  color: var(--sgh-accent);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}
.sgh-hero h1 {
  color: var(--sgh-white);
  margin-bottom: 1.5rem;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
}
.sgh-hero h1 em {
  font-style: normal;
  color: var(--sgh-accent);
}
.sgh-hero p {
  color: rgba(255,255,255,.75);
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: 2.5rem;
}
.sgh-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.sgh-hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.sgh-hero-stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--sgh-white);
  font-family: var(--sgh-font-heading);
  line-height: 1;
}
.sgh-hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.3rem;
}
.sgh-hero-media {
  position: absolute;
  right: 0;
  top: 0;
  width: 45%;
  height: 100%;
}
.sgh-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}
.sgh-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--sgh-dark) 0%, transparent 50%);
}

/* ============================================
   SERVICES / CARDS
   ============================================ */
.sgh-card {
  background: var(--sgh-white);
  border-radius: var(--sgh-radius-lg);
  padding: 2rem;
  border: 1px solid var(--sgh-border);
  transition: all var(--sgh-transition);
  position: relative;
  overflow: hidden;
}
.sgh-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--sgh-gradient);
  transform: scaleX(0);
  transition: transform var(--sgh-transition);
  transform-origin: left;
}
.sgh-card:hover {
  box-shadow: var(--sgh-shadow-lg);
  transform: translateY(-6px);
  border-color: transparent;
}
.sgh-card:hover::before { transform: scaleX(1); }
.sgh-card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(15,76,117,.1), rgba(15,76,117,.05));
  border-radius: var(--sgh-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  transition: all var(--sgh-transition);
}
.sgh-card:hover .sgh-card-icon {
  background: var(--sgh-primary);
  color: var(--sgh-white);
}
.sgh-card h3 { margin-bottom: 0.75rem; font-size: 1.2rem; }
.sgh-card p { font-size: 0.9rem; margin-bottom: 1.25rem; }
.sgh-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--sgh-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.sgh-card-link:hover { gap: 0.6rem; color: var(--sgh-accent); }
.sgh-card-link::after { content: '→'; transition: transform var(--sgh-transition); }
.sgh-card-link:hover::after { transform: translateX(3px); }

/* Dark card variant */
.sgh-card--dark {
  background: var(--sgh-dark-alt);
  border-color: rgba(255,255,255,.08);
  color: var(--sgh-white);
}
.sgh-card--dark h3 { color: var(--sgh-white); }
.sgh-card--dark p { color: rgba(255,255,255,.65); }
.sgh-card--dark::before { background: var(--sgh-accent); }

/* ============================================
   ABOUT SECTION
   ============================================ */
.sgh-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sgh-gap-xl);
  align-items: center;
}
.sgh-about-image-stack {
  position: relative;
  height: 500px;
}
.sgh-about-image-stack img {
  border-radius: var(--sgh-radius-xl);
  object-fit: cover;
  position: absolute;
}
.sgh-about-img-main {
  width: 75%;
  height: 80%;
  bottom: 0;
  left: 0;
  box-shadow: var(--sgh-shadow-xl);
}
.sgh-about-img-accent {
  width: 55%;
  height: 55%;
  top: 0;
  right: 0;
  border: 6px solid var(--sgh-white);
  box-shadow: var(--sgh-shadow-lg);
}
.sgh-about-badge {
  position: absolute;
  bottom: 2rem;
  right: 1.5rem;
  background: var(--sgh-accent);
  color: var(--sgh-dark);
  border-radius: var(--sgh-radius-lg);
  padding: 1.25rem 1.5rem;
  text-align: center;
  box-shadow: var(--sgh-shadow-md);
  z-index: 2;
}
.sgh-about-badge strong { display: block; font-size: 1.8rem; font-weight: 800; }
.sgh-about-badge span { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.sgh-about-content h2 { margin-bottom: 1rem; }
.sgh-about-content p { margin-bottom: 1.5rem; }
.sgh-about-features { margin: 1.5rem 0 2rem; }
.sgh-about-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--sgh-border);
}
.sgh-about-feature:last-child { border-bottom: none; }
.sgh-about-feature-icon {
  width: 36px;
  height: 36px;
  background: rgba(15,76,117,.1);
  border-radius: var(--sgh-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.sgh-about-feature-text strong { display: block; font-size: 0.9rem; color: var(--sgh-text); margin-bottom: 0.2rem; }
.sgh-about-feature-text span { font-size: 0.82rem; color: var(--sgh-text-muted); }

/* ============================================
   STATS BAR
   ============================================ */
.sgh-stats-bar {
  background: var(--sgh-gradient);
  padding: var(--sgh-gap-lg) 0;
}
.sgh-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.sgh-stat-number {
  font-family: var(--sgh-font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--sgh-white);
  display: block;
  line-height: 1;
}
.sgh-stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.4rem;
}
.sgh-stat-divider {
  width: 1px;
  background: rgba(255,255,255,.2);
  align-self: stretch;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.sgh-testimonial {
  background: var(--sgh-white);
  border-radius: var(--sgh-radius-xl);
  padding: 2.5rem;
  border: 1px solid var(--sgh-border);
  position: relative;
}
.sgh-testimonial::before {
  content: '"';
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-family: var(--sgh-font-heading);
  font-size: 6rem;
  color: rgba(15,76,117,.08);
  line-height: 1;
}
.sgh-testimonial-stars {
  color: var(--sgh-accent);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}
.sgh-testimonial p { font-size: 0.95rem; font-style: italic; margin-bottom: 1.5rem; }
.sgh-testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.sgh-testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.sgh-testimonial-author-initials {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sgh-gradient);
  color: var(--sgh-white);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sgh-testimonial-author-name { font-weight: 700; font-size: 0.9rem; color: var(--sgh-text); }
.sgh-testimonial-author-role { font-size: 0.78rem; color: var(--sgh-text-muted); }

/* ============================================
   BLOG / POSTS
   ============================================ */
.sgh-post-card {
  background: var(--sgh-white);
  border-radius: var(--sgh-radius-lg);
  overflow: hidden;
  border: 1px solid var(--sgh-border);
  transition: all var(--sgh-transition);
}
.sgh-post-card:hover {
  box-shadow: var(--sgh-shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}
.sgh-post-card-thumbnail {
  position: relative;
  overflow: hidden;
  height: 220px;
}
.sgh-post-card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--sgh-ease);
}
.sgh-post-card:hover .sgh-post-card-thumbnail img { transform: scale(1.05); }
.sgh-post-card-thumb-fallback {
  width: 100%;
  height: 100%;
  background: var(--sgh-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}
.sgh-post-card-cat {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--sgh-accent);
  color: var(--sgh-dark);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
}
.sgh-post-card-body { padding: 1.5rem; }
.sgh-post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  color: var(--sgh-text-muted);
}
.sgh-post-meta a { color: var(--sgh-text-muted); }
.sgh-post-meta a:hover { color: var(--sgh-primary); }
.sgh-post-card h3 { font-size: 1.15rem; margin-bottom: 0.75rem; line-height: 1.35; }
.sgh-post-card h3 a { color: var(--sgh-text); }
.sgh-post-card h3 a:hover { color: var(--sgh-primary); }
.sgh-post-card p { font-size: 0.87rem; }

/* Blog Archive */
.sgh-blog-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: var(--sgh-gap-lg);
  align-items: start;
}
.sgh-blog-posts { display: flex; flex-direction: column; gap: var(--sgh-gap-md); }
.sgh-post-list-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  border-radius: var(--sgh-radius-lg);
  overflow: hidden;
  border: 1px solid var(--sgh-border);
  background: var(--sgh-white);
  transition: all var(--sgh-transition);
}
.sgh-post-list-card:hover {
  box-shadow: var(--sgh-shadow-md);
  transform: translateY(-2px);
  border-color: transparent;
}
.sgh-post-list-card-thumb {
  height: 200px;
  object-fit: cover;
}
.sgh-post-list-card-body { padding: 1.5rem; display: flex; flex-direction: column; justify-content: space-between; }
.sgh-post-list-card-body h2 { font-size: 1.3rem; margin-bottom: 0.75rem; }
.sgh-post-list-card-body h2 a { color: var(--sgh-text); }
.sgh-post-list-card-body h2 a:hover { color: var(--sgh-primary); }
.sgh-post-list-card-body p { font-size: 0.9rem; flex: 1; }

/* Single Post */
.sgh-single-post { max-width: 800px; }
.sgh-post-hero {
  border-radius: var(--sgh-radius-xl);
  overflow: hidden;
  margin-bottom: 2.5rem;
  height: 400px;
}
.sgh-post-hero img { width: 100%; height: 100%; object-fit: cover; }
.sgh-post-content h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 1.5rem; }
.sgh-post-content .entry-content { line-height: 1.8; }
.sgh-post-content .entry-content h2 { margin: 2rem 0 1rem; font-size: 1.5rem; }
.sgh-post-content .entry-content h3 { margin: 1.5rem 0 0.75rem; font-size: 1.25rem; }
.sgh-post-content .entry-content p { color: var(--sgh-text); margin-bottom: 1.25rem; }
.sgh-post-content .entry-content ul, .sgh-post-content .entry-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--sgh-text-muted);
}
.sgh-post-content .entry-content li { margin-bottom: 0.5rem; }
.sgh-post-content .entry-content blockquote {
  border-left: 4px solid var(--sgh-accent);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--sgh-light);
  border-radius: 0 var(--sgh-radius) var(--sgh-radius) 0;
  font-style: italic;
  font-size: 1.1rem;
}
.sgh-post-content .entry-content img { border-radius: var(--sgh-radius); margin: 1.5rem 0; }

/* ============================================
   SIDEBAR
   ============================================ */
.sgh-sidebar { position: sticky; top: 100px; }
.sgh-widget {
  background: var(--sgh-white);
  border: 1px solid var(--sgh-border);
  border-radius: var(--sgh-radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}
.sgh-widget-title {
  font-family: var(--sgh-font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--sgh-text);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--sgh-accent);
  display: inline-block;
}
.sgh-widget ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--sgh-border);
  font-size: 0.88rem;
}
.sgh-widget ul li:last-child { border-bottom: none; }
.sgh-widget ul li a { color: var(--sgh-text-muted); }
.sgh-widget ul li a:hover { color: var(--sgh-primary); }
.sgh-widget-search { display: flex; gap: 0.5rem; }
.sgh-widget-search input {
  flex: 1;
  border: 1px solid var(--sgh-border);
  border-radius: var(--sgh-radius);
  padding: 0.6rem 0.875rem;
  font-size: 0.88rem;
  outline: none;
  transition: border-color var(--sgh-transition);
}
.sgh-widget-search input:focus { border-color: var(--sgh-primary); }
.sgh-widget-search button {
  background: var(--sgh-primary);
  color: var(--sgh-white);
  border: none;
  border-radius: var(--sgh-radius);
  padding: 0.6rem 1rem;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background var(--sgh-transition);
}
.sgh-widget-search button:hover { background: var(--sgh-accent); }

/* ============================================
   PAGE HERO / INNER BANNER
   ============================================ */
.sgh-page-hero {
  background: var(--sgh-gradient-dark);
  padding: var(--sgh-gap-xl) 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.sgh-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 50%, rgba(15,76,117,.5) 0%, transparent 70%);
}
.sgh-page-hero .sgh-container { position: relative; z-index: 1; }
.sgh-page-hero h1 { color: var(--sgh-white); margin-bottom: 1rem; }
.sgh-page-hero p { color: rgba(255,255,255,.7); max-width: 600px; margin: 0 auto; }
.sgh-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,.6);
}
.sgh-breadcrumb a { color: rgba(255,255,255,.6); }
.sgh-breadcrumb a:hover { color: var(--sgh-accent); }
.sgh-breadcrumb-sep { color: rgba(255,255,255,.3); }

/* ============================================
   PAGE TEMPLATES
   ============================================ */

/* About Page */
.sgh-team-card {
  text-align: center;
  padding: 2rem;
  border: 1px solid var(--sgh-border);
  border-radius: var(--sgh-radius-xl);
  transition: all var(--sgh-transition);
}
.sgh-team-card:hover { box-shadow: var(--sgh-shadow-lg); transform: translateY(-4px); }
.sgh-team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  object-fit: cover;
  border: 4px solid var(--sgh-light);
}
.sgh-team-avatar-placeholder {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--sgh-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
  color: white;
  font-weight: 700;
  font-family: var(--sgh-font-heading);
}
.sgh-team-name { font-size: 1.1rem; margin-bottom: 0.25rem; }
.sgh-team-role { font-size: 0.82rem; color: var(--sgh-accent); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }

/* Contact Page */
.sgh-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sgh-gap-xl); align-items: start; }
.sgh-contact-info-item { display: flex; gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--sgh-border); }
.sgh-contact-info-item:last-child { border-bottom: none; }
.sgh-contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(15,76,117,.1);
  border-radius: var(--sgh-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.sgh-contact-info-label { font-size: 0.75rem; font-weight: 700; color: var(--sgh-text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.3rem; }
.sgh-contact-info-value { font-size: 0.95rem; color: var(--sgh-text); font-weight: 500; }

/* Forms */
.sgh-form-group { margin-bottom: 1.25rem; }
.sgh-form-label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--sgh-text); margin-bottom: 0.4rem; }
.sgh-form-input {
  width: 100%;
  border: 1px solid var(--sgh-border);
  border-radius: var(--sgh-radius);
  padding: 0.875rem 1rem;
  font-size: 0.9rem;
  font-family: var(--sgh-font-body);
  outline: none;
  transition: border-color var(--sgh-transition), box-shadow var(--sgh-transition);
  background: var(--sgh-white);
  color: var(--sgh-text);
}
.sgh-form-input:focus {
  border-color: var(--sgh-primary);
  box-shadow: 0 0 0 3px rgba(15,76,117,.1);
}
.sgh-form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
textarea.sgh-form-input { resize: vertical; min-height: 130px; }

/* Services Page */
.sgh-service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sgh-gap-xl);
  align-items: center;
  padding: var(--sgh-gap-lg) 0;
  border-bottom: 1px solid var(--sgh-border);
}
.sgh-service-detail:last-child { border-bottom: none; }
.sgh-service-detail:nth-child(even) .sgh-service-detail-image { order: -1; }
.sgh-service-detail-image {
  border-radius: var(--sgh-radius-xl);
  overflow: hidden;
  height: 350px;
}
.sgh-service-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.sgh-service-detail-image-placeholder {
  width: 100%;
  height: 100%;
  background: var(--sgh-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  border-radius: var(--sgh-radius-xl);
}

/* FAQ */
.sgh-faq-item {
  border: 1px solid var(--sgh-border);
  border-radius: var(--sgh-radius-lg);
  overflow: hidden;
  margin-bottom: 1rem;
}
.sgh-faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  background: var(--sgh-white);
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--sgh-text);
  font-family: var(--sgh-font-body);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: background var(--sgh-transition), color var(--sgh-transition);
}
.sgh-faq-question:hover { background: var(--sgh-light); color: var(--sgh-primary); }
.sgh-faq-question.active { background: var(--sgh-primary); color: var(--sgh-white); }
.sgh-faq-icon { font-size: 1.2rem; flex-shrink: 0; transition: transform var(--sgh-transition); }
.sgh-faq-question.active .sgh-faq-icon { transform: rotate(45deg); }
.sgh-faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--sgh-ease), padding 0.3s;
}
.sgh-faq-answer.open { max-height: 300px; padding: 1.25rem 1.5rem; }
.sgh-faq-answer p { font-size: 0.9rem; margin-bottom: 0; }

/* CTA Section */
.sgh-cta-section {
  background: var(--sgh-gradient);
  border-radius: var(--sgh-radius-xl);
  padding: var(--sgh-gap-lg) var(--sgh-gap-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: var(--sgh-gap-xl) auto;
}
.sgh-cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
}
.sgh-cta-section h2 { color: var(--sgh-white); margin-bottom: 1rem; }
.sgh-cta-section p { color: rgba(255,255,255,.75); max-width: 560px; margin: 0 auto 2.5rem; }
.sgh-cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================
   NEWSLETTER
   ============================================ */
.sgh-newsletter {
  background: var(--sgh-dark-alt);
  border-radius: var(--sgh-radius-xl);
  padding: 2.5rem;
  text-align: center;
}
.sgh-newsletter h3 { color: var(--sgh-white); margin-bottom: 0.5rem; }
.sgh-newsletter p { color: rgba(255,255,255,.65); font-size: 0.9rem; margin-bottom: 1.5rem; }
.sgh-newsletter-form { display: flex; gap: 0.5rem; max-width: 450px; margin: 0 auto; }
.sgh-newsletter-form input {
  flex: 1;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: var(--sgh-white);
  border-radius: var(--sgh-radius);
  padding: 0.875rem 1rem;
  font-size: 0.9rem;
  outline: none;
}
.sgh-newsletter-form input::placeholder { color: rgba(255,255,255,.4); }
.sgh-newsletter-form input:focus { border-color: var(--sgh-accent); }

/* ============================================
   FOOTER
   ============================================ */
.sgh-footer {
  background: var(--sgh-dark);
  color: rgba(255,255,255,.7);
}
.sgh-footer-main {
  padding: var(--sgh-gap-xl) 0 var(--sgh-gap-lg);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sgh-gap-lg);
}
.sgh-footer-brand .sgh-logo-name { color: var(--sgh-white); font-size: 1.3rem; }
.sgh-footer-brand .sgh-logo-tagline { color: rgba(255,255,255,.4); }
.sgh-footer-desc {
  font-size: 0.87rem;
  line-height: 1.75;
  margin: 1.25rem 0;
  color: rgba(255,255,255,.55);
}
.sgh-footer-social { display: flex; gap: 0.75rem; }
.sgh-social-link {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--sgh-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all var(--sgh-transition);
  color: rgba(255,255,255,.6);
}
.sgh-social-link:hover {
  background: var(--sgh-accent);
  border-color: var(--sgh-accent);
  color: var(--sgh-dark);
  transform: translateY(-2px);
}
.sgh-footer-col h4 {
  color: var(--sgh-white);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: var(--sgh-font-body);
}
.sgh-footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.sgh-footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,.55);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--sgh-transition);
}
.sgh-footer-col ul li a::before { content: '›'; color: var(--sgh-accent); }
.sgh-footer-col ul li a:hover { color: var(--sgh-white); padding-left: 3px; }
.sgh-footer-contact-item { display: flex; gap: 0.75rem; font-size: 0.85rem; color: rgba(255,255,255,.55); margin-bottom: 0.875rem; align-items: flex-start; }
.sgh-footer-contact-item span:first-child { flex-shrink: 0; color: var(--sgh-accent); }
.sgh-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,.4);
}
.sgh-footer-bottom a { color: rgba(255,255,255,.4); }
.sgh-footer-bottom a:hover { color: var(--sgh-accent); }
.sgh-footer-bottom-links { display: flex; gap: 1.5rem; }

/* ============================================
   PAGINATION
   ============================================ */
.sgh-pagination {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: var(--sgh-gap-lg);
}
.sgh-pagination a, .sgh-pagination span {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--sgh-border);
  border-radius: var(--sgh-radius);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--sgh-transition);
  color: var(--sgh-text-muted);
}
.sgh-pagination a:hover, .sgh-pagination .current {
  background: var(--sgh-primary);
  border-color: var(--sgh-primary);
  color: var(--sgh-white);
}

/* ============================================
   COMMENTS
   ============================================ */
.sgh-comments { margin-top: var(--sgh-gap-lg); }
.sgh-comment-list { list-style: none; }
.comment {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--sgh-border);
}
.comment .children { padding-left: 2rem; }
.comment-author { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.comment-author img { border-radius: 50%; }
.comment-author .fn { font-weight: 700; font-size: 0.9rem; }
.comment-meta { font-size: 0.78rem; color: var(--sgh-text-muted); }
.comment-content p { font-size: 0.9rem; }
.comment-reply-link { font-size: 0.8rem; font-weight: 700; color: var(--sgh-primary); text-transform: uppercase; letter-spacing: 0.08em; }

/* ============================================
   SEARCH RESULTS
   ============================================ */
.sgh-search-form { display: flex; gap: 0.5rem; max-width: 500px; }
.sgh-search-form input {
  flex: 1;
  border: 2px solid var(--sgh-border);
  border-radius: var(--sgh-radius);
  padding: 0.875rem 1rem;
  font-size: 0.9rem;
  outline: none;
}
.sgh-search-form input:focus { border-color: var(--sgh-primary); }

/* ============================================
   UTILITY CLASSES
   ============================================ */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-sm { margin-bottom: var(--sgh-gap-sm); }
.mb-md { margin-bottom: var(--sgh-gap-md); }
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}
.sgh-tag {
  display: inline-block;
  background: var(--sgh-light);
  color: var(--sgh-text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  border: 1px solid var(--sgh-border);
  transition: all var(--sgh-transition);
}
.sgh-tag:hover { background: var(--sgh-primary); color: white; border-color: var(--sgh-primary); }
.sgh-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .sgh-footer-main { grid-template-columns: 1fr 1fr; gap: var(--sgh-gap-md); }
  .sgh-blog-layout { grid-template-columns: 1fr; }
  .sgh-sidebar { position: static; }
  .sgh-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .sgh-about-grid { gap: var(--sgh-gap-lg); }
}

@media (max-width: 768px) {
  :root { --sgh-gap-xl: 4rem; --sgh-gap-lg: 2.5rem; }
  .sgh-nav, .sgh-header-cta { display: none; }
  .sgh-nav.open { display: flex; flex-direction: column; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--sgh-dark); z-index: 200; padding: 5rem 2rem 2rem; gap: 0; overflow-y: auto; }
  .sgh-nav.open ul { flex-direction: column; width: 100%; gap: 0; }
  .sgh-nav.open ul li a { padding: 1rem 0; font-size: 1.1rem; color: rgba(255,255,255,.8); border-bottom: 1px solid rgba(255,255,255,.08); }
  .sgh-mobile-toggle { display: flex; z-index: 300; }
  .sgh-mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .sgh-mobile-toggle.active span:nth-child(2) { opacity: 0; }
  .sgh-mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  .sgh-grid-2, .sgh-grid-3, .sgh-grid-4 { grid-template-columns: 1fr; }
  .sgh-hero { min-height: 70vh; }
  .sgh-hero-media { display: none; }
  .sgh-hero-stats { flex-direction: column; gap: 1.5rem; }
  .sgh-about-grid { grid-template-columns: 1fr; }
  .sgh-about-image-stack { height: 320px; }
  .sgh-contact-grid { grid-template-columns: 1fr; }
  .sgh-service-detail { grid-template-columns: 1fr; }
  .sgh-service-detail:nth-child(even) .sgh-service-detail-image { order: 0; }
  .sgh-footer-main { grid-template-columns: 1fr; gap: var(--sgh-gap-md); }
  .sgh-footer-bottom { flex-direction: column; text-align: center; }
  .sgh-post-list-card { grid-template-columns: 1fr; }
  .sgh-post-list-card-thumb { height: 200px; width: 100%; }
  .sgh-topbar { display: none; }
  .sgh-newsletter-form { flex-direction: column; }
  .sgh-cta-section { padding: var(--sgh-gap-lg) var(--sgh-gap-md); }
  .sgh-form-grid-2 { grid-template-columns: 1fr; }
  .sgh-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .sgh-hero-actions { flex-direction: column; }
  .sgh-btn { justify-content: center; }
  .sgh-stats-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}
