/* CSS Variables */
:root {
    --color-primary: #1a365d;
    --color-primary-light: #2c5282;
    --color-primary-dark: #0f2442;
    --color-accent: #c9a227;
    --color-accent-light: #d4b84a;
    --color-text: #2d3748;
    --color-text-light: #4a5568;
    --color-text-muted: #718096;
    --color-bg: #ffffff;
    --color-bg-alt: #f7f9fc;
    --color-bg-dark: #1a365d;
    --color-border: #e2e8f0;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition: 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

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

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

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

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

h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}

h3 {
    font-size: 1.35rem;
    font-family: var(--font-sans);
    font-weight: 600;
}

h4 {
    font-size: 1.1rem;
    font-family: var(--font-sans);
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
}

strong {
    font-weight: 600;
    color: var(--color-primary-dark);
}

em {
    font-style: italic;
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    transition: all var(--transition);
}

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

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo:hover {
    color: var(--color-primary);
}

.logo-bricks {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 4px 0;
}

.logo-brick {
    width: 20px;
    height: 8px;
    background: linear-gradient(135deg, var(--color-accent) 0%, #b8960b 100%);
    border-radius: 2px;
    box-shadow: inset -1px -1px 2px rgba(0,0,0,0.15);
}

.logo-brick:first-child {
    margin-left: 4px;
}

.logo:hover .logo-brick {
    animation: logoBrickPulse 0.4s ease;
}

@keyframes logoBrickPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    transition: color var(--transition);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary-dark);
    transition: all var(--transition);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    text-align: center;
}

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

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

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

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

.btn-nav {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-full {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
    position: relative;
    overflow: hidden;
}

/* Floating Bricks Background */
.hero-bricks-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.floating-brick {
    position: absolute;
    background: linear-gradient(135deg, var(--color-accent) 0%, #b8960b 100%);
    border-radius: 4px;
    opacity: 0.08;
    box-shadow: inset -2px -2px 4px rgba(0,0,0,0.1);
}

.fb-1 {
    width: 80px;
    height: 30px;
    top: 15%;
    left: 5%;
    animation: floatBrick 8s ease-in-out infinite;
}

.fb-2 {
    width: 60px;
    height: 24px;
    top: 60%;
    right: 8%;
    animation: floatBrick 10s ease-in-out infinite;
    animation-delay: -2s;
}

.fb-3 {
    width: 50px;
    height: 20px;
    bottom: 20%;
    left: 12%;
    animation: floatBrick 12s ease-in-out infinite;
    animation-delay: -4s;
}

@keyframes floatBrick {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(2deg);
    }
    50% {
        transform: translateY(-8px) rotate(-1deg);
    }
    75% {
        transform: translateY(-20px) rotate(1deg);
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-content {
    max-width: 580px;
}

.hero h1 {
    margin-bottom: 24px;
}

.hero .highlight {
    color: var(--color-accent);
}

.hero-text {
    font-size: 1.15rem;
    color: var(--color-text-light);
    margin-bottom: 36px;
    line-height: 1.8;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 520px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
}

.hero-image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    max-width: 520px;
    height: 100%;
    background: var(--color-accent);
    border-radius: var(--radius-lg);
    z-index: 1;
    opacity: 0.15;
}

.hero-image::before {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 120px;
    height: 120px;
    background: var(--color-primary);
    border-radius: var(--radius-lg);
    z-index: 0;
    opacity: 0.1;
}

/* Sections */
.section {
    padding: 100px 0;
}

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

.section-title {
    margin-bottom: 16px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

.section-title::after {
    content: '';
    display: block;
    flex: 1;
    max-width: 120px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent) 0%, transparent 100%);
    margin-top: 0;
    border-radius: 2px;
}

/* Title Brick Decoration */
.title-brick {
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
    flex-shrink: 0;
}

.title-brick::before,
.title-brick::after {
    content: '';
    display: block;
    height: 10px;
    background: linear-gradient(135deg, var(--color-accent) 0%, #b8960b 100%);
    border-radius: 2px;
    box-shadow: inset -1px -1px 2px rgba(0,0,0,0.15);
}

.title-brick::before {
    width: 28px;
}

.title-brick::after {
    width: 28px;
    margin-left: 6px;
}

.title-brick-light::before,
.title-brick-light::after {
    background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-accent) 100%);
}

/* Section Images */
.section-image {
    margin-bottom: 32px;
}

.section-image-right {
    float: right;
    margin-left: 40px;
    margin-bottom: 24px;
    max-width: 320px;
}

