/* ====================================
   ALFNIA - FRESH REBUILD
   Modern Dark Navy Theme
   ==================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* === CORE VARIABLES === */
:root {
    /* Navy Color Scheme - NOT pure black */
    --bg-dark: #0a1628;
    --bg-section: #0d1e36;
    --bg-card: #111f38;

    /* Brand Colors */
    --primary: #0047AB;
    --accent: #0070FF;
    --accent-glow: rgba(0, 112, 255, 0.4);

    /* Text */
    --text: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.6);
    --text-dim: rgba(255, 255, 255, 0.4);

    /* Typography Scale - Slightly Larger H1 */
    --fs-h1: 1.6rem;
    /* Slightly larger than H2 (1.5rem) */
    --fs-h2: 1.5rem;
    --fs-h3: 1.25rem;
    --fs-h4: 1.125rem;
    --fs-h5: 1rem;
    --fs-h6: 0.875rem;
    --fs-body: 1rem;
    --fs-small: 0.875rem;
    --fs-display: 2.5rem;

    /* Borders */
    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.15);

    /* Effects */
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --transition: 0.4s var(--ease-out-expo);
    --grid-color: rgba(0, 112, 255, 0.03);
}

@media (min-width: 768px) {
    :root {
        --fs-h1: 2rem;
        /* Increased from 1.75rem (H2 is 1.75rem) */
        --fs-h2: 1.75rem;
        --fs-h3: 1.5rem;
        --fs-h4: 1.25rem;
        --fs-display: 3rem;
    }
}

/* === ARCHITECTURAL GRID BACKDROP === */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.5;
}

.bg-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 2px 2px, var(--grid-color) 1px, transparent 0);
    background-size: 100px 100px;
    pointer-events: none;
    z-index: 2;
}

/* === RESET === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    font-size: var(--fs-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--text);
}

h1 {
    font-size: var(--fs-h1);
}

h2 {
    font-size: var(--fs-h2);
}

h3 {
    font-size: var(--fs-h3);
}

h4 {
    font-size: var(--fs-h4);
}

h5 {
    font-size: var(--fs-h5);
}

h6 {
    font-size: var(--fs-h6);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


.syne {
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* ====================================
   TOP HEADER NAVIGATION
   ==================================== */
.top-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
}

.admin-bar .top-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .top-header {
        top: 46px;
    }
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-logo img {
    height: 35px;
}


.header-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* WordPress wp_nav_menu() ul/li reset */
.header-nav .menu,
.header-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 25px;
}

.header-nav .menu li {
    position: relative;
}

/* Sub-menu dropdown */
.header-nav .menu li .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(10, 22, 40, 0.97);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 10px 0;
    min-width: 200px;
    flex-direction: column;
    gap: 0;
    z-index: 100;
    margin-top: 15px;
}

.header-nav .menu li:hover>.sub-menu {
    display: flex;
}

.header-nav .menu li .sub-menu li {
    width: 100%;
}

.header-nav .menu li .sub-menu a {
    display: block;
    padding: 8px 20px;
    white-space: nowrap;
}

.header-nav .menu li .sub-menu a:hover {
    background: rgba(0, 112, 255, 0.1);
}

.header-nav .menu li .sub-menu a::after {
    display: none;
}

.header-nav a {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    transition: color 0.3s;
    position: relative;
}

.header-nav a:hover {
    color: var(--text);
}

/* Active menu item */
.header-nav .current-menu-item>a,
.header-nav .current-menu-ancestor>a {
    color: var(--text);
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s;
}

.header-nav a:hover::after {
    width: 100%;
}


.header-nav .current-menu-item>a::after {
    width: 100%;
}


/* === GLOBAL BUTTONS (MECHANICAL) === */
.btn-mechanical,
.rfq-submit,
.wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 14px 35px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 4px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none !important;
    z-index: 1;
    font-family: inherit;

    /* The Universal Glint (Line) - Visible at center, sweeps on hover */
    background: linear-gradient(120deg,
            transparent 35%,
            rgba(255, 255, 255, 0.35) 50%,
            transparent 65%) no-repeat, var(--primary);
    background-size: 250% 100%;
    background-position: 50% 0;
    color: white !important;
    transition: all 0.4s var(--ease-out-expo), background-position 0.8s ease;
}

/* Color Modifiers */
.btn-primary {
    /* Inherits background-image from base, just sets solid color backup */
    background-color: var(--primary);
}

.btn-white {
    background-color: white;
    background-image: linear-gradient(120deg,
            transparent 35%,
            rgba(0, 0, 0, 0.1) 50%,
            transparent 65%);
    color: var(--bg-dark) !important;
}

.btn-outline {
    background-color: rgba(255, 255, 255, 0.03);
    border-color: var(--border);
    color: white !important;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white !important;
}

/* Size Modifiers */
.btn-sm {
    padding: 10px 25px;
    font-size: 0.75rem;
}

.btn-lg {
    padding: 18px 50px;
    font-size: 0.9rem;
}

.btn-full {
    width: 100%;
}

/* Mechanical Hover Effect */
.btn-mechanical:hover,
.rfq-submit:hover,
.wpcf7-submit:hover {
    background-position: 151% 0;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 71, 171, 0.2);
}

.btn-primary:hover,
.rfq-submit:hover,
.wpcf7-submit:hover {
    background-color: var(--accent);
    border-color: var(--accent);
}

/* box-shadow already set by .btn-mechanical:hover above */

