/* ===================================
   SGAB Law Website - Main Styles
   Modern, Professional, World-Class Design
   =================================== */

/* ===================================
   1. CSS VARIABLES & DESIGN TOKENS
   =================================== */

:root {
    /* Colors - Professional Orange & Charcoal Palette */
    --color-primary: #FF6B35;
    --color-primary-light: #FF8559;
    --color-primary-dark: #E55A29;
    --color-secondary: #2C3E50;
    --color-secondary-light: #34495E;
    --color-secondary-dark: #1A252F;
    
    --color-text: #2C3E50;
    --color-text-light: #6C757D;
    --color-text-muted: #95A5A6;
    
    --color-bg: #FFFFFF;
    --color-bg-light: #F8F9FA;
    --color-bg-dark: #2C3E50;
    
    --color-border: #E0E6ED;
    --color-shadow: rgba(44, 62, 80, 0.08);
    --color-shadow-dark: rgba(44, 62, 80, 0.15);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #FF6B35 0%, #E55A29 100%);
    --gradient-secondary: linear-gradient(135deg, #2C3E50 0%, #1A252F 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(255, 107, 53, 0.95) 0%, rgba(229, 90, 41, 0.95) 100%);
    
    /* Typography */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --spacing-2xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px var(--color-shadow);
    --shadow-md: 0 4px 16px var(--color-shadow);
    --shadow-lg: 0 8px 32px var(--color-shadow-dark);
    --shadow-xl: 0 16px 48px var(--color-shadow-dark);
}

/* ===================================
   2. RESET & BASE STYLES
   =================================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-secondary);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--color-primary-dark);
}

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

/* ===================================
   3. LAYOUT & CONTAINER
   =================================== */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-wide {
    max-width: 1400px;
}

.section {
    padding: var(--spacing-2xl) 0;
}

.section.bg-light {
    background-color: var(--color-bg-light);
}

.section.bg-dark {
    background-color: var(--color-bg-dark);
    color: white;
}

/* ===================================
   4. NAVIGATION
   =================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.logo-primary {
    font-family: var(--font-secondary);
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-subtitle {
    font-size: 0.625rem;
    font-weight: 500;
    color: var(--color-text-light);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-base);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.btn-nav {
    background: var(--gradient-primary);
    color: white !important;
    padding: 0.625rem 1.5rem !important;
    border-radius: var(--radius-lg);
    font-weight: 600;
}

.btn-nav::after {
    display: none;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 0.375rem;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 1.5rem;
    height: 2px;
    background: var(--color-secondary);
    border-radius: 2px;
    transition: var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(0.375rem, 0.375rem);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(0.5rem, -0.5rem);
}

/* ===================================
   5. HERO SECTION
   =================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(255, 107, 53, 0.05) 0%, 
        rgba(44, 62, 80, 0.05) 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(44, 62, 80, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 107, 53, 0.1);
    color: var(--color-primary);
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 3rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-contact-quick {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.quick-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    color: var(--color-text);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-base);
}

.quick-contact:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--color-primary);
}

.quick-contact svg {
    color: var(--color-primary);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    border-left: 2px solid var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
    transform: rotate(-45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ===================================
   6. BUTTONS
   =================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
    color: white;
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: white;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

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

.btn-outline:hover {
    background: var(--color-primary);
    color: white;
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

/* ===================================
   7. SECTION HEADERS
   =================================== */

.section-header {
    margin-bottom: var(--spacing-xl);
}

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

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    font-weight: 400;
}

.lead-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-text);
}

.lead-text.center {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* ===================================
   8. CONTENT GRID & LAYOUTS
   =================================== */

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    align-items: center;
}

.content-text {
    /* Styling for text content */
}

.content-image {
    /* Styling for image content */
}

.image-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.image-placeholder {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-xl);
}

.image-placeholder svg {
    color: var(--color-text-muted);
}

.image-card-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background: var(--gradient-primary);
    opacity: 0.1;
    border-radius: 50%;
    z-index: -1;
}

/* ===================================
   9. SERVICE CARDS
   =================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.service-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    border: 1px solid var(--color-border);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 107, 53, 0.05) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.service-icon svg {
    color: var(--color-primary);
}

.service-card h3 {
    font-size: 1.375rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--color-text-light);
    margin-bottom: 0;
}

.section-cta {
    margin-top: var(--spacing-xl);
}

/* ===================================
   10. TEAM SECTIONS
   =================================== */

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

