/*
Theme Name: ScaleGrowth Digital
Theme URI: https://scalegrowth.digital
Author: ScaleGrowth Digital
Author URI: https://scalegrowth.digital
Description: A precision-crafted theme for ScaleGrowth Digital — performance-driven digital growth agency. Features editorial typography, cinematic dark sections, and data-driven design language.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: scalegrowth
Requires at least: 6.0
Requires PHP: 8.0
*/

/* ============================================
   Design Tokens
   ============================================ */
:root {
    /* --- Depths (Navy Continuum) --- */
    --depth-abyss: #030A14;
    --depth-deep: #071526;
    --depth-base: #0B1D3A;
    --depth-mid: #132D54;
    --depth-surface: #1B4070;
    --depth-glow: #2458A0;

    /* --- Accent: Gold (Confidence) --- */
    --gold: #C8963E;
    --gold-bright: #DAAD5A;
    --gold-glow: #E8C97A;
    --gold-pale: #FDF6E9;
    --gold-mist: rgba(200, 150, 62, 0.08);

    /* --- Accent: Teal (Precision) --- */
    --teal: #0D9488;
    --teal-bright: #14B8A6;
    --teal-glow: #2DD4BF;
    --teal-pale: #F0FDFA;
    --teal-mist: rgba(13, 148, 136, 0.08);

    /* --- Accent: Coral (Energy) --- */
    --coral: #E8634A;
    --coral-bright: #F97066;
    --coral-pale: #FFF1F0;

    /* --- Accent: Amber (Warmth) --- */
    --amber: #D97706;
    --amber-bright: #F59E0B;
    --amber-pale: #FFFBEB;

    /* --- Neutrals --- */
    --white: #FFFFFF;
    --bone: #FAF9F7;
    --sand: #F3F1ED;
    --stone-100: #E8E6E1;
    --stone-200: #D4D1CB;
    --stone-300: #B8B4AD;
    --stone-400: #918C84;
    --stone-500: #6B665E;
    --stone-600: #504C46;
    --stone-700: #3A3732;
    --stone-800: #252320;
    --stone-900: #141311;

    /* --- Typography --- */
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', monospace;

    /* --- Sizing --- */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    --text-7xl: 4.5rem;
    --text-8xl: 6rem;

    /* --- Shadows --- */
    --shadow-subtle: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.1), 0 4px 8px rgba(0,0,0,0.04);
    --shadow-xl: 0 24px 56px rgba(0,0,0,0.14);
    --shadow-glow-gold: 0 0 40px rgba(200, 150, 62, 0.15);
    --shadow-glow-teal: 0 0 40px rgba(13, 148, 136, 0.15);

    /* --- Radius --- */
    --radius-sm: 4px;
    --radius: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* --- Motion --- */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --duration-fast: 0.15s;
    --duration: 0.3s;
    --duration-slow: 0.6s;
    --duration-glacial: 1.2s;

    /* --- Layout --- */
    --header-height: 76px;
    --container-max: 1240px;
    --container-narrow: 800px;
    --gutter: 24px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 400;
    line-height: 1.7;
    color: var(--stone-700);
    background: var(--white);
    overflow-x: hidden;
}

::selection {
    background: var(--gold);
    color: var(--depth-base);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--duration) var(--ease-out);
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol { list-style: none; }

/* ============================================
   Typography System
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.5;
    color: var(--stone-900);
    letter-spacing: 0;
}

h1 { font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl)); line-height: 1.15; letter-spacing: -0.03em; }
h2 { font-size: clamp(var(--text-3xl), 4vw, var(--text-4xl)); line-height: 1.2; letter-spacing: -0.02em; }
h3 { font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl)); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); font-weight: 700; }

p { margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }

.sg-label {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
}

.sg-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold);
    margin-bottom: 20px;
}

.sg-eyebrow::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--gold);
}

/* Gold gradient text */
.sg-gradient-text {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-glow) 50%, var(--teal-bright) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Layout System
   ============================================ */
.sg-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.sg-container--narrow {
    max-width: var(--container-narrow);
}

/* ============================================
   Prose / Content Typography (for auto-wrapped pages)
   ============================================ */
.sg-section > .sg-container > h1,
.sg-section > .sg-container > h2,
.sg-section > .sg-container > h3,
.sg-section > .sg-container > h4 {
    max-width: var(--container-narrow, 800px);
}

.sg-section > .sg-container > p,
.sg-section > .sg-container > ul,
.sg-section > .sg-container > ol,
.sg-section > .sg-container > blockquote {
    max-width: var(--container-narrow, 800px);
    line-height: 1.8;
    color: var(--stone-600);
}

.sg-section > .sg-container > h2 {
    margin-top: 48px;
    margin-bottom: 16px;
}

.sg-section > .sg-container > h3 {
    margin-top: 32px;
    margin-bottom: 12px;
}

.sg-section > .sg-container > p + p {
    margin-top: 16px;
}

.sg-section > .sg-container > ul,
.sg-section > .sg-container > ol {
    padding-left: 24px;
    margin: 16px 0;
}

.sg-section > .sg-container > ul li,
.sg-section > .sg-container > ol li {
    margin-bottom: 8px;
}

.sg-section > .sg-container > blockquote {
    border-left: 4px solid var(--gold);
    padding: 20px 24px;
    margin: 32px 0;
    background: rgba(0,0,0,0.02);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
}

.sg-section > .sg-container > blockquote p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.7;
}

.sg-section {
    padding: 120px 0;
    position: relative;
}

.sg-section--compact {
    padding: 80px 0;
}

/* ============================================
   Article Layout (Blog Single)
   ============================================ */
.sg-article {
    padding: 80px 0;
}

.sg-article__layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 64px;
    align-items: start;
}

.sg-article__content {
    max-width: 780px;
    font-size: var(--text-lg);
    line-height: 1.8;
    color: var(--stone-600);
}

.sg-article__content h2 {
    margin-top: 48px;
    margin-bottom: 16px;
    color: var(--stone-800);
}

.sg-article__content h3 {
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--stone-800);
}

.sg-article__content p {
    margin-bottom: 20px;
}

.sg-article__content blockquote {
    border-left: 3px solid var(--gold);
    padding: 16px 24px;
    margin: 32px 0;
    background: var(--gold-mist);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--stone-700);
}

/* Global table styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    font-size: var(--text-base);
}

th, td {
    padding: 12px 16px;
    border: 1px solid var(--stone-200);
    text-align: left;
}

th {
    background: var(--bone);
    font-weight: 600;
    color: var(--stone-800);
}

/* Dark section tables */
.sg-dark table th,
.sg-dark table td {
    border-color: rgba(255,255,255,0.1);
}

