/* =====================================================
   TEXTILE CO. - Main Stylesheet
   ===================================================== */

/* -----------------------------------------------------
   CSS Variables
   ----------------------------------------------------- */
:root {
    /* Colors */
    --cream: #F5F0E8;
    --charcoal: #1A1A1A;
    --warm-gray: #3D3A36;
    --light-gray: #B5AFA6;
    --terracotta: #C4724E;
    --golden: #B8943E;
    --sand: #E8DFD0;
    --deep-brown: #2C2420;
    --off-white: #FAFAF7;

    /* Typography */
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-padding: 7rem;
    --container-width: 1200px;
    --container-padding: 2rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.4s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* -----------------------------------------------------
   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);
    font-weight: 300;
    line-height: 1.7;
    color: var(--charcoal);
    background-color: var(--cream);
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

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

.section-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--terracotta);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--charcoal);
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1rem;
    color: var(--warm-gray);
    max-width: 600px;
    line-height: 1.8;
}

/* -----------------------------------------------------
   Layout
   ----------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

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

.section-dark {
    background-color: var(--charcoal);
    color: var(--cream);
}

.section-dark .section-title {
    color: var(--cream);
}

.section-dark .section-description {
    color: var(--light-gray);
}

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

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

/* Center align section headers for specific sections */
#products .section-header,
#partners .section-header,
#team .section-header,
#gallery .section-header,
#testimonials .section-header {
    text-align: center;
}

#products .section-header .section-label,
#products .section-header .section-title,
#products .section-header .section-description,
#partners .section-header .section-label,
#partners .section-header .section-title,
#partners .section-header .section-description,
#team .section-header .section-label,
#team .section-header .section-title,
#team .section-header .section-description,
#gallery .section-header .section-label,
#gallery .section-header .section-title,
#gallery .section-header .section-description,
#testimonials .section-header .section-label,
#testimonials .section-header .section-title,
#testimonials .section-header .section-description {
    text-align: center;
}

/* Section CTA button container */
.section-cta {
    text-align: center;
    margin-top: 3rem;
}


/* -----------------------------------------------------
   Buttons
   ----------------------------------------------------- */
.btn {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 1rem 2rem;
    border: 1px solid transparent;
    transition: all var(--transition-base);
}

.btn-primary {
    background-color: var(--terracotta);
    color: var(--cream);
    border-color: var(--terracotta);
}

.btn-primary:hover {
    background-color: var(--deep-brown);
    border-color: var(--deep-brown);
}

.btn-secondary {
    background-color: transparent;
    color: var(--cream);
    border-color: var(--cream);
}

.btn-secondary:hover {
    background-color: var(--cream);
    color: var(--charcoal);
}

.btn-dark {
    background-color: var(--charcoal);
    color: var(--cream);
    border-color: var(--charcoal);
}

.btn-dark:hover {
    background-color: var(--deep-brown);
    border-color: var(--deep-brown);
}

.btn-full {
    width: 100%;
}

/* -----------------------------------------------------
   Preloader
   ----------------------------------------------------- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--charcoal);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-text {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--cream);
    animation: pulse 1.5s ease-in-out infinite;
}

/* -----------------------------------------------------
   Header / Navigation
   ----------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all var(--transition-base);
}

.header.scrolled {
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--cream);
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--cream);
    opacity: 0.8;
    position: relative;
}

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

.nav-link:hover,
.nav-link.active {
    opacity: 1;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--cream);
    position: relative;
    transition: background-color var(--transition-base);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background-color: var(--cream);
    transition: transform var(--transition-base);
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    bottom: -7px;
}

.nav-toggle.active .hamburger {
    background-color: transparent;
}

.nav-toggle.active .hamburger::before {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--charcoal);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-slow);
    z-index: 999;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    text-align: center;
}

.mobile-menu li {
    margin: 1.5rem 0;
    transform: translateY(20px);
    opacity: 0;
    transition: all var(--transition-base);
}

.mobile-menu-overlay.active .mobile-menu li {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu-overlay.active .mobile-menu li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-overlay.active .mobile-menu li:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu-overlay.active .mobile-menu li:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu-overlay.active .mobile-menu li:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu-overlay.active .mobile-menu li:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu-overlay.active .mobile-menu li:nth-child(6) { transition-delay: 0.35s; }
.mobile-menu-overlay.active .mobile-menu li:nth-child(7) { transition-delay: 0.4s; }
.mobile-menu-overlay.active .mobile-menu li:nth-child(8) { transition-delay: 0.45s; }

.mobile-menu-link {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--cream);
    transition: color var(--transition-base);
}

.mobile-menu-link:hover {
    color: var(--terracotta);
}

/* -----------------------------------------------------
   Hero Section
   ----------------------------------------------------- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--deep-brown) 0%, var(--charcoal) 50%, var(--warm-gray) 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.hero-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--terracotta);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    color: var(--cream);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--light-gray);
    max-width: 550px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.scroll-text {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--light-gray);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--terracotta), transparent);
    animation: scrollLine 1.5s ease-in-out infinite;
}

/* -----------------------------------------------------
   Stats Bar
   ----------------------------------------------------- */
