/* ===================================
   FYBRA Technology Consulting
   Brand Colors & Design System
   =================================== */

:root {
    /* Brand Colors */
    --gold: #B8996F;
    --gold-dark: #9A7D5A;
    --gold-light: #D4C4A8;
    --gold-very-light: #F5F0E8;
    --gold-accent: #C8A97D;

    /* Neutrals */
    --charcoal: #1A1A1A;
    --charcoal-light: #2C2C2C;
    --dark-gray: #333333;
    --medium-gray: #666666;
    --light-gray: #999999;
    --border-gray: #E5E5E5;
    --off-white: #F8F8F8;
    --white: #FFFFFF;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;

    /* Spacing */
    --section-padding: 120px;
    --container-max: 1200px;

    /* Transitions */
    --transition: all 0.3s ease;
    --transition-slow: all 0.6s ease;
}

/* ===================================
   Reset & Base
   =================================== */

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

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

body {
    font-family: var(--font-sans);
    color: var(--dark-gray);
    background-color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

/* ===================================
   Loader
   =================================== */

.loader {
    position: fixed;
    inset: 0;
    background: var(--charcoal);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s;
}

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

.loader-inner {
    text-align: center;
}

.loader-logo-anim {
    width: 140px;
    margin: 0 auto 24px;
}

.loader-logo-anim svg {
    width: 100%;
    height: auto;
    overflow: visible;
}

/* Animated logo keyframes */
.anim-bg-rect {
    animation: animBgFade 0.5s ease-out 0s both;
}
@keyframes animBgFade {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.anim-gold-bg {
    transform-origin: 87.5px 75.4px;
    animation: animSpinIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}
@keyframes animSpinIn {
    0% { opacity: 0; transform: rotate(-180deg) scale(0); }
    100% { opacity: 1; transform: rotate(0deg) scale(1); }
}

.anim-hatch-left {
    transform-origin: 54.2px 75.5px;
    animation: animFlyLeft 0.6s cubic-bezier(0.34, 1.4, 0.64, 1) 0.6s both;
}
@keyframes animFlyLeft {
    0% { opacity: 0; transform: translateX(-80px) rotate(-90deg); }
    100% { opacity: 1; transform: translateX(0) rotate(0deg); }
}

.anim-hatch-right {
    transform-origin: 120.8px 75.5px;
    animation: animFlyRight 0.6s cubic-bezier(0.34, 1.4, 0.64, 1) 0.75s both;
}
@keyframes animFlyRight {
    0% { opacity: 0; transform: translateX(80px) rotate(90deg); }
    100% { opacity: 1; transform: translateX(0) rotate(0deg); }
}

.anim-hatch-top {
    transform-origin: 81.8px 42.3px;
    animation: animFlyTop 0.6s cubic-bezier(0.34, 1.4, 0.64, 1) 0.9s both;
}
@keyframes animFlyTop {
    0% { opacity: 0; transform: translateY(-70px) rotate(120deg); }
    100% { opacity: 1; transform: translateY(0) rotate(0deg); }
}

.anim-hatch-bottom {
    transform-origin: 93.8px 108.8px;
    animation: animFlyBottom 0.6s cubic-bezier(0.34, 1.4, 0.64, 1) 1.05s both;
}
@keyframes animFlyBottom {
    0% { opacity: 0; transform: translateY(70px) rotate(-120deg); }
    100% { opacity: 1; transform: translateY(0) rotate(0deg); }
}

.anim-script-f {
    animation: animFadeRise 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1.4s both;
}
@keyframes animFadeRise {
    0% { opacity: 0; transform: translateY(8px) scale(0.8); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.loader-bar {
    width: 120px;
    height: 2px;
    background: var(--charcoal-light);
    border-radius: 2px;
    overflow: hidden;
}

.loader-fill {
    height: 100%;
    background: var(--gold);
    border-radius: 2px;
    animation: loaderProgress 2.2s ease forwards;
}

@keyframes loaderProgress {
    0% { width: 0; }
    100% { width: 100%; }
}

/* ===================================
   Container & Layout
   =================================== */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
}

/* ===================================
   Section Labels & Titles
   =================================== */

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.section-label.light {
    color: var(--gold-light);
}

.section-title {
    font-family: var(--font-sans);
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--charcoal);
    margin-bottom: 24px;
}

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

.section-title em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 500;
    color: var(--gold);
}

.section-title.light em {
    color: var(--gold-light);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--medium-gray);
    max-width: 640px;
    line-height: 1.8;
}