.btn-white:hover {
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.btn-outline:hover {
    border-color: var(--accent);
    background-color: rgba(0, 112, 255, 0.05);
}

.btn-whatsapp:hover {
    background-color: #20BA5A;
}


/* ====================================
   SECTIONS BASE
   ==================================== */
.section {
    min-height: 100vh;
    padding: 120px 8%;
    position: relative;
}

.section:first-of-type {
    padding-top: 70px;
    /* Header offset */
}

.section-tag {
    font-size: 0.65rem;
    letter-spacing: 4px;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-title {
    font-size: var(--fs-h2);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
}

/* ====================================
   HERO SECTION
   ==================================== */
/* ====================================
   HERO SECTION
   ==================================== */
.hero {
    height: 100vh;
    display: flex;
    align-items: flex-end;
    /* Changed from center to flex-end */
    justify-content: flex-start;
    /* Changed from center to flex-start */
    text-align: left;
    /* Changed from center to left */
    position: relative;
    overflow: hidden;
    padding-top: 70px;
    padding-bottom: 80px;
    /* Add space at bottom */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    filter: brightness(0.8);
    /* Darkened slightly to improve text contrast */
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 0;
    /* Removing padding here, handling in inner div */
}


/* New styles for the overlay content */
.hero-overlay-content {
    animation: fadeUp 1s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Original hero classes kept for compatibility or fallback */
.hero-title {
    /* font-size: removed to use global h1 size */
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 25px;
    color: white;
}

.hero-subtitle {
    font-size: var(--fs-body);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 0 30px;
    /* Align left */
    line-height: 1.6;
}

/* .hero-cta removed — templates use .btn-mechanical .btn-lg */

/* ====================================
   INTRO SECTION (Moved from Hero)
   ==================================== */
.intro-section {
    background: var(--bg-dark);
    padding: 100px 0;
    text-align: center;
    position: relative;
    z-index: 5;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.intro-text {
    font-size: var(--fs-h3);
    font-weight: 500;
    line-height: 1.5;
    color: var(--text);
    padding: 0 20px;
}

.intro-line {
    width: 60px;
    height: 2px;
    background: var(--accent);
    opacity: 0.6;
}

/* For reveal animation */
.intro-section[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s var(--ease-out-expo);
}

.intro-section[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ====================================
   SHARED PAGE HERO (used by all inner pages)
   ==================================== */
.page-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bg-section);
    position: relative;
    padding: 100px 5% 120px;
    /* Increased bottom padding */
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.1;
    pointer-events: none;
}

/* Ensure content centering for internal pages */
.page-hero .hero-content {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.page-hero .hero-title,
.page-hero .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    max-width: 900px;
}

/* ====================================
   STATS SECTION (Horizontal Scroll)
   ==================================== */
.stats-section {
    height: 300vh;
    position: relative;
    background: var(--bg-section);
}

.stats-sticky {
    position: sticky;
    top: 70px;
    height: calc(100vh - 70px);
    overflow: hidden;
}

.stats-track {
    display: flex;
    height: 100%;
    counter-reset: stat;
}

.stat-panel {
    flex: 0 0 100vw;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-right: 1px solid var(--border);
}

.stat-panel::before {
    content: "0" counter(stat);
    counter-increment: stat;
    position: absolute;
    top: 50px;
    left: 8%;
    font-size: 0.6rem;
    letter-spacing: 3px;
    color: var(--accent);
    opacity: 0.5;
}

.stat-number {
    position: absolute;
    font-size: 18rem;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.1;
    user-select: none;
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
}

.stat-content {
    position: relative;
    z-index: 10;
    max-width: 600px;
    padding: 0 8%;
}

.stat-content h2 {
    font-size: var(--fs-h2);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.stat-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

/* ====================================
   PRODUCTS SECTION
   ==================================== */
.products-section {
    background: var(--bg-dark);
    padding: 120px 8%;
}

.products-list {
    margin-top: 60px;
}

.product-item {
    padding: 50px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.4s;
    position: relative;
}

.product-item:hover {
    padding-left: 30px;
}

.product-item::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent);
    transition: width 0.5s var(--ease-out-expo);
}

.product-item:hover::after {
    width: 100%;
}

.product-item h3 {
    font-size: var(--fs-h3);
    font-weight: 700;
    transition: color 0.3s;
}

.product-item:hover h3 {
    color: var(--accent);
}

.product-item p {
    color: var(--text-muted);
    max-width: 350px;
    font-size: 0.9rem;
}

/* ====================================
   PROJECTS ACCORDION GALLERY
   ==================================== */
.projects-section {
    background: var(--bg-section);
}

.section-header-padded {
    padding: 80px 8% 40px;
}

/* Grid Layout for Archive */
.projects-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)) !important;
    gap: 30px !important;
    height: auto !important;
    border: none !important;
    padding: 0 5%;
}

.projects-grid .project-card {
    aspect-ratio: 3 / 4;
    height: auto;
    border: 1px solid var(--border);
    transition: transform 0.4s var(--ease-out-expo);
}

.projects-grid .project-card:hover {
    flex: none;
    transform: translateY(-10px);
    z-index: 5;
}

.projects-grid .project-info {
    bottom: 20px;
    left: 20px;
    right: 20px;
    padding: 15px 20px;
    background: rgba(10, 22, 40, 0.85);
}

.projects-grid .project-info h3 {
    font-size: 1.1rem;
}

.projects-gallery {
    display: flex;
    height: 70vh;
    gap: 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.project-card {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-right: 1px solid var(--border);
    cursor: pointer;
    transition: flex 0.8s var(--ease-out-expo);
}

.project-card:last-child {
    border-right: none;
}

.project-card:hover {
    flex: 6;
}

.project-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: all 0.8s var(--ease-out-expo);
}

.project-card:hover img {
    opacity: 1;
    transform: scale(1.05);
    filter: brightness(0.8) contrast(1.1);
}

/* Blueprint HUD Overlay */
.blueprint-hud {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 12;
}

.hud-line {
    position: absolute;
    background: var(--accent);
    opacity: 0;
    transition: all 0.6s var(--ease-out-expo);
}

/* Vertical and horizontal drafting lines */
.hud-line.v {
    width: 1px;
    height: 100%;
    left: 15%;
    top: 0;
}

.hud-line.h {
    height: 1px;
    width: 100%;
    top: 15%;
    left: 0;
}

.project-card:hover .hud-line {
    opacity: 0.2;
}

.project-card:hover .hud-line.v {
    left: 20%;
}

.project-card:hover .hud-line.h {
    top: 20%;
}

/* Technical specs (HUD) */
.hud-spec {
    position: absolute;
    font-size: 10px;
    color: var(--accent);
    font-family: monospace;
    opacity: 0;
    transition: all 0.6s 0.2s;
    letter-spacing: 1px;
}

.spec-top {
    top: 15%;
    left: 22%;
}

.spec-left {
    top: 25%;
    left: 15%;
    transform: rotate(-90deg);
    transform-origin: left top;
}

.project-card:hover .hud-spec {
    opacity: 0.6;
}

