/* ============================================
   PREMIUM B2B DESIGN SYSTEM - WODPAP IMPEX
   ============================================ */

/* Color Palette - Limited to 3 core colors */
:root {
    --burgundy: #6B1B2E;
    --burgundy-dark: #4a111f;
    --burgundy-light: #8B2E46;
    --cream: #F5F1E8;
    --beige: #E8E0D5;
    --muted-green: #4A7C59;
    --metallic-grey: #8B8B8B;
    --dark-gray: #2C2C2C;
    --light-gray: #f9f9f9;
    --border-gray: #e5e5e5;
}

/* Typography - Premium Sans Serifs */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--cream);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

h1 {
    font-size: clamp(2.8rem, 7vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 5vw, 3rem);
}

h3 {
    font-size: 1.35rem;
}

/* Color Classes */
.bg-cream {
    background-color: var(--cream);
}

.bg-beige {
    background-color: var(--beige);
}

.bg-white {
    background-color: #ffffff;
}

.text-burgundy {
    color: var(--burgundy);
}

.text-dark-gray {
    color: var(--dark-gray);
}

.text-muted-green {
    color: var(--muted-green);
}

.bg-burgundy {
    background-color: var(--burgundy);
}

.bg-burgundy-dark {
    background-color: var(--burgundy-dark);
}

.border-burgundy {
    border-color: var(--burgundy);
}

/* ============================================
   HEADER STYLES
   ============================================ */

header {
    /* Light frosted glass — clearly light grey, logo readable, subtle image bleed */
    background: rgba(245, 242, 238, 0.78);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.10);
    transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border-gray);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Logo size */
#logo-img {
    height: 55px;
    transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled #logo-img {
    height: 55px;
}

/* Nav links always dark (light nav background) */
.nav-link {
    color: var(--dark-gray);
}

.nav-link:hover {
    color: var(--burgundy);
}

.nav-link::after {
    background: var(--burgundy);
}

#logo-container {
    transition: all 0.3s ease;
}


nav {
    letter-spacing: 0.3px;
    overflow: visible;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--dark-gray);
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
    letter-spacing: 0.2px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--burgundy);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active,
.nav-link.is-active {
    color: var(--burgundy);
}

.nav-link.active::after,
.nav-link.is-active::after {
    width: 100%;
}


/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    position: relative;
    overflow: hidden;
    /* Full-bleed: starts at top:0, sits under the fixed transparent nav */
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    font-weight: 300;
    letter-spacing: 0.5px;
}

.hero-description {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.85;
}

/* ============================================
   CTA BUTTONS
   ============================================ */

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    border: none;
    position: relative;
    overflow: hidden;
}

.cta-primary {
    background: var(--burgundy);
    color: white;
    box-shadow: 0 4px 12px rgba(107, 27, 46, 0.15);
}

.cta-primary:hover {
    background: var(--burgundy-dark);
    box-shadow: 0 8px 24px rgba(107, 27, 46, 0.25);
    transform: translateY(-2px);
}

.cta-secondary {
    border: 2px solid var(--burgundy);
    color: var(--burgundy);
    background: transparent;
}

.cta-secondary:hover {
    background: var(--burgundy);
    color: white;
    transform: translateY(-2px);
}

/* For use on dark/image hero backgrounds */
.cta-hero-secondary {
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: rgba(255, 255, 255, 0.90);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.cta-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.65);
    color: white;
    transform: translateY(-2px);
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ============================================
   SECTION STYLES
   ============================================ */

section {
    position: relative;
}

.section-heading {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.2;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--burgundy) 0%, rgba(107, 27, 46, 0.3) 100%);
    border-radius: 1px;
}

/* Whitespace Strategy */
section {
    padding: 80px 0;
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
}

/* ============================================
   STAT CARDS
   ============================================ */

.stat-card {
    padding: 32px;
    background: white;
    border-radius: 2px;
    border: 1px solid var(--border-gray);
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--burgundy);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    transform: translateY(-4px);
}

.stat-card > div:first-child {
    transition: color 0.3s ease;
}

.stat-card:hover > div:first-child {
    color: var(--burgundy-dark);
}

/* ============================================
   PRODUCT CARDS
   ============================================ */

.product-card {
    background: white;
    border: 1px solid var(--border-gray);
    border-radius: 2px;
    padding: 36px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--burgundy);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    border-color: var(--burgundy);
    box-shadow: 0 12px 32px rgba(107, 27, 46, 0.12);
    transform: translateY(-8px);
}