.team-preview-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.team-preview-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.team-image {
    margin-bottom: var(--spacing-md);
}

.team-image-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 4px solid white;
    box-shadow: var(--shadow-md);
}

.team-image-placeholder svg {
    color: var(--color-text-muted);
}

.team-info h3 {
    font-size: 1.375rem;
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-credentials {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

/* Team Detail Pages */
.team-section-header {
    margin-bottom: var(--spacing-xl);
}

.team-section-title {
    position: relative;
    padding-bottom: 1rem;
}

.team-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.team-member-detailed {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.team-member-image .team-image-placeholder {
    width: 200px;
    height: 200px;
}

.team-member-name {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.team-member-role {
    color: var(--color-primary);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-member-credentials {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.team-member-description p {
    margin-bottom: 1rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.team-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.team-card-image {
    padding: var(--spacing-lg);
    padding-bottom: 0;
}

.team-card-content {
    padding: var(--spacing-lg);
    text-align: center;
}

.team-card-name {
    font-size: 1.375rem;
    margin-bottom: 0.5rem;
}

.team-card-role {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.team-card-credentials {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.team-card-bio {
    font-size: 0.95rem;
    color: var(--color-text-light);
    text-align: left;
}

.extended-team-section {
    max-width: 900px;
    margin: 0 auto;
}

.extended-team-content {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

/* ===================================
   11. STATS SECTION
   =================================== */

.section-stats {
    background: var(--gradient-secondary);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-secondary);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-number::after {
    content: '+';
}

.stat-label {
    font-size: 1.125rem;
    font-weight: 500;
    opacity: 0.9;
}

/* ===================================
   12. CTA BANNER
   =================================== */

.section-cta-banner {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-content .btn {
    background: white;
    color: var(--color-primary);
}

.cta-content .btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

/* ===================================
   13. FOOTER
   =================================== */

.footer {
    background: var(--color-secondary-dark);
    color: white;
    padding: var(--spacing-2xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo .logo-primary {
    font-size: 2rem;
}

.footer-logo .logo-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.footer-tagline {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
}

.footer-column h4 {
    color: white;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: 0.5rem;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-contact svg {
    flex-shrink: 0;
    color: var(--color-primary);
    margin-top: 0.25rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact a:hover {
    color: var(--color-primary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.social-link:hover {
    background: var(--color-primary);
    transform: translateY(-4px);
}

.social-link svg {
    color: white;
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* ===================================
   14. PAGE HEADER
   =================================== */

.page-header {
    padding: 150px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-header-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-header-pattern {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(44, 62, 80, 0.05) 100%),
        radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.08) 0%, transparent 50%);
}

.page-header-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-breadcrumb {
    display: inline-block;
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.page-title {
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-light);
}

/* ===================================
   15. CONTENT PAGES
   =================================== */

.section-content {
    padding: var(--spacing-2xl) 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-xl);
}

.content-main {
    /* Main content area */
}

.content-highlight {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(255, 107, 53, 0.02) 100%);
    border-radius: var(--radius-xl);
    border-left: 4px solid var(--color-primary);
    margin-bottom: var(--spacing-lg);
}

.highlight-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-icon svg {
    color: white;
}

.content-text {
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.feature-box {
    padding: var(--spacing-md);
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: var(--transition-base);
}

.feature-box:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon svg {
    color: var(--color-primary);
}

.feature-box h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.feature-box p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* Sidebar */
.content-sidebar {
    /* Sidebar styling */
}

.sidebar-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-md);
}

.sidebar-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.values-list {
    list-style: none;
}

.values-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.values-list svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

.sidebar-cta {
    background: var(--gradient-primary);
    color: white;
}

.sidebar-cta h3,
.sidebar-cta p {
    color: white;
}

.sidebar-cta .btn {
    background: white;
    color: var(--color-primary);
}

/* ===================================
   16. PRACTICE AREAS PAGE
   =================================== */

.section-practice-areas {
    /* Practice areas specific styling */
}

.practice-area-block {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-lg);
}

.practice-area-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--color-border);
}

.practice-area-label {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    font-family: var(--font-secondary);
}

.practice-area-header h2 {
    margin-bottom: 0;
}

.practice-subsection {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-top: var(--spacing-lg);
    margin-bottom: 1rem;
}

.practice-list {
    list-style: none;
    padding-left: 0;
}

.practice-list li {
    padding: 0.75rem 0 0.75rem 2.5rem;
    position: relative;
    border-bottom: 1px solid var(--color-border);
}

.practice-list li:last-child {
    border-bottom: none;
}

.practice-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1rem;
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
}

.practice-list.numbered {
    counter-reset: practice-counter;
}

.practice-list.numbered li::before {
    counter-increment: practice-counter;
    content: counter(practice-counter);
    width: 28px;
    height: 28px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    top: 0.625rem;
}

.practice-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-md);
}

/* ===================================
   17. CLIENTS PAGE
   =================================== */

.section-clients-intro {
    padding: var(--spacing-lg) 0;
}

.client-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.client-logo-card {
    aspect-ratio: 16/9;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    transition: var(--transition-base);
    border: 1px solid var(--color-border);
}

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

.client-logo-placeholder {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    font-weight: 600;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.industry-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition-base);
}

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

.industry-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
}

.industry-icon svg {
    color: var(--color-primary);
}

.industry-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.industry-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.testimonial-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.testimonial-quote {
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text);
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial-author h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ===================================
   18. CONTACT PAGE
   =================================== */

.section-contact {
    padding: var(--spacing-2xl) 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-xl);
}

/* Contact Info */
.contact-info {
    background: var(--gradient-secondary);
    color: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
}

.contact-info-header {
    margin-bottom: var(--spacing-xl);
}

.contact-info-header h2 {
    color: white;
    margin-bottom: 0.5rem;
}

.contact-info-header p {
    color: rgba(255, 255, 255, 0.8);
}

.contact-info-items {
    margin-bottom: var(--spacing-xl);
}

.contact-info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: var(--spacing-lg);
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    background: rgba(255, 107, 53, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-icon svg {
    color: var(--color-primary);
}

.contact-info-content h3 {
    color: white;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.contact-info-content p,
.contact-info-content a {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.25rem;
}

.contact-info-content a:hover {
    color: var(--color-primary);
}

.contact-social h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.social-links-large {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link-large {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    color: white;
    transition: var(--transition-base);
}

.social-link-large:hover {
    background: var(--color-primary);
    transform: translateX(8px);
}

/* Contact Form */
.contact-form-wrapper {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.contact-form-header {
    margin-bottom: var(--spacing-lg);
}

.contact-form-header h2 {
    margin-bottom: 0.5rem;
}

.contact-form-header p {
    color: var(--color-text-light);
}

.contact-form {
    /* Form styling */
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.required {
    color: var(--color-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.form-submit {
    margin-top: var(--spacing-lg);
}

.form-submit .btn {
    width: 100%;
}

.btn-loader {
    display: inline-flex;
}

.btn-loader svg {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    display: block;
    background: #D4EDDA;
    color: #155724;
    border: 1px solid #C3E6CB;
}

.form-message.error {
    display: block;
    background: #F8D7DA;
    color: #721C24;
    border: 1px solid #F5C6CB;
}

/* Map Section */
.section-map {
    padding-bottom: var(--spacing-2xl);
}

.map-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-placeholder {
    height: 400px;
    background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-overlay {
    text-align: center;
    padding: var(--spacing-lg);
}

.map-overlay svg {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.map-overlay p {
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

/* ===================================
   19. RESPONSIVE DESIGN
   =================================== */

@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .team-member-detailed {
        grid-template-columns: 1fr;
    }
    
    .team-member-image .team-image-placeholder {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-base);
        gap: 0;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid var(--color-border);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-contact-quick {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .team-preview-grid,
    .team-grid,
    .industries-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-2xl: 4rem;
        --spacing-xl: 3rem;
        --spacing-lg: 2rem;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .section {
        padding: var(--spacing-xl) 0;
    }
    
    .contact-info,
    .contact-form-wrapper,
    .practice-area-block,
    .extended-team-content {
        padding: var(--spacing-md);
    }
}

/* ===================================
   20. UTILITY CLASSES
   =================================== */

.center {
    text-align: center;
}

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }

.text-primary { color: var(--color-primary); }
.text-muted { color: var(--color-text-muted); }

/* ===================================
   END OF STYLES
   =================================== */

