:root {
    --color-bg: #0a0a0a;
    --color-surface: #141414;
    --color-text: #e5e5e5;
    --color-text-muted: #a0a0a0;
    --color-accent: #d4a574;
    --color-accent-bright: #f4c890;
    --color-border: #2a2a2a;
    
    --font-display: 'Crimson Pro', serif;
    --font-body: 'DM Sans', sans-serif;
}

/* Light Mode */
[data-theme="light"] {
    --color-bg: #fafafa;
    --color-surface: #ffffff;
    --color-text: #1a1a1a;
    --color-text-muted: #666666;
    --color-accent: #b8834a;
    --color-accent-bright: #d4a574;
    --color-border: #e0e0e0;
}

/* ============================================
   GLOBAL VISIBILITY FIX - Force all content visible
   This overrides any animation that hides content
   Excludes interactive elements like FAQ
   ============================================ */
section,
.section-header,
.section-tag,
.section-title,
.section-subtitle,
.service-card,
.step-card,
.ethics-card,
.case-card,
.report-card,
.founder-bio,
.about-content,
.contact-form,
.newsletter-content {
    opacity: 1 !important;
    visibility: visible !important;
}

/* FAQ items visible but allow transform for icon rotation */
.faq-item {
    opacity: 1 !important;
    visibility: visible !important;
}

/* data-scroll elements visible without blocking transforms */
[data-scroll] {
    opacity: 1 !important;
    visibility: visible !important;
}

/* ============================================
   SECURITY - Honeypot fields
   Hidden from humans, visible to bots
   ============================================ */
.ohnohoney {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.ohnohoney input,
.ohnohoney label {
    display: block;
    height: 0;
    width: 0;
    opacity: 0;
    overflow: hidden;
}

/* Theme Toggle - In Header */
.theme-toggle-header {
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-right: 0.5rem;
}

.theme-toggle-header svg {
    color: var(--color-accent);
    stroke: var(--color-accent);
}

.theme-toggle-header:hover {
    border-color: var(--color-accent);
    background: rgba(212, 165, 116, 0.1);
}

.theme-icon {
    transition: transform 0.3s ease;
}

.theme-toggle-header:hover .theme-icon {
    transform: rotate(-15deg);
}

[data-theme="light"] .theme-toggle-header {
    border-color: #d0d0d0;
}

[data-theme="light"] .theme-toggle-header svg {
    color: var(--color-accent-light);
    stroke: var(--color-accent-light);
}

[data-theme="light"] .theme-toggle-header:hover {
    background: rgba(184, 131, 74, 0.1);
}

@media (max-width: 768px) {
    .theme-toggle-header {
        width: 32px;
        height: 32px;
        margin-right: 0.25rem;
    }
    
    .theme-toggle-header .icon-sun,
    .theme-toggle-header .icon-moon {
        width: 16px;
        height: 16px;
    }
}

/* Fallback: Show content immediately if JS fails or animations disabled */
@media (prefers-reduced-motion: reduce) {
    [data-scroll],
    .gsap-fade-up,
    .gsap-fade-left,
    .gsap-fade-right,
    .gsap-scale {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* CRITICAL FIX: Content ALWAYS visible - no conditions */
[data-scroll] {
    opacity: 1 !important;
    transform: none !important;
}

/* Theme Toggle Button */
/* GSAP Animation Classes - DISABLED for stability */
/*
.js-loaded .gsap-fade-up {
    opacity: 0;
    transform: translateY(60px);
}

.js-loaded .gsap-fade-left {
    opacity: 0;
    transform: translateX(-60px);
}

.js-loaded .gsap-fade-right {
    opacity: 0;
    transform: translateX(60px);
}

.js-loaded .gsap-scale {
    opacity: 0;
    transform: scale(0.8);
}

.js-loaded .gsap-stagger {
    opacity: 0;
    transform: translateY(40px);
}
*/

/* Dyslexia-friendly mode - Using Lexend + Atkinson Hyperlegible (free, open source) */
body.dyslexia-mode {
    --font-display: 'Atkinson Hyperlegible', 'Lexend', 'Comic Sans MS', sans-serif;
    --font-body: 'Lexend', 'Atkinson Hyperlegible', 'Comic Sans MS', sans-serif;
    letter-spacing: 0.12em;
    word-spacing: 0.16em;
    line-height: 2;
}

body.dyslexia-mode p,
body.dyslexia-mode li,
body.dyslexia-mode a {
    font-size: 1.15em;
}

body.dyslexia-mode h1,
body.dyslexia-mode h2,
body.dyslexia-mode h3 {
    font-weight: 700;
    line-height: 1.5;
}

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

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* Smooth transitions for theme switch */
body *, body *::before, body *::after {
    transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(212, 165, 116, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 165, 116, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1400px;  /* Increased from 1200px */
    width: 95%;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Navigation */

/* Language selector in header - repositioned */
.nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-header .language-selector {
    margin: 0;
    padding: 0;
}

@media (max-width: 968px) {
    .nav-header {
flex-direction: column;
gap: 1rem;
    }
}

nav {
    padding: 1.5rem 0 1rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid var(--color-border);
}

nav .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.nav-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.5rem;
}

.nav-header-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-header-right .accessibility-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
}

.nav-header-right .accessibility-label {
    display: inline;
    font-size: 0.75rem;
}

@media (min-width: 769px) {
    .nav-header-right .accessibility-label {
        font-size: inherit;
    }
}

.nav-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--color-border);
    padding-top: 1rem;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 3rem;
}

/* Language Selector */
.language-selector {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.lang-link {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.5rem 0.75rem;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.lang-separator {
    color: var(--color-border);
    font-size: 0.75rem;
}

.lang-link.active {
    color: var(--color-accent);
    border-color: var(--color-accent);
    pointer-events: none;
    cursor: default;
}

.lang-link:hover {
    color: var(--color-accent);
}

.lang-separator {
    color: var(--color-border);
}

/* Menu toggle - hidden on desktop */
.menu-toggle {
    display: none;
}

/* Header Controls */
.header-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Accessibility Button */
.accessibility-btn {
    background: transparent;
    border: 1px solid var(--color-border);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.accessibility-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-text);
}

.accessibility-btn[aria-pressed="true"] {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-bg);
}

.accessibility-btn[aria-pressed="true"] .accessibility-status {
    color: var(--color-bg);
}

.accessibility-label {
    font-weight: 400;
}

.accessibility-status {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--color-accent);
}