.stats-bar {
    background-color: var(--deep-brown);
    padding: 4rem 0;
}

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    text-align: center;
}

.stats-grid .stat-item {
    flex: 0 1 calc(25% - 1.5rem);
    min-width: 150px;
}

.stat-item {
    color: var(--cream);
}

.stat-number {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 300;
    color: var(--terracotta);
    display: inline;
}

.stat-suffix {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--terracotta);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--light-gray);
    margin-top: 0.5rem;
}

/* -----------------------------------------------------
   About Section
   ----------------------------------------------------- */
.about {
    background-color: var(--cream);
}

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

.about-text {
    font-size: 1rem;
    color: var(--warm-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.feature-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature-card {
    flex: 0 1 calc(50% - 0.75rem);
    max-width: calc(50% - 0.75rem);
    min-width: 250px;
    padding: 1.5rem;
    background-color: var(--off-white);
    transition: all var(--transition-base);
    text-align: center;
}

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

.feature-icon {
    color: var(--terracotta);
    margin-bottom: 1rem;
}

.feature-title {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.feature-text {
    font-size: 0.85rem;
    color: var(--warm-gray);
    line-height: 1.6;
}

.about-visual {
    position: relative;
}

.about-image {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, var(--sand) 0%, var(--light-gray) 100%);
}

/* -----------------------------------------------------
   Process Section
   ----------------------------------------------------- */
.process-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.process-grid .process-card {
    flex: 0 1 calc(33.333% - 1.5rem);
    max-width: calc(33.333% - 1.5rem);
    min-width: 280px;
}

.process-card {
    padding: 2.5rem;
    background-color: rgba(255, 255, 255, 0.03);
    border-top: 3px solid transparent;
    transition: all var(--transition-base);
}

.process-card:hover {
    background-color: rgba(255, 255, 255, 0.06);
    border-top-color: var(--terracotta);
    transform: translateY(-8px);
}

.process-icon {
    color: var(--terracotta);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

/* Ensure icon color is preserved in dark sections */
.section-dark .process-icon {
    color: var(--terracotta);
}

.process-title {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--cream);
}

.process-text {
    font-size: 0.9rem;
    color: var(--light-gray);
    line-height: 1.7;
}

/* -----------------------------------------------------
   Products Section
   ----------------------------------------------------- */
.products {
    background-color: var(--off-white);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.filter-btn {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    border: 1px solid var(--light-gray);
    color: var(--warm-gray);
    transition: all var(--transition-base);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--charcoal);
    border-color: var(--charcoal);
    color: var(--cream);
}

.products-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.products-grid .product-card {
    flex: 0 1 calc(33.333% - 1.5rem);
    max-width: calc(33.333% - 1.5rem);
    min-width: 280px;
}

.product-card {
    background-color: var(--cream);
    transition: all var(--transition-base);
    overflow: hidden;
}

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

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

.product-image {
    position: relative;
    height: 240px;
    background: linear-gradient(135deg, var(--sand) 0%, var(--light-gray) 100%);
    overflow: hidden;
    transition: transform var(--transition-base);
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-image-silk {
    background: linear-gradient(135deg, #E8DED5 0%, #C8B8A8 100%);
}

.product-image-linen {
    background: linear-gradient(135deg, #D5CFC5 0%, #A89888 100%);
}

.product-image-blends {
    background: linear-gradient(135deg, #C5BFB5 0%, #8A7A6A 100%);
}

.product-image-technical {
    background: linear-gradient(135deg, #B5AFA5 0%, #6A5A4A 100%);
}

.product-image-cotton2 {
    background: linear-gradient(135deg, #F0E8E0 0%, #D0C8C0 100%);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.4rem 0.75rem;
    color: var(--cream);
}

.product-badge.bestseller {
    background-color: var(--terracotta);
}

.product-badge.new {
    background-color: var(--golden);
}

.product-badge.pro {
    background-color: var(--charcoal);
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--terracotta);
}

.product-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    margin: 0.5rem 0;
}

.product-description {
    font-size: 0.85rem;
    color: var(--warm-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--sand);
}

.product-price {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--charcoal);
}

.product-link {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--terracotta);
    transition: color var(--transition-base);
}

.product-link:hover {
    color: var(--golden);
}

/* -----------------------------------------------------
   Sources Section
   ----------------------------------------------------- */
.sources {
    background-color: var(--cream);
}

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

.sources-text {
    font-size: 1rem;
    color: var(--warm-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.sources-list {
    margin-top: 2rem;
}

.sources-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.sources-dot {
    width: 8px;
    height: 8px;
    background-color: var(--terracotta);
    border-radius: 50%;
    flex-shrink: 0;
}

.sources-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.globe-decoration {
    position: relative;
    width: 350px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.globe-ring {
    position: absolute;
    border: 1px solid var(--light-gray);
    border-radius: 50%;
}

.globe-ring-1 {
    width: 100%;
    height: 100%;
    animation: rotate 20s linear infinite;
}

.globe-ring-2 {
    width: 75%;
    height: 75%;
    border-style: dashed;
    animation: rotate 15s linear infinite reverse;
}

.globe-ring-3 {
    width: 50%;
    height: 50%;
    animation: rotate 10s linear infinite;
}

.globe-center {
    width: 120px;
    height: 120px;
    background-color: var(--terracotta);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.globe-center span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--cream);
    line-height: 1.3;
}

/* -----------------------------------------------------
   Partners Section
   ----------------------------------------------------- */
.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.partners-grid .partner-card {
    flex: 0 1 calc(20% - 1.2rem);
    max-width: calc(20% - 1.2rem);
    min-width: 150px;
}

.partner-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.partner-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.partner-card span {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--light-gray);
}

/* -----------------------------------------------------
   Team Section
   ----------------------------------------------------- */
.team {
    background-color: var(--off-white);
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.team-grid .team-card {
    flex: 0 1 calc(25% - 1.5rem);
    max-width: calc(25% - 1.5rem);
    min-width: 220px;
}

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

.team-photo {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, var(--terracotta) 0%, var(--golden) 100%);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.team-photo-2 {
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--warm-gray) 100%);
}

.team-photo-3 {
    background: linear-gradient(135deg, var(--golden) 0%, var(--terracotta) 100%);
}

.team-photo-4 {
    background: linear-gradient(135deg, var(--warm-gray) 0%, var(--charcoal) 100%);
}

.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 26, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-social {
    width: 44px;
    height: 44px;
    border: 1px solid var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    transition: all var(--transition-base);
}

.team-social:hover {
    background-color: var(--cream);
    color: var(--charcoal);
}

.team-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 0.25rem;
}

.team-role {
    font-size: 0.85rem;
    color: var(--warm-gray);
}

/* -----------------------------------------------------
   Gallery Section
   ----------------------------------------------------- */
.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.gallery-grid .gallery-item {
    flex: 0 1 calc(25% - 0.75rem);
    max-width: calc(25% - 0.75rem);
    min-width: 200px;
    height: 200px;
}

.gallery-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.gallery-item-wide {
    grid-column: span 2;
}

.gallery-item-tall {
    grid-row: span 2;
}

.gallery-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--warm-gray) 0%, var(--charcoal) 100%);
    transition: transform var(--transition-slow);
}