.sg-dark table th {
    background: rgba(255,255,255,0.05);
    color: var(--white);
}

.sg-article__featured {
    margin-bottom: 48px;
}

.sg-article__nav {
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid var(--stone-100);
    display: flex;
    justify-content: space-between;
}

.sg-article__sidebar {
    position: sticky;
    top: 100px;
}

.sg-article__author-card {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.sg-article__author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-glow));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    color: var(--depth-base);
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .sg-article__layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .sg-article__sidebar {
        position: static;
        border-top: 1px solid var(--stone-100);
        padding-top: 32px;
    }
}

/* ============================================
   Dark Sections (Cinematic)
   ============================================ */
.sg-dark {
    background: var(--depth-base);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.sg-dark h1, .sg-dark h2, .sg-dark h3,
.sg-dark h4, .sg-dark h5, .sg-dark h6 {
    color: var(--white);
}

.sg-dark p {
    color: rgba(255,255,255,0.6);
}

.sg-dark .sg-eyebrow {
    color: var(--gold-glow);
}

.sg-dark .sg-eyebrow::before {
    background: var(--gold-glow);
}

/* Cinematic gradient background */
.sg-dark--cinematic {
    background: linear-gradient(170deg,
        var(--depth-abyss) 0%,
        var(--depth-deep) 25%,
        var(--depth-base) 50%,
        var(--depth-mid) 80%,
        var(--depth-surface) 100%
    );
}

/* Atmospheric overlays */
.sg-dark--cinematic::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 40%, rgba(200,150,62,0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(13,148,136,0.04) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 90%, rgba(200,150,62,0.03) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.sg-dark--cinematic > * {
    position: relative;
    z-index: 1;
}

/* Grain texture overlay */
.sg-dark::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* Warm section variant */
.sg-warm {
    background: var(--bone);
}

/* ============================================
   Header / Navigation
   ============================================ */
.sg-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--header-height);
    transition: all var(--duration-slow) var(--ease-out);
}

.sg-header__bg {
    position: absolute;
    inset: 0;
    background: rgba(11, 29, 58, 0.85);
    backdrop-filter: blur(24px) saturate(1.8);
    -webkit-backdrop-filter: blur(24px) saturate(1.8);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: all var(--duration-slow) var(--ease-out);
}

.sg-header.scrolled .sg-header__bg {
    background: rgba(3, 10, 20, 0.95);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    border-bottom-color: rgba(200,150,62,0.1);
}

.sg-header__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* Logo */
.sg-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sg-logo__mark {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--gold), var(--gold-glow));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 18px;
    color: var(--depth-base);
    transform: rotate(-3deg);
    transition: transform var(--duration) var(--ease-out);
}

.sg-logo:hover .sg-logo__mark {
    transform: rotate(0deg) scale(1.05);
}

.sg-logo__text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 18px;
    color: var(--white);
    letter-spacing: -0.03em;
}

.sg-logo__text em {
    font-style: normal;
    color: var(--gold);
}

/* Nav */
.sg-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.sg-nav__link {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    padding: 8px 16px;
    border-radius: var(--radius);
    transition: all var(--duration) var(--ease-out);
    position: relative;
}

.sg-nav__link:hover {
    color: var(--white);
    background: rgba(255,255,255,0.06);
}

.sg-nav__link.current-menu-item > a,
.sg-nav__link.active {
    color: var(--gold-glow);
}

/* WordPress menu items */
.sg-nav .menu-item a {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    padding: 8px 16px;
    border-radius: var(--radius);
    transition: all var(--duration) var(--ease-out);
    display: block;
}

.sg-nav .menu-item a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.06);
}

.sg-nav .current-menu-item > a,
.sg-nav .current-page-ancestor > a {
    color: var(--gold-glow);
}

/* Dropdown / Sub-menu */
.sg-nav .menu-item-has-children {
    position: relative;
}

.sg-nav .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    margin-left: 6px;
    vertical-align: middle;
    transition: transform 0.2s;
}

.sg-nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--depth-base);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    padding: 8px 0;
    box-shadow: 0 16px 48px rgba(0,0,0,0.4);
    z-index: 1000;
    backdrop-filter: blur(20px);
}

.sg-nav .menu-item-has-children:hover > .sub-menu {
    display: block;
    animation: sg-dropdown-in 0.2s ease-out;
}

@keyframes sg-dropdown-in {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.sg-nav .sub-menu .menu-item a {
    font-size: 13px;
    padding: 8px 20px;
    border-radius: 0;
    white-space: nowrap;
}

.sg-nav .sub-menu .menu-item a:hover {
    background: rgba(255,255,255,0.06);
    color: var(--gold-glow);
}

.sg-nav__cta,
.sg-nav .sg-nav-cta a {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--depth-base) !important;
    background: linear-gradient(135deg, var(--gold), var(--gold-bright)) !important;
    padding: 10px 24px !important;
    border-radius: var(--radius-full) !important;
    margin-left: 12px;
    transition: all var(--duration) var(--ease-out) !important;
}

.sg-nav__cta:hover,
.sg-nav .sg-nav-cta a:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow-gold);
    background: linear-gradient(135deg, var(--gold-bright), var(--gold-glow)) !important;
}

/* Hamburger */
.sg-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    z-index: 101;
}

.sg-hamburger__line {
    width: 100%;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--duration) var(--ease-out);
    transform-origin: center;
}

.sg-hamburger.active .sg-hamburger__line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.sg-hamburger.active .sg-hamburger__line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.sg-hamburger.active .sg-hamburger__line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Hero
   ============================================ */
.sg-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    position: relative;
    overflow: hidden;
}

.sg-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.sg-hero__content {
    position: relative;
    z-index: 2;
}

.sg-hero__title {
    color: var(--white);
    margin-bottom: 28px;
    line-height: 1.45;
}

.sg-hero__subtitle {
    font-size: var(--text-lg);
    color: rgba(255,255,255,0.55);
    margin-bottom: 48px;
    max-width: 520px;
    line-height: 1.8;
}

.sg-hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

/* Hero visual — data art */
.sg-hero__visual {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sg-hero__orb {
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 35%, rgba(200,150,62,0.2), transparent 50%),
        radial-gradient(circle at 65% 65%, rgba(13,148,136,0.15), transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(200,150,62,0.05), transparent 70%);
    border: 1px solid rgba(200,150,62,0.12);
    position: relative;
    animation: orbFloat 8s var(--ease-in-out) infinite;
}

.sg-hero__orb::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    padding: 1px;
    background: conic-gradient(from 0deg, var(--gold), transparent, var(--teal), transparent, var(--gold));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: orbRotate 20s linear infinite;
}