.accessibility-btn[aria-pressed="true"] .accessibility-status {
    color: var(--color-bg);
}

/* Accessibility Popup Notification */
.accessibility-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--color-surface);
    border: 1px solid var(--color-accent);
    border-radius: 8px;
    padding: 1.5rem;
    max-width: 350px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.accessibility-popup.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.accessibility-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.accessibility-popup-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-accent);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.accessibility-popup-close {
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.accessibility-popup-close:hover {
    color: var(--color-text);
}

.accessibility-popup-text {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.logo span {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-bright) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

.logo-icon {
    color: var(--color-accent);
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(212, 165, 116, 0.3));
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}

/* Dropdown styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
}

.dropdown-toggle::before {
    content: '';
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::before {
    transform: rotate(-180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 1rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--color-text);
    text-decoration: none;
    border-bottom: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: rgba(212, 165, 116, 0.1);
    color: var(--color-accent);
    padding-left: 2rem;
}

.dropdown-menu a::after {
    display: none;
}

.service-tag {
    display: block;
    font-size: 0.7rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 10rem;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.hero-text h1 .accent {
    color: var(--color-accent);
    font-weight: 600;
    display: block;
}

.hero-text p {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-cta-wrapper {
    text-align: center;
    margin-top: 3rem;
}

.cta-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--color-accent);
    color: var(--color-bg);
    text-decoration: none;
    font-weight: 500;
    border-radius: 2px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-accent-bright);
    transition: left 0.3s ease;
    z-index: -1;
}

.cta-primary:hover::before {
    left: 0;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.3);
}

.hero-visual {
    position: relative;
    height: 500px;
}

.visual-card {
    position: absolute;
    background: rgba(15, 15, 15, 0.95);
    border: 1px solid var(--color-accent);
    padding: 1.5rem;
    border-radius: 8px;
    transition: all 0.5s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    width: 200px;
}

.visual-card:nth-child(1) {
    top: 0;
    left: 0;
    animation: float 6s ease-in-out infinite;
}

.visual-card:nth-child(2) {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 6s ease-in-out infinite 2s;
}

.visual-card:nth-child(3) {
    bottom: 0;
    right: 0;
    animation: float 6s ease-in-out infinite 4s;
}

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

.stat-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-accent);
    font-weight: 600;
}

/* Services Section */
.services {
    padding: 10rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-tag {
    font-size: 0.875rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 300;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--color-text-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 3.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 0;
    background: linear-gradient(180deg, var(--color-accent) 0%, transparent 100%);
    transition: height 0.6s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top left, rgba(212, 165, 116, 0.03) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    transform: translateX(12px);
    border-color: rgba(212, 165, 116, 0.3);
    box-shadow: -8px 8px 32px rgba(0, 0, 0, 0.3);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: transparent;
    border: 2px solid var(--color-accent);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0;
    transition: all 0.3s ease;
}

.service-icon:hover {
    background: var(--color-accent);
    color: var(--color-bg);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.service-card p {
    color: var(--color-text-muted);
    line-height: 1.8;
}

.service-price {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.service-price strong {
    color: var(--color-accent);
    font-size: 1.1rem;
}

/* Process Section */
.process {
    padding: 10rem 0;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-accent);
    font-weight: 600;
}

.process-step h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.step-separator {
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--color-accent) 20%, var(--color-accent-bright) 50%, var(--color-accent) 80%, transparent 100%);
    margin: 0.75rem auto 1rem;
    border-radius: 3px;
}

.process-step p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Portfolio Section */
.portfolio {
    padding: 10rem 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.portfolio-item {
    position: relative;
    aspect-ratio: 4/3;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.95) 0%, rgba(10, 10, 10, 0.95) 100%);
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    backdrop-filter: blur(0px);
}

.portfolio-item:hover::before {
    opacity: 1;
    backdrop-filter: blur(4px);
}

