/* ============================================
   DI Consulting - Styleguide v2.1
   Teal + Coral Theme
   
   Кастомная CSS система на основе
   CSS Custom Properties и семантических классов.
   ============================================ */

/* ================================================
   CSS VARIABLES
   ================================================ */
:root {
    /* Brand Colors */
    --teal: #0CA5C5;
    --deep-teal: #13353D;
    --brand-gradient: linear-gradient(135deg, #13353D 0%, #0CA5C5 100%);
    
    /* Action Color — ONE color for all CTAs */
    --action: #F97316;
    --action-hover: #EA580C;
    --action-light: #FFF7ED;
    
    /* Surfaces */
    --white: #FFFFFF;
    --surface: #F8FAFB;
    --surface-alt: #EEF4F6;
    --border: #E2E8F0;
    
    /* Text */
    --text: #13353D;
    --text-muted: #5A6C7D;
    --text-light: #94A3B8;
    
    /* Secondary colors */
    --green: #10B981;
    --green-light: rgba(16, 185, 129, 0.1);
    --purple: #8B5CF6;
    --purple-light: rgba(139, 92, 246, 0.1);
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    
    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 12px 40px rgba(12, 165, 197, 0.15);
    
    /* Transitions */
    --transition: 200ms ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
}

/* ================================================
   TYPOGRAPHY
   ================================================ */
h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text);
}

h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
}

h3 {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text);
}

h4 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text);
}

p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-muted);
}

/* ================================================
   LINKS
   ================================================ */
/* Default link styles for content areas */
p a,
.content-block a,
.hero-subheading a,
li:not(.nav-links li):not(.breadcrumbs li) a {
    color: var(--teal);
    text-decoration: none;
    transition: color var(--transition);
}

p a:hover,
.content-block a:hover,
.hero-subheading a:hover,
li:not(.nav-links li):not(.breadcrumbs li) a:hover {
    color: var(--deep-teal);
    text-decoration: underline;
}

/* Preserve button styles (buttons should not inherit link styles) */
.btn,
.btn:hover {
    text-decoration: none;
}

/* ================================================
   HEADER & NAVIGATION
   ================================================ */
header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--brand-gradient);
}

header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 40px;
}

header .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

header .header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

header .header-logo img {
    height: 56px;
    width: auto;
}

header .nav-links {
    display: none;
    gap: 24px;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

@media (min-width: 768px) {
    header .nav-links {
        display: flex;
    }
}

header .nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color var(--transition);
    position: relative;
    padding-bottom: 4px;
}

header .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--brand-gradient);
    transform: scaleX(0);
    transition: transform var(--transition);
}

header .nav-links a:hover {
    color: var(--text);
}

header .nav-links a:hover::after,
header .nav-links a.active::after {
    transform: scaleX(1);
}

header .nav-links a.active {
    color: var(--teal);
}

header .header-cta {
    display: none;
}

@media (min-width: 768px) {
    header .header-cta {
        display: inline-flex;
    }
}

header .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

header .mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition);
}

header .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

header .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

header .mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 768px) {
    header .mobile-menu-btn {
        display: none;
    }
}

header .mobile-menu {
    display: none;
    flex-direction: column;
    padding: 24px 32px;
    background: var(--surface);
    border-top: 1px solid var(--border);
}

header .mobile-menu.open {
    display: flex;
}

header .mobile-menu .mobile-nav {
    display: flex;
    flex-direction: column;
}

header .mobile-menu .mobile-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    transition: color var(--transition);
}

header .mobile-menu .mobile-nav a:last-child {
    border-bottom: none;
}

header .mobile-menu .mobile-nav a:hover,
header .mobile-menu .mobile-nav a.active {
    color: var(--teal);
}

header .mobile-menu .mobile-cta {
    margin-top: 24px;
    width: 100%;
    text-align: center;
}

/* Mega Menu (Desktop) */
.nav-links .has-dropdown {
    position: relative;
}

.nav-links .has-dropdown > a {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 5px;
}

.nav-links .dropdown-arrow {
    font-size: 10px;
    transition: transform var(--transition);
}