.gallery-image-2 { background: linear-gradient(135deg, #4A4540 0%, #2A2520 100%); }
.gallery-image-3 { background: linear-gradient(135deg, #5A5550 0%, #3A3530 100%); }
.gallery-image-4 { background: linear-gradient(135deg, #6A6560 0%, #4A4540 100%); }
.gallery-image-5 { background: linear-gradient(135deg, #3A3530 0%, #1A1510 100%); }
.gallery-image-6 { background: linear-gradient(135deg, #5A5045 0%, #3A3025 100%); }
.gallery-image-7 { background: linear-gradient(135deg, #4A4035 0%, #2A2015 100%); }
.gallery-image-8 { background: linear-gradient(135deg, #6A5550 0%, #4A3530 100%); }

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(196, 114, 78, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--cream);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2.5rem;
    color: var(--cream);
    transition: color var(--transition-base);
    z-index: 10;
}

.lightbox-close:hover {
    color: var(--terracotta);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: var(--cream);
    padding: 1rem;
    transition: color var(--transition-base);
    z-index: 10;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--terracotta);
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

.lightbox-content {
    width: 80%;
    max-width: 1000px;
    height: 70vh;
}

.lightbox-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--warm-gray) 0%, var(--charcoal) 100%);
    transition: background var(--transition-base);
}

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

.testimonials-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.testimonials-grid .testimonial-card {
    flex: 0 1 calc(33.333% - 1.5rem);
    max-width: calc(33.333% - 1.5rem);
    min-width: 280px;
}

.testimonial-card {
    background-color: var(--off-white);
    padding: 2.5rem;
    transition: all var(--transition-base);
}

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

.testimonial-quote {
    font-family: var(--font-serif);
    font-size: 4rem;
    line-height: 1;
    color: var(--terracotta);
    opacity: 0.3;
    margin-bottom: -1rem;
}

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

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background-color: var(--charcoal);
    color: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 500;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 500;
    font-size: 0.95rem;
}

.author-company {
    font-size: 0.8rem;
    color: var(--light-gray);
}

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

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

.contact-text {
    font-size: 1rem;
    color: var(--warm-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.contact-item {
    display: flex;
    gap: 1rem;
}

.contact-icon {
    width: 44px;
    height: 44px;
    background-color: var(--sand);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terracotta);
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--light-gray);
    margin-bottom: 0.25rem;
}

.contact-value {
    font-size: 0.95rem;
    color: var(--charcoal);
    line-height: 1.5;
}

a.contact-value:hover {
    color: var(--terracotta);
}

/* Contact Form */
.contact-form-wrapper {
    position: relative;
}

.contact-form {
    background-color: var(--cream);
    padding: 2.5rem;
}

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

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

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--warm-gray);
    margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--charcoal);
    background-color: var(--off-white);
    border: 1px solid var(--sand);
    transition: all var(--transition-base);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--terracotta);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: #e74c3c;
}

.form-error {
    display: none;
    font-size: 0.75rem;
    color: #e74c3c;
    margin-top: 0.25rem;
}

.form-error.visible {
    display: block;
}

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

.form-note {
    font-size: 0.8rem;
    color: var(--light-gray);
    text-align: center;
    margin-top: 1rem;
}

/* Form Success */
.form-success {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--cream);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.form-success.visible {
    opacity: 1;
    visibility: visible;
}

.success-icon {
    color: var(--terracotta);
    margin-bottom: 1.5rem;
}

.success-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.success-text {
    color: var(--warm-gray);
}

/* Contact Map */
.contact-map {
    margin-top: 3rem;
    border: 1px solid var(--sand);
    border-radius: 8px;
    overflow: hidden;
    background: var(--cream);
}

.contact-map__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: var(--off-white);
    border-bottom: 1px solid var(--sand);
}

.contact-map__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--terracotta);
    color: white;
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-map__text {
    flex: 1;
}

.contact-map__title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--charcoal);
    margin: 0 0 0.25rem 0;
}

.contact-map__description {
    font-size: 0.9rem;
    color: var(--warm-gray);
    margin: 0;
}

.contact-map__frame {
    line-height: 0;
}

.contact-map__frame iframe {
    display: block;
}

/* -----------------------------------------------------
   Newsletter Section
   ----------------------------------------------------- */
.newsletter {
    background-color: var(--terracotta);
    padding: 5rem 0;
}

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

.newsletter-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--cream);
    margin-bottom: 1rem;
}