.portfolio-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
    border-color: rgba(212, 165, 116, 0.4);
}

.portfolio-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.4s ease;
    width: 80%;
}

.portfolio-item:hover .portfolio-content {
    opacity: 1;
}

.portfolio-content h4 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.portfolio-content p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.portfolio-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 1.25rem;
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--color-accent);
    letter-spacing: 0.05em;
    opacity: 0.5;
    text-transform: uppercase;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    max-width: 800px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    padding: 4rem;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(50px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-border);
    background: transparent;
    color: var(--color-text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: rotate(90deg);
}

.modal-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
}

.modal-tag {
    font-size: 0.75rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    display: block;
}

.modal-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.modal-subtitle {
    color: var(--color-text-muted);
    font-size: 1.125rem;
}

.modal-body {
    color: var(--color-text-muted);
    line-height: 1.8;
}

.modal-body h4 {
    color: var(--color-text);
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin: 2rem 0 1rem;
    font-weight: 400;
}

.modal-body ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.modal-body li {
    margin-bottom: 0.5rem;
}

.case-placeholder {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    padding: 4rem;
    text-align: center;
    margin: 2rem 0;
    color: var(--color-text-muted);
    font-style: italic;
}

/* Pro-bono Section */
.probono-section {
    padding: 10rem 0;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.05) 0%, rgba(10, 10, 10, 0) 100%);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

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

.probono-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 1.5px solid var(--color-accent);
    color: var(--color-accent);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
}

.probono-content h2 {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.probono-content p {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.probono-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin: 4rem 0;
    text-align: left;
}

.probono-item h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--color-text);
    margin-bottom: 0.75rem;
    font-weight: 400;
}

.probono-item p {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.probono-cta {
    margin-top: 3rem;
}

.cta-secondary {
    display: inline-block;
    padding: 1.125rem 2.5rem;
    border: 1.5px solid var(--color-accent);
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cta-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-accent);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.cta-secondary:hover::before {
    left: 0;
}

.cta-secondary:hover {
    color: var(--color-bg);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(212, 165, 116, 0.3);
}

/* Case Studies Section */
.case-studies {
    padding: 10rem 0;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

@media (max-width: 1200px) {
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cases-grid {
        grid-template-columns: 1fr;
    }
}

.case-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    padding: 2rem;
    position: relative;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.case-card:hover {
    border-color: rgba(212, 165, 116, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.case-tag {
    display: inline-block;
    font-size: 0.7rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    padding: 0.25rem 0.75rem;
    border: 1px solid var(--color-accent);
    border-radius: 2px;
    width: fit-content;
}

.case-card h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.case-card p {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    flex-grow: 1;
}

.case-cta {
    color: var(--color-accent);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.case-cta:hover {
    color: var(--color-accent-bright);
}

.case-cta-section {
    text-align: center;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--color-border);
}

.case-cta-section p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Reports Section */
.reports-section {
    padding: 10rem 0;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .reports-grid {
        grid-template-columns: 1fr;
    }
}

.report-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    padding: 2.5rem;
    position: relative;
    transition: all 0.4s ease;
}

.report-card:hover {
    border-color: rgba(212, 165, 116, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.report-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--color-surface);
    color: var(--color-accent);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.75rem;
    border: 1px solid var(--color-accent);
    border-radius: 2px;
}

.report-category {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.report-card h4 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--color-text);
    line-height: 1.3;
}

.report-card > p {
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.report-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.report-stat {
    display: flex;
    flex-direction: column;
}

.report-stat .stat-number {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--color-accent);
    font-weight: 400;
    line-height: 1;
}

.report-stat .stat-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 0.25rem;
}

.report-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.report-cta:hover {
    color: var(--color-accent-bright);
    gap: 0.75rem;
}

/* Ethics Section */
.ethics-section {
    padding: 10rem 0;
    position: relative;
}

.ethics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.ethics-card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    transition: all 0.4s ease;
}

.ethics-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 165, 116, 0.3);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.ethics-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 2rem;
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-accent);
    font-weight: 600;
}

.ethics-card h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-text);
    font-weight: 400;
}

.ethics-card p {
    color: var(--color-text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 10rem 0;
    background: var(--color-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.testimonial-card {
    background: var(--color-surface);
    padding: 2.5rem;
    border: 1px solid var(--color-border);
    transition: all 0.4s ease;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    font-family: var(--font-display);
    color: var(--color-accent);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 165, 116, 0.3);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

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

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--color-bg);
    font-size: 1.25rem;
}

.testimonial-info h5 {
    font-family: var(--font-display);
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--color-text);
    font-weight: 400;
}

.testimonial-info p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* Newsletter Section */
.newsletter-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.05) 0%, transparent 100%);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-text);
    font-weight: 400;
}

.newsletter-content p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 1rem 1.5rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--color-accent);
}

.newsletter-btn {
    padding: 1rem 2rem;
    background: var(--color-accent);
    color: var(--color-bg);
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: var(--color-accent-bright);
    transform: translateY(-2px);
}

.newsletter-note {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* Blog/Recursos Section */
.recursos-section {
    padding: 10rem 0;
    background: var(--color-bg);
}

.resource-categories {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 3rem 0 4rem;
    flex-wrap: wrap;
}

.category-tab {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.category-tab:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.category-tab.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-bg);
}