.project-info {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    z-index: 10;
    opacity: 1;
    /* Always visible */
    transition: all 0.5s var(--ease-out-expo);
    white-space: normal;
    background: rgba(10, 22, 40, 0.75);
    backdrop-filter: blur(10px);
    padding: 20px 25px;
    border: 1px solid var(--border);
    border-radius: 4px;
    pointer-events: none;
}

.project-card:hover .project-info {
    background: rgba(0, 71, 171, 0.85);
    /* Slight color shift on hover for feedback */
    border-color: var(--accent);
    transform: translateY(-5px);
}

.project-info h3 {
    font-size: var(--fs-h5);
    margin-bottom: 5px;
}

.project-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 2px;
}

/* Viewfinder corners */
.project-card::before,
.project-card::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 1px solid var(--accent);
    opacity: 0;
    transition: all 0.4s;
    z-index: 15;
}

.project-card::before {
    top: 20px;
    left: 20px;
    border-right: none;
    border-bottom: none;
}

.project-card::after {
    bottom: 20px;
    right: 20px;
    border-left: none;
    border-top: none;
}

.project-card:hover::before,
.project-card:hover::after {
    opacity: 0.8;
}

/* ====================================
   PRODUCTION PROCESS - HORIZONTAL TIMELINE
   ==================================== */
.process-section {
    background: var(--bg-dark);
    padding: 100px 0;
    overflow: hidden;
}

.process-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 8%;
}

.zero-waste-badge {
    display: inline-block;
    padding: 8px 25px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 25px;
}

/* Timeline Container */
.process-timeline {
    position: relative;
    padding: 40px 8%;
}

/* Horizontal Line */
.process-timeline::before {
    content: '';
    position: absolute;
    top: 70px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--primary), var(--accent));
    opacity: 0.4;
}

/* Timeline Steps */
.timeline-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.timeline-step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 10px;
}

/* Step Dot */
.step-dot {
    width: 16px;
    height: 16px;
    background: var(--accent);
    border-radius: 50%;
    margin: 0 auto 25px;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 20px var(--accent-glow);
    transition: all 0.3s;
}

.timeline-step:hover .step-dot {
    transform: scale(1.3);
    box-shadow: 0 0 30px var(--accent);
}

/* Step Number */
.step-num {
    font-size: 0.6rem;
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: 15px;
    opacity: 0.7;
}

/* Step Image */
.step-image {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    opacity: 0.85;
    transition: all 0.4s;
    border: 1px solid var(--border);
}

.timeline-step:hover .step-image {
    opacity: 1;
    transform: translateY(-5px);
    border-color: var(--accent);
}

/* Step Title */
.step-title {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

/* Step Description */
.step-desc {
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Highlight First Step (Recycling) */
.timeline-step.highlight .step-dot {
    background: linear-gradient(135deg, #00c853, var(--accent));
    width: 20px;
    height: 20px;
}

.timeline-step.highlight .step-title {
    color: var(--accent);
}

/* Sustainability Summary */
.sustainability-summary {
    margin-top: 60px;
    padding: 40px 8%;
    background: linear-gradient(135deg, rgba(0, 71, 171, 0.1), transparent);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 40px;
}

.sustainability-summary h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.sustainability-summary p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

.sustainability-summary img {
    max-width: 250px;
    border-radius: 8px;
    opacity: 0.9;
}

.summary-text-col {
    flex: 2;
}

.summary-img-col {
    flex: 1;
}

/* ====================================
   SUSTAINABILITY SECTION
   ==================================== */
.sustainability-section {
    background: var(--bg-section);
    padding: 120px 8%;
    display: flex;
    align-items: center;
    gap: 80px;
}

.sustainability-text {
    flex: 1;
}

.sustainability-text h2 {
    font-size: var(--fs-h2);
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
}

.sustainability-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 20px;
}

.sustainability-visual {
    flex: 1;
    position: relative;
}

.sustainability-visual img {
    width: 100%;
    border: 1px solid var(--border);
    opacity: 0.9;
}

/* ====================================
   CERTIFICATES SECTION
   ==================================== */
.certificates-section {
    background: var(--bg-section);
    padding: 120px 8%;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.certificate-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 40px;
    text-align: center;
    transition: all 0.4s;
}

.certificate-card:hover {
    border-color: var(--accent);
}

.certificate-card img {
    max-height: 150px;
    margin: 0 auto 20px;
    object-fit: contain;
}

.certificate-card h4 {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* ====================================
   CONTACT SECTION
   ==================================== */
.contact-section {
    background: var(--bg-dark);
    padding: 120px 8%;
    text-align: center;
}

.contact-section h2 {
    font-size: var(--fs-h2);
    font-weight: 800;
    margin-bottom: 30px;
}

.contact-info {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 2;
    margin-bottom: 40px;
}

.contact-info a {
    color: var(--accent);
    transition: color 0.3s;
}

.contact-info a:hover {
    color: var(--text);
}

/* .contact-cta removed — templates use .btn-mechanical .btn-white */

/* ====================================
   FOOTER
   ==================================== */
.footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
    padding: 40px 8%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 40px;
}

.footer-logo {
    justify-self: start;
}

.footer-nav {
    justify-self: center;
}

.footer-text {
    justify-self: end;
    font-size: 0.7rem;
    color: var(--text-dim);
    letter-spacing: 1px;
    white-space: nowrap;
}

.footer-logo img {
    height: 30px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-logo img:hover {
    opacity: 1;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 30px;
}

.footer-nav a {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--text);
}

.footer-text a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-text a:hover {
    color: var(--accent);
}

/* Footer Responsive Enhancement */
@media (max-width: 991px) {
    .footer {
        display: flex;
        flex-direction: column;
        text-align: center;
        padding: 60px 5%;
        gap: 30px;
    }

    .footer-logo,
    .footer-nav,
    .footer-text {
        justify-self: center;
    }

    .footer-text {
        white-space: normal;
    }
}

/* ====================================
   ANIMATIONS
   ==================================== */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s var(--ease-out-expo);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ====================================
   MOBILE MENU - HAMBURGER TOGGLE
   ==================================== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    background: none;
    border: 1px solid var(--border);
    border-radius: 4px;
    cursor: pointer;
    z-index: 10002;
    position: relative;
    padding: 0;
    transition: border-color 0.3s;
}

.mobile-menu-toggle:hover {
    border-color: var(--accent);
}

.hamburger-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.4s var(--ease-out-expo);
    transform-origin: center;
}

