/* ==========================================================================
   1. ROOT VARIABLES (Shared & Theme Specific)
   ========================================================================== */
:root {
    /* Shared Navy Base */
    --navy-900: #001a33;
    --navy-800: #002244;
    --navy-700: #003366;
    --navy-600: #004488;
    --navy-500: #0055aa;
    --navy-400: #3377bb;
    --navy-300: #5599cc;
    --navy-200: #88bbdd;
    --navy-100: #cce0f0;
    --navy-50: #e8f4fc;
    
    /* Shared Accents */
    --gold: #c9a227;
    --gold-light: #e8c547;
    --gold-pale: #f5e6b3;
    --coral: #e11d48;
    --coral-hover: #be123c;
    
    /* Shared Warm Neutrals */
    --warm-50: #FAFAF9;
    --warm-100: #F5F5F4;
    --warm-200: #E8E6E3;
    --warm-300: #D4D0CA;
    --warm-400: #A8A29E;
    --warm-500: #78716C;
    --warm-600: #57534E;
    --warm-700: #44403C;
    --warm-800: #292524;
    
    /* Text & Utilities */
    --white: #ffffff;
    --text-primary: #1a1a1a;
    --text-muted: #475569;
    --border-subtle: rgba(0, 51, 102, 0.1);

    /* Brand Specific Colors */
    --cin7-green: #00a86b;
    --cin7-green-dark: #008555;
    
    --gss-blue: #0066b3;
    --gss-blue-dark: #004d8a;
    
    --katana-green: #1a7a4f;
    --katana-green-dark: #135e3c;
    --katana-yellow: #f5c518;
    
    --logiwa-blue: #1a73e8;
    --logiwa-blue-dark: #1557b0;
    
    --wesco-blue: #0066b3;
    --wesco-blue-light: #005da6;

    /* Generic Theme Variables (Default to Navy if no class applied) */
    --theme-color: var(--navy-600);
}

/* ==========================================================================
   2. THEME ACTIVATORS (Apply class to <body>)
   ========================================================================== */
.theme-cin7   { --theme-color: var(--cin7-green); }
.theme-gss    { --theme-color: var(--gss-blue); }
.theme-katana { --theme-color: var(--katana-green); }
.theme-logiwa { --theme-color: var(--logiwa-blue); }
.theme-wesco  { --theme-color: var(--wesco-blue); --theme-highlight: #003a70; }

/* ==========================================================================
   3. RESET & BASE TYPOGRAPHY
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--warm-50);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Base Headings (Montserrat by default) */
h1, h2, h3, h4, .serif {
    font-family: 'Montserrat', sans-serif;
}

/* Group B Headings (Cormorant by default) */
.theme-gss h1, .theme-gss h2, .theme-gss h3, .theme-gss h4, .theme-gss .serif,
.theme-wesco h1, .theme-wesco h2, .theme-wesco h3, .theme-wesco h4, .theme-wesco .serif {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

.gold-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    margin-bottom: 24px;
}

.gold {
    color: var(--gold);
    font-style: italic;
    font-weight: 700;
}

.gold-line.center {
    margin: 0 auto 24px;
}

/* ==========================================================================
   4. HEADER
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 51, 102, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 85px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-mark {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-600) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold);
}

.logo-mark span {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 1px;
}
.theme-katana .logo-mark span {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
}

.logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--navy-800);
    letter-spacing: 1px;
}
.theme-katana .logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--warm-600);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.header-phone:hover {
    color: var(--navy-700);
}

.header-phone svg {
    width: 16px;
    height: 16px;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: var(--coral);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}

.header-cta:hover {
    background: var(--coral-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(225, 29, 72, 0.25);
}

/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    padding: 110px 0 60px;
    background: linear-gradient(135deg, var(--warm-50) 0%, var(--warm-100) 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: linear-gradient(var(--navy-700) 1px, transparent 1px), linear-gradient(90deg, var(--navy-700) 1px, transparent 1px);
    background-size: 80px 80px;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
    gap: 60px;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-label-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

.hero-label::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--gold);
}

.hero-label span {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
}

.partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: var(--white);
    border: 1px solid var(--navy-200);
}

.partner-badge-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 10px;
    border-right: 1px solid var(--warm-300);
}

.partner-badge-logo svg {
    width: 24px;
    height: 24px;
    color: var(--theme-color);
}

.partner-badge-logo span {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--navy-700);
}

.partner-badge-text {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--navy-700);
}

/* Hero Typography Differences */
.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--navy-800);
    margin-bottom: 20px;
}
.theme-gss .hero h1,
.theme-wesco .hero h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 400;
}
.theme-katana .hero h1 {
    font-size: clamp(36px, 4vw, 48px);
}