.sg-hero__orb::after {
    content: '';
    position: absolute;
    inset: 40px;
    border-radius: 50%;
    border: 1px dashed rgba(200,150,62,0.15);
    animation: orbRotate 30s linear infinite reverse;
}

/* Hero stat pills floating */
.sg-hero__float-stat {
    position: absolute;
    background: rgba(11, 29, 58, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(200,150,62,0.15);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    z-index: 3;
    animation: floatBob 6s var(--ease-in-out) infinite;
}

.sg-hero__float-stat:nth-child(1) {
    top: 10%;
    right: 5%;
    animation-delay: -1s;
}

.sg-hero__float-stat:nth-child(2) {
    bottom: 20%;
    left: 0;
    animation-delay: -3s;
}

.sg-hero__float-stat .stat-value {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: var(--text-2xl);
    color: var(--gold-glow);
    line-height: 1;
}

.sg-hero__float-stat .stat-label {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

/* Hero bottom metrics bar */
.sg-hero__metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius-md);
    overflow: hidden;
    max-width: 560px;
}

.sg-hero__metric {
    padding: 20px 24px;
    background: rgba(11, 29, 58, 0.6);
    backdrop-filter: blur(8px);
}

.sg-hero__metric-value {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: var(--text-2xl);
    color: var(--white);
    line-height: 1;
    margin-bottom: 4px;
}

.sg-hero__metric-label {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.35);
}

@keyframes orbFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.02); }
}

@keyframes orbRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes floatBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ============================================
   Buttons
   ============================================ */
.sg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    padding: 12px 28px;
    border-radius: 8px;
    transition: all var(--duration) var(--ease-out);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    line-height: 1.4;
    width: auto;
    max-width: 100%;
    text-decoration: none;
}

/* Kill <br> tags injected by wpautop inside buttons and form inputs */
.sg-btn br,
.sg-hero-form br,
.sg-form br,
.sg-contact-form br,
.sg-briefing-form br {
    display: none;
}

.sg-btn--primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-bright));
    color: var(--depth-base);
}

.sg-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-gold), var(--shadow-lg);
    color: var(--depth-base);
}

.sg-btn--ghost {
    background: transparent;
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.15);
}

.sg-btn--ghost:hover {
    color: var(--white);
    border-color: rgba(200,150,62,0.4);
    background: rgba(200,150,62,0.06);
}

.sg-btn--dark {
    background: var(--depth-base);
    color: var(--white);
}

.sg-btn--dark:hover {
    background: var(--depth-mid);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.sg-btn--teal {
    background: linear-gradient(135deg, var(--teal), var(--teal-bright));
    color: var(--white);
}

.sg-btn--teal:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-teal), var(--shadow-lg);
    color: var(--white);
}

.sg-btn__arrow {
    transition: transform var(--duration) var(--ease-out);
}

.sg-btn:hover .sg-btn__arrow {
    transform: translateX(4px);
}

/* ============================================
   Cards
   ============================================ */
.sg-card {
    background: var(--white);
    border: 1px solid var(--stone-100);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: all var(--duration-slow) var(--ease-out);
    position: relative;
}

.sg-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--teal));
    border-radius: 2px;
    opacity: 0;
    transform: scaleX(0.3);
    transition: all var(--duration-slow) var(--ease-out);
}

.sg-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.sg-card:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.sg-card__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-size: 24px;
    position: relative;
}

.sg-card__icon--gold {
    background: var(--gold-pale);
    color: var(--gold);
}

.sg-card__icon--teal {
    background: var(--teal-pale);
    color: var(--teal);
}

.sg-card__title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--stone-900);
}

.sg-card__text {
    font-size: var(--text-sm);
    color: var(--stone-500);
    line-height: 1.8;
}

.sg-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--gold);
    margin-top: 20px;
    transition: gap var(--duration) var(--ease-out);
}

.sg-card__link:hover {
    gap: 10px;
    color: var(--gold-bright);
}

/* Dark card */
.sg-card--dark {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.06);
}

.sg-card--dark:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(200,150,62,0.2);
}

.sg-card--dark .sg-card__title { color: var(--white); }
.sg-card--dark .sg-card__text { color: rgba(255,255,255,0.5); }

/* ============================================
   Grid Systems
   ============================================ */
.sg-grid {
    display: grid;
    gap: 32px;
}

.sg-grid--2 { grid-template-columns: repeat(2, 1fr); }
.sg-grid--3 { grid-template-columns: repeat(3, 1fr); }
.sg-grid--4 { grid-template-columns: repeat(4, 1fr); }

.sg-grid--asymmetric {
    grid-template-columns: 1.2fr 0.8fr;
}

/* ============================================
   Section Headers
   ============================================ */
.sg-section-header {
    margin-bottom: 64px;
}

.sg-section-header--center {
    text-align: center;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.sg-section-header__title {
    margin-bottom: 16px;
}

.sg-section-header__subtitle {
    font-size: var(--text-lg);
    color: var(--stone-500);
    line-height: 1.8;
}

.sg-dark .sg-section-header__subtitle {
    color: rgba(255,255,255,0.5);
}

/* ============================================
   Stats Bar
   ============================================ */
.sg-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.sg-stat {
    padding: 48px 32px;
    text-align: center;
    position: relative;
}

.sg-stat + .sg-stat::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: rgba(255,255,255,0.08);
}

.sg-stat__number {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: var(--text-5xl);
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--gold), var(--gold-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sg-stat__label {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.4);
}

/* ============================================
   Case Study Cards
   ============================================ */
.sg-case-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    background: var(--stone-900);
    transition: all var(--duration-slow) var(--ease-out);
}

.sg-case-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.sg-case-card__image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

.sg-case-card:hover .sg-case-card__image {
    transform: scale(1.05);
}

.sg-case-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(3,10,20,0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
}

.sg-case-card__category {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold-glow);
    margin-bottom: 8px;
}

.sg-case-card__title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.sg-case-card__result {
    font-size: var(--text-sm);
    color: var(--teal-glow);
    font-weight: 600;
}

/* ============================================
   Testimonials
   ============================================ */
.sg-testimonial {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    position: relative;
    border: 1px solid var(--stone-100);
    box-shadow: var(--shadow-sm);
}

.sg-testimonial__quote-mark {
    font-family: var(--font-display);
    font-size: 100px;
    line-height: 0.6;
    color: var(--gold);
    opacity: 0.12;
    position: absolute;
    top: 24px;
    left: 32px;
}

.sg-testimonial__text {
    font-size: var(--text-lg);
    color: var(--stone-700);
    line-height: 1.9;
    margin-bottom: 28px;
    font-style: italic;
    position: relative;
}

.sg-testimonial__author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sg-testimonial__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold-pale);
}

.sg-testimonial__avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-glow));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 18px;
    color: var(--depth-base);
}

