:root {
    --color-primary: #0F172A;
    --color-secondary: #1E3A5F;
    --color-accent: #A0522D;
    --color-accent-light: #CD853F;
    --color-accent-glow: rgba(160, 82, 45, 0.3);
    --color-gradient: linear-gradient(135deg, #0F172A 0%, #1E3A5F 50%, #2D1B0E 100%);
    --color-gradient-accent: linear-gradient(135deg, #DC2626 0%, #B91C1C 50%, #991B1B 100%);
    --color-dark: #0F172A;
    --color-red: #DC2626;
    --color-red-dark: #B91C1C;
    --color-light: #F8FAFC;
    --color-white: #FFFFFF;
    --color-text: #334155;
    --color-text-light: #64748B;
    --color-muted: #94A3B8;
    --color-border: #E2E8F0;
    --color-success: #10B981;
    --font-display: 'Outfit', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 40px var(--color-accent-glow);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p { margin-bottom: 1rem; }

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

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

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .container { padding: 0 2rem; }
}

@media (min-width: 1200px) {
    .container { max-width: 1400px; }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-gradient-accent);
    color: var(--color-white);
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5);
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-primary);
    border: 1px solid var(--color-border);
}

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

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

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

.btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Make Email Us button visible when header is scrolled (white background) */
.header.scrolled .btn-ghost {
    background: var(--color-light);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.header.scrolled .btn-ghost:hover {
    background: var(--color-white);
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* Header - Fixed Banner Always Visible */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all var(--transition-base);
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header.scrolled {
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    padding: 1rem 0;
}

.header .nav-link {
    color: rgba(255, 255, 255, 0.95);
}

.header .nav-link:hover {
    color: var(--color-white);
}

.header.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.95);
}

.header.scrolled .nav-link:hover {
    color: var(--color-white);
}

/* Logo styling handled in .logo class above */

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

.header-inner .logo {
    flex: 0 0 auto;
    order: 0;
}

.logo {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    transition: all var(--transition-base);
    max-width: none;
    overflow: visible;
    z-index: 10;
}

/* Professional Text-based Logo Styles */
.logo-container {
    text-align: left;
    color: #8B4513;
    line-height: 1;
}

.logo-main {
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem;
    line-height: 0.85;
    font-weight: 400;
    margin: 0;
    letter-spacing: -1px;
    color: #8B4513;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), 0 1px 3px rgba(255, 255, 255, 0.1);
}

.logo-sub-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 6px;
}

.logo-sub {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #8B4513;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.logo .line {
    display: block;
    height: 1.5px;
    width: 18px;
    background-color: #8B4513;
    border-radius: 1px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.header.scrolled .logo-main {
    font-size: 2rem;
}

.header.scrolled .logo-sub {
    font-size: 0.45rem;
}

@media (max-width: 768px) {
    .logo {
        padding: 0;
    }

    .logo-main {
        font-size: 1.75rem;
    }
    
    .logo-sub {
        font-size: 0.4rem;
    }
    
    .logo .line {
        width: 14px;
        height: 1px;
    }
}

.nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

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

.nav-link {
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition-base);
}

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

.header-ctas {
    display: none;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 1024px) {
    .header-ctas { display: flex; }
}

.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: var(--radius-md);
    color: var(--color-white);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.header.scrolled .mobile-menu-btn {
    background: var(--color-light);
    color: var(--color-primary);
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

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

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-primary);
    z-index: 999;
    display: flex;
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform var(--transition-slow);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: var(--radius-md);
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-link {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-white);
}

.mobile-menu-ctas {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--color-gradient);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
}

/* Optimize video for mobile devices */
@media (max-width: 768px) {
    .hero-video {
        opacity: 0.3;
    }
}