.section-subtitle.light {
    color: var(--gold-very-light);
    opacity: 0.8;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* ===================================
   Buttons
   =================================== */

.btn {
    display: inline-block;
    padding: 14px 36px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--gold-dark);
    border-color: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184, 153, 111, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--charcoal);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* ===================================
   Navigation
   =================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-slow);
}

.navbar.scrolled {
    background-color: rgba(26, 26, 26, 0.97);
    padding: 12px 0;
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: none;
    margin: 0;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo .logo-img {
    height: 70px;
    width: auto;
    transition: var(--transition);
}

.logo-mobile {
    display: none;
}

.navbar.scrolled .logo-img {
    height: 46px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.3px;
    transition: var(--transition);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 16px;
    right: 16px;
    height: 2px;
    background-color: var(--gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-link.nav-cta {
    background-color: var(--gold);
    color: var(--white);
    border-radius: 4px;
    margin-left: 16px;
    padding: 10px 24px;
}

.nav-link.nav-cta::after {
    display: none;
}

.nav-link.nav-cta:hover {
    background-color: var(--gold-dark);
    transform: translateY(-1px);
}

.nav-link i {
    font-size: 0.6rem;
    margin-left: 4px;
    transition: var(--transition);
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: rgba(26, 26, 26, 0.97);
    backdrop-filter: blur(20px);
    border-radius: 8px;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

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

.nav-dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 24px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    color: var(--white);
    background: rgba(184, 153, 111, 0.1);
    padding-left: 28px;
}

/* Mobile Toggle */
.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-color: var(--white);
    transition: var(--transition);
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1A1A1A 0%, #2C2C2C 50%, #1A1A1A 100%);
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        /* Crosshatch pattern — woven feel */
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 35px,
            rgba(184, 153, 111, 0.08) 35px,
            rgba(184, 153, 111, 0.08) 36.5px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 35px,
            rgba(184, 153, 111, 0.08) 35px,
            rgba(184, 153, 111, 0.08) 36.5px
        ),
        /* Gold glow accents */
        radial-gradient(ellipse at 20% 50%, rgba(184, 153, 111, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 30%, rgba(184, 153, 111, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    border: 1px solid rgba(184, 153, 111, 0.06);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    border: 1px solid rgba(184, 153, 111, 0.04);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 40px;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid rgba(184, 153, 111, 0.3);
    padding: 8px 24px;
    border-radius: 50px;
    margin-bottom: 40px;
}

.hero-title {
    font-family: var(--font-sans);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 28px;
    letter-spacing: -1px;
}

.hero-accent {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 500;
    color: var(--gold);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto 48px;
    line-height: 1.8;
}

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

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ===================================
   About Section
   =================================== */

.about {
    padding: var(--section-padding) 0;
}

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

.about-text {
    font-size: 1.05rem;
    color: var(--medium-gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--gold-light);
    border-radius: 8px;
    z-index: -1;
}

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

/* About Visual — SVG weave */
.weave-svg {
    width: 100%;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
}

/* ===================================
   Stats Bar
   =================================== */

.philosophy-strip {
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-light) 100%);
    padding: 80px 0;
}

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

.philosophy-content blockquote {
    font-family: var(--font-serif);
    font-size: 1.65rem;
    font-style: italic;
    font-weight: 300;
    color: var(--white);
    line-height: 1.7;
    border: none;
    padding: 0;
    margin: 0;
    position: relative;
}


/* ===================================
   Services Section
   =================================== */

.services {
    padding: var(--section-padding) 0;
    background-color: var(--off-white);
}

.service-block {
    margin-bottom: 80px;
}

.service-block:last-child {
    margin-bottom: 0;
}

.service-block-header {
    text-align: center;
    margin-bottom: 48px;
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 1.5rem;
}

.service-block-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.service-block-header p {
    font-size: 1.05rem;
    color: var(--medium-gray);
    max-width: 560px;
    margin: 0 auto;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-cards-3 {
    max-width: 960px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 8px;
    border: 1px solid var(--border-gray);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: var(--gold-very-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--gold-dark);
    font-size: 1.1rem;
    transition: var(--transition);
}

.service-card:hover .card-icon {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
}

.service-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.925rem;
    color: var(--medium-gray);
    line-height: 1.7;
}

/* ===================================
   Approach Section
   =================================== */

.approach {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--charcoal) 0%, #222 50%, var(--charcoal) 100%);
}

.approach-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.approach-timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--gold), rgba(184, 153, 111, 0.2));
}