/* Hamburger → X animation */
.mobile-menu-toggle.active .hamburger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active .hamburger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ====================================
   MOBILE MENU - FULL PAGE OVERLAY
   ==================================== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 22, 40, 0.98);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s var(--ease-out-expo), visibility 0.5s;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Subtle architectural grid inside mobile menu */
.mobile-menu-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 112, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 112, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s 0.2s;
}

.mobile-menu-overlay.active .mobile-menu-bg-grid {
    opacity: 1;
}

/* Glow accent line at top */
.mobile-menu-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.6s 0.3s;
}

.mobile-menu-overlay.active::before {
    opacity: 1;
}

.mobile-menu-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    width: 100%;
    padding: 100px 30px 40px;
    max-height: 100vh;
    overflow-y: auto;
}

/* Logo in mobile menu */


/* Navigation links */
.mobile-menu-nav {
    text-align: center;
}

.mobile-menu-nav ul,
.mobile-menu-nav .menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-menu-nav .menu li {
    overflow: hidden;
}

.mobile-menu-nav .menu li a {
    display: block;
    font-size: var(--fs-h2);
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 12px 0;
    position: relative;
    transition: color 0.3s, transform 0.3s;
    opacity: 0;
    transform: translateY(30px);
}

.mobile-menu-overlay.active .mobile-menu-nav .menu li a {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation for each link */
.mobile-menu-overlay.active .mobile-menu-nav .menu li:nth-child(1) a {
    transition-delay: 0.1s;
}

.mobile-menu-overlay.active .mobile-menu-nav .menu li:nth-child(2) a {
    transition-delay: 0.15s;
}

.mobile-menu-overlay.active .mobile-menu-nav .menu li:nth-child(3) a {
    transition-delay: 0.2s;
}

.mobile-menu-overlay.active .mobile-menu-nav .menu li:nth-child(4) a {
    transition-delay: 0.25s;
}

.mobile-menu-overlay.active .mobile-menu-nav .menu li:nth-child(5) a {
    transition-delay: 0.3s;
}

.mobile-menu-overlay.active .mobile-menu-nav .menu li:nth-child(6) a {
    transition-delay: 0.35s;
}

.mobile-menu-overlay.active .mobile-menu-nav .menu li:nth-child(7) a {
    transition-delay: 0.4s;
}

.mobile-menu-overlay.active .mobile-menu-nav .menu li:nth-child(8) a {
    transition-delay: 0.45s;
}

/* Hover glow on links */
.mobile-menu-nav .menu li a:hover {
    color: var(--text);
}

.mobile-menu-nav .menu li a::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 8px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.4s var(--ease-out-expo), left 0.4s var(--ease-out-expo);
}

.mobile-menu-nav .menu li a:hover::before {
    width: 60%;
    left: 20%;
}

/* Active item in mobile */
.mobile-menu-nav .current-menu-item>a {
    color: var(--text) !important;
}

.mobile-menu-nav .current-menu-item>a::before {
    width: 40%;
    left: 30%;
    background: var(--accent);
}

/* Sub-menus in mobile */
.mobile-menu-nav .sub-menu {
    list-style: none;
    padding: 0 0 10px;
    margin: 0;
}

.mobile-menu-nav .sub-menu li a {
    font-size: 1rem !important;
    font-weight: 500 !important;
    letter-spacing: 1px !important;
    padding: 8px 0 !important;
    color: var(--text-dim) !important;
}

.mobile-menu-nav .sub-menu li a:hover {
    color: var(--accent) !important;
}

/* CTA button */
.mobile-menu-cta {
    width: 100%;
    max-width: 320px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s 0.45s var(--ease-out-expo);
}

.mobile-menu-overlay.active .mobile-menu-cta {
    opacity: 1;
    transform: translateY(0);
}

/* Footer text */
.mobile-menu-footer {
    opacity: 0;
    transition: opacity 0.5s 0.55s;
}

.mobile-menu-overlay.active .mobile-menu-footer {
    opacity: 1;
}