.product-card:hover::before {
    transform: scaleY(1);
}

.product-card h3 {
    font-size: 1.5rem;
    color: var(--burgundy);
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.product-card p {
    font-size: 0.95rem;
    color: var(--dark-gray);
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 16px;
}

.product-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-tag {
    display: inline-block;
    font-size: 0.85rem;
    background: var(--cream);
    color: var(--burgundy);
    padding: 6px 12px;
    border-radius: 2px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid var(--beige);
}

.product-card:hover .product-tag {
    background: var(--burgundy);
    color: white;
    border-color: var(--burgundy);
}

/* ============================================
   PILLAR CARDS
   ============================================ */

.pillar-card {
    background: white;
    border: 1px solid var(--border-gray);
    border-radius: 2px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
}

.pillar-card:hover {
    border-color: var(--burgundy);
    box-shadow: 0 12px 32px rgba(107, 27, 46, 0.12);
    background: linear-gradient(135deg, rgba(107, 27, 46, 0.02) 0%, rgba(107, 27, 46, 0) 100%);
}

.pillar-icon {
    color: var(--burgundy);
    transition: transform 0.3s ease;
}

.pillar-card:hover .pillar-icon {
    transform: scale(1.1);
}

.pillar-card h3 {
    color: var(--burgundy);
    margin-bottom: 12px;
}

.pillar-card p {
    font-size: 0.95rem;
    color: var(--dark-gray);
    font-weight: 300;
    line-height: 1.7;
}

/* ============================================
   INDUSTRY CARDS
   ============================================ */

.industry-card {
    background: white;
    border: 1px solid var(--border-gray);
    border-radius: 2px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.industry-card:hover {
    border-color: var(--burgundy);
    box-shadow: 0 12px 32px rgba(107, 27, 46, 0.12);
    transform: translateY(-6px);
}

.industry-card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    transition: transform 0.4s ease;
}

.industry-card:hover .industry-card-image {
    transform: scale(1.05);
}

.industry-card-content {
    padding: 24px;
}

.industry-card-content h3 {
    color: var(--burgundy);
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.industry-card-content p {
    font-size: 0.9rem;
    color: var(--dark-gray);
    font-weight: 300;
    line-height: 1.6;
}

/* ============================================
   GLOBAL REACH SECTION
   ============================================ */

.reach-stat {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 32px;
    border-radius: 2px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.reach-stat:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.region-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 32px;
    border-radius: 2px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.region-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

/* ============================================
   SUSTAINABILITY SECTION
   ============================================ */

.cert-card {
    background: white;
    border: 1px solid var(--border-gray);
    border-radius: 2px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.cert-card:hover {
    border-color: var(--burgundy);
    box-shadow: 0 8px 20px rgba(107, 27, 46, 0.10);
    transform: translateY(-4px);
}

.cert-card div {
    transition: color 0.3s ease;
}

.cert-card:hover div {
    color: var(--burgundy);
}

/* ============================================
   INSIGHTS CARDS
   ============================================ */

.insights-card {
    background: white;
    border: 1px solid var(--border-gray);
    border-radius: 2px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.insights-card:hover {
    border-color: var(--burgundy);
    box-shadow: 0 12px 32px rgba(107, 27, 46, 0.12);
    transform: translateY(-6px);
}

.insights-card-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-light) 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.insights-card-content {
    padding: 28px;
}

.insights-card-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--burgundy);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.insights-card-content h3 {
    color: var(--dark-gray);
    margin-bottom: 12px;
    font-size: 1.25rem;
    line-height: 1.4;
}

.insights-card-content p {
    font-size: 0.9rem;
    color: var(--dark-gray);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 16px;
}

.insights-card-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--burgundy);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    gap: 6px;
}

.insights-card-link:hover {
    gap: 10px;
}

/* ============================================
   CONTACT FORM
   ============================================ */

input,
select,
textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-gray);
    border-radius: 2px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
    color: var(--dark-gray);
}

input::placeholder,
textarea::placeholder {
    color: var(--metallic-grey);
    font-weight: 300;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--burgundy);
    box-shadow: 0 0 0 3px rgba(107, 27, 46, 0.08);
    background: rgba(107, 27, 46, 0.02);
}