.sg-testimonial__name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--text-sm);
    color: var(--stone-900);
}

.sg-testimonial__role {
    font-size: var(--text-xs);
    color: var(--stone-400);
}

/* ============================================
   CTA Section
   ============================================ */
.sg-cta {
    text-align: center;
    padding: 120px var(--gutter);
    position: relative;
    overflow: hidden;
}

.sg-cta__content {
    position: relative;
    z-index: 2;
}

.sg-cta__title {
    color: var(--white);
    margin-bottom: 20px;
}

.sg-cta__subtitle {
    font-size: var(--text-lg);
    color: rgba(255,255,255,0.5);
    margin-bottom: 48px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Decorative line */
.sg-cta__line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--teal));
    margin: 0 auto 32px;
    border-radius: 2px;
}

/* ============================================
   Footer
   ============================================ */
.sg-footer {
    background: var(--depth-abyss);
    padding: 80px 0 0;
    color: rgba(255,255,255,0.5);
    position: relative;
}

.sg-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200,150,62,0.3), var(--teal), rgba(200,150,62,0.3), transparent);
}

.sg-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 64px;
}

.sg-footer__brand {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: var(--text-xl);
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.sg-footer__brand em {
    font-style: normal;
    color: var(--gold);
}

.sg-footer__about {
    font-size: var(--text-sm);
    line-height: 1.9;
    color: rgba(255,255,255,0.4);
    max-width: 300px;
}

.sg-footer__heading {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 24px;
}

.sg-footer__links li {
    margin-bottom: 12px;
}

.sg-footer__links a {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.45);
    transition: all var(--duration) var(--ease-out);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sg-footer__links a:hover {
    color: var(--gold-glow);
    transform: translateX(4px);
}

.sg-footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.5);
}

.sg-footer__contact-icon {
    color: var(--gold);
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.sg-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sg-footer__copyright {
    font-size: var(--text-xs);
    color: rgba(255,255,255,0.25);
}

.sg-footer__social {
    display: flex;
    gap: 16px;
}

.sg-footer__social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.4);
    font-size: 14px;
    transition: all var(--duration) var(--ease-out);
}

.sg-footer__social a:hover {
    background: var(--gold);
    color: var(--depth-base);
    transform: translateY(-2px);
}

/* ============================================
   Page Header (Interior pages)
   ============================================ */
.sg-page-hero {
    padding: 120px 0 48px;
    position: relative;
    overflow: hidden;
}

.sg-page-hero__content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

/* Two-column hero layout when __sidebar is present */
.sg-page-hero__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.sg-page-hero__grid .sg-page-hero__content {
    max-width: none;
}

.sg-page-hero__sidebar {
    position: relative;
    z-index: 2;
}

/* Hero inline form (compact lead capture for right side) */
.sg-hero-form {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 32px;
    backdrop-filter: blur(10px);
}

.sg-hero-form__title {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.sg-hero-form .sg-form-input,
.sg-hero-form input[type="text"],
.sg-hero-form input[type="email"],
.sg-hero-form input[type="tel"] {
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    color: #FFFFFF !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    width: 100%;
    font-size: 14px;
    margin-bottom: 12px;
    font-family: inherit;
    -webkit-appearance: none;
}

.sg-hero-form .sg-form-input::placeholder,
.sg-hero-form input::placeholder {
    color: rgba(255,255,255,0.45) !important;
    opacity: 1;
}

.sg-hero-form .sg-form-input:focus,
.sg-hero-form input:focus {
    outline: none;
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 3px rgba(200,150,62,0.15);
}

.sg-hero-form .sg-btn {
    width: 100%;
    margin-top: 4px;
}

/* Briefing form button — NOT full width */
.sg-briefing-form .sg-btn {
    width: auto;
}

/* Ensure buttons in all forms stay inline unless explicitly full-width */
form .sg-btn,
.sg-form .sg-btn,
.sg-contact-form .sg-btn {
    display: inline-flex;
    width: auto;
}

/* Hero form: override .sg-form flex layout so labels + inputs stack */
.sg-hero-form .sg-form {
    display: block;
    max-width: none;
    margin: 0;
}

.sg-hero-form .sg-form label {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    display: block;
    margin-bottom: 4px;
    margin-top: 12px;
}

.sg-hero-form .sg-form label:first-of-type {
    margin-top: 0;
}

/* Only hero sidebar form gets full-width button */
.sg-hero-form .sg-btn {
    display: flex;
    width: 100%;
    margin-top: 16px;
}

.sg-hero-form__trust {
    margin-top: 16px;
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    text-align: center;
}

@media (max-width: 768px) {
    .sg-page-hero__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.sg-page-hero__title {
    color: var(--white);
    margin-bottom: 16px;
}

.sg-page-hero__subtitle {
    font-size: var(--text-lg);
    color: rgba(255,255,255,0.55);
    line-height: 1.8;
}

/* Decorative circles — contained to prevent overflow */
.sg-page-hero__deco {
    position: absolute;
    right: -100px;
    top: -100px;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(200,150,62,0.08);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.sg-page-hero__deco:nth-child(2) {
    width: 400px;
    height: 400px;
    right: -50px;
    top: -50px;
    border-color: rgba(13,148,136,0.06);
}

/* ============================================
   Blog / Posts
   ============================================ */
.sg-post-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--stone-100);
    transition: all var(--duration-slow) var(--ease-out);
}

.sg-post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.sg-post-card__image-wrap {
    overflow: hidden;
    height: 220px;
}

.sg-post-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

.sg-post-card:hover .sg-post-card__image {
    transform: scale(1.05);
}

.sg-post-card__body {
    padding: 28px;
}

.sg-post-card__meta {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold);
    margin-bottom: 10px;
}

.sg-post-card__title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
}

.sg-post-card__title a {
    color: var(--stone-900);
    transition: color var(--duration) var(--ease-out);
}

.sg-post-card__title a:hover {
    color: var(--gold);
}

.sg-post-card__excerpt {
    font-size: var(--text-sm);
    color: var(--stone-500);
    line-height: 1.8;
}

/* Single post */
.sg-single {
    padding: 80px 0;
}

.sg-single__content {
    max-width: var(--container-narrow);
    margin: 0 auto;
}

.sg-single__content h2 {
    margin-top: 48px;
    margin-bottom: 16px;
}

.sg-single__content h3 {
    margin-top: 36px;
    margin-bottom: 12px;
}

.sg-single__content p {
    font-size: var(--text-lg);
    line-height: 1.9;
    color: var(--stone-600);
    margin-bottom: 24px;
}

.sg-single__content ul,
.sg-single__content ol {
    margin-bottom: 24px;
    padding-left: 24px;
    list-style: disc;
}