.mobile-menu-footer p {
    font-size: 0.7rem;
    color: var(--text-dim);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Fallback links (when no WP menu assigned) */
.mobile-menu-nav>a {
    display: block;
    font-size: var(--fs-h2);
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 12px 0;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: color 0.3s, opacity 0.5s, transform 0.5s var(--ease-out-expo);
}

.mobile-menu-overlay.active .mobile-menu-nav>a {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-overlay.active .mobile-menu-nav>a:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu-overlay.active .mobile-menu-nav>a:nth-child(2) {
    transition-delay: 0.15s;
}

.mobile-menu-overlay.active .mobile-menu-nav>a:nth-child(3) {
    transition-delay: 0.2s;
}

.mobile-menu-overlay.active .mobile-menu-nav>a:nth-child(4) {
    transition-delay: 0.25s;
}

.mobile-menu-overlay.active .mobile-menu-nav>a:nth-child(5) {
    transition-delay: 0.3s;
}

.mobile-menu-overlay.active .mobile-menu-nav>a:nth-child(6) {
    transition-delay: 0.35s;
}

/* Prevent body scroll when menu is open */
body.mobile-menu-open {
    overflow: hidden;
}

/* Keep header above overlay so X button is visible */
body.mobile-menu-open .top-header {
    z-index: 10001;
}

/* ====================================
   RESPONSIVE
   ==================================== */
@media (max-width: 768px) {
    .top-header {
        padding: 0 20px;
    }

    .header-nav {
        display: none;
    }

    .header-cta-desktop {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-tagline {
        display: none;
    }

    .section {
        padding: 80px 5%;
    }

    .hero-title {
        /* font-size: removed */
    }

    .btn-mechanical,
    .rfq-submit,
    .wpcf7-submit {
        padding: 10px 25px;
        font-size: 0.75rem;
        letter-spacing: 1.5px;
    }

    .btn-lg {
        padding: 14px 35px;
        font-size: 0.8rem;
    }

    .projects-gallery {
        flex-direction: column;
        height: auto;
    }

    .product-item h3 {
        font-size: var(--fs-h4);
        margin-bottom: 10px;
    }

    .product-item {
        padding: 30px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .project-card {
        height: 300px;
        /* Increased height for better visibility */
        width: 100%;
        flex: none;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .project-card img {
        opacity: 1 !important;
        /* Force visibility on mobile */
        transform: scale(1) !important;
    }

    .project-card:hover {
        flex: none;
        /* Disable flex accordion on mobile */
    }

    .project-info {
        left: 20px;
        bottom: 20px;
        opacity: 1;
        white-space: normal;
        padding: 15px 20px;
        background: rgba(10, 22, 40, 0.85);
        /* Slightly darker for better mobile contrast */
        transform: none !important;
    }

    .project-info h3 {
        font-size: var(--fs-h5);
    }

    .blueprint-hud {
        display: none;
        /* Hide complex HUD lines on mobile to focus on image */
    }

    .page-hero {
        height: auto;
        min-height: 50vh;
        padding-top: 150px;
        padding-bottom: 60px;
        /* Add bottom padding to ensure content doesn't touch the next section */
    }

    .sustainability-summary {
        flex-direction: column;
        text-align: center;
    }

    .sustainability-summary img {
        max-width: 100%;
    }

    .timeline-steps {
        flex-wrap: wrap;
        gap: 30px;
    }

    .timeline-step {
        flex: 0 0 calc(50% - 15px);
    }

    .process-timeline::before {
        display: none;
    }

    .footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .whatsapp-direct {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}


/* ====================================
   PRODUCTS PAGE SPECIFIC STYLES
   ==================================== */

.products-grid-section {
    padding: 100px 8%;
    background: var(--bg-dark);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.product-category-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.4s var(--ease-out-expo), border-color 0.4s;
    display: flex;
    flex-direction: column;
}

.product-category-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

.card-image-wrap {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo);
}

.product-category-card:hover .card-image-wrap img {
    transform: scale(1.1);
}

.blueprint-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(var(--accent) 1px, transparent 1px) 0 0 / 20px 20px,
        linear-gradient(90deg, var(--accent) 1px, transparent 1px) 0 0 / 20px 20px;
    opacity: 0.05;
    pointer-events: none;
}

.card-content {
    padding: 40px;
    flex-grow: 1;
    position: relative;
}

.category-num {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.3;
}

.card-content h3 {
    font-size: var(--fs-h5);
    margin-bottom: 20px;
    color: var(--text);
}

.card-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.7;
}

.product-features {
    list-style: none;
    padding: 0;
}

.product-features li {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.product-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

/* Technical Specs */
.tech-specs-section {
    padding: 120px 8%;
    background: var(--bg-section);
}

.specs-container {
    max-width: 1100px;
    margin: 0 auto;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.spec-box {
    padding: 40px;
    background: var(--bg-card);
    border-left: 3px solid var(--accent);
}

.spec-box h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 15px;
}

.spec-box .value {
    font-size: var(--fs-h3);
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text);
}

.spec-box .detail {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.spec-list {
    list-style: none;
    padding: 0;
}

.spec-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.spec-list li strong {
    color: var(--text);
    display: block;
    margin-bottom: 2px;
}

/* Catalog CTA */
.catalog-cta {
    padding: 100px 8%;
    background: var(--bg-dark);
    text-align: center;
}

.catalog-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px;
    border: 1px solid var(--border-light);
    background: radial-gradient(circle at top right, rgba(0, 71, 171, 0.1), transparent);
}

.catalog-text h2 {
    font-size: var(--fs-h2);
    margin-bottom: 20px;
}

.catalog-text p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.catalog-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.download-btn {
    background: var(--primary);
    padding: 15px 35px;
    font-weight: 700;
}

.whatsapp-btn {
    border: 1px solid var(--border-light);
    padding: 15px 35px;
}



.catalog-container {
    padding: 40px 20px;
}


/* Sustainability page — hero handled by shared .page-hero */

.eco-badge {
    display: inline-block;
    padding: 10px 30px;
    background: rgba(0, 150, 80, 0.15);
    border: 1px solid rgba(0, 255, 120, 0.2);
    color: #4ade80;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 50px;
    margin-bottom: 30px;
}

.circular-loop-section {
    padding: 100px 8% 120px;
    background: var(--bg-dark);
    position: relative;
}

/* Subtle Divider between Hero and Loop */
.circular-loop-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100px;
    background: linear-gradient(180deg, var(--accent), transparent);
    opacity: 0.3;
}

.loop-header .section-title {
    font-size: var(--fs-h2);
    /* Reduced to respect Hero hierarchy */
    margin-bottom: 20px;
}

.loop-graphic {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.loop-graphic::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.2;
}

.loop-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 10;
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.step-icon svg {
    width: 45px;
    height: 45px;
    color: var(--accent);
    filter: drop-shadow(0 0 8px rgba(0, 112, 255, 0.2));
}

.loop-step h4 {
    color: var(--text);
    margin-bottom: 10px;
}

.loop-step p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.loop-arrow {
    font-size: 1.5rem;
    color: var(--accent);
    opacity: 0.5;
    margin: 0 20px;
}

/* Pillars Grid */
.pillars-section {
    padding: 120px 8%;
    background: var(--bg-section);
}

.pillars-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.pillar-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.pillar-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border: 1px solid var(--border);
}

.pillar-content h3 {
    font-size: var(--fs-h2);
    margin-bottom: 25px;
    color: var(--text);
}

.pillar-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
}

/* Commitment CTA */
.commitment-cta {
    padding: 120px 8%;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-section) 100%);
}

.commitment-container h2 {
    font-size: var(--fs-h2);
    margin-bottom: 20px;
}

.commitment-container p {
    max-width: 600px;
    margin: 0 auto 50px;
    color: var(--text-muted);
}

.commitment-actions {
    display: flex;
    justify-content: center;
}