.section-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: auto;
}

.section-banner {
    margin-bottom: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-height: 280px;
}

.section-banner img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center;
}

.inline-image {
    margin-bottom: 24px;
}

.inline-image-left {
    float: left;
    margin-right: 32px;
    margin-bottom: 16px;
    max-width: 280px;
}

.inline-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    width: 100%;
    height: auto;
}

.section-with-image {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 48px;
    align-items: start;
}

.section-text {
    /* Contains the text content */
}

.section-image-side {
    position: sticky;
    top: 120px;
}

.section-image-side img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: auto;
}

.section-subtitle {
    font-size: 1.35rem;
    color: var(--color-text-light);
    margin-bottom: 40px;
    font-weight: 500;
}

/* Content Grid */
.content-grid {
    max-width: 800px;
}

.content-main p {
    font-size: 1.05rem;
    color: var(--color-text-light);
}

.content-main h3 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--color-primary-dark);
}

/* What We Do - Boxes */
.belief-box, .today-box {
    background: white;
    padding: 32px;
    padding-left: 48px;
    border-radius: var(--radius-lg);
    margin-top: 32px;
    border-left: none;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.belief-box::before, .today-box::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 8px;
    background: repeating-linear-gradient(
        to bottom,
        var(--color-accent) 0px,
        var(--color-accent) 18px,
        #b8960b 18px,
        #b8960b 20px
    );
}

.section-alt .belief-box,
.section-alt .today-box {
    background: white;
}

.belief-box h3, .today-box h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.belief-box p, .today-box p {
    margin-bottom: 0;
}

.partner-logo {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
}

.partner-logo img {
    height: 40px;
    width: auto;
    opacity: 0.85;
    transition: opacity var(--transition);
}

.partner-logo img:hover {
    opacity: 1;
}

/* Criteria List */
.criteria-list {
    list-style: none;
    margin: 24px 0;
}

.criteria-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 1.05rem;
}

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

.criteria-icon {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 6px;
}

.criteria-icon::before,
.criteria-icon::after {
    content: '';
    display: block;
    height: 5px;
    background: linear-gradient(135deg, var(--color-accent) 0%, #b8960b 100%);
    border-radius: 1px;
    box-shadow: inset -1px -1px 1px rgba(0,0,0,0.1);
}

.criteria-icon::before {
    width: 14px;
}

.criteria-icon::after {
    width: 14px;
    margin-left: 3px;
}

/* Region Note */
.region-note {
    background: var(--color-primary);
    color: white;
    padding: 28px 32px;
    border-radius: var(--radius-lg);
    margin-top: 40px;
}

.region-note p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
}

.region-note strong {
    color: white;
}

/* Lead Text */
.lead-text {
    font-size: 1.2rem;
    line-height: 1.8;
}

/* Operate Grid */
.operate-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 32px 0;
}

.operate-card {
    background: white;
    padding: 28px;
    padding-top: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.operate-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent) 0%, #d4b84a 100%);
}

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

.operate-card:hover .card-brick-num {
    transform: scale(1.1) rotate(-3deg);
}

.card-brick-num {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 16px;
    background: linear-gradient(135deg, var(--color-accent) 0%, #b8960b 100%);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    box-shadow: inset -1px -1px 2px rgba(0,0,0,0.15), 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.operate-card h4 {
    margin-bottom: 8px;
    color: var(--color-primary-dark);
}

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

.closing-statement {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--color-primary-dark);
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
}