.hero h1 .highlight {
    color: var(--theme-highlight, var(--theme-color));
    font-weight: 700;
}
.theme-gss .hero h1 .highlight,
.theme-wesco .hero h1 .highlight {
    font-weight: 600;
}

.hero h1 .gold {
    font-style: normal;
}

.hero-subtitle {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 32px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    text-align: left;
    white-space: nowrap;
}

.stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 400;
    color: var(--navy-800);
    line-height: 1;
}

.stat-number .gold-accent {
    color: var(--gold);
}

.stat-number.stars {
    color: var(--gold);
    letter-spacing: 2px;
    font-size: 28px;
}

.stat-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 8px;
}

/* ==========================================================================
   6. HERO FORM
   ========================================================================== */
.hero-form-container {
    position: relative;
    z-index: 10;
    background: var(--white);
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 51, 102, 0.12);
    border: 1px solid var(--border-subtle);
}

.form-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--navy-800);
    margin-bottom: 8px;
}
.theme-katana .form-title {
    font-size: 24px;
}
.theme-gss .form-title,
.theme-wesco .form-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 500;
}

.form-title-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--warm-600);
    margin-bottom: 6px;
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px 14px;
    background: var(--warm-50);
    border: 1px solid var(--warm-300);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-group input::placeholder, .form-group textarea::placeholder {
    color: var(--warm-400);
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: var(--navy-400);
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 60px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 36px;
    background: var(--coral);
    border: none;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit:hover {
    background: var(--coral-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(225, 29, 72, 0.3);
}

.form-submit svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.form-submit:hover svg {
    transform: translateX(4px);
}

.form-disclaimer {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 16px;
}

.form-disclaimer a {
    color: var(--navy-600);
    text-decoration: none;
}

.form-disclaimer a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   7. SECTIONS GLOBAL
   ========================================================================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.section-label::before, .section-label::after {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--gold);
}

.section-label span {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
}

.section-title {
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 700;
    color: var(--navy-800);
    margin-bottom: 16px;
}
.theme-gss .section-title,
.theme-wesco .section-title {
    font-size: clamp(32px, 3.5vw, 44px);
    font-weight: 500;
}
.theme-katana .section-title {
    font-size: clamp(26px, 3vw, 36px);
    white-space: nowrap;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ==========================================================================
   8. MAPPING SECTION
   ========================================================================== */
.mapping-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 100%);
    position: relative;
    overflow: hidden;
}

.mapping-section::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: linear-gradient(var(--white) 1px, transparent 1px), linear-gradient(90deg, var(--white) 1px, transparent 1px);
    background-size: 60px 60px;
}

.mapping-section .section-label span {
    color: var(--gold-light);
}

.mapping-section .section-title {
    color: var(--white);
}

.mapping-section .section-subtitle {
    color: var(--navy-200);
}

.sync-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin: 48px 0;
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sync-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sync-box {
    padding: 20px 32px;
    text-align: center;
    min-width: 160px;
}

.sync-box.edi {
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid var(--gold);
}

/* Keep backward compatible brand sync box classes */
.sync-box.cin7   { background: rgba(0, 168, 107, 0.15); border: 1px solid var(--cin7-green); }
.sync-box.gss    { background: rgba(0, 102, 179, 0.15); border: 1px solid var(--gss-blue); }
.sync-box.katana { background: rgba(26, 122, 79, 0.15); border: 1px solid var(--katana-green); }
.sync-box.logiwa { background: rgba(26, 115, 232, 0.15); border: 1px solid var(--logiwa-blue); }
.sync-box.wesco  { background: rgba(0, 58, 112, 0.25); border: 1px solid var(--wesco-blue-light); }