.approach-step {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 48px;
    position: relative;
}

.approach-step:last-child {
    margin-bottom: 0;
}

.step-number {
    flex-shrink: 0;
    width: 80px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    font-family: var(--font-serif);
    text-align: center;
    position: relative;
}


.step-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.step-content p {
    font-size: 0.975rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.8;
}

/* ===================================
   Why FYBRA Section
   =================================== */

.why-fybra {
    padding: var(--section-padding) 0;
}

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

.why-points {
    margin-top: 40px;
}

.why-point {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.why-point:last-child {
    margin-bottom: 0;
}

.why-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: var(--gold-very-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-dark);
    font-size: 1.1rem;
}

.why-point h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 6px;
}

.why-point p {
    font-size: 0.925rem;
    color: var(--medium-gray);
    line-height: 1.7;
}

.why-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 200px;
}

.why-image::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--gold-light);
    border-radius: 8px;
    z-index: -1;
}

.why-image img {
    border-radius: 8px;
    width: 100%;
    height: 550px;
    object-fit: cover;
}

/* Why Visual — Animated grid of shifting squares */
.about-visual {
    width: 100%;
    height: 550px;
    border-radius: 8px;
    background: var(--off-white);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 6px;
    padding: 6px;
    position: relative;
}

.grid-square {
    border-radius: 4px;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sq-1 { background: var(--gold); }
.sq-2 { background: var(--charcoal); }
.sq-3 { background: var(--gold-light); }
.sq-4 { background: var(--gold-dark); }
.sq-5 { background: var(--gold-very-light); position: relative; }
.sq-5::after {
    content: '';
    position: absolute;
    inset: 20%;
    background: var(--gold);
    border-radius: 3px;
    opacity: 0.4;
}
.sq-6 { background: var(--charcoal-light); }
.sq-7 { background: var(--gold-light); }
.sq-8 { background: var(--gold-dark); }
.sq-9 { background: var(--charcoal); }

.about-visual:hover .sq-1 { transform: translate(4px, 4px); }
.about-visual:hover .sq-2 { transform: translate(-3px, 5px); }
.about-visual:hover .sq-3 { transform: translate(5px, -3px); }
.about-visual:hover .sq-4 { transform: translate(-5px, -4px); }
.about-visual:hover .sq-5 { transform: scale(1.03); }
.about-visual:hover .sq-6 { transform: translate(4px, 3px); }
.about-visual:hover .sq-7 { transform: translate(-4px, 5px); }
.about-visual:hover .sq-8 { transform: translate(3px, -5px); }
.about-visual:hover .sq-9 { transform: translate(-5px, -3px); }

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

.sq-1 { animation: gridFloat 4s ease-in-out 0s infinite; }
.sq-2 { animation: gridFloat 4s ease-in-out 0.4s infinite; }
.sq-3 { animation: gridFloat 4s ease-in-out 0.8s infinite; }
.sq-4 { animation: gridFloat 4s ease-in-out 1.2s infinite; }
.sq-5 { animation: gridFloat 4s ease-in-out 1.6s infinite; }
.sq-6 { animation: gridFloat 4s ease-in-out 1.2s infinite; }
.sq-7 { animation: gridFloat 4s ease-in-out 0.8s infinite; }
.sq-8 { animation: gridFloat 4s ease-in-out 0.4s infinite; }
.sq-9 { animation: gridFloat 4s ease-in-out 0s infinite; }

/* ===================================
   Industries Section
   =================================== */

.industries {
    padding: 80px 0;
    background-color: var(--off-white);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.industry-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid var(--border-gray);
    transition: var(--transition);
}

.industry-item:hover {
    border-color: var(--gold-light);
    box-shadow: 0 4px 15px rgba(184, 153, 111, 0.1);
    transform: translateY(-2px);
}

.industry-item i {
    font-size: 1.25rem;
    color: var(--gold);
    flex-shrink: 0;
}

.industry-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-gray);
}

/* ===================================
   Team Section
   =================================== */

.team {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--charcoal) 0%, #222 50%, var(--charcoal) 100%);
}

.team .section-label {
    color: var(--gold);
}

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

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.team-card {
    text-align: center;
    padding: 48px 40px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.team-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--gold);
    transform: translateY(-4px);
}

.team-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 24px;
    border: 3px solid var(--gold-light);
    transition: var(--transition);
}

.team-card:hover .team-photo {
    border-color: var(--gold);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    image-rendering: -webkit-optimize-contrast;
}