.sg-single__content li {
    margin-bottom: 8px;
    font-size: var(--text-lg);
    color: var(--stone-600);
    line-height: 1.8;
}

.sg-single__content blockquote {
    border-left: 3px solid var(--gold);
    padding: 20px 28px;
    margin: 32px 0;
    background: var(--gold-mist);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--stone-700);
}

.sg-single__content img {
    border-radius: var(--radius-md);
    margin: 32px 0;
}

.sg-single__content a {
    color: var(--gold);
    border-bottom: 1px solid var(--gold);
}

.sg-single__content a:hover {
    color: var(--gold-bright);
    border-bottom-color: var(--gold-bright);
}

/* ============================================
   Services Page
   ============================================ */
.sg-service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 80px 0;
}

.sg-service-detail:nth-child(even) {
    direction: rtl;
}

.sg-service-detail:nth-child(even) > * {
    direction: ltr;
}

.sg-service-detail + .sg-service-detail {
    border-top: 1px solid var(--stone-100);
}

.sg-service-detail__number {
    font-family: var(--font-display);
    font-size: var(--text-8xl);
    font-weight: 900;
    color: var(--stone-100);
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -0.04em;
}

/* ============================================
   Contact Form
   ============================================ */
.sg-form-group {
    margin-bottom: 24px;
}

.sg-form-label {
    display: block;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--stone-700);
    margin-bottom: 8px;
}

.sg-form-input,
.sg-form-textarea,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: var(--text-base);
    border: 1.5px solid var(--stone-200);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--stone-800);
    transition: all var(--duration) var(--ease-out);
    outline: none;
}

.sg-form-input:focus,
.sg-form-textarea:focus,
.wpcf7 input:focus,
.wpcf7 textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px var(--gold-mist);
}

.sg-form-textarea,
.wpcf7 textarea {
    min-height: 160px;
    resize: vertical;
}

/* Form status messages */
.sg-form-status {
    padding: 14px 20px;
    border-radius: var(--radius);
    font-size: var(--text-sm);
    font-weight: 500;
    margin-bottom: 20px;
}

.sg-form-status--success {
    background: var(--teal-pale);
    color: var(--teal);
    border: 1px solid var(--teal);
}

.sg-form-status--error {
    background: var(--coral-pale);
    color: var(--coral);
    border: 1px solid var(--coral);
}

.sg-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* ============================================
   Resource Page Lead Gate Forms
   ============================================ */
.sg-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
}

.sg-form input[type="text"],
.sg-form input[type="email"] {
    flex: 1 1 180px;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: var(--text-base);
    border: 1.5px solid var(--stone-200);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--stone-800);
    transition: all var(--duration) var(--ease-out);
    outline: none;
}

.sg-form input[type="text"]:focus,
.sg-form input[type="email"]:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px var(--gold-mist);
}

.sg-form .sg-btn {
    flex: 1 1 100%;
}

.sg-resource-gate {
    background: var(--stone-50);
    border: 1.5px solid var(--stone-200);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    margin: 32px 0;
}

.sg-resource-gate h3 {
    margin-bottom: 8px;
}

.sg-resource-gate p {
    margin-bottom: 24px;
    color: var(--stone-600);
}

.sg-resource-preview {
    background: var(--depth-base);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin: 24px 0;
    font-family: var(--font-body);
}

.sg-resource-preview h3 {
    color: var(--gold-bright);
    margin-bottom: 16px;
}

.sg-resource-preview ul {
    list-style: none;
    padding: 0;
}

.sg-resource-preview li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sg-resource-preview li:last-child {
    border-bottom: none;
}

.sg-resource-preview .preview-check {
    color: var(--teal-bright);
    margin-right: 8px;
}

.sg-resource-preview .preview-locked {
    color: var(--stone-500);
    margin-right: 8px;
}

.sg-related-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin: 32px 0;
}

.sg-related-links a {
    display: block;
    padding: 20px;
    background: var(--white);
    border: 1.5px solid var(--stone-200);
    border-radius: var(--radius);
    color: var(--stone-800);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--duration) var(--ease-out);
}

.sg-related-links a:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.wpcf7-submit {
    background: linear-gradient(135deg, var(--gold), var(--gold-bright)) !important;
    color: var(--depth-base) !important;
    font-family: var(--font-body) !important;
    font-weight: 600 !important;
    padding: 14px 40px !important;
    border-radius: var(--radius-full) !important;
    border: none !important;
    font-size: 15px !important;
    cursor: pointer !important;
    transition: all var(--duration) var(--ease-out) !important;
}

.wpcf7-submit:hover {
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-glow-gold) !important;
}

/* ============================================
   About Page
   ============================================ */
.sg-about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.sg-value-card {
    padding: 40px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--stone-100);
    text-align: center;
    transition: all var(--duration-slow) var(--ease-out);
}

.sg-value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.sg-value-card__icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.sg-value-card__title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--stone-900);
}

.sg-value-card__text {
    font-size: var(--text-sm);
    color: var(--stone-500);
    line-height: 1.8;
}

/* ============================================
   404 Page
   ============================================ */
.sg-404 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.sg-404__number {
    font-family: var(--font-display);
    font-size: clamp(8rem, 20vw, 16rem);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--gold), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.15;
    margin-bottom: -40px;
    position: relative;
}

.sg-404__title {
    position: relative;
    margin-bottom: 16px;
    color: var(--white);
}

.sg-404__text {
    color: rgba(255,255,255,0.5);
    margin-bottom: 32px;
    font-size: var(--text-lg);
}

/* ============================================
   WordPress Block Styles
   ============================================ */
.wp-block-image img {
    border-radius: var(--radius-md);
}

.wp-block-quote {
    border-left: 3px solid var(--gold);
    padding-left: 24px;
}

.wp-block-separator {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--teal));
    max-width: 120px;
    margin: 48px auto;
    border-radius: 2px;
}

/* ============================================
   Scroll Animations
   ============================================ */
.sg-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out);
}