.newsletter-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.newsletter-input {
    flex: 1;
    max-width: 350px;
    padding: 1rem 1.25rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    border: none;
    background-color: var(--cream);
    color: var(--charcoal);
}

.newsletter-input:focus {
    outline: none;
}

.newsletter-input::placeholder {
    color: var(--light-gray);
}

.newsletter-success {
    font-size: 0.9rem;
    color: var(--cream);
    margin-top: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.newsletter-success.visible {
    opacity: 1;
    visibility: visible;
}

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

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

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--cream);
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-description {
    font-size: 0.9rem;
    color: var(--light-gray);
    line-height: 1.7;
}

.footer-title {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--cream);
    margin-bottom: 1.5rem;
}

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

.footer-menu a {
    font-size: 0.9rem;
    color: var(--light-gray);
    transition: color var(--transition-base);
}

.footer-menu a:hover {
    color: var(--terracotta);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    font-size: 0.85rem;
    color: var(--light-gray);
}

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

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-gray);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
}

.social-link:hover {
    color: var(--cream);
    border-color: var(--terracotta);
    background-color: var(--terracotta);
}

/* -----------------------------------------------------
   Back to Top Button
   ----------------------------------------------------- */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background-color: var(--charcoal);
    color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 100;
}

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

.back-to-top:hover {
    background-color: var(--terracotta);
}