.recursos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.recurso-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.recurso-card.hidden {
    display: none;
}

.recurso-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 165, 116, 0.3);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.recurso-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1) 0%, rgba(212, 165, 116, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    border-bottom: 1px solid var(--color-border);
}

.recurso-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.recurso-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(212, 165, 116, 0.1);
    color: var(--color-accent);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    font-weight: 500;
    width: fit-content;
}

.recurso-card h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--color-text);
    font-weight: 400;
    line-height: 1.4;
}

.recurso-card p {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    flex: 1;
}

.recurso-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
    flex-wrap: wrap;
}

.recurso-download {
    margin-bottom: 1rem;
    padding: 0.875rem 1.5rem;
    background: transparent;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
    text-align: center;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    font-weight: 600;
    transition: all 0.3s ease;
    display: block;
    text-decoration: none;
}

.recurso-download:hover {
    background: var(--color-accent);
    color: var(--color-bg);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(212, 165, 116, 0.3);
}

.recursos-footer {
    margin-top: 4rem;
    padding: 2.5rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    text-align: center;
}

.recursos-footer p {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.recursos-footer strong {
    color: var(--color-text);
}

.recursos-footer a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.recursos-footer a:hover {
    color: var(--color-accent-bright);
}

.community-note {
    font-size: 0.95rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

/* About/Founder Section */
.about-section {
    padding: 10rem 0;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.03) 0%, transparent 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1000px;
    margin: 3rem auto 0;
}

.founder-image-wrapper {
    position: relative;
}

.founder-image {
    width: 100%;
    aspect-ratio: 1;
    background: var(--color-surface);
    border: 2px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--color-accent);
    position: relative;
    overflow: hidden;
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-badge {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: var(--color-bg);
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.founder-bio {
    color: var(--color-text-muted);
    line-height: 1.8;
}

.founder-bio h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.founder-bio .founder-title {
    color: var(--color-accent);
    font-size: 1rem;
    margin-bottom: 2rem;
    display: block;
}

.founder-bio p {
    margin-bottom: 1.5rem;
}

.founder-bio strong {
    color: var(--color-text);
    font-weight: 600;
}

.founder-credentials {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--color-surface);
    border-left: 3px solid var(--color-accent);
}

.founder-credentials h4 {
    font-family: var(--font-display);
    color: var(--color-text);
    margin-bottom: 1rem;
    font-weight: 400;
}

.founder-credentials ul {
    list-style: none;
    padding: 0;
}

.founder-credentials li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-text-muted);
}

.founder-credentials li::before {
    content: '';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 600;
}

.founder-principles {
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(212, 165, 116, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--color-accent);
}

.founder-principles h4 {
    font-family: var(--font-display);
    color: var(--color-accent);
    margin-bottom: 1rem;
    font-weight: 400;
}

.founder-principles p {
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.founder-principles p:last-child {
    margin-bottom: 0;
}

.founder-contact {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.founder-contact a {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.founder-contact a:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-2px);
}

/* Chatbot Widget */
.chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
}

.chat-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-accent);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(212, 165, 116, 0.4);
    transition: all 0.3s ease;
    font-size: 1.5rem;
}

.chat-button:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(212, 165, 116, 0.6);
}