@media (max-width: 1024px) {
    .loop-graphic {
        flex-direction: column;
        gap: 40px;
    }

    .loop-arrow {
        transform: rotate(90deg);
    }

    .pillar-card {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pillar-card:nth-child(even) .pillar-content {
        order: 2;
    }
}

/* About page — hero handled by shared .page-hero */

.heritage-section {
    padding: 120px 8%;
    background: var(--bg-dark);
}

.milestones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.milestone-box {
    padding: 60px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
    transition: all 0.4s var(--ease-out-expo);
}

.milestone-box:hover {
    border-color: var(--accent);
    transform: translateY(-10px);
}

.milestone-box .year {
    display: block;
    font-size: var(--fs-h2);
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 20px;
}

.milestone-box h4 {
    font-size: var(--fs-h4);
    margin-bottom: 15px;
    color: var(--text);
}

.milestone-box p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Leadership Section */
.leadership-section {
    padding: 120px 8%;
    background: var(--bg-section);
}

.leadership-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.leadership-text h2 {
    font-size: var(--fs-h2);
    margin-bottom: 40px;
    line-height: 1.1;
}

.message-body {
    font-size: var(--fs-h4);
    line-height: 1.8;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 40px;
    position: relative;
    padding-left: 30px;
    border-left: 2px solid var(--accent);
}

.chairman-name {
    font-weight: 700;
    font-size: var(--fs-h5);
    color: var(--text);
}

.chairman-title {
    color: var(--accent);
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.leadership-image {
    position: relative;
    z-index: 5;
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    height: 600px;
}

.leadership-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%) brightness(0.9) contrast(1.1);
    transition: filter 0.5s var(--ease-out-expo);
}

.leadership-image:hover img {
    filter: grayscale(0%) brightness(1) contrast(1.05);
}

.image-overlay-technical {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(var(--accent) 1px, transparent 1px) 0 0 / 40px 40px,
        linear-gradient(90deg, var(--accent) 1px, transparent 1px) 0 0 / 40px 40px;
    opacity: 0.1;
    pointer-events: none;
}

/* Scale Section */
.scale-section {
    padding: 100px 8%;
    background: var(--bg-dark);
}

.scale-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.scale-item {
    text-align: center;
    flex: 1;
}

.scale-num {
    display: block;
    font-size: var(--fs-display);
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 10px;
}

.scale-label {
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: var(--text-muted);
}

@media (max-width: 1024px) {
    .leadership-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .leadership-image {
        height: 400px;
    }

    .scale-grid {
        flex-direction: column;
        gap: 60px;
    }
}

/* Production page — hero handled by shared .page-hero */

.process-journey {
    padding: 120px 8%;
    background: var(--bg-dark);
}

.process-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.process-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent), transparent);
    opacity: 0.2;
}

.process-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    margin-bottom: 120px;
    align-items: center;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--bg-card);
    border: 2px solid var(--accent);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    border-radius: 50%;
    z-index: 5;
    font-size: 1.2rem;
    box-shadow: 0 0 20px rgba(0, 112, 255, 0.2);
}

.process-step h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text);
}

.process-step p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

.step-visual {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
}

.step-visual img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
}

.process-step:hover .step-visual img {
    transform: scale(1.05);
}

/* Alternate steps */
.process-step:nth-child(even) .step-content {
    order: 2;
    text-align: left;
}

.process-step:nth-child(even) .step-visual {
    order: 1;
}

.process-step:nth-child(odd) .step-content {
    text-align: right;
}

/* Production Stats */
.production-stats {
    padding: 100px 8%;
    background: var(--bg-section);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.stat-card {
    padding: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    text-align: center;
    border-radius: 4px;
    transition: all 0.4s;
}

.stat-card:hover {
    border-color: var(--accent);
    transform: translateY(-10px);
}

.stat-num {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 2px;
}

@media (max-width: 900px) {
    .process-line {
        left: 30px;
    }

    .step-number {
        left: 30px;
        transform: translate(-50%, -50%);
    }

    .process-step {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-left: 80px;
    }

    .process-step:nth-child(even) .step-content,
    .process-step:nth-child(odd) .step-content {
        order: 1;
        text-align: left;
    }

    .process-step:nth-child(even) .step-visual,
    .process-step:nth-child(odd) .step-visual {
        order: 2;
    }

    .step-visual img {
        height: 300px;
    }
}

/* Contact page — hero handled by shared .page-hero */

.contact-info-section {
    padding: 100px 8%;
    background: var(--bg-dark);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 60px 40px;
    text-align: center;
    border-radius: 4px;
    transition: all 0.4s var(--ease-out-expo);
}

.info-card:hover {
    border-color: var(--accent);
    transform: translateY(-10px);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
}

.info-icon svg {
    width: 40px;
    height: 40px;
    color: var(--accent);
    filter: drop-shadow(0 0 10px rgba(0, 112, 255, 0.3));
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.info-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 8px;
}

.text-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
}

/* RFQ Form */
/* ====================================
   RFQ & CONTACT FORM STYLES (REFACTORED)
   ==================================== */

.rfq-section {
    padding: 120px 8%;
    background: var(--bg-section);
}

.rfq-container {
    max-width: 900px;
    margin: 0 auto;
}

.rfq-header {
    text-align: center;
    margin-bottom: 60px;
}

.rfq-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.rfq-header p {
    color: var(--text-muted);
}

.rfq-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 60px;
    border-radius: 4px;
    position: relative;
}

/* Grid Layout */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px 30px;
    /* 45px vertical gap for breathing room */
    margin-bottom: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group.full-width {
    grid-column: 1 / -1;
    margin-top: 35px;
    /* Increased to ensure clear vertical separation */
}

/* Input Styling */
.form-group label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent);
    text-transform: uppercase;
}

.rfq-form input:not([type="submit"]),
.rfq-form select,
.rfq-form textarea,
.rfq-form .wpcf7-form-control:not([type="submit"]) {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    padding: 15px;
    color: var(--text);
    font-family: inherit;
    border-radius: 3px;
    transition: all 0.3s var(--ease-out-expo);
    display: block;
}

.rfq-form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 20px) center;
    background-size: 12px;
}

.rfq-form select option {
    background-color: var(--bg-dark);
    color: var(--text);
    padding: 10px;
}

.rfq-form textarea {
    min-height: 160px;
    resize: vertical;
}

.rfq-form input:focus,
.rfq-form select:focus,
.rfq-form textarea:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 15px rgba(0, 112, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
}

/* Contact Form 7 Wrappers */
.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* Submit Button overrides (Keeping specific sizes as per section design) */
.rfq-submit,
.wpcf7-submit {
    width: 100%;
    height: 65px;
    margin-top: 45px;
}

/* WhatsApp Link handled by btn-whatsapp utility */
.whatsapp-direct {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: var(--text-muted);
}

.whatsapp-direct .btn-whatsapp img {
    width: 20px;
    height: 20px;
    display: inline-block;
}