/* -----------------------------------------------------
   Products CTA (Homepage)
   ----------------------------------------------------- */
.products-cta,
.team-cta {
    text-align: center;
    margin-top: 3rem;
}

/* -----------------------------------------------------
   Products Page Styles
   ----------------------------------------------------- */

/* Page Hero (smaller) */
.products-page-hero {
    position: relative;
    padding: 10rem 0 4rem;
    background: linear-gradient(135deg, var(--deep-brown) 0%, var(--charcoal) 50%, var(--warm-gray) 100%);
    text-align: center;
}

.products-page-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.products-page-hero .container {
    position: relative;
    z-index: 1;
}

.page-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 300;
    color: var(--cream);
    margin-bottom: 1rem;
}

.page-description {
    font-size: 1.1rem;
    color: var(--light-gray);
}

/* Header Light (for pages with lighter backgrounds) */
.header-light {
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
}

/* Products Layout */
.products-page {
    background-color: var(--off-white);
    padding-top: 3rem;
}

.products-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
}

/* Filter Sidebar */
.filter-sidebar {
    background-color: var(--cream);
    padding: 2rem;
    position: sticky;
    top: 100px;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--sand);
}

.filter-header h3 {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.filter-close-btn {
    display: none;
    background: none;
    border: none;
    color: var(--warm-gray);
    cursor: pointer;
    padding: 0.25rem;
    transition: color var(--transition-base);
}

.filter-close-btn:hover {
    color: var(--charcoal);
}

.clear-filters-btn {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--warm-gray);
    background-color: transparent;
    border: 1px solid var(--light-gray);
    cursor: pointer;
    transition: all var(--transition-base);
    margin-bottom: 1.5rem;
}

.clear-filters-btn:hover {
    background-color: var(--charcoal);
    border-color: var(--charcoal);
    color: var(--cream);
}

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

.filter-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--warm-gray);
    margin-bottom: 0.75rem;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-sidebar .filter-btn {
    width: 100%;
    text-align: left;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    background-color: transparent;
    border: 1px solid var(--sand);
    color: var(--warm-gray);
    transition: all var(--transition-base);
}

.filter-sidebar .filter-btn:hover,
.filter-sidebar .filter-btn.active {
    background-color: var(--charcoal);
    border-color: var(--charcoal);
    color: var(--cream);
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--charcoal);
    background-color: var(--off-white);
    border: 1px solid var(--sand);
    transition: border-color var(--transition-base);
}