.nav-links .has-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.mega-menu {
    position: absolute;
    top: calc(100% + 24px);
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: var(--space-xl);
    min-width: 800px;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
    z-index: 200;
}

.nav-links .has-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
}

.mega-menu-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.mega-menu-column h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--teal);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mega-menu-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-column ul li {
    margin-bottom: var(--space-sm);
}

.mega-menu-column ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color var(--transition);
    display: block;
    padding: var(--space-xs) 0;
}

.mega-menu-column ul li a:hover {
    color: var(--teal);
}

.mega-menu-column ul li a::after {
    display: none;
}

/* Mobile Dropdown */
.mobile-dropdown {
    border-bottom: 1px solid var(--border);
}

.mobile-dropdown-btn {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 500;
    padding: 16px 0;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
}

.mobile-dropdown-btn .dropdown-arrow {
    font-size: 10px;
    transition: transform var(--transition);
}

.mobile-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.mobile-dropdown-content {
    display: none;
    padding-bottom: var(--space-md);
}

.mobile-dropdown.open .mobile-dropdown-content {
    display: block;
}

.mobile-dropdown-section {
    margin-bottom: var(--space-lg);
}

.mobile-dropdown-section h5 {
    font-size: 13px;
    font-weight: 700;
    color: var(--teal);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-dropdown-section a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: var(--space-xs) 0 var(--space-xs) var(--space-md);
    display: block;
    transition: color var(--transition);
    border-bottom: none !important;
}

.mobile-dropdown-section a:hover {
    color: var(--teal);
}

@media (max-width: 767px) {
    .mega-menu {
        display: none;
    }
}

/* ================================================
   BUTTONS — CTA кнопки становятся CORAL
   ================================================ */

/* Primary CTA buttons (Book a Call, Contact, etc) */
.btn-primary,
.bg-blue-600,
a.bg-blue-600,
.inline-block.bg-blue-600,
a.inline-block.bg-blue-600,
button[type="submit"] {
    background: var(--action) !important;
    color: white !important;
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    cursor: pointer;
}

.btn-primary:hover,
.bg-blue-600:hover,
.hover\:bg-blue-700:hover,
button[type="submit"]:hover {
    background: var(--action-hover) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Secondary buttons (outline) */
.border-blue-600,
.border-2.border-blue-600 {
    border-color: var(--action) !important;
}

.text-blue-600 {
    color: var(--action) !important;
}

/* Ghost buttons */
.bg-gray-100 {
    background: var(--surface) !important;
    border: 1px solid var(--border) !important;
}

.bg-gray-100:hover,
.hover\:bg-gray-200:hover {
    background: var(--surface-alt) !important;
    border-color: var(--teal) !important;
}

/* ================================================
   HERO & SECTION BACKGROUNDS
   ================================================ */

/* Hero padding for fixed header */
section.pt-32 {
    padding-top: 140px !important;
}

/* Light hero backgrounds → Surface */
.bg-gradient-to-br.from-blue-50,
.bg-gradient-to-br.from-blue-50.via-white,
.bg-gradient-to-br.from-blue-50.to-purple-50,
.bg-gradient-to-br.from-blue-50.via-white.to-purple-50 {
    background: var(--surface) !important;
}

/* Dark hero/CTA backgrounds → Deep Teal */
.bg-gradient-to-br.from-blue-600.to-purple-600,
.bg-gray-900 {
    background: var(--deep-teal) !important;
}

/* Gray surfaces */
.bg-gray-50 {
    background: var(--surface) !important;
}

/* ================================================
   STEP NUMBERS (How We Work section)
   ================================================ */
.w-16.h-16.bg-blue-600 {
    background: var(--brand-gradient) !important;
}

/* ================================================
   ICON BACKGROUNDS (Cards)
   ================================================ */
.bg-blue-100 {
    background: var(--surface-alt) !important;
}

.group:hover .group-hover\:bg-blue-600 {
    background: var(--teal) !important;
}

.bg-green-100 {
    background: var(--green-light) !important;
}

.group:hover .group-hover\:bg-green-600 {
    background: var(--green) !important;
}

.bg-purple-100 {
    background: var(--purple-light) !important;
}

.group:hover .group-hover\:bg-purple-600 {
    background: var(--purple) !important;
}

.bg-orange-100 {
    background: var(--action-light) !important;
}

.group:hover .group-hover\:bg-orange-600 {
    background: var(--action) !important;
}

/* ================================================
   CARDS
   ================================================ */
.bg-white.rounded-xl,
.bg-white.p-8.rounded-xl {
    background: var(--white);
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-lg) !important;
    transition: all var(--transition);
}