button[type="submit"] {
    width: 100%;
    padding: 16px;
    background: var(--burgundy);
    color: white;
    border: none;
    border-radius: 2px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

button[type="submit"]:hover {
    background: var(--burgundy-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(107, 27, 46, 0.2);
}

/* ============================================
   PREMIUM IMAGE GALLERY STYLES
   ============================================ */

.section-image-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.section-image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    object-fit: cover;
}

.section-image-container:hover img {
    transform: scale(1.03);
}

.premium-image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.premium-image-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-image-item:hover {
    box-shadow: 0 12px 32px rgba(107, 27, 46, 0.15);
    transform: translateY(-8px);
}

.premium-image-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-image-item:hover img {
    transform: scale(1.05);
}

.premium-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(107, 27, 46, 0.4) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.premium-image-item:hover .premium-image-overlay {
    opacity: 1;
}

/* Intro section images */
.intro-image-hero {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.intro-image-hero img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.intro-image-hero:hover img {
    transform: scale(1.04);
}

/* Sustainability section image */
.sustainability-hero-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

.sustainability-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    object-fit: cover;
}

.sustainability-hero-image:hover img {
    transform: scale(1.05);
}

/* Footer images */
.footer-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.footer-image-item {
    aspect-ratio: 1;
    border-radius: 4px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
}

.footer-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.footer-image-item:hover img {
    transform: scale(1.08);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: var(--burgundy-dark);
    color: white;
}

footer a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-weight: 400;
}

footer a:hover {
    opacity: 0.8;
}

footer h3,
footer h4 {
    color: white;
    letter-spacing: 0.3px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .section-heading {
        font-size: 2rem;
    }

    .section-heading::after {
        bottom: -12px;
        width: 60px;
    }

    .cta-btn {
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    .product-card,
    .pillar-card {
        padding: 24px;
    }

    .stat-card {
        padding: 24px;
    }

    input,
    select,
    textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.whitespace-lg {
    margin: 60px 0;
}

.whitespace-xl {
    margin: 80px 0;
}

.opacity-80 {
    opacity: 0.8;
}

.opacity-90 {
    opacity: 0.9;
}

.font-light {
    font-weight: 300;
}

.font-semibold {
    font-weight: 600;
}

.letter-spacing-wide {
    letter-spacing: 1px;
}

/* ============================================
   SMOOTH SCROLLING
   ============================================ */

html {
    scroll-behavior: smooth;
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--cream);
}

::-webkit-scrollbar-thumb {
    background: var(--burgundy);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--burgundy-dark);
}

/* ============================================
   SECTION HEADING ON DARK BACKGROUNDS
   ============================================ */

.heading-on-dark {
    color: white;
}

.heading-on-dark::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.08) 100%);
}

/* ============================================
   DARK SECTION - PILLAR CARDS
   ============================================ */

#pillars .pillar-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(8px);
}

#pillars .pillar-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(139, 46, 70, 0.6);
    box-shadow: 0 12px 40px rgba(107, 27, 46, 0.35);
}

#pillars .pillar-card h3 {
    color: white;
}

#pillars .pillar-card p {
    color: rgba(255, 255, 255, 0.55);
}

#pillars .pillar-icon {
    color: rgba(139, 46, 70, 0.9);
}

/* ============================================
   INDUSTRY CARDS WITH REAL PHOTOS
   ============================================ */

.industry-card-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.industry-card:hover .industry-card-photo {
    transform: scale(1.08);
}

.industry-card-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(107, 27, 46, 0.85) 0%, rgba(0, 0, 0, 0.25) 65%, transparent 100%);
    transition: opacity 0.4s ease;
}

.industry-card:hover .industry-card-photo-overlay {
    background: linear-gradient(to top, rgba(107, 27, 46, 0.92) 0%, rgba(0, 0, 0, 0.35) 70%, transparent 100%);
}

.industry-card-photo-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    color: white;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    z-index: 2;
}

/* ============================================
   INSIGHTS CARDS WITH REAL PHOTOS
   ============================================ */

.insights-card-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.insights-card:hover .insights-card-photo {
    transform: scale(1.06);
}

.insights-card-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15) 0%, rgba(44, 44, 44, 0.65) 100%);
}

.insights-card-photo-label {
    position: absolute;
    top: 16px;
    left: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: white;
    background: var(--burgundy);
    padding: 4px 10px;
    z-index: 2;
}