.search-input:focus {
    outline: none;
    border-color: var(--terracotta);
}

.search-input::placeholder {
    color: var(--light-gray);
}

.sort-select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--charcoal);
    background-color: var(--off-white);
    border: 1px solid var(--sand);
    cursor: pointer;
    transition: border-color var(--transition-base);
}

.sort-select:focus {
    outline: none;
    border-color: var(--terracotta);
}

.apply-filters-btn {
    display: none;
    width: 100%;
    padding: 1rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--cream);
    background-color: var(--terracotta);
    border: none;
    cursor: pointer;
    margin-top: 1.5rem;
    transition: background-color var(--transition-base);
}

.apply-filters-btn:hover {
    background-color: var(--deep-brown);
}

/* Products Main Area */
.products-main {
    min-height: 400px;
}

.products-header {
    margin-bottom: 1.5rem;
}

.products-count {
    font-size: 0.9rem;
    color: var(--warm-gray);
}

.products-page .products-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.products-page .products-grid .product-card {
    flex: 0 1 calc(33.333% - 1rem);
    max-width: calc(33.333% - 1rem);
    min-width: 280px;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    background-color: var(--cream);
}

.no-results.hidden {
    display: none;
}

.no-results-content svg {
    color: var(--light-gray);
    margin-bottom: 1.5rem;
}

.no-results-content p {
    font-size: 1.1rem;
    color: var(--warm-gray);
    margin-bottom: 1.5rem;
}

.no-results .clear-filters-btn {
    display: inline-block;
    width: auto;
    padding: 0.75rem 1.5rem;
}

/* Mobile Filter Toggle Bar */
.filter-toggle-bar {
    display: none;
    background-color: var(--cream);
    padding: 1rem 0;
    border-bottom: 1px solid var(--sand);
    position: sticky;
    top: 68px;
    z-index: 100;
}

.filter-toggle-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--charcoal);
    background-color: var(--off-white);
    border: 1px solid var(--sand);
    cursor: pointer;
    transition: all var(--transition-base);
}

.filter-toggle-btn:hover {
    border-color: var(--charcoal);
}

.filter-toggle-btn svg {
    color: var(--terracotta);
}

/* Filter Drawer Overlay */
.filter-drawer-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.filter-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* -----------------------------------------------------
   Team Page Styles
   ----------------------------------------------------- */

/* Team Page Hero */
.team-page-hero {
    position: relative;
    padding: 10rem 0 4rem;
    background: linear-gradient(135deg, var(--deep-brown) 0%, var(--charcoal) 50%, var(--warm-gray) 100%);
    text-align: center;
}

.team-page-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.team-page-hero .container {
    position: relative;
    z-index: 1;
}

/* Team Page Section */
.team-page {
    background-color: var(--off-white);
}

.team-department {
    background-color: var(--off-white);
}

/* Team Bio */
.team-bio {
    font-size: 0.85rem;
    color: var(--warm-gray);
    line-height: 1.6;
    margin-top: 0.75rem;
}

.section-dark .team-bio {
    color: var(--light-gray);
}