.chat-button.active {
    background: var(--color-text);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    max-width: calc(100vw - 2rem);
    height: 520px;
    max-height: calc(100vh - 120px);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    display: none;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.chat-window.active {
    display: flex;
    animation: slideUp 0.3s ease;
}

.chat-header {
    padding: 0.5rem 0.75rem;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chat-avatar {
    width: 28px;
    height: 28px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-bg);
}

.chat-avatar svg {
    width: 14px;
    height: 14px;
}

.chat-header-text {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.chat-header h4 {
    font-family: var(--font-display);
    font-size: 0.8rem;
    color: var(--color-text);
    font-weight: 500;
    margin: 0;
    line-height: 1.2;
}

.chat-status {
    font-size: 0.65rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.status-dot {
    width: 5px;
    height: 5px;
    background: #22c55e;
    border-radius: 50%;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.chat-close {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0;
    width: 24px;
    height: 24px;
    line-height: 1;
}

.chat-close:hover {
    color: var(--color-accent);
}

.chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.chat-message {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.message-bubble {
    padding: 0.6rem 0.9rem;
    border-radius: 12px;
    max-width: 90%;
    line-height: 1.5;
    font-size: 0.8rem;
}

.message-bubble.bot {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    align-self: flex-start;
}

.message-bubble.user {
    background: var(--color-accent);
    color: var(--color-bg);
    align-self: flex-end;
}

.chat-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.chat-option-btn {
    padding: 0.75rem 1rem;
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-size: 0.875rem;
    border-radius: 6px;
}

.chat-option-btn:hover {
    background: rgba(212, 165, 116, 0.1);
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.chat-footer {
    padding: 0.6rem 0.75rem;
    border-top: 1px solid var(--color-border);
    background: var(--color-bg);
}

.chat-input-wrapper {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.chat-input {
    flex: 1;
    padding: 0.6rem 0.9rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.8rem;
    border-radius: 20px;
    transition: border-color 0.3s ease;
}

.chat-input:focus {
    outline: none;
    border-color: var(--color-accent);
}

.chat-input::placeholder {
    color: var(--color-text-muted);
}

.chat-send {
    width: 40px;
    height: 40px;
    background: var(--color-accent);
    border: none;
    color: var(--color-bg);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chat-send:hover {
    background: var(--color-accent-bright);
    transform: scale(1.05);
}

.chat-send:active {
    transform: scale(0.95);
}

.chat-powered {
    text-align: center;
    font-size: 0.55rem;
    color: var(--color-text-muted);
    margin-top: 0.35rem;
    opacity: 0.5;
}

.typing-indicator {
    display: flex;
    gap: 0.25rem;
    padding: 1rem 1.25rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    width: fit-content;
}

.typing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-text-muted);
    animation: typing 1.4s infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        opacity: 0.3;
        transform: translateY(0);
    }
    30% {
        opacity: 1;
        transform: translateY(-8px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 30px rgba(212, 165, 116, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 40px rgba(212, 165, 116, 0.5);
    }
}

/* CTA Section */
.cta-section {
    padding: 10rem 0;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.cta-content p {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
    line-height: 1.8;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 3rem auto 0;
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.form-group input,
.form-group textarea {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    padding: 1.125rem 1.25rem;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(212, 165, 116, 0.02);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: var(--color-accent);
    color: var(--color-bg);
    padding: 1.125rem 3rem;
    border: none;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    justify-self: center;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-accent-bright);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.submit-btn:hover::before {
    left: 0;
}

.submit-btn:hover {
    background: var(--color-accent-bright);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(212, 165, 116, 0.4);
}

/* Footer */
footer {
    padding: 3rem 0;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

footer p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.social-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--color-accent);
}

/* Responsive */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .probono-details {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .ethics-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .recursos-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .accessibility-banner {
        top: 70px;
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .banner-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .banner-btn {
        width: 100%;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .founder-image {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .founder-contact {
        flex-direction: column;
    }
    
    .founder-contact a {
        text-align: center;
        justify-content: center;
    }
    
    .resource-categories {
        gap: 0.5rem;
    }
    
    .category-tab {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    nav .container {
        gap: 0.25rem;
    }
    
    nav {
        padding: 1rem 0 0.5rem;
    }
    
    .nav-header {
        padding-bottom: 0.5rem;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .logo {
        font-size: 1.35rem;
        justify-content: center;
    }
    
    .logo-icon {
        width: 32px;
        height: 32px;
    }
    
    /* Nav header right - mobile layout */
    .nav-header-right {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        width: 100%;
    }
    
    /* First row: ES/EN + hamburger */
    .nav-header-right .language-selector,
    .nav-header-right .menu-toggle {
        order: 1;
    }
    
    /* Second row: accessibility button */
    .nav-header-right .accessibility-btn {
        order: 2;
        padding: 0.3rem 0.5rem;
        font-size: 0.7rem;
    }
    
    /* Create a wrapper effect with grid */
    .nav-header-right {
        display: grid;
        grid-template-columns: auto auto;
        grid-template-rows: auto auto;
        justify-content: center;
        gap: 0.4rem 0.75rem;
    }
    
    .nav-header-right .language-selector {
        grid-row: 1;
        grid-column: 1;
    }
    
    .nav-header-right .menu-toggle {
        grid-row: 1;
        grid-column: 2;
    }
    
    .nav-header-right .accessibility-btn {
        grid-row: 2;
        grid-column: 1 / -1;
        justify-self: center;
    }
    
    /* Hamburger menu button */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 40px;
        height: 40px;
        background: transparent;
        border: 1px solid var(--color-border);
        border-radius: 4px;
        cursor: pointer;
        padding: 8px;
        transition: all 0.3s ease;
    }
    
    .menu-toggle:hover {
        border-color: var(--color-accent);
    }
    
    .hamburger-line {
        display: block;
        width: 20px;
        height: 2px;
        background: var(--color-text);
        transition: all 0.3s ease;
    }
    
    .menu-toggle.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    /* Nav content hidden by default on mobile */
    .nav-content {
        display: none;
        flex-direction: column;
        gap: 1rem;
        padding-top: 0.75rem;
    }
    
    .nav-content.active {
        display: flex;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--color-border);
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .nav-links a {
        display: block;
        padding: 0.75rem 1rem;
    }
    
    .header-controls {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .accessibility-btn {
        width: 100%;
        justify-content: center;
    }
    
    .language-selector {
        justify-content: center;
    }
    
    .dropdown-menu {
        position: fixed;
        right: 1rem;
        left: 1rem;
        min-width: auto;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2.5rem;
    }
    
    .probono-content h2 {
        font-size: 2.5rem;
    }
    
    .modal-content {
        padding: 2rem;
        width: 95%;
    }
    
    .modal-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 969px) and (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .probono-details {
        grid-template-columns: 1fr;
    }
    
    .ethics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile menu toggle (add this for better mobile UX) */

@media (max-width: 968px) {
    nav .container {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
        padding: 1rem;
    }
    
    .nav-right {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(212, 165, 116, 0.1);
        text-align: center;
    }
    
    .nav-links li:last-child a {
        border-bottom: none;
    }
    
    .language-selector {
        justify-content: center;
        padding: 0.75rem 0;
    }
    
    .header-controls {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .accessibility-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Improve touch targets for mobile */
@media (max-width: 968px) {
    .cta-primary,
    .cta-secondary,
    .submit-btn {
        min-height: 48px;
        width: 100%;
        max-width: 100%;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* ========== MEJORAS CSS PREMIUM ========== */
/* 🎨 MEJORAS CSS ADICIONALES - LGF CONSULTING
 * Añade estas mejoras al final de tu <style> tag en index.html e index-en.html
 * para refinar aún más el diseño visual
 */

/* ============================================
   PALETA DE COLORES EXTENDIDA
   ============================================ */
:root {
    --color-accent-soft: #e6c9a8;
    --color-accent-hover: #f5d5a0;
    --color-shadow-accent: rgba(212, 165, 116, 0.15);
    --color-glow: rgba(212, 165, 116, 0.4);
}

/* ============================================
   EFECTOS DE HOVER MEJORADOS
   ============================================ */

/* Service Cards - Efecto más dramático */
.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
0 20px 40px rgba(0, 0, 0, 0.3),
0 0 20px var(--color-shadow-accent);
    border-color: var(--color-accent);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
rgba(212, 165, 116, 0.05) 0%, 
transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 1;
}

/* Portfolio Items - Zoom + Glow effect */
.portfolio-item {
    position: relative;
    overflow: hidden;
}

.portfolio-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--color-glow);
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease-out;
}

.portfolio-item:hover::after {
    width: 400px;
    height: 400px;
    opacity: 0.15;
}

.portfolio-item:hover {
    transform: scale(1.05);
    z-index: 10;
}

/* ============================================
   BOTONES CON RIPPLE EFFECT
   ============================================ */

.cta-primary {
    position: relative;
    overflow: hidden;
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-primary:hover::before {
    width: 400px;
    height: 400px;
}

.cta-primary:active::before {
    width: 0;
    height: 0;
    transition: width 0s, height 0s;
}

/* ============================================
   NAVEGACIÓN MEJORADA
   ============================================ */

nav {
    backdrop-filter: blur(16px) saturate(180%);
    background: rgba(10, 10, 10, 0.90);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.nav-links a {
    position: relative;
    transition: all 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 80%;
}

/* ============================================
   FORMS CON GLOW ON FOCUS
   ============================================ */

.form-group input:focus,
.form-group textarea:focus,
.newsletter-input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 
0 0 0 3px rgba(212, 165, 116, 0.1),
0 4px 12px rgba(212, 165, 116, 0.2);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* ============================================
   GRADIENTES PREMIUM EN BACKGROUNDS
   ============================================ */

/* Hero Section Gradient */
.hero::before {
    background: 
radial-gradient(circle at 20% 30%, rgba(212, 165, 116, 0.12) 0%, transparent 40%),
radial-gradient(circle at 80% 70%, rgba(212, 165, 116, 0.08) 0%, transparent 40%),
radial-gradient(circle at 50% 50%, rgba(212, 165, 116, 0.05) 0%, transparent 60%);
    animation: gradientShift 20s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
opacity: 1;
    }
    50% {
opacity: 0.8;
    }
}

/* ============================================
   TESTIMONIALS - GLASSMORPHISM
   ============================================ */

.testimonial-card {
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 165, 116, 0.15);
}

.testimonial-card:hover {
    background: rgba(20, 20, 20, 0.9);
    border-color: rgba(212, 165, 116, 0.3);
    box-shadow: 
0 20px 40px rgba(0, 0, 0, 0.3),
0 0 20px rgba(212, 165, 116, 0.1);
}

/* ============================================
   SCROLL ANIMATIONS - STAGGER EFFECT
   ============================================ */

/* Stagger effect for grid items */
.js-loaded .services-grid [data-scroll]:nth-child(1).visible { transition-delay: 0.1s; }
.js-loaded .services-grid [data-scroll]:nth-child(2).visible { transition-delay: 0.2s; }
.js-loaded .services-grid [data-scroll]:nth-child(3).visible { transition-delay: 0.3s; }
.js-loaded .services-grid [data-scroll]:nth-child(4).visible { transition-delay: 0.4s; }
.js-loaded .services-grid [data-scroll]:nth-child(5).visible { transition-delay: 0.5s; }
.js-loaded .services-grid [data-scroll]:nth-child(6).visible { transition-delay: 0.6s; }

/* ============================================
   CHATBOT - PULSE ANIMATION
   ============================================ */

@keyframes chatPulse {
    0%, 100% {
box-shadow: 0 8px 24px rgba(212, 165, 116, 0.4);
transform: scale(1);
    }
    50% {
box-shadow: 0 12px 32px rgba(212, 165, 116, 0.6);
transform: scale(1.05);
    }
}

.chat-button {
    animation: chatPulse 3s ease-in-out infinite;
}

.chat-button:hover {
    animation: none;
    transform: scale(1.1) !important;
    box-shadow: 0 16px 40px rgba(212, 165, 116, 0.7);
}

/* ============================================
   MODALS - SMOOTH BACKDROP
   ============================================ */

.modal {
    backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.85);
}

.modal-content {
    animation: modalSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalSlideIn {
    from {
opacity: 0;
transform: translateY(100px) scale(0.9);
    }
    to {
opacity: 1;
transform: translateY(0) scale(1);
    }
}

/* ============================================
   ACCESSIBILITY POPUP - SLIDE IN
   ============================================ */

.accessibility-popup.show {
    animation: slideInFromBottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideInFromBottom {
    from {
transform: translateY(100%);
opacity: 0;
    }
    to {
transform: translateY(0);
opacity: 1;
    }
}

/* ============================================
   FOOTER - SUBTLE GRADIENT
   ============================================ */

footer {
    background: linear-gradient(180deg, 
var(--color-bg) 0%, 
rgba(20, 20, 20, 0.95) 100%);
    border-top: 1px solid rgba(212, 165, 116, 0.1);
}

/* ============================================
   SELECTION COLOR
   ============================================ */

::selection {
    background: var(--color-accent);
    color: var(--color-bg);
}

::-moz-selection {
    background: var(--color-accent);
    color: var(--color-bg);
}

/* ============================================
   SMOOTH SCROLLBAR (Webkit only)
   ============================================ */

::-webkit-scrollbar {
    width: 12px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 6px;
    border: 3px solid var(--color-bg);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent);
}

/* ============================================
   PERFORMANCE OPTIMIZATIONS
   ============================================ */

/* Force GPU acceleration for smooth animations */
.service-card,
.portfolio-item,
.cta-primary,
.testimonial-card,
.modal-content {
    will-change: transform;
    transform: translateZ(0);
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
    }
}

/* ============================================
   MOBILE OPTIMIZATIONS
   ============================================ */

@media (max-width: 968px) {
    /* Reduce hover effects on mobile */
    .service-card:hover,
    .portfolio-item:hover,
    .testimonial-card:hover {
transform: none;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    }
    
    /* Improve touch targets */
    button,
    a.cta-primary,
    a.cta-secondary,
    .nav-links a {
min-height: 48px;
display: flex;
align-items: center;
justify-content: center;
    }
    
    /* Simplify animations on mobile */
    [data-scroll] {
transition-duration: 0.4s;
    }
}

/* ============================================
   DARK MODE ENHANCEMENTS (Future-ready)
   ============================================ */

@media (prefers-color-scheme: dark) {
    /* Already optimized for dark mode, but you can add overrides here if needed */
}

/* ============================================
   HIGH CONTRAST MODE SUPPORT
   ============================================ */

@media (prefers-contrast: high) {
    .service-card,
    .portfolio-item,
    .testimonial-card {
border-width: 2px;
    }
    
    .cta-primary,
    .cta-secondary {
border-width: 3px;
font-weight: 700;
    }
}

/* ============================================
   PRINT STYLES (Bonus)
   ============================================ */

@media print {
    nav,
    .chat-widget,
    .accessibility-popup,
    .newsletter-section {
display: none;
    }
    
    * {
background: white !important;
color: black !important;
    }
    
    a[href]::after {
content: " (" attr(href) ")";
    }
}

/* ============================================
   MICRO-INTERACTIONS - ICONS
   ============================================ */

.service-icon {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(5deg);
    color: var(--color-accent-bright);
}

/* ============================================
   LOADING STATES (For future use)
   ============================================ */

@keyframes shimmer {
    0% {
background-position: -1000px 0;
    }
    100% {
background-position: 1000px 0;
    }
}

.loading-skeleton {
    background: linear-gradient(
90deg,
var(--color-surface) 0%,
rgba(212, 165, 116, 0.1) 50%,
var(--color-surface) 100%
    );
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* =============================================
   FIN DE MEJORAS CSS
   ============================================= */

/* 
INSTRUCCIONES DE USO:
1. Abre index.html o index-en.html
2. Busca la etiqueta 
/* Bio/Background section headers - ENLARGED */
#sobre h2 {
    font-size: 2.8rem !important;  /* Increased from 2.5rem */
    margin-bottom: 2rem;
}

#sobre h3 {
    font-size: 2rem !important;  /* Increased from 1.8rem */
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

#sobre h4 {
    font-size: 1.5rem !important;  /* Increased from 1.3rem */
    margin-top: 2rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    #sobre h2 {
font-size: 2.2rem !important;
    }
    #sobre h3 {
font-size: 1.6rem !important;
    }
    #sobre h4 {
font-size: 1.3rem !important;
    }
}


/* Language selector active state */
.lang-link.active {
    color: var(--color-accent);
    font-weight: 600;
    border: 1px solid var(--color-accent);
    pointer-events: none;
    cursor: default;
}

.lang-link {
    transition: all 0.3s ease;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 350px;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-left: 3px solid #4ade80;
}

.toast.error {
    border-left: 3px solid #f87171;
}

.toast.info {
    border-left: 3px solid var(--color-accent);
}

.toast-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.toast-message {
    color: var(--color-text);
    font-size: 0.9rem;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    font-size: 1.25rem;
    transition: color 0.2s;
}

.toast-close:hover {
    color: var(--color-text);
}

/* Sticky CTA Mobile */
.sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
    padding: 0.75rem 1rem;
    z-index: 998;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.sticky-cta.visible {
    transform: translateY(0);
}

.sticky-cta.hidden {
    display: none !important;
}

.sticky-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.sticky-cta-text {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.sticky-cta-text strong {
    color: var(--color-text);
    display: block;
}

.sticky-cta-btn {
    background: var(--color-accent);
    color: var(--color-bg);
    padding: 0.6rem 1.25rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    border-radius: 4px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.sticky-cta-btn:hover {
    background: var(--color-accent-bright);
}

.sticky-cta-close {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.sticky-cta-close:hover {
    color: var(--color-text);
}

@media (max-width: 768px) {
    .sticky-cta {
display: block;
    }
    
    .chat-widget {
bottom: 8rem;
right: 1rem;
    }
    
    .chat-button {
        width: 52px;
        height: 52px;
    }
}

/* FAQ Section */
.faq-section {
    padding: 8rem 0;
    background: var(--color-bg);
}

.faq-grid {
    max-width: 800px;
    margin: 4rem auto 0;
}

.faq-item {
    border: 1px solid var(--color-border);
    margin-bottom: 1rem;
    background: var(--color-surface);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(212, 165, 116, 0.3);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    color: var(--color-text);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--color-accent);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--color-accent);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* Number Animation */
.stat-value[data-target] {
    transition: all 0.3s ease;
}

.stat-value.counting {
    color: var(--color-accent-bright);
}

/* ============================================
   UX ENHANCEMENTS
   ============================================ */

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
    position: relative;
}

.loader-logo {
    color: var(--color-accent);
    animation: logoPulse 1.5s ease-in-out infinite;
}

.loader-spinner {
    width: 80px;
    height: 80px;
    border: 2px solid var(--color-border);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: spin 1s linear infinite;
}

@keyframes logoPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.95); }
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-bright));
    z-index: 10001;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(212, 165, 116, 0.5);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 998;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-bg);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 180px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
}

/* Share Buttons */
.share-buttons {
    position: fixed;
    bottom: 160px;
    right: 20px;
    z-index: 998;
}

.share-toggle {
    width: 44px;
    height: 44px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.share-toggle:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.share-options {
    position: absolute;
    bottom: 55px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.share-buttons.active .share-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.share-buttons.active .share-toggle {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-bg);
}

.share-btn {
    width: 40px;
    height: 40px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    transition: all 0.3s ease;
    text-decoration: none;
}

.share-btn:hover {
    transform: scale(1.1);
}

.share-linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
    color: white;
}

.share-copy:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-bg);
}

@media (max-width: 768px) {
    .share-buttons {
        bottom: 240px;
        right: 15px;
    }
    
    .share-toggle {
        width: 40px;
        height: 40px;
    }
    
    .share-btn {
        width: 36px;
        height: 36px;
    }
}

/* Scroll Reveal Animations */
[data-scroll] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-scroll].visible {
    opacity: 1;
    transform: translateY(0);
}

[data-scroll="fade-up"] {
    transform: translateY(40px);
}

[data-scroll="fade-left"] {
    transform: translateX(-40px);
}

[data-scroll="fade-right"] {
    transform: translateX(40px);
}

[data-scroll="zoom-in"] {
    transform: scale(0.9);
}

[data-scroll].visible[data-scroll="fade-up"],
[data-scroll].visible[data-scroll="fade-left"],
[data-scroll].visible[data-scroll="fade-right"] {
    transform: translate(0);
}

[data-scroll].visible[data-scroll="zoom-in"] {
    transform: scale(1);
}

/* Stagger animation delay */
[data-scroll-delay="1"] { transition-delay: 0.1s; }
[data-scroll-delay="2"] { transition-delay: 0.2s; }
[data-scroll-delay="3"] { transition-delay: 0.3s; }
[data-scroll-delay="4"] { transition-delay: 0.4s; }
[data-scroll-delay="5"] { transition-delay: 0.5s; }

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    [data-scroll] {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .page-loader {
        display: none;
    }
    
    .loader-logo,
    .loader-spinner {
        animation: none;
    }
}

/* Button Microinteractions */
.cta-primary,
.cta-secondary,
.chat-option-btn,
.quick-reply-btn {
    position: relative;
    overflow: hidden;
}

.cta-primary::after,
.cta-secondary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.cta-primary:active::after,
.cta-secondary:active::after {
    width: 300px;
    height: 300px;
}

/* Smooth hover transitions for cards */
.service-card,
.case-card,
.ethics-card,
.report-card,
.faq-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Focus visible styles for accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: var(--color-accent);
    color: var(--color-bg);
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* Dark mode auto detection */
@media (prefers-color-scheme: light) {
    :root:not([data-theme="dark"]) {
        --color-bg: #faf9f7;
        --color-surface: #ffffff;
        --color-text: #1a1a1a;
        --color-text-muted: #666666;
        --color-border: #e5e5e5;
        --color-accent: #b8834a;
        --color-accent-bright: #d4a574;
    }
}