/* Remove the old emoji-based background from insight/industry cards */
.insights-card-image {
    background: none;
}

.industry-card-image {
    overflow: hidden;
}

/* Override old container-level scale — scale happens on the inner img now */
.industry-card:hover .industry-card-image {
    transform: none;
}

/* ============================================
   SCROLL FAB
   ============================================ */

#scroll-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(150deg, #7d2238 0%, #6B1B2E 50%, #4a111f 100%);
    box-shadow:
        0 4px 18px rgba(107, 27, 46, 0.55),
        0 1px 4px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
    outline: none;
    opacity: 0;
    transform: scale(0.5) translateY(16px);
    transition:
        opacity  0.55s cubic-bezier(0.34, 1.56, 0.64, 1),
        transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.3s ease,
        background 0.3s ease;
    pointer-events: none;
}

#scroll-fab.fab-show {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}

/* Concentric pulse rings */
#scroll-fab::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1.5px solid rgba(107, 27, 46, 0.65);
    animation: fabRing 2.8s ease-out infinite;
    pointer-events: none;
}

#scroll-fab::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid rgba(107, 27, 46, 0.28);
    animation: fabRing 2.8s ease-out infinite 0.7s;
    pointer-events: none;
}

@keyframes fabRing {
    0%   { transform: scale(1.00); opacity: 0.85; }
    100% { transform: scale(1.65); opacity: 0.00; }
}

/* Arrow wrapper — rotates smoothly with springy easing */
#fab-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#fab-wrap.fab-up {
    transform: rotate(180deg);
}

/* Arrow SVG bounces continuously in pointing direction */
#fab-wrap svg {
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.20));
    animation: fabBounce 1.9s ease-in-out infinite;
}

@keyframes fabBounce {
    0%, 100% { transform: translateY(0px);    }
    48%       { transform: translateY(3.5px); }
}

/* Hover: deepen, lift, stop rings + bounce */
#scroll-fab:hover {
    transform: scale(1.13) translateY(-3px);
    box-shadow:
        0 12px 38px rgba(107, 27, 46, 0.65),
        0 3px 10px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    background: linear-gradient(150deg, #8B2E46 0%, #7a2035 50%, #6B1B2E 100%);
}

#scroll-fab:hover::before,
#scroll-fab:hover::after {
    animation: none;
    opacity: 0;
    transform: scale(1.65);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

#scroll-fab:hover #fab-wrap svg {
    animation-play-state: paused;
}

/* Press feedback */
#scroll-fab:active {
    transform: scale(0.90) translateY(-1px) !important;
    box-shadow:
        0 3px 12px rgba(107, 27, 46, 0.45),
        inset 0 2px 5px rgba(0, 0, 0, 0.28) !important;
    transition-duration: 0.08s !important;
}

/* ============================================
   MOBILE MENU ANIMATIONS
   ============================================ */
@keyframes menuSlideIn {
    from { opacity: 0; transform: translateY(-14px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes menuSlideOut {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 0; transform: translateY(-14px); }
}
#mobile-menu.menu-entering {
    animation: menuSlideIn 0.32s cubic-bezier(0.34, 1.2, 0.64, 1) forwards;
}
#mobile-menu.menu-exiting {
    animation: menuSlideOut 0.22s ease-in forwards;
}

/* ============================================
   HAMBURGER BUTTON — bars / X toggle via SVG groups
   ============================================ */
#menu-toggle {
    color: var(--dark-gray);
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease;
    /* iOS Safari resets */
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    border: none;
    padding: 8px; /* Safe fallback */
    
    /* Layout & sizing for mobile */
    align-items: center;
    justify-content: center;
    overflow: visible;
    flex-shrink: 0;
    min-width: 40px;
    min-height: 40px;
    position: relative;
    z-index: 60;
}

/* Ensure it displays correctly on mobile but stays hidden on desktop (lg: 1024px) */
@media (max-width: 1023px) {
    #menu-toggle {
        display: inline-flex !important;
    }
}
@media (min-width: 1024px) {
    #menu-toggle {
        display: none !important;
    }
}
#menu-toggle:hover  { background: rgba(107,27,46,0.09); color: var(--burgundy); }
#menu-toggle:active { background: rgba(107,27,46,0.16); }