/* Additional Team Photo Gradients */
.team-photo-5 {
    background: linear-gradient(135deg, #5A7A6A 0%, #3A5A4A 100%);
}

.team-photo-6 {
    background: linear-gradient(135deg, #7A5A6A 0%, #5A3A4A 100%);
}

.team-photo-7 {
    background: linear-gradient(135deg, #6A6A7A 0%, #4A4A5A 100%);
}

.team-photo-8 {
    background: linear-gradient(135deg, #7A6A5A 0%, #5A4A3A 100%);
}

.team-photo-9 {
    background: linear-gradient(135deg, #5A6A7A 0%, #3A4A5A 100%);
}

.team-photo-10 {
    background: linear-gradient(135deg, #8A7A6A 0%, #6A5A4A 100%);
}

.team-photo-11 {
    background: linear-gradient(135deg, #6A7A6A 0%, #4A5A4A 100%);
}

.team-photo-12 {
    background: linear-gradient(135deg, #7A7A8A 0%, #5A5A6A 100%);
}

/* Join Team Section */
.join-team {
    text-align: center;
}

.join-team-content {
    max-width: 600px;
    margin: 0 auto;
}

.join-team-text {
    font-size: 1.1rem;
    color: var(--light-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* =============================================================================
   PARTNERS PAGE STYLES
   ============================================================================= */

/* Partners Hero */
.partners-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--deep-brown) 100%);
    text-align: center;
    overflow: hidden;
}

.partners-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(196, 114, 78, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(184, 148, 62, 0.1) 0%, transparent 50%);
}

.partners-hero__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.partners-hero__label {
    color: var(--terracotta);
    margin-bottom: 1rem;
    display: block;
}

.partners-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.partners-hero__description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Partners Showcase */
.partners-showcase {
    padding: 0;
    background: var(--cream);
}

.partners-showcase__grid {
    display: flex;
    flex-direction: column;
}

.partners-showcase__card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 450px;
}

.partners-showcase__card:nth-child(even) {
    direction: rtl;
}

.partners-showcase__card:nth-child(even) > * {
    direction: ltr;
}

.partners-showcase__card-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--charcoal);
    overflow: hidden;
}

.partners-showcase__card:nth-child(even) .partners-showcase__card-image {
    background: var(--deep-brown);
}

.partners-showcase__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.partners-showcase__card:hover .partners-showcase__card-image img {
    transform: scale(1.05);
}

/* Fallback when no image */
.partners-showcase__card-image .partner-initial {
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 300;
    color: white;
}

.partners-showcase__card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 4rem 5rem;
    background: var(--off-white);
}

.partners-showcase__card:nth-child(even) .partners-showcase__card-content {
    background: var(--cream);
}

.partners-showcase__card-name {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    color: var(--charcoal);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.partners-showcase__card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: white;
    background: var(--terracotta);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: all 0.3s ease;
}

.partners-showcase__card-link:hover {
    background: var(--charcoal);
    gap: 1rem;
}

.partners-showcase__card-link svg {
    width: 18px;
    height: 18px;
}

/* Partners CTA */
.partners-cta {
    padding: 6rem 0;
    background: var(--charcoal);
    text-align: center;
}

.partners-cta__content {
    max-width: 650px;
    margin: 0 auto;
}

.partners-cta .section-label {
    color: var(--terracotta);
}

.partners-cta__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    color: white;
    margin: 1rem 0 1.5rem;
}

.partners-cta__text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

/* =============================================================================
   FEATURES PAGE STYLES
   ============================================================================= */

/* Features Page Hero */
.features-page-hero {
    position: relative;
    padding: 10rem 0 4rem;
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--deep-brown) 50%, var(--terracotta) 100%);
    text-align: center;
}

.features-page-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.features-page-hero .container {
    position: relative;
    z-index: 1;
}

/* Features Page Hero Text Colors */
.features-page-hero .section-label {
    color: var(--terracotta);
}

.features-page-hero .page-title {
    color: var(--cream);
}

.features-page-hero .page-description {
    color: var(--light-gray);
}

/* Features Page Section */
.features-page {
    background-color: var(--off-white);
}

/* Features Page Section Text Colors (light background) */
.features-page .section-label {
    color: var(--terracotta);
}

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

.features-page .section-description {
    color: var(--warm-gray);
}

.features-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.features-page-grid .feature-card {
    background: var(--cream);
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.features-page-grid .feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--terracotta);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.features-page-grid .feature-card .feature-icon {
    width: auto;
    min-width: 70px;
    padding: 1rem 1.5rem;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--terracotta), var(--golden));
    border-radius: 8px;
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: capitalize;
}

.features-page-grid .feature-card .feature-icon svg {
    width: 32px;
    height: 32px;
}

.features-page-grid .feature-card .feature-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.features-page-grid .feature-card .feature-text {
    font-size: 0.95rem;
    color: var(--warm-gray);
    line-height: 1.7;
}

/* Features CTA */
.features-cta {
    text-align: center;
}

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

.features-cta-text {
    font-size: 1.1rem;
    color: var(--light-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}