.sync-box-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--navy-200);
    margin-bottom: 4px;
}

.sync-box-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 500;
    color: var(--white);
}
.theme-katana .sync-box-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 600;
}

.sync-arrows-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 0;
}

.sync-arrow {
    color: var(--gold);
}

.sync-arrow svg {
    width: 48px;
    height: 48px;
}

.mapping-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 48px;
}

.mapping-column h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--gold-light);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.theme-gss .mapping-column h3,
.theme-wesco .mapping-column h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 500;
}

.mapping-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mapping-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.mapping-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--gold);
    transform: translateX(8px);
}

.mapping-code {
    font-family: 'Montserrat', monospace;
    font-size: 14px;
    font-weight: 700;
    color: var(--gold);
    min-width: 50px;
}

.mapping-arrow {
    color: var(--navy-300);
    margin: 0 8px;
}

.mapping-arrow svg {
    width: 16px;
    height: 16px;
}

.mapping-name {
    font-size: 14px;
    color: var(--navy-100);
}

.mapping-item:hover .mapping-name {
    color: var(--white);
}

.mapping-special {
    margin-top: 32px;
    padding: 24px;
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid var(--gold);
}

.mapping-special h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--gold-light);
    margin-bottom: 16px;
}
.theme-katana .mapping-special h4 {
    font-size: 16px;
}
.theme-gss .mapping-special h4,
.theme-wesco .mapping-special h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 500;
}

.mapping-special-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.mapping-special-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--navy-100);
}

.mapping-special-item svg {
    width: 16px;
    height: 16px;
    color: var(--gold);
}

/* ==========================================================================
   9. WESCO-SPECIFIC COMPLIANCE SECTION
   ========================================================================== */
.compliance-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 100%);
    position: relative;
    overflow: hidden;
}
.compliance-section::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: linear-gradient(var(--white) 1px, transparent 1px), linear-gradient(90deg, var(--white) 1px, transparent 1px);
    background-size: 60px 60px;
}
.compliance-section .section-label span { color: var(--gold-light); }
.compliance-section .section-title { color: var(--white); }
.compliance-section .section-subtitle { color: var(--navy-200); }
.compliance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 48px; }
.compliance-column h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 500;
    color: var(--gold-light);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.transaction-list { display: flex; flex-direction: column; gap: 12px; }
.transaction-item {
    display: flex; align-items: center; gap: 16px; padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none; transition: all 0.3s ease;
}
.transaction-item:hover { background: rgba(255, 255, 255, 0.06); border-color: var(--gold); transform: translateX(8px); }
.transaction-code { font-family: 'Montserrat', monospace; font-size: 14px; font-weight: 700; color: var(--gold); min-width: 50px; }
.transaction-name { font-size: 14px; color: var(--navy-100); }
.transaction-item:hover .transaction-name { color: var(--white); }
.transaction-arrow { margin-left: auto; width: 16px; height: 16px; color: var(--navy-300); opacity: 0; transform: translateX(-8px); transition: all 0.3s ease; }
.transaction-item:hover .transaction-arrow { opacity: 1; transform: translateX(0); }

/* ==========================================================================
   10. PROCESS SECTION
   ========================================================================== */
.process-section {
    padding: 60px 0;
    background: var(--warm-50);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    margin-top: 48px;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--navy-200), var(--navy-200), transparent);
}

.process-step {
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.process-number {
    width: 80px;
    height: 80px;
    border: 1px solid var(--navy-300);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    background: var(--warm-50);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    color: var(--navy-600);
}

.process-number svg {
    width: 32px;
    height: 32px;
}

.process-step:hover .process-number {
    border-color: var(--gold);
    color: var(--gold);
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(201, 162, 39, 0.15);
}

.process-step h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--navy-800);
}
.theme-gss .process-step h3,
.theme-wesco .process-step h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 500;
}