.bg-white.rounded-xl:hover,
.group:hover {
    border-color: var(--teal) !important;
}

/* ================================================
   TEXT COLORS
   ================================================ */
.text-gray-900 {
    color: var(--text) !important;
}

.text-gray-700,
.text-gray-600 {
    color: var(--text-muted) !important;
}

.text-gray-500,
.text-gray-400 {
    color: var(--text-light) !important;
}

/* ================================================
   BORDERS
   ================================================ */
.border-y,
.border-gray-100 {
    border-color: var(--border) !important;
}

/* ================================================
   FOOTER
   ================================================ */
.site-footer {
    background: var(--deep-teal);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px 40px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    padding-bottom: var(--space-2xl);
}

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

.footer-logo {
    max-width: 180px;
    height: auto;
    margin-bottom: var(--space-md);
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}


.footer-col h5 {
    font-size: 14px;
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-md);
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: var(--space-sm);
}

.footer-col a {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-col a:hover {
    color: rgba(255,255,255,0.95) !important;
}

/* Social Links (for future use) */
.footer-social {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color var(--transition);
}

.social-link:hover {
    color: rgba(255,255,255,0.95) !important;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding: var(--space-lg) 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    font-size: 13px;
    margin: 0;
    color: rgba(255,255,255,0.4);
}

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.company-details {
    font-size: 12px;
    opacity: 0.7;
}

.footer-disclaimer {
    text-align: right;
    line-height: 1.5;
}

.footer-disclaimer p {
    font-size: 12px;
    margin: 0;
    color: rgba(255,255,255,0.4);
}

/* Footer responsive */
@media (max-width: 768px) {
    .footer-container {
        padding: 50px 24px 40px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
        padding: var(--space-lg) 0;
    }
    
    .footer-legal {
        align-items: center;
    }
    
    .footer-disclaimer {
        text-align: center;
        margin-top: var(--space-sm);
    }
    
    .cta-section {
        padding: 50px 40px;
        border-radius: 16px;
    }
}

/* ================================================
   FORMS
   ================================================ */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 14px 16px !important;
    font-size: 15px !important;
    font-family: inherit;
    color: var(--text) !important;
    background: var(--white) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-md) !important;
    transition: all var(--transition);
}

input:focus,
textarea:focus,
select:focus {
    outline: none !important;
    border-color: var(--teal) !important;
    box-shadow: 0 0 0 3px rgba(12, 165, 197, 0.1) !important;
}

label {
    display: block;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--text) !important;
    margin-bottom: 8px;
}

/* ================================================
   UTILITIES
   ================================================ */
.rounded-lg {
    border-radius: var(--radius-md) !important;
}

.rounded-xl {
    border-radius: var(--radius-lg) !important;
}

.shadow-sm {
    box-shadow: var(--shadow-sm) !important;
}

.shadow-xl,
.hover\:shadow-xl:hover {
    box-shadow: var(--shadow-lg) !important;
}

.transition {
    transition: all var(--transition) !important;
}

/* ================================================
   ANIMATIONS
   ================================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Agent card animations */
.agent-card {
    transition: all var(--transition);
    cursor: pointer;
}

.agent-card:hover {
    transform: translateY(-2px);
}

.agent-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.agent-details.open {
    max-height: 2000px;
}

/* ================================================
   CUSTOM SCROLLBAR
   ================================================ */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--surface);
}