/* Disable video on very small screens to save bandwidth */
@media (max-width: 480px) {
    .hero-video {
        display: none;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(160, 82, 45, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(160, 82, 45, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(30, 58, 95, 0.5) 0%, transparent 70%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0.5) 100%);
    z-index: 1;
    pointer-events: none;
}


/* Floating elements */
.hero-float {
    position: absolute;
    pointer-events: none;
    opacity: 0.1;
    z-index: 2;
}

.hero-float-1 {
    top: 15%;
    left: 5%;
    width: 300px;
    height: 300px;
    background: var(--color-accent);
    border-radius: 50%;
    filter: blur(80px);
    animation: float 20s ease-in-out infinite;
}

.hero-float-2 {
    bottom: 20%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: var(--color-accent-light);
    border-radius: 50%;
    filter: blur(100px);
    animation: float 25s ease-in-out infinite reverse;
}

.hero-float-3 {
    top: 40%;
    right: 25%;
    width: 200px;
    height: 200px;
    background: var(--color-white);
    border-radius: 50%;
    filter: blur(60px);
    animation: float 15s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -30px) scale(1.05); }
    50% { transform: translate(-10px, 20px) scale(0.95); }
    75% { transform: translate(30px, 10px) scale(1.02); }
}

/* Floating service text */
.floating-services {
    z-index: 2;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.floating-service {
    position: absolute;
    font-family: var(--font-display);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.04);
    white-space: nowrap;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.floating-service:nth-child(1) {
    top: 15%;
    left: -5%;
    animation: slideRight 40s linear infinite;
}

.floating-service:nth-child(2) {
    top: 35%;
    right: -10%;
    animation: slideLeft 35s linear infinite;
}

.floating-service:nth-child(3) {
    top: 55%;
    left: -15%;
    animation: slideRight 45s linear infinite;
}

.floating-service:nth-child(4) {
    top: 75%;
    right: -5%;
    animation: slideLeft 38s linear infinite;
}

@keyframes slideRight {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100vw); }
}

@keyframes slideLeft {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100vw); }
}

.hero-content {
    position: relative;
    z-index: 3;
    position: relative;
    z-index: 10;
    padding: 8rem 0 6rem;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(160, 82, 45, 0.15);
    border: 1px solid rgba(160, 82, 45, 0.3);
    border-radius: var(--radius-full);
    color: var(--color-accent-light);
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge i {
    width: 16px;
    height: 16px;
}

.hero h1 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.1s backwards;
}