.sg-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.sg-reveal--delay-1 { transition-delay: 0.1s; }
.sg-reveal--delay-2 { transition-delay: 0.2s; }
.sg-reveal--delay-3 { transition-delay: 0.3s; }
.sg-reveal--delay-4 { transition-delay: 0.4s; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .sg-hero__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .sg-hero__visual {
        display: none;
    }

    .sg-grid--3 { grid-template-columns: repeat(2, 1fr); }
    .sg-grid--4 { grid-template-columns: repeat(2, 1fr); }

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

    .sg-service-detail {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sg-service-detail:nth-child(even) {
        direction: ltr;
    }

    .sg-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .sg-about-values {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --gutter: 20px;
    }

    .sg-nav {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(3, 10, 20, 0.98);
        backdrop-filter: blur(24px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 8px;
        z-index: 99;
    }

    .sg-nav.active {
        display: flex;
    }

    .sg-nav .menu-item > a {
        font-size: var(--text-xl);
        padding: 10px 24px;
    }

    .sg-nav .sub-menu {
        position: static;
        display: none;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        min-width: unset;
    }

    .sg-nav .menu-item-has-children.mobile-open > .sub-menu {
        display: block;
    }

    .sg-nav .sub-menu .menu-item a {
        font-size: var(--text-base);
        padding: 6px 40px;
        color: rgba(255,255,255,0.5);
    }

    .sg-hamburger {
        display: flex;
    }

    .sg-hero {
        min-height: auto;
        padding-top: calc(var(--header-height) + 40px);
        padding-bottom: 60px;
    }

    .sg-hero__metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .sg-section {
        padding: 64px 0;
    }

    .sg-grid--2,
    .sg-grid--3,
    .sg-grid--4,
    .sg-grid--asymmetric {
        grid-template-columns: 1fr;
    }

    .sg-stats {
        grid-template-columns: 1fr 1fr;
    }

    .sg-stat + .sg-stat::before {
        display: none;
    }

    .sg-footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .sg-footer__bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .sg-about-values {
        grid-template-columns: 1fr;
    }

    .sg-page-hero {
        padding: 100px 0 36px;
    }

    .sg-page-hero__deco {
        display: none;
    }
}

/* ============================================
   CRO: Top Bar
   ============================================ */
.sg-topbar {
    background: var(--depth-abyss);
    border-bottom: 1px solid rgba(200,150,62,0.1);
    font-size: 13px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

body.scrolled .sg-topbar {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    position: absolute;
}

.sg-topbar__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 6px var(--gutter);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sg-topbar__left {
    display: flex;
    gap: 24px;
}

.sg-topbar__item {
    color: rgba(255,255,255,0.55);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color var(--duration) var(--ease-out);
}

.sg-topbar__item:hover {
    color: var(--gold-glow);
}

/* Adjust header position for topbar */
.sg-header {
    top: 33px;
    transition: top 0.3s ease, all var(--duration-slow) var(--ease-out);
}

body.scrolled .sg-header {
    top: 0;
}

.sg-hero {
    padding-top: calc(var(--header-height) + 33px);
}

.sg-page-hero {
    padding-top: calc(var(--header-height) + 33px + 24px);
}

/* Header CTA is now part of the nav menu (sg-nav-cta class) */

/* ============================================
   CRO: Trust Signals
   ============================================ */
.sg-trust {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.sg-trust__item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.sg-trust__item strong {
    color: rgba(255,255,255,0.8);
}

.sg-trust__icon {
    font-size: 16px;
    color: var(--gold);
}

.sg-trust__divider {
    width: 1px;
    height: 16px;
    background: rgba(255,255,255,0.15);
}

/* ============================================
   CRO: Inline CTA Block
   ============================================ */
.sg-inline-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: linear-gradient(135deg, var(--depth-base), var(--depth-mid));
    border: 1px solid rgba(200,150,62,0.15);
    border-radius: var(--radius-lg);
    padding: 40px 48px;
    position: relative;
    overflow: hidden;
}

.sg-inline-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--teal));
}

.sg-inline-cta__title {
    color: var(--white) !important;
    font-size: var(--text-xl) !important;
    margin-bottom: 6px;
}

.sg-inline-cta__text {
    color: rgba(255,255,255,0.55);
    font-size: var(--text-sm);
    margin: 0;
    max-width: 440px;
}

.sg-inline-cta__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.sg-inline-cta__phone {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

.sg-inline-cta__phone:hover {
    color: var(--gold-glow);
}

/* ============================================
   CRO: Floating CTA (desktop)
   ============================================ */
.sg-floating-cta {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 90;
}

.sg-floating-cta__btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--gold), var(--gold-bright));
    color: var(--depth-base);
    font-weight: 700;
    font-size: 14px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-glow-gold), var(--shadow-lg);
    transition: all var(--duration) var(--ease-out);
    position: relative;
}

.sg-floating-cta__btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 60px rgba(200,150,62,0.3), var(--shadow-xl);
    color: var(--depth-base);
}

.sg-floating-cta__pulse {
    position: absolute;
    inset: -3px;
    border-radius: var(--radius-full);
    border: 2px solid var(--gold);
    animation: ctaPulse 2s ease-out infinite;
    pointer-events: none;
}

@keyframes ctaPulse {
    0% { opacity: 0.6; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.15); }
}

.sg-floating-cta__icon {
    font-size: 18px;
}

/* ============================================
   CRO: Sticky Mobile Bar
   ============================================ */
.sg-sticky-bar {
    display: none;
}

/* ============================================
   CRO Responsive
   ============================================ */
@media (max-width: 768px) {
    .sg-topbar__right {
        display: none;
    }

    .sg-topbar__left {
        gap: 16px;
    }

    .sg-topbar__item:last-child {
        display: none;
    }

    .sg-header {
        top: 29px;
    }

    body.scrolled .sg-header {
        top: 0;
    }

    .sg-hero {
        padding-top: calc(var(--header-height) + 29px);
    }

    .sg-page-hero {
        padding-top: calc(var(--header-height) + 29px + 20px);
    }

    .sg-floating-cta {
        display: none;
    }

    .sg-sticky-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 90;
        background: var(--depth-abyss);
        border-top: 1px solid rgba(200,150,62,0.15);
        padding: 10px 16px;
        padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
        gap: 10px;
    }

    .sg-sticky-bar__phone {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        font-size: 13px;
        font-weight: 600;
        color: var(--white);
        background: rgba(255,255,255,0.08);
        border: 1px solid rgba(255,255,255,0.12);
        border-radius: var(--radius);
        padding: 12px;
    }

    .sg-sticky-bar__phone:hover {
        color: var(--white);
    }

    .sg-sticky-bar__cta {
        flex: 1.5;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
        font-weight: 700;
        color: var(--depth-base);
        background: linear-gradient(135deg, var(--gold), var(--gold-bright));
        border-radius: var(--radius);
        padding: 12px;
    }

    .sg-sticky-bar__cta:hover {
        color: var(--depth-base);
    }

    /* Add bottom padding to body so sticky bar doesn't cover footer */
    body {
        padding-bottom: 64px;
    }

    .sg-inline-cta {
        flex-direction: column;
        gap: 24px;
        padding: 28px 24px;
        text-align: center;
    }

    .sg-inline-cta__actions {
        width: 100%;
    }

    .sg-inline-cta__actions .sg-btn {
        width: 100%;
        justify-content: center;
    }

    .sg-trust {
        justify-content: center;
    }

    .sg-trust__divider {
        display: none;
    }
}