/* CF7 Response Messages */
.wpcf7-response-output {
    margin: 30px 0 0 !important;
    /* CF7 injects these with high precedence, keeping one !important for safety */
    padding: 15px 25px !important;
    border: 1px solid var(--accent) !important;
    border-radius: 4px;
    text-align: center;
    background: rgba(0, 112, 255, 0.05);
}

.wpcf7-spinner {
    position: absolute;
    bottom: 30px;
    right: 40px;
}

/* Responsive */
@media (max-width: 768px) {
    .rfq-form {
        padding: 40px 25px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .rfq-header h2 {
        font-size: 2.2rem;
    }
}


/* ------------------------------------------------------------------------- *
 *  15. BLOG & ARCHIVES
 * ------------------------------------------------------------------------- */

.blog-hero {
    background-color: var(--bg-dark);
    /* Using variable */
    padding: 160px 0 80px;
    position: relative;
    text-align: center;
}

.blog-hero .page-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    color: var(--text);
    /* Using variable */
}

.blog-hero .page-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    /* Using variable */
    max-width: 600px;
    margin: 0 auto;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.post-card {
    background: var(--bg-card);
    /* Using variable */
    border: 1px solid var(--border);
    /* Using variable */
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    /* Using variable */
}

.post-card-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-card-image img {
    transform: scale(1.05);
}

.post-card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-meta {
    font-family: var(--font-mono);
    /* Assuming defaults or need to check */
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.post-separator {
    color: var(--accent);
}

.post-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-title a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: var(--accent);
}