.process-step p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-muted);
}

/* ==========================================================================
   11. PARTNERS SECTION
   ========================================================================== */
.partners-section {
    padding: 60px 0;
    background: var(--white);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 20px;
    background: var(--warm-50);
    border: 1px solid var(--warm-200);
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 500;
    color: var(--warm-500);
    transition: all 0.3s ease;
}
.theme-katana .partner-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
}

.partner-logo:hover {
    border-color: var(--gold);
    color: var(--navy-700);
    box-shadow: 0 8px 24px rgba(0, 51, 102, 0.06);
}

.partners-more {
    text-align: center;
    margin-top: 32px;
    font-size: 14px;
    color: var(--text-muted);
}

.partners-more a {
    color: var(--navy-600);
    text-decoration: none;
    font-weight: 500;
}

.partners-more a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   12. WESCO-SPECIFIC INTEGRATIONS SECTION
   ========================================================================== */
.integrations-section { padding: 80px 0; background: var(--white); }
.integrations-categories { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 48px; }
.integration-category { background: var(--warm-50); border: 1px solid var(--border-subtle); padding: 32px 24px; text-align: center; transition: all 0.3s ease; }
.integration-category:hover { border-color: var(--gold); }
.integration-category h3 { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 600; color: var(--navy-800); margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--warm-200); }
.integration-category-logos { display: flex; flex-direction: column; gap: 20px; }
.integration-logo { display: flex; align-items: center; gap: 12px; transition: all 0.3s ease; }
.integration-logo:hover { transform: translateX(4px); }
.integration-logo-icon { width: 40px; height: 40px; background: var(--white); border: 1px solid var(--border-subtle); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.3s ease; }
.integration-logo:hover .integration-logo-icon { border-color: var(--gold); }
.integration-logo-icon svg { width: 20px; height: 20px; color: var(--navy-600); }
.integration-logo:hover .integration-logo-icon svg { color: var(--gold); }
.integration-logo span { font-size: 14px; font-weight: 500; color: var(--navy-700); }
.integrations-more { margin-top: 40px; text-align: center; font-size: 14px; color: var(--text-muted); }
.integrations-more a { color: var(--navy-600); text-decoration: none; font-weight: 500; transition: color 0.3s ease; }
.integrations-more a:hover { color: var(--gold); }

/* ==========================================================================
   13. TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
    padding: 60px 0;
    background: var(--warm-50);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border-subtle);
    padding: 36px;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: var(--gold);
    box-shadow: 0 12px 40px rgba(0, 51, 102, 0.08);
}

.testimonial-quote-icon {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    color: var(--gold);
    opacity: 0.3;
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.testimonial-stars svg {
    width: 18px;
    height: 18px;
    fill: var(--gold);
    color: var(--gold);
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--warm-700);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--warm-200);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-600) 100%);
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
}
.theme-katana .testimonial-avatar {
    min-width: 48px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
}

.testimonial-info h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--navy-800);
    margin-bottom: 2px;
}
.theme-katana .testimonial-info h4 {
    font-size: 16px;
}
.theme-gss .testimonial-info h4,
.theme-wesco .testimonial-info h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
}

.testimonial-info p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ==========================================================================
   14. FAQ SECTION
   ========================================================================== */
.faq-section {
    padding: 60px 0;
    background: var(--white);
}
.theme-wesco .faq-section { padding: 80px 0; }

.faq-grid {
    max-width: 800px;
    margin: 48px auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--warm-200);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--navy-800);
    transition: color 0.3s ease;
}
.theme-wesco .faq-question {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
}

.faq-question:hover {
    color: var(--theme-color);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--gold);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question svg {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-muted);
    padding: 0 0 24px;
}