::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ================================================
   HOME PAGE SPECIFIC STYLES
   ================================================ */

/* Section spacing */
section {
    padding: 64px 0;
}

.section {
    padding: var(--space-3xl) 0;
}

section.hero-section {
    padding: 140px 0 80px 0;
}

section.clients-section {
    padding: 48px 0;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero-content-centered {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding-top: var(--space-2xl);
}

.hero-content-centered h1 {
    margin: var(--space-md) 0;
}

.hero-subheading {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: var(--space-lg) 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-light);
    margin-bottom: 24px;
    text-align: center;
}

/* Hero styles */
.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 24px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.text-gradient {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 18px 36px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--action);
    color: white;
    box-shadow: var(--shadow-sm);
    border: none;
}

.btn-secondary {
    background: transparent;
    color: var(--action);
    border: 2px solid var(--action);
}

.btn-secondary.btn-light {
    color: white;
    border-color: rgba(255,255,255,0.3);
}

/* Button hover effects */
.btn-primary:hover {
    background: var(--action-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: var(--action-light);
    border-color: var(--action-hover);
    color: var(--action-hover);
}

/* Button size variants */
.btn-sm {
    padding: 10px 20px !important;
    font-size: 14px !important;
}

.btn-lg {
    padding: 18px 36px !important;
    font-size: 16px !important;
}

.btn-secondary.btn-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.badge-teal {
    background: var(--surface-alt);
    color: var(--deep-teal);
}

.badge-action {
    background: var(--action-light);
    color: var(--action);
}

.badge-success {
    background: #ECFDF5;
    color: #059669;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.breadcrumbs a {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition);
}

.breadcrumbs a:hover {
    color: var(--teal);
}

.breadcrumb-sep {
    color: var(--text-light);
}

.breadcrumb-current {
    font-size: 14px;
    color: var(--text);
    font-weight: 500;
}

/* Cards */
.card {
    display: block;
    text-decoration: none;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
}

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

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.card h3 {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text);
    margin-bottom: 8px;
}

.card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

/* ================================================
   PRICING CARDS
   ================================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    position: relative;
    transition: all var(--transition);
}

.pricing-featured {
    border-color: var(--action);
    box-shadow: 0 8px 30px rgba(249, 115, 22, 0.15);
    transform: scale(1.02);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--action);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-header {
    margin-bottom: var(--space-lg);
}

.pricing-header h4 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: var(--space-xs);
}

.pricing-header p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

.pricing-price {
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border);
}

.price-amount {
    font-size: 42px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
}

.price-period {
    font-size: 14px;
    color: var(--text-muted);
    margin-left: var(--space-xs);
}

.pricing-content {
    margin-bottom: var(--space-xl);
}

.pricing-content h5 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-content p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--space-xl);
    padding: 0;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.pricing-features .check-icon {
    width: 18px;
    height: 18px;
    font-size: 14px;
    color: var(--action);
    flex-shrink: 0;
    font-weight: 700;
}

.pricing-note {
    font-size: 13px;
    color: var(--text-light);
    text-align: center;
    margin-top: var(--space-md);
}

/* Steps */
.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step {
    flex: 1;
    max-width: 320px;
    text-align: center;
    padding: 24px;
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--brand-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 16px;
}

.step h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text);
    margin-bottom: 8px;
}

.step p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: var(--border);
    margin-top: 42px;
    flex-shrink: 0;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.stat-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 180px;
}

.stat-card:hover {
    border-color: var(--teal);
    transform: translateY(-4px);
}

.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand-gradient);
}

.stat-value {
    font-size: 48px;
    font-weight: 800;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.stat-label small {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Quotes */
.quote-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.quote {
    background: var(--surface-alt);
    border-radius: var(--radius-lg);
    padding: 32px;
    border-left: 4px solid var(--teal);
    position: relative;
}

.quote.quote-alt {
    border-left-color: var(--action);
}

.quote p {
    font-size: 17px;
    font-style: italic;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.6;
}

.quote footer {
    display: block;
}

.quote footer strong {
    font-size: 15px;
    color: var(--text);
    display: block;
    margin-bottom: 4px;
}

.quote footer span {
    font-size: 13px;
    color: var(--text-muted);
}

/* CTA Dark */
.cta-dark {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-dark h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: white;
    margin-bottom: 16px;
}

.cta-dark p {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255,255,255,0.8);
    margin-bottom: 32px;
}

/* Section headings */
.section-heading {
    text-align: center;
    margin-bottom: 48px;
}

.section-heading h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 16px;
}