/* Story Section */
.name-story {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.name-story-header {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 40px;
}

.name-story h3 {
    margin-top: 0;
    margin-bottom: 12px;
}

.name-story-header > p {
    margin-bottom: 0;
}

/* Brick Animation Header */
.brick-animation {
    flex-shrink: 0;
    width: 70px;
    height: 50px;
    position: relative;
}

.brick {
    position: absolute;
    width: 60px;
    height: 20px;
    border-radius: 3px;
    box-shadow: inset -2px -2px 4px rgba(0,0,0,0.2), inset 2px 2px 4px rgba(255,255,255,0.1);
}

.brick-1 {
    background: linear-gradient(135deg, #b8860b 0%, #8b6914 100%);
    bottom: 0;
    left: 0;
    animation: brickSlideIn 0.8s ease-out forwards;
    animation-delay: 0.3s;
    opacity: 0;
    transform: translateX(-20px);
}

.brick-2 {
    background: linear-gradient(135deg, var(--color-accent) 0%, #b8960b 100%);
    bottom: 22px;
    left: 10px;
    animation: brickDrop 0.6s ease-out forwards;
    animation-delay: 0.9s;
    opacity: 0;
    transform: translateY(-30px);
}

@keyframes brickSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes brickDrop {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(3px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Story Reasons - Cards */
.story-reasons {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.story-reason {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: white;
    padding: 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.story-reason.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.story-reason[data-reason="2"] {
    transition-delay: 0.15s;
}

.story-reason[data-reason="3"] {
    transition-delay: 0.3s;
}

.story-reason:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.story-reason::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--color-accent);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s ease;
}

.story-reason.animate-in::before {
    transform: scaleY(1);
}

/* Reason Icon */
.reason-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.story-reason:hover .reason-icon {
    transform: scale(1.1) rotate(-5deg);
}

.reason-icon svg {
    width: 26px;
    height: 26px;
    color: white;
}

/* Reason Content */
.reason-content {
    flex: 1;
    position: relative;
}

.reason-number {
    position: absolute;
    top: -8px;
    right: 0;
    width: 28px;
    height: 28px;
    background: var(--color-bg-alt);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    border: 2px solid var(--color-primary);
}

.story-reason h4 {
    margin-bottom: 10px;
    color: var(--color-primary-dark);
    font-size: 1.15rem;
}

.story-reason p {
    margin-bottom: 0;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* Mini Bricks - Building indicator */
.reason-brick {
    position: absolute;
    bottom: 12px;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.story-reason:hover .reason-brick {
    opacity: 0.7;
}

.mini-brick {
    width: 24px;
    height: 10px;
    background: linear-gradient(135deg, var(--color-accent) 0%, #b8960b 100%);
    border-radius: 2px;
    box-shadow: inset -1px -1px 2px rgba(0,0,0,0.15);
}

.mini-brick:nth-child(2) {
    margin-left: 6px;
}

.mini-brick:nth-child(3) {
    margin-left: 0;
}

/* Brick Wall Animation */
.brick-wall {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px dashed var(--color-border);
}

.wall-brick {
    width: 48px;
    height: 18px;
    background: linear-gradient(135deg, var(--color-accent) 0%, #b8960b 100%);
    border-radius: 3px;
    box-shadow: inset -2px -2px 3px rgba(0,0,0,0.15), inset 1px 1px 2px rgba(255,255,255,0.1);
    opacity: 0;
    transform: translateY(20px);
    animation: wallBrickIn 0.5s ease-out forwards;
}

.wall-brick:nth-child(1) { animation-delay: 0.6s; }
.wall-brick:nth-child(2) { animation-delay: 0.7s; }
.wall-brick:nth-child(3) { animation-delay: 0.8s; }
.wall-brick:nth-child(4) { animation-delay: 0.9s; margin-left: 27px; }
.wall-brick:nth-child(5) { animation-delay: 1.0s; }
.wall-brick:nth-child(6) { animation-delay: 1.1s; }

@keyframes wallBrickIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    70% {
        transform: translateY(-3px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    max-width: 900px;
}

.team-member {
    text-align: center;
}

.team-photo {
    margin-bottom: 24px;
}

.team-photo img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    margin: 0 auto;
    display: block;
    box-shadow: var(--shadow-lg);
    border: 4px solid white;
}

.team-member h3 {
    margin-bottom: 12px;
    font-family: var(--font-display);
}

.credentials {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

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

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: start;
}

.column h3 {
    margin-bottom: 16px;
    font-family: var(--font-display);
}

.column h4 {
    margin-top: 24px;
    margin-bottom: 12px;
}

.column p {
    color: var(--color-text-light);
}

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

.expect-list li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--color-text-light);
}

.expect-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 14px;
    height: 6px;
    background: linear-gradient(135deg, var(--color-accent) 0%, #b8960b 100%);
    border-radius: 2px;
    box-shadow: inset -1px -1px 1px rgba(0,0,0,0.1);
}

.column .btn {
    margin-top: 24px;
}

/* Employee Goals */
.employee-goals {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.goal-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.goal-icon {
    flex-shrink: 0;
    width: 52px;
    height: 28px;
    background: linear-gradient(135deg, var(--color-accent) 0%, #b8960b 100%);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset -2px -2px 4px rgba(0,0,0,0.15), inset 2px 2px 4px rgba(255,255,255,0.1), 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.goal-item:hover .goal-icon {
    transform: scale(1.05) rotate(-2deg);
}

.goal-icon svg {
    width: 18px;
    height: 18px;
    color: white;
}

.goal-item p {
    margin: 0;
    color: var(--color-text-light);
    font-size: 0.95rem;
}

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

.section-contact .section-title {
    color: white;
}

.section-contact .section-title::after {
    background: var(--color-accent);
}

.contact-intro {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin-bottom: 48px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-form .form-group {
    margin-bottom: 24px;
}

.contact-form label {
    display: block;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-sans);
    font-size: 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-bg);
    color: var(--color-text);
    transition: all var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info {
    padding-top: 20px;
}

.contact-email {
    background: rgba(255, 255, 255, 0.1);
    padding: 32px;
    border-radius: var(--radius-lg);
}

.contact-email h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.contact-email a {
    color: var(--color-accent);
    font-size: 1.25rem;
    font-weight: 600;
}

.contact-email a:hover {
    color: var(--color-accent-light);
}

/* Footer */
.footer {
    background: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden;
}

/* Footer Brick Decoration */
.footer-bricks {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    transform: translateY(-50%);
}

.footer-brick {
    width: 50px;
    height: 18px;
    background: linear-gradient(135deg, var(--color-accent) 0%, #b8960b 100%);
    border-radius: 3px;
    box-shadow: inset -2px -2px 3px rgba(0,0,0,0.15), 0 4px 8px rgba(0,0,0,0.3);
    animation: footerBrickIn 0.5s ease-out forwards;
    opacity: 0;
}

.footer-brick:nth-child(1) { animation-delay: 0s; }
.footer-brick:nth-child(2) { animation-delay: 0.05s; }
.footer-brick:nth-child(3) { animation-delay: 0.1s; }
.footer-brick:nth-child(4) { animation-delay: 0.15s; }
.footer-brick:nth-child(5) { animation-delay: 0.2s; }
.footer-brick:nth-child(6) { animation-delay: 0.25s; }
.footer-brick:nth-child(7) { animation-delay: 0.3s; }
.footer-brick:nth-child(8) { animation-delay: 0.35s; }

@keyframes footerBrickIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.95rem;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 968px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

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

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

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

    .section-title {
        flex-wrap: wrap;
    }

    .section-title::after {
        flex-basis: 100%;
        max-width: 80px;
        margin-top: 12px;
    }

    .floating-brick {
        display: none;
    }

    .footer-bricks {
        gap: 4px;
    }

    .footer-brick {
        width: 35px;
        height: 14px;
    }

    .section-image-right {
        float: none;
        margin-left: 0;
        max-width: 100%;
        margin-bottom: 24px;
    }

    .inline-image-left {
        float: none;
        margin-right: 0;
        max-width: 100%;
        margin-bottom: 24px;
    }

    .section-with-image {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .section-image-side {
        position: static;
        order: -1;
    }

    .section-banner {
        max-height: 200px;
    }

    .section-banner img {
        height: 200px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        max-width: 400px;
    }

    .hero-image-accent {
        max-width: 400px;
        top: -15px;
        right: auto;
        left: 50%;
        transform: translateX(-48%);
    }

    .hero-image::before {
        display: none;
    }

    .operate-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .two-column {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .employee-goals {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-content {
        flex-direction: column;
        gap: 32px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 16px 24px;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 64px 0;
    }

    .hero {
        padding: 90px 0 50px;
        min-height: auto;
    }

    .hero-container {
        gap: 32px;
    }

    .hero-image img {
        max-width: 100%;
    }

    .hero-image-accent {
        max-width: 100%;
        top: -10px;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .hero-ctas .btn {
        width: 100%;
    }

    .contact-form-wrapper {
        padding: 28px;
    }

    .name-story-header {
        flex-direction: column;
        gap: 16px;
    }

    .brick-animation {
        margin: 0 auto;
    }

    .story-reason {
        flex-direction: column;
        padding: 24px 20px;
    }

    .reason-icon {
        width: 48px;
        height: 48px;
    }

    .reason-number {
        top: -4px;
        right: -4px;
    }

    .reason-brick {
        position: relative;
        bottom: auto;
        right: auto;
        flex-direction: row;
        margin-top: 16px;
    }

    .mini-brick:nth-child(2) {
        margin-left: 0;
    }

    .brick-wall {
        gap: 4px;
    }

    .wall-brick {
        width: 40px;
        height: 14px;
    }

    .wall-brick:nth-child(4) {
        margin-left: 22px;
    }
}