/* Katana Specific FAQ Style */
.theme-katana .faq-grid { display: flex; flex-direction: column; gap: 12px; margin: 0 auto; }
.theme-katana .faq-item { background: var(--warm-50); border: 1px solid var(--warm-200); transition: all 0.3s ease; }
.theme-katana .faq-item[open] { border-color: var(--gold); }
.theme-katana .faq-question { padding: 20px 24px; font-size: 15px; list-style: none; }
.theme-katana .faq-question::-webkit-details-marker { display: none; }
.theme-katana .faq-question::after { content: '+'; font-size: 20px; font-weight: 300; color: var(--gold); transition: transform 0.3s ease; flex-shrink: 0; }
.theme-katana .faq-item[open] .faq-question::after { content: '−'; }
.theme-katana .faq-answer { padding: 0 24px 20px; }
.theme-katana .faq-answer p { padding: 0; }

/* ==========================================================================
   15. CTA SECTION
   ========================================================================== */
.cta-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: linear-gradient(var(--white) 1px, transparent 1px), linear-gradient(90deg, var(--white) 1px, transparent 1px);
    background-size: 60px 60px;
}

.cta-inner {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-label-light span {
    color: var(--gold-light);
}

.cta-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}
.theme-katana .cta-title {
    font-size: 36px;
}
.theme-gss .cta-title,
.theme-wesco .cta-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 40px;
    font-weight: 500;
}

.cta-subtitle {
    font-size: 16px;
    color: var(--navy-200);
    line-height: 1.7;
    margin-bottom: 32px;
}

.cta-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cta-feature svg {
    width: 20px;
    height: 20px;
    color: var(--gold);
}

.cta-feature span {
    font-size: 14px;
    color: var(--navy-100);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: var(--coral);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--coral-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(225, 29, 72, 0.3);
}

.btn-primary svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.cta-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.cta-contact p {
    font-size: 14px;
    color: var(--navy-300);
}

.cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    color: var(--gold-light);
    text-decoration: none;
    transition: color 0.3s ease;
}
.theme-katana .cta-phone {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 600;
}

.cta-phone:hover {
    color: var(--gold);
}

.cta-phone svg {
    width: 20px;
    height: 20px;
}

/* ==========================================================================
   16. FOOTER
   ========================================================================== */
footer {
    padding: 40px 0 32px;
    background: var(--warm-100);
    border-top: 1px solid var(--border-subtle);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-text {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 13px;
    color: var(--warm-600);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--navy-700);
}

/* ==========================================================================
   17. MEDIA QUERIES (Shared)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; }
    .hero-form-container { max-width: 560px; }
}

@media (max-width: 900px) {
    .process-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .process-grid::before { display: none; }
    .integrations-categories { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .sync-diagram { flex-direction: column; }
    .sync-arrows-column { flex-direction: row; }
    .sync-arrow svg { transform: rotate(90deg); }
    .mapping-grid { grid-template-columns: 1fr; }
    .compliance-grid { grid-template-columns: 1fr; }
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; gap: 24px; text-align: center; }
    .container, .header-inner, .footer-inner { padding: 0 24px; }
    .hero-stats { gap: 24px; }
    .footer-links { flex-wrap: wrap; justify-content: center; gap: 16px; }
}

@media (max-width: 600px) {
    .header-inner { height: 70px; }
    .header-phone { display: none; }
    .hero { padding: 90px 0 40px; }
    
    .hero h1 { font-size: 32px; }
    .theme-katana .hero h1 { font-size: 28px; }
    
    .hero-subtitle { font-size: 14px; }
    .hero-label-row { gap: 12px; }
    .hero-stats { flex-wrap: wrap; gap: 24px 40px; }
    .hero-form-container { padding: 24px; max-width: 100%; }
    .form-row { grid-template-columns: 1fr; }
    .form-trust { flex-direction: column; align-items: flex-start; gap: 12px; }
    
    .cta-title { font-size: 30px; }
    .theme-katana .cta-title { font-size: 26px; }
    
    .cta-features { flex-direction: column; align-items: center; }
    
    .section-title { font-size: 28px; }
    .theme-katana .section-title { font-size: 24px; white-space: normal; }
    
    .partner-badge { padding: 8px 12px; }
    .partner-badge-logo span { font-size: 12px; }
    .partner-badge-text { font-size: 10px; }
    .process-grid { grid-template-columns: 1fr; }
    .integrations-categories { grid-template-columns: 1fr; }
}