.post-excerpt {
    color: var(--text-muted);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.post-footer {
    margin-top: auto;
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}

/* Pagination */
.pagination-wrapper {
    margin: 4rem 0;
    display: flex;
    justify-content: center;
}

.pagination .nav-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.pagination .next,
.pagination .prev {
    width: auto;
    padding: 0 1rem;
}

/* ------------------------------------------------------------------------- *
 *  16. SINGLE POST
 * ------------------------------------------------------------------------- */

.single-post-content {
    /* Wrapper for single post */
}

.single-post-hero {
    height: 60vh;
    min-height: 400px;
    max-height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-bottom: 4rem;
}

.single-post-hero.no-image {
    background-color: var(--bg-dark);
    height: auto;
    min-height: 300px;
    padding-top: 160px;
    /* Offset for fixed header */
    padding-bottom: 4rem;
}

.single-post-hero .hero-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.post-meta-header {
    font-family: var(--font-mono);
    color: var(--accent);
    margin-bottom: 1rem;
    display: flex;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.single-post-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.post-categories a {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    font-size: 0.875rem;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.post-categories a:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.content-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.entry-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content h2,
.entry-content h3 {
    color: var(--text);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

.entry-content blockquote {
    border-left: 4px solid var(--accent);
    padding-left: 2rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text);
    font-size: 1.25rem;
    background: var(--bg-card);
    padding: 2rem;
}

.entry-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.tags-links {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.tags-links a {
    color: var(--accent);
    text-decoration: none;
    margin-left: 0.5rem;
}

/* Post Navigation */
.navigation.post-navigation {
    margin: 4rem auto;
    max-width: 800px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.navigation.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
}

.navigation.post-navigation .nav-previous,
.navigation.post-navigation .nav-next {
    width: 50%;
    padding: 2rem;
}

.navigation.post-navigation .nav-next {
    text-align: right;
    border-left: 1px solid var(--border);
}

.navigation.post-navigation a {
    text-decoration: none;
    display: block;
}

.nav-subtitle {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.nav-title {
    display: block;
    font-size: 1.125rem;
    color: var(--text);
    transition: color 0.3s ease;
}

.navigation.post-navigation a:hover .nav-title {
    color: var(--accent);
}

/* ------------------------------------------------------------------------- *
 *  17. COMMENTS
 * ------------------------------------------------------------------------- */

.comments-area {
    max-width: 800px;
    margin: 4rem auto;
    padding-top: 4rem;
}

.comments-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text);
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 4rem;
}

.comment-body {
    background: var(--bg-card);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
    position: relative;
    border-radius: 4px;
}

.comment-meta {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.comment-author .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 1rem;
}

.fn {
    font-style: normal;
    font-weight: 600;
    color: var(--text);
    margin-right: 0.5rem;
}

.comment-metadata {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.comment-metadata a {
    color: inherit;
    text-decoration: none;
}

.comment-content {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.reply {
    text-align: right;
}

.comment-reply-link {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--accent);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

/* Comment Form */
.comment-respond {
    background: var(--bg-card);
    padding: 3rem;
    border: 1px solid var(--border);
    border-radius: 4px;
}

.comment-respond .section-title {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text);
}

.comment-form p {
    margin-bottom: 1.5rem;
}

.comment-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    border-radius: 3px;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.06);
}

.comment-form-cookies-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.comment-form-cookies-consent input {
    margin-top: 0.25rem;
    width: auto !important;
}

/* ------------------------------------------------------------------------- *
 *  18. 404 PAGE
 * ------------------------------------------------------------------------- */

.error-404 {
    padding: 120px 0;
    text-align: center;
    background-color: var(--bg-dark);
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.error-content-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.error-title {
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 700;
    color: var(--bg-card);
    line-height: 1;
    margin-bottom: 1rem;
    text-shadow: -1px -1px 0 var(--border), 1px -1px 0 var(--border), -1px 1px 0 var(--border), 1px 1px 0 var(--border);
}

.error-subtitle {
    font-size: 2rem;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.error-text {
    max-width: 500px;
    margin: 0 auto 3rem;
    color: var(--text-muted);
}

.error-search {
    max-width: 400px;
    margin: 3rem auto 0;
}

/* Breadcrumbs */
.breadcrumbs {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    justify-content: center;
    /* Center since hero is centered */
    position: relative;
    z-index: 10;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
}

.breadcrumbs a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.breadcrumbs a:hover {
    color: var(--accent);
}

.separator {
    margin: 0 10px;
    color: var(--accent);
}

.item-current {
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Fix padding for single post content */
.content-container {
    padding: 4rem 2rem !important;
    /* Increase side padding */
}

@media (max-width: 600px) {
    .content-container {
        padding: 3rem 1.5rem !important;
    }

    .breadcrumbs {
        font-size: 0.7rem;
    }
}

/* === NEW SINGLE POST LAYOUT (SEPARATE TEXT & IMAGE) === */


/* Featured Image Wrapper */
.single-featured-image-wrapper {
    margin-top: 40px;
    margin-bottom: 60px;
}

.single-featured-image {
    width: 100%;
    height: auto;
    max-height: 700px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Adjust content container padding */
.content-container {
    padding: 0 2rem 4rem !important;
    /* Reduce top padding since image provides spacing */
    max-width: 900px;
    /* Optimize line length for reading */
    margin: 0 auto;
}

/* === NO RESULTS PREMIUM STYLING === */
.no-results-premium {
    padding: 100px 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 40vh;
}

.no-results-content {
    max-width: 600px;
    width: 100%;
    background: var(--bg-card);
    padding: 60px 40px;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s var(--ease-out-expo);
}

.no-results-icon {
    color: var(--accent);
    margin-bottom: 30px;
    opacity: 0.8;
}

.no-results-premium .page-title {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--text);
}

.no-results-msg {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.search-form-wrapper {
    max-width: 400px;
    margin: 40px auto 0;
}

/* Search Form Styling adjustment */
.search-form-wrapper .search-form {
    display: flex;
    gap: 10px;
}

.search-form-wrapper .search-field {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    padding: 12px 20px;
    color: white;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.3s;
}

.search-form-wrapper .search-field:focus {
    border-color: var(--accent);
}

.search-form-wrapper .search-submit {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.search-form-wrapper .search-submit:hover {
    background: var(--accent);
}



.error-subtitle {
    font-size: 2rem;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.error-text {
    max-width: 500px;
    margin: 0 auto 3rem;
    color: var(--text-muted);
}

.error-search {
    max-width: 400px;
    margin: 3rem auto 0;
}

/* Breadcrumbs */
.breadcrumbs {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    justify-content: center;
    /* Center since hero is centered */
    position: relative;
    z-index: 10;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
}

.breadcrumbs a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.breadcrumbs a:hover {
    color: var(--accent);
}

.separator {
    margin: 0 10px;
    color: var(--accent);
}

.item-current {
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Fix padding for single post content */
.content-container {
    padding: 4rem 2rem !important;
    /* Increase side padding */
}

@media (max-width: 600px) {
    .content-container {
        padding: 3rem 1.5rem !important;
    }

    .breadcrumbs {
        font-size: 0.7rem;
    }
}

/* === NEW SINGLE POST LAYOUT (SEPARATE TEXT & IMAGE) === */


/* Featured Image Wrapper */
.single-featured-image-wrapper {
    margin-top: 40px;
    margin-bottom: 60px;
}

.single-featured-image {
    width: 100%;
    height: auto;
    max-height: 700px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Adjust content container padding */
.content-container {
    padding: 0 2rem 4rem !important;
    /* Reduce top padding since image provides spacing */
    max-width: 900px;
    /* Optimize line length for reading */
    margin: 0 auto;
}

/* === NO RESULTS PREMIUM STYLING === */
.no-results-premium {
    padding: 100px 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 40vh;
}

.no-results-content {
    max-width: 600px;
    width: 100%;
    background: var(--bg-card);
    padding: 60px 40px;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s var(--ease-out-expo);
}

.no-results-icon {
    color: var(--accent);
    margin-bottom: 30px;
    opacity: 0.8;
}

.no-results-premium .page-title {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--text);
}

.no-results-msg {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.search-form-wrapper {
    max-width: 400px;
    margin: 40px auto 0;
}

/* Search Form Styling adjustment */
.search-form-wrapper .search-form {
    display: flex;
    gap: 10px;
}

.search-form-wrapper .search-field {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    padding: 12px 20px;
    color: white;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.3s;
}

.search-form-wrapper .search-field:focus {
    border-color: var(--accent);
}

.search-form-wrapper .search-submit {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.search-form-wrapper .search-submit:hover {
    background: var(--accent);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* HERO ACTIONS (Unified) */
.hero-actions {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ====================================
   PARTNER PAGE - MINIMALIST BOLD (Unified)
   ==================================== */

.p-section {
    padding: 120px 0;
    position: relative;
}

.p-bg-dark {
    background: var(--bg-dark);
}

.p-bg-alt {
    background: var(--bg-section);
}

/* Features - The Edge */
.p-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    margin-top: 60px;
}

.p-feature-item {
    text-align: start;
}

.p-feature-item h3 {
    font-size: 1.5rem;
    margin: 20px 0 15px;
    color: var(--accent);
}

.p-feature-item p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Steps - The Path */
.p-steps-list {
    max-width: 800px;
    margin: 80px auto 0;
}

.p-step-row {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    align-items: flex-start;
}

.p-step-num {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    opacity: 0.3;
    min-width: 60px;
}

.p-step-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.p-step-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Clean Form */
.p-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .p-features-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .p-step-row {
        flex-direction: column;
        gap: 15px;
    }
}

/* Newsletter Highlight (Unified) */
.newsletter-highlight {
    margin-top: 100px;
    text-align: center;
    padding: 80px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
}

.simple-newsletter {
    max-width: 500px;
    margin: 30px auto 0;
    display: flex;
    gap: 15px;
}

.simple-newsletter input[type="email"] {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    padding: 15px 20px;
    color: #fff;
    border-radius: 3px;
    transition: all 0.3s var(--ease-out-expo);
}

.simple-newsletter input:focus {
    border-color: var(--accent);
    outline: none;
    background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 600px) {
    .simple-newsletter {
        flex-direction: column;
    }
}

/* ====================================
   NEWSLETTER POPUP 
   ==================================== */
.newsletter-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.newsletter-popup.active {
    opacity: 1;
    visibility: visible;
}

.newsletter-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(5px);
}

.newsletter-popup-content {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 50px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 2;
}

.newsletter-popup.active .newsletter-popup-content {
    transform: translateY(0);
}

.newsletter-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
    z-index: 10;
}

.newsletter-popup-close:hover {
    color: var(--accent);
}

.newsletter-popup-body h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text);
}

.newsletter-popup-body .popup-description {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.newsletter-popup-body form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-popup-body input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    padding: 15px;
    color: white;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
}

.newsletter-popup-body input:focus {
    border-color: var(--accent);
}