.section-heading p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-muted);
}

/* Button container */
.btn-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

/* Step connectors and steps responsive */
@media (max-width: 900px) {
    .steps {
        flex-direction: column;
        align-items: center;
    }
    
    .step-connector {
        width: 2px;
        height: 40px;
        margin: 0;
    }
    
    .step {
        max-width: 400px;
    }
}

/* Quote grid responsive */
@media (max-width: 768px) {
    .quote-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================
   ADDITIONAL PAGE STYLES
   ================================================ */

/* Section backgrounds - all sections have same padding */
section {
    padding: 64px 0;
}

/* Hero variants */
.hero-page {
    padding: 140px 0 80px 0;
    background: var(--surface);
}

.hero-page h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 24px;
}

.hero-page p {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 900px;
    margin: 0 auto;
}

.hero-page .section-heading {
    text-align: center;
}

/* Solutions page styles */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--transition);
}

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

.category-card .badge {
    margin-bottom: var(--space-md);
}

.category-card h2 {
    margin: var(--space-md) 0;
    text-align: left;
}

.category-card > p {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.feature-highlights {
    list-style: none;
    padding: 0;
    margin: var(--space-lg) 0 var(--space-xl);
}

.feature-highlights li {
    padding: var(--space-xs) 0;
    color: var(--text-muted);
    font-size: 15px;
    padding-left: 24px;
    position: relative;
}

.feature-highlights li:before {
    content: "✓";
    position: absolute;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #ECFDF5;
    color: #059669;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
}

.category-card .btn {
    width: 100%;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.process-card {
    text-align: center;
    padding: var(--space-xl);
}

.process-card .step-number {
    width: 56px;
    height: 56px;
    background: var(--brand-gradient);
    color: white;
    font-size: 24px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
}

.process-card h3 {
    font-size: 22px;
    margin-bottom: var(--space-md);
    color: var(--text);
}

.process-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

.cost-note {
    font-size: 14px;
    color: var(--teal);
    font-weight: 600;
    margin-top: var(--space-md);
}

.cta-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 70px 60px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 25px 70px rgba(19, 53, 61, 0.18);
    text-align: center;
    border: 1px solid var(--border);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--text);
    margin-bottom: var(--space-lg);
}

.cta-content p {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.cta-content .btn {
    margin-top: var(--space-xl);
}

.cta-secondary-link {
    display: block;
    margin-top: 20px;
    font-size: 16px;
    color: #6B7280;
    text-decoration: none;
    transition: all var(--transition);
}

.cta-secondary-link:hover {
    color: var(--teal);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-section {
        margin: var(--space-2xl) 20px;
        padding: 50px 40px;
        border-radius: 16px;
    }
}

/* Team grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.team-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--transition);
}

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

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--brand-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    color: white;
    font-size: 24px;
    font-weight: 700;
    overflow: hidden;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-avatar-alt {
    background: linear-gradient(135deg, #EC4899 0%, #8B5CF6 100%);
}

.team-avatar-alt2 {
    background: linear-gradient(135deg, #10B981 0%, #0CA5C5 100%);
}

.team-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.team-role {
    font-size: 14px;
    color: var(--teal);
    font-weight: 500;
    margin-bottom: 8px;
}

.team-bio {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Services/Pricing grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.service-card .price {
    font-size: 30px;
    font-weight: 700;
    color: var(--teal);
    margin-bottom: 16px;
}

.service-card .service-price-text {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card ul li {
    padding: 8px 0;
    color: var(--text-muted);
}

/* Pricing Philosophy */
.pricing-philosophy {
    max-width: 900px;
    margin: 0 auto;
}

/* Info box */
.info-box {
    background: var(--surface-alt);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin: 24px 0;
}

.info-box h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
}