@media (max-width: 480px) {
    .sg-topbar {
        display: none;
    }

    .sg-header {
        top: 0;
    }

    .sg-hero {
        padding-top: var(--header-height);
    }

    .sg-page-hero {
        padding-top: calc(var(--header-height) + 16px);
    }
}

/* ============================================
   Blog Listing — Premium Layout
   ============================================ */

/* --- Category Filter Bar --- */
.sg-blog-filters {
    background: var(--bone);
    border-bottom: 1px solid var(--stone-100);
    padding: 20px 0;
}

.sg-blog-filters__bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.sg-blog-filter__pill {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 7px 18px;
    border-radius: var(--radius-full);
    border: 1px solid var(--stone-200);
    color: var(--stone-500);
    background: var(--white);
    transition: all var(--duration) var(--ease-out);
    text-decoration: none;
}

.sg-blog-filter__pill:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--gold-pale);
}

.sg-blog-filter__pill--active {
    background: var(--depth-base);
    color: var(--white);
    border-color: var(--depth-base);
}

.sg-blog-filter__pill--active:hover {
    background: var(--depth-mid);
    color: var(--white);
    border-color: var(--depth-mid);
}

/* --- Blog Layout (main + sidebar) --- */
.sg-blog-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 56px;
    align-items: start;
}

.sg-blog-grid {
    margin-top: 40px;
}

/* --- Category Pill on Cards --- */
.sg-blog-cat-pill {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: var(--gold-pale);
    color: var(--gold);
    margin-bottom: 12px;
}

.sg-blog-cat-pill--sm {
    margin-bottom: 10px;
}

/* --- Featured Post (First Post) --- */
.sg-post-featured {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--depth-base);
    transition: all var(--duration-slow) var(--ease-out);
}

.sg-post-featured:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.sg-post-featured__link {
    display: block;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.sg-post-featured__image-wrap {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.sg-post-featured__image-wrap--placeholder {
    background: linear-gradient(135deg, var(--depth-mid), var(--depth-base));
}

.sg-post-featured__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

.sg-post-featured:hover .sg-post-featured__image {
    transform: scale(1.03);
}

.sg-post-featured__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(3,10,20,0.92) 0%, rgba(3,10,20,0.4) 50%, rgba(3,10,20,0.1) 100%);
}

.sg-post-featured__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    z-index: 2;
}

.sg-post-featured__content .sg-blog-cat-pill {
    background: rgba(200, 150, 62, 0.2);
    color: var(--gold-bright);
    border: 1px solid rgba(200, 150, 62, 0.3);
    margin-bottom: 16px;
}

.sg-post-featured__title {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    line-height: 1.25;
    color: var(--white);
    margin-bottom: 12px;
}

.sg-post-featured__excerpt {
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 16px;
    max-width: 600px;
}

.sg-post-featured__meta {
    display: flex;
    align-items: center;
    gap: 24px;
}

.sg-post-featured__date {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.4);
}

.sg-post-featured__read {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold-bright);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sg-post-featured:hover .sg-post-featured__read .sg-btn__arrow {
    transform: translateX(4px);
}

/* --- Post Card Enhancements --- */
.sg-post-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--stone-100);
}

.sg-post-card__date {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--stone-400);
}

.sg-post-card__readmore {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color var(--duration) var(--ease-out);
}

.sg-post-card__readmore:hover {
    color: var(--gold-bright);
}

.sg-post-card__readmore .sg-btn__arrow {
    transition: transform var(--duration) var(--ease-out);
}

.sg-post-card:hover .sg-post-card__readmore .sg-btn__arrow {
    transform: translateX(4px);
}

/* --- Pagination --- */
.sg-pagination {
    margin-top: 64px;
    display: flex;
    justify-content: center;
}

.sg-pagination .page-numbers {
    list-style: none;
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.sg-pagination .page-numbers li {
    list-style: none;
}

.sg-pagination .page-numbers a,
.sg-pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border-radius: var(--radius);
    border: 1px solid var(--stone-200);
    background: var(--white);
    color: var(--stone-600);
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--duration) var(--ease-out);
}

.sg-pagination .page-numbers a:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--gold-pale);
}

.sg-pagination .page-numbers .current {
    background: var(--depth-base);
    color: var(--white);
    border-color: var(--depth-base);
}

.sg-pagination .page-numbers .prev,
.sg-pagination .page-numbers .next {
    font-weight: 600;
    gap: 6px;
}

.sg-pagination__arrow {
    display: inline-block;
    transition: transform var(--duration) var(--ease-out);
}

.sg-pagination .prev:hover .sg-pagination__arrow { transform: translateX(-3px); }
.sg-pagination .next:hover .sg-pagination__arrow { transform: translateX(3px); }

/* --- Sidebar --- */
.sg-blog-sidebar {
    position: sticky;
    top: 120px;
}

.sg-sidebar-widget {
    margin-bottom: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--stone-100);
}

.sg-sidebar-widget:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sg-sidebar-widget__title {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--stone-800);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
}

/* Sidebar search */
.sg-sidebar-search {
    display: flex;
    border: 1px solid var(--stone-200);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color var(--duration) var(--ease-out);
}

.sg-sidebar-search:focus-within {
    border-color: var(--gold);
}

.sg-sidebar-search__input {
    flex: 1;
    border: none;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    color: var(--stone-800);
    background: var(--white);
    outline: none;
}

.sg-sidebar-search__input::placeholder {
    color: var(--stone-400);
}

.sg-sidebar-search__btn {
    border: none;
    background: var(--bone);
    padding: 12px 14px;
    color: var(--stone-500);
    cursor: pointer;
    transition: all var(--duration) var(--ease-out);
    display: flex;
    align-items: center;
}

.sg-sidebar-search__btn:hover {
    background: var(--gold-pale);
    color: var(--gold);
}

/* Sidebar categories */
.sg-sidebar-categories {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sg-sidebar-categories li {
    margin-bottom: 0;
}

.sg-sidebar-categories a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    color: var(--stone-600);
    text-decoration: none;
    font-size: var(--text-sm);
    border-bottom: 1px solid var(--stone-100);
    transition: color var(--duration) var(--ease-out);
}

.sg-sidebar-categories li:last-child a {
    border-bottom: none;
}

.sg-sidebar-categories a:hover {
    color: var(--gold);
}

.sg-sidebar-categories__count {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--stone-400);
    background: var(--bone);
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