.hero h1 span {
    background: var(--color-gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-stat {
    text-align: left;
}

.hero-stat-value {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-accent-light);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

/* Section Styles */
.section {
    padding: 6rem 0;
}

@media (min-width: 768px) {
    .section { padding: 8rem 0; }
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(160, 82, 45, 0.1);
    border: 1px solid rgba(160, 82, 45, 0.2);
    border-radius: var(--radius-full);
    color: var(--color-accent);
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

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

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

/* Services Section */
.services {
    background: var(--color-white);
}

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

@media (min-width: 640px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1280px) {
    .services-grid { grid-template-columns: repeat(4, 1fr); }
}

.service-card {
    background: var(--color-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    transition: all var(--transition-base);
    border: 1px solid transparent;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-gradient-accent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-card:hover {
    background: var(--color-white);
    border-color: var(--color-border);
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

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

.service-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--color-gradient-accent);
    border-radius: var(--radius-md);
    color: var(--color-white);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-text);
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-accent);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.875rem;
    transition: gap var(--transition-fast);
}

.service-link:hover {
    gap: 0.75rem;
}

.service-link i {
    width: 16px;
    height: 16px;
}

/* About Section */
.about {
    background: var(--color-light);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(160, 82, 45, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

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

@media (min-width: 1024px) {
    .about-grid { grid-template-columns: 1fr 1fr; }
}

.about-image {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-image-badge {
    position: absolute;
    bottom: -2rem;
    right: -1rem;
    background: var(--color-gradient-accent);
    color: var(--color-white);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glow);
}

@media (min-width: 1024px) {
    .about-image-badge { right: -2rem; }
}

.about-image-badge-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.about-image-badge-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

.about-content {
    position: relative;
}

.about-content .section-badge {
    margin-bottom: 1rem;
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-content > p {
    color: var(--color-text-light);
    font-size: 1.0625rem;
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .about-features { grid-template-columns: repeat(2, 1fr); }
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.about-feature-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--color-accent);
}

.about-feature span {
    font-size: 0.9375rem;
    color: var(--color-text);
}

/* Process Section */
.process {
    background: var(--color-gradient);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(160, 82, 45, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(160, 82, 45, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.process .section-header {
    position: relative;
}

.process .section-badge {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
}

.process .section-title {
    color: var(--color-white);
}

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

.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    position: relative;
}

@media (min-width: 768px) {
    .process-steps { grid-template-columns: repeat(3, 1fr); }
}

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

.process-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-accent-light);
    backdrop-filter: blur(10px);
}

.process-step h3 {
    color: var(--color-white);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.process-step p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

/* Connector lines for desktop */
@media (min-width: 768px) {
    .process-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 60px;
        right: -1rem;
        width: calc(100% - 80px);
        height: 2px;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
        transform: translateX(50%);
    }
}

/* Testimonials Section */
.testimonials {
    background: var(--color-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
    background: var(--color-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    background: var(--color-white);
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.testimonial-stars i {
    width: 18px;
    height: 18px;
    color: #FBBF24;
    fill: #FBBF24;
}

.testimonial-content {
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    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: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.125rem;
}

.testimonial-info strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

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

/* CTA Section */
.cta-section {
    background: var(--color-light);
    position: relative;
    overflow: hidden;
}

.cta-box {
    background: var(--color-gradient);
    border-radius: var(--radius-xl);
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .cta-box { padding: 5rem 4rem; }
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(220, 38, 38, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(220, 38, 38, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* Contact Section */
.contact {
    background: var(--color-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 1024px) {
    .contact-grid { grid-template-columns: 1fr 1.2fr; }
}

.contact-info {
    padding: 2rem;
    background: var(--color-light);
    border-radius: var(--radius-xl);
}

.contact-info h3 {
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    background: var(--color-gradient-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    flex-shrink: 0;
}

.contact-method-icon i {
    width: 20px;
    height: 20px;
}

.contact-method-content strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.contact-method-content span,
.contact-method-content a {
    font-size: 0.9375rem;
    color: var(--color-text-light);
}

.contact-method-content a:hover {
    color: var(--color-accent);
}

.contact-form-wrapper {
    background: var(--color-light);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
}

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

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

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

.contact-form {
    display: grid;
    gap: 1.5rem;
}

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

@media (min-width: 640px) {
    .form-row { grid-template-columns: repeat(2, 1fr); }
}

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

.form-group label {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
}

.form-group label span {
    color: var(--color-accent);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    background: var(--color-white);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(160, 82, 45, 0.1);
}

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

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--color-text);
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    min-width: 18px;
    cursor: pointer;
    accent-color: var(--color-accent);
}

.checkbox-label span {
    flex: 1;
}

.checkbox-label a {
    color: var(--color-accent);
    text-decoration: underline;
    font-weight: 500;
}

.checkbox-label a:hover {
    color: var(--color-accent-light);
}

.form-submit {
    margin-top: 1rem;
}

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

@media (min-width: 640px) {
    .form-submit .btn { width: auto; }
}

/* Form Messages */
.form-message {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
    transition: all var(--transition-base);
    animation: slideDown 0.3s ease-out;
}

.form-message i {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.form-message-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #059669;
}

.form-message-success i {
    color: #10B981;
}

.form-message-error {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #DC2626;
}

.form-message-error i {
    color: #DC2626;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading state for submit button */
.form-submit .btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-submit .btn i[data-lucide="loader-2"] {
    animation: spin 1s linear infinite;
}

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

/* Footer */
.footer {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 640px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-brand {
    max-width: 320px;
}

.footer-brand .logo {
    margin-bottom: 1.5rem;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

/* Footer Logo - White/Brown for Dark Background */
.footer-logo {
    text-align: left;
}

.footer-logo .logo-main {
    font-size: 2rem;
    color: #CD853F;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.footer-logo .logo-sub {
    font-size: 0.45rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.footer-logo .line {
    background-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    width: 16px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

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

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-white);
    transition: all var(--transition-fast);
}

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

.footer-social a i {
    width: 18px;
    height: 18px;
}

.footer-column h4 {
    color: var(--color-white);
    font-size: 1rem;
    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.7);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-legal a:hover {
    color: var(--color-accent-light);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-white);
    padding: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

.cookie-banner.active {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .cookie-content {
        flex-direction: row;
        text-align: left;
    }
}

.cookie-text {
    flex: 1;
}

.cookie-text h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.125rem;
    color: var(--color-primary);
    font-weight: 600;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--color-text);
    line-height: 1.6;
}

.cookie-content a {
    color: var(--color-accent);
    text-decoration: underline;
    font-weight: 500;
}

.cookie-content a:hover {
    color: var(--color-accent-light);
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-accent { color: var(--color-accent); }

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* EOR Section */
.eor-section {
    background: var(--color-white);
    position: relative;
    overflow: hidden;
}

.eor-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: var(--color-light);
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
}

.eor-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
}

@media (min-width: 1024px) {
    .eor-grid { grid-template-columns: 1.2fr 1fr; }
}

.eor-content h2 {
    margin-bottom: 1.5rem;
}

.eor-content > p {
    color: var(--color-text-light);
    font-size: 1.0625rem;
    margin-bottom: 1rem;
}

.eor-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

@media (min-width: 640px) {
    .eor-benefits { grid-template-columns: repeat(2, 1fr); }
}

.eor-benefit {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--color-light);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.eor-benefit:hover {
    background: var(--color-white);
    box-shadow: var(--shadow-md);
}

.eor-benefit-icon {
    width: 40px;
    height: 40px;
    background: var(--color-gradient-accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    flex-shrink: 0;
}

.eor-benefit-icon i {
    width: 20px;
    height: 20px;
}

.eor-benefit strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.eor-benefit span {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.eor-features {
    position: relative;
}

.eor-features-card {
    background: var(--color-gradient);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    color: var(--color-white);
    box-shadow: var(--shadow-xl);
}

.eor-features-card h3 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.eor-features-list {
    list-style: none;
}

.eor-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.eor-features-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.eor-features-list li i {
    width: 20px;
    height: 20px;
    color: var(--color-accent-light);
    flex-shrink: 0;
    margin-top: 2px;
}

.eor-features-list li span {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
}

.eor-client-manages {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.eor-client-manages h4 {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.eor-client-list li i {
    color: rgba(255, 255, 255, 0.7);
}

.eor-client-list li span {
    color: rgba(255, 255, 255, 0.8);
}

/* Legal Pages */
.legal-page {
    background: var(--color-white);
    padding-top: 8rem;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.legal-content h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-border);
}

.legal-content h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.legal-content h4 {
    font-size: 1.125rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-text);
    font-weight: 600;
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--color-text);
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    line-height: 1.8;
}

.legal-content li {
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.legal-content ul ul,
.legal-content ol ol {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: var(--color-accent);
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.legal-content a:hover {
    color: var(--color-red);
}

.legal-content strong {
    color: var(--color-primary);
    font-weight: 600;
}

.legal-updated {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    font-style: italic;
    margin-bottom: 2rem;
}

.legal-version {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-light);
    font-size: 0.875rem;
    text-align: center;
}

@media (max-width: 768px) {
    .legal-page {
        padding-top: 6rem;
    }
    
    .legal-content {
        padding: 0 1rem;
    }
}