/* Ensure SVG inside toggle is never clipped */
#menu-toggle svg {
    display: block;
    overflow: visible;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

/* bars group: visible by default */
#menu-toggle .menu-bars { opacity: 1 !important; }
#menu-toggle .menu-x    { opacity: 0 !important; }

/* open state → show X, hide bars */
#menu-toggle.is-open .menu-bars { opacity: 0 !important; }
#menu-toggle.is-open .menu-x    { opacity: 1 !important; }

/* Fix mobile menu height when contained by header's backdrop-filter */
#mobile-menu {
    height: 100vh;
}

/* ============================================
   PREMIUM FOOTER
   ============================================ */
.pf-root { background: #0d0508; color: white; }

.pf-accent {
    height: 2px;
    background: linear-gradient(to right, #6B1B2E 0%, #8B2E46 22%, rgba(107,27,46,0.18) 60%, transparent 100%);
}

.pf-stats {
    background: rgba(255,255,255,0.022);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.pf-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.pf-stat-cell {
    padding: 22px 30px;
    border-left: 1px solid rgba(255,255,255,0.06);
}

.pf-stat-cell:first-child { border-left: 0; }

.pf-stat-val {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.70rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 5px;
}

.pf-stat-val sup {
    font-size: 0.90rem;
    color: #8B2E46;
    font-family: 'Inter', sans-serif;
    vertical-align: super;
    font-weight: 600;
}

.pf-stat-lbl {
    font-size: 0.63rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.30);
    font-weight: 600;
}

.pf-body { padding: 64px 0 52px; }

.pf-col-head {
    font-size: 0.64rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: white;
    margin-bottom: 20px;
}

.pf-link {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.46);
    font-weight: 300;
    text-decoration: none;
    transition: color 0.22s ease;
    line-height: 1.4;
}

.pf-link:hover { color: white; }

.pf-location-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #6B1B2E;
    flex-shrink: 0;
    display: inline-block;
}

.pf-location-dot.sm {
    width: 4px;
    height: 4px;
    background: rgba(107,27,46,0.60);
}

.pf-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #6B1B2E;
    color: white;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 13px 20px;
    text-decoration: none;
    border-radius: 2px;
    transition: background 0.25s ease;
}

.pf-cta-btn:hover { background: #4a111f; }

.pf-cert {
    font-size: 0.60rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 10px;
    border: 1px solid rgba(107,27,46,0.36);
    color: rgba(255,255,255,0.40);
    display: inline-flex;
}

.pf-divider { border-top: 1px solid rgba(255,255,255,0.07); }

.pf-bar { padding: 22px 0; }

.pf-bar-copy {
    font-size: 0.74rem;
    color: rgba(255,255,255,0.26);
    font-weight: 300;
}

.pf-bar-link {
    font-size: 0.74rem;
    color: rgba(255,255,255,0.26);
    font-weight: 300;
    text-decoration: none;
    transition: color 0.22s ease;
}

.pf-bar-link:hover { color: rgba(255,255,255,0.70); }

/* ── WHATSAPP FLOATING BUTTON ── */
.wa-fab {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 50px;
    height: 50px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.40);
    z-index: 999;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.wa-fab:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}

.pf-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.pf-social:hover {
    background: rgba(107,27,46,0.40);
    border-color: rgba(107,27,46,0.65);
    color: white;
}

@media (max-width: 768px) {
    .pf-stat-grid { grid-template-columns: 1fr 1fr; }
    .pf-stat-cell { border-left: 0; border-top: 1px solid rgba(255,255,255,0.06); padding: 18px 20px; }
    .pf-stat-cell:first-child { border-top: 0; }
    .pf-stat-cell:nth-child(2) { border-left: 1px solid rgba(255,255,255,0.06); border-top: 0; }
    .pf-stat-cell:nth-child(4) { border-left: 1px solid rgba(255,255,255,0.06); }
    .pf-body { padding: 48px 0 40px; }
}

/* ── HERO TICKER (marquee) ── */
.hero-ticker {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 30;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.07);
    background: rgba(0,0,0,0.32);
    padding: 12px 0;
}
.hero-ticker-track {
    display: flex;
    width: max-content;
    animation: hero-tick 32s linear infinite;
}
@keyframes hero-tick {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.hero-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 0 30px;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.70);
    white-space: nowrap;
}
.hero-ticker-item::after {
    content: "";
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(107,27,46,0.80);
}