/* Sidebar popular posts */
.sg-sidebar-popular {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sg-sidebar-popular__item {
    display: flex;
    gap: 14px;
    align-items: start;
    padding: 12px 0;
    border-bottom: 1px solid var(--stone-100);
}

.sg-sidebar-popular__item:first-child {
    padding-top: 0;
}

.sg-sidebar-popular__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sg-sidebar-popular__thumb {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: var(--radius);
    overflow: hidden;
}

.sg-sidebar-popular__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sg-sidebar-popular__info {
    flex: 1;
    min-width: 0;
}

.sg-sidebar-popular__link {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--stone-800);
    text-decoration: none;
    line-height: 1.4;
    margin-bottom: 4px;
    transition: color var(--duration) var(--ease-out);
}

.sg-sidebar-popular__link:hover {
    color: var(--gold);
}

.sg-sidebar-popular__date {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--stone-400);
}

/* Sidebar CTA */
.sg-sidebar-cta {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.sg-sidebar-cta__inner {
    background: linear-gradient(135deg, var(--depth-base), var(--depth-mid));
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    text-align: center;
}

.sg-sidebar-cta__title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.sg-sidebar-cta__text {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
    line-height: 1.6;
}

.sg-sidebar-cta .sg-btn {
    width: 100%;
    justify-content: center;
}

/* --- Blog Responsive --- */
@media (max-width: 1024px) {
    .sg-blog-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .sg-blog-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 40px;
    }

    .sg-sidebar-widget {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

    .sg-sidebar-cta {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .sg-blog-filters__bar {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
    }

    .sg-blog-filter__pill {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .sg-blog-grid.sg-grid--2 {
        grid-template-columns: 1fr;
    }

    .sg-post-featured__image-wrap {
        height: 280px;
    }

    .sg-post-featured__title {
        font-size: var(--text-2xl);
    }

    .sg-post-featured__content {
        padding: 28px 24px;
    }

    .sg-blog-sidebar {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Homepage: How It Works (Process)
   ============================================ */
.sg-process {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-top: 64px;
}

.sg-process__step {
    flex: 1;
    max-width: 340px;
    text-align: center;
    padding: 40px 32px;
    position: relative;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.02);
    transition: all var(--duration-slow) var(--ease-out);
}

.sg-process__step:hover {
    background: rgba(200,150,62,0.04);
    border-color: rgba(200,150,62,0.15);
    transform: translateY(-4px);
}

.sg-process__number {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: var(--text-5xl);
    line-height: 1;
    background: linear-gradient(135deg, var(--gold), var(--gold-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    opacity: 0.3;
}

.sg-process__icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(200,150,62,0.08);
    border: 1px solid rgba(200,150,62,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--gold-bright);
}

.sg-process__title {
    color: var(--white) !important;
    font-size: var(--text-2xl) !important;
    margin-bottom: 12px;
}

.sg-process__text {
    color: rgba(255,255,255,0.5);
    font-size: var(--text-sm);
    line-height: 1.8;
}

.sg-process__connector {
    display: flex;
    align-items: center;
    padding-top: 100px;
    flex-shrink: 0;
    width: 60px;
}

@media (max-width: 1024px) {
    .sg-process {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .sg-process__step {
        max-width: 480px;
        width: 100%;
    }

    .sg-process__connector {
        padding-top: 0;
        transform: rotate(90deg);
        width: auto;
        height: 40px;
    }
}

/* ============================================
   Homepage: Industries Grid
   ============================================ */
.sg-industry-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--stone-100);
    border-radius: var(--radius-md);
    transition: all var(--duration) var(--ease-out);
    text-decoration: none;
    color: var(--stone-700);
    position: relative;
}

.sg-industry-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-md), var(--shadow-glow-gold);
    transform: translateY(-3px);
    color: var(--stone-900);
}

.sg-industry-card__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: var(--gold-mist);
    color: var(--gold);
}

.sg-industry-card:hover .sg-industry-card__icon {
    background: var(--gold-pale);
}

.sg-industry-card__name {
    flex: 1;
    font-weight: 600;
    font-size: var(--text-sm);
}

.sg-industry-card__arrow {
    color: var(--stone-300);
    transition: all var(--duration) var(--ease-out);
    font-size: var(--text-lg);
}

.sg-industry-card:hover .sg-industry-card__arrow {
    color: var(--gold);
    transform: translateX(4px);
}

/* ============================================
   Homepage: Social Proof / Trust Banner
   ============================================ */
.sg-trust-banner {
    display: flex;
    align-items: center;
    gap: 48px;
    background: linear-gradient(135deg, var(--depth-base), var(--depth-mid));
    border: 1px solid rgba(200,150,62,0.12);
    border-radius: var(--radius-lg);
    padding: 48px 56px;
    position: relative;
    overflow: hidden;
}

.sg-trust-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--teal), var(--gold));
}

.sg-trust-banner__content {
    flex: 1;
}

.sg-trust-banner__text {
    color: rgba(255,255,255,0.6);
    font-size: var(--text-lg);
    line-height: 1.8;
    margin: 0;
}

.sg-trust-banner__text strong {
    color: var(--white);
    font-weight: 600;
}

.sg-trust-banner__stats {
    display: flex;
    gap: 40px;
    flex-shrink: 0;
}

.sg-trust-banner__stat {
    text-align: center;
}

.sg-trust-banner__stat-value {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: var(--text-4xl);
    line-height: 1;
    margin-bottom: 6px;
    background: linear-gradient(135deg, var(--gold), var(--gold-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sg-trust-banner__stat-label {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.4);
}

@media (max-width: 768px) {
    .sg-trust-banner {
        flex-direction: column;
        gap: 32px;
        padding: 32px 28px;
        text-align: center;
    }

    .sg-trust-banner__stats {
        gap: 24px;
    }

    .sg-industry-card {
        padding: 18px 20px;
    }
}

/* ============================================
   Services Page: Sub-links & Visual
   ============================================ */
.sg-service-detail__subs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--stone-100);
}

.sg-service-detail__sub-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-sm);
    color: var(--stone-500);
    text-decoration: none;
    padding: 6px 0;
    transition: color var(--duration) var(--ease-out);
}

.sg-service-detail__sub-link:hover {
    color: var(--gold);
}

.sg-service-detail__sub-arrow {
    font-size: 12px;
    color: var(--gold);
    transition: transform var(--duration) var(--ease-out);
}

.sg-service-detail__sub-link:hover .sg-service-detail__sub-arrow {
    transform: translateX(3px);
}

.sg-service-detail__visual {
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--bone), var(--sand));
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--stone-100);
    transition: all var(--duration-slow) var(--ease-out);
}

.sg-service-detail:hover .sg-service-detail__visual {
    border-color: var(--gold);
    box-shadow: var(--shadow-glow-gold);
}

/* ============================================
   Larger CTA Buttons
   ============================================ */
.sg-btn--lg {
    padding: 16px 36px;
    font-size: 15px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .sg-btn--lg {
        padding: 14px 28px;
        font-size: 14px;
    }
}