.team-info h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}

.team-role {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.team-info p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 16px;
}

.team-social {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(184, 153, 111, 0.15);
    color: var(--gold);
    font-size: 0.95rem;
    transition: var(--transition);
}

.team-social:hover {
    background-color: var(--gold);
    color: var(--white);
}

/* ===================================
   Values Section
   =================================== */

.values {
    padding: var(--section-padding) 0;
    background: var(--off-white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.value-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    padding: 40px 32px;
    transition: all 0.4s ease;
}

.value-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border-color: var(--gold);
    transform: translateY(-4px);
}

.value-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 300;
    color: var(--gold);
    margin-bottom: 16px;
    line-height: 1;
}

.value-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.value-card p {
    font-size: 0.95rem;
    color: var(--medium-gray);
    line-height: 1.7;
}

/* ===================================
   Contact Section
   =================================== */

.contact {
    padding: var(--section-padding) 0;
    background: var(--white);
}

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

.contact .section-label {
    color: var(--gold-dark);
}

.contact .section-title {
    color: var(--charcoal);
}

.contact-text {
    font-size: 1.05rem;
    color: var(--medium-gray);
    line-height: 1.8;
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--dark-gray);
}

.contact-item i {
    color: var(--gold-dark);
    font-size: 1rem;
    width: 20px;
}

.contact-item a:hover {
    color: var(--gold);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--off-white);
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    padding: 40px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--charcoal);
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 6px;
    outline: none;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--light-gray);
}

.form-group select {
    color: var(--light-gray);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23999999' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

.form-group select option {
    background: var(--white);
    color: var(--charcoal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    background: var(--white);
}

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

.contact-form .btn {
    margin-top: 8px;
    border: none;
    font-size: 0.95rem;
    padding: 16px;
    cursor: pointer;
}

/* ===================================
   Footer
   =================================== */

.footer {
    background-color: var(--charcoal);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    width: 260px;
    height: auto;
    margin-bottom: 16px;
    opacity: 0.8;
}

.footer-brand {
    text-align: center;
}

.footer-brand p {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1rem;
    color: var(--gold-light);
    line-height: 1.6;
    letter-spacing: 1px;
}

.footer-links h5 {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--gold-light);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ===================================
   Scroll Animations
   =================================== */

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.fade-up.delay-1 { transition-delay: 0.15s; }
.fade-up.delay-2 { transition-delay: 0.3s; }
.fade-up.delay-3 { transition-delay: 0.45s; }

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 2.25rem;
    }

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

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-image {
        order: -1;
    }

    .about-image::before,
    .why-image::before {
        display: none;
    }

    .about-image img,
    .why-image img {
        height: 400px;
    }

    .weave-svg,
    .about-visual {
        height: 400px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 64px;
    }

    .container {
        padding: 0 24px;
    }

    .nav-container {
        padding: 0 24px;
    }

    .logo-wide {
        display: none;
    }

    .nav-logo .logo-mobile {
        display: block;
        height: 32px;
        border-radius: 4px;
    }

    .navbar.scrolled .logo-mobile {
        height: 28px;
    }

    /* Mobile Nav */
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .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);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        flex-direction: column;
        background: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(20px);
        justify-content: center;
        gap: 4px;
        transition: right 0.4s ease;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 12px 24px;
    }

    .nav-link.nav-cta {
        margin-left: 0;
        margin-top: 16px;
    }

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

    .nav-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        box-shadow: none;
        border: none;
        padding: 0 0 0 24px;
    }

    .dropdown-menu li a {
        padding: 8px 0;
        font-size: 0.95rem;
    }

    .dropdown-menu li a:hover {
        padding-left: 0;
    }

    /* Hero Mobile */
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-content {
        padding: 0 24px;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .hero-ctas .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    /* Philosophy Mobile */
    .philosophy-content blockquote {
        font-size: 1.25rem;
    }

    /* Services Mobile */
    .service-cards {
        grid-template-columns: 1fr;
    }

    /* Approach Mobile */
    .approach-timeline::before {
        left: 20px;
    }

    .step-number {
        width: 40px;
        font-size: 1.2rem;
    }

    .approach-step {
        gap: 24px;
    }

    /* Industries Mobile */
    .industries-grid {
        grid-template-columns: 1fr;
    }

    /* Team Mobile */
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
    }

    /* Values Mobile */
    .values-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .hero-badge {
        font-size: 0.6rem;
        letter-spacing: 3px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}