.info-box-content {
    color: var(--text-muted);
    line-height: 1.7;
}

.info-box-content p {
    margin-bottom: 16px;
}

.info-box-content p:last-child {
    margin-bottom: 0;
}

/* Two column layout */
.two-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 48px;
}

/* Clients section */
.clients-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.client-logo {
    font-size: 30px;
    font-weight: 700;
    color: var(--text-light);
}

.clients-tagline {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

/* CTA section - Floating Card (Recommended) */
.cta-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 70px 60px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 25px 70px rgba(19, 53, 61, 0.18);
    text-align: center;
    border: 1px solid var(--border);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2,
.cta-section h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 24px;
}

.cta-content p,
.cta-section p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.cta-content .btn,
.cta-section .btn {
    margin-top: 32px;
}

/* CTA Secondary Link */
.cta-secondary-link {
    display: block;
    margin-top: 20px;
    font-size: 16px;
    color: #6B7280;
    text-decoration: none;
    transition: all var(--transition);
}

.cta-secondary-link:hover {
    color: var(--teal);
    text-decoration: underline;
}

/* ================================================
   FOUNDER QUOTE SECTION
   ================================================ */
.founder-quote-section {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: var(--space-3xl);
    align-items: center;
}

.founder-photo {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.founder-photo img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    object-fit: cover;
}

.founder-quote-content {
    padding-left: var(--space-lg);
}

.founder-quote-text {
    font-size: 24px;
    line-height: 1.5;
    color: var(--text);
    margin: 0 0 var(--space-xl) 0;
    font-weight: 500;
    font-style: normal; /* NOT italic per spec */
    border: none;
    padding: 0;
    background: transparent;
}

.founder-attribution {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.founder-attribution strong {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

.founder-attribution span {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-muted);
}

/* Mobile layout */
@media (max-width: 900px) {
    .founder-quote-section {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .founder-photo {
        max-width: 300px;
    }
    
    .founder-quote-content {
        padding-left: 0;
        text-align: center;
    }
    
    .founder-quote-text {
        font-size: 20px;
    }
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 768px) {
    section.pt-32 {
        padding-top: 120px !important;
    }
    
    /* Hero adjustments */
    h1 {
        font-size: 32px !important;
    }
    
    h2 {
        font-size: 28px !important;
    }
    
    h3 {
        font-size: 20px !important;
    }
    
    /* Container padding on mobile */
    .container {
        padding: 0 24px;
    }
    
    /* Stats grid on mobile */
    .stats-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Card grid on mobile */
    .card {
        min-width: 100% !important;
    }
    
    /* Team grid on mobile */
    .team-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Services grid on mobile */
    .services-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Pricing grid on mobile */
    .pricing-grid {
        grid-template-columns: 1fr !important;
    }
    
    .pricing-featured {
        transform: none;
    }
    
    /* Clients logos on mobile */
    .clients-logos {
        gap: 24px;
    }
    
    .client-logo {
        font-size: 24px;
    }
    
    .clients-tagline {
        font-size: 18px;
    }
    
    /* CTA section on mobile */
    .cta-section {
        padding: 50px 40px;
        border-radius: 16px;
    }
    
    .cta-section h2,
    .cta-content h2 {
        font-size: 28px !important;
    }
    
    .cta-section p,
    .cta-content p {
        font-size: 16px;
    }
}

/* ================================================
   WORK PAGE SPECIFIC STYLES
   ================================================ */

/* Case cards should not have hover effect */
.case-card.card {
    cursor: default;
}

.case-card.card:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--border);
}

/* Ghost button for View details */
.btn-ghost {
    display: inline-block;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    background: transparent;
    color: var(--text-muted);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
}

.btn-ghost:hover {
    color: var(--text);
    background: var(--surface);
}

/* ================================================
   PRINT
   ================================================ */
@media print {
    header, footer, .cta-section {
        display: none;
    }
}
